Disclosure of Invention
In view of the above, the data packaging method based on the avionics core processing platform provided by the invention packages the data to be loaded according to a certain data format requirement, is used for solving the problem of disordered data item configuration of avionics equipment, improves the efficiency of software maintenance, management and loading, and improves the safety of avionics equipment.
A method for packaging data based on an avionics core processing platform, which is suitable for loading data of an airborne avionics system running various software and provided with a plurality of avionics devices, the method comprising,
Step 1, classifying loadable software aircraft parts to form a plurality of software sets, presetting to generate a plurality of data sets suitable for avionics according to whether each software set is related to the position of the avionics, wherein each data set is used as the loadable software aircraft parts, and the data sets comprise a first data set, a plurality of second data sets and a third data set, and are used as the input of a tool set, and the tool set is used for packaging the data loaded by the avionics and writing rules of the data into each data set:
Step 2, executing a data integration tool process, wherein all the second data sets generate a specific operation configuration table through the data integration tool, and the data integration tool is used for connecting an operation system configuration, an end system configuration, a storage configuration and a file system configuration which are provided by a user and are applicable to specified avionics equipment into a binary file;
step 3, executing a data file generation tool process, wherein a plurality of software in one data packet are packaged;
Step 4, executing a supporting file generation tool process, describing the packed data packet, and forming a description file in a preset format;
Step 5, executing a header file generation tool, wherein the support file description file execution header file generation tool generates a header file, and the header file is used for quickly or briefly describing data included in a data set in the data loading process of avionics equipment and determining quick judgment of loaded contents of the avionics equipment
Firstly, according to whether each software item is related to the equipment position, different loadable software airplane parts are formed, namely a general loadable software airplane part, a specific loadable software airplane part and a configuration list loadable software airplane part.
Universal loadable software aircraft parts, comprising software common to all locations and minimum configuration data, to support avionics at each location. Even if the position of the equipment changes, the software on the equipment can still normally run;
a specific loadable software aircraft component comprising only software items of specific avionics equipment, wherein the software items comprise a partition loading mapping table and a specific operation configuration table of the equipment;
The configuration list can be loaded with software aircraft parts, namely configuration items of all avionics equipment comprising the avionics core processing platform. Configuration items are defined for configuration checking by listing all generic loadable software aircraft parts and each specific loadable software aircraft part and its own part number.
Second, a loadable software aircraft component is generated by executing the following tools, including:
(1) Data integration tool
The purpose of the data integration tool is to combine multiple individual binary files into a single loadable configuration or database file for access by the avionics core processing platform as a single entity. The tool is illustrated by way of example with specific operational configuration tables in specific loadable software aircraft parts, namely an operating system configuration, an end system configuration, a storage configuration and a file system configuration. These configuration binaries are tightly coupled because arinc653 ports defined in the operating system configuration must match COM ports in the end system configuration, and partitions defined in the operating system configuration must match partitions in the designated storage configuration and file system configuration. The tool links these binary files with dependencies into one file.
(2) A data file generation tool that generates and validates loadable items applicable to avionics core processing platform avionics by adding LIH to the original binary file. LIH includes loadable item attributes and software and hardware information, binary file size and CRC. When the loadable item is loaded, the LIH is stored in the avionics device for use in generating configuration reports.
(3) Support file generation tool
The support file has a part of the information in the header file and a part of the information in the data file, and the data file generation tool integrates the data in one file so that avionics equipment can uniformly process the information when loading the data, such as compatibility checking and the like.
(4) Header file generation tool
The header file is used for confirming the data file to be loaded and the supporting file in the data loading process by the avionics core processing platform.
The invention has the technical advantages that:
The data integration tool can effectively improve efficiency of configuration management by means of whether data items in the avionics equipment are related to equipment positions to form universal loadable software aircraft parts, specific loadable software aircraft parts and configuration list loadable software aircraft parts, a group of binary configuration files or databases with mutual dependency relations are combined into a single file, the number of loading items can be reduced, accordingly, the number of compatibility checking is reduced, secondly, in order to align memories with sector boundaries, the sizes of all loadable items must be rounded into sectors with the closest sizes, each loadable item stored has a large amount of memory waste, the storage efficiency of the avionics equipment can be improved by combining files, the loadable item heads generated by the data file generation tool are used for identifying information of the current loadable item and generating configuration reports by using LIH of the new loadable software aircraft parts when the new loadable software aircraft parts need to be created, the supporting file generation tool and the head file generation tool can directly create new supporting files, and the supporting safety of the electrical equipment for improving the compatibility when the avionics processing platform loads data.
Detailed Description
Embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
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.
The method for packaging data based on the avionics core processing platform, as shown in fig. 1-4, is suitable for loading data of an airborne avionics system, which runs a plurality of kinds of software and is provided with a plurality of avionics devices, and comprises,
Step 1, classifying the loadable software aircraft parts to form a plurality of software sets, presetting to generate a plurality of data sets suitable for avionics according to whether each software set is related to the position of the avionics, wherein each data set is used as the loadable software aircraft parts, the data sets comprise a first data set, a plurality of second data sets and a third data set, the data sets are used as the input of a tool set, the tool set is used for packaging the data loaded by the avionics, and the rule of the data is put into each data set, in particular,
Step 1.1, storing software applicable to universal positions of all avionics in a first data set, namely, any one piece of software in the first data set is loaded by the avionics with universal positions;
Step 1.2, each avionics equipment corresponds to an equipment loading mapping table and a specific operation configuration table, and according to the names of the equipment loading mapping table and the specific operation configuration table (the names comprise the positions and the names corresponding to the avionics equipment), the equipment loading mapping table and the specific operation configuration table are stored in a second data set matched with the names, (one name is pre-allocated in the second data set, and when the names of the two tables are the same, the names are stored);
And 1.3, counting the names and the storage of the first data set and all the second data sets by the third data set to form a configuration list, namely, storing all the names by the configuration list in the third data set, wherein the configuration list is applicable to loading all avionics equipment.
By classifying the loadable software of all avionics, the loading times of the software can be reduced by combining the software, and the service efficiency of the avionics is improved.
Step 2, executing a data integration tool process, wherein all the second data sets generate a specific operation configuration table through the data integration tool, the data integration tool is used for connecting the operation system configuration, the end system configuration, the storage configuration and the file system configuration, which are provided by a user and are applicable to the specified avionics equipment, into a binary file, for example, generating a binary file by traversing the operation system configuration, the end system configuration, the storage configuration and the file system configuration, preferably,
The binary file is analyzed to determine whether each part connected with the binary file is correct, wherein the binary file generated by analyzing is used for calculating the correctness of CRC values of the operating system configuration, the end system configuration, the storage configuration and the file system configuration, if so, a data integration tool result report is generated, and if not, the tool error information feedback is carried out, and the user inputs again.
And 3, executing a data file generation tool process to package a plurality of software in one data packet, specifically,
Step 3.1, the data set acquires a data file description file in an XML format in a man-machine interaction mode, wherein the data file description file comprises a main node corresponding to the XML format, the main node comprises LoadItem loadable items, the attribute of the main node is the name, ID, part number and type of the loadable items, and the attribute of the sub node comprises software version information, sub node HW hardware information, the attribute of the sub node comprises cabinet number, version and cabinet position and module position of target avionics equipment of the data file to be loaded, the attribute of the sub node comprises href and is linked to the storage position of the binary file as a variable;
Step 3.2, binary files and description files are used as input of a data file generation tool, the data file generation tool is used for generating data files, the data files are used for data loading of all avionics equipment, the data file generation tool sequentially obtains loadable item attributes and software and hardware information of software and the size and CRC value of the binary files by analyzing the data file description files, the loadable item attributes and the software and hardware information and the size and CRC value of the binary files are added into 1024 bytes of the binary file header, the 1024 bytes of the binary file header are used as loadable item header data LIH, and the loadable item header data LIH is used for quickly identifying loading items by the avionics equipment;
Further, verification is required, for example, all the attributes in the XML description file in step 3 are analyzed, and compared with all the attributes in the generated LIH, if the verification report is correct, a verification report is generated, including whether each attribute is successfully verified, if the verification report is incorrect, the tool reports error information feedback, and the user inputs the error information feedback again.
And 4, executing a supporting file generating tool process, describing the packed data packet to form a description file with a preset format, wherein all data file description files are used as the input of the supporting file generating tool, and the supporting file generating tool is used for generating supporting files with XML format. The XML format includes a main node SupportFile supporting file, the attribute of the main node is the name, ID and the part number of the part of the loadable software aircraft and the name, ID and the part number of the supporting file, the attribute of the sub node includes href, the description file of the data file is used as a variable to be linked to the storage position of the description file of the data file, if a plurality of data files exist in the loading, a plurality of corresponding sub nodes are introduced, for example, the binary supporting file format generated by analyzing the description file of the supporting file and the description file of the data file and the data file contained in the traversing file is shown in figure 3.
And 4.2, analyzing all the attributes in the data file description file and the support file description file, comparing with all the attributes in the binary support file, if the attributes are correct, generating a verification report including whether each attribute is successfully verified, and if the attributes are incorrect, feeding back error information by the tool, and re-inputting by a user.
Step 5, executing a header file generating tool process, wherein the header file is a binary file, supporting file description file to execute the header file generating tool to generate a header file, wherein the header file is used for quickly or briefly describing data included in a data set in the avionics data loading process, determining quick judgment of loaded contents of the avionics, specifically,
Step 5.1, the supporting file description file in the step 4 is used as the input of a header file generating tool, and binary files of the header file are generated by analyzing nodes and attributes of the supporting file description file;
Step 5.2, the binary format of the header file is shown in FIG. 4;
And 5.3, analyzing all nodes and attributes in the supporting file description file in the step 5.1, comparing with all attributes in the generated header file, and generating a verification report including whether each attribute is successfully verified, wherein if any attribute is wrong, the header file generation tool fails to execute.
The above is merely a specific embodiment of the disclosure, but the protection scope of the disclosure is not limited thereto, and any changes or substitutions easily conceivable by those skilled in the art within the technical scope of the disclosure are intended to be covered in the protection scope of the disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.