Satellite operating system file multi-level reliable device

By adopting a multi-level redundant raw disk and file system storage area design in the satellite operating system, the problem of wasted resources in the design of file reliability in the satellite operating system is solved, and data security and flexibility are achieved during on-orbit operation.

CN116360694BActive Publication Date: 2026-11-20SHANGHAI AEROSPACE COMP TECH INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310281815.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-22
Publication Date
2026-11-20
Estimated Expiration
2043-03-22

AI Technical Summary

Technical Problem

Existing satellite operating system file reliability design schemes are mostly based on single triple redundancy or partitioned backup redundancy, which cannot adapt to the ever-changing file reliability requirements, resulting in resource waste and difficulties in hardware redundancy.

Method used

The system employs a multi-level redundancy design with a raw disk storage area and a file system storage area. The raw disk storage area consists of three non-volatile storage areas of the same size, and the file system storage area consists of two non-volatile storage areas of the same size. These areas store images of onboard business files, and data security is ensured through verification mechanisms and on-orbit programming repair mechanisms.

Benefits of technology

It achieves secure and reliable data storage for spaceborne computer systems in harsh space environments, avoids system crashes caused by the failure of a single piece of hardware, and has flexible redundancy and wide applicability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116360694B_ABST
    Figure CN116360694B_ABST
Patent Text Reader

Abstract

The application discloses a satellite operating system file multi-level reliable device, which divides a non-volatile memory into three bare disk storage areas and two file system storage areas, and independently stores a set of on-orbit service files in each bare disk storage area and file system storage area. Meanwhile, the three bare disk storage areas and the two file system storage areas are alternately and spacedly distributed in the non-volatile memory. The application reasonably arranges the positions of the bare disk storage areas and the file system storage areas without affecting the normal service flow of the on-orbit computer, flexibly realizes the advantages of three-mode redundancy and backup redundancy, improves the reliability of the on-orbit computer system, and ensures the file storage safety of the satellite operating system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of satellite onboard electronic systems, and in particular to a multi-level reliable device for satellite operating system files. Background Technology

[0002] Data redundancy and fault tolerance technologies arose from the need for computer and system reliability. They represent a highly reliable file storage design approach widely used in the aerospace field. Typically, reliability design starts with hardware units, building multiple backup work units. However, in the spaceborne aerospace field, hardware redundancy is relatively difficult due to limitations such as satellite weight and cost.

[0003] Currently, many reliability design schemes for satellite operating system files still rely on single-mode redundancy or partitioned backup redundancy storage, which cannot adapt to the increasingly diverse file reliability requirements. Using only a single method of file redundancy would result in wasted software resources and an inability to accommodate different file types.

[0004] Therefore, finding a multi-level reliable device for on-orbit satellite operating system files to achieve multi-level redundancy of files without changing satellite hardware conditions, and thus improve the reliability of onboard electronic systems, has become an urgent problem to be solved. Summary of the Invention

[0005] To overcome the shortcomings of the prior art, the present invention provides a multi-level reliable device for satellite operating system files, ensuring that the onboard computer system can store data safely and reliably in harsh space environments.

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

[0007] A multi-level reliable device for satellite operating system files includes a raw disk storage area and a file system storage area, wherein:

[0008] The bare disk storage area is divided into three equally sized storage areas by the memory hardware address, and is used to store the onboard operating system;

[0009] The file system storage area is divided into two storage areas of the same size by the memory hardware address, which are used to store onboard business files.

[0010] Furthermore, the raw disk storage area is a non-volatile memory, with at least three storage areas, and each storage area stores a mirror image of the same set of onboard service files; the data in the raw disk storage area is write-protected and will not be rewritten after on-orbit operation.

[0011] Furthermore, the file system storage area is a non-volatile memory, with at least two storage areas, each storing a mirror image of the same set of onboard service files; the files in the file system storage area can be updated and upgraded in orbit.

[0012] Furthermore, the non-volatile memory is used in spaceborne computers. It can be a single non-volatile memory element or a group of non-volatile memory elements composed of multiple independent non-volatile memory elements. If it is a group of non-volatile memory elements, each non-volatile memory element should have an independent communication channel with the operating system.

