CN112083917B - Calculation parameter generation method based on flight parameter data - Google Patents
Calculation parameter generation method based on flight parameter data Download PDFInfo
- Publication number
- CN112083917B CN112083917B CN202010821242.2A CN202010821242A CN112083917B CN 112083917 B CN112083917 B CN 112083917B CN 202010821242 A CN202010821242 A CN 202010821242A CN 112083917 B CN112083917 B CN 112083917B
- Authority
- CN
- China
- Prior art keywords
- calculation
- parameters
- parameter
- sequence
- time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000000354 decomposition reaction Methods 0.000 claims description 2
- 238000004458 analytical method Methods 0.000 description 4
- 238000007405 data analysis Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/42—Syntactic analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/43—Checking; Contextual analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44557—Code layout in executable memory
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0808—Diagnosing performance data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Stored Programmes (AREA)
Abstract
The present disclosure provides a calculation parameter generation method based on flight parameter data, comprising: registering temporary variables by taking parameter codes as labels for acquisition parameters and calculation parameters; writing a code text of the calculation parameters, and forming a calculation linked list; determining calculation interval time according to the calculation frequency of the calculation parameters; determining the time position of each calculation point according to the time sequence and the calculation interval time, searching the numerical value of the acquisition parameter at the moment, and updating the numerical value into the corresponding temporary variable; calculating the expression by utilizing the related temporary variable values according to the calculation linked list sequence to obtain a single-point calculation parameter result; saving the calculation parameter result to the corresponding position of the sequence of calculation parameters; according to the time sequence, the operation of calculating parameters is completed. The method can calculate the parameter sequence required by the user and provide support for data viewing and design of fly parameter data processing software.
Description
Technical Field
The disclosure relates to the technical field of avionics, in particular to a calculation parameter generation method based on flight parameter data.
Background
The flight parameter data is recorded by a flight parameter recorder (commonly called a black box), and plays an important role in the investigation of aviation accidents. The processing and analysis of the flight parameter data are important links in the use of flight parameters. When the flight parameter data is processed and analyzed, the collected parameters cannot be used for further analysis of the data, and when the data is further analyzed, the data is often required to be subjected to joint calculation to derive a target parameter value. In order to conveniently and rapidly meet the user demand, a user expresses the realization of the calculation parameters in a programmable mode, and the acquired flight parameter data are utilized to calculate the numerical value of the calculation parameter value in a time sequence through a certain realization logic, so that a rapid method is provided for the deep analysis of the flight parameter data.
Disclosure of Invention
In view of this, the embodiments of the present disclosure provide a method for generating calculation parameters based on flight parameter data, which enables a user to flexibly use the calculation parameter sequence required by the user, and provides support for data viewing and design of flight parameter data processing software.
A calculation parameter generation method based on flight parameter data comprises the following steps:
step one: registering temporary variables in a calculation parameter processor by taking English parameter codes as labels for acquisition parameters and calculation parameters;
step two: writing a code text of the calculation parameters, and forming a calculation linked list;
step three: determining the calculation interval time of the calculation parameters according to the calculation frequency set by the calculation parameters;
step four: determining the time position of each calculation point according to the time sequence and the calculation interval time, searching the numerical value of the acquisition parameter at the moment according to the time position, and updating the numerical value into the corresponding temporary variable;
step five: calculating the expression by utilizing the related temporary variable values according to the calculation linked list sequence of the step two to obtain a single-point calculation parameter result;
step six: according to the time points, saving the calculation parameter results to the corresponding positions of the sequence of calculation parameters;
step seven: and according to the time sequence, finishing the operation of all data points of the calculated parameters, namely finishing the operation of the calculated parameters.
In a preferred embodiment, the second step further includes compiling the code text with a computing parameter processor to check the grammar.
In a preferred embodiment, when the grammar is checked, if the grammar has errors, an error prompt is returned, and the code text is modified and then compiled again until the compilation is passed.
In a preferred embodiment, the step two further includes that the computing parameter processor performs minimum computing unit decomposition on the code text according to the priority, and forms a computing linked list according to the priority of the operation.
In a preferred embodiment, when forming the calculation linked list, the calculation unit with the highest priority is first extracted, then the unit is split until the unit is split into the minimum calculation units, and each minimum calculation unit is formed into the calculation linked list according to the priority.
In a preferred embodiment, the second step further includes a calculation parameter processor to register the acquisition parameters and the calculation parameters as temporary variables and write the calculation logic as code text.
In a preferred embodiment, the calculation parameters are performed in time series, and each calculation point is calculated and stored in the calculation series.
The calculation parameter generation method based on the flight parameter data can flexibly calculate the required parameter value according to the acquired data, and provides a powerful tool for flight parameter data analysis. The beneficial effects are as follows:
1) Means for improving fly-by-fly parameter data analysis
The invention adopts a flexible method for realizing calculation parameters, provides technical means for flight parameter data analysis, custom parameters and the like, and provides means for deep analysis of data.
2) Enriches the functions of fly-by-fly data processing software
The special software for the flight parameter data analysis is flight parameter data processing software, and the flight parameter data processing software can enrich the functions of the software by integrating and utilizing the functions.
Detailed Description
Embodiments of the present disclosure are described in detail below.
Other advantages and effects of the present disclosure will become readily apparent to those skilled in the art from the following disclosure, which describes embodiments of the present disclosure by way of specific examples. It will be apparent that the described embodiments are merely some, but not all embodiments of the present disclosure. The disclosure may be embodied or practiced in other different specific embodiments, and details within the subject specification may be modified or changed from various points of view and applications without departing from the spirit of the disclosure. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict. All other embodiments, which can be made by one of ordinary skill in the art without inventive effort, based on the embodiments in this disclosure are intended to be within the scope of this disclosure.
It is noted that various aspects of the embodiments are described below within the scope of the following claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the present disclosure, one skilled in the art will appreciate that one aspect described herein may be implemented independently of any other aspect, and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. In addition, such apparatus may be implemented and/or such methods practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
In addition, in the following description, specific details are provided in order to provide a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects may be practiced without these specific details.
The embodiment of the disclosure provides a calculation parameter generation method based on flight parameter data.
Step one: defining English parameter codes for the collected parameters and calculated parameters of the flight parameters, and registering temporary variables with the parameter codes as labels to a calculated parameter processor. The temporary variable represents the value of the parameter at a certain time.
Step two: according to the code writing specification required by the computing parameter processor, writing code text of the computing parameter, wherein the code text expresses computing logic of the computing parameter. The code comprises a code of acquisition parameters, a logic operator, an arithmetic operator, a bracket and the like, and the acquisition parameter code represents the acquisition parameter value at a certain moment to participate in operation.
Step three: inputting the code text written in the second step into a calculation parameter processor, and compiling the code by the calculation parameter processor to check grammar. If the grammar has errors, returning an error prompt. Compiling again after modifying the code text until compiling passes;
step four: splitting the code text into minimum computing units according to grammar, in the splitting process, according to the priority of operators, firstly extracting the computing unit with the highest priority, splitting the unit until the code text is split into the minimum computing units, and forming a computing chain table by each minimum computing unit according to the priority.
Step five: according to the calculation frequency required by the calculation parameters, determining the calculation interval of the calculation parameters, wherein if the calculation frequency is 4, the calculation is performed for 4 times per second, and the calculation interval is 250ms;
step six: when calculating the data of a certain point, firstly, acquiring the parameter value of the acquisition parameter at the time point or the nearest time point by utilizing the time according to the time of the point on the time sequence, and updating the temporary variable value in a calculation parameter processor;
step seven: according to the calculation linked list sequence of the step four, calculating each operation unit sequence in the expression by utilizing the numerical value of the temporary variable corresponding to the acquisition parameter to obtain an operation result, and returning the result;
step eight: according to the time points, saving the calculation results to the corresponding positions of the sequence of the calculation parameters;
step nine: and when all sequence points of the calculated parameters are calculated according to the time sequence, the calculation of the calculated parameters is completed.
The method for generating the calculation parameters utilizes a calculation parameter processor which can interpret and execute codes written by users, applies the acquired parameters and calculation parameters for temporary variable space by utilizing the parameter codes. On the time sequence of the flight parameter data, unknown parameter values are calculated by using corresponding acquisition parameter values, and the parameter values are stored in time sequence, so that a sequence value of calculated parameters is formed.
The foregoing is merely specific embodiments of the disclosure, but the protection scope of the disclosure is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the disclosure are intended to be covered by the protection scope of the disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.
Claims (7)
1. The calculation parameter generation method based on the flight parameter data is characterized by comprising the following steps of:
step one: registering temporary variables in a calculation parameter processor by taking the acquisition parameters and the calculation parameters as labels by taking parameter codes;
step two: writing a code text of the calculation parameters, and forming a calculation linked list;
step three: determining the calculation interval time of the calculation parameters according to the calculation frequency set by the calculation parameters;
step four: determining the time position of each calculation point according to the time sequence and the calculation interval time, searching the numerical value of the acquisition parameter at the moment according to the time position, and updating the numerical value into the corresponding temporary variable;
step five: calculating the expression by utilizing the related temporary variable values according to the calculation linked list sequence of the step two to obtain a single-point calculation parameter result;
step six: according to the time points, saving the calculation parameter results to the corresponding positions of the sequence of calculation parameters;
step seven: and according to the time sequence, finishing the operation of all data points of the calculated parameters, namely finishing the operation of the calculated parameters.
2. The method of claim 1, further comprising compiling the code text with a computing parameter processor and checking the grammar.
3. The method for generating calculation parameters based on flight data according to claim 2, wherein when the grammar is checked, if the grammar has an error, an error prompt is returned, and the code text is modified and then compiled again until the compilation passes.
4. The method of generating calculation parameters based on flight data according to claim 2, wherein the step two further comprises the steps of performing minimum calculation unit decomposition on the code text by the calculation parameter processor according to the priority, and forming a calculation linked list according to the operation priority.
5. The method for generating calculation parameters based on flight data according to claim 4, wherein when forming the calculation linked list, the calculation unit with the highest priority is extracted first, then split until the calculation unit is split into the minimum calculation units, and each minimum calculation unit is formed into the calculation linked list according to the priority.
6. The method of claim 2, further comprising, in step two, a calculation parameter processor to register the acquisition parameters and the calculation parameters as temporary variables, and write the calculation logic as code text.
7. The method for generating calculation parameters based on flight data according to claim 1, wherein the calculation parameters are performed in time series, and each calculation point is calculated and stored in a calculation sequence.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010821242.2A CN112083917B (en) | 2020-08-14 | 2020-08-14 | Calculation parameter generation method based on flight parameter data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010821242.2A CN112083917B (en) | 2020-08-14 | 2020-08-14 | Calculation parameter generation method based on flight parameter data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112083917A CN112083917A (en) | 2020-12-15 |
CN112083917B true CN112083917B (en) | 2023-11-14 |
Family
ID=73729163
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010821242.2A Active CN112083917B (en) | 2020-08-14 | 2020-08-14 | Calculation parameter generation method based on flight parameter data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112083917B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001029662A2 (en) * | 1999-10-19 | 2001-04-26 | General Electric Company | Compiler having real-time tuning, i/o scaling and process test capability |
EP1637959A2 (en) * | 2000-11-20 | 2006-03-22 | ECD Systems, Inc. | Systems and methods for preventing unauthorized use of digital content |
CN102495749A (en) * | 2011-11-29 | 2012-06-13 | 珠海翔翼航空技术有限公司 | Method for converting flight rules into instruction codes convenient to execute by computer |
CN103019801A (en) * | 2012-12-20 | 2013-04-03 | 北京航天测控技术有限公司 | Compiler applied to high-speed digital I/O wave engines |
-
2020
- 2020-08-14 CN CN202010821242.2A patent/CN112083917B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001029662A2 (en) * | 1999-10-19 | 2001-04-26 | General Electric Company | Compiler having real-time tuning, i/o scaling and process test capability |
EP1637959A2 (en) * | 2000-11-20 | 2006-03-22 | ECD Systems, Inc. | Systems and methods for preventing unauthorized use of digital content |
CN102495749A (en) * | 2011-11-29 | 2012-06-13 | 珠海翔翼航空技术有限公司 | Method for converting flight rules into instruction codes convenient to execute by computer |
CN103019801A (en) * | 2012-12-20 | 2013-04-03 | 北京航天测控技术有限公司 | Compiler applied to high-speed digital I/O wave engines |
Non-Patent Citations (2)
Title |
---|
飞参数据综合记录分析系统的设计与实现;高歌梦月;刘荣林;;指挥控制与仿真(第01期);全文 * |
飞参记录数据计算机处理的有关问题研究;吴建刚;陈志伟;李曙林;王智;;计算机仿真(第02期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112083917A (en) | 2020-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019051426A1 (en) | Pruning engine | |
CN110543421B (en) | Unit test automatic execution method based on test case automatic generation algorithm | |
CN107943689B (en) | Automatic test method and test system based on parameterized test script | |
US20130179863A1 (en) | Bug variant detection using program analysis and pattern identification | |
JP6316120B2 (en) | Test case generation system and recording medium recording test case | |
CN110059006B (en) | Code auditing method and device | |
CN108763064B (en) | Code test generation method and device based on black box function and machine learning | |
CN108345468A (en) | Programming language code duplicate checking method based on tree and sequence similarity | |
Liventsev et al. | Fully autonomous programming with large language models | |
Degiovanni et al. | µbert: Mutation testing using pre-trained language models | |
CN112083917B (en) | Calculation parameter generation method based on flight parameter data | |
CN108595810A (en) | Digital satellite simulation report intelligent generation method | |
CN110659200A (en) | Method and system for comparing and analyzing source code and target code of airborne software | |
CN115454702A (en) | Log fault analysis method and device, storage medium and electronic equipment | |
Dyer et al. | Bounded verification of sparse matrix computations | |
US9442701B1 (en) | Verifying models for exceptional behavior | |
JP2003308229A (en) | Time-series event record analysis method and apparatus, program and recording medium | |
Biringa et al. | Automated User Experience Testing through Multi-Dimensional Performance Impact Analysis | |
Rostami et al. | Beyond random inputs: A novel ML-based hardware fuzzing | |
CN113505283A (en) | Test data screening method and system | |
Yi et al. | Automated repair of high inaccuracies in numerical programs | |
Pham et al. | Modular conformance testing and assume-guarantee verification for evolving component-based software | |
CN109669952A (en) | A kind of SQL execution efficiency Static Analysis Method | |
JPH09288580A (en) | Device and method for optimizing source program | |
Shupletsov et al. | Dynamic programming algorithms for large-scale equivalence checking and functional correction |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |