An on-orbit maintenance method for file systems in satellite operating systems

By dividing the satellite operating system's file system into primary and redundant partitions, and maintaining files autonomously or remotely, the problems of high resource consumption and low timeliness in existing technologies are solved, achieving autonomous file system maintenance and normal operation.

CN115658377BActive Publication Date: 2026-08-04SHANGHAI AEROSPACE COMP TECH INST
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANGHAI AEROSPACE COMP TECH INST
Filing Date
2022-09-29
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

The existing satellite operating system's file system on-orbit maintenance method is resource-intensive and not timely, and cannot effectively cope with file anomalies caused by single-event upsets.

Method used

The file system is divided into primary partitions and redundant partitions. By verifying files and comparing telemetry data, file maintenance can be achieved autonomously or remotely from the ground. The redundant partitions are used for file overwriting and autonomous recovery.

Benefits of technology

It enables autonomous maintenance of the file system, reduces resource burden, ensures normal operation of the on-orbit file system, and is applicable to various file system types.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115658377B_ABST
    Figure CN115658377B_ABST
Patent Text Reader

Abstract

This invention discloses an on-orbit maintenance method for the file system in a satellite operating system, enabling autonomous on-orbit maintenance of operating system files. The method includes: dividing the satellite operating system into primary and redundant partitions; obtaining a file item list and reading the corresponding files; verifying and comparing the files: erroneous files can be overwritten by another partition or remotely programmed on-orbit from the ground; and re-verifying the maintained files to ensure the file system is correct. This on-orbit file system maintenance method reduces the pressure on the operating system's file system restoration, enables autonomous on-orbit file maintenance of the satellite file system, and ensures the normal operation of the on-orbit file system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of satellite electronic systems, and in particular to an on-orbit maintenance method for a file system in a satellite operating system. Background Technology

[0002] Because satellite operating systems are located far from the ground and cannot be controlled in real time, they require a high degree of autonomy and reliability. However, due to external factors such as single-event effects in space, single-event upsets can occur during the satellite's internal storage, causing anomalies in the satellite operating system files. Therefore, on-orbit autonomous maintenance of the satellite operating system's file system is necessary to ensure the normal operation of system files.

[0003] Currently, most satellite file system maintenance methods use a scan chain approach, where file data is received from the ground station and then corrected in orbit through programming. This method places an excessive burden on file system resources and is not very timely.

[0004] Therefore, there is an urgent need for a solution that can reduce the pressure on the operating system's file system to restore data, enable autonomous on-orbit file maintenance of satellite files, and ensure the normal operation of the on-orbit file system. Summary of the Invention

[0005] To overcome the shortcomings of existing technologies, this invention provides an on-orbit maintenance method for the file system in a satellite operating system, which enables autonomous handling when the file system detects file anomalies, thereby improving on-orbit file maintenance capabilities.

[0006] To achieve the aforementioned objectives of the invention, the technical solution adopted to solve its technical problems is as follows:

[0007] An on-orbit maintenance method for a file system in a satellite operating system includes the following steps:

[0008] Step S1: Divide the file system in the satellite operating system into a primary partition and a redundant partition;

[0009] Step S2: Obtain the file item linked list and read the corresponding files in the linked list in sequence;

[0010] Step S3: Create a verification file for the read file;

[0011] Step S4: Compare the verification code file generated in step S3 with the verification file read in step S2, establish a correctness identifier for the target file, and use this identifier as telemetry data to transmit to the ground.

[0012] Step S5: Based on the document correctness indicator:

[0013] If the file's correctness is marked as correct, proceed to step S7;

[0014] If the file's correctness is marked as incorrect, proceed to step S6;

[0015] Step S6: The file system downloads file maintenance information to the ground station, waits for ground remote control commands to execute on-orbit programming, and proceeds to step S9;

[0016] Step S7: The file system receives the ground recovery method instruction:

[0017] If the recovery method is on-board autonomous recovery, proceed to step S8;

[0018] If the recovery method is ground-controlled recovery, proceed to step S6;

[0019] Step S8: Determine the location of the file to be maintained based on the file system:

[0020] If the file to be maintained is on the primary partition, then the file to be maintained will be overwritten with the corresponding file on the redundant partition.