[0013] Preferably, the non-volatile memory data is distributed alternately across three raw disk storage areas and two file system storage areas.

[0014] Furthermore, in the non-volatile memory group, the three raw disk storage areas and the two file system storage areas are distributed in separate non-volatile memory locations.

[0015] Furthermore, the onboard service files include satellite operating system image files, onboard basic service software, underlying library files, and code snippets related to the satellite operating system.

[0016] Furthermore, the onboard service files are stored according to file size, file checksum, and file content.

[0017] Furthermore, in the raw disk storage area, when loading onboard service files:

[0018] Calculate the file checksum and compare it with the checksum stored in the file header. If they match, load the satellite operating system image from the first raw disk storage area directly.

[0019] If the verification value of the onboard service file in the first raw disk storage area fails, the onboard service file in the second raw disk storage area is read and verified. If the verification is successful, it is loaded and run.

[0020] If the verification value of the onboard service file in the second raw disk storage area fails, the onboard service file in the third raw disk storage area is read and verified. If the verification is successful, it is loaded and run.

[0021] If all three sets of onboard service files fail to be verified, then the onboard service files in the three raw disk storage areas will be loaded using a two-out-of-three method.

[0022] Furthermore, in the file system storage area, when loading onboard service files:

[0023] The system calculates and reads the file checksum and compares it with the checksum value stored in the file header. If a file fails the checksum verification, the system repairs the corresponding file using on-orbit programming via ground commands.

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

[0025] 1. The embodiments of the present invention provide a reasonable data storage layout for the non-volatile memory, and redundant backups for the three raw disk storage areas and the file system storage area, to ensure that the system will not fail to start due to damage to some non-volatile memory or single-event upset during on-orbit operation;

[0026] 2. The embodiments of the present invention allow for flexible selection of redundancy methods based on the on-orbit update requirements of onboard service documents;

[0027] 3. 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. Attached Figure Description

[0028] 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:

[0029] Figure 1 This is a data storage distribution diagram on a non-volatile memory cell in Embodiment 1 of the present invention;

[0030] Figure 2 This is a data storage distribution diagram on the non-volatile memory group in Embodiment 2 of the present invention. Detailed Implementation

[0031] 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.

[0032] like Figure 1 and 2 As shown, this embodiment discloses a multi-level reliable device for satellite operating system files, including a raw disk storage area and a file system storage area, wherein:

[0033] The bare disk storage area is divided into three equally sized storage areas by the memory hardware address, and is used to store the onboard operating system;

[0034] The file system storage area is divided into two storage areas of the same size by the memory hardware address, which are used to store onboard business files.

[0035] Furthermore, the raw disk storage area is a non-volatile memory, with at least three storage areas, and each storage area stores a mirror image of the same set of onboard service files; the data in the raw disk storage area is write-protected and, in principle, will not be rewritten after on-orbit operation.

[0036] Furthermore, the file system storage area is a non-volatile memory, with at least two storage areas, each storing a mirror image of the same set of onboard service files; the files in the file system storage area can be updated and upgraded in orbit.

[0037] Furthermore, the non-volatile memory is used in spaceborne computers. It can be a single non-volatile memory element or a group of non-volatile memory elements composed of multiple independent non-volatile memory elements. If it is a group of non-volatile memory elements, each non-volatile memory element should have an independent communication channel with the operating system.

[0038] Preferably, the non-volatile memory data is distributed alternately across three raw disk storage areas and two file system storage areas.

[0039] Furthermore, in the non-volatile memory group, the three raw disk storage areas and the two file system storage areas are distributed in independent non-volatile memory areas as much as possible.

[0040] Furthermore, the onboard service files include satellite operating system image files, onboard basic service software, underlying library files, and code snippets related to the satellite operating system.

[0041] Furthermore, the onboard service files are stored according to file size, file checksum, and file content.

[0042] Furthermore, in the raw disk storage area, when loading onboard service files:

