Satellite software rapid power-on recovery method based on data partition compression processing

By functional division and partitioning of satellite software data, the satellite software is quickly powered on and restored when restarted, solving the problem of excessive decompression and recovery time in the existing technology, and improving aerospace safety and software reliability.

CN119473715APending Publication Date: 2025-02-18BEIJING INST OF CONTROL ENG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411522574.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

In the prior art, the decompression operation and recovery time of the satellite software when the system fails and restarts is too long, resulting in a large safety hazard of the satellite system, and may even pose a threat to the lives of astronauts, reducing the safety of the satellite in orbit.

Method used

The satellite software rapid power-on recovery method based on data partition compression processing is adopted. By functional division and data type division of satellite software data, compressing and partitioning according to the division results. When the satellite is restarted, power-on and restore it according to the function division results to ensure that the satellite software is in a safe operation state.

Benefits of technology

It effectively reduces the decompression and recovery time of satellite systems, improves aerospace safety, and ensures the safety, reliability and stability of software during emergency and critical missions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119473715A_ABST
    Figure CN119473715A_ABST
Patent Text Reader

Abstract

The invention provides a satellite software rapid power-on recovery method based on data partition compression processing, and relates to the technical field of aerospace software storage, and the method comprises the following steps: carrying out function division and data type division on satellite software data in sequence; performing compression and partition storage on the data of the satellite software according to a division result; and when the satellite is restarted, carrying out power-on recovery on the stored data according to a function division result so as to enable the satellite software to be in a safe operation state. According to the scheme, the problem that software storage resources are limited can be solved, meanwhile, the time expenditure of system recovery after power-on can be reduced, and the safety, reliability and stability of the software during the emergency key task period are effectively guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of aerospace software storage, and in particular to a satellite software fast power-on recovery method based on data partition compression processing. Background Art

[0002] With the rapid development of the aerospace field, satellite functions are becoming more complex, and the scale of embedded software codes is rapidly expanding. Due to storage space limitations, the compiled target code needs to be compressed and stored, and then decompressed and run again after the system is powered on.

[0003] In related technologies, it is often necessary to compress all codes. This results in a long decompression and recovery time for emergency tasks when the system fails and the system is restarted, which poses a huge safety hazard to the satellite system. For some satellites with special purposes, it may even pose a threat to the lives of astronauts, greatly reducing the safety of satellites in orbit.

[0004] Based on this, there is an urgent need for a satellite software fast power-on recovery method based on data partition compression processing to solve the above technical problems. Summary of the invention

[0005] The embodiment of the present invention provides a satellite software fast power-on recovery method based on data partition compression processing, which can effectively reduce the decompression recovery time of the satellite system and improve aerospace safety.

[0006] In a first aspect, an embodiment of the present invention provides a satellite software fast power-on recovery method based on data partition compression processing, comprising:

[0007] The satellite software data is divided into functional and data types in turn;

[0008] Compress and partition the satellite software data according to the division results;

[0009] When the satellite is restarted, the stored data is powered on and restored according to the functional division results to put the satellite software in a safe operating state.

[0010] In a second aspect, an embodiment of the present invention further provides a satellite software fast power-on recovery device based on data partition compression processing, comprising:

[0011] A division module is used to divide the satellite software data into functions and data types in sequence;

[0012] A storage module, used for compressing and partitioning the data of the satellite software according to the partitioning result;

[0013] The recovery module is used to power on and restore the stored data according to the functional division results when the satellite is restarted, so that the satellite software is in a safe operating state.

[0014] In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method described in any embodiment of this specification is implemented.

[0015] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, enables the computer to execute the method described in any embodiment of this specification.

[0016] The embodiment of the present invention provides a satellite software fast power-on recovery method based on data partition compression processing, which divides functions according to different power-on recovery time requirements of each function, classifies data of each function by a data flow method, selects data to be compressed according to the classification result, and partitions and compiles and links keywords to compress and store target codes. When the system is powered on and recovered, non-compressed codes are directly run, and compressed codes are decompressed in each cycle idle task until the decompression is completed. The method can solve the problem of limited software storage resources and reduce the time overhead of system recovery after power-on, effectively ensuring the safety, reliability and stability of software during emergency critical tasks. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 It is a flow chart of a satellite software fast power-on recovery method based on data partition compression processing provided by an embodiment of the present invention;

