An airborne data digital recording method based on a distributed database

By generating boundary anchoring results and adjusting the fragmentation mapping table during the state word switching in the flight phase, the problem of imprecise boundary relationships in airborne data records is solved, the accuracy and consistency of data phase division are achieved, and the reliability of data synchronization and traceability is improved.

CN122633763APending Publication Date: 2026-08-25SHAANXI STARS ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611104152.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-24
Publication Date
2026-08-25

AI Technical Summary

Technical Problem

Existing technologies, in airborne data recording based on distributed databases, do not express the boundary relationships at the moment of flight phase transitions with sufficient precision. This leads to a shift between the phase boundaries and the actual sampling boundaries, making data synchronization difficult and affecting data continuity and the reliability of phase attribution.

Method used

By monitoring the status word switching during the flight phase and generating boundary anchoring results, shard writing is paused, boundary communication frames are generated, and the sharding mapping table is adjusted based on the boundary anchoring results to ensure the accuracy and consistency of data phase division. Data acquisition is resumed after the freeze state is lifted.

Benefits of technology

It effectively reduced stage boundary offset, improved data synchronization consistency and stage attribution reliability, reduced boundary determination costs, and improved the accuracy of flight segment data tracing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122633763A_ABST
    Figure CN122633763A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of distributed database, specifically to an airborne data digital recording method based on distributed database, comprising the following steps: monitoring flight phase state word, switching to freeze writing and generating boundary sampling anchor point, boundary bus anchor point and target phase identifier, sending boundary frame, adjusting shard mapping after reaching boundary, unfreezing after checking consistency, sorting and checking continuity at the end of the flight segment, and forming the final shard mapping table, in the present application, the flight phase state word switching triggers collection freezing, and the boundary is anchored by the sampling serial number, bus frame incremental serial number and target phase identifier, so that the shard switching is consistent with the real sampling and message process, the data to be sent is pre-marked by the boundary anchor point, the shard mapping is adjusted after comparison by the local serial number on the writing side, and the collection is recovered through boundary consistency check, which can reduce phase mismatch, shard overlap and trace determination cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of distributed database technology, and in particular to an airborne data digital recording method based on a distributed database. Background Technology

[0002] The field of distributed database technology refers to the technology of distributing data across multiple nodes according to time, category, or source, and organizing data writing, reading, synchronization, and traceability through data sharding, replication records, transaction logs, timestamps, access verification, and node status maintenance. Its methods typically include establishing sharding rules, allocating storage nodes, recording the writing order, verifying data consistency, and maintaining the availability of nodes. Among them, the traditional airborne data digital recording method based on distributed databases refers to the method of digitally collecting, classifying, storing, and recording airborne data such as flight parameters, engine parameters, door status, navigation position, attitude data, alarm information, and airborne communication messages. The traditional method usually generates record fields based on the collection time, flight number, data source, equipment number, and data type, and writes the original message, parsed fields, timestamp, check code, and write log to different data tables or shard nodes, and completes the recording based on replica confirmation and log number.

[0003] Existing technologies mostly organize airborne data records based on collection time, flight number, data source, equipment number, and data type. In actual writing, the focus is more on data preservation, log tracking, and copy confirmation. The expression of boundary relationships at the moment of flight phase switching is not precise enough. Due to the differences in sampling frequency, arrival order, and writing rhythm of different airborne data sources, relying solely on timestamps, write logs, or conventional sharding rules to divide phases can easily cause the phase boundaries to deviate from the actual sampling boundaries. When the writing progress is inconsistent between distributed nodes, it is difficult to synchronously confirm the data ownership of the previous and subsequent phases. Adjacent shards may also have overlapping boundaries, missing boundaries, or unclear phase identification. When conducting flight segment review, alarm location, and data tracing, repeated cross-table and cross-node verification is required, which increases the cost of boundary determination and affects the continuity of data and the reliability of phase ownership. Summary of the Invention

