ICD-based remote data conversion unit configuration generation tool set method
By using a remote data conversion unit configuration generation toolset based on ICD, the high cost of changing airborne software configuration information is solved, enabling flexible configuration without modifying the source code, thus improving efficiency and accuracy.
Patent Information
- Application Number
- CN202511839682.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-08
- Publication Date
- 2026-04-28
AI Technical Summary
In the existing technology, changing the configuration information of the remote data conversion unit of the airborne software requires cumbersome code modifications, resulting in high maintenance costs and low efficiency.
The toolkit for configuring and generating remote data conversion units based on ICDs, including tools for configuring conversion, verification, and generation, directly extracts XML documents from the ICD to generate XML format files and fills them into a loadable binary configuration file, avoiding modification of the source code.
It reduces the maintenance cost of airborne software, improves the efficiency and accuracy of modifications, avoids the need for manual modification of source code, and enables flexible configuration changes.
Smart Images

Figure CN121940277A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the technical field of airborne software, and particularly relates to a method for generating a remote data conversion unit configuration toolkit based on ICD. Background Technology
[0002] The ICD (Integrated Control Center) is published by the host and contains over 1,500 XML files, covering all configuration information for approximately dozens of aircraft-level subsystems, including all configuration information for the Remote Data Conversion Unit (RDU). The ICD contains a large number of XML documents with numerous configuration attributes, all containing the configuration information required by the RDU. Currently, this configuration information is often hard-coded into the device's software code. This traditional approach requires cumbersome code modifications when the configuration information changes. Since the RDU software is Class A software, modifying the code is costly.
[0003] In view of this, the present invention is hereby proposed. Summary of the Invention
[0004] The method for generating a remote data conversion unit configuration toolkit based on ICD provided by this invention eliminates the need to modify the source code of the airborne software, thus reducing software maintenance costs. The technical solution of this invention has many beneficial effects, as described below: A method for generating a remote data conversion unit configuration toolkit based on ICD (Intelligent Data Conversion Device), applicable to the generation of remote data conversion unit configurations in airborne avionics systems, wherein the airborne avionics system is configured with a host controller, the method comprising, Based on the ICD interface control documents sent by the host controller, the following tools are generated: a remote data conversion unit configuration conversion tool, a remote data conversion unit configuration conversion verification tool, a remote data conversion unit configuration generation tool, and a remote data conversion unit configuration verification tool. The remote data conversion unit is configured with a conversion tool to convert ICD interface control documents into XML format analog discrete quantity configuration files, digital signal configuration files, and data conversion configuration files. The remote data conversion unit configuration conversion verification tool is used to verify whether the input data and output data of the remote data conversion unit configuration conversion tool match, and whether the format and content of the output file are correct; The remote data conversion unit configuration generation tool is used to fill the data in the XML format analog discrete quantity configuration file, digital signal configuration file and data conversion configuration file into a loadable binary configuration file; The remote data conversion unit configuration verification tool is used to verify whether the input and output data of the remote data conversion unit configuration generation tool match, and whether the format and content of the output file are correct.
[0005] Compared with the prior art, the technical solution provided by the present invention has the following beneficial effects: Extract all XML documents from the ICD and store them in a hash table. Extract analog discrete quantity configuration information, digital signal configuration information, and data conversion configuration information from the hash table to generate XML-formatted analog discrete quantity configuration files, digital signal configuration files, and data conversion configuration files. Define the format of the loadable binary configuration file for the remote data conversion unit, and fill the data from the XML-formatted analog discrete quantity configuration file, digital signal configuration file, and data conversion configuration file into the loadable binary configuration file. This generates a loadable binary file for the airborne software to read, eliminating the need to modify the airborne software source code, reducing software maintenance costs, and avoiding manual modification of the source code, thus improving modification efficiency and accuracy. Attached Figure Description
[0006] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0007] Figure 1 This is a schematic diagram of the method of the present invention; Figure 2 A diagram illustrating the configurable properties of the configuration file for simulating discrete quantities; Figure 3 A diagram illustrating the configurable attributes of a digital signal configuration file; Figure 4 A diagram illustrating the configurable properties of the data transformation configuration file. Detailed Implementation
[0008] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, in the absence of conflict, the following embodiments and features in the embodiments can be combined with each other. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0009] It should be noted that various aspects of embodiments within the scope of the appended claims are described below. It will be apparent that the aspects described herein can be embodied in a wide variety of forms, and any particular structure and / or function described herein is merely illustrative. Based on this invention, those skilled in the art will understand that one aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number of aspects set forth herein can be used to implement the device and / or practice the method. Additionally, this device and / or method can be implemented using structures and / or functionalities other than one or more of the aspects set forth herein.
[0010] It should also be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. The drawings only show the components related to the present invention and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0011] Furthermore, specific details are provided in the following description to facilitate a thorough understanding of the examples. However, those skilled in the art will understand that aspects can be practiced without these specific details. To enable those skilled in the art to better understand the invention, the invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined as "first" and "second" may explicitly or implicitly include one or more of that feature. In the description of the invention, unless otherwise stated, "a plurality of" means two or more.
[0012] like Figures 1 to 4 The method for generating a remote data conversion unit configuration toolkit based on ICD, as shown, is applicable to the generation of remote data conversion unit configurations in airborne avionics systems. The airborne avionics system is equipped with a host controller. The method includes... Based on the ICD interface control documents sent by the host controller, the following tools are generated: a remote data conversion unit configuration conversion tool, a remote data conversion unit configuration conversion verification tool, a remote data conversion unit configuration generation tool, and a remote data conversion unit configuration verification tool. (Generally, these are generated using pre-stored tools on a PC desktop.) The remote data conversion unit configuration conversion tool is used to convert ICD interface control documents into XML format analog discrete quantity configuration files, digital signal configuration files, and data conversion configuration files (generated simultaneously). The remote data conversion unit configuration conversion verification tool is used to verify whether the input and output data of the remote data conversion unit configuration conversion tool match, and whether the format and content of the output file are correct. The remote data conversion unit configuration generation tool is used to fill the data in the XML format analog discrete quantity configuration file, digital signal configuration file and data conversion configuration file into a loadable binary configuration file; The Remote Data Conversion Unit Configuration Verification Tool is used to verify whether the input and output data of the Remote Data Conversion Unit Configuration Generation Tool match, and whether the format and content of the output file are correct.
[0013] This method flexibly modifies airborne software functions by changing configurations, eliminating the need to modify source code and thus solving the problem of increased software maintenance costs caused by hard-coded configuration information. During functional changes and software / hardware modifications to civil aircraft equipment, compliance verification needs to be resubmitted to the regulatory authorities. This invention achieves configurability of the remote data conversion unit, avoiding the economic costs of resubmitting compliance. It also employs a matching tool authentication strategy, developing an authentication verification tool to verify the input and output compliance of the development tool. The development tool itself is not authenticated, lowering the tool authentication level. Modifying these configuration information by modifying software code increases software maintenance costs. Furthermore, during software code changes to civil aircraft equipment, compliance verification needs to be resubmitted to the regulatory authorities, increasing both economic and human resource costs.
[0014] In one embodiment, the host controller is capable of receiving ICD data sent by the onboard equipment. The ICD data includes an XML file, and the ICD interface control document includes an ICD root directory. A remote data conversion unit configures a conversion tool to convert the ICD interface control document into an XML-formatted analog discrete quantity configuration file, a digital signal configuration file, and a data conversion configuration file. Step 1: Starting from the ICD root directory, perform a depth-first traversal of all XML files and store the file names and file path information of the XML files in a hash table; the time complexity of querying the data in the hash table is O(1), the tool can quickly obtain the path information of the XML files, and then parse the XML files, thus improving the execution speed of the tool; Step 2: Configure the remote data conversion unit to generate analog discrete quantity configuration files, digital signal configuration files, and data conversion configuration files simultaneously in a multi-threaded manner; improve the execution speed of the tool. The specific execution process is shown in Steps 3, 4, and 5.
[0015] Furthermore, the simultaneous generation of analog discrete quantity configuration files, digital signal configuration files, and data conversion configuration files in a multi-threaded manner includes configuration information as follows: Figure 2Step 3: The process of generating the simulation discrete quantity configuration file is as follows. Step 3.1: Obtain analog signal configuration information. This involves traversing the XML file containing analog signal configuration information in the ICD interface control document, reading the analog port information from the XML file, and storing it in a data structure in the PC's memory. The analog port information includes the number of analog ports, analog port number, port name, and transmission direction. Step 3.2: Obtain discrete quantity configuration information. This involves traversing all XML files containing discrete quantity configuration information in the ICD interface control document, reading discrete quantity port information (including the number of discrete quantity ports, discrete quantity port number, port name, transmission direction, etc.), and storing it in the data structure in the PC's memory, for example, storing it in the corresponding discrete quantity configuration information Java object. Step 3.3: Traverse each data structure (Java object and its attributes) generated in Steps 3.1 to 3.2, generate a simulated discrete quantity configuration XML file in the user-specified directory, calculate the CRC of the simulated discrete quantity configuration XML file according to the user-specified CRC algorithm, and fill it into the specified attribute of the root node of the simulated discrete quantity configuration XML file.
[0016] Furthermore, it also includes the generation of digital signal configuration files for the remote data conversion unit's conversion tool. Specifically, step 4: the process of generating digital signal configuration files for the remote data conversion unit's conversion tool includes simultaneously acquiring data in a multi-threaded manner. Figure 3 The configuration properties for each part are as follows. Step 4.1: Obtain the onboard 429 port configuration information. Traverse all XML files containing 429 port configuration information in the ICD interface control document, obtain the 429 port information (including the number of 429 ports, port number, port name, transmission direction, baud rate, etc.), and store it in the data structure in the PC memory, such as storing it in the corresponding digital signal configuration Java object. Step 4.2: Obtain the configuration information of the onboard 825 port. Traverse all XML files containing 825 port configuration information in the ICD interface control document, obtain all 825 port information (including the number of 825 ports, port number, port name, baud rate, etc.), and store it in the data structure in the PC memory, and store it in the corresponding digital signal configuration Java object. Step 4.3: Traverse each data structure (Java object and property) generated in PC memory in steps 4.1 to 4.2, generate a digital signal configuration XML file in the user-specified directory, calculate the CRC of the digital signal configuration XML file according to the specified CRC algorithm, and fill it into the specified attribute of the root node of the digital signal configuration XML file.
[0017] Furthermore, step 5: The data conversion configuration generation process for the remote data conversion unit configuration conversion tool includes, Step 5.1: Traverse all XML files containing remote routing information in the ICD, obtain each message processed by the remote data conversion unit (including message ID, message name, sending direction, message size, etc.), and store it in the data structure in the PC's memory, such as the corresponding Java object; Step 5.2: Traverse all XML files containing remote routing information in the ICD, obtain all parameter information for each message processed by the remote data conversion unit, and store it in the data structure in the PC's memory; (the information for all parameters of each message includes parameter ID, parameter name, parameter size, parameter type, etc.), and store it in the corresponding Java object; Step 5.3: Traverse each data structure in the PC memory generated in 4.1 to 4.2, generate a data conversion configuration XML file in the user-specified directory, calculate the CRC of the data conversion configuration XML file according to the specified CRC algorithm, and fill it into the specified attribute of the root node of the data conversion configuration XML file.
[0018] In one embodiment, the development process of configuring a conversion verification tool for a remote data conversion unit includes, The system parses the input data (which is the ICD interface control document) of the remote data conversion unit configuration conversion tool, and parses the output data of the remote data conversion unit configuration conversion tool. The output data includes analog discrete quantity configuration file (XML), digital signal configuration file (XML), and data conversion configuration file (XML). The system compares the input data with the output data and stores the comparison results in the memory of the onboard PC. A verification report containing the comparison results is generated. The verification report includes all attributes of the XML configuration file, the corresponding values in the ICD, and the comparison results.
[0019] In one embodiment, the development process of the remote data conversion unit configuration generation tool includes, Step 1: Read the analog discrete quantity configuration file (in XML format), digital signal configuration file (in XML format), and data conversion configuration file (in XML format) generated by the remote data conversion unit configuration conversion tool. XSD verification is performed on the number of elements and the range of attribute values in the analog discrete quantity configuration file, digital signal configuration file, and data conversion configuration file (XSD verification can detect whether the structure of the XML file is correct); CRC verification is performed on the analog discrete quantity configuration file, digital signal configuration file, and data conversion configuration file. CRC verification calculates the CRC of the data in the XML file except for the CRC attribute values, and compares the calculated CRC with the CRC attribute to confirm whether the XML file has been tampered with. Step 2: If neither the XSD check nor the CRC check yields an error, then the format and attribute range of the XML configuration file meet the requirements and the data has not been tampered with. At this point, according to the corresponding mapping rules, the content of the XML configuration file is filled into the loadable binary configuration file.
[0020] In one embodiment, the remote data conversion unit configuration verification tool is used to compare the output data and input data of the remote data conversion unit configuration generation tool according to preset rules. The preset rules are the conversion relationship between XML file attributes and binary file attributes, and generate a verification report. The verification report includes the value of each attribute in the input XML file and the output BIN file, as well as the comparison result between the two.
[0021] The product provided by this invention has been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this invention. The descriptions of the embodiments above are merely for the purpose of helping to understand the core ideas of this invention. It should be noted that those skilled in the art can make various improvements and modifications to the invention without departing from the principles of the invention, and these improvements and modifications also fall within the protection scope of the invention claims.
Claims
1. A method for generating a remote data conversion unit configuration toolkit based on ICD, applicable to the generation of remote data conversion unit configurations in airborne avionics systems, wherein the airborne avionics system is equipped with a host controller, characterized in that, The method includes, Based on the ICD interface control documents sent by the host controller, the following tools are generated: a remote data conversion unit configuration conversion tool, a remote data conversion unit configuration conversion verification tool, a remote data conversion unit configuration generation tool, and a remote data conversion unit configuration verification tool. The remote data conversion unit configuration conversion tool is used to convert the ICD interface control document into an XML format analog discrete quantity configuration file, digital signal configuration file, and data conversion configuration file; The remote data conversion unit configuration conversion verification tool is used to verify whether the input data and output data of the remote data conversion unit configuration conversion tool match, and whether the format and content of the output file are correct; The remote data conversion unit configuration generation tool is used to fill the data in the XML format analog discrete quantity configuration file, digital signal configuration file and data conversion configuration file into a loadable binary configuration file; The remote data conversion unit configuration verification tool is used to verify whether the input and output data of the remote data conversion unit configuration generation tool match, and whether the format and content of the output file are correct.
2. The method according to claim 1, characterized in that, The host controller can receive ICD data sent by the onboard equipment. The ICD data includes XML files, and the ICD interface control document includes the ICD root directory. The remote data conversion unit configures a conversion tool to convert the ICD interface control document into XML format analog discrete quantity configuration files, digital signal configuration files, and data conversion configuration files. Step 1: Starting from the root directory of the ICD, perform a depth-first traversal of all XML files and store the file name and file path information of the XML files in a hash table; Step 2: Configure the remote data conversion unit conversion tool to generate analog discrete quantity configuration files, digital signal configuration files, and data conversion configuration files simultaneously in a multi-threaded manner.
3. The method according to claim 2, characterized in that, Simultaneous generation of analog discrete quantity configuration files, digital signal configuration files, and data conversion configuration files in a multi-threaded manner includes: Step 3.1: Obtain analog configuration information. This involves traversing the XML file containing analog configuration information in the ICD interface control document, reading the analog port information from the XML file, and storing it in a data structure in the PC's memory. The analog port information includes the number of analog ports, the analog port number, the port name, and the transmission direction. Step 3.2: Obtain discrete quantity configuration information, which involves traversing all XML files containing discrete quantity configuration information in the ICD interface control document, reading discrete quantity port information, and storing it in the data structure in the PC memory; Step 3.3: Traverse each data structure generated in Steps 3.1 to 3.2, generate a simulated discrete quantity configuration XML file in the user-specified directory, calculate the CRC of the simulated discrete quantity configuration XML file according to the user-specified CRC algorithm, and fill it into the specified attribute of the root node of the simulated discrete quantity configuration XML file.
4. The method according to claim 3, characterized in that, It also includes the generation of digital signal configuration files for the remote data conversion unit configuration conversion tool, as follows: Step 4.1: Obtain the configuration information of port 429 on the airborne machine. Traverse all XML files containing the configuration information of port 429 in the ICD interface control document, obtain the port 429 information, and store it in the data structure in the PC memory. Step 4.2: Obtain the configuration information of the onboard 825 port. Traverse all XML files containing 825 port configuration information in the ICD interface control document, obtain all 825 port information, and store it in the data structure in the PC memory, and store it in the corresponding digital signal configuration Java object. Step 4.3: Traverse each data structure in the PC memory generated in steps 4.1 to 4.2, generate a digital signal configuration XML file in the user-specified directory, calculate the CRC of the digital signal configuration XML file according to the specified CRC algorithm, and fill it into the specified attribute of the root node of the digital signal configuration XML file.
5. The method according to claim 4, characterized in that, The data conversion configuration generation process of the remote data conversion unit configuration conversion tool includes: Step 5.1: Traverse all XML files containing remote routing information in the ICD, obtain each message processed by the remote data conversion unit, and store it in the data structure in the PC's memory; Step 5.2: Traverse all XML files containing remote routing information in the ICD, obtain all parameter information for each message processed by the remote data conversion unit, and store it in the data structure in the PC memory; Step 5.3: Traverse each data structure in the PC memory generated in 4.1 to 4.2, generate a data conversion configuration XML file in the user-specified directory, calculate the CRC of the data conversion configuration XML file according to the specified CRC algorithm, and fill it into the specified attribute of the root node of the data conversion configuration XML file.
6. The method according to claim 3, characterized in that, The development process of the remote data conversion unit configuration conversion verification tool includes, The system parses the input data of the remote data conversion unit configuration conversion tool and parses the output data of the remote data conversion unit configuration conversion tool. The output data includes analog discrete quantity configuration files, digital signal configuration files, and data conversion configuration files. The system compares the input data with the output data and stores the comparison results in the memory of the onboard PC. A verification report containing the comparison results is generated. The verification report includes all attributes of the XML configuration file, the corresponding values in the ICD, and the comparison results.
7. The method according to claim 1, characterized in that, The development process of the remote data conversion unit configuration generation tool includes, Step 1: Read the analog discrete quantity configuration file, digital signal configuration file, and data conversion configuration file generated by the remote data conversion unit configuration conversion tool; XSD verification is performed on the number of elements and the range of attribute values in the analog discrete quantity configuration file, digital signal configuration file, and data conversion configuration file. CRC checks are performed on the analog discrete quantity configuration file, digital signal configuration file, and data conversion configuration file. The CRC check calculates the CRC of the data in the XML file except for the CRC attribute value, and compares the calculated CRC with the CRC attribute to confirm whether the XML file has been tampered with. Step 2: If no errors are found in the XSD check and CRC check, then the format and attribute range of the XML configuration file meet the requirements and the data has not been tampered with.
8. The method according to claim 7, characterized in that, The remote data conversion unit configuration verification tool is used to compare the output data and input data of the remote data conversion unit configuration generation tool according to preset rules. The preset rules are the conversion relationship between XML file attributes and binary file attributes, and generate a verification report. The verification report includes the value of each attribute in the input XML file and the output BIN file, as well as the comparison result between the two.