[0021] If the file to be maintained is on a redundant partition, then the file to be maintained will be overwritten with the corresponding file on the primary partition.

[0022] Step S9: The file system re-verifies the modified files using verification software.

[0023] If the verification result is correct, the file maintenance is complete, and the file system maintenance ends.

[0024] If the verification result is abnormal, file maintenance is still required, and then proceed to step S6.

[0025] Furthermore, the file system includes a memory file system, a non-volatile file system, a Hadoop Distributed File System, an IPFS Interplanetary File System, a SylixOS file system, a ReWorks file system, a Dao file system, a Tianmai file system, and a DeltaOS file system.

[0026] Furthermore, the file system contains a linked list of file items for all files within the file system.

[0027] Furthermore, the files in the file system are stored according to file size, file checksum, and file content.

[0028] Furthermore, the primary partition and the redundant partition store the same files, serving as backups for each other.

[0029] By employing the above technical solutions, this invention has the following advantages and positive effects compared with the prior art:

[0030] 1. The embodiments of the present invention can realize the autonomous recovery and file maintenance of the file system according to the recovery method control word, or the file maintenance can be performed by ground remote control command, and the file action rights can be freely selected.

[0031] 2. The embodiments of the present invention can be applied to on-orbit business files with various technical development needs, including but not limited to business files based on middleware technology needs, business files based on file technology needs, and business files based on structured programming technology needs, and have wide applicability.

[0032] 3. The on-orbit file system maintenance method formed by the present invention can reduce the pressure of restoring the operating system file system, realize the satellite file system to perform autonomous on-orbit file maintenance, and ensure the normal operation of the on-orbit file system. Attached Figure Description

[0033] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are merely some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:

[0034] Figure 1 This is a flowchart of an on-orbit maintenance method for a file system in a satellite operating system according to the present invention;

[0035] Figure 2 This is a flowchart of on-orbit maintenance of the memory file system in Embodiment 1 of the present invention. Detailed Implementation

[0036] The technical solution of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0037] like Figure 1 As shown, this embodiment discloses an on-orbit maintenance method for a file system in a satellite operating system, including the following steps:

[0038] Step S1: Divide the file system in the satellite operating system into a primary partition and a redundant partition;

[0039] Step S2: Obtain the file item linked list and read the corresponding files in the linked list in sequence;

[0040] Step S3: Create a verification file for the read file;

[0041] Step S4: Compare the verification code file generated in step S3 with the verification file read in step S2, establish a correctness identifier for the target file, and use this identifier as telemetry data to transmit to the ground.

[0042] Step S5: Based on the document correctness indicator:

[0043] If the file's correctness is marked as correct, proceed to step S7;

[0044] If the file's correctness is marked as incorrect, proceed to step S6;

[0045] Step S6: The file system downloads file maintenance information to the ground station, waits for ground remote control commands to execute on-orbit programming, and proceeds to step S9;

[0046] Step S7: The file system receives the ground recovery method instruction:

[0047] If the recovery method is on-board autonomous recovery, proceed to step S8;

[0048] If the recovery method is ground-controlled recovery, proceed to step S6;

[0049] Step S8: Determine the location of the file to be maintained based on the file system:

[0050] If the file to be maintained is on the primary partition, then the file to be maintained will be overwritten with the corresponding file on the redundant partition.

[0051] If the file to be maintained is on a redundant partition, then the file to be maintained will be overwritten with the corresponding file on the primary partition.

[0052] Step S9: The file system re-verifies the modified files using verification software.

[0053] If the verification result is correct, the file maintenance is complete, and the file system maintenance ends.

[0054] If the verification result is abnormal, file maintenance is still required, and then proceed to step S6.

[0055] Furthermore, the file system includes a memory file system, a non-volatile file system, a Hadoop Distributed File System, an IPFS Interplanetary File System, a SylixOS file system, a ReWorks file system, a Dao file system, a Tianmai file system, and a DeltaOS file system.

[0056] Furthermore, the file system contains a linked list of file items for all files within the file system.

[0057] Furthermore, the files in the file system are stored according to file size, file checksum, and file content.

[0058] Furthermore, the primary partition and the redundant partition store the same files, serving as backups for each other.

[0059] Example 1

