A deep space exploration system on-orbit maintenance and verification system and method
Through the combination of the ground digital twin system and the on-orbit maintenance module, multi-level maintenance types and automated verification are provided, which solves the problems of poor maintainability and insufficient verification of on-orbit spaceborne program maintenance in the existing technology, and realizes the Mars probe The efficient and reliable on-orbit maintenance and verification of the system extends the life of the spacecraft.
Patent Information
- Application Number
- CN202111088604.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-16
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-09-16
AI Technical Summary
The existing on-orbit spaceborne program maintenance methods have problems such as poor maintainability, complex operations, low safety and insufficient verification, and cannot meet the needs of the Mars probe system.
The ground digital twin system, on-orbit maintenance module and ground sequence rapid comparison verification module are used to realize intelligent maintenance and verification of onboard programs through automated verification and multi-level maintenance types (byte level, function level, full text level), improving It improves the intelligence, reliability and flexibility of on-orbit maintenance.
It enhances the reliability and practicality of the spacecraft, improves the intelligence of on-orbit maintenance, meets the needs of the Mars probe system, extends the life of the spacecraft, and provides a good software follow-up function and performance improvement platform.
Smart Images

Figure CN113934624B
Abstract
Description
Technical Field
[0001] The invention relates to an on-orbit maintenance and verification system and method for a deep space exploration system onboard program. Background Art
[0002] During the transfer from Earth to Mars and the Mars circum-Mars phase, the control computer of the GNC subsystem of the Tianwen-1 Mars Entry Module was intermittently powered on to complete the self-test of each unit and the performance test of the subsystem. The performance of the product and subsystem is evaluated using the data during the on-orbit period, and this stage involves on-orbit maintenance of the program memory. On-orbit maintenance of the program memory refers to the detection of internal data errors and modification of memory data by reading and writing data in the program storage area during the operation of the spacecraft, in order to support the long-term reliability of the on-orbit spacecraft and changes in mission functions. Software upgrades, expansions, and changes to system functions can be achieved by updating the program.
[0003] The control computer software is divided into boot area software, system software and application software. The boot area software is fixed in the programmable read-only memory (PROM) of the stand-alone machine, and the system software and application software are jointly compiled and fixed in the electrically erasable programmable read-only memory (EEPROM) of the stand-alone machine. After the computer is powered on, the boot area software moves the software in the EEPROM to the static random access memory (SRAM) for operation.
[0004] There are two main methods for on-orbit modification of satellite programs: read-only memory (SRAM) on-orbit modification and EEPROM on-orbit program modification. Both methods are based on the "hook" function embedded in the on-board program. SRAM area program modification has a simple operation process and high security. In the event of an operation error, the original program can be loaded from the EEPROM by sending a power-off or reset command to the control computer to ensure the normal operation of the system. The disadvantage is that this method does not support the on-orbit solidification function, the on-board program status depends on the on-orbit status of the control computer, and the software maintainability is poor. Another method is EEPROM program modification. The program is solidified in the EEPROM. After the software is reset, the "hook" function is reloaded from the EEPROM without the need for ground re-injection. The disadvantage is that the operation is complicated and the security is low. Once an abnormality occurs during the operation, it may cause an error in the execution of the satellite program, and even cause the entire system to work abnormally.
[0005] There are many problems in implementing on-orbit maintenance of satellite programs through traditional "hook" functions. The number of traditional "hook" functions is generally 8 to 16, which can only modify a certain number of function modules and is not suitable for large-scale program modification. In addition, the pre-set "hook" functions often rely on previous experience, are not fully scalable, have poor flexibility, and are difficult to adapt to the growing differentiated needs.
[0006] In addition to instruction injection, ground preprocessing and verification are the key to improving reliability and efficiency in on-orbit maintenance. Traditional preprocessing requires manual splitting of the compiled program according to fixed bytes, and then encapsulating the split instructions according to the injection protocol. This is labor-intensive, unreliable, and inefficient, and is not suitable for large-scale program modifications and on-orbit emergency handling. In addition, ground verification is not sufficient, and the adequacy of verification cannot be guaranteed within a limited time. Relying solely on manual or semi-manual methods to verify the format and content of multiple instructions has low reliability, consumes a long time, and has a complicated operation process, which is not convenient for designers and testers to operate and implement.
[0007] Considering my country's first Mars exploration mission, there are certain limitations in the pre-cognition of the space environment. At the same time, the long time in orbit requires modification, upgrading, or even replacement of the onboard programs. Traditional on-orbit maintenance methods cannot meet the needs of the Mars probe system. Therefore, how to achieve on-orbit maintenance and verification of onboard programs has become a necessary function of the Mars exploration system. Summary of the invention
[0008] The technical problem solved by the present invention is: in view of the deficiencies in the prior art, a system and method for on-orbit maintenance and verification of on-board programs of a deep space exploration system is provided, which can effectively enhance the reliability of the spacecraft, expand the practicality of the spacecraft and increase the life of the spacecraft, provide a good platform environment for the continuous improvement of the subsequent functions and performance of the spacecraft software, and provide strong support for improving the intelligence level of on-orbit maintenance of the spacecraft.
[0009] The technical solution of the present invention is:
[0010] An on-orbit maintenance and verification system for onboard programs of a deep space exploration system, comprising: a ground digital twin system, an on-orbit maintenance module, and a ground sequence rapid comparison and verification module;
[0011] Ground digital twin system: the packaged program data packet is uploaded to the ground control computer, and the ground control computer verifies the instructions in the packaged program data packet; the program data packet with the correct verification result is transmitted to the on-orbit maintenance module;
[0012] On-orbit maintenance module: receives program data packets transmitted by the ground digital twin system and the ground sequence rapid comparison and verification module, uploads the program data packets to the onboard control computer, and updates the onboard software; obtains the program data packets unloaded by the onboard control computer and transmits them to the ground sequence rapid comparison and verification module;
[0013] Ground sequence rapid comparison and verification module: obtains the unloaded program data packet, matches and compares it according to the data characteristics of the encapsulation module, and obtains the comparison result; if the comparison result is wrong, the program data packet corresponding to the wrong comparison result is transmitted to the on-orbit maintenance module; if the comparison result is correct, the on-orbit maintenance and verification of the on-board program is completed.
[0014] A method for performing on-orbit maintenance and verification of on-orbit programs using the on-orbit maintenance and verification system for on-orbit programs of a deep space exploration system comprises the following steps:
[0015] 1) Uploading the packaged program data packet to the ground control computer;
[0016] 2) The ground control computer verifies the instructions in the encapsulated program data package, obtains the program data package with the correct verification result and transmits it to the on-orbit maintenance module;
[0017] 3) The on-orbit maintenance module receives the program data packet transmitted by the ground digital twin system, injects the program data packet into the on-board control computer, and updates the on-board software;
[0018] 4) The on-orbit maintenance module obtains the program data packet unloaded by the on-board control computer and transmits it to the ground sequence rapid comparison and verification module;
[0019] 5) The ground sequence rapid comparison and verification module obtains the program data packet unloaded by the onboard control computer, matches and compares it according to the data characteristics of the encapsulation module, and obtains the comparison result; if the comparison result is wrong, the program data packet corresponding to the wrong comparison result is transmitted to the on-orbit maintenance module and enters step 6); if the comparison result is correct, the on-orbit maintenance and verification of the on-board program is completed.
[0020] 6) The on-orbit maintenance module uploads the program data package to the on-board control computer to update the on-board software; the on-orbit maintenance module obtains the program data package downloaded by the on-board control computer and transmits it to the ground sequence rapid comparison and verification module; and returns to step 5).
[0021] The advantages of the present invention compared with the prior art are:
[0022] 1) On-orbit maintenance is a combinatorial optimization problem. Traditional methods rely on pre-buried "hook" functions. Due to the limited number of "hook" functions, traditional methods cannot modify and upgrade the code of any part of the satellite-borne software, and the on-orbit maintainability is poor. According to the needs of on-orbit modification, this patent provides three types of on-orbit maintenance: byte level, function level and full-text level, which meet all the needs of on-orbit modification of spacecraft. Among them, function-level on-orbit maintenance is more commonly used in deep space exploration missions. The on-orbit modification of satellite-borne programs is completed by using jump functions, which solves the problem that traditional methods cannot modify and upgrade the code of any part of the satellite-borne software.
[0023] 2) On-orbit maintenance requires the support of ground terminals. Traditional verification methods are not fully verified, and errors in command injection may cause abnormalities in the entire system. This patent uses ground terminals such as automatic cutting and packaging software, ground digital twin systems, and sequence alignment algorithm systems to automatically generate on-orbit injection instructions and automatically verify on-orbit injection results, greatly improving the intelligence, reliability, and flexibility of on-orbit maintenance. It solves the problems of low efficiency and low reliability of traditional methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 Flowchart of the on-orbit program maintenance system.
[0025] Figure 2 This is the flow chart of the on-orbit maintenance and verification system.
[0026] Figure 3 For packaging format. DETAILED DESCRIPTION
[0027] The present invention discloses an on-orbit maintenance and verification system for a deep space exploration system onboard program, comprising: a ground digital twin system, an on-orbit maintenance module, and a ground sequence rapid comparison and verification module.
[0028] Ground digital twin system: the packaged program data packet is uploaded to the ground control computer, and the ground control computer verifies the instructions in the packaged program data packet; the program data packet with the correct verification result is transmitted to the on-orbit maintenance module;
[0029] On-orbit maintenance module: receives program data packets transmitted by the ground digital twin system and the ground sequence rapid comparison and verification module, uploads the program data packets to the onboard control computer, and updates the onboard software; obtains the program data packets unloaded by the onboard control computer and transmits them to the ground sequence rapid comparison and verification module;
[0030] The method for updating and upgrading the satellite-borne software specifically includes: byte-level modification, function-level modification and full-text-level modification.
[0031] The byte-level modifications are as follows:
[0032] If the parameters or immediate values in the satellite program need to be updated, the program data package is uploaded to the SRAM area of the satellite control computer, and the satellite software in the SRAM area is directly modified to complete the update of the satellite software.
[0033] Function-level modifications are as follows:
[0034] If the custom function in the satellite program needs to be upgraded, the program data packet is injected into the program injection default area of the satellite computer, and the jump between the EEPROM area program and the program injection default area software is completed through the "start" function, thereby completing the update and upgrade of the satellite software;
[0035] The full text level modifications are as follows:
[0036] In the event that an accidental accident occurs on orbit and the spacecraft cannot operate normally, in order to extend the service life of the spacecraft, or in the event that the mission objectives need to be expanded or changed while on orbit, the program data packet is uploaded to the EEPROM area of the onboard computer, directly replacing and upgrading the original version of the onboard program, thereby completing the update of the onboard software.
[0037] Ground sequence rapid comparison and verification module: obtains the unloaded program data packet, matches and compares it according to the data characteristics of the encapsulation module, and obtains the comparison result; if the comparison result is wrong, the program data packet corresponding to the wrong comparison result is transmitted to the on-orbit maintenance module; if the comparison result is correct, the on-orbit maintenance and verification of the on-board program is completed.
[0038] The matching and comparison processing is performed according to the data features of the encapsulation module, and a rapid sequence comparison algorithm is used.
[0039] The rapid sequence alignment algorithm is specifically:
[0040] 1) Filtration
[0041] During the on-orbit period of the Tianwen-1 Mars probe, multiple ground stations are used to receive program data packets unloaded from the probe. If duplicate program data packets are found, the duplicate unloaded program data packets are deleted to obtain filtered program data packets.
[0042] 2) Search Processing
[0043] When multiple subsystems of the Tianwen-1 Mars rover are working simultaneously during its in-orbit period, if the unloading program data package obtained by the ground station contains the unloading program packages of the GNC subsystem of the entry module and other subsystems, the program data package is used as the reference sequence, the data features of the packaged modules are listed, all the unloaded program data packages are searched, and the sequences matching the data features are searched from the unloaded program packages, so as to find the position of each unloaded program data package in the reference sequence;
[0044] 3) Extended processing
[0045] After finding the position of the downloaded data packet in the reference sequence, the non-data feature sequence portion of the downloaded program data packet except the sequence matching the data feature is compared byte by byte.
[0046] A method for performing on-orbit maintenance and verification of on-orbit programs using the on-orbit maintenance and verification system for on-orbit programs of a deep space exploration system comprises the following steps:
[0047] 1) Uploading the packaged program data packet to the ground control computer;
[0048] 2) The ground control computer verifies the instructions in the encapsulated program data package, obtains the program data package with the correct verification result and transmits it to the on-orbit maintenance module;
[0049] 3) The on-orbit maintenance module receives the program data packet transmitted by the ground digital twin system, injects the program data packet into the on-board control computer, and updates the on-board software;
[0050] 4) The on-orbit maintenance module obtains the program data packet unloaded by the on-board control computer and transmits it to the ground sequence rapid comparison and verification module;
[0051] 5) The ground sequence rapid comparison and verification module obtains the program data packet unloaded by the onboard control computer, matches and compares it according to the data characteristics of the encapsulation module, and obtains the comparison result; if the comparison result is wrong, the program data packet corresponding to the wrong comparison result is transmitted to the on-orbit maintenance module and enters step 6); if the comparison result is correct, the on-orbit maintenance and verification of the on-board program is completed.
[0052] 6) The on-orbit maintenance module uploads the program data package to the on-board control computer to update the on-board software; the on-orbit maintenance module obtains the program data package downloaded by the on-board control computer and transmits it to the ground sequence rapid comparison and verification module; and returns to step 5).
[0053] The invention discloses an on-orbit maintenance and verification method for a satellite-borne program of a deep space exploration system. According to the mode of updating the satellite-borne software, three on-orbit maintenance types, namely, byte level, function level and full text level, are provided. The system comprises: a ground terminal, which automatically divides the compiled program to be executed into a plurality of program upgrade packages according to the instruction protocol, and automatically completes the encapsulation using the function Config. The encapsulated program upgrade package is sent to the ground digital twin system through the network port. The system is divided into two modules, the OBDHSimulater module and the GNC subsystem parallel verification module. The OBDH Simulater module simulates the sending of uplink data or instructions by the digital tube subsystem to the GNC subsystem parallel verification module. Before the instruction is uploaded, the instruction is encapsulated and verified, including the instruction format, content length and checksum, etc. The GNC subsystem parallel verification module completes 1:1 simulation verification with the on-orbit control computer according to the flight program. The sequence comparison algorithm system automatically matches the on-orbit software according to the set sequence, and performs a global comparison after the matching is successful; the control computer sends the on-orbit program to the ground terminal for verification and review after receiving the on-orbit maintenance instruction and the software readback instruction.
[0054] The present invention discloses a deep space exploration system on-orbit maintenance and verification method for on-board programs. The system composition and flow chart are as follows: Figure 1 and Figure 2 shown.
[0055] (1) Systools DATA Splitter and Function Config
[0056] After determining that the onboard software needs to be maintained on-orbit, compile and generate a to-be-executed file. Since the length of the injection instruction is limited, the to-be-executed program needs to be split into multiple packages for transmission. The traditional manual unpacking method requires splitting the to-be-executed file into several packages according to the byte length required by the protocol. If the byte length does not meet the requirement, manual filling is required. After the data content is split, the encapsulation work needs to be completed manually. According to the injection requirements, the frame header, frame length, packet identifier, and checksum that meet the injection requirements are added. The workload is large and the operation is complicated. The traditional manual method has low efficiency and poor reliability, and cannot meet the high efficiency and high quality requirements of on-orbit maintenance. The present invention provides a Systools DATA Splitter software, which reads the local file to be updated, automatically splits it according to the set byte length, and uses the function Config to automatically encapsulate it according to the communication protocol format requirements, and finally saves it as a program upgrade data packet. The encapsulation format is as follows: Figure 3 shown.
[0057] 2. Ground Digital Twin System
[0058] With the Mars exploration mission as the background, the spacecraft system has extremely high requirements for the accuracy and reliability of all on-orbit injection instructions, and the consequences of any instruction error are immeasurable. The present invention provides a ground digital twin system, which is divided into two modules, the OBDH Simulator module and the GNC subsystem parallel verification module. The OBDHSimulator module simulates the digital tube subsystem to send uplink data or instructions to the GNC subsystem parallel verification module. Before the instruction is injected, the instruction will be packaged and checked, including the instruction type, header, content length, and checksum. If the check is correct, the uplink data or instruction operation is executed, and the instruction count increases. Otherwise, an error warning appears and the cause of the error is given. At this time, it is necessary to analyze the injection instruction and regenerate an instruction that meets the injection requirements. The GNC subsystem parallel verification module completes a 1:1 simulation verification with the on-orbit control computer according to the flight program. Verify the correctness of the injection content again. At the same time, the OBDH Simulater module is used to send EEPROM program readback instructions to the GNC subsystem parallel verification module to confirm the on-orbit maintenance results on the satellite. If there is any inconsistency, it is also necessary to re-analyze and regenerate the data of the above content. After all the instruction blocks are consistent, they will be sent to the Data Sender.
[0059] (3) Data Sender
[0060] The verified instruction block is sent to the Data Sender, and then the control command or data instruction is sent to the on-orbit control computer. Taking the on-orbit operation of the GNC subsystem of the Mars Entry Module as an example, the control computer consists of three single-machine hot backups, marked as A, B, and C. The priority of the single machine decreases in turn, sharing a communication interface, and each machine EEPROM uses primary backup redundant storage. According to the way of updating the on-board software, three types of on-orbit maintenance are provided: byte level, function level, and full text level.
[0061] 1) Byte-level modification
[0062] Currently, on-orbit modification is a more commonly used on-orbit maintenance method, which is particularly suitable for parameter modification and immediate value modification in the program. Its basic principle is to compare the upgraded on-board software with the on-orbit software after compilation, find the difference between the two, and modify the SRAM area program. The operation process can be summarized as the following steps:
[0063] Step 1: Compile the upgraded software into an executable program, compare it with the on-orbit satellite program, find the code differences, and use the data content and address of the target location to form a program upgrade data package;
[0064] Step 2: Send the program upgrade data package to the onboard control computer to modify the SRAM area program;
[0065] Step 3: Confirm the download of the onboard program.
[0066] 2) Function-level modification
[0067] Use the jump function to complete the upgrade of the on-orbit software. The newly generated executable file is injected into the program injection default area of the control computer, and then the "start" function instruction is used to complete the jump between the on-board software and the program injection default area software, which is solidified in the EEPROM. The software in the EEPROM is moved to the SRAM for operation through the boot area software to realize the on-orbit modification of the on-board program. In addition, in order to improve the reliability of the software during the on-orbit process, the control instruction is designed to realize the program switching, and the modification instruction is canceled by injection to restore the original on-board software. The operation process of this part is as follows:
[0068] Step 1: Send a direct power-on command from the ground to power on one of the computers, designate the computer to be on duty, and keep the other two computers in a power-off state, and execute step 2;
[0069] Step 2: The ground sends an on-orbit modification command, injects the program upgrade data packet i into the SRAM, and then burns the SRAM modification content into the backup EEPROM. The on-board telemetry is used to determine whether the execution is completed. If completed, i=i+1, and step 3 is executed;
[0070] Step 3: Determine if i<=n (n is the total number of program upgrade data packets). If so, execute step 2; otherwise, execute step 4.
[0071] Step 4: The ground sends a power-off command to the on-duty machine, which then powers on and executes step 5.
[0072] Step 5: The ground sends the backup EEPROM readback instruction i, i = 1, 2, ..., n, and determines whether the readback instruction content is correct. If correct, i = i + 1, and determines (m 1 Initially empty), if satisfied, execute step 7, if (i≤n) satisfied, execute step 5, otherwise, execute step 6;
[0073] Step 6: Save the instruction block i code that is inconsistent with the comparison to m 1 , judge i≥n, if it is satisfied, go to step 2, otherwise go to step 5;
[0074] Step 7: Send the program upgrade package i to SRAM from the ground, burn the modified content in SRAM to the main EEPROM, check the onboard telemetry to determine whether the operation is completed, if completed, i=i+1, and execute step 8;
[0075] Step 8: Determine if i<=n. If so, execute step 7; otherwise, execute step 9.
[0076] Step 9: The ground sends a power-off command to the on-duty machine, then powers on again and executes step 10.
[0077] Step 10: The ground sends the master EEPROM readback command i, i = 1, 2, ..., n, and checks whether the readback command content is correct. If it is consistent, i = i + 1, and the judgment is (m 2 Initially empty), if satisfied, execute step 12, if (i≤n) satisfied, execute step 10, otherwise, execute step 11;
[0078] Step 11: Save the instruction block i code that is inconsistent with the comparison to m 2 , judge i≥n, if it is satisfied, go to step 7, otherwise go to step 10;
[0079] Step 12: When the computer is on duty, power off and determine whether the computer on duty is machine A. If so, end the process; otherwise, execute step 1.
[0080] The entire control computer is modified on-orbit in the order of backup first, then master, first machine C, then machine B, and finally machine A. This method ensures the safety of on-orbit operations.
[0081] 3) Full text level modification
[0082] If an accidental accident occurs on orbit and the spacecraft cannot operate normally, in order to extend the service life of the spacecraft, or if the mission objectives need to be expanded or changed during the orbit, the full text modification can be used to continue the mission. Compile the upgraded onboard software, and do not need to inject the program into the default area of the control computer, directly modify the program in SRAM, and burn the program in SRAM into EEPROM to complete the on-orbit program solidification. The operation process is consistent with the function-level modification.
[0083] (IV) Sequence Alignment Algorithm System
[0084] On-orbit maintenance requires sufficient ground verification. After the command injection is completed, the solidified on-orbit program is compared byte by byte with the source code of the file to be executed. This task places higher requirements on the correctness and efficiency of execution. In order to solve the problems of low efficiency and low reliability in the manual comparison process, this section provides a sequence comparison algorithm. Taking the Mars Entry Module GNC subsystem as an example, the on-board readback file is stored in the ground database. During the readback, the same command operation of other subsystems may appear. In addition, during this period, using multiple stations to receive on-board telemetry will cause data duplication. The above problems will cause the database to have a large amount of data, many types, and cumbersome search. Traditional manual methods are extremely inefficient and prone to multiple packets and packet loss. The system extracts database data and saves it as a local file, automatically deletes duplicates, automatically matches according to the set sequence, and then performs a global comparison.
[0085] Although the present invention has been disclosed as above in the form of a preferred embodiment, it is not intended to limit the present invention. Any person skilled in the art may make possible changes and modifications to the technical solution of the present invention by using the methods and technical contents disclosed above without departing from the spirit and scope of the present invention. Therefore, any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention shall fall within the protection scope of the technical solution of the present invention.
[0086] The contents not described in detail in the specification of the present invention belong to the common knowledge of those skilled in the art.
Claims
1. An on-orbit maintenance and verification system for deep space exploration system onboard programs. It is characterized in that include: Ground digital twin system, on-orbit maintenance module, ground sequence rapid comparison and verification module; Ground digital twin system: the packaged program data packet is uploaded to the ground control computer, and the ground control computer verifies the instructions in the packaged program data packet; the program data packet with the correct verification result is transmitted to the on-orbit maintenance module; On-orbit maintenance module: receives program data packets transmitted by the ground digital twin system and the ground sequence rapid comparison and verification module, uploads the program data packets to the onboard control computer, and updates the onboard software; obtains the program data packets unloaded by the onboard control computer and transmits them to the ground sequence rapid comparison and verification module; Ground sequence rapid comparison and verification module: obtain the program data packet unloaded by the onboard control computer, match and compare it according to the data characteristics of the encapsulation module, and obtain the comparison result; if the comparison result is wrong, the program data packet corresponding to the wrong comparison result is transmitted to the on-orbit maintenance module; if the comparison result is correct, the on-orbit maintenance and verification of the onboard program is completed; In the ground sequence rapid comparison and verification module, matching and comparison processing are performed according to the data features of the encapsulation module, and a rapid sequence comparison algorithm is used; The rapid sequence alignment algorithm is specifically: 1) Filtration During the on-orbit period of the probe, multiple ground stations are used to receive program data packets unloaded from the satellite. If duplicate program data packets are found, the duplicate unloaded program data packets are deleted to obtain filtered program data packets. 2) Search Processing When multiple subsystems are working simultaneously during the probe's on-orbit period, if the unloading program data package obtained by the ground station contains the unloading program packages of the GNC subsystem of the entry module and other subsystems, the program data package is used as the reference sequence, the data features of the packaged modules are listed, all the unloaded program data packages are searched, and the sequences matching the data features are searched from the unloading program packages, so as to find the position of each unloading program data package in the reference sequence; 3) Extended processing After finding the position of the downloaded data packet in the reference sequence, the non-data feature sequence portion of the downloaded program data packet except the sequence matching the data feature is compared byte by byte.
2. According to claim 1, a deep space exploration system on-board program on-orbit maintenance and verification system, It is characterized in that The methods for updating and upgrading the onboard software specifically include: byte-level modification, function-level modification and full-text-level modification.
3. The on-orbit maintenance and verification system for onboard programs of a deep space exploration system according to claim 2, It is characterized in that The byte-level modification is specifically as follows: If parameters or immediate values in the satellite program need to be upgraded, the program data packet is uploaded to the SRAM area of the onboard control computer, and the satellite software in the SRAM area is directly modified to complete the upgrade of the satellite software.
4. The on-orbit maintenance and verification system for onboard programs of a deep space exploration system according to claim 3, It is characterized in that The function-level modification is specifically as follows: When custom functions in the onboard program need to be upgraded, the program data packet is injected into the program injection default area of the onboard computer. Through the "start" function, the jump between the EEPROM area program and the program injection default area software is completed, thereby completing the update of the onboard software.
5. The on-orbit maintenance and verification system for onboard programs of a deep space exploration system according to claim 4, It is characterized in that The full-text level modification is specifically: In the event that an accidental accident occurs on orbit and causes the spacecraft to be unable to operate normally, or in the event that the mission objectives need to be expanded or changed while on orbit, the program data packet will be uploaded to the EEPROM area of the onboard computer, directly replacing and upgrading the original version of the onboard program, thereby completing the update of the onboard software.
6. A method for performing on-orbit maintenance and verification of on-orbit programs using an on-orbit maintenance and verification system for on-orbit programs of a deep space exploration system as claimed in claim 1, It is characterized in that The steps include: 1) Uploading the packaged program data packet to the ground control computer; 2) The ground control computer verifies the instructions in the encapsulated program data package, obtains the program data package with the correct verification result and transmits it to the on-orbit maintenance module; 3) The on-orbit maintenance module receives the program data packet transmitted by the ground digital twin system, injects the program data packet into the on-board control computer, and updates the on-board software; 4) The on-orbit maintenance module obtains the program data packet unloaded by the on-board control computer and transmits it to the ground sequence rapid comparison and verification module; 5) The ground sequence rapid comparison and verification module obtains the program data packet unloaded by the onboard control computer, performs matching and comparison processing according to the data characteristics of the encapsulation module, and obtains the comparison result; if the comparison result is wrong, the program data packet corresponding to the wrong comparison result is transmitted to the on-orbit maintenance module, and enters step 6); if the comparison result is correct, the on-orbit maintenance and verification of the onboard program is completed; 6) The on-orbit maintenance module uploads the program data package to the on-board control computer to update and upgrade the on-board software; the on-orbit maintenance module obtains the program data package downloaded by the on-board control computer and transmits it to the ground sequence rapid comparison and verification module; And return to step 5).
7. The method for on-orbit maintenance and verification of a satellite-borne program according to claim 6, It is characterized in that The methods for updating and upgrading the onboard software specifically include: byte-level modification, function-level modification and full-text-level modification.
8. The method for on-orbit maintenance and verification of a satellite-borne program according to claim 7, It is characterized in that The byte-level modification is specifically as follows: If the parameters or immediate values in the satellite program need to be updated, the program data package is uploaded to the SRAM area of the satellite control computer, and the satellite software in the SRAM area is directly modified to complete the update of the satellite software. The function-level modification is specifically as follows: If the custom function in the satellite program needs to be upgraded, the program data package is injected into the program injection default area of the satellite computer, and the jump between the EEPROM area program and the program injection default area software is completed through the "start" function, thereby completing the update and upgrade of the satellite software; The full-text level modification is specifically: In the event that an accidental accident occurs on orbit and causes the spacecraft to be unable to operate normally, or in the event that the mission objectives need to be expanded or changed while on orbit, the program data packet will be uploaded to the EEPROM area of the onboard computer, directly replacing and upgrading the original version of the onboard program, thereby completing the update of the onboard software.
