Disclosure of Invention
Technical problem to be solved
Aiming at the defects of the prior art, the invention provides a satellite task resource matching method, a device, a storage medium and electronic equipment, and solves the technical problem of low satellite resource utilization rate of the conventional satellite task resource matching method.
(II) technical scheme
In order to achieve the purpose, the invention is realized by the following technical scheme:
in a first aspect, the present invention provides a satellite task resource matching method, including:
s1, acquiring a satellite set and an observation task set;
s2, using formula
Selecting a currently planned satellite S
n'S 'denotes the unplanned set of satellites, S' is initially equal to S, S ═ S
1,S
2,...,S
n,...,S
NDenotes a set of satellites that are to be collected,
representing a satellite S
nThe maximum amount of energy to be stored is,
representing a satellite S
nThe maximum storage capacity of (c, phi,
is a balance dimension parameter;
s3, for the current planning satellite Sn'And matching the task resources, wherein the matching process comprises the following steps:
s301, selecting a task with earliest observation time from an unscheduled task set as the current planning satellite Sn'Said set of unscheduled tasks is initially said set of observation tasks, said first task and said currently planned satellite S are examinedn'Whether a constraint is satisfied, and if so, inserting the task into the currently planned satellite Sn'If not, the next task is changed to be the head task to try to insert, and if all tasks which are not scheduled cannot be inserted, the step jumps toS4;
S302, selecting a task with the shortest sum of satellite posture conversion time and waiting time from the unscheduled task set as a task to be scheduled, and checking the task to be scheduled and the pre-planned satellite Sn'Whether a constraint is satisfied, and if so, inserting the task into the currently planned satellite Sn'If not, the next task is tried to be inserted, and if all tasks which are not scheduled cannot be inserted, the step S4 is skipped;
s4, removing the currently planned satellite S from the set S' of unplanned satellitesn'And updating the unplanned satellite set S', returning to the step S2 until no satellite resource can be planned again, ending the task planning, and generating a planning scheme.
Preferably, the S301 includes:
using formulas
Selecting a first task T for a currently planned satellite
m'T 'denotes a set of unscheduled tasks, T' is initially equal to T,
representing a task T
mThe earliest time of starting the observation of the image,
selecting a task with earliest observation time from an unscheduled task set; inspection head task T
m'And the currently planned satellite S
n'And if the constraint condition is met, inserting the task into the task execution sequence of the current planning satellite, deleting the task from the unscheduled task set, updating the unscheduled task set, and executing the step S302, otherwise, replacing the next unscheduled task as a first task to try to insert, and if all the unscheduled tasks cannot be inserted, jumping to the step S4.
Preferably, the S302 includes:
using formulas
Selecting a task T to be scheduled
m'T' represents a set of unscheduled tasks,
representing a satellite S
n'From executing task T
iTo execute task T
mTime of posture adjustment in between; t is
iDenotes S
n'Is currently the last task to be performed,
respectively represent tasks T
iAnd T
mThe best angle of observation of the optical system,
denotes S
n'Angular deflection rate per unit time;
representing a satellite S
n'Observation task T
mThe amount of the wait time that is consumed,
to represent
And the larger value between 0 and the larger value,
representing a task T
mThe earliest time of starting the observation of the image,
representing the currently planned satellite S
n'Try to task T
mThe time at which the observation is performed,
to represent
And
greater value of between, T
iRepresenting the currently planned satellite S
n'Executing task T
mPreviously executed observation tasks, t
imn'Denotes S
n'From observation task T
iTo observation task T
mThe adjustment time between the start of the operation,
representing a task T
iObserving the time required, checking the task T to be scheduled
m'With the currently planned satellite S
n'And if the constraint condition is met, inserting the task into the execution task sequence of the current planning satellite, deleting the task from the unscheduled task set, updating the unscheduled task set, and repeatedly executing the step S302, otherwise, switching to the next unscheduled task to try to insert, and if all the unscheduled tasks cannot be inserted, indicating that the resources of the current planning satellite are consumed and the tasks cannot be scheduled, completing the construction of the execution task sequence of the satellite, and jumping to the step S4.
Preferably, the constraint condition includes:
type constraints, angle constraints, time window constraints, check storage constraints, energy constraints, and maximum operating time constraints.
Preferably, said checking of the mission to be scheduled and of the currently planned satellite Sn'Whether the constraint condition is satisfied includes:
a1 using formula
To check if type constraints are satisfied, then go to step a 2; otherwise, jumping out of the constraint condition checking process;
indicates that T is satisfied
m'A set of satellite resources of an observation sensor type;
a2 using formula
Checking whether the angle constraint is met, and if so, executing the step A3; otherwise, jumping out of the constraint condition checking process;
respectively represent S
n'The maximum and minimum deflection angles of the sensor,
represents T
m'The optimal observation angle of (a);
a3 using formula
Checking the time window constraint, if yes, executing step A4; otherwise, jumping out of the constraint condition checking process;
denotes S
n'For T
m'The attempt to start the observation of the time,
representing a task T
m'The latest time of observation of (c) is,
to represent
And
greater value of between, T
iRepresenting the currently planned satellite S
n'The task that is executed last is executed,
denotes S
n'For T
iThe attempt to start the observation of the time,
representing a task T
iThe earliest time of observation of the image,
representing a task T
iThe time required for the observation was measured,
denotes S
n'Slave task T
iTo task T
m'In time if T
m'Planning a satellite S for the present
nThe first observation task of, then
A4 using formula
Checking that the storage constraint is satisfied, and if the storage constraint is satisfied, executing step A5; otherwise, jumping out of the constraint condition checking process;
representing the currently planned satellite S
n'The storage capacity that has been consumed is,
denotes S
n'The storage capacity consumed per unit time is observed,
representing a task T
mThe time required for the observation was measured,
representing a satellite S
n'Observation task T
m'The storage capacity that needs to be expended; if T is
m'Planning a satellite S for the present
n'The first observation task of, then
A5 using formula
Checking whether the energy constraint is met, and if so, executing the step A6; otherwise, jumping out of the constraint condition checking process;
representing the currently planned satellite S
n'The energy that has been expended;
denotes S
n'The energy consumed by the task has been observed,
representing a satellite S
n'The energy consumed per unit time is observed,
representing a task T
mObserving the required time;
denotes S
n'Energy consumed in adjusting the deflection angle, where x
ijn'Is a 0, 1 variable, when satellite S
n'At observation task T
iPost-observation task T
j,x
ijn'1, otherwise equal to 0;
denotes S
n'From observation task T
iTo observation task T
jThe adjustment time therebetween;
representing a satellite S
n'Energy consumed for posture adjustment per unit time; if T is
m'Is S
n'The first observation task of, then
Representing the currently planned satellite S
n'Executing task T from the current last one
iTo task T to be scheduled
m'The time for the posture change-over of (2),
denotes S
n'Observation task T
m'The energy consumed;
a6, use
Checking whether the longest working time constraint is met, and if so, inserting the task into the current planning satellite S
n'In the execution task sequence of (1); otherwise, jumping out of the constraint condition checking process; wherein
Planning a satellite S for the present
n'The maximum length of time of operation of the system,
representing the currently planned satellite S
n'The length of time that has been in operation,
denotes S
n'The time consumed by the task has been observed,
representing a task T
mObserving the required time;
representing the time consumed by the satellite attitude transition, where x
ijn'Is a 0, 1 variable, when satellite S
n'At observation task T
iPost-observation task T
j,x
ijn'1, otherwise equal to 0;
denotes S
n'From observation task T
iTo observation task T
jTime of posture adjustment in between;
representing a satellite S
n'The amount of the wait time that is consumed,
to represent
And the larger value between 0 and the larger value,
representing a task T
mThe earliest time of starting the observation of the image,
representing the currently planned satellite S
n'Try to task T
mThe time at which the observation is performed,
to represent
And
greater value of between, T
iRepresenting the currently planned satellite S
n'Executing task T
mPreviously executed observation tasks, t
imn'Denotes S
n'From observation task T
iTo observation task T
mThe adjustment time between the start of the operation,
representing a task T
iObserving the required time; if T is
m'Is S
n'The first observation task of, then
t
im'n'Representing the currently planned satellite S
n'Executing task T from the current last one
iTo task T to be scheduled
m'If T, posture conversion time of
m'Is S
n'First observation task of, t
im'n'=0;
Denotes S
n'Observation task T
m'The time consumed.
Preferably, the method further comprises:
after obtaining the planning scheme in step S4, it is determined whether the task not scheduled in the task not scheduled set T' can be synthesized with the scheduled task in the planning scheme, where the synthesizing and observing steps are as follows:
c1, selecting the satellites S according to the numbersnEach satellite SnAll correspond to an executing task sequence Rn,RnThe satellite scheduling method is formed by arranging according to the sequence of the satellite execution tasks;
c2 from RnMiddle-law satellite SnThe arranged tasks T are sequentially selected out in the execution task sequencea,Ta∈Rn(ii) a If S isnIf all scheduled tasks in (1) are selected, then go to C1 to reselect the satellite;
c3 selecting satellite S from unscheduled task set TnExecutable tasks are sequenced according to the time window sequence to form a task set T to be synthesizedn;
C4 from set TnSequentially selecting tasks T to be synthesizedb,Tb∈Tn;
C5, judgment task T
aAnd T
bWhether the synthetic observation condition is met or not is judged, if yes, a task T is newly built
c,T
cFrom T
aAnd T
bComposition of T
cAll attributes and T except for revenue
aThe consistency is kept between the first and the second,
task T
cAnd R
nMiddle T
aCarry out substitutionChanging; alternative representative satellite S
nOriginally executing task T
aNow become to execute task T
cOtherwise, go to step C4 to reselect the task T to be synthesized
bIf all the tasks to be synthesized cannot be synthesized, then the branch C2 reselects to schedule the task T
aRepeating the above steps until all scheduled tasks are selected;
the synthetic observation conditions include:
scheduled task TaAnd not scheduling task TbTime constraints and angle constraints are satisfied;
by using
Checking whether an angle constraint, T, is satisfied
aTo plan a plan R
solution={R
1,R
2,...R
n,...R
NScheduled task in (1), T
bFor an unscheduled task in the unscheduled task set T', if T
bAt an optimum observation angle of T
aSatisfies the angle constraint;
by using
Checking whether a time window constraint, T, is satisfied
aTo plan a plan R
solution={R
1,R
2,...R
n,...R
NScheduled task in (1), T
bFor unscheduled tasks in T', if T
aObservation time window of (T)
bThe observation time window of (1) is covered, then the time window constraint is satisfied.
Preferably, the method further comprises:
using formulas
The total benefit is calculated and the total benefit is calculated,
represents the revenue aggregate of the observation task,
indicating completion of task T
mThe gain from the observation of (a) is,
represents the total cost of the satellite consumption,
representing a satellite S
nCost of consumption, wherein
Beta denotes two coefficients for balancing the dimensions,
representing a satellite S
nThe amount of energy that is consumed,
denotes S
nThe energy consumed by the task is observed and,
denotes S
nEnergy consumed when the deflection angle is adjusted;
representing the currently planned satellite S
n'The storage capacity that has been consumed is,
denotes S
n'The storage capacity consumed per unit time is observed,
representing a task T
mObserving the required time; r
solution={R
1,R
2,...R
n,...R
NDenotes the planning scheme, R
nRepresenting satellitesS
nBy satellite S
nAnd sequentially executing the observation tasks.
In a second aspect, the present invention provides a satellite task resource matching device, including:
the resource acquisition module is used for acquiring a satellite set and an observation task set;
a current planning satellite selection module for utilizing the formula
Selecting a currently planned satellite S
n'S 'denotes the unplanned set of satellites, S' is initially equal to S, S ═ S
1,S
2,...,S
n,...,S
NDenotes a set of satellites that are to be collected,
representing a satellite S
nThe maximum amount of energy to be stored is,
representing a satellite S
nThe maximum storage capacity of (c, phi,
balancing the dimensional parameters;
a resource matching module for the currently planned satellite Sn'And matching the task resources, wherein the matching process comprises the following steps:
a first task planning unit for selecting a task with earliest observation time from the task set which is not arranged as the current planning satellite Sn'The unscheduled task set is initially the observation task set, the inspection first task and the currently planned satellite Sn'If the constraint condition is met, inserting the task into the task sequence of the current planning satellite, deleting the task from the unscheduled task set, updating the unscheduled task set, jumping to the planning unit of the task to be scheduled, otherwise, replacing the next unscheduled task as the first task to try to insert, if all the unscheduled tasks are not scheduled, inserting the task into the planning unit of the task to be scheduled, and if the unscheduled tasks are not scheduled, inserting the task into the planning unit of the task to be scheduledThe affairs can not be inserted, and the updating module is jumped to;
a task planning unit to be scheduled selects a task with the shortest sum of satellite posture conversion time and waiting time from the task non-scheduling set as a task to be scheduled, and plans a satellite S before checking the task to be scheduledn'If the constraint condition is met, inserting the task into an execution task sequence of the current planning satellite, deleting the task from the unscheduled task set, updating the unscheduled task set, and repeatedly executing the planning unit of the task to be scheduled;
an update module for deleting the currently planned satellite S from the set S' of unplanned satellitesn'And updating the unplanned satellite set S', returning to the current planning satellite selection module until no satellite resource can be planned, ending the task planning, and generating a planning scheme.
In a third aspect, the present invention provides a computer-readable storage medium storing a computer program for satellite mission resource matching, wherein the computer program causes a computer to execute the satellite mission resource matching method as described above.
In a fourth aspect, the present invention provides an electronic device comprising:
one or more processors;
a memory; and
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs comprising instructions for performing the satellite mission resource matching method as described above.
(III) advantageous effects
The invention provides a satellite task resource matching method, a satellite task resource matching device, a storage medium and electronic equipment. Compared with the prior art, the method has the following beneficial effects:
according to the invention, the energy and capacity of the satellite are comprehensively considered in the selection of the satellite, and the corresponding parameter balance dimension is set, so that the satellite with a larger comprehensive evaluation value has a better opportunity to complete a difficult observation task, and after the satellite with a smaller comprehensive evaluation value is sorted, the satellite structure with a smaller comprehensive evaluation value is preferentially selected to execute a planning scheme. The satellite attitude conversion time and the waiting time are comprehensively considered in the task selection, wherein the smaller the satellite attitude conversion time is, the less energy consumed by the satellite is, the smaller the waiting time is, the more time the satellite can use for observation is meant, the satellite resource utilization rate is higher, and therefore the task with the smaller comprehensive rating value is prioritized. By the method, reasonable selection of the current planning satellite and observation tasks can be effectively realized, a planning scheme can be quickly generated, and the scheduling efficiency and the utilization rate of satellite resources are greatly improved.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention are clearly and completely described, and it is obvious that the described embodiments are a part of the embodiments of the present invention, but not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the application provides a satellite task resource matching method, a device, a storage medium and electronic equipment, solves the problem that the satellite resource utilization rate is low in the existing satellite task resource matching method, and improves the satellite resource utilization rate.
In order to solve the technical problems, the general idea of the embodiment of the application is as follows:
the embodiment of the invention mainly obtains the information of a satellite set S and an observation task set T, and then quickly generates a planning scheme Rsolution={R1,R2,...Rn,...RN},RnRepresenting a satellite SnIs a sequence of tasks performed by the satellite SnAnd the observation tasks are executed in sequence. According to the embodiment of the invention, when the currently planned satellite is selected, the energy and the capacity of the satellite are comprehensively considered, and the corresponding parameter balance dimension is set, and as the satellite with a larger comprehensive evaluation value has a higher opportunity to complete a difficult observation task, the satellite with a smaller comprehensive evaluation value is preferentially selected to construct and execute the task sequence after the sequencing. In the process of constructing an execution task sequence for a satellite, tasks in a task set which is not scheduled are sequenced according to a regulation time minimization principle, then the tasks are sequentially tried to be inserted into the execution task sequence of the current planning satellite, whether constraint conditions are met or not needs to be checked in the process of trying to insert, if the constraint conditions are met, the tasks are inserted into the execution task sequence of the current planning satellite, otherwise, the next task which is not scheduled is tried to be inserted, if all tasks which are not scheduled cannot be inserted, the situation that the resources of the current planning satellite are consumed, the tasks cannot be scheduled, and the construction of the execution task sequence of the satellite is finished. At the moment, selecting the next satellite resource to repeat the steps for planning until no satellite resource can be planned again, and obtaining a planning scheme Rsolution。
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
The invention provides a rapid satellite task resource matching method, which is executed by a computer and comprises the following steps of:
s1, acquiring a satellite set and an observation task set;
s2, using formula
Selecting a currently planned satellite S
n'S ' denotes an unplanned set of satellites, S ' is initially equal to S (i.e., S ' is S when step S2 is first performed), S ═ S
1,S
2,...,S
n,...,S
NDenotes the set of satellites, S
nRepresenting the nth satellite, N representing the total number of satellites,
representing a satellite S
nThe maximum amount of energy to be stored is,
representing a satellite S
nThe maximum storage capacity of (c, phi,
using the self-defined parameters for balancing the dimension;
s3, for the current planning satellite Sn'And matching the task resources, wherein the matching process comprises the following steps:
s301, selecting a task with earliest observation time from the unscheduled task set as the current planning satellite Sn'First task of (1), inspection first task Tm'And the currently planned satellite Sn'And if the constraint condition is met, inserting the task into the task execution sequence of the current planning satellite, deleting the task from the unscheduled task set, updating the unscheduled task set, and executing the step S302, otherwise, replacing the next unscheduled task as a first task to try to insert, and if all the unscheduled tasks cannot be inserted, jumping to the step S4.
S302, selecting a task with the shortest sum of satellite posture conversion time and waiting time from the unscheduled task set as a task to be scheduled, checking the task to be scheduled and planning the satellite Sn'If the constraint condition is met, inserting the task into the task execution sequence of the current planning satellite, deleting the task from the unscheduled task set, updating the unscheduled task set, and repeatedly executing the step S302, otherwise, switching to the next unscheduled task for tastingThe insertion is tried, and if all the unscheduled tasks cannot be inserted, the process jumps to step S4.
S4, deleting the current planning satellite S from the unplanned satellite set Sn'And updating the unplanned satellite set S', returning to the step S2 until no satellite resource can be planned again, and ending the task planning.
The beneficial effect of this embodiment does:
according to the embodiment of the invention, the energy and the capacity of the satellite are comprehensively considered in the selection of the satellite, and the corresponding parameter balance dimension is set, so that the satellite with a larger comprehensive evaluation value has a higher opportunity to complete a difficult observation task, and after the satellite with a smaller comprehensive evaluation value is sequenced, the satellite with a smaller comprehensive evaluation value is preferentially selected to construct an execution planning scheme. The satellite attitude conversion time and the waiting time are comprehensively considered in the task selection, wherein the smaller the satellite attitude conversion time is, the less energy consumed by the satellite is, the smaller the waiting time is, the more time the satellite can use for observation is meant, the satellite resource utilization rate is higher, and therefore the task with the smaller comprehensive rating value is prioritized. By the method, reasonable selection of the current planning satellite and observation tasks can be effectively realized, a planning scheme can be quickly generated, and the scheduling efficiency and the utilization rate of satellite resources are greatly improved.
The following describes the implementation process of the embodiment of the present invention in detail:
for convenience of description, the meaning of some attributes and parameters of the satellite resources and observation tasks involved in the embodiments of the present invention will be described below.
S={S
1,S
2,...,S
n,...,S
NDenotes the set of satellites, S
nDenotes the nth satellite, N denotes the total number of satellites, for S
n∈S,
Representing a satellite S
nThe angle of maximum deflection of the first and second,
which represents the minimum angle of deflection of the satellite,
representing a satellite S
nThe maximum storage capacity of the storage unit (c),
representing the storage capacity consumed by the satellite for observing a unit of time,
representing a satellite S
nThe maximum amount of energy to be stored is,
which represents the maximum operating time of the satellite,
representing a satellite S
nThe energy consumed per unit time is observed,
representing a satellite S
nThe energy consumed by the posture adjustment per unit time,
representing a satellite S
nAngular deflection rate per unit time.
T={T
1,T
2,...,T
m,...,T
MDenotes the set of observation tasks, T
mRepresenting the M-th observation task, M representing the total number of observation tasks,
represents T
mThe best angle of observation of the optical system,
represents T
mThe earliest time of starting the observation of the image,
represents T
mThe latest time of observation of the start of the observation,
represents T
mThe time required for the observation was measured,
respectively representing the maximum and minimum observation angles of the satellite,
represents T
mThe income brought by the observation is observed,
indicates that T is satisfied
mA set of satellite resources of the observation sensor type.
In step S1, the computer acquires a set of satellites and a set of observation tasks.
In step S2, formula is used
Selecting a currently planned satellite S
n'S 'denotes the unplanned set of satellites, S' is initially equal to S, S ═ S
1,S
2,...,S
n,...,S
NDenotes the set of satellites, S
nRepresenting the nth satellite, N representing the total number of satellites,
representing a satellite S
nThe maximum amount of energy to be stored is,
representing a satellite S
nThe maximum storage capacity of (c, phi,
are used for balancing the dimension for the custom parameter.
In step S3, the currently planned satellite S is selectedn'And matching the task resources, wherein the matching process comprises the following steps:
s301, selecting a task with earliest observation time from an unscheduled task set as a current planSatellite Sn'First task of (1), inspection first task Tm'And the currently planned satellite Sn'And if the constraint condition is met, inserting the task into the task execution sequence of the current planning satellite, deleting the task from the unscheduled task set, updating the unscheduled task set, and executing the step S302, otherwise, replacing the next unscheduled task as a first task to try to insert, and if all the unscheduled tasks cannot be inserted, jumping to the step S4. The method specifically comprises the following steps:
using formulas
Selecting a first task T for a currently planned satellite
m'T 'denotes a set of unscheduled tasks, T' is initially equal to T,
representing a task T
mThe earliest time of starting the observation of the image,
it is to select a task with the earliest starting observation time from the unscheduled task set. Inspection head task T
m'And the currently planned satellite S
n'And if the constraint condition is met, inserting the task into the task sequence executed by the current planning satellite, deleting the task from the task set which is not arranged, updating the task set which is not arranged, and executing the step S302, otherwise, switching to the next task which is not arranged to try to insert, if all tasks which are not arranged cannot be inserted, indicating that the resources of the current planning satellite are consumed, the tasks cannot be arranged, completing the construction of the task sequence executed by the satellite, and jumping to the step S4.
S302, selecting a task with the shortest sum of satellite posture conversion time and waiting time from the unscheduled task set as a task to be scheduled, and checking a planning satellite S before the task to be scheduledn'If the constraint condition is met, inserting the task into the execution task sequence of the current planning satellite, deleting the task from the unscheduled task set, and updating the unscheduled taskAnd (4) aggregating the tasks and repeatedly executing the step S302, otherwise, switching to the next unscheduled task to try to insert, and if all unscheduled tasks cannot be inserted, jumping to the step S4. The method specifically comprises the following steps:
using formulas
Selecting a task T to be scheduled
m'T' represents a set of unscheduled tasks,
representing a satellite S
n'From executing task T
iTo execute task T
mThe satellite needs to adjust the own device angle after completing the observation of the previous task and before executing the observation of the next task, and a certain time is consumed here. T is
iDenotes S
n'The task that was last executed is currently executed,
respectively represent tasks T
iAnd T
mThe best angle of observation of the optical system,
denotes S
n'Angular deflection rate per unit time.
Representing a satellite S
n'Observation task T
mThe amount of the wait time that is consumed,
to represent
And the larger value between 0 and the larger value,
representing a task T
mThe earliest time of starting the observation of the image,
representing the currently planned satellite S
n'Try to task T
mThe time at which the observation is performed,
to represent
And
greater value of between, T
iRepresenting the currently planned satellite S
n'Executing task T
mPreviously executed observation tasks, t
imn'Denotes S
n'From observation task T
iTo observation task T
mThe adjustment time between the start of the operation,
representing a task T
iObserving the time required, checking the task T to be scheduled
m'With the currently planned satellite S
n'And if the constraint condition is met, inserting the task into the task sequence of the current planning satellite, deleting the task from the task set which is not arranged, updating the task set which is not arranged, and repeatedly executing the step S302, otherwise, switching to the next task which is not arranged to try to insert, if all tasks which are not arranged cannot be inserted, indicating that the resources of the current planning satellite are consumed, the tasks cannot be arranged, completing the construction of the task sequence of the current planning satellite, and jumping to the step S4.
The constraint conditions in steps S301 and S302 include: type constraints, angle constraints, time window constraints, check storage constraints, energy constraints, maximum operating time constraints. The method for checking whether the first task and the current planning satellite meet the constraint condition and the method for checking whether the task to be scheduled and the current planning satellite meet the constraint condition are consistent, and the following detailed description takes the example of checking whether the task to be scheduled and the current planning satellite meet the constraint condition.
A1, test type aboutBundle, using formula
To check if type constraints are satisfied, if so, perform step a2, otherwise, skip the constraint condition checking process,
indicates that T is satisfied
m'The system comprises a satellite resource set for observing sensor types, wherein different types of sensors carried by different satellites are different, such as optical sensors, infrared sensors and the like, and different tasks need different sensor types according to own observation requirements.
A2, checking angle constraint and using formula
Checking whether the angle constraint is satisfied, if so, executing the step A3, otherwise, jumping out of the constraint condition checking process,
respectively represent S
n'The maximum and minimum deflection angles of the sensor,
represents T
m'Each task having an optimal observation angle that, if desired to be observed by the satellite, must be satisfied within the minimum and maximum deflection angles of the satellite sensor.
A3, checking time window constraint and using formula
Checking whether the time window constraint is satisfied, if so, executing the step A4, otherwise, jumping out of the constraint condition checking process,
denotes S
n'For T
m'The attempt to start the observation of the time,
representing a task T
m'The latest time of observation of (c) is,
to represent
And
greater value of between, T
iRepresenting the currently planned satellite S
n'The task that is executed last is executed,
denotes S
n'For T
iThe attempt to start the observation of the time,
representing a task T
iThe earliest time of observation of the image,
represents T
iThe time required for the observation was measured,
denotes S
n'Slave task T
iTo task T
m'In time if T
m'Planning a satellite S for the present
nThe first observation task of, then
A4, checking storage constraint and using formula
Checking that the storage constraint is satisfied, if so, executing the step A5, otherwise, jumping out the constraint condition checking process,
representing the currently planned satellite S
n'The storage capacity that has been consumed is,
denotes S
n'The storage capacity consumed per unit time is observed,
representing a task T
mThe time required for the observation was measured,
representing a satellite S
n'Observation task T
m'Requiring costly storage capacity. If T is
m'Planning a satellite S for the present
n'The first observation task of, then
A5, checking energy constraint and using formula
And B, checking whether energy constraint is met, if so, executing the step A6, otherwise, jumping out of the constraint condition checking process, wherein the energy consumption of the satellite is mainly two, namely, observation of the task and adjustment of the satellite deflection angle.
Representing the currently planned satellite S
n'The energy that has been expended;
denotes S
n'The energy consumed by the task has been observed,
representing a satellite S
n'The energy consumed per unit time is observed,
representing a task T
mObserving the required time;
denotes S
n'Energy consumed in adjusting the deflection angle, where x
ijn'Is a 0, 1 variable, when satellite S
n'At observation task T
iPost-observation task T
j,x
ijn'1, otherwise equal to 0;
denotes S
n'From observation task T
iTo observation task T
jThe adjustment time therebetween;
representing a satellite S
n'The gesture adjusts the energy consumed per unit time. If T is
m'Is S
n'The first observation task of, then
Representing the currently planned satellite S
n'Executing task T from the current last one
iTo task T to be scheduled
m'If T is the energy consumed by the gesture conversion
m'Is S
n'The first observation task of, then
Denotes S
n'Observation task T
m'The energy consumed.
A6, checking the constraint of the longest working time, wherein the time consumed by the satellite mainly comprises three parts, namely observation of a task, satellite posture conversion time and satellite waiting task execution time. By using
Checking whether the longest working time constraint is met, and if so, inserting the task into the current planning satellite S
n'In the execution task sequence of (1); otherwise, jumping out of the constraint condition checking process; wherein
Planning a satellite S for the present
n'The maximum length of time of operation of the system,
representing the currently planned satellite S
n'The length of time that has been in operation,
denotes S
n'The time consumed by the task has been observed,
representing a task T
mObserving the required time;
representing the time consumed by the satellite attitude transition, where x
ijn'Is a 0, 1 variable, when satellite S
n'At observation task T
iPost-observation task T
j,x
ijn'1, otherwise equal to 0;
denotes S
n'From observation task T
iTo observation task T
jTime of posture adjustment in between;
representing a satellite S
n'The amount of the wait time that is consumed,
to represent
And the larger value between 0 and the larger value,
representing a task T
mThe earliest time of starting the observation of the image,
representing the currently planned satellite S
n'Try to task T
mThe time at which the observation is performed,
to represent
And
greater value of between, T
iRepresenting the currently planned satellite S
n'Executing task T
mPreviously executed observation tasks, t
imn'Denotes S
n'From observation task T
iTo observation task T
mThe adjustment time between the start of the operation,
representing a task T
iObserving the required time; if T is
m'Is S
n'The first observation task of, then
t
im'n'Representing the currently planned satellite S
n'Executing task T from the current last one
iTo task T to be scheduled
m'If T, posture conversion time of
m'Is S
n'First observation task of, t
im'n'=0;
Denotes S
n'Observation task T
m'The time consumed.
In step S4, the currently planned satellite S is deleted from the unplanned set of satellites Sn'Updating the unplanned satellite set S', returning to the step S2 until no satellite resource can go furtherPlanning, ending the task planning, and generating a planning scheme Rsolution={R1,R2,...Rn,...RN},RnRepresenting a satellite SnIs a sequence of tasks performed by the satellite SnAnd sequentially executing the observation tasks.
In the specific implementation process, the embodiment of the invention further comprises a step S5 of obtaining the planning scheme Rsolution={R1,R2,...Rn,...RNAfter the scheduling is finished, judging whether the unscheduled tasks in the unscheduled task set T' can be compared with RsolutionThe arranged tasks are subjected to synthetic observation, wherein the synthetic observation refers to that two tasks with similar observation requirements are observed as one synthetic task, so that more tasks can be observed on the basis of not influencing the original planning scheme, and the observation yield and the satellite resource utilization rate are improved. The specific implementation process is as follows:
c1, selecting the satellites S according to the numbersnEach satellite SnAll correspond to an executing task sequence Rn,RnThe satellite communication system is formed by arranging the tasks according to the sequence of the satellite execution.
C2 from RnMiddle-law satellite SnThe arranged tasks T are sequentially selected out in the execution task sequencea,Ta∈Rn(ii) a If S isnAll scheduled tasks in (1) are selected, then the switch C1 reselects the satellite.
C3 selecting satellite S from unscheduled task set TnExecutable tasks are sequenced according to the time window sequence to form a task set T to be synthesizedn。
C4 from set TnSequentially selecting tasks T to be synthesizedb(Tb∈Tn)
C5, judgment task T
aAnd T
bWhether the synthetic observation condition is met or not is judged, if yes, a task T is newly built
c,T
cFrom T
aAnd T
bComposition of T
cAll attributes and T except for revenue
aThe consistency is kept between the first and the second,
task T
cAnd R
nMiddle T
aAnd (6) replacing. Otherwise, go to step C4 to reselect the task T to be synthesized
bIf all the tasks to be synthesized cannot be synthesized, then the branch C2 reselects to schedule the task T
aAnd repeating the steps until all the scheduled tasks are checked whether the scheduled tasks can be subjected to composite observation with the unscheduled tasks.
The synthetic observation conditions include:
scheduled task TaAnd not scheduling task TbTime constraints and angle constraints are satisfied;
by using
Checking whether an angle constraint, T, is satisfied
aFor planning scheduled tasks in a project, T
bFor unscheduled tasks in T', if T
bAt an optimum observation angle of T
aBetween the minimum and maximum observation angles, the angle constraint is satisfied.
By using
Checking whether a time window constraint, T, is satisfied
aTo plan a plan R
solution={R
1,R
2,...R
n,...R
NScheduled task in (1), T
bFor unscheduled tasks in T', if T
aObservation time window of (T)
bThe observation time window of (1) is covered, then the time window constraint is satisfied.
In the specific implementation process, the embodiment of the present invention further includes step S6 of utilizing a formula
The total benefit is calculated and the total benefit is calculated,
represents the revenue aggregate of the observation task,
indicating completion of task T
mThe gain from the observation of (a) is,
represents the total cost of the satellite consumption,
representing a satellite S
nCost of consumption, wherein
β represents two coefficients for balancing the dimension;
representing a satellite S
nThe energy consumed;
denotes S
nThe energy consumed by the task is observed and,
denotes S
nThe energy consumed in adjusting the deflection angle.
Representing the currently planned satellite S
n'The storage capacity that has been consumed is,
denotes S
n'The storage capacity consumed per unit time is observed,
representing a task T
mObserving the required time;
the embodiment of the invention also provides a satellite task resource matching device, which comprises:
the resource acquisition module is used for acquiring a satellite set and an observation task set;
a current planning satellite selection module for utilizing the formula
Selecting a currently planned satellite S
n'S 'denotes the unplanned set of satellites, S' is initially equal to S, S ═ S
1,S
2,...,S
n,...,S
NDenotes a set of satellites that are to be collected,
representing a satellite S
nThe maximum amount of energy to be stored is,
representing a satellite S
nThe maximum storage capacity of (c, phi,
balancing the dimensional parameters;
a resource matching module for the currently planned satellite Sn'And matching the task resources, wherein the matching process comprises the following steps:
a first task planning unit for selecting a task with earliest observation time from the task set which is not arranged as the current planning satellite Sn'First task of (1), inspection first task Tm'And the currently planned satellite Sn'If the constraint condition is met, inserting the task into an execution task sequence of the current planning satellite, deleting the task from the unscheduled task set, updating the unscheduled task set, jumping to a planning unit of the task to be scheduled, otherwise, switching to the next unscheduled task as a first task to try to insert, and jumping to an updating module if all the unscheduled tasks cannot be inserted;
a task planning unit to be scheduled selects a task with the shortest sum of satellite posture conversion time and waiting time from the task non-scheduling set as a task to be scheduled, and plans a satellite S before checking the task to be scheduledn'Whether the constraint condition is satisfied, and if so, inserting the task into the currently planned satelliteIf not, the next task is tried to be inserted, and if all tasks which are not scheduled cannot be inserted, the updating module is skipped;
an update module for deleting the currently planned satellite S from the set S' of unplanned satellitesn'And updating the unplanned satellite set S', returning to the current planning satellite selection module until no satellite resource can be planned again, and ending the task planning.
It can be understood that, the satellite task resource matching device provided in the embodiment of the present invention corresponds to the satellite task resource matching method, and the explanation, examples, and beneficial effects of the relevant contents thereof may refer to the corresponding contents in the satellite task resource matching method, which are not described herein again.
An embodiment of the present invention further provides a computer-readable storage medium storing a computer program for matching satellite task resources, where the computer program enables a computer to execute the satellite task resource matching method as described above.
An embodiment of the present invention further provides an electronic device, including:
one or more processors;
a memory; and
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs comprising instructions for performing the satellite mission resource matching method as described above.
In summary, compared with the prior art, the invention has the following beneficial effects:
1. according to the embodiment of the invention, the energy and the capacity of the satellite are comprehensively considered in the selection of the satellite, and the corresponding parameter balance dimension is set, so that the satellite with a larger comprehensive evaluation value has a higher opportunity to complete a difficult observation task, and a satellite structure planning scheme with a smaller comprehensive evaluation value is preferentially selected after the satellite with a larger comprehensive evaluation value is sorted. The satellite attitude conversion time and the waiting time are comprehensively considered in the task selection, wherein the smaller the satellite attitude conversion time is, the less energy consumed by the satellite is, the smaller the waiting time is, the more time the satellite can use for observation is meant, the satellite resource utilization rate is higher, and therefore the task with the smaller comprehensive rating value is prioritized. By the method, the resource allocation can be rapidly carried out on the observation task, and the scheduling efficiency and the utilization rate of the satellite resources are greatly improved.
2. Compared with the traditional mode, the embodiment of the invention has the advantages that the considered constraint conditions are more comprehensive, and the obtained planning scheme is more reasonable.
3. The embodiment of the invention considers that two tasks with similar observation requirements are observed as a synthetic task, so that more tasks can be observed on the basis of not influencing the original planning scheme, and the observation yield and the satellite resource utilization rate are improved.
It should be noted that, through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments. In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.