[0019] Figure 2 is a data classification schematic diagram provided by an embodiment of the present invention;

[0020] Figure 3 This is a schematic diagram of compile link keywords provided by an embodiment of the present invention;

[0021] Figure 4 It is a schematic diagram of partition compression and storage provided by an embodiment of the present invention;

[0022] Figure 5is a hardware architecture diagram of an electronic device provided by an embodiment of the present invention;

[0023] Figure 6 It is a structural diagram of a satellite software fast power-on recovery device based on data partition compression processing provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0025] As mentioned above, existing satellite software is limited by the small storage space, which requires all software data to be compressed before storage. This method will cause the time from computer power-on to software running to be too long, which will lead to the failure of key missions.

[0026] Based on this, the concept of the present invention is to divide the functions according to the different power-on recovery time requirements of each function, classify the data of each function through the data flow method, and select the data to be compressed according to the classification results, so as to solve the problem of limited software storage resources and reduce the time overhead of system recovery after power-on.

[0027] The specific implementation of the above concept is described below.

[0028] Please refer to Figure 1 The embodiment of the present invention provides a satellite software fast power-on recovery method based on data partition compression processing, the method comprising:

[0029] Step 100, dividing the satellite software data into functional groups and data types in turn;

[0030] Step 102, compressing and partitioning the data of the satellite software according to the partitioning result;

[0031] Step 104: When the satellite is restarted, the stored data is powered on and restored according to the functional division result, so that the satellite software is in a safe operating state.

[0032] In an embodiment of the present invention, functions are divided according to different power-on recovery time requirements of each function, data classification is performed on each function through a data flow method, data to be compressed is selected according to the classification result, and the target code is partitioned, compressed and stored using compile link keywords. When the system is powered on and recovered, the non-compressed code is directly run, and the compressed code is decompressed in each cycle idle task until the decompression is completed. This method can solve the problem of limited software storage resources and reduce the time overhead of system recovery after power-on, effectively ensuring the security, reliability and stability of the software during emergency critical tasks.

[0033] Described below Figure 1 How the various steps are performed.

[0034] First, with respect to step 100, the satellite software data is divided into functional divisions and data types in sequence.

[0035] In an embodiment of the present invention, the division process includes: dividing the software data according to the power-on recovery time requirement, determining the software for executing the emergency function and the software for executing the non-emergency function; classifying the data of each function according to the function type, and obtaining the classification result. The data includes function modules and binding parameters.

[0036] In an embodiment of the present invention, the function division process includes: obtaining the time requirement of each software for power-on recovery; determining that the software function whose recovery time is less than the time threshold is an emergency function, and the software function whose recovery time is greater than the time threshold is a non-emergency function.

[0037] Specifically, if a function takes too long to recover, it may cause the system to run away, the function to fail, and cause serious consequences. This function has a high requirement for power-on recovery time. If a function has no impact even if the recovery time is longer, this function has a low requirement for power-on recovery.

[0038] Furthermore, data type classification includes: performing data flow analysis on the data used by each function to determine the usage of each type of data in different functions; classifying the data according to the analysis results to determine data used only in emergency functions, data used only in non-emergency functions, and data used in both types, such as Figure 2 shown.

[0039] Then, for step 102, the satellite software is compressed and partitioned for storage according to the partitioning result.

[0040] In an embodiment of the present invention, the compression storage process includes: compressing data used only in non-emergency functions to obtain compressed data; performing specified compilation link keyword compilation and conventional compilation on the compressed data and non-compressed data respectively, so as to centrally store the compiled compressed code and non-compressed code partitions in the internal storage area of ​​the satellite.

[0041] Specifically, by specifying the compilation link keyword, the compressed data is compressed and stored, the non-compressed data is stored normally, and different types of data are partitioned and stored in memory. The specific compilation link keyword examples are as follows: Figure 3 As shown, the partition compression and storage diagram is as follows Figure 4 shown.

[0042] With respect to step 104, the stored data is powered on and restored according to the functional division result.

[0043] In the embodiment of the present invention, the power-on process includes the following steps: copying all codes in the storage area to the running area;

[0044] Run system functions and initialize the system to prohibit the execution of non-emergency functions;

