Flight parameter acquisition and recording equipment configuration management method, system, equipment and medium
By using two independent storage areas to manage configuration files in the flying reference system, the correctness and update timestamp of the configuration files are ensured, the problems of configuration file damage and data loss in the existing technology are solved, and the safe migration of flying reference data is realized. and start normally.
Patent Information
- Application Number
- CN202410721794.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-05
- Publication Date
- 2024-09-24
AI Technical Summary
The configuration management method in the existing flying reference system relies on fixed file size and location verification to ensure the correctness of the configuration file. It lacks update timestamps, and a power outage during the update process may cause the configuration file to be damaged, affecting normal startup.
Two independent storage areas A and B are used to store the configuration file description header and ontology respectively. The correctness and update timestamp of the configuration file are ensured through fields such as magic numbers, checksums, and update serial numbers. Select the currently effective area for reading and writing. , ensuring that the configuration file remains up-to-date in the event of a power loss.
It realizes the migration of flying parameter data under different hardware platforms, avoids the loss and damage of configuration data, ensures the power-off safety during the configuration file update process, and ensures the normal startup of the product.
Smart Images

Figure CN118689552A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of avionics technology, and in particular to a configuration management method, system, equipment and medium for flight parameter collection and recording equipment. Background Art
[0002] The flight data system records the operating status of each aircraft system, as well as cabin sound, voice, cockpit video, display screen playback video and other information during the flight. It is used to obtain the aircraft's working status during ground maintenance or to analyze the cause of an accident after an accident.
[0003] Depending on the user's usage scenario, there are certain differences in the types of parameters collected by the flight parameter system, the sampling rate, and the division of record storage space. In traditional flight parameter systems, configuration files are generally used as program operation configuration parameters. During the startup phase, the flight parameter system program reads the configuration file from the non-volatile storage medium and initializes the flight parameter system program based on the content of the configuration file. Configuration file management is an important part of the flight parameter system software.
[0004] The following common problems exist in the existing configuration management mode of the flight parameter system. First, the correctness of the configuration depends on the verification information of the configuration file itself, that is, the factor of configuration file correctness verification needs to be considered when designing the configuration file format. Generally, a fixed file size plus a fixed position verification method is adopted to ensure the correctness of the configuration information itself; second, the configuration file itself does not have an update timestamp. When a problem occurs, the last configuration update time cannot be determined; third, power failure during the configuration file update process will cause the configuration file to be damaged. The product detects that the configuration file is missing during the startup process, affecting the normal startup process of the product. Summary of the invention
[0005] In view of this, the embodiments of the present application provide a flight parameter collection and recording equipment configuration management method, system, equipment and medium, so as to provide a universal configuration management method to manage the configuration information of each component in the flight parameter system, so as to facilitate the migration of flight parameter data under different hardware platforms. At the same time, this configuration management method can avoid the loss or damage of configuration data in the event of power failure during the update process.
[0006] The embodiment of the present application provides the following technical solution: a method for managing the configuration of a flight parameter collection and recording device, comprising:
[0007] A storage area A and a storage area B are respectively configured for the configuration file of each flight parameter collection and recording device, and a configuration file description header and a configuration file body are stored in both the storage area A and the storage area B; wherein the configuration file description header includes a magic number, a configuration file update sequence number, a configuration file length, a configuration file update time, a configuration file checksum, and a configuration file description header checksum field;
[0008] Read the configuration file description header from the storage area A and the storage area B respectively, determine whether the magic number field in the configuration file description header is a preset value, if so, determine whether the configuration file description header checksum field in the configuration file description header is correct, if so, read the configuration file body according to the configuration file length field in the configuration file description header;
[0009] Determine whether the configuration file checksum field in the configuration file description header is correct, and if so, record the configuration file update sequence number field in the configuration file description header in the local memory and mark the current storage area as read successfully.
[0010] According to an embodiment of the present application, it also includes:
[0011] Determine whether the magic number field in the configuration file description header is a preset value, if not, end the reading process and mark the current storage area as failed to read;
[0012] Determine whether the configuration file description header checksum field in the configuration file description header is correct, if not, end the reading process and mark the current storage area as failed to read;
[0013] Determine whether the configuration file checksum field in the configuration file description header is correct. If not, end the reading process and mark the current storage area as failed to read.
[0014] According to an embodiment of the present application, the initial value of the configuration file update sequence number in the configuration file description header is 0, and is accumulated by adding 1 each time according to the number of successful configuration file writes.
[0015] According to an embodiment of the present application, it also includes:
[0016] If the storage area A is read successfully and the storage area B is read unsuccessfully, the storage area A is marked as the currently effective storage area, and the configuration file update sequence number in the local memory is set to the configuration file update sequence number in the configuration file description header of the storage area A;
[0017] If the storage area A fails to read and the storage area B succeeds, the storage area B is marked as the currently effective storage area, and the configuration file update sequence number in the local memory is set to the configuration file update sequence number in the configuration file description header of the storage area B;
[0018] If both the storage area A and the storage area B are read successfully, determine whether the configuration file update number in the configuration file description header of the storage area A is greater than the configuration file update number in the configuration file description header of the storage area B. If so, mark the storage area A as the currently effective storage area, and set the configuration file update number in the local memory to the configuration file update number in the configuration file description header of the storage area A. If not, mark the storage area B as the currently effective storage area, and set the configuration file update number in the local memory to the configuration file update number in the configuration file description header of the storage area B.
[0019] According to an embodiment of the present application, it also includes:
[0020] If both the storage area A and the storage area B fail to be read, the storage area A and the storage area B are marked as currently ineffective storage areas, and the configuration file update sequence number in the local memory is set to 0.
[0021] According to an embodiment of the present application, it also includes:
[0022] Select the currently ineffective storage area A or storage area B as the write area;
[0023] Calculate the configuration file checksum, generate a configuration file description header, and increase the configuration file update sequence number in the configuration file description header by 1;
[0024] Erase the old configuration file content in the write area, write the configuration file description header and the configuration file body in the write area respectively, mark the write area as the currently effective storage area, and update the configuration file update number in the local memory to the configuration file update number in the configuration file description header of the write area.
[0025] According to an embodiment of the present application, the configuration file description header also includes configuration file name and configuration file update time fields.
[0026] The present application also provides a flight parameter collection and recording equipment configuration management system, including:
[0027] A configuration module, used to configure storage area A and storage area B for the configuration files of each flight parameter collection and recording device, respectively, wherein the configuration file description header and the configuration file body are stored in the storage area A and the storage area B; wherein the configuration file description header includes a magic number, a configuration file update sequence number, a configuration file checksum, and a configuration file description header checksum field;
[0028] A first analysis and processing module is used to read the configuration file description header from the storage area A and the storage area B respectively, determine whether the magic number field in the configuration file description header is a preset value, and if so, determine whether the configuration file description header checksum field in the configuration file description header is correct, and if so, read the configuration file body according to the configuration file length field in the configuration file description header;
[0029] The second analysis and processing module is used to determine whether the configuration file checksum field in the configuration file description header is correct. If so, the configuration file update sequence number field in the configuration file description header is recorded in the local memory and the current storage area is marked as read successfully.
[0030] The present application also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned flight parameter collection and recording device configuration management method when executing the computer program.
[0031] The present application also provides a computer-readable storage medium, which stores a computer program for executing the above-mentioned flight parameter collection and recording equipment configuration management method.
[0032] Compared with the prior art, the beneficial effects that can be achieved by at least one of the above technical solutions adopted in the embodiments of this specification include at least: the configuration management method of the flight parameter collection and recording device provided in the embodiment of the present invention has no restrictions on the length and format of the data packet body, so it can be applied to the flight parameter collection and recording device. The present invention is a general configuration management method in the flight parameter system to manage the configuration information of each component in the flight parameter system. At the same time, this configuration management method can avoid the loss and damage of configuration data in the event of power failure during the update process. During the configuration update process, the power failure configuration file will remain in the latest state before the configuration update. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present application, 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0034] Figure 1 It is a schematic diagram of a configuration file reading process in a configuration management method for a flight parameter collection and recording device according to an embodiment of the present invention;
[0035] Figure 2 is a schematic diagram of a configuration file in a non-volatile storage medium in an embodiment of the present invention;
[0036] Figure 3 It is a schematic diagram of a configuration file writing process in a flight parameter collection and recording device configuration management method according to an embodiment of the present invention;
[0037] Figure 4 It is a structural block diagram of the configuration management system of the flight parameter collection and recording equipment according to an embodiment of the present invention;
[0038] Figure 5 It is a structural schematic diagram of the computer device of the present invention. DETAILED DESCRIPTION
[0039] The embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0040] The following describes the implementation methods of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The present application can also be implemented or applied through other different specific implementation methods, 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 application. It should be noted that, in the absence of conflict, the following embodiments and the features in the embodiments can be combined with each other. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work belong to the scope of protection of the present application.
[0041] like Figure 1 As shown, an embodiment of the present invention provides a method for managing the configuration of a flight parameter collection and recording device, including:
[0042] A storage area A and a storage area B are respectively configured for the configuration file of each flight parameter collection and recording device, and a configuration file description header and a configuration file body are stored in both the storage area A and the storage area B; wherein the configuration file description header includes a magic number, a configuration file update sequence number, a configuration file length, a configuration file update time, a configuration file checksum, and a configuration file description header checksum field;
[0043] Read the configuration file description header from the storage area A and the storage area B respectively, determine whether the magic number field in the configuration file description header is a preset value, if so, determine whether the configuration file description header checksum field in the configuration file description header is correct, if so, read the configuration file body according to the configuration file length field in the configuration file description header;
[0044] Determine whether the configuration file checksum field in the configuration file description header is correct, and if so, record the configuration file update sequence number field in the configuration file description header in the local memory and mark the current storage area as read successfully.
[0045] Since the configuration management method of the embodiment of the present invention has no restrictions on the length and format of the data packet body, it can be applied to flight parameter collection and recording equipment. This configuration management method is power-off safe, and the power-off configuration file will remain in the latest state before the configuration update during the configuration update process.
[0046] Specifically, the general configuration file management method in the embodiment of the present invention has no restrictions on the length and format of the configuration file package, so it is easy to use in any type of flight parameter system configuration type;
[0047] Since the update area is not the currently effective area each time the file is written, if the update is not completed due to power failure during the update process, the last update will be detected to be incorrect during the power-on process, while the configuration content of the currently effective area is still valid. This ensures that the update process of the configuration file is safe during power failure and avoids affecting the power-on startup process.
[0048] In the specific implementation, firstly, for the configuration of each flight parameter collection and recording device, two independent storage areas are allocated in the non-volatile storage medium, namely storage area A and storage area B, and an independent copy of the configuration file is stored in each storage area. The configuration files stored in each configuration area are divided into a configuration file description header and a configuration file body. The configuration file description header is an area of fixed size, which contains a magic number, configuration file name, configuration file update sequence number, configuration file update time, configuration file length, configuration file checksum, and configuration file description header checksum field. The configuration file body is any data content defined by the user.
[0049] The configuration file in the non-volatile storage medium consists of Figure 2 shown.
[0050] During the power-on initialization process, the configuration file is attempted to be read from the configuration file storage area A and the configuration file storage area B. The currently effective storage area and configuration file update sequence number are determined according to the read results.
[0051] The reading process of storage area A and storage area B is as follows:
[0052] (1) Reading the configuration file description headers of storage area A and storage area B from the non-volatile storage medium respectively;
[0053] (2) Determine whether the magic number field in the configuration file description header is the preset value. If it is wrong, end the reading process and mark the reading failure;
[0054] (3) If it is determined that the magic number field in the configuration file description header is a preset value, then determine whether the configuration file description header checksum field in the configuration file description header is correct. If it is wrong, end the reading process and mark the reading failure;
[0055] (4) if it is determined that the configuration file description header checksum field in the configuration file description header is correct, then reading the configuration file body from the non-volatile storage medium according to the configuration file length field in the configuration file description;
[0056] (5) Determine whether the configuration file checksum field in the configuration file description header is correct. If it is wrong, end the reading process and mark the reading failure; if it is correct, record the configuration file update sequence number field in the configuration file description header in the local memory and mark the reading success.
[0057] In this embodiment, the initial value of the configuration file update sequence number in the configuration file description header is 0, and is accumulated by incrementing by 1 each time according to the number of successful configuration file writes.
[0058] In specific implementation, the reading results of the storage area A and the storage area B must satisfy one of the following conditions:
[0059] (1) If both the storage area A and the storage area B fail to be read, in this case, the storage area A and the storage area B are marked as currently ineffective storage areas, and the configuration file update sequence number in the local memory is set to 0;
[0060] (2) If the storage area A is read successfully and the storage area B is read unsuccessfully, the storage area A is marked as the currently effective storage area, and the configuration file update sequence number in the local memory is set to the configuration file update sequence number in the configuration file description header of the storage area A;
[0061] (3) If the storage area A fails to be read and the storage area B is successfully read, the storage area B is marked as the currently effective storage area, and the configuration file update sequence number in the local memory is set to the configuration file update sequence number in the configuration file description header of the storage area B;
[0062] (4) If both the storage area A and the storage area B are read successfully, determine whether the configuration file update sequence number in the configuration file description header of the storage area A is greater than the configuration file update sequence number in the configuration file description header of the storage area B. If so, mark the storage area A as the currently effective storage area, and set the configuration file update sequence number in the local memory to the configuration file update sequence number in the configuration file description header of the storage area A. If not, mark the storage area B as the currently effective storage area, and set the configuration file update sequence number in the local memory to the configuration file update sequence number in the configuration file description header of the storage area B.
[0063] In this embodiment, when writing a configuration file, a configuration file writing area should be selected first, and then the configuration file should be written in the writing area.
[0064] The selection of the area to which the configuration file is written is performed according to the following principles.
[0065] (1) If there is no valid configuration file area, that is, both storage area A and storage area B are not valid, a default is selected from storage area A and storage area B as the write area;
[0066] (2) If the current storage area A is a valid storage area, then select storage area B as the current write area;
[0067] (3) If the current storage area B is a valid storage area, then the storage area A is selected as the current writing area.
[0068] like Figure 3 As shown, the configuration file writing process should follow the following steps:
[0069] (1) Calculate the configuration file checksum, generate a configuration file description header, and increase the configuration file update sequence number in the configuration file description header by 1;
[0070] (2) Erasing the old configuration file content in the write area, writing a configuration file description header and a configuration file body in the write area respectively, marking the write area as the currently effective storage area, and updating the configuration file update number in the local memory to the configuration file update number in the configuration file description header of the write area.
[0071] According to the above reading and writing process, if the power is lost during the configuration file update process, the configuration file can be saved as the state before the configuration file update, that is, the configuration update process is power-off safe. When reading the configuration file, the reading process of storage area A and storage area B is executed from the currently effective storage. If the reading is successful, the configuration file body is the read configuration content.
[0072] Specifically, the purpose of setting up two storage areas for storage in the embodiment of the present invention is to:
[0073] Taking the current effective area as storage area A as an example, assuming that a write operation is performed now, then according to this write rule, the new write operation will be performed in storage area B.
[0074] According to the rule, the configuration file update number in the local memory is equal to the configuration file update number in storage area A. The configuration file update number written to storage area B is the configuration file update number in the memory plus 1, which is greater than the configuration file update number in storage area A.
[0075] Assume that there is no power failure during this writing process, that is, the writing operation of storage area B is updated. Then the configuration file update number in storage area B is greater than the configuration file number in storage area A. Therefore, after the next power-on, according to the initialization process, it will be detected that the configuration files in storage area A and storage area B are read successfully. According to the rules, area B with a larger configuration file update number in the configuration file description header is taken as the current effective area. Therefore, this configuration writing operation takes effect.
[0076] On the contrary, suppose that power is lost during this writing process, that is, the writing operation update of storage area B is not completed. Therefore, according to the initialization process at the next power-on, since the configuration file package content in the storage area is not completely written, the configuration file package checksum field is calculated incorrectly, so the configuration reading failure in storage area B is detected; and storage area A is not updated, so the configuration file in storage area A is still read successfully. According to the rules, storage area A is the current effective area. Therefore, the abnormally terminated configuration file writing operation is ignored.
[0077] In summary, the configuration file update process in the embodiment of the present invention is a power-off safe process.
[0078] like Figure 4 As shown, the present application also provides a flight parameter collection and recording equipment configuration management system 100, including:
[0079] Configuration module 101, configured to respectively configure storage area A and storage area B for the configuration file of each flight parameter collection and recording device, wherein the configuration file description header and the configuration file body are stored in both the storage area A and the storage area B; wherein the configuration file description header includes a magic number, a configuration file update sequence number, a configuration file checksum, and a configuration file description header checksum field;
[0080] The first analysis and processing module 102 is used to read the configuration file description header from the storage area A and the storage area B respectively, determine whether the magic number field in the configuration file description header is a preset value, and if so, determine whether the configuration file description header checksum field in the configuration file description header is correct, and if so, read the configuration file body according to the configuration file length field in the configuration file description header;
[0081] The second analysis and processing module 103 is used to determine whether the configuration file checksum field in the configuration file description header is correct. If so, the configuration file update sequence number field in the configuration file description header is recorded in the local memory and the current storage area is marked as read successfully.
[0082] In specific implementation, the second analysis and processing module 103 is further used for:
[0083] If the storage area A is read successfully and the storage area B is read unsuccessfully, the storage area A is marked as the currently effective storage area, and the configuration file update sequence number in the local memory is set to the configuration file update sequence number in the configuration file description header of the storage area A;
[0084] If the storage area A fails to read and the storage area B succeeds, the storage area B is marked as the currently effective storage area, and the configuration file update sequence number in the local memory is set to the configuration file update sequence number in the configuration file description header of the storage area B;
[0085] If both the storage area A and the storage area B are read successfully, determine whether the configuration file update sequence number in the configuration file description header of the storage area A is greater than the configuration file update sequence number in the configuration file description header of the storage area B. If so, mark the storage area A as the currently effective storage area, and set the configuration file update sequence number in the local memory to the configuration file update sequence number in the configuration file description header of the storage area A. If not, mark the storage area B as the currently effective storage area, and set the configuration file update sequence number in the local memory to the configuration file update sequence number in the configuration file description header of the storage area B.
[0086] If both the storage area A and the storage area B fail to be read, the storage area A and the storage area B are marked as currently ineffective storage areas, and the configuration file update sequence number in the local memory is set to 0.
[0087] This embodiment also includes a write processing module, which is used to select the currently ineffective storage area A or storage area B as the write area; calculate the configuration file checksum, generate a configuration file description header, and increase the configuration file update number in the configuration file description header by 1; erase the old configuration file content in the write area, write the configuration file description header and the configuration file body in the write area respectively, mark the write area as the currently effective storage area, and update the configuration file update number in the local memory to the configuration file update number in the configuration file description header of the write area.
[0088] In one embodiment, a computer device is provided, such as Figure 5 As shown, it includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the above-mentioned flight parameter collection and recording equipment configuration management method is implemented.
[0089] Specifically, the computer device may be a computer terminal, a server, a microprocessor or a similar computing device.
[0090] In this embodiment, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program for executing the above-mentioned flight parameter collection and recording device configuration management method.
[0091] Specifically, computer-readable storage media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer-readable storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0092] Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the embodiments of the present invention are not limited to any specific combination of hardware and software.
[0093] The above is only a specific implementation of the present application, but the protection scope of the present application 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 application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for managing the configuration of flight parameter collection and recording equipment, characterized in that: include: A storage area A and a storage area B are respectively configured for the configuration file of each flight parameter collection and recording device, and a configuration file description header and a configuration file body are stored in both the storage area A and the storage area B; wherein the configuration file description header includes a magic number, a configuration file update sequence number, a configuration file length, a configuration file update time, a configuration file checksum, and a configuration file description header checksum field; Read the configuration file description header from the storage area A and the storage area B respectively, determine whether the magic number field in the configuration file description header is a preset value, if so, determine whether the configuration file description header checksum field in the configuration file description header is correct, if so, read the configuration file body according to the configuration file length field in the configuration file description header; Determine whether the configuration file checksum field in the configuration file description header is correct, and if so, record the configuration file update sequence number field in the configuration file description header in the local memory and mark the current storage area as read successfully.
2. The method for managing the configuration of the flight parameter collection and recording equipment according to claim 1, characterized in that: Also includes: Determine whether the magic number field in the configuration file description header is a preset value, if not, end the reading process and mark the current storage area as failed to read; Determine whether the configuration file description header checksum field in the configuration file description header is correct, if not, end the reading process and mark the current storage area as failed to read; Determine whether the configuration file checksum field in the configuration file description header is correct. If not, end the reading process and mark the current storage area as failed to read.
3. The method for managing the configuration of the flight parameter collection and recording equipment according to claim 1, characterized in that: It also includes that the initial value of the configuration file update sequence number in the configuration file description header is 0, and is accumulated by adding 1 each time according to the number of successful configuration file writing.
4. The method for managing the configuration of the flight parameter collection and recording equipment according to claim 3, characterized in that: Also includes, If the storage area A is read successfully and the storage area B is read unsuccessfully, the storage area A is marked as the currently effective storage area, and the configuration file update sequence number in the local memory is set to the configuration file update sequence number in the configuration file description header of the storage area A; If the storage area A fails to read and the storage area B succeeds, the storage area B is marked as the currently effective storage area, and the configuration file update sequence number in the local memory is set to the configuration file update sequence number in the configuration file description header of the storage area B; If both the storage area A and the storage area B are read successfully, determine whether the configuration file update number in the configuration file description header of the storage area A is greater than the configuration file update number in the configuration file description header of the storage area B. If so, mark the storage area A as the currently effective storage area, and set the configuration file update number in the local memory to the configuration file update number in the configuration file description header of the storage area A. If not, mark the storage area B as the currently effective storage area, and set the configuration file update number in the local memory to the configuration file update number in the configuration file description header of the storage area B.
5. The method for managing the configuration of the flight parameter collection and recording equipment according to claim 4, characterized in that: Also includes, If both the storage area A and the storage area B fail to be read, the storage area A and the storage area B are marked as currently ineffective storage areas, and the configuration file update sequence number in the local memory is set to 0.
6. The method for managing the configuration of the flight parameter collection and recording equipment according to claim 4, characterized in that: Also includes, Select the currently ineffective storage area A or storage area B as the write area; Calculate the configuration file checksum, generate a configuration file description header, and increase the configuration file update sequence number in the configuration file description header by 1; Erase the old configuration file content in the write area, write the configuration file description header and the configuration file body in the write area respectively, mark the write area as the currently effective storage area, and update the configuration file update number in the local memory to the configuration file update number in the configuration file description header of the write area.
7. The method for managing the configuration of the flight parameter collection and recording equipment according to claim 1, characterized in that: The configuration file description header also includes configuration file name and configuration file update time fields.
8. A flight parameter collection and recording equipment configuration management system, characterized in that: include: A configuration module, used to configure storage area A and storage area B for the configuration files of each flight parameter collection and recording device, respectively, wherein the configuration file description header and the configuration file body are stored in the storage area A and the storage area B; wherein the configuration file description header includes a magic number, a configuration file update sequence number, a configuration file checksum, and a configuration file description header checksum field; A first analysis and processing module is used to read the configuration file description header from the storage area A and the storage area B respectively, determine whether the magic number field in the configuration file description header is a preset value, and if so, determine whether the configuration file description header checksum field in the configuration file description header is correct, and if so, read the configuration file body according to the configuration file length field in the configuration file description header; The second analysis and processing module is used to determine whether the configuration file checksum field in the configuration file description header is correct. If so, the configuration file update sequence number field in the configuration file description header is recorded in the local memory and the current storage area is marked as read successfully.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, it implements the flight parameter collection and recording equipment configuration management method described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for executing the flight parameter collection and recording equipment configuration management method according to any one of claims 1 to 7.
