CN109683934A - The long-range curing method of software parameter on a kind of star of retrievable satellite - Google Patents

The long-range curing method of software parameter on a kind of star of retrievable satellite Download PDF

Info

Publication number
CN109683934A
CN109683934A CN201811571525.5A CN201811571525A CN109683934A CN 109683934 A CN109683934 A CN 109683934A CN 201811571525 A CN201811571525 A CN 201811571525A CN 109683934 A CN109683934 A CN 109683934A
Authority
CN
China
Prior art keywords
parameter
flash
remote
remote parameter
solidified
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.)
Pending
Application number
CN201811571525.5A
Other languages
Chinese (zh)
Inventor
平恒
张璐
肖朝升
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Institute of Electronic System Engineering
Original Assignee
Beijing Institute of Electronic System Engineering
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Institute of Electronic System Engineering filed Critical Beijing Institute of Electronic System Engineering
Priority to CN201811571525.5A priority Critical patent/CN109683934A/en
Publication of CN109683934A publication Critical patent/CN109683934A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • H04B7/1851Systems using a satellite or space-based relay
    • H04B7/18519Operations control, administration or maintenance

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Astronomy & Astrophysics (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses the long-range curing method of software parameter and computer readable storage mediums on a kind of star of retrievable satellite, which comprises S1: embedded device circulation executes program, is provided with long-range cure parameter program in described program;S3: the remote parameter that satellite receiver is sent solidifies instruction;S5: initialization remote parameter solidification mark and remote parameter solid state machine;S7: judge whether the remote parameter solidification mark is effective, exits if invalid, the solidification of remote parameter is otherwise executed according to the state of the remote parameter solid state machine.Embodiment provided by the invention is by updating remote parameter, be able to solve retrievable satellite under conditions of no repeater satellite participates in communication forwarding, because between star ground uplink and downlink communication data volume it is limited caused by in-orbit more nova the problem of software, the in-orbit maintenance of retrievable satellite can not be can be realized while software on ensuring star operates normally.

Description

The long-range curing method of software parameter on a kind of star of retrievable satellite
Technical field
The present invention relates to the in-orbit maintenance technology fields of software on star, more particularly to software on a kind of star of retrievable satellite Parameters remote curing method and computer readable storage medium.
Background technique
For the adaptability during improving satellite in orbit and reliability, meets reparation defect and the needs of consummating function, It is required that software has in-orbit maintainability on star.For being powered on operation and the wide satellite of ground communication area range for a long time, adopt at present The in-orbit reconstruct of software on star is realized with remotely upper note, detailed process is: firstly, on the ground, software design teacher is according to update, expansion The maintenance needs of software or software section module on star are repaired in exhibition, generate one section of new, complete software executable code; Then, ground control station by star communication link (usually observing and controlling channel) satellite fly to region by new edition program code and It infuses on remote control data to spaceborne computer;Since software code amount is generally large on star, and nonvolatile storage FLASH has appearance The superperformances such as larger, repeatable online programming ability are measured, spaceborne computer would generally be by its programming after receiving note code Be solidificated in outside piece in FLASH, for substituting software or partial software functional module on original star;Then, spaceborne computer It will do it software to reload, position software executable code on updated star, FLASH is loaded onto read-write speed outside piece by it It is run in the faster ram in slice of rate or the outer SDRAM of piece, to be successfully realized the in-orbit liter of software all or part function on star Grade.
(power-up time is no more than 72 hours) short for the operation on orbit time and certain retrievable satellite for needing to return ground, On the one hand, under conditions of no repeater satellite participates in communication forwarding, the total duration that can be communicated with ground control station is short, Uplink and downlink communication data volume is by larger limitation between leading to star ground.On the other hand, according to the in-orbit real-time running state of satellite, ground The key parameters such as its position that leaves the right or normal track need to be adjusted by note in remote control, and by software upgrading on star and solidify all injection parameters.Cause This is not able to satisfy above-mentioned return based on the prior art that uplink and downlink communication link between star ground can reliably carry biggish data volume The in-orbit maintenance of software on the star of formula satellite.
Summary of the invention
At least one to solve the above-mentioned problems, first aspect present invention provides software on a kind of star of retrievable satellite and joins The long-range curing method of number, comprising:
S1: embedded device circulation executes program, is provided with long-range cure parameter program in described program;
S3: the remote parameter that satellite receiver is sent solidifies instruction;
S5: initialization remote parameter solidification mark and remote parameter solid state machine;
S7: judge whether the remote parameter solidification mark is effective, exits if invalid, otherwise according to the remote parameter The state of solid state machine executes the solidification of remote parameter.
Further, the S5 further comprises:
S51: the remote parameter solidification mark is set effectively, it is initial value that the remote parameter solid state machine, which is arranged,;
S53: complete injection cure parameter and corresponding FLASH to be solidified are obtained from remote parameter solidification instruction Address.
Further, the S7 further comprises:
S71: judge whether the remote parameter solidification mark is effective, exits if invalid, otherwise judges the long-range ginseng The state of number solid state machine;
S73: wiping the FLASH to be solidified according to the address of the FLASH to be solidified, modifies the long-range ginseng The state of number solid state machine;
S75: erasing verification is carried out to the FLASH to be solidified, modifies the state of the remote parameter solid state machine;
S77: the FLASH to be solidified is written into the injection cure parameter, modifies the remote parameter solid state machine State;
S79: the data of the FLASH to be solidified are read, write-in verification is carried out according to the injection cure parameter.
Further, the S73 further comprises:
S731: the sector FLASH of predetermined length is wiped according to the address of the FLASH to be solidified;
S733: judge whether the sector FLASH wipes and finish, if then modifying the remote parameter solid state machine State simultaneously jumps to S75;Otherwise S735 is jumped to;
S735: judging whether the erasing times of the sector FLASH are less than erasing threshold value, no if then jumping to S731 Then jump to S737;
S737: judge whether to modify the address of the FLASH to be solidified if having there are also the available sector FLASH and jump It is otherwise invalid by remote parameter solidification traffic sign placement to S731.
Further, the predetermined length is 64KB.
Further, the S75 further comprises:
S751: the data of the FLASH to be solidified are successively read according to the address of the FLASH to be solidified and predetermined length And judged, modify the state of the remote parameter solid state machine if the data are sky and jump to S77, otherwise Jump to S753;
S753: judging whether the erasing times of the sector FLASH are less than erasing threshold value, if then modifying the long-range ginseng The state of number solid state machine simultaneously jumps to S73;Otherwise S755 is jumped to;
S755: judge whether to modify the address of the FLASH to be solidified, modification institute if having there are also the available sector FLASH It states the state of remote parameter solid state machine and jumps to S73;It otherwise is invalid by remote parameter solidification traffic sign placement.
Further, the S79 further comprises:
S791: being successively read the data of the FLASH to be solidified, is compared with the injection cure parameter, if described Data it is consistent be then by remote parameter solidification traffic sign placement it is invalid, otherwise jump to S793;
S793: judging whether the erasing times of the sector FLASH are less than erasing threshold value, if then modifying the long-range ginseng The state of number solid state machine simultaneously jumps to S73;Otherwise S795 is jumped to;
S795: judge whether to modify the address of the FLASH to be solidified, modification institute if having there are also the available sector FLASH It states the state of remote parameter solid state machine and jumps to S73;It otherwise is invalid by remote parameter solidification traffic sign placement.
Further, the method also includes overtime protection,
The S51 further include: initialization overtime protection timer;
After the S71, before the S73, the method also includes:
S72: judge whether overtime protection timer is more than the time threshold pre-seted, and the time-out is modified if being less than Protection timer simultaneously jumps to S73, is otherwise invalid and jumps to S71 by remote parameter solidification traffic sign placement.
Further, the time threshold is 10 seconds.
Second aspect of the present invention provides a kind of computer readable storage medium, is stored thereon with computer program, the program Method described in first aspect is realized when being executed by processor.
Beneficial effects of the present invention are as follows:
By updating remote parameter, solving the in-orbit maintenance technology of software on existing star must lead to embodiment provided by the invention Cross the defect that note in the remote control of big data quantity program code realizes the in-orbit update of software parameter.Ground control station is only needed small data quantity Undated parameter value inject satellite, by spaceborne computer by upper note parameter value be written piece outside FLASH, update and solidify related software Parameter, to support to leave the right or normal track in certain retrievable satellite communication environment that remote-control romote-sensing data volume is obviously limited between star ground The reliable in-orbit maintenance of the key parameters such as position is able to solve the item that retrievable satellite participates in communication forwarding in no repeater satellite Under part, because between star ground uplink and downlink communication data volume it is limited caused by can not be on in-orbit more nova the problem of software, on ensuring star Software can be realized the in-orbit maintenance of retrievable satellite while normal operation, and reduce between star ground uplink and downlink communication error code to Software and its parameters remote update upgrading bring risk on star.
Detailed description of the invention
Specific embodiments of the present invention will be described in further detail with reference to the accompanying drawing.
Fig. 1 shows the flow chart of long-range curing method described in one embodiment of the present of invention;
Fig. 2 shows the flow charts initialized in long-range curing method described in one embodiment of the present of invention;
Fig. 3 shows the cured flow chart of parameter in long-range curing method described in one embodiment of the present of invention;
Fig. 4 shows the flow chart that FLASH is wiped in long-range curing method described in one embodiment of the present of invention;
Fig. 5 shows the flow chart of FLASH erasing verification in long-range curing method described in one embodiment of the present of invention;
Fig. 6 shows the stream that verification FLASH curing data is read in long-range curing method described in one embodiment of the present of invention Cheng Tu.
Specific embodiment
In order to illustrate more clearly of the present invention, the present invention is done further below with reference to preferred embodiments and drawings It is bright.Similar component is indicated in attached drawing with identical appended drawing reference.It will be appreciated by those skilled in the art that institute is specific below The content of description is illustrative and be not restrictive, and should not be limited the scope of the invention with this.
As shown in Figure 1, An embodiment provides software parameter on a kind of star of retrievable satellite remotely to consolidate Change method, comprising: S1: embedded device circulation executes program, is provided with long-range cure parameter program in described program;S3: it connects It receives the remote parameter that earth station sends and solidifies instruction;S5: initialization remote parameter solidification mark and remote parameter solid state machine; S7: judge whether the remote parameter solidification mark is effective, exits if invalid, otherwise according to the remote parameter solid state The state of machine executes the solidification of remote parameter.
In a specific example, as shown in Figure 1, software operates in digital signal processor on the star of retrievable satellite On, it is solidificated in nonvolatile storage FLASH, the digital signal processor circulation executes aerial mission and Star Service task journey Sequence, described program are additionally provided with long-range cure parameter program, the execution period of the digital signal processor circular flow program For 25ms.
It is executed in the period at each, whether the digital signal processor inquiry, which receives long-range cure parameter solidification, refers to It enables, the long-range cure parameter solidifies instruction and infuses parameter solidification on the spaceborne computer of retrievable satellite from the comprehensive examining system in ground Order and leave the right or normal track position wait cure parameter, then start-up parameter solidify task, specifically include:
Firstly, S5: initialization remote parameter solidification mark and remote parameter solid state machine.As shown in Fig. 2, further wrapping It includes:
S51: the remote parameter solidification mark is set effectively, it is initial value that the remote parameter solid state machine, which is arranged,. In the present embodiment, the remote parameter solidification traffic sign placement is virtual value 0x66, while the remote parameter solidification shape is arranged State machine is 0x01, and characterization starts to carry out parameter solidification.
In a preferred embodiment, the parameters remote curing method further includes overtime protection, long-range in initialization While parameter solidification mark and remote parameter solid state machine, also initialization overtime protection timer is 0, starts timing.
S53: complete injection cure parameter and corresponding FLASH to be solidified are obtained from remote parameter solidification instruction Address.The digital signal processor further parses the long-range cure parameter solidification instruction received, from described instruction Take out the address of complete injection cure parameter and corresponding FLASH to be solidified.In the present embodiment, the injection cure parameter Including multiple program running parameters, the update to processor program can be realized by updating the multiple parameter, while described Digital signal processor has pre-seted multiple for the cured sector FLASH, the FLASH to be solidified according to specified in described instruction Address carry out parameter solidification.0x02 is set by the remote parameter solid state machine simultaneously.
Then, S7: judge whether the remote parameter solidification mark is effective, exits if invalid, otherwise according to described remote The state of journey parameter solid state machine executes the solidification of remote parameter.As shown in figure 3, further comprising:
First, S71: judge whether the remote parameter solidification mark is effective, exits if invalid, otherwise judge described remote The state of journey parameter solid state machine.In remote parameter solidification process, in each execution period, the Digital Signal Processing Device judges whether the remote parameter solidification mark is effective, effectively then reads the state of the remote parameter solid state machine, root Remote parameter solidification is continued to execute according to the state of the state machine, otherwise executes other programs.It should be noted that in this implementation Task is executed periodically with polling mode in example, all operations execute within the period, and what can not be executed in a cycle is divided into Multiple periods execute.I.e. in each period, it is required to be introduced into S71 and remote parameter solidification mark is judged, The remote parameter is executed in the case where solidifying mark effectively further according to the state of the remote parameter solid state machine.For Convenient for explanation, skip operation and sequence operation in the present embodiment are described as directly operating, and those skilled in the art should manage Solution, details are not described herein.
In overtime protection embodiment, the method also includes:
S72: judge whether overtime protection timer is more than the time threshold pre-seted, and the time-out is modified if being less than Protection timer simultaneously jumps to S73, is otherwise invalid and jumps to S71 by remote parameter solidification traffic sign placement.In this reality It applies in example, the time threshold is set as 10 seconds, i.e., since timer is protected in initialization, if within 400 execution periods not Completing the remote parameter solidification then terminates this remote parameter program curing, is 0 by remote parameter solidification traffic sign placement, No longer execute other operations;It is protected when timer described in ELSE instruction and continues to execute remote parameter solidification.
Second, S73: the FLASH to be solidified is wiped according to the address of the FLASH to be solidified, described in modification The state of remote parameter solid state machine.As shown in figure 4, further comprising:
S731: the sector FLASH of predetermined length is wiped according to the address of the FLASH to be solidified.In the present embodiment, it examines The length for considering the minimum operation sector of the FLASH sets 64KB for the predetermined length, then according to the remote parameter Wipe the corresponding sector FLASH in the address for solidifying FLASH in instruction.
S733: judge whether the sector FLASH wipes and finish, if then modifying the remote parameter solid state machine State simultaneously jumps to S75;Otherwise S735 is jumped to.The explanation of processor according to the digital signal, the FLASH fan of the 64KB The erasable waiting time that can be completed within the time of 700ms, therefore be arranged in the present embodiment in area is 1 second, 1 second Afterwards, judge whether the sector FLASH completes to wipe, it is 0x04 that the remote parameter solid state machine is arranged if completing, and Continue to execute remote parameter program curing;Otherwise it is assumed that this erasable operation has exception, the erasing of the sector FLASH is judged Number.
S735: judging whether the erasing times of the sector FLASH are less than erasing threshold value, no if then jumping to S731 Then jump to S737.In the present embodiment, the erasing threshold value is 3, when the erasable number of single sector is less than 3, the wiping It writes number and adds 1, then jump to the erasable sector again S731;If the erasable number of the sector has reached erasing threshold value, Judge whether that there are also the available sectors FLASH.
S737: judge whether that there are also the available sectors FLASH, if then modifying the address of the FLASH to be solidified and jumping It is otherwise invalid by remote parameter solidification traffic sign placement to S731.In the present embodiment, the digital signal processor is set It has set 3 pieces of sectors FLASH and has solidified use for parameter, judged according to the currently used sector FLASH, if there is also available fans Area, then modify the address of FLASH to be solidified and jump to S731 re-start FLASH sector it is erasable;If without available sector, Then terminate this remote parameter program curing, is 0 by remote parameter solidification traffic sign placement, no longer executes other operations.
S75: third carries out erasing verification to the FLASH to be solidified, modifies the shape of the remote parameter solid state machine State.As shown in figure 5, further comprising:
S751: the data of the FLASH to be solidified are successively read according to the address of the FLASH to be solidified and predetermined length And judged, modify the state of the remote parameter solid state machine if the data are sky and jump to S77, otherwise Jump to S753.In the present embodiment, the sector FLASH of previous step erasing is verified, from the FLASH's to be solidified Address starts, and is successively read the data of 64KB, in the present embodiment, the FLASH data line be 16, by the data of reading with 0xffff is compared, and thinks the sector erasing success if consistent, the remote parameter solid state machine, which is arranged, is 0x08, and continue to execute remote parameter program curing;Otherwise it is assumed that erasable operation has exception, the sector FLASH is judged Erasing times.
S753: judging whether the erasing times of the sector FLASH are less than erasing threshold value, if then modifying the long-range ginseng The state of number solid state machine simultaneously jumps to S73;Otherwise S755 is jumped to;In the present embodiment, the erasing threshold value is 3, when When the erasable number of single sector is less than 3, the erasable number adds 1, and modifying the remote parameter solid state machine is 0x02, so After jump to the erasable sector again S73;If the erasable number of the sector has reached erasing threshold value, judge whether also may be used The sector FLASH.
S755: judge whether to modify the address of the FLASH to be solidified, modification institute if having there are also the available sector FLASH It states the state of remote parameter solid state machine and jumps to S73;It otherwise is invalid by remote parameter solidification traffic sign placement.? In the present embodiment, the digital signal processor is provided with 3 pieces of sectors FLASH and solidifies use for parameter, according to currently used The sector FLASH is judged, if modifying the address of FLASH to be solidified there is also available sector and consolidating the remote parameter Change state machine is 0x02, then jumps to the erasable sector again S73;If terminating this remote parameter without available sector Remote parameter solidification traffic sign placement is 0, no longer executes other operations by program curing.
4th, S77: being written the FLASH to be solidified for the injection cure parameter, modifies the remote parameter solidification shape The state of state machine;In the present embodiment, since the first address of the FLASH to be solidified, it will solidify from the remote parameter and refer to It obtains complete injection cure parameter in order to be sequentially written in the FLASH, by the remote parameter solid state after being fully completed Machine is set as 0x10, and continues to execute remote parameter program curing.
5th, S79: the data of the FLASH to be solidified are read, write-in verification is carried out according to the injection cure parameter. As shown in fig. 6, further comprising:
S791: being successively read the data of the FLASH to be solidified, is compared with the injection cure parameter, if described Data it is consistent be then by remote parameter solidification traffic sign placement it is invalid, otherwise jump to S793.In the present embodiment, to upper The data of the one step write-in sector FLASH are verified, and data are read since the address of the FLASH to be solidified, will be read Data be compared with the injection cure parameter, think that the data that FLASH is written are correct if consistent, the long-range ginseng Number solidifies successfully, is 0 by remote parameter solidification traffic sign placement, and the solidification of this remote parameter terminates, and triggers the number letter The restarting of number processor executes program according to the parameter of update;Otherwise judge the erasing times of the sector FLASH.
S793: judging whether the erasing times of the sector FLASH are less than erasing threshold value, if then modifying the long-range ginseng The state of number solid state machine simultaneously jumps to S73;Otherwise S795 is jumped to.In the present embodiment, the erasing threshold value is 3, when When the erasable number of single sector is less than 3, the erasable number adds 1, and modifying the remote parameter solid state machine is 0x02, so After jump to the erasable sector again S73;If the erasable number of the sector has reached erasing threshold value, judge whether also may be used The sector FLASH.
S795: judge whether to modify the address of the FLASH to be solidified, modification institute if having there are also the available sector FLASH It states the state of remote parameter solid state machine and jumps to S73;It otherwise is invalid by remote parameter solidification traffic sign placement.? In the present embodiment, the digital signal processor is provided with 3 pieces of sectors FLASH and solidifies use for parameter, according to currently used The sector FLASH is judged, if modifying the address of FLASH to be solidified there is also available sector and consolidating the remote parameter Change state machine is 0x02, then jumps to the erasable sector again S73;If terminating this remote parameter without available sector Remote parameter solidification traffic sign placement is 0, no longer executes other operations by program curing.
Another embodiment of the present invention provides a kind of computer readable storage mediums, are stored thereon with computer journey Sequence, realization when which is executed by processor: S1: embedded device circulation executes program, is provided in described program long-range solid Change parameter program;S3: the remote parameter that satellite receiver is sent solidifies instruction;S5: initialization remote parameter solidification mark and remote Journey parameter solid state machine;S7: judge whether the remote parameter solidification mark is effective, exits if invalid, otherwise according to institute The state for stating remote parameter solid state machine executes the solidification of remote parameter.
In practical applications, the computer readable storage medium can be using one or more computer-readable media Any combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It calculates Machine readable storage medium storing program for executing can for example be but not limited to system, device or the device of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor Part, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: to have The electrical connection of one or more conducting wires, portable computer diskette, hard disk, random access memory (RAM), erasable type are programmable Read-only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic are deposited Memory device or above-mentioned any appropriate combination.At this in real time in example, computer readable storage medium, which can be, any includes Or the tangible medium of storage program, which can be commanded execution system, device or device use or in connection make With.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including but not limited to without Line, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.? Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service It is connected for quotient by internet).
By updating remote parameter, solving the in-orbit maintenance technology of software on existing star must lead to embodiment provided by the invention Cross the defect that note in the remote control of big data quantity program code realizes the in-orbit update of software parameter.Ground control station is only needed small data quantity Undated parameter value inject satellite, by spaceborne computer by upper note parameter value be written piece outside FLASH, update and solidify related software Parameter, to support to leave the right or normal track in certain retrievable satellite communication environment that remote-control romote-sensing data volume is obviously limited between star ground The reliable in-orbit maintenance of the key parameters such as position is able to solve the item that retrievable satellite participates in communication forwarding in no repeater satellite Under part, because between star ground uplink and downlink communication data volume it is limited caused by can not be on in-orbit more nova the problem of software, on ensuring star Software can be realized the in-orbit maintenance of retrievable satellite while normal operation, and reduce between star ground uplink and downlink communication error code to Software and its parameters remote update upgrading bring risk on star.
Obviously, the above embodiment of the present invention be only to clearly illustrate example of the present invention, and not be pair The restriction of embodiments of the present invention may be used also on the basis of the above description for those of ordinary skill in the art To make other variations or changes in different ways, all embodiments can not be exhaustive here, it is all to belong to this hair The obvious changes or variations that bright technical solution is extended out are still in the scope of protection of the present invention.