[0004] To address the technical problems existing in the prior art, embodiments of the present invention provide an airborne data digital recording method based on a distributed database, comprising the following steps: S1. The airborne data acquisition controller monitors the flight phase status word in real time. When the status word switches from the current phase to the target phase, it enters the acquisition freeze state, stops writing the original fragmented data, and generates the boundary anchoring result. The boundary anchoring result includes the boundary sampling anchor point formed by the current sampling sequence number at the state word switching time, the boundary bus anchor point formed by the current bus frame increment sequence number at the state word switching time, and the target stage identifier. S2. Based on the boundary anchoring results, the data to be sent is divided into stages and marked to generate a boundary communication frame. The boundary communication frame carries the boundary sampling anchor point, the boundary bus anchor point, and the target stage identifier; S3. Based on the boundary communication frame, extract the boundary sampling anchor point, compare it with the last sampling sequence number written locally, and after confirming that the boundary has been reached, dynamically adjust the fragment mapping table to generate a fragment mapping result with the previous fragment as the termination point and the target stage as the start point. S4. Generate boundary confirmation results based on the segmentation mapping results. Perform consistency verification between the boundary confirmation results and the boundary anchoring results and the segmentation mapping results respectively. If the verification is consistent, the acquisition freeze state is lifted. If the verification is inconsistent, the acquisition freeze state is maintained and the boundary communication frame is regenerated. S5. At the end of the flight or the end of the flight segment, read all the segment mapping results, sort them according to the segment starting sampling number and verify the continuity of adjacent segments, and generate the final segment mapping table arranged continuously according to the flight stage.

[0005] As a further aspect of the present invention, the target stage identifier is generated by the switched flight stage status word and written into the boundary anchoring result as an associated field of the boundary sampling anchor point and the boundary bus anchor point in the same status word switching event.

[0006] As a further aspect of the present invention, the acquisition freeze state includes pausing the merging of new sampled data after the status word switch into the ordinary sampled buffer corresponding to the original segment, and ensuring that the boundary sampled anchor point and the boundary bus anchor point are not covered by subsequent regular sampled data.

[0007] As a further aspect of the present invention, in step S2, when generating a boundary communication frame, a transmission completion flag used to characterize whether the previous data frame to be sent has been sent is read. When the transmission completion flag indicates that the previous data frame to be sent has not yet been sent, the existing data content in the previous data frame to be sent remains unchanged, and the boundary sampling anchor point, the boundary bus anchor point, and the target stage identifier are written into the frame header boundary area of ​​the next data frame to be sent, so that the next data frame to be sent forms a boundary communication frame.

[0008] As a further embodiment of the present invention, the transmission completion flag indicates that the previous data frame to be transmitted has been completed, a new boundary communication frame is generated, and the boundary sampling anchor point, boundary bus anchor point, target stage identifier, sampling batch number and sending end incrementing number are written into the frame header of the boundary communication frame.

[0009] As a further aspect of the present invention, based on the boundary sampling anchor point carried by the boundary communication frame, the sampling sequence number in the data to be transmitted is divided into stages; data with a sampling sequence number earlier than the boundary sampling anchor point is marked as data of the previous stage, and data with a sampling sequence number not earlier than the boundary sampling anchor point is marked as data of the target stage, and the stage division mark is encapsulated into the boundary communication frame along with the corresponding data payload.

[0010] As a further aspect of the present invention, in step S3, before adjusting the fragment mapping table, the boundary sampling anchor point is compared with the last successfully written sampling sequence number, the boundary bus anchor point is compared with the last successfully written bus frame increment sequence number, and the two comparison results are used to jointly determine whether the writing position has reached the flight phase switching boundary.

[0011] As a further aspect of the present invention, in step S3, when the last successfully written sampling sequence number reaches the previous sampling position corresponding to the boundary sampling anchor point, and the last successfully written bus frame increment sequence number reaches the previous bus frame position corresponding to the boundary bus anchor point, it is confirmed that the writing position has reached the flight phase switching boundary. The sampling sequence number that has been successfully written before the boundary sampling anchor point is determined as the previous segment termination sampling sequence number, the boundary sampling anchor point is determined as the target phase segment start sampling sequence number, and the target phase identifier and the corresponding storage node number are written into the target phase segment mapping item.

