A method and system for multi-dimensional construction and processing of flight data
By performing second-by-second cyclic calculations and multi-level severity checks, the problems of data misalignment and false alarms in QAR flight data analysis have been solved, enabling flexible time-point positioning and cross-segment trend analysis, thereby improving the accuracy and security of flight data analysis.
Patent Information
- Application Number
- CN202611273857.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-20
- Publication Date
- 2026-11-20
AI Technical Summary
Existing QAR flight data analysis systems suffer from problems such as data misalignment, inflexible time point positioning, high false alarm rate in event detection, and lack of cross-segment analysis capabilities.
By generating analysis parameters and aligning them with engineering parameters through second-by-second cyclic calculations, multi-level severity checks and time persistence detection, combined with structured extraction of cross-segment data, the system achieves flexibility in locating key time points and calculating measurement values, thereby enhancing flight event detection capabilities.
Ensure that the analysis parameters are accurately aligned with the time series of QAR engineering parameters to reduce false alarm rates and achieve cross-segment dynamic trend analysis and risk warning.
Smart Images

Figure CN123138631A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of civil aviation flight data processing and quality monitoring technology, specifically relating to a method for multidimensional construction and processing of flight data. Background Technology
[0002] A Quick Access Recorder (QAR) is a flight data recording device installed on commercial airliners. It collects flight data during daily operations, including hundreds to thousands of parameters such as aircraft position, speed, altitude, attitude, and engine parameters. QAR data is a crucial source for Flight Quality Assurance (FOQA), flight safety analysis, and accident investigation.
[0003] In existing technologies, the analysis of QAR data typically involves the following steps: First, the raw QAR data is parsed into readable parameter time series data using decoding software; then, flight data analysts manually write scripts or use fixed analysis tools to perform statistical calculations on specific parameters according to business needs; finally, analysis reports are generated or flight quality monitoring is conducted based on the calculation results.
[0004] However, existing QAR flight data analysis products and methods have the following significant drawbacks: First, the calculation of analytical parameters is prone to data misalignment and time series misalignment. Existing systems, when generating derived parameters through custom code or scripts, typically only calculate and output values when specific conditions are met; when data is missing or conditions are not met, the assignment is often skipped. This discontinuous calculation mechanism disrupts the integrity of the derived parameters on the time axis, causing the calculated parameter sequence to be inconsistent with the time series of the original QAR engineering parameters, resulting in misalignment of subsequent analytical data and affecting the accuracy of quality monitoring results.
[0005] Second, the flexibility of time point location and measurement calculation is insufficient. When defining key time points of interest for analysis (such as takeoff and landing points), existing systems typically only support fixed flight phases or simple time offsets, and cannot flexibly support time point location based on complex combination of conditions, script code calculation, or combination of multi-source information. At the same time, the lack of multi-level model support in measurement calculation makes it difficult to meet diverse measurement needs such as single-point value acquisition, interval aggregation statistics, and time attribute extraction, thus limiting the analytical capabilities in complex flight scenarios.
[0006] Third, the event detection capability is limited and prone to high false alarms. Existing systems typically detect flight over-limit events or alarm events based on simple single threshold judgments, lacking a priority verification mechanism for multi-level severity conditions; moreover, they cannot effectively determine the duration of over-limit conditions over time, easily misjudging isolated transient interference data as over-limit alarms, resulting in a large number of potential safety risks not being accurately identified, while also increasing the burden of false alarm handling on quality monitoring personnel.
[0007] Fourth, there is a lack of capability for cross-segment parameter comparison and trend analysis. Existing systems typically only support static analysis of parameters within a single flight segment and cannot automatically correlate and extract feature data across segments (such as segment ID, aircraft number, aircraft type, flight number, and other key dimensions). Due to the lack of a structured extraction and comparison mechanism for cross-segment data, existing systems struggle to achieve dynamic trend analysis and anomaly identification between adjacent segments or between specific flight history data. Summary of the Invention
[0008] The following provides a brief overview of one or more aspects to offer a basic understanding of them. This overview is not an exhaustive summary of all conceived aspects, nor is it intended to identify key or decisive elements of all aspects, nor to define the scope of any or all aspects. Its sole purpose is to present some concepts of one or more aspects in a simplified form to prepare for the more detailed descriptions that follow.
[0009] The purpose of this invention is to solve the above-mentioned problems and provide a method and system for multidimensional construction and processing of flight data. This method and system achieves precise alignment of derived parameters and QAR engineering parameters in the time series through second-by-second cyclic calculation and forced assignment; significantly improves the flexibility of key time point positioning and measurement calculation; significantly enhances the refined detection capability of complex flight events and reduces the false alarm rate through multi-level severity verification and time persistence detection; and realizes dynamic comparison and trend analysis of cross-segment data through structured extraction of flight segment information.
[0010] The technical solution of this invention is as follows: This invention discloses a method for multidimensional construction and processing of flight data, including the following steps: Step S1: Load the parsed engineering parameters of the raw data from the aircraft quick access recorder (QAR), and configure the synthesis parameters, analysis parameters, and constant parameters according to business requirements; wherein, the analysis parameters are calculated by iteratively executing calculation rule codes over the entire QAR data, and an assignment operation is performed in each loop to align the time series of the generated analysis parameters with the time series of the engineering parameters; Step S2: Based on the engineering parameters, synthesis parameters, analysis parameters, or constant parameters, locate key time points in the flight data time series; Step S3: Based on the two time points located in Step S2 as the start and end points respectively, construct the time interval of the closed interval; Step S4: Calculate numerical measurement results at the time point located in step S2 or the time interval constructed in step S3; wherein, the numerical measurement results include at least one of parameter measurement values, aggregated measurement values, calculated measurement values, time point measurement values, and duration measurement values; Step S5: Configure severity conditions and additional constraints at specified time intervals, and automatically detect and trigger flight over-limit events or alarm events based on the measurement values or specified parameters calculated in step S4.
[0011] According to an embodiment of the multidimensional construction and processing method for flight data of the present invention, in step S2, the key time point includes at least one of data definition point, calculation point, flight phase point, relative offset point and file point.
[0012] According to an embodiment of the multidimensional construction and processing method for flight data of the present invention, the data definition point is determined by iterating through each time point in the specified time interval, judging whether each time point meets the set filtering conditions, and determining the final output time point according to the configured position offset; the calculation point is determined by iterating through the QAR data second by second from the start position of the flight segment, executing the preset condition code, recording the current time point and terminating the iteration when the condition is met for the first time; the flight stage point is determined based on the input flight stage parameters to locate the start or end point of the specified flight stage when it appears for the first or last time in the flight segment; the relative offset point is determined by superimposing a preset time offset on the defined target time point to generate a new time point; the file point is determined by directly extracting the start or end second of the QAR data file as the boundary time point.
[0013] According to an embodiment of the multidimensional construction and processing method for flight data of the present invention, the calculation process of the aggregated measurement value in step S4 includes: Get a specified dependency time interval, traverse each time point within the dependency time interval and get the corresponding parameter values to form a numerical set, and perform at least one aggregation operation on the numerical set, namely, maximum value, minimum value, average value, sum or count; Specifically, when the maximum or minimum value of the numerical set is calculated and multiple identical extreme values exist, the first extreme value that appears is output.
[0014] According to an embodiment of the method for multidimensional construction and processing of flight data of the present invention, before performing aggregation operations on the numerical set, the method further includes: The numerical set is subjected to an open interval range check, and only parameter values that meet the specified range constraints are included in the numerical set for aggregation operations.
[0015] According to an embodiment of the multidimensional construction and processing method for flight data of the present invention, the calculation process of the duration measurement value in step S4 includes: Obtain the specified dependency time interval, calculate the time difference between the end time and the start time of the dependency time interval as the duration value, and attach the duration value to any time point specified by the user.
[0016] According to an embodiment of the multidimensional construction and processing method for flight data of the present invention, in step S5, the detection includes detection based on data-defined events and detection based on computational events; wherein, the detection based on data-defined events further includes: configuring severity conditions containing multiple severity levels within a specified time interval; when iterating through each time point within the time interval, first determining whether the conditions of high severity level are satisfied, if satisfied, triggering the corresponding high-level event; if not satisfied, then sequentially downgrading the verification of conditions of low severity level.
[0017] According to an embodiment of the multidimensional construction and processing method for flight data of the present invention, in step S5, the additional constraint condition includes a condition detection based on time persistence; the condition detection based on time persistence is: determining whether the parameter value continuously meets the preset threshold condition within a continuous preset time range including the current time point, and triggering an event only when it is continuously met.
[0018] According to an embodiment of the method for multidimensional construction and processing of flight data of the present invention, after step S5, the method further includes: Define cross-segment analysis parameters that depend on specified measurement values; obtain a tabular data structure containing segment ID, aircraft number, aircraft type, flight number and the specified measurement value through the parameter access interface, and calculate the cross-segment parameter difference or trend based on the tabular data structure of multiple segments.
[0019] This invention also discloses a multidimensional construction and processing system for flight data, the system comprising: The parameter management and generation module is configured to load the engineering parameters after parsing the raw data from the aircraft quick access recorder (QAR), and configure synthetic parameters, analysis parameters, and constant parameters according to business requirements. The analysis parameters are calculated by iteratively executing calculation rule codes over the entire QAR data, and an assignment operation is performed in each loop to align the time series of the generated analysis parameters with the time series of the engineering parameters. The time point positioning module is configured to locate key time points in the flight data time series based on the engineering parameters, synthesis parameters, analysis parameters, or constant parameters. The time interval construction module is configured to construct the time interval of a closed interval based on two time points located in the time point positioning module as the start and end points, respectively. The measurement value calculation module is configured to calculate numerical measurement results at a time point located by the time point positioning module or at a time interval constructed by the time interval construction module; wherein, the numerical measurement results include at least one of parameter measurement values, aggregated measurement values, calculated measurement values, time point measurement values, and duration measurement values; The flight event detection module is configured to configure severity conditions and additional constraints at specified time intervals, and automatically detect and trigger flight over-limit events or alarm events based on the measurement values or specified parameters calculated by the measurement value calculation module.
[0020] The present invention also discloses a computer device, comprising: Processor; and Memory, used to store computer programs; When the processor executes the computer program, it implements the steps of the multidimensional construction and processing method for flight data as described above.
[0021] The present invention also discloses a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by the processor, it implements the steps of the multidimensional construction and processing method for flight data as described above.
[0022] The present invention also discloses a computer program product, including a computer program that, when executed by a processor, implements the steps of the multidimensional construction and processing method of flight data as described above.
[0023] Compared with the prior art, the present invention has the following advantages: First, it ensures that the time series of analysis parameters and QAR engineering parameters are accurately aligned, avoiding data misalignment.
[0024] This invention overcomes the discontinuity in sequences caused by skipping assignments when conditions are not met or data is missing by utilizing the technical feature in step S1 where "analysis parameters are calculated by iteratively executing calculation rule codes over the entire QAR data, and an assignment operation is performed in each loop to align the generated analysis parameter time series with the time series of the engineering parameters." This feature mandates that an assignment operation be performed every second (including when data is empty or conditions are not met), ensuring that the generated analysis parameters strictly correspond to the original QAR engineering parameters on a second-by-second time axis. This completely eliminates the risk of data misalignment caused by missing data or logical jumps, guaranteeing the accuracy of subsequent analysis results.
[0025] Second, it significantly improves the flexibility and multi-dimensional expansion capabilities of key time point positioning and measurement value calculation.
[0026] This invention addresses the problems of limited time point positioning and insufficient measurement methods in existing technologies by utilizing the technical features of "key time points including at least one of data definition points, calculation points, flight phase points, relative offset points, and file points" in step S2, and "numerical measurement results including at least one of parameter measurement values, aggregated measurement values, calculated measurement values, time point measurement values, and duration measurement values" in step S4. The combined use of key time points covers all scenario requirements, including complex condition filtering, script code calculation, flight phase matching, relative time offset, and data boundary positioning. Furthermore, the hierarchical numerical measurement results form a complete measurement capability from single-point value acquisition and interval aggregation statistics to time attribute extraction, enabling users to flexibly construct multi-dimensional analysis logic based on complex flight scenarios.
[0027] Third, it enhances the ability to detect flight events with greater precision, effectively reducing the false alarm rate.
[0028] This invention overcomes the shortcomings of existing technologies, such as poor flexibility and high false alarm rate, by utilizing the technical features of "configuring severity conditions and additional constraints at specified time intervals" in step S5, "prioritizing the judgment of whether the conditions of high severity level are met, and triggering the corresponding high-level event if they are met; if not, downgrading the verification of conditions of low severity level in turn," and "additional constraints include time-based condition detection: determining whether the parameter values continuously meet the preset threshold conditions within a continuous preset time range including the current time point." Multi-level severity verification enables graded handling of the same event according to its risk level; while continuous condition detection can accurately identify continuous over-limit risks, effectively filtering transient noise and isolated interference data, greatly improving the accuracy of safety hazard identification.
[0029] Fourth, it breaks through the limitations of static analysis of a single flight segment and realizes dynamic trend analysis and risk warning across flight segments.
[0030] This invention addresses the lack of a cross-segment parameter comparison mechanism in existing technologies by utilizing the following technical features after step S5: defining cross-segment analysis parameters dependent on specified measurement values; obtaining a tabular data structure containing segment ID, aircraft number, aircraft type, flight number, and specified measurement values through a parameter access interface; and calculating cross-segment parameter differences or trends based on the tabular data structure of multiple segments. This feature automatically integrates flight attribute fields and measurement data across segments, enabling dynamic parameter comparison between different segments of the same aircraft or between different aircraft of the same type, providing strong data support for long-term trend monitoring of flight quality and early warning of potential faults. Attached Figure Description
[0031] The above-described features and advantages of the present invention will be better understood after reading the following detailed description of embodiments of the present disclosure in conjunction with the accompanying drawings. In the drawings, components are not necessarily drawn to scale, and components having similar related characteristics or features may have the same or similar reference numerals.
[0032] Figure 1 A flowchart illustrating an embodiment of the multidimensional construction and processing method for flight data according to the present invention is shown.
[0033] Figure 2 A schematic diagram of an embodiment of the multidimensional construction and processing system for flight data of the present invention is shown. Detailed Implementation
[0034] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments. It should be noted that the aspects described below with reference to the accompanying drawings and specific embodiments are merely exemplary and should not be construed as limiting the scope of protection of the present invention in any way.
[0035] Figure 1 The flowchart illustrates an embodiment of the multidimensional construction and processing method for flight data according to the present invention. See also Figure 1 The specific implementation steps of the method in this embodiment are detailed below.
[0036] Step S1: Load the raw data from the aircraft quick access recorder (QAR) and the parsed engineering parameters, and configure the synthesis parameters, analysis parameters, and constant parameters according to business requirements.
[0037] Engineering parameters are parameters directly recorded in the QAR raw data, acquired by the QAR device and then directly obtained by the decoding system. QAR raw data is usually binary compressed data (i.e., Raw data), which must be converted into timestamped engineering physical quantities (such as altitude, speed, fuel level, etc.) by dedicated decoding / analysis software (such as based on the Datameap / Frame Map format of the QAR file).
[0038] A composite parameter is a parameter created by concatenating multiple engineering parameters using strings, and does not involve numerical calculations. For example, concatenating the date engineering parameter value "20240101" with the time engineering parameter value "123045" results in the composite date-time parameter "20240101123045".
[0039] Constant parameters refer to baseline values or reference settings that remain unchanged throughout the entire flight segment during flight data analysis and modeling. Users can define constant values (such as thresholds, coefficients, etc.) that need to be used repeatedly during the modeling process for reference and unified maintenance. Examples include preset safety over-limit thresholds (such as tire pressure limit of 260, flight duration threshold of 2000 seconds) or system physical coefficients. Defining them as constant parameters facilitates unified calling and centralized maintenance and modification in other steps, eliminating the need for repetitive hard coding.
[0040] Analysis parameters are derived parameters obtained by arithmetic operations from engineering parameters and / or synthetic parameters.
[0041] The analysis parameters are calculated by executing the calculation rule code (i.e., the calculation logic, which is written by the user and can be implemented in Python) on the entire QAR data second by second. In each second of the loop, an assignment operation is performed to align the generated analysis parameter time series with the time series of the engineering parameters.
[0042] The calculation rules are algorithms / logic for generating derived parameters, written by the user using code (such as Python) according to specific analytical needs. Examples include calculating the difference between two engine exhaust temperature parameters, or calculating derived physical quantities based on speed and attitude. The calculation rules are bound to a built-in API interface and driven by a second-by-second loop. The loop iterates through the data for each second of the flight segment, executing the user-written function code each second to calculate a value and assign it to the analytical parameter. By calling the user-written Python code every second and forcing the assignment operation to be performed every second (including cases where the parameter is empty), the time series of the analytical parameters is guaranteed to completely correspond to the original QAR data, avoiding errors in analytical results due to missing data or null values.
[0043] The specific alignment process is as follows: QAR project parameters are time-series data with "seconds" as the basic unit (i.e., data or empty frames exist for seconds 0, 1, 2, ..., N). When running the analysis parameter code, a for loop is started from second 0 to the last second. At each second of the loop (i.e., at each index position), not only is the user code called, but a setParam("analysis parameter name", offset, value) assignment operation is also forcibly executed once. If the original data for a certain second is missing, the branch condition is not met, or the code calculation result is empty / no output, that second is not skipped, but a default value / empty value (such as None or NaN) is forcibly assigned as a placeholder. The resulting analysis parameter array has the same length as the project parameter array (both have N+1 elements), and the indices are strictly aligned to seconds.
[0044] Step S2: Locate key time points in the flight data time series based on engineering parameters, synthetic parameters, analytical parameters, or constant parameters.
[0045] Key time points include at least one of the following: data definition points, calculation points, flight phase points, relative offset points, and file points, as detailed below: Data definition point: Within a specified time interval, it iterates through each time point in the time interval, determines whether each time point meets the set filtering conditions, and determines the final output time point based on the configured position offset; Calculation point: Starting from the beginning of the flight segment, traverse the QAR data second by second, execute the preset condition code, and record the current time point and terminate the traversal when the condition is met for the first time; Flight phase point: Based on the input flight phase parameters, locate the start or end point of a specified flight phase (such as taxiing, takeoff, landing) when it first or last appears in the flight segment; Relative offset point: Based on a defined target time point, a new time point is generated by superimposing a preset time offset (which can be a numerical value, a constant parameter, or a measured value); File point: Directly extract the start or end second of the QAR data file as the boundary time point.
[0046] For data definition points, users first define a time interval as the search range, and then configure the three elements of the filtering conditions: Parameters: Specifies the parameters to be monitored (single project / composition / analysis parameters, or multi-parameter calculations performed via Python scripts and the results output using print statements); Comparison symbols include equal to, not equal to, greater than, less than, greater than or equal to, less than or equal to, true, false, within (open interval (a, b)), and not within (open interval (a, b)). Comparison value: Specific input value (number / string), defined constant parameter, or defined measurement value.
[0047] The system iterates through each time point in the interval, checking whether all conditions are met (conditions are linked by an AND operation). For the set of time points that meet the conditions, the system further determines the output point based on the user-configured "position": either the "first point that meets the conditions" or the "last point that meets the conditions" can be selected, and a position offset is added on top of this (positive numbers offset backwards, negative numbers offset forwards).
[0048] For the aforementioned calculation point, the preset condition refers to a logical judgment expression written by the user using a scripting language (Python) to determine whether the current second meets specific flight state or physical indicator characteristics. The calculation point is based on the user-defined logic code to locate the first index time that meets the target characteristics in the QAR data of the entire flight segment. The specific implementation process is as follows: using a Python script execution environment, a unified parameter access interface including getParam("parameter name", offset) and getPoint() is provided to the user-written condition code; the system starts from the starting second of the flight segment (i.e., index 0), traverses the QAR data second by second, and calls and executes the user-written condition code every second; the condition code performs logical operations based on the engineering parameters, analysis parameters, etc. of the current second or historical seconds; when the execution result of the code is true (e.g., output True), it is determined that the condition is met, the current second index value is immediately recorded as the key time point for positioning, and the traversal loop of subsequent second data is terminated.
[0049] For the aforementioned flight phase points, when a certain flight phase occurs multiple times during flight (e.g., multiple climbs), the system allows users to specify whether to locate the "first point" or the "last point" of that phase, and also allows users to choose whether to use the "first occurrence of the phase" or the "last occurrence of the phase." For example, to locate the "starting point of the taxiway phase," the system is configured to select "taxiway phase," "first point" for the time point, and "first occurrence" for the timing. The system will then find the starting position when the taxiway phase first occurs and return the time point.
[0050] For the aforementioned relative offset points, the user selects a predefined time point as the dependency point; sets the offset (in seconds, positive numbers move backward and negative numbers move forward). The offset can be a specific numerical value, a constant parameter, or a measurement value; and adds the offset to the time position of the dependency point to generate a new time point.
[0051] Key time points refer to indexed seconds or time markers in flight data time series that characterize specific flight state transitions, triggering of specific actions, fulfillment of specific operational conditions, or flight segment boundaries. Examples include: Flight maneuvers / phase milestones: such as "start point of the taxiing phase", "takeoff point", "landing point (the first point of the landing phase)"; Relative derived time: such as "three minutes after landing"; Points of change in status: such as "door begins to close" or "door is fully closed"; Data boundary moments: such as the "file start point" and "file end point" of flight segment data.
[0052] The flight data time series includes not only the engineering parameter time series parsed from the raw QAR, but also the time series of synthesized parameters, second-aligned analytical parameters, and the system's time second index axis. All these parameters share the same strictly aligned time base on the time axis (second-level index), and it is on this unified time series base that key time points are found and located.
[0053] Step S3: Based on the two time points located in Step S2 as the start and end points respectively, construct the time interval of the closed interval.
[0054] The time point output in step S2 is used as input, and the time interval output can be called by subsequent steps.
[0055] Receive the two specific time points calculated in step S2 (i.e., the two second-level index values corresponding to the QAR data time axis, assuming the starting point is...). The destination is ).check and Time order: must satisfy .like (If the endpoint is earlier than the starting point), then the time interval is deemed invalid for the current flight segment, and subsequent measurements or event verifications based on that interval are skipped. Based on the aligned flight data time series (engineering parameters, analysis parameters, etc.), according to and Extract a data slice. The slice covers the following set of second indices: That is, it includes from Instant arrival seconds (inclusive) and All sampled data (of itself) are combined to form a closed data vector or interval object. The constructed closed interval object is registered and passed to subsequent steps S4 and S5 for further processing. Perform aggregation statistics (such as finding the maximum, minimum, and average values) or determine persistence within a closed interval.
[0056] Step S4: Calculate numerical measurement results at the time point located in step S2 or the time interval constructed in step S3; wherein, the numerical measurement results include at least one of parameter measurement values, aggregated measurement values, calculated measurement values, time point measurement values, and duration measurement values.
[0057] Numerical measurement results refer to scalar numerical data generated by performing single-point sampling, interval statistical aggregation, algebraic quadratic calculation, time quantization, or duration statistics on flight parameters within a specific time or time interval. Numerical measurement results can be generated from at least one of the following: parameter measurements, aggregated measurements, calculated measurements, time-point measurements, and duration measurements.
[0058] Parameter measurement value: Extracts the specific value of a specified parameter (engineering / synthesis / analysis parameter) at a specified time point.
[0059] Aggregated measurements: Perform aggregated statistical operations on specified parameters over a specified closed interval time interval, including: maximum value, minimum value, average value, sum, standard deviation, first value (starting value), and last value (ending value).
[0060] Calculate measurements: Perform secondary calculations based on one or more other predefined measurements using user-written custom Python script code. For example, call getMeasure("measurement value A") and getMeasure("measurement value B") to calculate the difference or ratio between the two.
[0061] Time point measurement: Extracts the absolute time attribute of a specified time point within the flight segment, including: timestamp (Unix timestamp), date (YYYY-MM-DD), time (HH:MM:SS), and the index of seconds counted from the start of the flight segment.
[0062] Duration Measurement: Obtain the specified dependent time interval, calculate the time difference between the end time and the start time of the dependent time interval as the duration value, and attach the duration value to any time point specified by the user. For example, calculate the duration (in seconds) of a specified closed interval time interval using the following formula: .
[0063] The aggregated measurement values mentioned above are numerical results obtained by performing statistical calculations on specified parameters according to a preset aggregation calculation function within a specified time interval. The calculation process includes the following three elements: Time interval (specified range): A closed interval time interval constructed in step S3 must be passed in (e.g., [starting second TA, ending second TB]); Monitoring parameter (data source): Specifies the target parameter to be statistically calculated, which can be the engineering parameter or analysis parameter in step S1; Aggregation method / statistical function (calculation rule): Specifies the specific statistical function to be executed on the data set of this parameter within the specified time interval.
[0064] Before performing aggregation operations, an open interval range check can be performed on the numerical set, including only parameter values that meet the specified range constraints in the numerical set for aggregation operations. Extract the set of all sampled data points for the parameter within the closed interval [TA, TB]. The final numerical result is calculated according to the following rules: Maximum value (Max): Iterates through and extracts the maximum value of this parameter at all time sampling points within the interval. ; Minimum (Min): Iterate through and extract the minimum value of the parameter at all time sampling points within the interval. ; Average: The sum of the parameter values at all time sampling points within the interval, divided by the total number of sampling points. ; Sum: Summates the values of this parameter at all time sampling points within the interval. ; Standard Deviation: Calculates the dispersion of the parameter's numerical values within an interval, and reflects the degree of fluctuation of the parameter within the interval. First value: Directly extracts the starting time of the interval ( The specific value of this parameter in seconds; Last value: Directly extracts the end time of the interval (Last) The specific value of this parameter in seconds; When finding the maximum or minimum value of a set of values and there are multiple identical extreme values, output the first extreme value that appears.
[0065] Here is a scenario example of aggregating measurements: calculating the maximum pitch angle during takeoff.
[0066] Input interval: Select the pre-built "Takeoff Phase Interval" [Takeoff Point, Takeoff End Point]; Input parameters: Select the engineering parameter "Pitch". Calculation function: Select "Maximum" as the aggregation method; Output results: Extract pitch angle data for each second during the takeoff phase, calculate and output the highest pitch angle value (e.g., 15.5 degrees) during the takeoff phase as a numerical measurement result.
[0067] Step S5: Configure severity conditions and additional constraints at specified time intervals, and automatically detect and trigger flight over-limit events or alarm events based on the measurement values or specified parameters calculated in step S4.
[0068] Configure multi-level severity conditions (such as high, medium, and low severity conditions) and additional constraints (such as continuous overruns for a preset duration) within a specified time interval; during execution, use high-level priority verification and time-duration sliding window detection algorithms.
[0069] Detection can be based on two methods: data-defined events and computational events. The data-defined event-based detection process includes: configuring multiple severity conditions with different severity levels within a specified time interval; iterating through each time point within the time interval, prioritizing the checking of high-severity conditions; if satisfied, triggering the corresponding high-severity event; otherwise, downgrading the check to lower-severity conditions. Additional constraint conditions include time-duration-based condition detection; this involves determining whether parameter values continuously meet preset threshold conditions within a continuous preset time range, including the current time point, and triggering an event only if these conditions are continuously met.
[0070] Each event can be configured with multiple trigger conditions of different severity levels. Severity levels can be categorized as Severe, Moderate, Mild, etc. Each severity level corresponds to a set of conditional rules, which can contain one or more conditional expressions (combined using 'AND', 'OR', and 'OR' logic). The same type of flight safety event is classified into different levels (e.g., high / medium / low or red / yellow / orange) according to the degree of risk hazard (e.g., the degree of exceeding limits), and different judgment logic or numerical thresholds are set for each level.
[0071] Additional constraints refer to temporal filtering and restrictions imposed in addition to instantaneous numerical threshold judgments. Their core function is to filter false alarms caused by instantaneous sensor noise, isolated abnormal sampling points, or brief jitter, ensuring that an event is only considered to have actually occurred when the state persists for a preset duration. Additional constraints include: time duration conditions. These are used to detect whether a condition has been continuously met for a certain duration within a specified time interval. Configuration items include: duration threshold (e.g., continuously meeting the condition for at least N seconds); judgment method (e.g., meeting for N consecutive seconds, meeting for at least N seconds within M seconds, etc.).
[0072] The specified parameters here refer to those parameters that have not been further calculated into scalar measurement values in step S4, but which require direct second-by-second / point-by-point threshold comparison or logical judgment of their time-series data during event detection. These include: Engineering parameters: such as the second-by-second "flight altitude (ALT)", "radio altitude (RALT)", and "pitch" in the original QAR; Composite parameters: such as "date and time" obtained by splicing together engineering parameters; Analysis parameters: such as the "exhaust temperature difference between the left and right engines (EGT_DIFF)" calculated second by second using Python code in step S1.
[0073] The specific processing procedure is as follows.
[0074] Step 1: Lock the detection scope (time interval). First, obtain the closed interval time interval associated with the event. If the time interval is invalid in the current flight segment (e.g., the origin or destination was not successfully located), the detection of the event will be skipped.
[0075] Step Two: Data and Measurement Preparation. Extract the numerical measurement results related to the event that were pre-calculated in Step S4; simultaneously extract... Continuous sampling data for a specified parameter (engineering / analysis parameter) within a time interval range.
[0076] Step 3: Downgrade / prioritize the severity level.
[0077] Sorted by severity level from highest to lowest (e.g., severe). moderate (Mild) Perform condition checks sequentially: 1. Prioritize high-severity conditions: If the condition expression corresponding to the high-severity level (such as "measured value") is... If the condition is met (either "or "specified parameter continuously exceeds the limit"), the corresponding high severity level event will be immediately triggered and recorded, and subsequent lower severity level checks will be terminated. 2. Downgrade verification: If the high severity condition is not met, the condition of the next level (such as medium severity) will be automatically downgraded for verification, and so on.
[0078] Step 4: Sliding window test with additional constraints (persistence).
[0079] When validating time-domain conditions based on specified parameters, perform time persistence testing: In time interval Within, at a preset duration threshold Seconds are the window size; Move the sliding window one second at a time to determine if there are any consecutive [windows / windows]. seconds (or in the current) Continuous backward calculation Within seconds), the value of the specified parameter continuously meets the preset over-limit threshold condition (e.g., attitude angle exceeds the limit for 3 consecutive seconds). Only when the duration is satisfied The severity level is determined only when the constraint of seconds is met, thus effectively filtering out transient noise interference.
[0080] Step 5: Generate event trigger records.
[0081] Once the verification is successful, the system automatically generates an event record, which includes: event ID / name, severity level of the trigger, start and end timestamps / second index of the event, and specific measured values of key parameters at the trigger time, thus completing the automatic detection and triggering of the event.
[0082] Computation-based event detection is an alternative to data-defined event detection. Its core lies in its avoidance of directly relying on threshold tables and dropdown menus in the rule configuration interface. Instead, it utilizes user-written custom scripts (such as Python code) to implement complex logic for event detection and triggering. Automatic detection and triggering of computation-based events involves the following four specific steps: Step 1: Access the scope and built-in interface environment.
[0083] Get the closed interval time interval associated with the calculation event; in the built-in script execution environment (Python environment), provide a unified context interface API for event detection code (such as getParam to get parameter values, getMeasure to get the measurement value calculated in step S4, setEvent to trigger the event, etc.).
[0084] Step 2: Iterate through the data second by second within the specified time interval.
[0085] Starting from the beginning second of the time interval, iterates second by second to the end second; at each point in time (every second), the user-written calculation event script code is automatically called and executed.
[0086] Step 3: Execute complex logic code and state calculations.
[0087] The script code calls one or more engineering parameters, analysis parameters, or measurement values in the current second to execute complex logic (beyond simple threshold comparisons) including mathematical operations, multi-branch condition judgments, state machine transitions, or historical window data analysis; the code calculates in real time whether the business logic for triggering the event is met in the current second.
[0088] Step 4: Event triggering and recording output.
[0089] When the code calculates that the triggering conditions are met, it sends an event trigger signal to the system through the triggering instruction in the script (such as calling the setEvent function). The signal contains the specified event name, severity level (such as mild, moderate, severe) and context data of the current triggering time. After receiving the signal, it automatically records the current second index and generates a corresponding flight over-limit event or alarm event record.
[0090] Furthermore, preferably, after step S5, the method further includes: defining cross-segment analysis parameters that depend on specified measurement values; obtaining a tabular data structure containing segment ID, aircraft number, aircraft type, flight number, and specified measurement values through a parameter access interface; and calculating cross-segment parameter differences or trends based on the tabular data structure of multiple segments.
[0091] The specified measurement value refers to the numerical measurement results such as parameter measurement value, aggregate measurement value, calculated measurement value, time point measurement value, or duration measurement value calculated for each flight segment in step S4.
[0092] The parameter access interface automatically extracts and packages the measurement values and segment metadata of multiple historical flight segments (or different flight segments of the same aircraft type / registration) into a tabular data structure (such as a Pandas DataFrame or a two-dimensional data table in Python). Based on this, the script code calls the tabular data structure to perform cross-segment comparison, difference and trend calculation.
[0093] Cross-segment analysis parameters transcend the limitations of a single flight segment. They are derived analytical indicators calculated based on measurement data from multiple historical flight segments (or multiple flight missions of the same aircraft / type), used to reflect aircraft performance degradation, abnormal system changes, or historical evolution trends. Examples include: 1. Cross-segment difference parameter (Delta / Diff): Difference between adjacent flight segments: such as the difference between "takeoff fuel consumption of this flight segment" and "takeoff fuel consumption of the previous flight segment"; Benchmark difference: such as the deviation between the "extreme value of engine exhaust temperature (EGT) for the current flight segment" and the "average EGT of the previous N flight segments of this aircraft".
[0094] 2. Cross-segment trend / moving statistics: Moving average: such as "moving average of ground overload over the last 10 flight segments"; Cumulative decline / rate of change: such as "the slope / linear regression trend of pressure drop of a hydraulic system over the past 30 flight segments".
[0095] 3. Comparison parameters of the same aircraft type / fleet: This is similar to the outlier of a certain performance measurement value between different aircraft models and serial numbers on the same route.
[0096] The process of calculating cross-segment parameters includes the following steps: 1) The cross-segment analysis module defines cross-segment analysis parameters that depend on the specified measurement values (such as maximum takeoff temperature, maximum landing overload, etc.) calculated in step S4; 2) By calling functions such as getMeasureTable through the parameter access interface, the analysis results of multiple historical flight segments can be automatically retrieved from the database to construct a tabular data structure (such as a data table) containing flight segment ID, aircraft number, aircraft type, flight number and specified measurement values. 3) The cross-segment analysis module sorts or groups specified measurement values of multiple segments in a tabular data structure by aircraft number, flight number, or time order; 4) Run a custom analysis script to calculate the cross-segment parameter difference by subtracting the current segment measurement value from the previous segment or historical baseline measurement value, or to perform a moving average or linear regression slope calculation on specified measurement values of multiple consecutive segments to obtain cross-segment trend parameters; 5) Output and save the calculated difference or trend parameters for monitoring aircraft component performance degradation and providing cross-segment risk warnings.
[0097] Figure 2 The multidimensional construction and processing system for flight data of the present invention is illustrated. For example... Figure 2 As shown, the system in this embodiment includes: a parameter management and generation module, a time point positioning module, a time interval construction module, a measurement value calculation module, and a flight event detection module.
[0098] The parameter management and generation module is configured to load the engineering parameters after parsing the raw data from the aircraft quick access recorder (QAR), and to configure synthetic parameters, analytical parameters, and constant parameters according to business requirements. Among them, the analytical parameters are calculated by iteratively executing calculation rule codes on the entire QAR data, and an assignment operation is performed in each loop to align the time series of the generated analytical parameters with the time series of the engineering parameters.
[0099] The time point positioning module is configured to locate key time points in the flight data time series based on the engineering parameters, synthesis parameters, analysis parameters, or constant parameters. Key time points include at least one of the following: data definition points, calculation points, flight phase points, relative offset points, and file points. Data definition points are determined by iterating through each time point within a specified time interval, checking if each time point meets the set filtering conditions, and determining the final output time point based on the configured position offset. Calculation points iterate through the QAR data second by second from the start position of the flight segment, executing preset condition codes, recording the current time point and terminating the iteration when the conditions are met for the first time. Flight phase points locate the start or end point of a specified flight phase in the flight segment based on the input flight phase parameters. Relative offset points generate new time points by superimposing a preset time offset on a defined target time point. File points directly extract the start or end second of the QAR data file as boundary time points.
[0100] The time interval construction module is configured to construct the time interval of a closed interval based on two time points located in the time point positioning module, respectively, as the start and end points.
[0101] The measurement value calculation module is configured to calculate numerical measurement results at the time point located by the time point positioning module or the time interval constructed by the time interval construction module; wherein, the numerical measurement results include at least one of parameter measurement values, aggregated measurement values, calculated measurement values, time point measurement values, and duration measurement values.
[0102] Before performing aggregation operations on the numerical set, the method further includes: performing an open interval range check on the numerical set, and only including parameter values that satisfy the specified range constraints in the numerical set for aggregation operations. The calculation process of the aggregated measurement value includes: obtaining a specified dependency time interval, traversing each time point within the dependency time interval and obtaining the corresponding parameter values to form a numerical set, and performing at least one aggregation operation on the numerical set, namely, maximum value, minimum value, average value, sum, or count; wherein, when the maximum or minimum value of the numerical set is calculated and there are multiple identical extreme values, the first occurrence of the extreme value is output.
[0103] The calculation process for the duration measurement includes: obtaining the specified dependent time interval, calculating the time difference between the end time and the start time of the dependent time interval as the duration value, and attaching the duration value to any time point specified by the user.
[0104] The flight event detection module is configured to configure severity conditions and additional constraints at specified time intervals, and automatically detect and trigger flight over-limit events or alarm events based on the measurement values or specified parameters calculated by the measurement value calculation module.
[0105] The detection includes data-defined event-based detection and computation-based event-based detection. The data-defined event-based detection process includes: configuring multiple severity conditions with different severity levels within a specified time interval; when iterating through each time point within the time interval, first determining whether the conditions with higher severity levels are met, and if they are met, triggering the corresponding high-severity event; if not, then downgrading the verification of conditions with lower severity levels in sequence.
[0106] Additional constraints include time-based condition detection; the time-based condition detection is: determining whether the parameter value continuously meets the preset threshold condition within a continuous preset time range including the current time point, and triggering the event only when it is continuously met.
[0107] Furthermore, this invention also discloses a computer device, including a processor and a memory. The memory is used to store computer programs. When the processor executes the computer program, it implements... Figure 1The steps of the multidimensional construction and processing method for flight data shown in the example are illustrated.
[0108] Furthermore, the present invention also discloses a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements as follows: Figure 1 The steps of the multidimensional construction and processing method for flight data shown in the example are illustrated.
[0109] Furthermore, this invention also discloses a computer program product, including a computer program, which, when executed by a processor, implements as follows: Figure 1 The steps of the multidimensional construction and processing method for flight data shown in the example are illustrated.
[0110] Although the methods described above are illustrated and depicted as a series of actions for the sake of simplicity, it should be understood and appreciated that these methods are not limited by the order of the actions, as some actions may occur in a different order and / or concurrently with other actions from the illustrations and descriptions herein or not illustrated and described herein but which may be understood by those skilled in the art, according to one or more embodiments.
[0111] Those skilled in the art will further appreciate that the various illustrative logic blocks, modules, circuits, and algorithm steps described in conjunction with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or a combination of both. To clearly illustrate this interchangeability between hardware and software, the various illustrative components, blocks, modules, circuits, and steps are described above in a generalized manner in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the specific application and the design constraints imposed on the overall system. Those skilled in the art may implement the described functionality in different ways for each specific application, but such implementation decisions should not be construed as departing from the scope of the invention.
[0112] The various illustrative logic blocks, modules, and circuits described in conjunction with the embodiments disclosed herein can be implemented or performed using a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. The general-purpose processor may be a microprocessor, but in alternatives, it may be any conventional processor, controller, microcontroller, or state machine. The processor may also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors cooperating with a DSP core, or any other such configuration.
[0113] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of both. The software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor such that the processor can read and write information to / from the storage medium. In an alternative, the storage medium may be integrated into the processor. The processor and storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In an alternative, the processor and storage medium may reside as discrete components in the user terminal.
[0114] In one or more exemplary embodiments, the described functionality may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software as a computer program product, the functionality may be stored or transmitted as one or more instructions or code on or through a computer-readable medium. A computer-readable medium includes both computer storage media and communication media, encompassing any medium that facilitates the transfer of a computer program from one location to another. A storage medium may be any available medium accessible to a computer. By way of example and not limitation, such a computer-readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disc storage, disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and is accessible to a computer. Any connection is also legitimately referred to as a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of a medium. As used in this article, disk and disc include compact discs (CDs), laser discs, optical discs, digital multi-purpose discs (DVDs), floppy disks, and Blu-ray discs. Disks typically reproduce data magnetically, while discs reproduce data optically using lasers. Combinations of these should also be included within the scope of computer-readable media.
[0115] The prior description of this disclosure is provided to enable any person skilled in the art to make or use this disclosure. Various modifications to this disclosure will be apparent to those skilled in the art, and the general principles defined herein may be applied to other variations without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not intended to be limited to the examples and designs described herein, but should be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for multidimensional construction and processing of flight data, characterized in that, Includes the following steps: Step S1: Load the parsed engineering parameters of the raw data from the aircraft quick access recorder (QAR), and configure the synthesis parameters, analysis parameters, and constant parameters according to business requirements; wherein, the analysis parameters are calculated by iteratively executing calculation rule codes over the entire QAR data, and an assignment operation is performed in each loop to align the time series of the generated analysis parameters with the time series of the engineering parameters; Step S2: Based on the engineering parameters, synthesis parameters, analysis parameters, or constant parameters, locate key time points in the flight data time series; Step S3: Based on the two time points located in Step S2 as the start and end points respectively, construct the time interval of the closed interval; Step S4: Calculate numerical measurement results at the time point located in step S2 or the time interval constructed in step S3; wherein, the numerical measurement results include at least one of parameter measurement values, aggregated measurement values, calculated measurement values, time point measurement values, and duration measurement values; Step S5: Configure severity conditions and additional constraints at specified time intervals, and automatically detect and trigger flight over-limit events or alarm events based on the measurement values or specified parameters calculated in step S4.
2. The method for multidimensional construction and processing of flight data according to claim 1, characterized in that, In step S2, the key time points include at least one of data definition points, calculation points, flight phase points, relative offset points, and file points.
3. The method for multidimensional construction and processing of flight data according to claim 2, characterized in that, The data definition point is determined by iterating through each time point within a specified time interval, checking whether each time point meets the set filtering conditions, and determining the final output time point based on the configured position offset. The calculation point is determined by iterating through the QAR data second by second from the start position of the flight segment, executing preset condition codes, recording the current time point and terminating the iteration when the conditions are met for the first time. The flight phase point is determined based on the input flight phase parameters, locating the start or end point of the specified flight phase when it first or last appears in the flight segment. The relative offset point is a new time point generated by superimposing a preset time offset on a defined target time point. The file point is the start or end second of the QAR data file directly extracted as the boundary time point.
4. The method for multidimensional construction and processing of flight data according to claim 1, characterized in that, In step S4, the calculation process of the aggregated measurement value includes: Get a specified dependency time interval, traverse each time point within the dependency time interval and get the corresponding parameter values to form a numerical set, and perform at least one aggregation operation on the numerical set, namely, maximum value, minimum value, average value, sum or count; Specifically, when the maximum or minimum value of the numerical set is calculated and multiple identical extreme values exist, the first extreme value that appears is output.
5. The method for multidimensional construction and processing of flight data according to claim 4, characterized in that, Before performing aggregation operations on the set of values, the method further includes: The numerical set is subjected to an open interval range check, and only parameter values that meet the specified range constraints are included in the numerical set for aggregation operations.
6. The method for multidimensional construction and processing of flight data according to claim 1, characterized in that, In step S4, the calculation process of the duration measurement includes: Obtain the specified dependency time interval, calculate the time difference between the end time and the start time of the dependency time interval as the duration value, and attach the duration value to any time point specified by the user.
7. The method for multidimensional construction and processing of flight data according to claim 1, characterized in that, In step S5, the detection includes detection based on data-defined events and detection based on computational events; wherein, the detection based on data-defined events further includes: configuring severity conditions containing multiple severity levels within a specified time interval; when iterating through each time point within the time interval, first determining whether the conditions with high severity levels are met, and if they are met, triggering the corresponding high-level event; if they are not met, then downgrading the verification of conditions with low severity levels in sequence.
8. The method for multidimensional construction and processing of flight data according to claim 7, characterized in that, In step S5, the additional constraint includes a time-based condition detection; the time-based condition detection is: determining whether the parameter value continuously meets the preset threshold condition within a continuous preset time range including the current time point, and triggering an event only when it is continuously met.
9. The method for multidimensional construction and processing of flight data according to claim 1, characterized in that, Following step S5, the following is also included: Define cross-segment analysis parameters that depend on specified measurement values; obtain a tabular data structure containing segment ID, aircraft number, aircraft type, flight number and the specified measurement value through the parameter access interface, and calculate the cross-segment parameter difference or trend based on the tabular data structure of multiple segments.
10. A multidimensional construction and processing system for flight data, characterized in that, The system includes: The parameter management and generation module is configured to load the engineering parameters after parsing the raw data from the aircraft quick access recorder (QAR), and configure synthetic parameters, analysis parameters, and constant parameters according to business requirements. The analysis parameters are calculated by iteratively executing calculation rule codes over the entire QAR data, and an assignment operation is performed in each loop to align the time series of the generated analysis parameters with the time series of the engineering parameters. The time point positioning module is configured to locate key time points in the flight data time series based on the engineering parameters, synthesis parameters, analysis parameters, or constant parameters. The time interval construction module is configured to construct the time interval of a closed interval based on two time points located in the time point positioning module as the start and end points, respectively. The measurement value calculation module is configured to calculate numerical measurement results at a time point located by the time point positioning module or at a time interval constructed by the time interval construction module; wherein, the numerical measurement results include at least one of parameter measurement values, aggregated measurement values, calculated measurement values, time point measurement values, and duration measurement values; The flight event detection module is configured to configure severity conditions and additional constraints at specified time intervals, and automatically detect and trigger flight over-limit events or alarm events based on the measurement values or specified parameters calculated by the measurement value calculation module.
11. A computer device, characterized in that, include: processor; as well as Memory, used to store computer programs; When the processor executes the computer program, it implements the steps of the method for multidimensional construction and processing of flight data as described in any one of claims 1 to 9.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method for multidimensional construction and processing of flight data as described in any one of claims 1 to 9.
13. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the method for multidimensional construction and processing of flight data as described in any one of claims 1 to 9.
