An airborne recording device file system

By designing a file system that supports parallel storage of multiple electronic disks in the on-board recording device, using a combination solution of data blocks and index tables, the problems of low data reading and writing efficiency and difficulty in scaling in the prior art are solved, and high efficiency is achieved , reliable data storage and quick retrieval.

CN115826849BActive Publication Date: 2025-02-25LUOYANG INST OF ELECTRO OPTICAL EQUIP OF AVIC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211249972.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-12
Publication Date
2025-02-25
Estimated Expiration
2042-10-12

AI Technical Summary

Technical Problem

In the on-board recording equipment, existing standard file systems are no longer suitable for high-precision and complex airborne systems due to low data reading and writing efficiency, difficulty in scaling, and abnormal power failure.

Method used

Design an on-board recording equipment file system, which uses data blocks for data storage, supports parallel storage of multiple electronic disks, uses index tables for data block mapping, realizes rapid retrieval, and protects data during power failure through backup storage. Integrity.

Benefits of technology

It improves the storage capacity and read and write efficiency of the file system, ensures efficient and reliable storage of data, and maintains the availability of the file system when some electronic disks fail.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115826849B_ABST
    Figure CN115826849B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of embedded system development, and specifically relates to an airborne recording device file system for dividing the data of the airborne recording device into data blocks, and storing each of the data blocks in parallel in multiple electronic disks. The present invention adopts the form of data blocks for data storage, supports parallel storage of up to 8 electronic disks, and adopts linear storage for a single disk, which can effectively improve the storage capacity supported by the file system and can improve the reading and writing efficiency of the file system; the data blocks are mapped in the form of an index table, which can meet the needs of fast retrieval of recorded data; by backing up and storing key data, it can ensure that the file system is not damaged in the event of abnormal power failure; the expandable multi-disk organization method can be adopted, which can conveniently and flexibly realize the expansion of storage capacity, and can ensure that the file system is still available when some electronic disks fail.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of embedded system development, and in particular relates to an airborne recording device file system. Background Art

[0002] As the accuracy of airborne sensors and the complexity of airborne systems continue to increase, the amount of data recorded by airborne recording devices is increasing and the data rate is increasing. Standard file systems are no longer suitable for airborne recording devices due to their low data reading and writing efficiency, difficulty in expansion, and easy damage due to abnormal power failure.

[0003] Compared with general data storage devices, airborne recording devices are mostly used for data recording and data reading operations, and have less demand for data modification. Therefore, a lightweight file system can be designed based on the characteristics of airborne data recording devices to achieve efficient and reliable data storage. Summary of the invention

[0004] In view of this, the present invention provides an airborne recording device file system, which adopts the form of data blocks for data storage, supports parallel storage of up to 8 electronic disks, and a single disk adopts linear storage, which can effectively improve the storage capacity supported by the file system and can improve the reading and writing efficiency of the file system; the data blocks are mapped in the form of index tables, which can meet the needs of fast retrieval of recorded data; through backup storage of key data, the file system can be guaranteed not to be damaged in the event of abnormal power failure; the expandable multi-disk organization method can be adopted, which can conveniently and flexibly realize the expansion of storage capacity, and the file system can still be available when some electronic disks fail.

[0005] In order to achieve the above technical objectives, the specific technical solutions adopted by the present invention are:

[0006] An airborne recording device file system for dividing the data of the airborne recording device into data blocks and storing each of the data blocks in parallel in a plurality of electronic disks;

[0007] The file system supports parallel storage access of multiple electronic disks, maintains usage information of the electronic disks through electronic disk status information, and maintains usage information of data in the electronic disks through record status information;

[0008] The electronic disk status information and record status information are backed up and stored in the electronic disk.

[0009] Furthermore, the size of the data block is configurable; each data block is stored as follows:

[0010] The data blocks in a single electronic disk are stored in a striped manner using linear addresses.

[0011] Furthermore, the electronic disk status information includes: quantity information of electronic disks, quantity information of electronic disks in use, and storage location information of the recorded status information;

[0012] The recording status information includes: the number of partitions of the electronic disk, the address and capacity information of the partitions of the electronic disk, the amount of data recorded in the partitions of the electronic disk, file information, and the index table storage address of the data block.

[0013] Furthermore, the file system maintains the data blocks based on the index table, and the index table and the data blocks are located by address mapping.

[0014] Further, the data processing process of the file system includes a storage process and an access process, and the storage process includes the following steps: processing the data of the onboard recording device into multiple data blocks;

[0015] Allocating a storage address for each of the data blocks;

[0016] Writing each data block into a corresponding position of the electronic disk based on the storage address assigned to each data block;

[0017] Creating index information for each of the data blocks stored in each of the electronic disks;

[0018] Updating the record status information;

[0019] The access process includes the following steps:

[0020] Find the file number in the index table to determine the storage address of the data block;

[0021] Reading the data block at the found storage address;

[0022] The read data block is returned to the calling interface of the file system.

[0023] Furthermore, the file system uses multi-tasking and instruction queues to achieve interaction between various functional modules in the file system during storage and access processes.

[0024] Furthermore, when the file system detects that an electronic disk fails, the file system removes the failed electronic disk and updates the electronic disk status information. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0026] Figure 1 The following is a workflow diagram of an airborne recording device file system in a specific implementation manner of the present invention. DETAILED DESCRIPTION

[0027] The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0028] The following describes the embodiments of the present disclosure through specific examples, and those skilled in the art can easily understand other advantages and effects of the present disclosure from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all of the embodiments. The present disclosure can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present disclosure. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.

[0029] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein can be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number of aspects described herein can be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein can be used to implement this device and / or practice this method.