[0012] As a further aspect of the present invention, in step S4, the boundary confirmation result includes a target stage identifier, a target stage fragmentation start sampling sequence number, and a storage node number. When performing consistency verification on the boundary confirmation result, the target stage identifier in the boundary confirmation result is compared with the target stage identifier in the boundary anchoring result, the target stage fragmentation start sampling sequence number is compared with the boundary sampling anchor point, and the storage node number is compared with the storage node number in the target stage fragmentation mapping item. The target stage identifier and the target stage fragmentation start sampling sequence number are used to verify the consistency between the boundary confirmation result and the boundary anchoring result, and the storage node number is used to verify the consistency between the boundary confirmation result and the fragmentation mapping result.

[0013] As a further embodiment of the present invention, in step S4, when the comparison results of the target stage identifier, the target stage segmentation start sampling sequence number, and the storage node number are all consistent, the boundary confirmation result is determined to be consistent with the boundary anchoring result and the segmentation mapping result. The acquisition freeze state is lifted, and the subsequent sampling data is marked with the target stage identifier. When any comparison result is inconsistent, the boundary confirmation result is determined to be inconsistent with the boundary anchoring result or the segmentation mapping result. The boundary anchoring result remains unchanged, and a new boundary communication frame carrying the boundary sampling anchor point, the boundary bus anchor point, and the target stage identifier is generated.

[0014] Compared with the prior art, the advantages and positive effects of the present invention are as follows: In this invention, the switching of the flight phase status word is used as the trigger condition. At the moment of switching, the writing of the original fragment is paused. The phase boundary is anchored by the current sampling sequence number, the current bus frame increment sequence number, and the target phase identifier. This ensures that the boundary position directly corresponds to the actual sampling process and the bus message process, reducing the offset caused by inference based solely on time or logs. The data to be sent is divided and marked according to the boundary sampling anchor point. Data before and after the boundary forms a clear attribution before transmission, suppressing cross-phase data from mixing into the same fragment. The writing side compares the boundary communication frame with the locally written successful sequence number. After confirming that the boundary has been reached, the fragment mapping table is adjusted to keep the termination position of the previous fragment continuous with the starting position of the target phase. Subsequent acquisition is only resumed when the boundary confirmation result is consistent with the boundary anchoring result and the fragment mapping result, respectively. If they are inconsistent, the data is frozen and the boundary information is retransmitted. This reduces phase mismatch caused by differences in node writing progress, communication anomalies, or mapping deviations. At the end of the flight segment, the data is sorted by the starting sampling sequence number and the adjacent continuity is verified, improving the reliability of phase attribution, the efficiency of boundary determination, and the accuracy of flight data traceability. Attached Figure Description

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

[0016] Figure 1 This is a schematic diagram of the steps of the present invention. Detailed Implementation

[0017] The technical solution of the present invention will now be described with reference to the accompanying drawings.

[0018] In embodiments of the present invention, words such as "exemplarily," "for example," etc., are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" in the present invention should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present the concept in a concrete manner. Furthermore, in embodiments of the present invention, the meaning expressed by "and / or" can be both, or either one.

[0019] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.

[0020] Please see Figure 1 This invention provides an airborne data digital recording method based on a distributed database, comprising the following steps: S1. The airborne data acquisition controller monitors the flight phase status word in real time. When the status word switches from the current phase to the target phase, it enters the acquisition freeze state, stops writing the original fragmented data, and generates the boundary anchoring result.

[0021] The airborne data acquisition controller monitors the flight phase status word in real time. In each sampling period, it reads the current flight phase status word, the current sampling sequence number, and the current bus frame increment sequence number, and compares the current flight phase status word with the flight phase status word temporarily stored in the previous sampling period. When the current flight phase status word matches the flight phase status word temporarily stored in the previous sampling period, the current sampling sequence number, the current bus frame increment sequence number, and the current flight phase status word are processed as the regular sampling data corresponding to the original segment.

[0022] When the current flight phase status word is inconsistent with the flight phase status word temporarily stored in the previous sampling period, it is determined that the status word has switched from the current phase to the target phase. The airborne data acquisition controller enters the acquisition freeze state, stops writing the original fragmented data, and generates boundary anchoring results. The boundary anchoring results include the boundary sampling anchor point formed by the current sampling sequence number at the time of status word switching, the boundary bus anchor point formed by the incremental sequence number of the current bus frame at the time of status word switching, and the target phase identifier.

