CN105763643B - Injecting method on a kind of moonlet electronics load task using task template - Google Patents
Injecting method on a kind of moonlet electronics load task using task template Download PDFInfo
- Publication number
- CN105763643B CN105763643B CN201610247942.9A CN201610247942A CN105763643B CN 105763643 B CN105763643 B CN 105763643B CN 201610247942 A CN201610247942 A CN 201610247942A CN 105763643 B CN105763643 B CN 105763643B
- Authority
- CN
- China
- Prior art keywords
- task
- packet
- template
- infused
- data packet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
Abstract
Injecting method on a kind of moonlet electronics load task using task template of the present invention.1) when satellite enters can be in observing and controlling region when, the booting of electric load slave computer;Data packet is infused on the task template infused on satellite receiver;By task template storage into load slave computer, completes the upper note of task template and storage and shut down;2) when satellite again or it is subsequent it is multiple enter can be in observing and controlling region when, the task template of storage is read in the booting of electric load slave computer;3) data packet is infused in infusing on satellite receiver for task;4) by the storage of task packet into load slave computer, the in-orbit generation and storage of completion task packet are simultaneously shut down.This method solve require to infuse in complete task bag data whole onto star when infusing in the previous every subtask of moonlet electric load, the lower problem of upper note efficiency, fluence in the task of moonlet electric load can be reduced, efficiency is infused in raising task, improves the reliability and safety of satellite.
Description
Technical field
The present invention relates to injecting methods on a kind of moonlet electronics load task.
Background technique
Modern Small Satellites development cost is low, the lead time is short, it is small in size, resist it is blast phase good, obtained development at full speed and
Using.However Modern Small Satellites orbit altitude is generally lower, by earth station and satellite constraint, each transit time is shorter,
It is lower that uplink is remotely controlled rate, within the limited time with the daily maintenance work that needs to complete satellite platform under limited upstream rate
Make, and a large amount of stars including remote measuring and controlling data ground data exchange.At the same time, with moonlet electric load technology
Development, the type and quantity of the electric load carried on moonlet are more and more, and function is stronger and stronger, and operating mode is more next
More complicated, when terrestrial user in-orbit use, needs to execute just on the load task packet and upper note to satellite of layout large amount of complex
Normal load task.The upper fluence of load task packet is larger, and the time of cost is longer, occupies more uplink remote control channel money
Source reduces the reliability of note, also brings certain risk to the normal execution of load task.
It carries out analysis to the operating mode of moonlet electric load to find, the major part under many operating modes of electric load
Task parameters setting is all fixed and invariable in multiple task.So there is no need to every time carry out all parameters of task
Upper note, by will infuse and stored on star in the task parameters pre-set, the task of storage before being called when passing by every time
Parameter, the partial parameters that only upper note needs to modify.
Summary of the invention
Technology of the invention solves the problems, such as: overcoming the deficiencies of the prior art and provide a kind of little Wei using task template
Injecting method in star electric load task solves and requires to appoint complete when infusing in the current every subtask of moonlet electric load
In bag data whole of being engaged on note to star, cause to infuse the lower problem of efficiency.
The technical scheme is that injecting method on a kind of moonlet electronics load task using task template, step
It is as follows:
1) when satellite enters can be in observing and controlling region when, initialization is completed in the booting of electric load slave computer;On satellite receiver
Data packet is infused on the task template of note;New task template is stored into load slave computer, the upper of new task template is completed
It infuses and stores and shut down;The combination that data packet is multiple tasks template is infused on the task template, content includes data packet
Type, task template total length, task template quantity, task template, check bit;Content in the task template includes appointing
Business template index number, content of parameter;
2) when satellite again or it is subsequent it is multiple enter can be in observing and controlling region when, the booting of electric load slave computer is completed initial
Change, read step 1) in store task template;
3) data packet is infused in infusing on satellite receiver for task;The group that data packet is multiple tasks packet is infused in the task
It closes, content includes type of data packet, task packet total length, task packet quantity, task packet, check bit;The task packet
It includes and infuses type tasks packet on complete upper note type tasks packet and task template, two kinds of task packet can individually upper note can also
It can be entirely completely above to infuse type tasks packet that the multiple tasks packet in data packet is infused to infuse in mixing, i.e. in a task,
It can be entirely note type tasks packet on task template, can also be and infuse type on complete upper note type tasks packet and task template
Any combination of task packet;Complete upper note type tasks packet is completely executable task packet, and content includes task number, appoints
It is engaged in time, upper note type, content of parameter;It is not executable task packet that type tasks packet is infused on task template, and content includes
Task number, task time, upper note type, task template call number, modification parameter;The modification parameter includes modification parameter number
Amount, modification argument address and modification content of parameter;For infusing type tasks packet on task template, according to task template call number rope
Draw the task template in step 2), the parameter of appropriate address, is tied simultaneously in the task template indexed according to modification parameter modification
Close task number, task time generates completely executable task packet;
4) completely executable task packet is stored into load slave computer, completes the in-orbit generation and storage of task packet
And it shuts down.
It is initialized in step 1) and step 2) method particularly includes:
111) pre-stored task template is read, establishes task template chained list according to task template call number;Described
Task template chained list refers to the task template list of the size order sequence according to task template call number;
112) pre-stored task packet is read, establishes Task-list according to task time;The Task-list refers to
The task list to sort according to the sequencing of task packet task time.
Data packet is infused on the task template infused on satellite receiver in step 1) method particularly includes:
121) type of data packet infused in data packet on task template is extracted, note on this is judged according to type of data packet
Whether data packet is that data packet is infused on task template, when data packet is to infuse data packet on task template, executes step 122), no
Then jump to step 31);
122) the task template total length infused in data packet on task template is extracted, the total length of data packet is infused in determination,
The check value of note data packet is calculated, while extracting the check value infused in data packet on task template, by the verification of calculating
Value, if the two is identical, shows to form function in data packet, otherwise loses the data packet infused on this compared with the check value extracted
It abandons;On form function after, extract task template on infuse data packet in task template quantity, according on task template infuse data packet lattice
Formula extracts each task template, is established according to the task template call number of each task template and infuses task template chained list;
123) the task template chained list whether haveing been friends in the past after initialization in step 1) is judged, if the task template chain haveing been friends in the past
Table merges upper note task template chained list and old task template chained list according to task template call number, task template call number
It is identical, old task template is abandoned, the task template infused in reservation, and be ranked up again, establishes new task template
Chained list;If not old task template chained list, using upper note task template chained list as new task template chained list;
124) judge all task templates in new task template chained list size whether be more than restriction size;If
More than the size of restriction, then will sort in task template chained list is more than the task template discarding for limiting size rearward.
The concrete operation step of step 3) are as follows:
31) type of data packet in data packet is infused in extraction task, and the data infused on this are judged according to type of data packet
Whether packet is that data packet is infused in task;When upper note data packet is to infuse data packet in task, step 32) is executed;Otherwise it jumps to
Step 1);
32) the task packet total length in data packet is infused in extraction task, and the total length of data packet is infused in determination, is calculated
The check value of upper note data packet, while the check value in data packet is infused in extraction task, by the school of the check value of calculating and extraction
It tests value to compare, if the two is identical, shows to form function in data packet, the data packet discarding that otherwise will be infused on this;On form function after,
The task packet quantity in data packet is infused in extraction task, extracts each task packet according to data packet format is infused in task;
33) the upper note type in task packet is extracted, judges that the task packet is complete upper note type tasks according to upper note type
Type tasks packet is infused on packet or task template, when upper note type is complete upper note type tasks packet, infuses task chain in formation
Table jumps to step 35), when upper note type is to infuse type tasks packet on task template, executes step 34);
34) the task template call number infused in type tasks packet on task template is extracted, according to task template call number rope
Draw the corresponding task template in the task template chained list established in step 2);It extracts and is infused in type tasks packet on task template
Parameter is modified, determines number of parameters, argument address and the content of parameter for needing to modify, calculates modification ginseng according to modification argument address
The address in the task template indexed is counted, is calculated in the task template indexed according to modification content of parameter modification
The content of parameter of corresponding address;It is constant that the parameter for not needing to modify in task template retains original content;The ginseng that will have been modified
The task number in type tasks packet is infused on number content combination task template, task time generates completely executable task packet;
After the completion of all task packets are handled, is established according to the task time of each task packet and infuse Task-list;
35) Task-list whether haveing been friends in the past after initialization in step 2) is judged, if the Task-list haveing been friends in the past, by upper note
Task-list and old Task-list are merged by task time, and task time has coincidence, and old task packet is abandoned, and are retained
The task packet of upper note, and be ranked up again, establish new Task-list;If not old Task-list, upper note is appointed
Chained list be engaged in as new Task-list;
36) judge all task packets in new Task-list size whether be more than restriction size;If it exceeds limit
Fixed size, then will sort in Task-list is more than the task packet discarding for limiting size rearward.
The advantages of the present invention over the prior art are that: using the upper note mode of task template, in task template format
Design has task template call number, by will include except task number, other holding with larger upper fluence in addition to task time
The task template of all content of parameter of row task packet is infused in advance and is stored on star, it is subsequent when being used for multiple times according to each
Specifically used demand only needs to infuse task number, task time and the task template rope with this subtask of few upper fluence
The task template on star is infused and stored to quotation marks and modification parameter in advance according to task template call number index, according to
The content of parameter of appropriate address in the task template that indexes of modification parameter modification, in combination with task number, task time to
It is in-orbit on star to produce completely executable task packet.Which reduces infuse in the task of moonlet electric load
Amount, improves and infuses efficiency in task, while improving the reliability and safety of satellite.
Detailed description of the invention
Fig. 1 is electric load lower computer hardware system schematic;
Fig. 2 is injecting method in the electric load task using task template;
Fig. 3 is that electric load task template and task wrap note process flow diagram;
Fig. 4 is that data packet format and individual task template style are infused on task template;
Fig. 5 is to infuse to infuse type tasks packet format in data packet format and individual task template in task;
Fig. 6 is to infuse data packet format in task completely above to infuse type tasks packet format with single.
Specific embodiment
The present invention is described in further detail in the following with reference to the drawings and specific embodiments:
As shown in Figure 1, the hardware system of typical moonlet electric load slave computer includes CPU (central processing unit
Central Processing Unit), PROM (programmable read only memory Programable Read-Only Memory),
EEPROM (Electrically Erasable Programmable Read-Only Memory Electrically Erasable Programable Read-Only
) and SRAM (Static RAM Static Random Access Memory) Memory.PROM is guided, just for solidifying
Application program, task template and task packet in EEPROM are called in memory and run by the program codes such as beginningization, completion;EEPROM is used
The important state data generated in storage application program, program operation process and the task template and task packet infused on ground
Data etc.;Data space needed for SRAM is used to run program and program operation and telemetry are stored and are deposited using data
Storage.Electric load slave computer realizes the data interaction with ground by the observing and controlling of satellite platform, Star Service subsystem.
Following embodiment is carried out under hardware system environment shown in Fig. 1, which is only used as preferably
Embodiment does not limit the implementation ring of injecting method on a kind of moonlet electronics load task using task template of the invention
Border.
As shown in Figure 2 and Figure 3, injecting method is having on a kind of moonlet electronics load task using task template of the present invention
Body implement when the following steps are included:
S1: when satellite enters can be in observing and controlling region when, initialization is completed in the booting of electric load slave computer;Satellite receiver
Data packet is infused on the task template of upper note;New task template is stored into load slave computer, new task template is completed
It is upper to infuse and store and shut down.On task template infuse data packet be multiple tasks template combination, content include type of data packet,
Task template total length, task template quantity, task template, check bit;Content in task template includes task template index
Number, content of parameter.Data packet is infused on task template and the data format of individual task template is as shown in Figure 4.The step use with
Lower step is realized:
S11: when satellite enters can be in observing and controlling region when, initialization is completed in the booting of electric load slave computer.Initialization uses
Following steps are realized:
S111: pre-stored task template is read from external EEPROM into external SRAM, is pressed in external SRAM
Task template chained list is established according to the call number of task template;Task template chained list refers to suitable according to the size of task template call number
The task template list of sequence sequence.When electric load slave computer be it is in-orbit first power on or outside EEPROM in without storage appoint
It is sky there is no task template chained list or task template chained list when template of being engaged in.
S112: reading pre-stored task packet into external SRAM from external EEPROM, in external SRAM according to
The task time of task packet establishes Task-list;Task-list refers to times of the sequencing sequence according to task packet task time
Business list.When electric load slave computer be it is in-orbit first power on or outside EEPROM in there is no store tasks packet when, be not present
Task-list or Task-list are sky.
S12: data packet is infused on the new task template for the user's layout infused on electric load slave computer satellite receiver.It adopts
It is realized with following steps:
S121: " type of data packet " infused in data packet on task template is extracted, is judged on this according to type of data packet
Whether the data packet of note is that data packet is infused on task template.When upper note data packet is to infuse data packet on task template, by task
Note data packet, which is deposited on task template, in template infuses data buffer zone, executes step S122;Otherwise step S31 is jumped to.
S122: " the task template total length " infused in data packet on task template is extracted, the overall length of data packet is infused in determination
Degree is infused in calculating in data packet from " type of data packet " to the check value of " task template N content ", and the calculation method of check value is pressed
Arrange in advance according to satellite and ground using identical calculation method, while extracting the " school infused in data packet on task template
Test position ", by the check value of calculating compared with the check value of extraction, if the two is identical, verification correctly shows to form in data packet
Telemetering " infusing state on task packet (template) " is set to " above forming function " by function, otherwise by the data packet discarding infused on this and general
Telemetering is set to " check errors ", notifies floor treatment.It is properly received after infusing data packet on task template, extracts and infused on task template
" task template quantity " in data packet extracts each task template according to data packet format is infused on task template, according to each
The task template call number of task template is established and infuses task template chained list.
S123: the task template chained list whether judgement has been friends in the past after initializing in step sl, if the task template haveing been friends in the past
Chained list is merged upper note task template chained list and old task template chained list by task template call number, task template call number
It is identical, old task template is abandoned, the task template infused in reservation, and be ranked up again, establishes new task template
Chained list.If not old task template chained list, using upper note task template chained list as new task template chained list.
S124: judge all task templates in new task template chained list size whether be more than restriction size.Such as
Fruit is more than the size limited, then will sort in task template chained list is more than the task template discarding for limiting size rearward, simultaneously
Telemetering " task packet (template) storage state " is set to " being more than to limit size ".The size of restriction is by dividing in EEPROM in advance
The amount of capacity of the memory space of dispensing task template determines.
S13: note instruction on ground " task packet (template) is stored in EEPROM " is received, the limiting size of the task will be no more than
Template is deposited into external EEPROM, to complete the upper note of task template and storage and shut down.
S2: when satellite again or it is subsequent it is multiple enter can be in observing and controlling region when, the booting of electric load slave computer is completed initial
Change, the task template stored in initialization step same S111~S112, read step S1;
S3: data packet is infused in the task for the user's layout infused on electric load slave computer satellite receiver.Number is infused in task
It is the combination of multiple tasks packet according to bag data, content includes type of data packet, task packet total length, task packet quantity, task
Packet, check bit.Task packet includes that type tasks packet is infused on complete upper note type tasks packet and task template, corresponding format difference
As illustrated in figures 6 and 5.Two kinds of task packet individually upper can be infused or mix note, i.e. infuse data in a task
Multiple tasks packet in packet can be entirely completely above to infuse type tasks packet, can also be entirely that type tasks are infused on task template
Packet can also be any combination that type tasks packet is infused on complete upper note type tasks packet and task template.Complete upper note type
Task packet is completely executable task packet, and content includes task number, task time, upper note type, content of parameter.Task
It is not executable task packet that type tasks packet is infused in template, and content includes task number, task time, upper note type, task
Template index number, modification number of parameters, modification argument address and modification content of parameter.The step the following steps are included:
S31: " type of data packet " in data packet is infused in extraction task, the number infused on this is judged according to type of data packet
It whether is that data packet is infused in task according to packet.When upper note data packet is to infuse data packet in task, data packet deposit will be infused in task
To task bag data buffer area, step S32 is executed;Otherwise step S121 is jumped to;
S32: " the task packet total length " in data packet is infused in extraction task, the total length of data packet is infused in determination, is calculated
From " type of data packet " to the check value of " task packet N content " in upper note data packet, the calculation method of check value according to satellite and
Ground is arranged in advance using identical calculation method, while " check bit " in data packet is infused in extraction task, will be calculated
Check value compared with the check value of extraction, if the two is identical, verification correctly show to form function in data packet, by telemetering " times
State is infused on business packet (template) " it is set to " above forming function ", otherwise " verification is set to by the data packet discarding infused on this and by telemetering
Mistake " notifies floor treatment." the task packet number in data packet is infused after infusing data packet in successful reception task, in extraction task
Amount " extracts each task packet according to data packet format is infused in task.
S33: extracting in task packet and " above infuse type ", judges that the task packet is complete upper note type tasks according to upper note type
Type tasks packet is infused on packet or task template, when upper note type is complete upper note type tasks packet, jumps to step S35,
When upper note type is to infuse type tasks packet on task template, step S34 is executed.
S34: " the task template call number " infused in type tasks packet on task template is extracted, according to task template call number
The corresponding task template in the task template chained list established in external SRAM is read in index step S2 from external EEPROM.
It extracts " the modification number of parameters " infused in type tasks packet on task template and determines the quantity for needing the parameter modified, extraction " is repaired
Change 1~N " of parameter, determines and need the N number of parameter modified in the address in the task template indexed and in needs modify
Hold, address of the modification parameter 1 in the task template indexed is calculated according to " modification 1 address of parameter ", according to " modification parameter 1
The content of parameter for the corresponding address being calculated in the task template that content " modification indexes, the N number of ginseng for successively modifying needs
Number all complete by modification.It is constant that the content of parameter for not needing to modify in task template retains original content.The ginseng that will have been modified
Task number, task time, upper note type in number content combination task packet, task template call number, which merge, generates newly complete
Executable task packet.
S35: whether all task packets extracted in judgment step S32 are all disposed, that is, judge that current task packet is
No is n-th task packet, and all task packets sort according to task time if it is, Task-list is infused in foundation;Otherwise
Step S33 is jumped to continue with.
S36: the Task-list whether judgement has been friends in the past after initializing in step s 2 will be upper if the Task-list haveing been friends in the past
It infuses Task-list and old Task-list to merge by task time, task time has coincidence, and old task packet is abandoned, and protects
The task packet of note is stayed, and is ranked up again, new Task-list is established.If not old Task-list, by upper note
Task-list is as new Task-list.Task time refers to the period from task starting time to job end time, appoints
The business time, which is overlapped, refers to that the task time of each task packet has the case where being completely coincident or partially overlapping.
S37: judge all task packets in new Task-list size whether be more than restriction size.If it exceeds limit
Fixed size, then will sort in Task-list is more than to limit the task packet of size to abandon rearward, while by telemetering " task packet
(template) storage state " is set to " being more than to limit size ".The size of restriction in EEPROM by distributing to depositing for task packet in advance
Spatial content size is stored up to determine.
S4: note instruction on ground " task packet (template) is stored in EEPROM " is received, the limiting size of the task will be no more than
Packet is deposited into external EEPROM.To complete the generation of task packet and storage and shut down, to task time then starting up
Task execution.
As shown in table 1, present invention design has related telemetering to reflect the state during infusing.Telemetering " task (template) number
According to wrapping note state " state of data packet during upper note is reflected, there are four types of states for the telemetering: " free time ", " in above infusing ",
" above forming function " and " check errors ", the telemetering is shown as " free time " and shows to initialize after the completion of load slave computer opening initialization
Being completed can carry out infusing in data packet, be shown as showing going up note " in upper note " during infusing in data packet, upper to have infused
The data packet of upper note is verified at rear load slave computer, correctly telemetering, which is then set to " above forming function ", shows data packet for verification
It receives correctly, telemetering is then set to " check errors " by check errors.Telemetering " task template quantity ", " task template size " and
" being not carried out task quantity ", " being not carried out task size " reflect the quantity and size of task template and task, load slave computer
The task template of storage and task are read in external SRAM from external EEPROM after opening initialization, the telemetering is anti-at this time
The task template of storage and the quantity and size of task are reflected;The telemetering is shown during upper note task template and task
Quantity and size are being continuously increased, and what is shown after the completion of upper note is original quantity and size plus the new upper quantity infused and big
It is small, when there are the conflict of task template call number or task conflict the case where, display be merge later total quantity and
Size.Telemetering " task (template) storage state " reflect task (template) storage when whether be more than restriction memory space it is big
Small, " normal " shows that task (template) can be with normal storage, and " being more than to limit size " shows that task (template) has been more than to limit greatly
It is small to there is the case where abandoning.Ground staff can according to the state comprehensive descision tasks (template) of these telemeterings whether on form
Function is accurately positioned problem by telemetering when upper note fails and takes corresponding treatment measures.
Related telemetering during note in 1 task of table (template)
The task template and task packet related pattern designed in the present invention is as shown in Fig. 4~Fig. 6, below with reference to Fig. 4~Fig. 6
Its format is described in detail respectively.
Referring to fig. 4, data packet format is infused on task template to be described as follows:
Referring to fig. 4, individual task template style is described as follows:
Data packet format is infused referring to Fig. 5, Fig. 6, in task to be described as follows:
It is as follows that type tasks packet format description is infused referring to Fig. 5, in individual task template:
Referring to Fig. 6, single complete upper note type tasks packet format description is as follows:
The content that description in the present invention is not described in detail belongs to the well-known technique of those skilled in the art.
Claims (4)
1. injecting method on a kind of moonlet electronics load task using task template, it is characterised in that steps are as follows:
1) when satellite enters can be in observing and controlling region when, initialization is completed in the booting of electric load slave computer;It is infused on satellite receiver
Data packet is infused on task template;New task template is stored into load slave computer, complete new task template upper note and
It stores and shuts down;On the task template infuse data packet be multiple tasks template combination, content include type of data packet,
Task template total length, task template quantity, task template, check bit;Content in the task template includes task mould
Plate call number, content of parameter;
2) when satellite again or it is subsequent it is multiple enter can be in observing and controlling region when, the booting of electric load slave computer is completed initialization, is read
Take the task template stored in step 1);
3) data packet is infused in infusing on satellite receiver for task;The combination that data packet is multiple tasks packet is infused in the task,
Its content includes type of data packet, task packet total length, task packet quantity, task packet, check bit;The task packet included
Type tasks packet is infused on whole upper note type tasks packet and task template, two kinds of task packet individually upper can be infused or be mixed
Close note, i.e. infused in a task multiple tasks packet in data packet can be entirely it is completely upper infuse type tasks packet, can also be with
Type tasks packet is infused entirely on task template, be can also be and is infused type tasks on complete upper note type tasks packet and task template
Any combination of packet;Complete upper note type tasks packet is completely executable task packet, when content includes task number, task
Between, upper note type, content of parameter;It is not executable task packet that type tasks packet is infused on task template, and content includes task
Number, task time, upper note type, task template call number, modification parameter;The modification parameter include modification number of parameters,
Modify argument address and modification content of parameter;For infusing type tasks packet on task template, indexed according to task template call number
Task template in step 2) modifies the parameter of appropriate address in the task template indexed according to modification parameter, in combination with
Task number, task time generate completely executable task packet;
4) completely executable task packet is stored into load slave computer, the in-orbit generation and storage of completion task packet are simultaneously closed
Machine.
2. injecting method on a kind of moonlet electronics load task using task template according to claim 1, feature
It is: is initialized in step 1) and step 2) method particularly includes:
111) pre-stored task template is read, establishes task template chained list according to task template call number;The task
Template chained list refers to the task template list of the size order sequence according to task template call number;
112) pre-stored task packet is read, establishes Task-list according to task time;The Task-list refer to according to
The task list of the sequencing sequence of task packet task time.
3. injecting method on a kind of moonlet electronics load task using task template according to claim 1, feature
It is: infuses data packet on the task template infused on satellite receiver in step 1) method particularly includes:
121) type of data packet infused in data packet on task template is extracted, the data infused on this are judged according to type of data packet
Whether packet is that data packet is infused on task template, when data packet is to infuse data packet on task template, executes step 122), otherwise jumps
Go to step 3);
122) the task template total length infused in data packet on task template is extracted, the total length of data packet is infused in determination, is calculated
Obtain note data packet check value, while extract on task template infuse data packet in check value, by the check value of calculating with
The check value of extraction compares, if the two is identical, shows to form function in data packet, the data packet discarding that otherwise will be infused on this;On
After forming function, the task template quantity infused in data packet on task template is extracted, is mentioned according to data packet format is infused on task template
Each task template is taken, is established according to the task template call number of each task template and infuses task template chained list;
123) judge the task template chained list whether haveing been friends in the past after initialization in step 1), if the task template chained list haveing been friends in the past,
Upper note task template chained list and old task template chained list are merged according to task template call number, task template call number is identical
, old task template is abandoned, the task template infused in reservation, and be ranked up again, establishes new task template chained list;
If not old task template chained list, using upper note task template chained list as new task template chained list;
124) judge all task templates in new task template chained list size whether be more than restriction size;If it exceeds
The size of restriction, then will sort in task template chained list is more than the task template discarding for limiting size rearward.
4. injecting method on a kind of moonlet electronics load task using task template according to claim 1, feature
It is: the concrete operation step of step 3) are as follows:
31) type of data packet in data packet is infused in extraction task, judges that the data packet infused on this is according to type of data packet
No is that data packet is infused in task;When upper note data packet is to infuse data packet in task, step 32) is executed;Otherwise step is jumped to
1);
32) the task packet total length in data packet is infused in extraction task, and the total length of data packet is infused in determination, note is calculated
The check value of data packet, while the check value in data packet is infused in extraction task, by the check value of the check value of calculating and extraction
Compare, if the two is identical, shows to form function in data packet, the data packet discarding that otherwise will be infused on this;On form function after, extract
The task packet quantity in data packet is infused in task, extracts each task packet according to data packet format is infused in task;
33) the upper note type in task packet is extracted, judges that the task packet is completely above to infuse type tasks packet also according to upper note type
It is note type tasks packet on task template, when upper note type is complete upper note type tasks packet, infuses Task-list in formation, jump
Step 35) is gone to, when upper note type is to infuse type tasks packet on task template, executes step 34);
34) the task template call number infused in type tasks packet on task template is extracted, indexes and walks according to task template call number
Corresponding task template in rapid 2) the middle task template chained list established;Extract the modification infused in type tasks packet on task template
Parameter determines number of parameters, argument address and the content of parameter for needing to modify, and calculates modification parameter according to modification argument address and exists
The correspondence being calculated in the task template indexed is modified according to modification content of parameter in the address in task template indexed
The content of parameter of address;It is constant that the parameter for not needing to modify in task template retains original content;It will be in the parameter that modified
Hold and the task number infused in type tasks packet on task template, task time is combined to generate completely executable task packet;By institute
After the completion of some task packet processing, is established according to the task time of each task packet and infuse Task-list;
35) Task-list whether haveing been friends in the past after initialization in step 2) is judged, if the Task-list haveing been friends in the past, by upper note task
Chained list and old Task-list are merged by task time, and task time has coincidence, and old task packet is abandoned, and are infused in reservation
Task packet, and be ranked up again, establish new Task-list;If not old Task-list, by upper note task chain
Table is as new Task-list;
36) judge all task packets in new Task-list size whether be more than restriction size;If it exceeds limit
Size, then will sort in Task-list is more than the task packet discarding for limiting size rearward.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610247942.9A CN105763643B (en) | 2016-04-20 | 2016-04-20 | Injecting method on a kind of moonlet electronics load task using task template |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610247942.9A CN105763643B (en) | 2016-04-20 | 2016-04-20 | Injecting method on a kind of moonlet electronics load task using task template |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105763643A CN105763643A (en) | 2016-07-13 |
CN105763643B true CN105763643B (en) | 2018-12-21 |
Family
ID=56325350
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610247942.9A Active CN105763643B (en) | 2016-04-20 | 2016-04-20 | Injecting method on a kind of moonlet electronics load task using task template |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105763643B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106253967B (en) * | 2016-07-28 | 2019-04-30 | 航天东方红卫星有限公司 | Data maintaining method suitable for microsatellite platform and load information integrated design |
CN106406863B (en) * | 2016-08-31 | 2019-07-12 | 西安空间无线电技术研究所 | A kind of in-orbit data safety method for reconfiguration for the instruments and meters software that carries people to fly |
CN107870782B (en) * | 2017-09-29 | 2020-07-14 | 北京空间飞行器总体设计部 | Method and system for unfolding and executing high-orbit remote sensing satellite load task |
CN109885817A (en) * | 2019-01-25 | 2019-06-14 | 中国科学院国家空间科学中心 | The generation method and system of instruction are infused in a kind of spacecraft payload |
CN111857661B (en) * | 2020-07-15 | 2023-08-04 | 北京无线电测量研究所 | Airborne radar master control software framework design method, airborne radar and computer equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6553208B1 (en) * | 2000-09-15 | 2003-04-22 | Motorola, Inc. | Methods and apparatus for using ground based processing resources to support orbiting satellites |
CN101969359A (en) * | 2010-09-29 | 2011-02-09 | 航天东方红卫星有限公司 | Method for uploading and processing electric load task on small satellite |
CN102291168A (en) * | 2011-08-31 | 2011-12-21 | 航天东方红卫星有限公司 | Satellite remote-control data lettering method |
CN102866709A (en) * | 2012-07-20 | 2013-01-09 | 航天东方红卫星有限公司 | Method for implementing in-orbit maneuvering imaging task of agile earth observing satellite |
CN103257891A (en) * | 2013-04-25 | 2013-08-21 | 上海卫星工程研究所 | Dual-level analyzing type spacecraft task managing system and method |
CN103984592A (en) * | 2014-05-19 | 2014-08-13 | 上海微小卫星工程中心 | Satellite instruction sequence processing method and device based on multiple tasks |
-
2016
- 2016-04-20 CN CN201610247942.9A patent/CN105763643B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6553208B1 (en) * | 2000-09-15 | 2003-04-22 | Motorola, Inc. | Methods and apparatus for using ground based processing resources to support orbiting satellites |
CN101969359A (en) * | 2010-09-29 | 2011-02-09 | 航天东方红卫星有限公司 | Method for uploading and processing electric load task on small satellite |
CN102291168A (en) * | 2011-08-31 | 2011-12-21 | 航天东方红卫星有限公司 | Satellite remote-control data lettering method |
CN102866709A (en) * | 2012-07-20 | 2013-01-09 | 航天东方红卫星有限公司 | Method for implementing in-orbit maneuvering imaging task of agile earth observing satellite |
CN103257891A (en) * | 2013-04-25 | 2013-08-21 | 上海卫星工程研究所 | Dual-level analyzing type spacecraft task managing system and method |
CN103984592A (en) * | 2014-05-19 | 2014-08-13 | 上海微小卫星工程中心 | Satellite instruction sequence processing method and device based on multiple tasks |
Non-Patent Citations (2)
Title |
---|
导航卫星上行注入任务调度模型及启发式算法;龙运军等;《国防科技大学学报》;20130430;第35卷(第2期);全文 * |
有限上行资源下遥控指令序列高效上注方案设计;刘洋等;《遥测遥控》;20141130;第35卷(第6期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN105763643A (en) | 2016-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105763643B (en) | Injecting method on a kind of moonlet electronics load task using task template | |
CN103268284B (en) | On-orbit maintenance method for star sensor | |
CN109325584A (en) | Federation's modeling method, equipment and readable storage medium storing program for executing neural network based | |
CN105068549A (en) | Method for autonomously and continuously planning satellite tasks | |
CN105512030B (en) | A kind of method that lifting satellite test efficiency is intelligently constructed based on satellite command code word | |
CN110245089A (en) | Method for testing pressure, device, equipment and computer readable storage medium | |
CN102984124B (en) | A kind of method and system that client gaming program is quickly implanted browser | |
CN105955801B (en) | A kind of distributed optimistic concurrency control method based on RDMA and HTM | |
SA517380878B1 (en) | Systems, Methods, and Computer Medium to Enhance Hydrocarbon Reservoir Simulation | |
CN104125504B (en) | Deployment method, device and system based on continuous integration | |
CN108763077B (en) | Verification test system based on-satellite on-orbit reconfigurable FPGA software | |
CN102117449A (en) | Dynamic verification and soft handover method for online state entering of power grid model | |
CN106314828A (en) | Dynamic reconfigurable ground measuring and controlling system | |
CN107247665A (en) | A kind of method of testing and system of C interface function | |
CN106325827A (en) | Random test program generation method and device | |
CN106371935A (en) | Game control interface acquisition method and apparatus | |
CN103077056B (en) | Use the Bootlorder implementation method of a small amount of ROM resource | |
CN104753718B (en) | Missing service throughput based on non-negative polymerization supplies method and apparatus | |
CN107844411A (en) | A kind of method of testing and relevant apparatus | |
CN110308920A (en) | A method of not influencing product software on the in-orbit modification star operated normally | |
CN108873922A (en) | Satellite Orbital Attitude control algorithm validation system and method | |
CN110119348A (en) | A kind of method and terminal of software upgrading test | |
CN109918338A (en) | Safety chip operating system testing device | |
CN106940659A (en) | Interruption verification method based on the lower pushing system of weighting | |
CN101551749B (en) | Method and system of random test program generation and design verification method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |