A configurable on-board computer software data processing method

By defining a global data structure to uniformly process airborne computer software data, the problems of inconvenient data retrieval and poor reusability are solved, thereby improving the software's ease of use and operating efficiency.

CN113849169BActive Publication Date: 2025-12-16XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111050733.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-08
Publication Date
2025-12-16
Estimated Expiration
2041-09-08

AI Technical Summary

Technical Problem

Existing airborne computer software lacks a unified processing method in the data acquisition and preprocessing process, resulting in inconvenient data retrieval and poor reusability.

Method used

By defining a global data structure, each input data is processed uniformly according to its data attributes, including analog and discrete data, providing a unified service interface and access interface.

Benefits of technology

It achieves unified and reusable data processing, improves the ease of use and operating efficiency of upper-layer application software, and simplifies software reuse between different projects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113849169B_ABST
    Figure CN113849169B_ABST
Patent Text Reader

Abstract

The application provides a configurable airborne computer software data processing method, which comprises the following steps: allocating corresponding attribute information to each data according to a defined global data structure body; and saving output data in each activity of a data processing flow in a global variable of a specific data structure and providing an access interface. The application has been applied to multiple auxiliary power electronic controllers, optimizes data processing specifications, improves data processing efficiency, and has high software reusability. For different interface files, only interface attribute configuration tables and header files need to be updated to realize software reusability.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of airborne computer application software data processing, in particular to a configurable airborne computer software data processing method. BACKGROUND

[0002] Airborne computer is the core intelligent component of aircraft electronic control system, and airborne computer software as the nervous system of airborne computer plays an increasingly important role in performing control calculation. Data collection of various sensors is the first step of performing control calculation, and the reliability and accuracy of input data directly affect the control performance of the system, so the data collection results need to be preprocessed and then provided to control calculation.

[0003] Taking a certain type of computer electronic controller as an example, the input data discrete quantity signals of the electronic controller are designed, and the analog quantity signals such as voltage, resistance, and capacitance. After the electronic controller is powered on, the data collection is first initialized, and in the initialization process, the data collection and preprocessing are performed according to the filtering requirements to ensure that the filling results in the filtering array are real collection results, and the processing process and processing result data structure are filled with real processed data. After initialization, periodic data collection and preprocessing are performed according to system requirements, and finally the data information meeting the requirements is provided to the application.

[0004] In order to facilitate and efficiently call the results of data preprocessing, and at the same time improve the reusability of data preprocessing software, a configurable data processing method is needed to uniformly process all data collected by the computer controller. SUMMARY

[0005] Therefore, the present disclosure provides a configurable airborne computer software data processing method, which defines each attribute of each input data according to requirements and writes it into a global data structure array, uniformly processes and manages all data according to the attributes of each data, and provides a unified service interface.

[0006] In order to achieve the above purpose, the present disclosure provides the following technical scheme:

[0007] A configurable airborne computer software data processing method comprises: assigning corresponding attribute information to each data by defining a global data structure for the data to be processed; and saving the output data in each activity of the data processing flow in a global variable of a specific data structure, and providing an access interface.

[0008] Further, the data to be processed includes analog data to be processed, and the attributes of the analog data to be processed include physical quantity attributes and filtering attributes.

[0009] Further, the physical attributes include result index, data source index, sensor type, whether to perform validity confirmation, upper and lower limits of validity confirmation, and whether to perform calibration; and the filtering attributes include whether to filter, filtering type, filtering parameter, filtering result, filtering array, and filtering data count.

[0010] Further, the output data in each activity of the data processing flow is saved in a corresponding data structure, an access interface is provided, and the data is saved according to the joint type.

[0011] Further, the processing method of the analog data to be processed includes the following steps:

[0012] S1, performing scale transformation on the collected data, and performing calibration on the scale transformation result;

[0013] S2, performing dimension conversion on the calibrated result according to the sensor type, calling different conversion functions for different sensor types, and saving the final physical quantity in a physical quantity conversion result joint body;

[0014] S3, performing filtering processing on the converted physical quantity result.

[0015] Further, in S1, in the calibration calculation, for each analog data, first, whether calibration is needed is judged according to the flag in the physical attribute, the data needing calibration is calibrated, and the calibration result is saved, and the data not needing calibration is also saved in the calibration result joint body.

[0016] Further, in S3, first, whether filtering is needed is judged for each analog data according to the filtering flag in the filtering attribute, the data needing filtering is selected according to the filtering type in the filtering attribute, a corresponding filtering algorithm is selected, a data filtering function is executed, and the filtering result is saved in the filtering data joint body and in the filtering result in the filtering attribute.

[0017] Further, the data to be processed also includes discrete data to be processed, and the attributes of the discrete data to be processed include whether to use, whether to reverse, whether to filter, filtering times, filtering result, and filtering array.

[0018] Further, the processing method of the discrete data to be processed includes saving the collected discrete data in the filtering array, defining the discrete quantity reverse attribute according to the valid and invalid standard, determining the discrete data needing reverse, and defining the discrete quantity processing structure attribute table.

[0019] Further, the valid and invalid standard is that valid is 1 and invalid is 0.

[0020] The application provides a configurable airborne computer software data processing method, which uniformly processes all input analog and discrete data. For each data to be processed, a corresponding attribute is assigned according to a defined attribute structure, and different data identifiers are defined to distinguish different data. The attribute information of all data is defined in the form of a structure data, each processing process is executed according to a processing flow, for each data to be processed, the attribute definition thereof is inquired, different processing is performed according to the defined attribute, and the result of each processing process is saved in a global data structure.

[0021] The application has been applied to multiple computer electronic controllers, provides a convenient and reliable data service interface for control application layer software, improves the usability and manageability of the upper layer application software, and greatly improves the running efficiency of the software. In different projects, only the data attribute structure array needs to be modified according to requirements to realize software reuse, and the software reuse rate is improved. BRIEF DESCRIPTION OF DRAWINGS