[0045] Determine whether the data is a non-urgent function code stored in the compression area. If so, do not execute the code and decompress the compressed area code in the idle task. Otherwise, execute the corresponding code normally according to the important data recovery result.

[0046] When the compressed area code is decompressed and the emergency function code is executed, the non-emergency function code is executed to put the satellite software into a safe operation state.

[0047] Specifically, (a) when the system is powered on and restored, all target codes are moved to the running area and the process goes to step (b).

[0048] (b) Prohibit execution of non-emergency function codes and go to step (c).

[0049] (c) Run the system function to determine whether it is a non-emergency function in which data is stored in the compression area. If so, go to step (d); if it is an emergency function, go to step (f).

[0050] (d) is not executed. The compressed data area is decompressed in the idle task until the decompression is completed, and then the process goes to step (e).

[0051] (e) Allow execution of non-emergency function code and go to step (g).

[0052] (f) The emergency function directly performs normal operation based on the important data recovery results and goes to step (g).

[0053] (g) The system can run codes for all functions and enter normal operation state.

[0054] In summary, this method determines the compression method by dividing functions and data, and quickly compresses the target code into partitions and stores it in different memory areas based on the compilation method of compilation link keywords, which provides a data decoupling basis for partition compression, realizes the rapid positioning of compressed data, and solves the problem of limited software storage resources.

[0055] Furthermore, the power-on process quickly restores emergency functions while restoring data of non-emergency functions through idle tasks. This method can reduce the time overhead of system recovery after power-on and effectively ensure the security, reliability and stability of the software during emergency critical tasks.

[0056] like Figure 5 , Figure 6 As shown, the embodiment of the present invention provides a satellite software fast power-on recovery device based on data partition compression processing. The device embodiment can be implemented by software, or by hardware or a combination of software and hardware. From the hardware level, such as Figure 5 As shown, it is a hardware architecture diagram of an electronic device where a satellite software fast power-on recovery device based on data partition compression processing provided by an embodiment of the present invention is located, except Figure 5 In addition to the processor, memory, network interface, and non-volatile memory shown, the electronic device in the embodiment may also include other hardware, such as a forwarding chip responsible for processing messages, etc. Taking software implementation as an example, Figure 6 As shown, as a device in a logical sense, the CPU of the electronic device in which it is located reads the corresponding computer program in the non-volatile memory into the internal memory and runs it. This embodiment provides a satellite software fast power-on recovery device based on data partition compression processing, including:

[0057] A division module 600 is used to divide the satellite software data into functions and data types in sequence;

[0058] The storage module 602 is used to compress and partition the data of the satellite software according to the partition result;

[0059] The recovery module 604 is used to power on and recover the stored data according to the function division result when the satellite is restarted, so as to put the satellite software in a safe operation state.

[0060] In an embodiment of the present invention, the division module 600 is specifically used to perform the following functions when performing functional division and data type division on the satellite software data in sequence: dividing the software data according to the power-on recovery time requirement, determining the software used to perform emergency functions and the software used to perform non-emergency functions; classifying the data of each function according to the function type to obtain a classification result.

[0061] In the embodiment of the present invention, the data includes a function module and binding parameters.

[0062] In an embodiment of the present invention, software data is divided according to the power-on recovery time requirement to determine the software used to execute emergency functions and the software used to execute non-emergency functions, including: obtaining the time requirement for power-on recovery of each software; determining that a software function whose recovery time is less than a time threshold is an emergency function, and a software function whose recovery time is greater than the time threshold is a non-emergency function.

[0063] In an embodiment of the present invention, data of each function is classified according to the function type to obtain a classification result, including: performing data flow analysis on the data used by each function to determine the usage of each type of data in different functions; classifying the data according to the analysis result to determine data used only in emergency functions, data used only in non-emergency functions, and data used in both types.

[0064] In the embodiment of the present invention, when the storage module 602 compresses and partitions the data of the satellite software according to the partitioning result, it is specifically used to perform the following functions: compress the data used only in non-emergency functions to obtain compressed data; perform specified compilation link keyword compilation and conventional compilation on the compressed data and the non-compressed data respectively, so as to centrally store the compiled compressed code and non-compressed code partitions in the internal storage area of ​​the satellite.

