CN107566028A - A kind of in-orbit file updating method of satellite based on VxWorks - Google Patents
A kind of in-orbit file updating method of satellite based on VxWorks Download PDFInfo
- Publication number
- CN107566028A CN107566028A CN201710549148.4A CN201710549148A CN107566028A CN 107566028 A CN107566028 A CN 107566028A CN 201710549148 A CN201710549148 A CN 201710549148A CN 107566028 A CN107566028 A CN 107566028A
- Authority
- CN
- China
- Prior art keywords
- file
- satellite
- packet
- data
- vxworks
- 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
Links
Landscapes
- Radio Relay Systems (AREA)
Abstract
The invention discloses a kind of in-orbit file updating method of the satellite based on VxWorks, comprise the following steps:The packet of well cutting is sent to satellite by earth station;For satellite reception to after packet, a temporary file region is opened up in the memory block inside satellite carried computer, newly-built temporary file and is stored if satellite is to receive packet first, if not being then sequentially stored into existing temporary file;After spaceborne computer has been successfully processed a frame data frame and verification is correct, earth station is informed by way of remote measurement;Confirmed if earth station receives packet by remote measurement, the packet of the counting is reissued if confiscating;If earth station receives end-of-file mark, the file of renewal, reloads On-board software according to needed for up-on command by temporary file replacement;If not receiving end-of-file mark, repeat the above steps.The present invention uses vxworks operating system, has the characteristics that high reliability, high real-time, and provide effective file system management and software management interface.
Description
Technical field
The present invention relates to AEROSPACE APPLICATION technical field, the in-orbit file renewal side of especially a kind of satellite based on VxWorks
Method.
Background technology
Space product has the characteristics that cost is high, difficult in maintenance, and software has certain flexibility for hardware,
Maintenance cost is relatively low, but China's major part Space Mission Software does not possess in-orbit maintainable ability at present, in order to extend boat
The service life of its device, it is necessary to the method for designing the in-orbit renewal of Space Mission Software.
The content of the invention
The technical problems to be solved by the invention are, there is provided a kind of in-orbit file renewal side of satellite based on VxWorks
Method, using the teaching of the invention it is possible to provide effective file system management and software management interface, be advantageously carried out the in-orbit file renewal of satellite.
In order to solve the above technical problems, the present invention provides a kind of in-orbit file updating method of satellite based on VxWorks, bag
Include following steps:
(1) packet of well cutting is sent to satellite by earth station, is the file data blocks of well cutting in packet, file
Data chunk is into data frame format;
(2) for satellite reception to after packet, a temporary file area is opened up in the memory block inside satellite carried computer
Domain, newly-built temporary file and stored if satellite is to receive packet first, it is existing if not being then sequentially stored into
Temporary file;
(3) after spaceborne computer has been successfully processed a frame data frame and verification is correct, inform ground by way of remote measurement
Face station;
(4) if earth station receives packet and confirmed by remote measurement, the packet of the counting is reissued if confiscating, is repeated
Step (1)-(3);
(5) if earth station receives end-of-file mark, i.e., complete temporary file has been formed on star, will be complete by up-on command
Temporary file replaces the file of required renewal, reloads On-board software;If end-of-file mark, repeat step are not received
(1)-(4)。
Preferably, in step (2), by the memory partitioning of board computer system into two pieces, wherein BootROM bootstrap
With vxworks operating system mirror image, Flash format is processed into file system, carries out the read-write operation of file;Supported in plate level
Configuration file is added in bag BSP, TrueFFS file system is established on Flash, providing unified block for flash storage sets
Standby interface;Application program is deposited in file system area and data file, application program are stored in the form of multiple .o files, data
File is stored in the form of .dat files.
Preferably, in step (3), data frame format defines the area between note software package and normal upstream instruction
Not, while setting verifies form accordingly.
Preferably, in step (4), opened up in whole packet and state remote measurement area is noted on one section of software, including frame identification, text
Part mark, check code and 10 bag count blocks;Wherein frame identification to identify the function in this section of remote measurement area, file identification to
File to be updated is identified, check code to be verified to data, to deposit nearest 10 times correctly locate by 10 bag count blocks
The bag sequence number of the packet of reason.
Beneficial effects of the present invention are:Present invention employs the software architecture of operating system can use file system logarithm
Stored according to, software module etc., improve the reliability and scalability of system;Vxworks operating system has highly reliable
The features such as property, high real-time, and it provides effective file system management and software management interface, can be advantageously carried out
The present invention.
Brief description of the drawings
Fig. 1 is the memory block schematic diagram of the microsatellite computer system of the present invention.
Fig. 2 is the file cutting schematic diagram of the present invention.
Fig. 3 is the in-orbit renewal schematic diagram of file of the present invention.
Fig. 4 is the update method schematic flow sheet of the present invention.
Fig. 5 is the data package form schematic diagram of the present invention.
Fig. 6 is the downlink telemetry packet portion form schematic diagram of the present invention.
Fig. 7 is file renewal process schematic diagram on the star of the present invention.
Embodiment
As shown in figure 1, a kind of in-orbit file updating method of satellite based on VxWorks, comprises the following steps:
(1) packet of well cutting is sent to satellite by earth station, is the file data blocks of well cutting in packet, file
Data chunk is into data frame format;
(2) for satellite reception to after packet, a temporary file area is opened up in the memory block inside satellite carried computer
Domain, newly-built temporary file and stored if satellite is to receive packet first, it is existing if not being then sequentially stored into
Temporary file;
(3) after spaceborne computer has been successfully processed a frame data frame and verification is correct, inform ground by way of remote measurement
Face station;
(4) if earth station receives packet and confirmed by remote measurement, the packet of the counting is reissued if confiscating, is repeated
Step (1)-(3);
(5) if earth station receives end-of-file mark, i.e., complete temporary file has been formed on star, will be complete by up-on command
Temporary file replaces the file of required renewal, reloads On-board software;If end-of-file mark, repeat step are not received
(1)-(4)。
Memory block of the present invention in board computer system marks off a piece of file renewal buffer area, and establishes file system
System;All application software or data file are deposited with document form;Ground by file to be updated carry out cut framing it is concurrent
Deliver to satellite;The data frame received combination is reduced into file and replaces original document by board computer system to be reached needed for replacement
The effect of data file or software.
The invention provides a kind of upstream data frame format and downlink telemetry for the in-orbit file renewal of satellite file
Frame division format.Its feature contains frame identification, file identification, bag and counts and verify, and ground control station can be facilitated to confirm number
According to reception condition, and telemetry to a certain extent can be overcome the failure situation such as to lose.
The present invention establishes file system using vxworks operating system in spaceborne computer, by data on star and software
Stored with document form, when needing in-orbit updating maintenance, distant control chain circuit is by new data file and software document by star
Spaceborne computer is uploaded to, realizes that the file of data and software is replaced, improves the scalability of system.
The buffer area dedicated for file renewal has been divided in spaceborne computer, during more new file, has been not required to
Interrupt software on the star currently run, it is ensured that in-orbit renewal process does not interfere with the normal operation of On-board software.
Memory block of the present invention inside satellite carried computer marks off subregion, as file system, storage boat
Its software and data file;When needing to update certain file, file to be uploaded is cut into data block by ground;By file data blocks
Composition data frame format, and satellite is uploaded to by distant control chain circuit;The in-orbit reception data frame of satellite, goes out completely according to Protocol reassembling
File;New file is replaced into raw data file or software module file, and reloaded.
Data frame format defines the difference between note software package and normal upstream instruction, while designs corresponding verification
Form is improving the validity of transmission.
The feedback method that the data frame of software module uploads state is carried out by remote measurement amount.This method is led in microsatellite
Believe in the downlink telemetry amount of link and open up one piece of specific region, to deposit the state parameter of the data frame of upper note, with easily
Face tracking telemetry and command station can interpolate that reception condition of the satellite for upper note data frame.
The BootROM and Flash for vxworks operating system are configured with spaceborne computer, is carried out lattice first
Formulaization processing, so as to the technology using this invention.As shown in Figure 1 by the memory partitioning of board computer system into two
Block, wherein BootROM are used for bootstrap and vxworks operating system mirror image, Flash format are processed into file system, can
To carry out the operation such as read-write of file, its step is:
Addition configuration file, TrueFFS file system is established on Flash, is Flash in board suppot package (BSP)
Memory provides unified block device interface;Application program and data file are deposited in file system area, application program is with multiple
.o the form storage of file, data file are stored in the form of .dat files.
By taking .o files as an example, three catalogues are established in Flash TrueFFS file system, are respectively designated as
" CurretFile ", " NewFile ", " DeletBuf ", wherein, the more of spaceborne application program are deposited in CurretFile catalogues
Individual .o files;The application software .o files that the in-orbit need uploaded by TTC channel update are deposited in NewFile catalogues;
The application software .o files being replaced are deposited in DeletBuffer catalogues.
Load operating system on computer after electricity first and run, afterwards add the .o files in " CurretFile " catalogue
It is loaded onto in internal memory, and runs.Therefore during software module or data file update is carried out, current operation will not be interrupted
Software.
The data file or software module file that the present invention updates to needs are cut, and cut into multiple packets, such as
Shown in Fig. 2.Mark is stamped respectively in file head and tail first, the packet of multiple equal lengths is then cut into by software, most
The latter packet if length not enough if carry out data filling.The operation signal of the in-orbit renewal of file is as shown in figure 3, it is operated
Flow is as shown in Figure 4.
The packet of well cutting is carried out framing composition data frame by ground by Fig. 5 form, distant to match spacecraft remote measurement
The form of control, wherein frame identification distinguish it to note the function number of renewal in data to distinguish the data frame and invalid data
According to frame, file identification is which data file or software module file to distinguish to be updated, and bag is counted to distinguish data
The order of bag, wherein data packet portions are the file after cutting, and check code to data verifying.
Ground sends the good data frame of framing to satellite by distant control chain circuit, and board computer system identifies frame mark
After the contents such as knowledge, file identification, in the newly-built temporary file in memory block, to data splitting.When spaceborne computer is successfully located
After having managed a frame data frame and verification correctly, earth station is informed by way of remote measurement, its form is as shown in fig. 6, under whole
Row remote measurement, which unwraps to ward off, notes state remote measurement area on one section of software, including frame identification, file identification, check code and 10 bags count
Area.Wherein frame identification to identify the function in this section of remote measurement area, file identification to identify file to be updated, check code to
Data are verified.10 bag count blocks are to deposit the bag sequence number of nearest 10 packets correctly handled, as ground is received
Find that certain serial number data Bao Wei is normally processed after, then can carry out upload operation again, because telemetry has certain machine
Rate can lose, therefore only can not earthward send when time bag sequence number of processing.
As shown in figure 4, spaceborne computer is received when end-of-file is included in packet, then by the packets received all before
File is combined into, and completes file read-write.
In the .o files that need to be updated, such as ccd.o deposit NewFile catalogues;To the ccd.o in CurrentFile catalogues
" cp " operation is performed, is copied it into DeletBuf catalogues, to prevent the program uploaded from problem be present, is temporarily retained it;
Then " xdelete " operation is performed, ccd.o files in CurrentFile catalogues are deleted;To the ccd.o in NewFile catalogues
" cp " operation is performed, is copied it into CurretFile catalogues;Operating process is as shown in Figure 7.
Application program is reloaded, loads and successfully then performs " xdelete " operation, by ccd.o texts in DeletBuf catalogues
Part is deleted;If loading is unsuccessful, " xdelete " operation is performed, ccd.o files in CurrentFile catalogues are deleted;Then
Execution " cp " operation is performed, the ccd.o files in DeletBuf are copied in CurrentFile catalogues, and is reloaded soft
Part, it can now load new software module file or data file in " CurretFile " catalogue.Complete the in-orbit renewal of file
Process.
Although the present invention is illustrated and described with regard to preferred embodiment, it is understood by those skilled in the art that
Without departing from scope defined by the claims of the present invention, variations and modifications can be carried out to the present invention.
Claims (4)
1. the in-orbit file updating method of a kind of satellite based on VxWorks, it is characterised in that comprise the following steps:
(1) packet of well cutting is sent to satellite by earth station, is the file data blocks of well cutting in packet, file data
Block composition data frame format;
(2) satellite reception is to after packet, and a temporary file region is opened up in the memory block inside satellite carried computer, such as
Fruit satellite is to receive packet first to be then deposited into temporary file area, interim literary if not being then sequentially stored into
Part;
(3) after spaceborne computer has been successfully processed a frame data frame and verification is correct, earth station is informed by way of remote measurement;
(4) if earth station receives packet and confirmed by remote measurement, the packet of the counting, repeat step are reissued if confiscating
(1)-(3);
(5) if earth station receives end-of-file mark, i.e., complete temporary file has been formed on star, will be completely interim by up-on command
File replaces the file of required renewal, reloads On-board software;If not receiving end-of-file mark, repeat step (1)-
(4)。
2. the in-orbit file updating method of satellite as claimed in claim 1 based on VxWorks, it is characterised in that step (2)
In, by the memory partitioning of board computer system into two pieces, wherein BootROM bootstrap and vxworks operating system mirror image,
Flash format is processed into file system, carries out the read-write operation of file;Configuration file is added in board suppot package BSP,
TrueFFS file system is established on Flash, unified block device interface is provided for flash storage;Deposited in file system area
Application program and data file, application program are stored in the form of multiple .o files, and data file is deposited in the form of .dat files
Storage.
3. the in-orbit file updating method of satellite as claimed in claim 1 based on VxWorks, it is characterised in that step (3)
In, data frame format defines the difference between note software package and normal upstream instruction, while sets corresponding verification lattice
Formula.
4. the in-orbit file updating method of satellite as claimed in claim 1 based on VxWorks, it is characterised in that step (4)
In, opened up in whole packet and state remote measurement area is noted on one section of software, including frame identification, file identification, check code and 10
Wrap count block;To identify the function in this section of remote measurement area, file identification verifies wherein frame identification to identify file to be updated
For code to be verified to data, 10 are wrapped count blocks to deposit the bag sequence number of nearest 10 packets correctly handled.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710549148.4A CN107566028A (en) | 2017-07-07 | 2017-07-07 | A kind of in-orbit file updating method of satellite based on VxWorks |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710549148.4A CN107566028A (en) | 2017-07-07 | 2017-07-07 | A kind of in-orbit file updating method of satellite based on VxWorks |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107566028A true CN107566028A (en) | 2018-01-09 |
Family
ID=60973065
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710549148.4A Pending CN107566028A (en) | 2017-07-07 | 2017-07-07 | A kind of in-orbit file updating method of satellite based on VxWorks |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107566028A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109217912A (en) * | 2018-08-31 | 2019-01-15 | 航天东方红卫星有限公司 | A kind of multi-mode relay transfer method based on data safety supervision |
CN110059018A (en) * | 2019-04-02 | 2019-07-26 | 北京空间飞行器总体设计部 | A kind of data-storage system and access method of spacecraft |
CN110224745A (en) * | 2019-06-25 | 2019-09-10 | 哈尔滨工业大学 | Injection system and method on a kind of satellite Wide Band Data |
CN110275725A (en) * | 2018-12-29 | 2019-09-24 | 中国科学院软件研究所 | Satellite Software management method and device |
CN110289902A (en) * | 2018-12-29 | 2019-09-27 | 中国科学院软件研究所 | The more new system of software on a kind of star |
CN110297926A (en) * | 2018-12-29 | 2019-10-01 | 中国科学院软件研究所 | The spaceborne in-orbit configuration method of image processing apparatus |
CN113190510A (en) * | 2021-03-26 | 2021-07-30 | 中国科学院软件研究所 | Method, device and system for large-scale neural network upward injection for software defined satellite |
CN113194158A (en) * | 2021-04-13 | 2021-07-30 | 杭州迪普科技股份有限公司 | Information storage method, device, equipment and computer readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101969359A (en) * | 2010-09-29 | 2011-02-09 | 航天东方红卫星有限公司 | Method for uploading and processing electric load task on small satellite |
CN103226484A (en) * | 2013-04-15 | 2013-07-31 | 浙江大学 | On-orbit update method for satellite-borne integrated electronic system program |
CN103942066A (en) * | 2014-03-25 | 2014-07-23 | 中国科学院长春光学精密机械与物理研究所 | Satellite-borne embedded software module on-orbit updating method |
CN104820586A (en) * | 2015-04-09 | 2015-08-05 | 北京空间机电研究所 | On-orbit maintenance method for spacecraft embedded software |
WO2015184374A1 (en) * | 2014-05-29 | 2015-12-03 | Angel.Com Incorporated | Custom grammars builder platform |
US20160359659A1 (en) * | 2015-06-05 | 2016-12-08 | Apple Inc. | Rapid Reconfiguration of Device Location System |
CN106292336A (en) * | 2016-10-10 | 2017-01-04 | 上海航天控制技术研究所 | The fault simulation system of Satellite attitude and orbit control system based on embedded VxWorks and method |
-
2017
- 2017-07-07 CN CN201710549148.4A patent/CN107566028A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101969359A (en) * | 2010-09-29 | 2011-02-09 | 航天东方红卫星有限公司 | Method for uploading and processing electric load task on small satellite |
CN103226484A (en) * | 2013-04-15 | 2013-07-31 | 浙江大学 | On-orbit update method for satellite-borne integrated electronic system program |
CN103942066A (en) * | 2014-03-25 | 2014-07-23 | 中国科学院长春光学精密机械与物理研究所 | Satellite-borne embedded software module on-orbit updating method |
WO2015184374A1 (en) * | 2014-05-29 | 2015-12-03 | Angel.Com Incorporated | Custom grammars builder platform |
CN104820586A (en) * | 2015-04-09 | 2015-08-05 | 北京空间机电研究所 | On-orbit maintenance method for spacecraft embedded software |
US20160359659A1 (en) * | 2015-06-05 | 2016-12-08 | Apple Inc. | Rapid Reconfiguration of Device Location System |
CN106292336A (en) * | 2016-10-10 | 2017-01-04 | 上海航天控制技术研究所 | The fault simulation system of Satellite attitude and orbit control system based on embedded VxWorks and method |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109217912A (en) * | 2018-08-31 | 2019-01-15 | 航天东方红卫星有限公司 | A kind of multi-mode relay transfer method based on data safety supervision |
CN109217912B (en) * | 2018-08-31 | 2021-07-09 | 航天东方红卫星有限公司 | Multi-mode relay forwarding method based on data security supervision |
CN110275725A (en) * | 2018-12-29 | 2019-09-24 | 中国科学院软件研究所 | Satellite Software management method and device |
CN110289902A (en) * | 2018-12-29 | 2019-09-27 | 中国科学院软件研究所 | The more new system of software on a kind of star |
CN110297926A (en) * | 2018-12-29 | 2019-10-01 | 中国科学院软件研究所 | The spaceborne in-orbit configuration method of image processing apparatus |
CN110297926B (en) * | 2018-12-29 | 2022-06-07 | 中国科学院软件研究所 | On-orbit configuration method of satellite-borne image processing device |
CN110059018A (en) * | 2019-04-02 | 2019-07-26 | 北京空间飞行器总体设计部 | A kind of data-storage system and access method of spacecraft |
CN110224745A (en) * | 2019-06-25 | 2019-09-10 | 哈尔滨工业大学 | Injection system and method on a kind of satellite Wide Band Data |
CN113190510A (en) * | 2021-03-26 | 2021-07-30 | 中国科学院软件研究所 | Method, device and system for large-scale neural network upward injection for software defined satellite |
CN113190510B (en) * | 2021-03-26 | 2023-05-30 | 中国科学院软件研究所 | Method, device and system for uploading large-scale neural network oriented to software defined satellite |
CN113194158A (en) * | 2021-04-13 | 2021-07-30 | 杭州迪普科技股份有限公司 | Information storage method, device, equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107566028A (en) | A kind of in-orbit file updating method of satellite based on VxWorks | |
US5724345A (en) | System and method for a scalable and reliable transmission of electronic software distribution | |
KR102107716B1 (en) | Method and apparatus for media data delivery control | |
CN1852075B (en) | Data-retransmitting method and apparatus | |
US5886991A (en) | System and method for quickly distributing program updates in a distributed architecture processing system | |
CN106105141A (en) | Realize the delivery acceleration device of extension transmission control function | |
CN102510409A (en) | Method and system for quickly and remotely updating program of mobile terminal by using wireless network | |
CN104125276A (en) | Upgrading method and device | |
CN100442704C (en) | Method for upgrading remote subsystem in communication system | |
CN104168164A (en) | Distributed method of data acquisition in an AFDX network | |
CN105099540A (en) | Method for reconstructing in-orbit function of satellite processing type loads | |
CN111240713A (en) | Method for detecting remote breakpoint continuous transmission through power utilization | |
CN101472050A (en) | Method and system for updating software, digital television receive terminal and server | |
CN103391215A (en) | Remote software downloading and updating method, device and system based on chain network | |
CN101369879B (en) | Method and apparatus for requesting data retransmission | |
CN104486394A (en) | Non-interrupting service software upgrading method and device | |
CN102541604A (en) | Remote upgrading method, remote upgrading terminal equipment and remote upgrading system | |
US20110099546A1 (en) | Systems and methods for high-speed digital subscriber line software download | |
CN102624875A (en) | Method for replacing or updating language packs of terminal equipment | |
CN113111043A (en) | Method, device and system for processing source data file of middle station and storage medium | |
CN115562699A (en) | On-orbit batch upgrading method and system for multi-satellite networking-oriented satellite-borne software | |
CN105553630A (en) | Multi-channel data integration method of aviation flight parameters | |
EP0779716A2 (en) | A system and method for a scalable and reliable transmission of electronic software distribution | |
CN104079371A (en) | Method, equipment and system of data communication | |
CN107359972B (en) | A kind of data receiver method and device |
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 |
Application publication date: 20180109 |
|
RJ01 | Rejection of invention patent application after publication |