[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings needed in the embodiments will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and for those skilled in the art, other drawings can be obtained without creative labor based on these drawings.

[0023] Figure 1 An analog data processing flowchart in an embodiment of the present application;

[0024] Figure 2 A discrete data processing flowchart in an embodiment of the present application. DETAILED DESCRIPTION

[0025] The embodiments of the present disclosure will be described in detail below with reference to the drawings.

[0026] The embodiments of the present disclosure will be described in detail below with reference to the drawings. The embodiments of the present disclosure will be described in detail below with reference to the drawings. Obviously, the described embodiments are only some of the embodiments of the present disclosure, not all the embodiments. The present disclosure can also be implemented or applied in other different specific embodiments, and each detail in the specification can be modified or changed based on different views and applications without departing from the spirit of the present disclosure. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present disclosure.

[0027] To explain, various aspects of embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein can be embodied in a wide variety of forms and that any specific structure and / or function described herein is merely illustrative. Based on the teachings herein one skilled in the art should appreciate that an aspect described herein can be implemented independently of any other aspects and that an aspect described herein can be implemented both as any claim and as an aspect of a claim. For example, an apparatus can be implemented using any number of the aspects described herein. In addition, an apparatus can be implemented using other structure and / or functionality not expressly described herein. Similarly, a method can be implemented using any number of the aspects described herein. In addition, a method can be implemented using other structure and / or functionality not expressly described herein.

[0028] It is also to be noted that the graphical illustrations provided in the following embodiments are only schematic and the illustrations in the drawings only show the components as far as they are relevant for illustrating the present disclosure, and are not necessarily drawn to scale. The individual elements are not necessarily to scale, as some components have been represented in a generalized form, and can not appear in the shape of the relative considering components. The relative dimensions of the various features and elements can also be quite different from that shown in the figures, as specifically can depend on the choice of material of manufacture of the same. The graphical illustrations are given only for the purpose of clarity and for explaining the basic understanding of the present disclosure.

[0029] In addition, in the following description, specific details are provided to thoroughly understand examples. However, one having ordinary skill in the art will appreciate that the described aspects can be practiced without these specific details.

[0030] Embodiments of the present disclosure provide a configurable airborne computer software data processing method, comprising: assigning corresponding attribute information to each data by defining a global data structure for the data to be processed; and saving output data in each activity of a data processing flow in a global variable of a specific data structure, and providing an access interface.

[0031] The present disclosure will be described in detail below with specific embodiments.

[0032] The above method is used to process input data for a certain type of computer electronic controller. The specific implementation steps are as follows:

[0033] 1. For each analog input data, its physical attributes are defined according to Table 1, and the result index, data source index, sensor type, whether to perform validity confirmation, validity range, and whether to perform calibration are defined, and a global analog attribute structure array is defined.

[0034] Table 1: Analog physical attributes

[0035]

[0036]

[0037] 2. For each analog quantity data, whether to filter, filter type, filter coefficient, filter array, filter result and data storage count are defined according to the filter attribute defined in Table 2, and the definition result is saved in the global analog quantity filter structure array.

[0038] Table 2 Analog quantity filter attribute:

[0039]

[0040] 3. All analog quantities are traversed, and the data requiring calibration is calibrated according to the calibration method allocated by the system according to whether the calibration attribute is required, the data calibration function unit is called to calibrate the data, the calibration result is saved in the calibration data union variable, and external access is provided.

[0041] 4. All analog quantities are traversed, and the data requiring validity confirmation is processed according to the validity confirmation attribute, the confirmation method is the upper limit clipping, the validity confirmation result is saved in the data confirmation union variable, and external access is provided.

[0042] 5. All analog quantities are traversed, and different physical quantity conversion software units are called according to different sensor characteristics according to the sensor type, physical quantity conversion is performed on all signals, the converted physical quantity is saved in the physical quantity union variable, external access is provided, and the result in the filter array and the value of the data storage counter are updated, wherein the filter array adopts a cyclic storage mode for data updating.

[0043] 6. All analog quantities are traversed, and the analog quantity data requiring filtering is filtered according to the definition of the filter attribute structure, the final processing result is saved in the filter data union variable, and external access is provided. Figure 1

[0044] 7. All discrete quantity input data are defined according to the attribute information in Table 3, whether to invert filtering, whether to filter, filter times, filter result and filter array, and the definition result is saved in the global discrete quantity filter structure array.

[0045] Table 3 Discrete quantity processing attribute:

[0046] Identification Meaning Remark IsRev Whether filtered 1: valid 0: invalid IsFilter Filter type 1: valid 0: invalid FilterTimes Filter coefficient \ FilterRes Filter array \ FilterData Filter result \

[0047] 8. All discrete quantities are traversed, and the collected discrete quantity result is inverted according to whether the inversion attribute is required, the processing result is saved in the inversion data union, external access is provided, and the inversion result is updated in the filter array, the filter array adopts a cyclic storage mode for data updating. ​

[0048] 9. Traverse all discrete quantities, according to whether the filtering attribute is needed, according to the filtering times and the data in the filtering array, call the discrete quantity filtering function unit to filter it, and save the filtering result in the filtering result data union, and provide external access. The discrete quantity data processing flow is as shown in Figure 2 .

[0049] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present disclosure, which should be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims

1. A configurable on-board computer software data processing method, characterized in that, include: By assigning corresponding attribute information to each piece of data according to a predefined global data structure, the output data of each activity in the data processing flow is stored in a global variable of a specific data structure, and an access interface is provided to the outside world. The data to be processed includes analog quantity data to be processed, and the attributes of the analog quantity data to be processed include physical quantity attributes and filtering attributes. The physical quantity attributes include result index, data source index, sensor type, whether validity verification is performed, upper and lower limits of validity verification, and whether calibration is performed. The filtering attributes include whether filtering is performed, the filtering type, the filtering parameters, the filtering result, the filtering array, and the filtering data count. The output data of each activity in the data processing flow is stored in the corresponding data structure, providing an access interface to the outside world, and the data is stored according to the union type; The method for processing the analog data to be processed includes the following steps: S1. Perform scaling transformation on the collected data and calibrate the scaling transformation results; S2. After calibration, the dimensional conversion is performed according to the sensor type. Different conversion functions are called for different sensor types, and the final physical quantity is stored in the physical quantity conversion result union. S3. Filter the converted physical quantity results; In S1, during the calibration calculation, for each analog data, the system first determines whether calibration is required based on the flag in the physical properties. Data that needs calibration is calibrated, and the calibration results are saved. At the same time, data that does not need calibration is also saved in the calibration result concatenation. In step S3, firstly, each analog data is judged to determine whether filtering is required based on the filtering flag in the filtering attribute. For the data that needs filtering, the corresponding filtering algorithm is selected according to the filtering type in the filtering attribute, the data filtering function is executed, and the filtering result is saved in the filtered data union and also in the filtering result in the filtering attribute. The data to be processed also includes discrete data to be processed. The attributes of the discrete data to be processed include whether it is used, whether it is reversed, whether it is filtered, the number of times it is filtered, the filtering result, and the filtering array. The method for processing discrete data to be processed includes storing the collected discrete data in a filter array, defining discrete inversion attributes according to valid and invalid criteria, determining the discrete data that needs to be inverted, and defining a discrete processing structure attribute table.

2. The configurable on-board computer software data processing method of claim 1, wherein, The criteria for validity and invalidity are: 1 for validity and 0 for invalidity.

Citation Information

Patent Citations

  • Terminal wiring quality detection device based on ARM and bridge and detection method thereof

    CN108279347A

  • On-orbit calibration method and device for scale factors

    CN119437300A