Claims (10)

1. the long-range curing method of software parameter on a kind of star of retrievable satellite characterized by comprising
S1: embedded device circulation executes program, is provided with long-range cure parameter program in described program;
S3: the remote parameter that satellite receiver is sent solidifies instruction;
S5: initialization remote parameter solidification mark and remote parameter solid state machine;
S7: judge whether the remote parameter solidification mark is effective, exits if invalid, otherwise solidifies according to the remote parameter The state of state machine executes the solidification of remote parameter.
2. the method according to claim 1, wherein the S5 further comprises:
S51: the remote parameter solidification mark is set effectively, it is initial value that the remote parameter solid state machine, which is arranged,;
S53: solidify the ground that complete injection cure parameter and corresponding FLASH to be solidified are obtained in instruction from the remote parameter Location.
3. according to the method described in claim 2, it is characterized in that, the S7 further comprises:
S71: judge whether the remote parameter solidification mark is effective, exits if invalid, otherwise judges that the remote parameter is solid Change the state of state machine;
S73: wiping the FLASH to be solidified according to the address of the FLASH to be solidified, and it is solid to modify the remote parameter Change the state of state machine;
S75: erasing verification is carried out to the FLASH to be solidified, modifies the state of the remote parameter solid state machine;
S77: the FLASH to be solidified is written into the injection cure parameter, modifies the shape of the remote parameter solid state machine State;
S79: the data of the FLASH to be solidified are read, write-in verification is carried out according to the injection cure parameter.
4. according to the method described in claim 3, it is characterized in that, the S73 further comprises:
S731: the sector FLASH of predetermined length is wiped according to the address of the FLASH to be solidified;
S733: judge whether the sector FLASH wipes and finish, if then modifying the state of the remote parameter solid state machine And jump to S75;Otherwise S735 is jumped to;
S735: judging whether the erasing times of the sector FLASH are less than erasing threshold value, if then jumping to S731, otherwise jumps Go to S737;
S737: judge whether that there are also the available sectors FLASH, if then modifying the address of the FLASH to be solidified and jumping to Otherwise remote parameter solidification traffic sign placement is invalid by S731.
5. according to the method described in claim 4, it is characterized in that, the predetermined length is 64KB.
6. according to the method described in claim 5, it is characterized in that, the S75 further comprises:
S751: it is gone forward side by side according to the data that the address of the FLASH to be solidified and predetermined length are successively read the FLASH to be solidified Row judgement modifies the state of the remote parameter solid state machine if the data are sky and jumps to S77, otherwise jumps To S753;
S753: judging whether the erasing times of the sector FLASH are less than erasing threshold value, if it is solid then to modify the remote parameter Change the state of state machine and jumps to S73;Otherwise S755 is jumped to;
S755: judging whether the also available sector FLASH, and address, the modification that the FLASH to be solidified is modified if having are described remote The state of journey parameter solid state machine simultaneously jumps to S73;It otherwise is invalid by remote parameter solidification traffic sign placement.
7. according to the method described in claim 3, it is characterized in that, the S79 further comprises:
S791: being successively read the data of the FLASH to be solidified, is compared with the injection cure parameter, if the data It is consistent be then by remote parameter solidification traffic sign placement it is invalid, otherwise jump to S793;
S793: judging whether the erasing times of the sector FLASH are less than erasing threshold value, if it is solid then to modify the remote parameter Change the state of state machine and jumps to S73;Otherwise S795 is jumped to;
S795: judging whether the also available sector FLASH, and address, the modification that the FLASH to be solidified is modified if having are described remote The state of journey parameter solid state machine simultaneously jumps to S73;It otherwise is invalid by remote parameter solidification traffic sign placement.
8. according to the method described in claim 3, it is characterized in that, the method also includes overtime protection,
The S51 further include: initialization overtime protection timer;
After the S71, before the S73, the method also includes:
S72: judge whether overtime protection timer is more than the time threshold pre-seted, and the overtime protection is modified if being less than Timer simultaneously jumps to S73, is otherwise invalid and jumps to S71 by remote parameter solidification traffic sign placement.
9. according to the method described in claim 3, it is characterized in that, the time threshold is 10 seconds.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Such as method of any of claims 1-8 is realized when execution.
CN201811571525.5A 2018-12-21 2018-12-21 The long-range curing method of software parameter on a kind of star of retrievable satellite Pending CN109683934A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811571525.5A CN109683934A (en) 2018-12-21 2018-12-21 The long-range curing method of software parameter on a kind of star of retrievable satellite

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811571525.5A CN109683934A (en) 2018-12-21 2018-12-21 The long-range curing method of software parameter on a kind of star of retrievable satellite