[0023] The target phase identifier is generated by the switched flight phase status word. The boundary sampling anchor point, boundary bus anchor point, and target phase identifier are written as associated fields of the same status word switching event into the boundary anchoring result. The boundary anchoring result is used for subsequent phase division marking, boundary communication frame generation, fragment mapping table adjustment, and boundary confirmation result verification.

[0024] The acquisition freeze state includes pausing the merging of new sampled data after the status word switch into the ordinary sampled buffer corresponding to the original fragment, and ensuring that the boundary sampled anchor point and boundary bus anchor point are not overwritten by subsequent regular sampled data. The ordinary sampled buffer is a buffer area used to temporarily store the original fragment data before the status word switch. The sampling sequence number and bus frame increment sequence number generated by subsequent regular sampled data do not update the already formed boundary anchoring results.

[0025] S2. Based on the boundary anchoring results, the data to be sent is divided into stages and marked to generate boundary communication frames.

[0026] When generating a boundary communication frame, the transmission completion flag, which indicates whether the previous data frame to be sent has been sent, is read. The previous data frame to be sent is a data frame that was already in the process of being sent or had entered the transmission queue before the boundary communication frame was generated. The next data frame to be sent is a data frame that entered the transmission queue after the previous data frame to be sent. The transmission completion flag is generated based on the transmission status of the previous data frame to be sent in the airborne record communication link.

[0027] When the transmission completion flag indicates that the previous data frame to be transmitted has not yet finished transmitting, the existing data content in the previous data frame to be transmitted remains unchanged, and the boundary sampling anchor point, boundary bus anchor point and target stage identifier are written into the frame header boundary area of ​​the next data frame to be transmitted, so that the next data frame to be transmitted forms a boundary communication frame.

[0028] When the transmission completion flag indicates that the previous data frame to be transmitted has finished being transmitted, a new boundary communication frame is generated. The boundary sampling anchor point, boundary bus anchor point, target stage identifier, sampling batch number, and sender incrementing number are written into the frame header of the boundary communication frame. The sampling batch number is generated according to the sampling batch to which the data to be transmitted belongs, and the sender incrementing number is generated according to the transmission order of the boundary communication frame or the data frame to be transmitted.

[0029] Based on the boundary sampling anchor points carried in the boundary communication frames, the sampling sequence numbers in the data to be transmitted are divided into stages. Data with sampling sequence numbers earlier than the boundary sampling anchor points are marked as data of the previous stage, and data with sampling sequence numbers no earlier than the boundary sampling anchor points are marked as data of the target stage. The stage division marks are then encapsulated into the boundary communication frames along with the corresponding data payloads.

[0030] S3. Based on the boundary communication frame, extract the boundary sampling anchor point, compare it with the last sampling sequence number already written locally, and after confirming that the boundary has been reached, dynamically adjust the fragment mapping table to generate a fragment mapping result with the previous fragment as the termination point and the target stage as the start point.

[0031] Before adjusting the sharding mapping table, the boundary sampling anchor point is compared with the last successfully written sampling sequence number, and the boundary bus anchor point is compared with the last successfully written bus frame increment sequence number. The last successfully written bus frame increment sequence number is the bus frame increment sequence number corresponding to the last record successfully written during the distributed database writing process. The two comparison results are used together to determine whether the write position has reached the flight phase switching boundary.

[0032] When the last successfully written sample number has not yet reached the previous sample position corresponding to the boundary sample anchor point, or the last successfully written bus frame increment number has not yet reached the previous bus frame position corresponding to the boundary bus anchor point, the write position is within the range of the previous stage data. The fragment mapping table maintains the current fragment correspondence and writes the record marked as the previous stage data to the current fragment. The temporary termination position of the current fragment is recorded as the last successfully written sample number.

[0033] When the last successfully written sample number reaches the previous sample position corresponding to the boundary sampling anchor point, and the last successfully written bus frame increment number reaches the previous bus frame position corresponding to the boundary bus anchor point, and it is confirmed that the write position has reached the flight phase switching boundary, the fragment mapping table is dynamically adjusted. The successfully written sample number before the boundary sampling anchor point is determined as the previous fragment termination sampling number, the boundary sampling anchor point is determined as the target phase fragment start sampling number, and the target phase identifier and the corresponding storage node number are written into the target phase fragment mapping item.