[0060] like Figure 2 As shown, this embodiment of the invention provides a flowchart for on-orbit maintenance of a memory file system, and provides a complete method for maintaining files in a memory file system based on a satellite operating system, specifically including the following steps:

[0061] Step S1: Divide the satellite operating system file system into a primary partition and a redundant partition. The primary partition and the redundant partition store the same files and serve as backups for each other.

[0062] Step S2: Obtain the file item linked list and read the corresponding files in the linked list in sequence;

[0063] Step S3: Create an MD5 checksum file for the read file;

[0064] Step S4: Compare the MD5 check file generated in step S3 with the MD5 check file read in step S2 to establish a correctness identifier for the target file, and use this identifier as telemetry data to transmit to the ground.

[0065] Step S5: Based on the document correctness indicator:

[0066] If the file's correctness is marked as correct, proceed to step S7;

[0067] If the file's correctness is marked as incorrect, proceed to step S6;

[0068] Step S6: The file system downloads file maintenance information to the ground station, waits for ground remote control commands to execute on-orbit programming, and proceeds to step S9;

[0069] Step S7: The file system receives the ground recovery method instruction:

[0070] If the recovery method is on-board autonomous recovery, proceed to step S8;

[0071] If the recovery method is ground-controlled recovery, proceed to step S6;

[0072] Step S8: Determine the location of the file to be maintained based on the file system:

[0073] If the file to be maintained is on the primary partition, then the file to be maintained will be overwritten with the corresponding file on the redundant partition.

[0074] If the file to be maintained is on a redundant partition, then the file to be maintained will be overwritten with the corresponding file on the primary partition.

[0075] Step S9: The file system re-verifies the MD5 checksum of the modified file.

[0076] If the verification result is correct, the file maintenance is complete, and the file system maintenance ends.

[0077] If the verification result is abnormal, file maintenance is still required, and then proceed to step S6.

[0078] In this embodiment, the file system is a memory file system built on SDRAM, and the file system contains a linked list of file items for all files.

[0079] Furthermore, the files in the file system are stored according to file size, file MD5 checksum, and file content.

[0080] The above description is merely a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. An on-orbit maintenance method for a file system in a satellite operating system, characterized in that, Includes the following steps: Step S1: Divide the file system in the satellite operating system into a primary partition and a redundant partition; Step S2: Obtain the file item linked list and read the corresponding files in the linked list in sequence; Step S3: Create a verification file for the read file; Step S4: Compare the verification code file generated in step S3 with the verification file read in step S2, establish a correctness identifier for the target file, and use this identifier as telemetry data to transmit to the ground. Step S5: Based on the document correctness indicator: If the file's correctness is marked as correct, proceed to step S7; If the file's correctness is marked as incorrect, proceed to step S6; Step S6: The file system downloads file maintenance information to the ground station, waits for ground remote control commands to execute on-orbit programming, and proceeds to step S9; Step S7: The file system receives the ground recovery method instruction: If the recovery method is on-board autonomous recovery, proceed to step S8; If the recovery method is ground-controlled recovery, proceed to step S6; Step S8: Determine the location of the file to be maintained based on the file system: If the file to be maintained is on the primary partition, then the file to be maintained will be overwritten with the corresponding file on the redundant partition. If the file to be maintained is on a redundant partition, then the file to be maintained will be overwritten with the corresponding file on the primary partition. Step S9: The file system re-verifies the modified file. If the verification result is correct, the file maintenance is complete, and the file system maintenance ends. If the verification result is abnormal, file maintenance is still required, and then proceed to step S6.

2. The on-orbit maintenance method for a file system in a satellite operating system according to claim 1, characterized in that, The file systems include memory file systems, non-volatile file systems, Hadoop distributed file systems, IPFS interplanetary file systems, SylixOS file systems, ReWorks file systems, Dao file systems, Tianmai file systems, and DeltaOS file systems.

3. The on-orbit maintenance method for a file system in a satellite operating system according to claim 1, characterized in that, The file system contains a linked list of file items for all files within the file system.

4. The on-orbit maintenance method for a file system in a satellite operating system according to claim 1, characterized in that, Files in the file system are stored according to file size, file checksum, and file content.

5. The on-orbit maintenance method for a file system in a satellite operating system according to claim 1, characterized in that, The primary partition and the redundant partition store the same files, and they serve as backups for each other.