[0043] Calculate the file checksum and compare it with the checksum stored in the file header. If they match, load the satellite operating system image from the first raw disk storage area directly.

[0044] If the verification value of the onboard service file in the first raw disk storage area fails, the onboard service file in the second raw disk storage area is read and verified. If the verification is successful, it is loaded and run.

[0045] If the verification value of the onboard service file in the second raw disk storage area fails, the onboard service file in the third raw disk storage area is read and verified. If the verification is successful, it is loaded and run.

[0046] If all three sets of onboard service files fail to be verified, then the onboard service files in the three raw disk storage areas will be loaded using a two-out-of-three method.

[0047] Furthermore, in the file system storage area, when loading onboard service files:

[0048] The system calculates and reads the file checksum and compares it with the checksum value stored in the file header. If a file fails the checksum verification, the system repairs the corresponding file using on-orbit programming via ground commands.

[0049] Example 1

[0050] Please refer to Figure 1 This invention provides a multi-level reliable file system device for satellite operating systems, enabling file layout on a single non-volatile memory unit. The device includes three raw disk storage areas and two file system storage areas, wherein:

[0051] The non-volatile memory unit is a NORFLASH chip, which is used in spaceborne computers.

[0052] The onboard service files are developed based on the satellite operating system; the bare disk storage area contains the satellite operating system image, management basic service software, integrated electronic basic service software, and attitude control basic service software; the file system storage area contains the satellite operating system image file, management basic service software, integrated electronic basic service software, attitude control basic service software, autonomous mission planning software, and related library files.

[0053] The raw disk storage area is deployed in NORFLASH and consists of three storage areas of the same size; each raw disk storage area independently stores a set of onboard service files; the data in the raw disk storage area is write-protected and, in principle, will not be rewritten after on-orbit operation.

[0054] The file system storage area is deployed in NORFLASH and consists of two storage areas of the same size; each file system storage area independently stores a set of onboard service files; the files in the file system storage area can be updated and upgraded in orbit;

[0055] The raw disk storage areas 1, 2, and 3 and the file system storage areas 1 and 2 are arranged alternately in NORFLASH, in the following order: raw disk storage area 1, file system storage area 1, raw disk storage area 2, file system storage area 2, and raw disk storage area 3.

[0056] The raw disk storage area, when loading the satellite operating system image:

[0057] The CRC value of the read data is calculated and compared with the CRC value stored in the image header. If they match, the satellite operating system image from the first raw disk storage area is loaded directly. If the CRC check of the satellite operating system image from the first raw disk storage area fails, the satellite operating system image from the second raw disk storage area is read and checked. If the check is successful, it is loaded and run. If the CRC check of the satellite operating system image from the second raw disk storage area fails, the satellite operating system image from the third raw disk storage area is read and checked. If the check is successful, it is loaded and run. If all three satellite operating system images fail to check, a two-out-of-three approach is used to load the satellite operating system images from these three raw disk storage areas.

[0058] When loading onboard service files, the file system storage area:

[0059] Calculate the MD5 values ​​of software and library files in the file system storage area and compare them with the corresponding MD5 files. If a file is found to have an MD5 checksum that fails, repair the corresponding file using on-orbit programming capabilities via ground commands.

[0060] Example 2

[0061] Please refer to Figure 2 This invention provides a multi-level reliable file system device for a satellite operating system, and a file layout method on a non-volatile memory group. The device includes three raw disk storage units and two file system storage units, wherein:

[0062] The non-volatile memory group consists of 5 NORFLSH memory modules; NORFLSH memory modules 1, 3, and 5 maintain the same size specifications, and NORFLSH memory modules 2 and 4 maintain the same size specifications; each NORFLSH memory module communicates with the operating system via an RS422 channel.

[0063] The onboard service files are developed based on the satellite operating system and include the satellite operating system image file, onboard basic service software, underlying library files, and code snippets related to the satellite operating system; the onboard service files are stored according to file size, file checksum, and file content.