[0034] The storage node number is the number of the distributed database storage node that performs the target stage sharding write, or the storage node number registered for the target stage sharding in the sharding mapping table. The target stage sharding mapping item is the mapping item in the sharding mapping result that describes the starting position of the target stage sharding, the target stage identifier, and the storage node number.

[0035] Through the above processing, a fragment mapping result is generated that terminates with the previous fragment and starts with the target stage fragment. The fragment mapping result includes the sampling sequence number of the previous fragment termination, the sampling sequence number of the target stage fragment start, the target stage identifier, and the storage node number.

[0036] S4. Generate boundary confirmation results based on the segmentation mapping results. Perform consistency verification between the boundary confirmation results and the boundary anchoring results and the segmentation mapping results respectively. If the verification is consistent, the acquisition freeze state is lifted. If the verification is inconsistent, the acquisition freeze state is maintained and the boundary communication frame is regenerated.

[0037] Based on the sharding mapping results, a boundary confirmation result is generated. The boundary confirmation result includes the target stage identifier, the target stage sharding start sampling sequence number, and the storage node number. The target stage identifier is derived from the target stage identifier registered in the target stage sharding mapping item, the target stage sharding start sampling sequence number is derived from the sharding start sampling sequence number registered in the target stage sharding mapping item, and the storage node number is derived from the node number returned by the distributed database storage node that performs the target stage sharding write. The boundary confirmation result is used to verify the data correspondence between the boundary anchoring result and the sharding mapping result.

[0038] When performing consistency verification on the boundary confirmation results, the following comparisons are performed: target stage identifier comparison, fragment start sampling sequence number comparison, and storage node number comparison. Specifically, the target stage identifier comparison compares the target stage identifier in the boundary confirmation result with the target stage identifier in the boundary anchoring result; the fragment start sampling sequence number comparison compares the target stage fragment start sampling sequence number in the boundary confirmation result with the boundary sampling anchor point; and the storage node number comparison compares the storage node number in the boundary confirmation result with the storage node number in the target stage fragment mapping item. The target stage identifier comparison and fragment start sampling sequence number comparison are used to verify the consistency between the boundary confirmation result and the boundary anchoring result, while the storage node number comparison is used to verify the consistency between the boundary confirmation result and the fragment mapping result.

[0039] When the comparison results of the target stage identifier, the comparison results of the fragmentation start sampling sequence number, and the comparison results of the storage node number are all consistent, the boundary confirmation result, the boundary anchoring result, and the fragmentation mapping result are all consistent. The data collection freeze state is lifted, and the subsequent sampling data is marked with the target stage identifier. The subsequent sampling data is the sampling data generated after the data collection freeze state is lifted and enters the recording process. The stage mark is used to make the subsequent sampling data belong to the data recording range corresponding to the target stage.

[0040] If any of the following comparison results is inconsistent: target stage identifier comparison result, fragmentation start sampling sequence number comparison result, and storage node number comparison result, the boundary confirmation result is determined to be inconsistent with the boundary anchoring result or fragmentation mapping result. The acquisition is frozen, the boundary anchoring result remains unchanged, and a new boundary communication frame carrying the boundary sampling anchor point, boundary bus anchor point, and target stage identifier is generated. The regenerated boundary communication frame still uses the original boundary anchoring result as the data basis, so that subsequent stage division markers and fragmentation mapping table adjustments continue to be executed around the same status word switching event.

[0041] While keeping the boundary anchoring results unchanged, the boundary sampling anchor, boundary bus anchor, and target stage identifier are not updated by subsequent regular sampling data. The sampling sequence number and bus frame increment sequence number generated by subsequent regular sampling data do not replace the already formed boundary sampling anchor and boundary bus anchor. As a result, the regenerated boundary communication frame still carries the boundary anchoring results consistent with the initial state word switching time.

[0042] S5. At the end of the flight or the end of the flight segment, read all the segment mapping results, sort them according to the segment starting sampling number and verify the continuity of adjacent segments, and generate the final segment mapping table arranged continuously according to the flight stage.

[0043] At the end of the flight or flight segment, all fragment mapping results are read. The entire fragment mapping result includes fragment mapping items corresponding to each flight stage. Each fragment mapping item includes the corresponding stage identifier, the fragment start sampling sequence number, the fragment end sampling sequence number, and the storage node number. The corresponding stage identifier in the target stage fragment mapping item is the target stage identifier. All fragment mapping results are sorted according to the fragment start sampling sequence number to obtain a sequence of fragment mapping items arranged in the order of sampling.

