A method, device and equipment for automatically matching an update interface control file template
By automatically matching and updating the interface control file template, the problem of time-consuming, labor-intensive, and error-prone interface control file updates is solved. This enables efficient and accurate updates when the functional interface control file changes, improving system development efficiency and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING BLUESKY AVIATION TECH CO LTD
- Filing Date
- 2025-03-31
- Publication Date
- 2026-05-29
Smart Images

Figure CN120508409B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and in particular to a method, apparatus, and device for automatically matching and updating interface control file templates. Background Technology
[0002] Flight simulator systems are crucial tools in modern aviation for simulating flight operations and airborne system functions. A system consists of multiple simulation units, each responsible for simulating specific airborne system functions. Communication and interaction between simulation units rely on Interface Control Documents (ICDs), whose signal information originates from the functional interface control documents (ICDs) of each simulation unit. These ICDs are provided by the equipment vendor and are typically generated according to different bus protocols (such as ARINC429, ARINC825, etc.). As the development of the simulated object progresses, the vendor's ICDs may change frequently, necessitating synchronized updates to the flight simulator system's ICDs to ensure system accuracy and consistency.
[0003] In existing technical solutions, updating interface control files primarily relies on manual operation. Specifically, when the functional interface control files provided by the vendor change, developers need to manually filter, copy, and paste the signal information from the functional interface control files and update them accordingly. This process involves a large amount of repetitive work, especially when the functional interface control files change frequently, requiring developers to repeatedly perform this tedious operation. Summary of the Invention
[0004] This invention provides a method, apparatus, and device for automatically matching and updating interface control file templates, which solves the problems of time-consuming, labor-intensive, and error-prone manual updating of interface control files in the prior art. It realizes automatic matching and updating of bus signals in ICD files based on changes in functional interface control files, thereby improving update efficiency and accuracy.
[0005] This invention provides a method for automatically matching and updating interface control file templates, comprising the following steps:
[0006] Read the configuration file to obtain the function interface control file and interface control file;
[0007] The bus type is determined based on the format of the functional interface control file.
[0008] Generate the corresponding bus signal buffer data based on the determined bus type;
[0009] The generated buffer data is written to the interface control file.
[0010] According to the present invention, an automatic matching and updating interface control file template method is provided. The step of generating corresponding bus signal buffer data according to the determined bus type specifically includes: if the bus type is ARINC429, then each form in the function interface control file is read sequentially, the received signal or the transmitted signal is distinguished according to the form name, and the first buffer data or the second buffer data is stored or generated according to different rules; if the bus type is ARINC825, then the merged cells in the CANMatrix form are split, the CANMatrix form is read and preprocessed in a forward filling manner, and the third buffer data is stored according to the third rule.
[0011] According to the present invention, an automatic matching and updating interface control file template method is provided, wherein the step of distinguishing between received signals and transmitted signals based on form names and storing or generating first buffer data or second buffer data according to different rules specifically includes: for received signals, storing or generating first buffer data according to a first rule; the first rule is the assignment rule for received signals; for transmitted signals, storing or generating first buffer data according to a second rule; the second rule is the assignment rule for transmitted signals.
[0012] According to the present invention, an automatic matching and updating interface control file template method is provided, wherein the assignment rules for the received signal include: assigning the Tx_Sys column in the functional interface control file to the Topic column in the interface control file; assigning the Tx_LRU column in the functional interface control file to the TxRxLRU column in the interface control file; and assigning the Parameter_Name column in the functional interface control file to the Variable column in the interface control file.
[0013] According to the present invention, an automatic matching and updating interface control file template method is provided, wherein the assignment rules for the sending signal include: assigning the Tx_LRU column in the functional interface control file to the Topic column in the interface control file; assigning the Rev_LRU column in the functional interface control file to the TxRxLRU column in the interface control file; and assigning the Parameter_Name column in the functional interface control file to the Variable column in the interface control file.
[0014] According to the present invention, a method for automatically matching and updating interface control file templates includes the following third rule: assigning the Transmitter column in the functional interface control file to the LRU column in the interface control file; concatenating the Transmitter column in the functional interface control file with the MessageID, MessageName, and SignalName columns and assigning the result to the Variable column in the interface control file; and concatenating the ValueDescription column in the functional interface control file with the Comment column and assigning the result to the Comments column in the interface control file.
[0015] The present invention also provides an apparatus for automatically matching and updating interface control file templates, comprising the following modules:
[0016] The configuration reading module is used to read configuration files and obtain functional interface control files and interface control files;
[0017] The bus type determination module is used to determine the bus type based on the format of the functional interface control file.
[0018] The buffer data generation module is used to generate corresponding bus signal buffer data based on the determined bus type.
[0019] The file writing module is used to write the generated buffer data into the interface control file.
[0020] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method for automatically matching and updating interface control file templates as described above.
[0021] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for automatically matching and updating interface control file templates as described above.
[0022] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the method for automatically matching and updating interface control file templates as described above.
[0023] The present invention provides a method, apparatus, and device for automatically matching and updating interface control file templates, which has the following beneficial effects: by automatically reading the configuration file and obtaining the Functional Interface Control File (FICD) and Interface Control File (ICD), the bus type is automatically determined according to the format of the FICD, and corresponding bus signal buffer data is generated. Finally, the buffer data is written into the ICD file, which realizes automatic, efficient, and accurate updating of bus signals in the ICD file when the FICD changes frequently. This avoids the problems of time-consuming, laborious, and error-prone traditional manual update methods, and significantly improves the efficiency of system development and user experience. Attached Figure Description
[0024] To more clearly illustrate the technical solutions in this 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 some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0025] Figure 1 This is a schematic diagram of a FICD example of an ARINC429 type device provided by the present invention.
[0026] Figure 2 This is a schematic diagram of a FICD format example for an ARINC825 type device provided by the present invention.
[0027] Figure 3 This is a schematic diagram of the ICD file specification format of the simulation unit provided by the present invention.
[0028] Figure 4 This is one of the flowcharts illustrating the method for automatically matching and updating interface control file templates provided by the present invention.
[0029] Figure 5 This is the second flowchart illustrating the method for automatically matching and updating interface control file templates provided by this invention.
[0030] Figure 6 This is a schematic diagram of the structure of the device for automatically matching and updating interface control file templates provided by the present invention.
[0031] Figure 7 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0032] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0033] The flight simulator system consists of different simulation units, each simulating the functions of its corresponding airborne system. Updates to the input / output interfaces of these simulation units originate from their respective Interface Control Documents (ICDs). Devices on a certain type of eVtol product can be categorized into ARINC429 and ARINC825 bus devices based on their bus protocols. Suppliers of different bus devices provide different formats of Functional Interface Control Documents (FICDs). For example, the FICD formats for ARINC429 devices (represented by ADASHRS) and ARINC825 devices (represented by SCU) are as follows: Figure 1 and Figure 2 As shown.
[0034] The ICD files of each simulation unit in the flight simulator system contain two signal types: internal cross-linking signals and bus signals. Internal cross-linking signals mainly refer to SDN (Shared Data Network) type variables, which, once confirmed, do not require further changes later in the project. Bus signals, however, originate from the FICD of the simulated object. During the development of the simulated object, the supplier's FICD will be repeatedly modified. Once the FICD changes, the bus signals in the ICD files of each simulation unit need to be synchronized and updated according to certain rules. To facilitate subsequent system development, the standardized format of the ICD files for each simulation unit is as follows: Figure 3 As shown.
[0035] The traditional approach involves manually filtering, copying, and pasting data based on the FICD of a specific device to update the latest protocol status in the ICD file of the corresponding simulation unit. This method is obviously time-consuming, labor-intensive, error-prone, and negatively impacts the user experience. This invention provides a method for updating the bus signals in the ICD files of each simulation unit of a flight simulator with a single click after a FICD change.
[0036] The following is combined Figures 1-7 The embodiments of the present invention are described in detail.
[0037] Figure 4This is one of the flowcharts illustrating the method for automatically matching and updating interface control file templates provided by the present invention, such as... Figure 4 As shown, the method includes the following steps:
[0038] S410: Read the configuration file and obtain the function interface control file and interface control file.
[0039] Specifically, the system first obtains the FICD and ICD files (containing SDN signals) by reading the configuration file. Users simply need to accurately fill in the corresponding file paths according to the actual project requirements.
[0040] S420: Determine the bus type based on the format of the function interface control file.
[0041] Specifically, the bus type is determined based on the FICD format. Different bus types are then processed in different branches.
[0042] S430: Generate the corresponding bus signal buffer data based on the determined bus type.
[0043] S440. Write the generated buffer data to the interface control file.
[0044] According to the present invention, an automatic matching and updating interface control file template method generates corresponding bus signal buffer data based on the determined bus type. Specifically, the method includes: if the bus type is ARINC429, then each form in the function interface control file is read sequentially, the received signal or the transmitted signal is distinguished according to the form name, and the first buffer data or the second buffer data is stored or generated according to different rules; if the bus type is ARINC825, then the merged cells in the CANMatrix form are split, the CANMatrix form is read and preprocessed by forward filling, and the third buffer data is stored according to the third rule.
[0045] According to the present invention, an automatic matching and updating interface control file template method is provided, which distinguishes between received signals and transmitted signals based on the form name, and stores or generates first buffer data or second buffer data according to different rules. Specifically, it includes: for received signals, storing or generating first buffer data according to a first rule; the first rule is the assignment rule for received signals; for transmitted signals, storing or generating first buffer data according to a second rule; the second rule is the assignment rule for transmitted signals.
[0046] Specifically, a buffer signal Buff related to the bus signal is generated based on the ARINC429 type FICD, and then the ICD file is updated.
[0047] a. Read each form in the FICD sequentially, and distinguish between receive (Rx) and send (Tx) based on the form name;
[0048] b. For the received signal (Rx), store / generate Buff1 according to Rule 1 in Table 1 below;
[0049] c. For the transmitted signal (Tx), store / generate Buff2 according to Rule 2 in Table 2 below;
[0050] d. Write Buff1 and Buff2 into the ICD file (containing SDN). At this point, the ICD file contains both SDN and all ARINC429 bus signals.
[0051] According to the present invention, an automatic matching and updating interface control file template method is provided, the assignment rules for received signals include: assigning the Tx_Sys column in the functional interface control file to the Topic column in the interface control file; assigning the Tx_LRU column in the functional interface control file to the TxRxLRU column in the interface control file; and assigning the Parameter_Name column in the functional interface control file to the Variable column in the interface control file.
[0052] Specifically, the content of Rule 1 is shown in Table 1.
[0053] Table 1
[0054]
[0055]
[0056] According to the present invention, an automatic matching and updating interface control file template method is provided, and the assignment rules for sending signals include: assigning the Tx_LRU column in the functional interface control file to the Topic column in the interface control file; assigning the Rev_LRU column in the functional interface control file to the TxRxLRU column in the interface control file; and assigning the Parameter_Name column in the functional interface control file to the Variable column in the interface control file.
[0057] Specifically, the contents of Rule 2 are shown in Table 2.
[0058] Table 2
[0059]
[0060]
[0061] According to the method for automatically matching and updating interface control file templates provided by the present invention, the third rule includes: assigning the Transmitter column in the functional interface control file to the LRU column in the interface control file; concatenating the Transmitter column in the functional interface control file with the MessageID, MessageName, and SignalName columns and assigning the result to the Variable column in the interface control file; and concatenating the ValueDescription column in the functional interface control file with the Comment column and assigning the result to the Comments column in the interface control file.
[0062] Specifically, based on the ARINC825 type FICD, bus signal-related buffs are generated, and then the ICD file is updated:
[0063] a. Split merged cells in the CANMatrix form;
[0064] b. Read the CANMatrix form and preprocess it using a forward-fill method;
[0065] c. Store the contents of the form into Buff3 according to Rule 3 in Table 3 below;
[0066] d. Write Buff3 into the ICD file (containing SDN). At this point, the ICD file contains both SDN and all ARINC825 bus signals.
[0067] Table 3
[0068]
[0069]
[0070] After the buffered signals are written to the ICD file, a report file is generated. This report concisely informs the user how many data entries have been updated for each system, allowing for easy verification and problem tracing.
[0071] like Figure 5 The diagram shown is a second flowchart illustrating the method for automatically matching and updating interface control file templates provided by this invention. The process starts from the "Start" node, first obtaining the file storage path to determine the file's location. Next, the system begins to determine the bus type.
[0072] If the bus type is ARINC429, the system will read each form in the FICD sequentially. Next, the system will determine if the form contains an Rx. If it does, the form content will be stored in Buff1 according to rule 1; otherwise, it will determine if the form contains a Tx. If it does, the form content will be stored in Buff2 according to rule 2; otherwise, it will return to the step of reading each form in the FICD sequentially. After storing the form content in Buff1 or Buff2, Buff1 and Buff2 will be written to the ICD file (containing SDN).
[0073] If the bus type is ARINC825, the merged cells in the CANMatrix form are split. Then, the CANMatrix form is read and preprocessed, and the form content is stored in Buff3 according to rule 3. Subsequently, the system writes Buff3 to the ICD file containing the SDN.
[0074] Finally, all processed data is integrated to generate a report file, and the process terminates at the "End" node. The entire process demonstrates a complex file processing and data storage process, involving multiple decision-making and data processing steps.
[0075] The method provided by this invention is simple to operate, has a clear interface, and is easy to implement. It allows users to automatically match and update ICD file templates according to the FICD format, and efficiently update the bus signals in the ICD files of each simulation unit of the flight simulator in the context of frequent changes to the FICD provided by the supplier.
[0076] The apparatus for automatically matching and updating interface control file templates provided by the present invention will be described below. The apparatus for automatically matching and updating interface control file templates described below can be referred to in correspondence with the method for automatically matching and updating interface control file templates described above.
[0077] like Figure 6 The image shows an apparatus for automatically matching and updating interface control file templates provided by the present invention, comprising:
[0078] The configuration reading module 610 is used to read configuration files and obtain function interface control files and interface control files.
[0079] Bus type determination module 620 is used to determine the bus type based on the format of the function interface control file;
[0080] The buffer data generation module 630 is used to generate corresponding bus signal buffer data according to the determined bus type;
[0081] The file writing module 640 is used to write the generated buffered data into the interface control file.
[0082] Figure 7 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 7 As shown, the electronic device may include a processor 710, a communications interface 720, a memory 730, and a communication bus 740. The processor 710, communications interface 720, and memory 730 communicate with each other via the communication bus 740. The processor 710 can call logical instructions in the memory 730 to execute a method for automatically matching and updating the interface control file template. This method includes: reading a configuration file to obtain a functional interface control file and an interface control file; determining the bus type based on the format of the functional interface control file; generating corresponding bus signal buffer data based on the determined bus type; and writing the generated buffer data into the interface control file.
[0083] Furthermore, the logical instructions in the aforementioned memory 730 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0084] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the method for automatically matching and updating the interface control file template provided by the above methods. The method includes: reading a configuration file to obtain a functional interface control file and an interface control file; determining the bus type according to the format of the functional interface control file; generating corresponding bus signal buffer data according to the determined bus type; and writing the generated buffer data into the interface control file.
[0085] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program implements a method for automatically matching and updating interface control file templates provided by the methods described above. The method includes: reading a configuration file to obtain a functional interface control file and an interface control file; determining the bus type according to the format of the functional interface control file; generating corresponding bus signal buffer data according to the determined bus type; and writing the generated buffer data into the interface control file.
[0086] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0087] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of various embodiments or some parts of embodiments.
[0088] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for automatically matching and updating interface control file templates, characterized in that, include: Read the configuration file to obtain the function interface control file and interface control file; The bus type is determined based on the format of the functional interface control file. Based on the determined bus type, corresponding bus signal buffer data is generated. Specifically, if the bus type is ARINC429, each form in the function interface control file is read sequentially, and the received signal or the transmitted signal is distinguished according to the form name. The first buffer data or the second buffer data is stored or generated according to different rules. If the bus type is ARINC825, the merged cells in the CANMatrix form are split, the CANMatrix form is read and preprocessed by forward filling, and the third buffer data is stored according to the third rule. The generated buffer data is written to the interface control file.
2. The method for automatically matching and updating interface control file templates according to claim 1, characterized in that, The step of distinguishing between received and transmitted signals based on form names, and storing or generating first or second buffer data according to different rules, specifically includes: For the received signal, first buffer data is stored or generated according to the first rule; the first rule is the assignment rule for the received signal. For the transmitted signal, the first buffer data is stored or generated according to the second rule; the second rule is the assignment rule for the transmitted signal.
3. The method for automatically matching and updating interface control file templates according to claim 2, characterized in that, The assignment rules for the received signal include: Assign the Tx_Sys column from the function interface control file to the Topic column in the interface control file; Assign the Tx_LRU column from the function interface control file to the TxRxLRU column from the interface control file; Assign the value of the Parameter_Name column in the function interface control file to the Variable column in the interface control file.
4. The method for automatically matching and updating interface control file templates according to claim 2, characterized in that, The rules for assigning values to the transmitted signals include: Assign the Tx_LRU column from the function interface control file to the Topic column in the interface control file; Assign the Rev_LRU column from the function interface control file to the TxRxLRU column in the interface control file; Assign the value of the Parameter_Name column in the function interface control file to the Variable column in the interface control file.
5. The method for automatically matching and updating interface control file templates according to claim 1, characterized in that, The third rule includes: Assign the Transmitter column from the function interface control file to the LRU column in the interface control file; After concatenating the Transmitter column with the MessageID, MessageName, and SignalName columns in the functional interface control file, assign the value to the Variable column in the interface control file; The ValueDescription column and Comment column in the functional interface control file are concatenated and then assigned to the Comments column in the interface control file.
6. An apparatus for automatically matching and updating interface control file templates, characterized in that, include: The configuration reading module is used to read configuration files and obtain functional interface control files and interface control files; The bus type determination module is used to determine the bus type based on the format of the functional interface control file. The buffer data generation module is used to generate corresponding bus signal buffer data according to the determined bus type. Specifically, it includes: if the bus type is ARINC429, it reads each form in the function interface control file in sequence, distinguishes between received signals and transmitted signals according to the form name, and stores or generates the first buffer data or the second buffer data according to different rules; if the bus type is ARINC825, it splits the merged cells in the CANMatrix form, reads the CANMatrix form and preprocesses it by forward filling, and stores the third buffer data according to the third rule. The file writing module is used to write the generated buffer data into the interface control file.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method for automatically matching and updating interface control file templates as described in any one of claims 1 to 5.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method for automatically matching and updating interface control file templates as described in any one of claims 1 to 5.
9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method for automatically matching and updating interface control file templates as described in any one of claims 1 to 5.