Publications (1)

Publication Number Publication Date
CN109683934A true CN109683934A (en) 2019-04-26

Family

ID=66188686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811571525.5A Pending CN109683934A (en) 2018-12-21 2018-12-21 The long-range curing method of software parameter on a kind of star of retrievable satellite

Country Status (1)

Country Link
CN (1) CN109683934A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413223A (en) * 2019-06-25 2019-11-05 汉纳森(厦门)数据股份有限公司 Data read-write method, medium, equipment and the device of flash storage
CN110795146A (en) * 2019-10-30 2020-02-14 中国电子科技集团公司第五十四研究所 Medium and low orbit satellite in-orbit software reconstruction method based on ground software real-time control

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120111852A (en) * 2011-03-30 2012-10-11 주식회사 케이티 A methods and apparatus of separated software upgrade of device and gateway by over the air in the machine to machine communication
CN102830951A (en) * 2012-07-20 2012-12-19 航天东方红卫星有限公司 Processing method for upwards injecting multi-parameter instruction by agile satellite
CN103383863A (en) * 2012-05-04 2013-11-06 北京兆易创新科技股份有限公司 Method for improving erasure performance of flash memory
CN103777983A (en) * 2014-01-24 2014-05-07 航天东方红卫星有限公司 Satellite-borne software in-orbit maintaining and upgrading method
CN103942066A (en) * 2014-03-25 2014-07-23 中国科学院长春光学精密机械与物理研究所 Satellite-borne embedded software module on-orbit updating method
CN108415718A (en) * 2018-03-28 2018-08-17 南京理工大学 A kind of BootLoader design methods applied to On-board software online updating

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120111852A (en) * 2011-03-30 2012-10-11 주식회사 케이티 A methods and apparatus of separated software upgrade of device and gateway by over the air in the machine to machine communication
CN103383863A (en) * 2012-05-04 2013-11-06 北京兆易创新科技股份有限公司 Method for improving erasure performance of flash memory
CN102830951A (en) * 2012-07-20 2012-12-19 航天东方红卫星有限公司 Processing method for upwards injecting multi-parameter instruction by agile satellite
CN103777983A (en) * 2014-01-24 2014-05-07 航天东方红卫星有限公司 Satellite-borne software in-orbit maintaining and upgrading method
CN103942066A (en) * 2014-03-25 2014-07-23 中国科学院长春光学精密机械与物理研究所 Satellite-borne embedded software module on-orbit updating method
CN108415718A (en) * 2018-03-28 2018-08-17 南京理工大学 A kind of BootLoader design methods applied to On-board software online updating

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413223A (en) * 2019-06-25 2019-11-05 汉纳森(厦门)数据股份有限公司 Data read-write method, medium, equipment and the device of flash storage
CN110795146A (en) * 2019-10-30 2020-02-14 中国电子科技集团公司第五十四研究所 Medium and low orbit satellite in-orbit software reconstruction method based on ground software real-time control
CN110795146B (en) * 2019-10-30 2022-12-09 中国电子科技集团公司第五十四研究所 Medium and low orbit satellite in-orbit software reconstruction method based on ground software real-time control