[0044] After sorting, the continuity of adjacent slices in the slice mapping item sequence is checked. The previous slice's ending sampling number and the next slice's starting sampling number are read from two adjacent slice mapping items. The next sampling position of the previous slice's ending sampling number is compared with the next slice's starting sampling number. When the next sampling position of the previous slice's ending sampling number is consistent with the next slice's starting sampling number, the adjacent slice relationship is marked as continuous.

[0045] When the next sampling position of the current segment's termination sampling sequence number is inconsistent with the starting sampling sequence number of the next segment, the boundary communication frame corresponding to the adjacent segment is read. The corresponding boundary communication frame is the boundary communication frame corresponding to the flight phase switching event between two adjacent segments. The boundary sampling anchor point carried by it corresponds to the starting sampling sequence number of the next segment or the starting sampling sequence number of the target phase segment. The boundary sampling anchor point and the boundary bus anchor point are read from this boundary communication frame.

[0046] After reading the boundary sampling anchor point and the boundary bus anchor point, the boundaries of adjacent segments are verified based on the boundary sampling anchor point. If the ending sampling sequence number of the previous segment does not correspond to the previous sampling position corresponding to the boundary sampling anchor point, the ending sampling sequence number of the previous segment is corrected to the previous sampling position corresponding to the boundary sampling anchor point. If the starting sampling sequence number of the next segment does not correspond to the boundary sampling anchor point, the starting sampling sequence number of the next segment is corrected to the boundary sampling anchor point, and the storage node number corresponding to the corrected segment is recorded.

[0047] After correcting the boundaries of adjacent segments, the segment mapping results are arranged again according to the segment start sampling sequence number. The continuity of the previous segment end sampling sequence number and the next segment start sampling sequence number of adjacent segments is checked. When the next sampling position of the previous segment end sampling sequence number is consistent with the next segment start sampling sequence number, the corrected adjacent segment relationship is written into the final segment mapping table.

[0048] A final fragment mapping table is generated, which is arranged continuously according to the flight phase. The final fragment mapping table includes the corresponding phase identifier, the fragment start sampling sequence number, the fragment end sampling sequence number, and the storage node number. The corresponding phase identifier in the final fragment mapping table record for the target phase is the target phase identifier. The final fragment mapping table is used to perform phased positioning and back reading of the airborne data digital recording results according to the flight phase.

[0049] The above description is merely a specific 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 method for airborne digital recording of data based on a distributed database, characterized in that, Includes the following steps: S1. The airborne data acquisition controller monitors the flight phase status word in real time. When the status word switches from the current phase to the target phase, it enters the acquisition freeze state, stops writing the original fragmented data, and generates the boundary anchoring result. The boundary anchoring result includes the boundary sampling anchor point formed by the current sampling sequence number at the state word switching time, the boundary bus anchor point formed by the current bus frame increment sequence number at the state word switching time, and the target stage identifier. S2. Based on the boundary anchoring results, the data to be sent is divided into stages and marked to generate a boundary communication frame. The boundary communication frame carries the boundary sampling anchor point, the boundary bus anchor point, and the target stage identifier; S3. Based on the boundary communication frame, extract the boundary sampling anchor point, compare it with the last sampling sequence number written locally, and after confirming that the boundary has been reached, dynamically adjust the fragment mapping table to generate a fragment mapping result with the previous fragment as the termination point and the target stage as the start point. S4. Generate boundary confirmation results based on the segmentation mapping results. Perform consistency verification between the boundary confirmation results and the boundary anchoring results and the segmentation mapping results respectively. If the verification is consistent, the acquisition freeze state is lifted. If the verification is inconsistent, the acquisition freeze state is maintained and the boundary communication frame is regenerated. S5. At the end of the flight or the end of the flight segment, read all the segment mapping results, sort them according to the segment starting sampling number and verify the continuity of adjacent segments, and generate the final segment mapping table arranged continuously according to the flight stage.

2. The method for airborne digital recording of data based on a distributed database according to claim 1, characterized in that, The target phase identifier is generated by the switched flight phase status word and written into the boundary anchoring result as an associated field of the boundary sampling anchor point and the boundary bus anchor point in the same status word switching event.