[0064] The raw disk storage area is deployed in NORFLSH memory 1, 3, and 5, consisting of three storage areas of the same size; each raw disk storage area independently stores a set of onboard service files; the data in the raw disk storage area is write-protected and, in principle, will not be rewritten after on-orbit operation;

[0065] The file system storage area is deployed in NORFLSH memory 2 and 4, consisting of two storage areas of the same size; each file system storage area independently stores a set of onboard service files; the files in the file system storage area can be updated and upgraded in orbit;

[0066] The NORFLSH memory group has three raw disk storage areas and two file system storage areas distributed alternately, in the following order: raw disk storage area 1, file system storage area 1, raw disk storage area 2, file system storage area 2, and raw disk storage area 3.

[0067] The raw disk storage area, when loading the satellite operating system image:

[0068] The CRC value of the read data is calculated and compared with the CRC value stored in the image header. If they match, the satellite operating system image from the first raw disk storage area is loaded directly. If the CRC check of the satellite operating system image from the first raw disk storage area fails, the satellite operating system image from the second raw disk storage area is read and checked. If the check is successful, it is loaded and run. If the CRC check of the satellite operating system image from the second raw disk storage area fails, the satellite operating system image from the third raw disk storage area is read and checked. If the check is successful, it is loaded and run. If all three satellite operating system images fail to check, a two-out-of-three approach is used to load the satellite operating system images from these three raw disk storage areas.

[0069] When loading onboard service files, the file system storage area:

[0070] Calculate the MD5 values ​​of software and library files in the file system storage area and compare them with the corresponding MD5 files. If a file is found to have an MD5 checksum that fails, repair the corresponding file using on-orbit programming capabilities via ground commands.

[0071] 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. A multi-level reliable device for satellite operating system files, characterized in that, It includes the raw disk storage area and the file system storage area, wherein: The bare disk storage area is divided into three equally sized storage areas by the memory hardware address, and is used to store the onboard operating system; The raw disk storage area is a non-volatile memory, with at least three storage areas, and each storage area stores a mirror image of the same set of onboard service files; the data in the raw disk storage area is write-protected and will not be rewritten after on-orbit operation; The file system storage area is divided into two storage areas of the same size by the memory hardware address, which are used to store onboard business files; The file system storage area is a non-volatile memory, with at least two storage areas, each storing a mirror image of the same set of onboard service files; the files in the file system storage area can be updated and upgraded in orbit. The non-volatile memory data is distributed alternately across three raw disk storage areas and two file system storage areas. When loading onboard service files, the raw disk storage area: Calculate the file checksum and compare it with the checksum stored in the file header. If they match, load the satellite operating system image from the first raw disk storage area directly. If the verification value of the onboard service file in the first raw disk storage area fails, the onboard service file in the second raw disk storage area is read and verified. If the verification is successful, it is loaded and run. If the verification value of the onboard service file in the second raw disk storage area fails, the onboard service file in the third raw disk storage area is read and verified. If the verification is successful, it is loaded and run. If all three sets of onboard service files fail to be verified, then the onboard service files in the three raw disk storage areas will be loaded using a two-out-of-three method. When loading onboard service files, the file system storage area: The system calculates and reads the file checksum and compares it with the checksum value stored in the file header. If a file fails the checksum verification, the system repairs the corresponding file using on-orbit programming via ground commands.

2. The satellite operating system file multi-level reliability device according to claim 1, characterized in that, The non-volatile memory is used in spaceborne computers, where a single non-volatile memory is used to store multiple operating system images and spaceborne business files; or a group of non-volatile memory is used, in which case each non-volatile memory should have an independent communication channel with the operating system.

3. The satellite operating system file multi-level reliability device according to claim 2, characterized in that, In the non-volatile memory group, three raw disk storage areas and two file system storage areas are distributed in separate non-volatile memory.

4. The satellite operating system file multi-level reliability device according to claim 1, characterized in that, The onboard service files include satellite operating system image files, onboard basic service software, underlying library files, and code snippets related to the satellite operating system.

5. A multi-level reliable satellite operating system file device according to claim 1, characterized in that, The onboard service files are stored according to file size, file checksum, and file content.