[0030] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present disclosure. The illustrations only show components related to the present disclosure rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0031] Additionally, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects described may be practiced without these specific details.

[0032] In one embodiment of the present invention, an airborne recording device file system is provided, which is used to divide the data of the airborne recording device into data blocks, and store each of the data blocks in parallel to multiple electronic disks;

[0033] The file system supports parallel storage access of multiple electronic disks, maintains usage information of the electronic disks through electronic disk status information, and maintains usage information of data in the electronic disks through record status information;

[0034] The electronic disk status information and record status information are backed up and stored in the electronic disk.

[0035] In this embodiment, the size of the data block is configurable; the storage method of each data block is:

[0036] The data blocks in a single electronic disk are stored in a striped manner using linear addresses.

[0037] In this embodiment, the electronic disk status information includes: the number information of the electronic disks, the number information of the electronic disks in use, and the storage location information of the recorded status information;

[0038] The recording status information includes: the number of partitions of the electronic disk, the address and capacity information of the partitions of the electronic disk, the amount of data recorded in the partitions of the electronic disk, file information, and the index table storage address of the data block.

[0039] In this embodiment, the file system maintains data blocks based on an index table, and address mapping is used to locate the index table and the data blocks.

[0040] In this embodiment, the data processing process of the file system includes a storage process and an access process, and the storage process includes the following steps: dividing the data of the onboard recording device into multiple data blocks;

[0041] Allocating a storage address for each of the data blocks;

[0042] Writing each data block into a corresponding position of the electronic disk based on the storage address assigned to each data block;

[0043] Creating index information for each of the data blocks stored in each of the electronic disks;

[0044] Updating the record status information;

[0045] The access process includes the following steps:

[0046] Find the file number in the index table to determine the storage address of the data block;

[0047] Reading the data block at the found storage address;

[0048] The read data block is returned to the calling interface of the file system.

[0049] In this embodiment, the file system uses multi-tasking and instruction queues to implement the interaction between various functional modules in the file system during the storage process and the access process.

[0050] In this embodiment, when the file system detects that an electronic disk is faulty, the file system removes the faulty electronic disk and updates the electronic disk status information.

[0051] This embodiment supports parallel storage access of multiple electronic disks, maintains usage information of the electronic disks through electronic disk status information, maintains usage information of data in the electronic disks through record status information, and both the electronic disk status information and the record status information use backup storage.

[0052] Data blocks are used for storage, and the size of data blocks is configurable. Data blocks are stored in linear addresses in a single electronic disk and in striped storage in an electronic disk group.

[0053] The index table is used to maintain the data blocks. The index table and data blocks are located by address mapping instead of using the actual address. This ensures that the entire file system will not be unusable if some index tables are damaged.

[0054] The present invention uses multi-tasking and instruction queue operations to achieve interaction between various processing processes, and achieves high processing efficiency through high parallelism.

[0055] When a failure is detected in an electronic disk in the file system, the failed disk is removed by maintaining the electronic disk status information to ensure that the remaining electronic disks can still complete the data recording function.

[0056] like Figure 1 As shown in the figure, when recording data, the interface is called to put the data write disk operation instruction into the data recording instruction queue. The file system finds the most suitable electronic disk and storage address according to the current storage status of each electronic disk, puts the data address, electronic disk number, and storage address into the electronic disk instruction queue, creates the index information of the data block, and finally updates the data block and index table to the electronic disk. When reading data, the interface is called to put the data read operation instruction into the data access instruction queue. The file system queries the file information and calculates the data storage location according to the index table, and then puts the data read instruction into the electronic disk instruction queue, and finally completes the data reading operation.

[0057] The above is only a specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present disclosure should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. An airborne recording device file system, characterized in that: Used to divide the data of the airborne recording device into data blocks, and store each of the data blocks in parallel to multiple electronic disks; The file system supports parallel storage access of multiple electronic disks, maintains usage information of the electronic disks through electronic disk status information, and maintains usage information of data in the electronic disks through record status information; The electronic disk status information and record status information are backed up and stored in the electronic disk; The size of the data block is configurable; the storage method of each data block is: Striped storage across multiple electronic disks; And the data blocks in a single electronic disk are stored using linear addresses; The electronic disk status information includes: the number of electronic disks, the number of electronic disks in use, and the storage location information of the recorded status information; The recording status information includes: the number of partitions of the electronic disk, the address and capacity information of the partitions of the electronic disk, the amount of data recorded in the partitions of the electronic disk, file information, and the index table storage address of the data block.

2. The onboard recording device file system according to claim 1, characterized in that: The file system maintains data blocks based on the index table, and the index table and the data blocks are located using address mapping.

3. The onboard recording device file system according to claim 2, characterized in that: The data processing process of the file system includes a storage process and an access process, wherein the storage process includes the following steps: processing the data of the onboard recording device into a plurality of data blocks; Allocating a storage address for each of the data blocks; Writing each data block into a corresponding position of the electronic disk based on the storage address assigned to each data block; Creating index information for each of the data blocks stored in each of the electronic disks; Updating the record status information; The access process includes the following steps: Find the file number in the index table to determine the storage address of the data block; Reading the data block at the found storage address; The read data block is returned to the calling interface of the file system.

4. The onboard recording device file system according to claim 3, characterized in that: The file system uses multi-tasking and instruction queues to achieve interaction between various functional modules in the file system during storage and access.

5. The onboard recording device file system according to claim 4, characterized in that: When the file system detects that the electronic disk is faulty, it removes the faulty electronic disk and updates the electronic disk status information.

Citation Information

Patent Citations

  • Microkernel-based extensible file system and file access method

    CN106095817A

  • Data storage method, device and system

    CN111435286A