3. The method for airborne digital recording of data based on a distributed database according to claim 1, characterized in that, The acquisition freeze state includes pausing the merging of new sampled data after the status word switch into the normal sampled buffer corresponding to the original segment, and ensuring that the boundary sampled anchor point and boundary bus anchor point are not overwritten by subsequent normal sampled data.

4. The method for airborne digital recording of data based on a distributed database according to claim 1, characterized in that, In step S2, when generating a boundary communication frame, the transmission completion flag used to characterize whether the previous data frame to be sent has been sent is read. When the transmission completion flag indicates that the previous data frame to be sent has not been sent, the existing data content in the previous data frame to be sent remains unchanged, and the boundary sampling anchor point, boundary bus anchor point and target stage identifier are written into the frame header boundary area of ​​the next data frame to be sent, so that the next data frame to be sent forms a boundary communication frame.

5. The airborne data digital recording method based on a distributed database according to claim 4, characterized in that, The transmission completion flag indicates that the previous data frame to be transmitted has been completed. A new boundary communication frame is generated, and the boundary sampling anchor point, boundary bus anchor point, target stage identifier, sampling batch number, and sending end incrementing sequence number are written into the frame header of the boundary communication frame.

6. The airborne data digital recording method based on a distributed database according to claim 1, characterized in that, Based on the boundary sampling anchor points carried in the boundary communication frame, the sampling sequence number in the data to be transmitted is divided into stages; data with sampling sequence numbers earlier than the boundary sampling anchor points are marked as data of the previous stage, and data with sampling sequence numbers no earlier than the boundary sampling anchor points are marked as data of the target stage, and the stage division mark is encapsulated into the boundary communication frame along with the corresponding data payload.

7. The method for airborne digital recording of data based on a distributed database according to claim 1, characterized in that, In step S3, before adjusting the fragment mapping table, the boundary sampling anchor point is compared with the last successfully written sampling sequence number, and the boundary bus anchor point is compared with the last successfully written bus frame increment sequence number. Based on the two comparison results, it is determined whether the writing position has reached the flight phase switching boundary.

8. The method for airborne digital recording of data based on a distributed database according to claim 7, characterized in that, In step S3, when the last successfully written sampling sequence number reaches the previous sampling position corresponding to the boundary sampling anchor point, and the last successfully written bus frame increment sequence number reaches the previous bus frame position corresponding to the boundary bus anchor point, it is confirmed that the writing position has reached the flight phase switching boundary. The sampling sequence number that has been successfully written before the boundary sampling anchor point is determined as the previous segment termination sampling sequence number, the boundary sampling anchor point is determined as the target phase segment start sampling sequence number, and the target phase identifier and the corresponding storage node number are written into the target phase segment mapping item.

9. The method for airborne digital recording of data based on a distributed database according to claim 1, characterized in that, In step S4, the boundary confirmation result includes the target stage identifier, the target stage fragmentation start sampling sequence number, and the storage node number. When performing consistency verification on the boundary confirmation result, the target stage identifier in the boundary confirmation result is compared with the target stage identifier in the boundary anchoring result, the target stage fragmentation start sampling sequence number is compared with the boundary sampling anchor point, and the storage node number is compared with the storage node number in the target stage fragmentation mapping item. Among them, the target stage identifier and the target stage fragmentation start sampling sequence number are used to verify the consistency between the boundary confirmation result and the boundary anchoring result, and the storage node number is used to verify the consistency between the boundary confirmation result and the fragmentation mapping result.

10. The method for airborne digital recording of data based on a distributed database according to claim 9, characterized in that, In step S4, when the comparison results of the target stage identifier, the target stage segmentation start sampling sequence number, and the storage node number are all consistent, the boundary confirmation result is determined to be consistent with the boundary anchoring result and the segmentation mapping result. The collection freeze state is lifted, and subsequent sampling data is marked with the target stage identifier. When any comparison result is inconsistent, the boundary confirmation result is determined to be inconsistent with the boundary anchoring result or the segmentation mapping result. The boundary anchoring result remains unchanged, and a new boundary communication frame carrying the boundary sampling anchor point, the boundary bus anchor point, and the target stage identifier is generated.