QAR data processing method, system and device based on HDF5 and medium
By dynamically parsing HDF5 files and generating a JSON database, real-time analysis and fault prediction of QAR data are achieved, solving the problem of low efficiency in traditional methods and improving the efficiency and effectiveness of data monitoring.
Patent Information
- Application Number
- CN202511128020.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-13
- Publication Date
- 2025-11-25
AI Technical Summary
Traditional QAR data processing methods struggle to automatically respond to real-time data changes or update monitoring standards instantly, limiting the system's ability to identify trends and patterns, and are particularly inefficient when processing large-scale HDF5 files.
By parsing HDF5 files, dynamically executing preset event scripts, generating a JSON database, and reading JSON files in parallel, real-time analysis and fault prediction can be achieved, improving data monitoring efficiency.
It enables real-time analysis of QAR data, quickly identifies key events, improves fault prediction and monitoring efficiency, and breaks through the time and efficiency limitations of traditional methods.
Smart Images

Figure CN121009060A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a QAR data processing method, system, device and medium based on HDF5. Background Technology
[0002] Domestic airlines widely use Quick Access Recorders (QARs) to record data generated during flight. In-depth analysis of QAR data allows for effective monitoring of aircraft equipment status and timely diagnosis of potential equipment malfunctions, which is crucial for improving flight safety.
[0003] Different users and application scenarios have different data processing needs. Due to the complex structure and large volume of QAR data, HDF5 (Hierarchical Data Format version 5) is generally used to store and process QAR data. By processing and analyzing the generated HDF5 files, the conditions and patterns of fault occurrence can be identified.
[0004] However, traditional QAR data processing methods have limitations. They can only detect a single HDF5 file and are unable to automatically respond to real-time data changes or update monitoring standards in a timely manner, thus limiting the system's ability to identify trends and patterns. Summary of the Invention
[0005] To address or at least partially address the aforementioned technical problems, embodiments of this application provide a QAR data processing method, system, device, and medium based on HDF5. By parsing HDF5 files, QAR data streams are analyzed in real time. During the parsing process, key events can be quickly identified and triggered, enabling effective fault prediction, monitoring, and troubleshooting, thereby improving the efficiency and effectiveness of QAR data monitoring.
[0006] This invention provides a QAR data processing method based on HDF5, comprising:
[0007] Obtain the HDF5 file generated from the QAR data;
[0008] According to the preset event script, the HDF5 file is dynamically parsed to obtain configuration data and corresponding QAR parameter data;
[0009] Based on the configuration data, the QAR parameter data is stored to obtain several JSON files, forming a JSON database;
[0010] Based on the query requirements, the JSON file corresponding to the query requirements is read in parallel from the JSON database to obtain the query results.
[0011] As an improvement to the above solution, the step of dynamically parsing the HDF5 file according to a preset event script to obtain configuration data and corresponding QAR parameter data includes:
[0012] The HDF5 file is parsed to obtain the first QAR parameter data; the first QAR parameter data includes flight characteristics and event information;
[0013] When the first QAR parameter data meets the preset event triggering condition, the preset event script corresponding to the preset event triggering condition is dynamically executed according to the first QAR parameter data to obtain the second QAR parameter data; the second QAR parameter data includes the event triggering result;
[0014] The preset event script is updated based on the first QAR parameter data and the second QAR parameter data to obtain configuration data and QAR parameter data.
[0015] As an improvement to the above solution, the step of parsing the HDF5 file to obtain the first QAR parameter data includes:
[0016] The HDF5 file is parsed to obtain configuration data, flight data, aircraft registration data, and specific component parameters corresponding to event triggers based on the parsed content.
[0017] Based on the configuration data, the flight data, and the aircraft registration data, flight characteristics are generated;
[0018] Based on the specific component parameters corresponding to the event trigger, the event information is obtained;
[0019] Based on the flight characteristics and the event information, the first QAR parameter data is obtained.
[0020] As an improvement to the above solution, when the first QAR parameter data meets the preset event triggering condition, the second QAR parameter data is obtained by dynamically executing the preset event script corresponding to the preset event triggering condition based on the first QAR parameter data, including:
[0021] When the first QAR parameter data meets the preset event triggering condition, the parsing of the HDF5 file is interrupted and the interruption position is recorded.
[0022] Generate the current feature based on the first QAR data;
[0023] The current feature is input into a preset event script corresponding to the preset event triggering condition, and the preset event script is executed dynamically to obtain at least one event triggering result, which is used as the second QAR parameter data;
[0024] After the preset event script is executed, if the HDF5 file has not been parsed completely, the parsing of the HDF5 file will continue from the interrupted position.
[0025] As an improvement to the above scheme, the step of updating the preset event script based on the first QAR parameter data and the second QAR parameter data to obtain configuration data and QAR parameter data includes:
[0026] Obtain the default event triggering result of the preset event script, and compare the default event triggering result with the second QAR parameter data;
[0027] Based on the comparison results, update the default event trigger script of the preset event script;
[0028] Update the preset event triggering conditions in the preset event script based on the first QAR parameter data;
[0029] Obtain the same configuration data from the first QAR parameter data and the second QAR parameter data, and obtain the QAR parameter data according to the timing of the first QAR parameter data and the second QAR parameter data.
[0030] As an improvement to the above solution, the step of storing the QAR parameter data according to the configuration data to obtain several JSON files and forming a JSON database includes:
[0031] When the amount of QAR parameter data exceeds a preset data volume threshold, the QAR parameter data is compressed.
[0032] Based on the first character of the QAR parameter data, create several empty JSON files;
[0033] Based on the configuration data, the QAR parameter data is stored in several empty JSON files to obtain several JSON files, forming a JSON database.
[0034] As an improvement to the above solution, the step of reading the JSON file corresponding to the query requirement from the JSON database in parallel to obtain the query results includes:
[0035] Based on the query requirements, the query configuration data and query fields are obtained; the query fields correspond to the QAR parameter data.
[0036] Based on the query configuration data, select a first JSON file from the JSON database;
[0037] In the first JSON file, the query fields are read in parallel to obtain the query results.
[0038] This invention also provides a QAR data processing system based on HDF5, comprising:
[0039] The HDF5 file acquisition module is used to acquire HDF5 files generated from QAR data.
[0040] The HDF5 file parsing module is used to dynamically parse the HDF5 file according to a preset event script to obtain configuration data and corresponding QAR parameter data.
[0041] The JSON database construction module is used to store the QAR parameter data according to the configuration data, obtain several JSON files, and form a JSON database;
[0042] The data query module is used to read the JSON file corresponding to the query requirement from the JSON database in parallel to obtain the query result.
[0043] This invention also provides a QAR data processing device based on HDF5, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the QAR data processing method based on HDF5 as described above.
[0044] This invention also provides a computer-readable storage medium comprising a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the HDF5-based QAR data processing method as described above.
[0045] Compared with existing technologies, this invention discloses a QAR data processing method, system, device, and medium based on HDF5. The method involves acquiring an HDF5 file generated from QAR data; dynamically parsing the HDF5 file according to a preset event script to obtain configuration data and corresponding QAR parameter data; storing the QAR parameter data based on the configuration data to obtain several JSON files, forming a JSON database; and reading the JSON file corresponding to the query requirement in parallel from the JSON database to obtain the query result. Using this embodiment, real-time analysis of QAR data streams is performed by parsing HDF5 files. During the parsing process, key events can be quickly identified and triggered, enabling effective fault prediction, monitoring, and troubleshooting, thus improving the efficiency and effectiveness of QAR data monitoring. Attached Figure Description
[0046] Figure 1 This is a flowchart illustrating the steps of a QAR data processing method based on HDF5 provided in an embodiment of the present invention.
[0047] Figure 2 This is a schematic diagram of the structure of a QAR data processing system based on HDF5 provided in an embodiment of the present invention;
[0048] Figure 3 This is a schematic diagram of the structure of a QAR data processing device based on HDF5 provided in an embodiment of the present invention. Detailed Implementation
[0049] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0050] In the description and claims, it should be understood that the terms "first," "second," etc., used in the description and claims are only for the purpose of distinguishing the description of the same technical features, and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated, nor necessarily the order of description or chronological order. The terms are interchangeable where appropriate. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature.
[0051] In-depth analysis and application of QAR data can enhance the ability to predict flight safety, thus becoming a key means of preventing flight safety accidents. With the advancement of information technology and decision support systems, how to efficiently utilize QAR data for flight and fault analysis, and identify the conditions and patterns of fault occurrence, is of great strategic significance for ensuring flight safety.
[0052] In existing technologies, reading HDF5 files ranging from tens to hundreds of megabytes and parsing them into data that can be quickly recognized by the program is inefficient because the original system cannot perform file segmentation and concurrent reading of multiple files. Furthermore, large-scale flight verification of historical data requires reading and parsing a large number of HDF5 files, which makes the program run particularly time-consuming.
[0053] Based on the above considerations, this invention provides a QAR data processing method based on HDF5. Please refer to... Figure 1 In this embodiment, the HDF5-based QAR data processing method is specifically executed through steps S1 to S4:
[0054] S1. Obtain the HDF5 file generated from the QAR data.
[0055] It should be noted that QAR data can be stored in formats such as HDF5, Parquet, and CSV in different application scenarios. Currently, methods for processing and parsing HDF5 files are not well-suited for processing large and complex flight data. This invention proposes a QAR data processing method based on HDF5 for handling HDF5 file formats.
[0056] S2. According to the preset event script, dynamically parse the HDF5 file to obtain configuration data and corresponding QAR parameter data.
[0057] It should be noted that the preset event scripts are written for different events. Each preset event script corresponds to a set of events that a component may experience or a specific event, such as engine temperature events or a set of events for the low-pressure turbine. By changing the parameters in the preset event scripts, different compilation results may be obtained.
[0058] It should also be noted that in existing technologies, when parsing HDF5 files, the aircraft's binary file is fully decoded and stored in a database. Events and trait value scripts in the database are then triggered sequentially, resulting in some events failing to trigger in real time. However, this invention, through a preset event script, can monitor event triggering and populate the relevant parameters obtained during parsing into the preset event script as needed, dynamically calculating the script results.
[0059] S3. Based on the configuration data, store the QAR parameter data to obtain several JSON files, forming a JSON database.
[0060] In this embodiment of the invention, QAR parameter data is stored by generating a JSON file to shorten the reading time of the HDF5 file. Traditional methods require reading and parsing the HDF5 file one by one, while the solution of this application can read the contents of the JSON file in parallel when reading relevant content. Moreover, the JSON file is obtained by dynamically parsing the HDF5 file, which can extract the parameter data corresponding to the real-time triggered event, and has higher accuracy than traditional methods.
[0061] S4. Based on the query requirements, read the JSON file corresponding to the query requirements from the JSON database in parallel to obtain the query results.
[0062] It should be noted that when performing operations such as event processing and flight comparison, multiple JSON files for the same flight can be read on demand and multiple files can be read concurrently, which greatly improves data reading efficiency, something that was difficult to achieve in the original QAR data processing method.
[0063] In the above solution, QAR data streams are analyzed in real time by parsing HDF5 files. During the parsing process, key events can be quickly identified and triggered, enabling effective fault prediction, monitoring, and troubleshooting, thereby improving the efficiency and effectiveness of QAR data monitoring.
[0064] As a preferred implementation, step S2 involves dynamically parsing the HDF5 file according to a preset event script to obtain configuration data and corresponding QAR parameter data, and then executing steps S21-S23:
[0065] S21. Parse the HDF5 file to obtain the first QAR parameter data; the first QAR parameter data includes flight characteristics and event information;
[0066] S22. When the first QAR parameter data meets the preset event triggering condition, the second QAR parameter data is obtained by dynamically executing the preset event script corresponding to the preset event triggering condition based on the first QAR parameter data; the second QAR parameter data includes the event triggering result.
[0067] S23. Update the preset event script according to the first QAR parameter data and the second QAR parameter data to obtain configuration data and QAR parameter data.
[0068] In this embodiment of the invention, once an event or feature value that meets the preset triggering conditions is detected, i.e. the preset event triggering conditions, the system will immediately activate the data early warning mechanism and dynamically execute the preset event script, which significantly improves the timeliness and accuracy of the early warning and can fully consider the real-time parameters and event generation during the actual dynamic execution process.
[0069] Further, preferably, step S21, parsing the HDF5 file to obtain the first QAR parameter data, includes:
[0070] The HDF5 file is parsed to obtain configuration data, flight data, aircraft registration data, and specific component parameters corresponding to event triggers based on the parsed content.
[0071] Based on the configuration data, the flight data, and the aircraft registration data, flight characteristics are generated;
[0072] Based on the specific component parameters corresponding to the event trigger, the event information is obtained;
[0073] Based on the flight characteristics and the event information, the first QAR parameter data is obtained.
[0074] For example, in practical applications, because QAR data can acquire data from several components simultaneously, the HDF5 file also contains several data points at the same time, such as engine temperature parameters, fan parameters, low-pressure turbine parameters, and fuel tank capacity parameters. The event information corresponding to different parameters is inconsistent. For a fuel tank capacity anomaly event, the specific component parameter triggered by the event is the fuel tank capacity parameter. For an engine temperature anomaly event, the specific component parameter triggered by the event is the engine temperature parameter.
[0075] In this embodiment of the invention, the first QAR parameter data can reflect the event information corresponding to different configurations / batch of aircraft or flights. When querying and analyzing in the future, the corresponding data can be found based on the flight characteristics or configuration data of the aircraft, and the historical large-scale data can be traced back and verified.
[0076] Preferably, step S22, when the first QAR parameter data meets the preset event triggering condition, dynamically executes the preset event script corresponding to the preset event triggering condition based on the first QAR parameter data to obtain the second QAR parameter data, including:
[0077] When the first QAR parameter data meets the preset event triggering condition, the parsing of the HDF5 file is interrupted and the interruption position is recorded.
[0078] Generate the current feature based on the first QAR data;
[0079] The current feature is input into a preset event script corresponding to the preset event triggering condition, and the preset event script is executed dynamically to obtain at least one event triggering result, which is used as the second QAR parameter data;
[0080] After the preset event script is executed, if the HDF5 file has not been parsed completely, the parsing of the HDF5 file will continue from the interrupted position.
[0081] The above solution enables dynamic parsing of HDF5 files, timely filling the script with the current features during the parsing process as needed, and allowing decoding and event triggering to proceed in parallel, avoiding situations where events cannot be triggered in real time. This allows for automatic response to real-time data changes and immediate updates to monitoring standards.
[0082] Preferably, step S23, updating the preset event script based on the first QAR parameter data and the second QAR parameter data to obtain configuration data and QAR parameter data, includes:
[0083] Obtain the default event triggering result of the preset event script, and compare the default event triggering result with the second QAR parameter data;
[0084] Based on the comparison results, update the default event trigger script of the preset event script;
[0085] Update the preset event triggering conditions in the preset event script based on the first QAR parameter data;
[0086] Obtain the same configuration data from the first QAR parameter data and the second QAR parameter data, and obtain the QAR parameter data according to the timing of the first QAR parameter data and the second QAR parameter data.
[0087] In the above scheme, the second QAR parameter data includes the parameters corresponding to the event triggering result. Due to the chain reaction of the event, there may be more than one event triggering result. By comparing the default event triggering result with the second QAR parameter data, the second QAR parameter data can be verified on the one hand, and the default event triggering result can be updated on the other hand.
[0088] As a preferred implementation, step S2 involves storing the QAR parameter data according to the configuration data to obtain several JSON files, forming a JSON database, including:
[0089] When the amount of QAR parameter data exceeds a preset data volume threshold, the QAR parameter data is compressed.
[0090] Based on the first character of the QAR parameter data, create several empty JSON files;
[0091] Based on the configuration data, the QAR parameter data is stored in several empty JSON files to obtain several JSON files, forming a JSON database.
[0092] It should be noted that during the generation of JSON files, QAR parameter data with a data volume exceeding the preset data volume threshold is processed using a data compression algorithm, which can greatly save file storage space.
[0093] In some preferred embodiments, the JSON file is stored in an object storage service to form a JSON database. To facilitate rapid JSON file retrieval, flight information, aircraft information, event information, parameter information, event triggering results, and JSON file path information are also stored in the database.
[0094] For example, when creating an empty JSON file, a series of empty files such as a to z are generated, and then the QAR parameter data is filled into the empty JSON file according to the first character and configuration data of the QAR parameter data.
[0095] As a preferred implementation, step S3 involves reading the JSON file corresponding to the query requirement from the JSON database in parallel, based on the query requirements, to obtain the query results, including:
[0096] Based on the query requirements, the query configuration data and query fields are obtained; the query fields correspond to the QAR parameter data.
[0097] Based on the query configuration data, select a first JSON file from the JSON database;
[0098] In the first JSON file, the query fields are read in parallel to obtain the query results.
[0099] It's worth noting that multiple JSON files can be read and processed in parallel. For some applications, there's no need to spend a lot of time parsing each HDF5 file individually; they can simply call the data from the JSON database based on their query requirements. This not only reduces time costs but also allows for horizontal comparisons of historical data, overcoming time-series limitations.
[0100] The present invention provides a QAR data processing method based on HDF5, which performs real-time analysis of QAR data streams by parsing HDF5 files. During the parsing process, key events can be quickly identified and triggered, and fault prediction, monitoring and troubleshooting can be effectively performed, thereby improving the efficiency and effectiveness of QAR data monitoring.
[0101] This invention provides a QAR data processing system based on HDF5. Please refer to [link / reference]. Figure 2 The HDF5-based QAR data processing system includes an HDF5 file acquisition module 11, an HDF5 file parsing module 12, a JSON database construction module 13, and a data query module 14, wherein:
[0102] HDF5 file acquisition module 11 is used to acquire HDF5 files generated from QAR data;
[0103] HDF5 file parsing module 12 is used to dynamically parse the HDF5 file according to a preset event script to obtain configuration data and corresponding QAR parameter data;
[0104] The JSON database construction module 13 is used to store the QAR parameter data according to the configuration data, obtain several JSON files, and form a JSON database;
[0105] The data query module 14 is used to read the JSON file corresponding to the query requirement from the JSON database in parallel according to the query requirement, and obtain the query result.
[0106] In a preferred embodiment, the HDF5 file parsing module 12 includes:
[0107] The first QAR parameter data acquisition unit is used to parse the HDF5 file to obtain the first QAR parameter data; the first QAR parameter data includes flight characteristics and event information.
[0108] The second QAR parameter data acquisition unit is used to dynamically execute a preset event script corresponding to the preset event triggering condition based on the first QAR parameter data when the first QAR parameter data meets the preset event triggering condition to obtain the second QAR parameter data; the second QAR parameter data includes the event triggering result;
[0109] The data verification and acquisition unit is used to update the preset event script based on the first QAR parameter data and the second QAR parameter data to obtain configuration data and QAR parameter data.
[0110] Further, preferably, the first QAR parameter data acquisition unit is specifically used for:
[0111] The HDF5 file is parsed to obtain configuration data, flight data, aircraft registration data, and specific component parameters corresponding to event triggers based on the parsed content.
[0112] Based on the configuration data, the flight data, and the aircraft registration data, flight characteristics are generated;
[0113] Based on the specific component parameters corresponding to the event trigger, the event information is obtained;
[0114] Based on the flight characteristics and the event information, the first QAR parameter data is obtained.
[0115] Preferably, the second QAR parameter data acquisition unit is specifically used for:
[0116] When the first QAR parameter data meets the preset event triggering condition, the parsing of the HDF5 file is interrupted and the interruption position is recorded.
[0117] Generate the current feature based on the first QAR data;
[0118] The current feature is input into a preset event script corresponding to the preset event triggering condition, and the preset event script is executed dynamically to obtain at least one event triggering result, which is used as the second QAR parameter data;
[0119] After the preset event script is executed, if the HDF5 file has not been parsed completely, the parsing of the HDF5 file will continue from the interrupted position.
[0120] Preferably, the data verification and acquisition unit is specifically used for:
[0121] Obtain the default event triggering result of the preset event script, and compare the default event triggering result with the second QAR parameter data;
[0122] Based on the comparison results, update the default event trigger script of the preset event script;
[0123] Update the preset event triggering conditions in the preset event script based on the first QAR parameter data;
[0124] Obtain the same configuration data from the first QAR parameter data and the second QAR parameter data, and obtain the QAR parameter data according to the timing of the first QAR parameter data and the second QAR parameter data.
[0125] In a preferred embodiment, the JSON database construction module 13 is specifically used for:
[0126] When the amount of QAR parameter data exceeds a preset data volume threshold, the QAR parameter data is compressed.
[0127] Based on the first character of the QAR parameter data, create several empty JSON files;
[0128] Based on the configuration data, the QAR parameter data is stored in several empty JSON files to obtain several JSON files, forming a JSON database.
[0129] In a preferred embodiment, the data query module 14 is specifically used for:
[0130] Based on the query requirements, the query configuration data and query fields are obtained; the query fields correspond to the QAR parameter data.
[0131] Based on the query configuration data, select a first JSON file from the JSON database;
[0132] In the first JSON file, the query fields are read in parallel to obtain the query results.
[0133] The QAR data processing system based on HDF5 provided in this embodiment of the invention performs real-time analysis of QAR data streams by parsing HDF5 files. During the parsing process, it can quickly identify and trigger key events, effectively predict, monitor and eliminate faults, and improve the efficiency and effectiveness of QAR data monitoring.
[0134] Please see Figure 3 , Figure 3 This is a structural block diagram of a QAR data processing device based on HDF5 provided in an embodiment of the present invention. The HDF5-based QAR data processing includes a processor 31, a memory 32, and a computer program stored in the memory 32 and executable on the processor 31. When the processor 31 executes the computer program, it implements the steps in the above-described embodiments of the HDF5-based QAR data processing methods, such as steps S1 to S4.
[0135] For example, the computer program can be divided into one or more modules / units, which are stored in the memory 32 and executed by the processor 31 to complete the present invention. The one or more modules / units can be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program in the HDF5-based QAR data processing device.
[0136] The HDF5-based QAR data processing device may include, but is not limited to, a processor 31 and a memory 32. Those skilled in the art will understand that the schematic diagram is merely an example of an HDF5-based QAR data processing device and does not constitute a limitation on the HDF5-based QAR data processing device. It may include more or fewer components than illustrated, or combine certain components, or use different components. For example, the HDF5-based QAR data processing device may also include input / output devices, network access devices, buses, etc.
[0137] The modules / units integrated into the HDF5-based QAR data processing device, if implemented as software functional units and sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by the processor 31, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.
[0138] It should be understood that the embodiments of this application are not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from their scope. The scope of the embodiments of this application is limited only by the appended claims.
[0139] The above-described embodiments are merely illustrative of several implementation methods of the embodiments of this application, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the embodiments of this application, and these all fall within the protection scope of the embodiments of this application.
Claims
1. A QAR data processing method based on HDF5, characterized in that, include: Obtain the HDF5 file generated from the QAR data; According to the preset event script, the HDF5 file is dynamically parsed to obtain configuration data and corresponding QAR parameter data; Based on the configuration data, the QAR parameter data is stored to obtain several JSON files, forming a JSON database; Based on the query requirements, the JSON file corresponding to the query requirements is read in parallel from the JSON database to obtain the query results.
2. The QAR data processing method based on HDF5 as described in claim 1, characterized in that, The step of dynamically parsing the HDF5 file according to a preset event script to obtain configuration data and corresponding QAR parameter data includes: The HDF5 file is parsed to obtain the first QAR parameter data; the first QAR parameter data includes flight characteristics and event information; When the first QAR parameter data meets the preset event triggering condition, the preset event script corresponding to the preset event triggering condition is dynamically executed according to the first QAR parameter data to obtain the second QAR parameter data; the second QAR parameter data includes the event triggering result; The preset event script is updated based on the first QAR parameter data and the second QAR parameter data to obtain configuration data and QAR parameter data.
3. The QAR data processing method based on HDF5 as described in claim 2, characterized in that, The process of parsing the HDF5 file to obtain the first QAR parameter data includes: The HDF5 file is parsed to obtain configuration data, flight data, aircraft registration data, and specific component parameters corresponding to event triggers based on the parsed content. Based on the configuration data, the flight data, and the aircraft registration data, flight characteristics are generated; Based on the specific component parameters corresponding to the event trigger, the event information is obtained; Based on the flight characteristics and the event information, the first QAR parameter data is obtained.
4. The QAR data processing method based on HDF5 as described in claim 2, characterized in that, When the first QAR parameter data meets the preset event triggering condition, the second QAR parameter data is obtained by dynamically executing the preset event script corresponding to the preset event triggering condition based on the first QAR parameter data, including: When the first QAR parameter data meets the preset event triggering condition, the parsing of the HDF5 file is interrupted and the interruption position is recorded. Generate the current feature based on the first QAR data; The current feature is input into a preset event script corresponding to the preset event triggering condition, and the preset event script is executed dynamically to obtain at least one event triggering result, which is used as the second QAR parameter data; After the preset event script is executed, if the HDF5 file has not been parsed completely, the parsing of the HDF5 file will continue from the interrupted position.
5. The QAR data processing method based on HDF5 as described in claim 2, characterized in that, The step of updating the preset event script based on the first QAR parameter data and the second QAR parameter data to obtain configuration data and QAR parameter data includes: Obtain the default event triggering result of the preset event script, and compare the default event triggering result with the second QAR parameter data; Based on the comparison results, update the default event trigger script of the preset event script; Update the preset event triggering conditions in the preset event script based on the first QAR parameter data; Obtain the same configuration data from the first QAR parameter data and the second QAR parameter data, and obtain the QAR parameter data according to the timing of the first QAR parameter data and the second QAR parameter data.
6. The QAR data processing method based on HDF5 as described in claim 1, characterized in that, The process of storing the QAR parameter data based on the configuration data to obtain several JSON files and forming a JSON database includes: When the amount of QAR parameter data exceeds a preset data volume threshold, the QAR parameter data is compressed. Based on the first character of the QAR parameter data, create several empty JSON files; Based on the configuration data, the QAR parameter data is stored in several empty JSON files to obtain several JSON files, forming a JSON database.
7. The QAR data processing method based on HDF5 as described in claim 1, characterized in that, The step involves reading the JSON file corresponding to the query requirement from the JSON database in parallel to obtain the query results, including: Based on the query requirements, the query configuration data and query fields are obtained; the query fields correspond to the QAR parameter data. Based on the query configuration data, select a first JSON file from the JSON database; In the first JSON file, the query fields are read in parallel to obtain the query results.
8. A QAR data processing system based on HDF5, characterized in that, include: The HDF5 file acquisition module is used to acquire HDF5 files generated from QAR data. The HDF5 file parsing module is used to dynamically parse the HDF5 file according to a preset event script to obtain configuration data and corresponding QAR parameter data. The JSON database construction module is used to store the QAR parameter data according to the configuration data, obtain several JSON files, and form a JSON database; The data query module is used to read the JSON file corresponding to the query requirement from the JSON database in parallel to obtain the query result.
9. A QAR data processing device based on HDF5, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor, when executing the computer program, implements the HDF5-based QAR data processing method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device on which the computer-readable storage medium is located to perform the HDF5-based QAR data processing method as described in any one of claims 1 to 7.
Citation Information
Cited By
Intelligent analysis and fault positioning system based on aircraft flight data
CN121880424A
An intelligent analysis and fault positioning system based on aircraft flight data
CN121880424B