Similar Documents

Publication Publication Date Title
US11971812B2 (en) Systems including network simulation for mobile application development
CN105511889A (en) General game version incremental updating system and method
CN104156414B (en) A kind of method for cleaning of garbage files, device and terminal
CN107158705A (en) The update method and device of service
EP3735679B1 (en) Distributing shaders between client machines for precaching
CN102012831B (en) Over-the-air technology (OTA) upgrading method based on Linux platform
CN109683934A (en) The long-range curing method of software parameter on a kind of star of retrievable satellite
CN110096294A (en) It is a kind of can break-point radio upgrade MCU application program method
CN109600669A (en) A kind of object plays monitoring method, device, storage medium and processor
CN112473144A (en) Game resource data processing method and device
CN109189434A (en) A kind of online upgrading method of electric energy meter
CN110262820A (en) Method, apparatus, system and storage medium based on MQTT protocol realization OTA upgrading
CN109992515B (en) Test method and device and electronic equipment
CN109358865A (en) A kind of industrial vehicle car networking instrument and upgrade method with remote upgrade function
CN110538457A (en) Method and device for controlling issuing of virtual articles in game and electronic equipment
CN104731568A (en) Application program operation method and device
CN112463195A (en) Method, system, terminal and storage medium for cluster grouping online upgrade
CN207067971U (en) A kind of vehicle electrically controlling unit software upgrade equipment and vehicle
CN104915234B (en) A kind of Android mobile terminal upgrading report method and system
CN105354112B (en) Data reconstruction method, device and the system of single-play game
CN108704313A (en) Edit agile development method in a kind of hand trip outpost of the tax office
CN104461589A (en) Single-chip microcomputer updating method and system
CN103019741A (en) Webmax game engine and method for developing webgame by applying webmax game engine
CN104866335A (en) Egret-Runtime-based game running method and device for mobile terminal
CN102567043B (en) Set-top box online updating method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190426