[0065] In an embodiment of the present invention, when the recovery module 604 performs power-on recovery of stored data according to the function division result, it is specifically used to perform the following functions: transfer all codes in the storage area to the running area; run the system function, and initialize the system to prohibit the execution of non-emergency function codes; determine whether the data is a non-emergency function code stored in the compression area, if so, do not execute the code, and decompress the compression area code in the idle task, otherwise execute the corresponding code normally according to the important data recovery result; when the compression area code is decompressed and the emergency function code is executed, execute the non-emergency function code to put the satellite software into a safe operation state.

[0066] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on a satellite software fast power-on recovery device based on data partition compression processing. In other embodiments of the present invention, a satellite software fast power-on recovery device based on data partition compression processing may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0067] The information interaction, execution process and other contents between the modules in the above-mentioned device are based on the same concept as the embodiment of the method of the present invention. For the specific contents, please refer to the description in the embodiment of the method of the present invention, and no further description is given here.

[0068] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, a satellite software fast power-on recovery method based on data partition compression processing in any embodiment of the present invention is implemented.

[0069] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the processor executes a satellite software fast power-on recovery method based on data partition compression processing in any embodiment of the present invention.

[0070] Specifically, a system or device equipped with a storage medium can be provided, on which software program code that implements the functions of any of the above-mentioned embodiments is stored, and a computer (or CPU or MPU) of the system or device can be enabled to read and execute the program code stored in the storage medium.

[0071] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.

[0072] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer by a communication network.

[0073] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling an operating system operating on the computer to complete part or all of the actual operations based on instructions from the program code.

[0074] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion module connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or expansion module is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.

[0075] It should be noted that, in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical factors in the process, method, article or device including the elements.

[0076] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk, etc., various media that can store program codes.

[0077] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A satellite software fast power-on recovery method based on data partition compression processing, characterized in that: include: The satellite software data is divided into functional and data types in turn; Compress and partition the satellite software data according to the division results; When the satellite is restarted, the stored data is powered on and restored according to the functional division results to put the satellite software in a safe operating state.

2. The method according to claim 1, characterized in that The satellite software data is divided into function and data type in sequence, including: Divide software data according to the power-on recovery time requirement, and determine the software used to perform emergency functions and the software used to perform non-emergency functions; The data of each function is classified according to the function type to obtain the classification result.

3. The method according to claim 2, characterized in that The data includes function modules and binding parameters.

4. The method according to claim 2, characterized in that: The software data is divided according to the power-on recovery time requirement to determine the software used to perform emergency functions and the software used to perform non-emergency functions, including: Obtain the time requirement for power-on recovery for each software; It is determined that a software function whose recovery time is less than a time threshold is an emergency function, and a software function whose recovery time is greater than the time threshold is a non-emergency function.

5. The method according to claim 4, characterized in that The data of each function is classified according to the function type to obtain the classification result, including: Conduct data flow analysis on the data used by each function to determine the usage of each type of data in different functions; The data is categorized based on the analysis results to determine data used only in emergency functions, data used only in non-emergency functions, and data used in both types.

6. The method according to claim 5, characterized in that The method of compressing and partitioning the satellite software according to the partitioning result includes: Compressing data used only in non-urgent functions to obtain compressed data; The compressed data and the non-compressed data are respectively compiled with specified compilation link keywords and conventionally compiled, so as to centrally store the compiled compressed code and non-compressed code partitions in the internal storage area of ​​the satellite.

7. The method according to claim 6, characterized in that The power-on recovery of the stored code according to the functional division result includes: Copy all the codes in the storage area to the running area; Run system functions and initialize the system to prohibit the execution of non-emergency functions; Determine whether the data is a non-urgent function code stored in the compression area. If so, do not execute the code and decompress the compressed area code in the idle task. Otherwise, execute the corresponding code normally according to the important data recovery result. When the compressed area code is decompressed and the emergency function code is executed, the non-emergency function code is executed to put the satellite software into a safe operation state.

8. A satellite software fast power-on recovery device based on data partition compression processing, characterized in that: include: A division module is used to divide the satellite software data into functions and data types in sequence; A storage module, used for compressing and partitioning the data of the satellite software according to the partitioning result; The recovery module is used to power on and restore the stored data according to the functional division results when the satellite is restarted, so that the satellite software is in a safe operating state.

9. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed in a computer, the computer is caused to execute the method according to any one of claims 1 to 7.