Method, device and equipment for automatically matching and updating interface control file template

By automatically matching and updating interface control file templates, the problem of time-consuming, labor-intensive and error-prone update of interface control file is solved, and efficient and accurate updates are achieved when functional interface control file changes are achieved, improving system development efficiency and user experience.

CN120508409AActive Publication Date: 2025-08-19BEIJING BLUESKY AVIATION TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510396391.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-31
Publication Date
2025-08-19
Estimated Expiration
2045-03-31

AI Technical Summary

Technical Problem

In the prior art, the update of interface control files relies on manual operations, which leads to time-consuming and labor-intensive and error-prone, especially when the functional interface control files are frequently changed, affecting the accuracy and efficiency of the system.

Method used

It provides a method of automatically matching and updating the interface control file template. By reading the configuration file, obtaining the functional interface control file and the interface control file, generating the corresponding bus signal buffer data according to the bus type, and writing it to the interface control file to achieve automatic update.

Benefits of technology

It realizes that when the functional interface control file is changed, the bus signals in the interface control file are updated automatically, efficiently and accurately, improving the update efficiency and accuracy, and reducing manual operation errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120508409A_ABST
    Figure CN120508409A_ABST
Patent Text Reader

Abstract

The invention relates to the field of computers, and provides a method, device and equipment for automatically matching and updating an interface control file template, and the method comprises the following steps: reading a configuration file, and obtaining a function interface control file and an interface control file; judging the bus type according to the format of the functional interface control file; generating corresponding bus signal buffer data according to the judged bus type; and writing the generated buffer data into the interface control file. According to the method and the device, the problems that in the prior art, manual updating of the interface control file is time-consuming, labor-consuming and easy to make mistakes are solved, the bus signal in the ICD file is automatically matched and updated according to the change of the functional interface control file, and the updating efficiency and accuracy are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method, device and equipment for automatically matching and updating interface control file templates. Background Art

[0002] Flight simulator systems are essential tools in modern aviation for simulating flight operations and onboard system functions. These systems consist of multiple simulation units, each responsible for simulating a specific onboard system function. Communication and interaction between these units relies on an Interface Control Document (ICD), whose signal information is derived from each unit's Functional Interface Control Document (FICD). FICDs are provided by equipment vendors and are typically generated based on various bus protocols (such as ARINC 429 and ARINC 825). As the development of the simulated object progresses, the vendor's FICDs may change frequently, necessitating that the FICDs in the flight simulator system be updated synchronously to ensure system accuracy and consistency.

[0003] In existing technical solutions, updating interface control files primarily relies on manual operations. Specifically, when a functional interface control file provided by a supplier changes, developers need to manually filter, copy, and paste the signal information in the functional interface control file and update it to the corresponding interface control file. This process involves a large amount of repetitive work, especially when the functional interface control file changes frequently, requiring developers to repeat this tedious operation over and over again. Summary of the Invention

[0004] The present invention provides a method, device and equipment for automatically matching and updating interface control file templates, which solves the problem that manual updating of interface control files in the prior art is time-consuming, labor-intensive and error-prone, and realizes automatic matching and updating of bus signals in ICD files according to changes in functional interface control files, thereby improving update efficiency and accuracy.

[0005] The present invention provides a method for automatically matching and updating interface control file templates, comprising the following steps: Read the configuration file and obtain the function interface control file and interface control file; Determine the bus type according to the format of the functional interface control file; Generate corresponding bus signal buffer data according to the determined bus type; The generated buffer data is written into the interface control file.

[0006] According to the present invention, a method for automatically matching and updating an interface control file template is provided, wherein generating corresponding bus signal buffer data based on a determined bus type specifically includes: if the bus type is ARINC429, sequentially reading each form in the functional interface control file, distinguishing between received signals and transmitted signals based on the form name, and storing or generating first buffer data or second buffer data according to different rules; if the bus type is ARINC825, splitting merged cells in a CANMatrix form, reading the CANMatrix form and preprocessing it in a forward-fill manner, and storing third buffer data according to a third rule.

[0007] According to a method for automatically matching and updating interface control file templates provided by the present invention, the method distinguishes between receiving signals or sending signals according to form names, and stores or generates first buffer data or second buffer data according to different rules, specifically including: for receiving signals, storing or generating first buffer data according to a first rule; the first rule is an assignment rule for receiving signals; for sending signals, storing or generating first buffer data according to a second rule; the second rule is an assignment rule for sending signals.

[0008] According to a method for automatically matching and updating an interface control file template provided by the present invention, 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.

[0009] According to a method for automatically matching and updating an interface control file template provided by the present invention, 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.

[0010] According to a method for automatically matching and updating an interface control file template 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 them to the Variable column in the interface control file; concatenating the ValueDescription column in the functional interface control file with the Comment column and assigning them to the Comments column in the interface control file.

[0011] The present invention also provides a device for automatically matching and updating interface control file templates, comprising the following modules: Configuration reading module, used to read configuration files and obtain function interface control files and interface control files; A bus type determination module, configured to determine the bus type according to the format of the functional interface control file; A buffer data generating module, configured to generate corresponding bus signal buffer data according to the determined bus type; The file writing module is used to write the generated buffer data into the interface control file.

[0012] The present invention also provides an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for automatically matching and updating the interface control file template as described above is implemented.

[0013] 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 any of the above-described methods for automatically matching and updating interface control file templates.

[0014] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above methods for automatically matching and updating interface control file templates.

[0015] The present invention provides a method, device and equipment for automatically matching and updating interface control file templates, which include the following beneficial effects: by automatically reading the configuration file and obtaining the functional interface control file (FICD) and the interface control file (ICD), the bus type is automatically determined according to the format of the FICD, and the corresponding bus signal buffer data is generated, and finally the buffer data is written into the ICD file. In the case of frequent changes to the FICD, the bus signal in the ICD file is automatically, efficiently and accurately updated, avoiding the time-consuming, labor-intensive and error-prone problems of the traditional manual update method, and significantly improving the efficiency of system development and user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0017] Figure 1 This is a schematic diagram of an example FICD of an ARINC429 type device provided by the present invention.

[0018] Figure 2 This is a schematic diagram of an example of the FICD format for an ARINC825 type device provided by the present invention.

[0019] Figure 3 This is a schematic diagram of the ICD file standard format of the simulation unit provided by the present invention.

[0020] Figure 4 This is one of the flow charts of the method for automatically matching and updating interface control file templates provided by the present invention.

[0021] Figure 5 This is the second flow chart of the method for automatically matching and updating interface control file templates provided by the present invention.

[0022] Figure 6 It is a structural diagram of the device for automatically matching and updating interface control file templates provided by the present invention.

[0023] Figure 7 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0024] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0025] The flight simulator system is composed of different simulation units, which respectively realize the functional simulation of the corresponding airborne system. The update of the input and output interfaces of the simulation units is derived from the interface control file ICD (Interface Control Document) of each simulation unit. The devices on a certain type of eVtol product can be divided into ARINC429 and ARINC825 bus devices according to the different bus protocols. Suppliers of different bus devices will provide functional interface control files FICD (Functional Interface Control Document) in different formats. For example, the functional interface control file FICD format of ARINC429 type represented by ADAHRS and ARINC825 type represented by SCU are as follows: Figure 1 and Figure 2 shown.

[0026] The ICD file of each simulation unit of the flight simulator system contains two types of signals, namely internal cross-linking signals and bus signals. Internal cross-linking signals mainly refer to variables of the SDN (Shared Data Network) type. Once confirmed, they do not need to be changed in the later stage of the project. The bus signal comes from the FICD of the simulated object. During the development process of the simulated object, the supplier's FICD will be changed repeatedly. Once the FICD changes, it is necessary to synchronize and update the bus signals in the ICD files of each simulation unit according to certain rules. To facilitate subsequent system development, the standard format of the ICD file of each simulation unit is as follows: Figure 3 shown.

[0027] The traditional approach involves manually filtering, copying, and pasting the FICD of a particular device to update the latest protocol status into the ICD file of the corresponding simulation unit. This approach is time-consuming, labor-intensive, and error-prone, and it also impacts the user experience. The present invention provides a method for updating bus signals in the ICD files of each simulation unit in a flight simulator with a single click after the FICD has been modified.

[0028] The following combination Figure 1-Figure 7 The embodiments of the present invention are described in detail.

[0029] Figure 4This is one of the flow charts of 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: S410: Read the configuration file to obtain the function interface control file and the interface control file.

[0030] Specifically, the configuration file is first read to obtain the FICD and ICD files (including SDN signals). The user only needs to accurately fill in the corresponding file paths based on the actual project.

[0031] S420: Determine the bus type according to the format of the functional interface control file.

[0032] Specifically, the bus type is determined based on the FICD format, and different branches are entered for processing for different bus types.

[0033] S430: Generate corresponding bus signal buffer data according to the determined bus type.

[0034] S440: Write the generated buffer data into the interface control file.

[0035] According to the present invention, a method for automatically matching and updating an interface control file template generates corresponding bus signal buffer data based on a determined bus type. The method specifically includes: if the bus type is ARINC429, sequentially reading each form in the functional interface control file, distinguishing between received signals and transmitted signals based on the form name, and storing or generating first buffer data or second buffer data according to different rules; if the bus type is ARINC825, splitting merged cells in a CANMatrix form, reading the CANMatrix form and preprocessing it using a forward fill method, and storing third buffer data according to a third rule.

[0036] According to a method for automatically matching and updating interface control file templates provided by the present invention, receiving signals or sending signals are distinguished according to form names, and first buffer data or second buffer data are stored or generated according to different rules, specifically including: for receiving signals, storing or generating first buffer data according to a first rule; the first rule is an assignment rule for receiving signals; for sending signals, storing or generating first buffer data according to a second rule; the second rule is an assignment rule for sending signals.

[0037] Specifically, a buffer signal Buff related to the bus signal is generated according to the ARINC429 type FICD, and then the ICD file is updated.

[0038] a. Read each form in the FICD in turn and distinguish between receiving (Rx) and sending (Tx) according to the form name; b. For the received signal (Rx), store / generate Buff1 according to Rule 1 in Table 1 below; c. For the transmit signal (Tx), store / generate Buff2 according to Rule 2 in Table 2 below; d. Write Buff1 and Buff2 to the ICD file (including SDN). Now the ICD file contains both SDN and all ARINC429 bus signals.

[0039] According to a method for automatically matching and updating an interface control file template provided by the present invention, the assignment rules for receiving 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.

[0040] Specifically, the content of Rule 1 is shown in Table 1.

[0041] Table 1 According to a method for automatically matching and updating an interface control file template provided by the present invention, 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.

[0042] Specifically, the content of Rule 2 is shown in Table 2.

[0043] Table 2

[0044] According to a method for automatically matching and updating an interface control file template 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; connecting the Transmitter column in the functional interface control file with the MessageID, MessageName, and SignalName columns and assigning them to the Variable column in the interface control file; connecting the ValueDescription column in the functional interface control file with the Comment column and assigning them to the Comments column in the interface control file.

[0045] Specifically, the bus signal-related Buff is generated according to the ARINC825 type FICD, and then the ICD file is updated: a. Split the merged cells in the CANMatrix table; b. Read the CANMatrix table and pre-process it in a forward filling manner; c. Store the contents of the form into Buff3 according to Rule 3 in Table 3 below; d. Write Buff3 to the ICD file (including SDN). Now the ICD file contains both SDN and all ARINC825 bus signals.

[0046] Table 3

[0047] After writing the buffered signal into the ICD file, a report file is generated to briefly remind the user of the updated data for each system, so that the user can conduct simple inspection and problem tracing.

[0048] like Figure 5 The figure shows the second flow chart of the method for automatically matching and updating interface control file templates provided by the present invention. The flow chart starts from the "Start" node and first obtains the file storage path to determine the location of the file. Next, the system starts to determine the bus type.

[0049] If the bus type is ARINC429, the system reads each table in the FICD sequentially. Next, the system determines whether the table contains Rx. If so, it stores the table contents in Buff1 according to rule 1. If not, the system determines whether the table contains Tx. If so, it stores the table contents in Buff2 according to rule 2. If not, the system returns to the process of sequentially reading each table in the FICD. After storing the table contents in Buff1 or Buff2, Buff1 and Buff2 are written to the ICD file (including the SDN).

[0050] If the bus type is ARINC825, the merged cells in the CANMatrix table are split, and then the CANMatrix table is read and preprocessed, and the table contents are stored in Buff3 according to rule 3. Subsequently, the system writes Buff3 to the ICD file containing the SDN.

[0051] Finally, all processed data are integrated to generate a report file, and the process ends at the "End" node. The entire process shows a complex file processing and data storage process involving multiple judgment and data processing steps.

[0052] The method provided by the present invention has simple operation, a clear interface, and is easy to implement. It satisfies the user's need to automatically match and update the ICD file template according to the FICD format, and realizes efficient updating of bus signals in the ICD files of various simulation units of the flight simulator under the background of frequent changes in the FICD provided by the supplier.

[0053] The following describes an apparatus for automatically matching and updating interface control file templates provided by the present invention. The apparatus for automatically matching and updating interface control file templates described below and the method for automatically matching and updating interface control file templates described above can refer to each other.

[0054] like Figure 6 The present invention provides a device for automatically matching and updating interface control file templates, comprising: Configuration reading module 610, used to read the configuration file and obtain the function interface control file and the interface control file; A bus type determination module 620 is configured to determine the bus type based on the format of the functional interface control file; The buffer data generating module 630 is used to generate corresponding bus signal buffer data according to the determined bus type; The file writing module 640 is used to write the generated buffered data into the interface control file.

[0055] Figure 7 An example of a physical structure diagram of an electronic device is shown below. Figure 7 As shown, the electronic device may include: a processor 710, a communications interface 720, a memory 730, and a communications bus 740. The processor 710, the communications interface 720, and the memory 730 communicate with each other via the communications bus 740. The processor 710 may invoke logic instructions in the memory 730 to execute a method for automatically matching and updating an interface control file template. The method includes: reading a configuration file to obtain a functional interface control file and an interface control file; determining a 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.

[0056] Furthermore, the logic 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, or the portion that contributes to the prior art, or a portion 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 for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0057] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program 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 of 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; judging the bus type according to the format of the functional interface control file; generating corresponding bus signal buffer data according to the judged bus type; and writing the generated buffer data into the interface control file.

[0058] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the method of 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; judging the bus type according to the format of the functional interface control file; generating corresponding bus signal buffer data according to the judged bus type; and writing the generated buffer data into the interface control file.

[0059] 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 may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.

[0060] Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using software plus a necessary general-purpose hardware platform, or of course, hardware. Based on this understanding, the essence of the above technical solution, or the portion 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, a magnetic disk, or an optical disk, and includes a number of instructions for causing a computer device (such as a personal computer, server, or network device) to execute the methods of each embodiment or certain portions of the embodiments.

[0061] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various 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 and obtain the function interface control file and interface control file; Determine the bus type according to the format of the functional interface control file; Generate corresponding bus signal buffer data according to the determined bus type; The generated buffer data is written into the interface control file.

2. The method for automatically matching and updating interface control file templates according to claim 1, characterized in that: The generating of corresponding bus signal buffer data according to the determined bus type specifically includes: If the bus type is ARINC429 type, each form in the functional interface control file is read in sequence, a receiving signal or a sending signal is distinguished according to the form name, and first buffer data or second buffer data is stored or generated according to different rules; If the bus type is ARINC825, the merged cells in the CANMatrix table are split, the CANMatrix table is read and pre-processed in a forward filling manner, and the data is stored in a third buffer according to a third rule.

3. The method for automatically matching and updating interface control file templates according to claim 2, characterized in that: The method of distinguishing the received signal or the sent signal according to the form name and storing or generating the first buffer data or the second buffer data according to different rules specifically includes: For a received signal, storing or generating first buffer data according to a first rule; the first rule is an assignment rule for the received signal; For the sending signal, the first buffer data is stored or generated according to the second rule; the second rule is the assignment rule of the sending signal.

4. The method for automatically matching and updating interface control file templates according to claim 3, characterized in that: The assignment rules of the received signal include: Assign the Tx_Sys column in the functional interface control file to the Topic column in the interface control file; Assign the Tx_LRU column in the functional interface control file to the TxRxLRU column in the interface control file; Assign the Parameter_Name column in the functional 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 3, characterized in that: The assignment rules of the sending signal include: Assign the Tx_LRU column in the functional interface control file to the Topic column in the interface control file; Assign the Rev_LRU column in the functional interface control file to the TxRxLRU column in the interface control file; Assign the Parameter_Name column in the functional interface control file to the Variable column in the interface control file.

6. The method for automatically matching and updating interface control file templates according to claim 2, characterized in that: The third rule includes: Assign the Transmitter column in the functional interface control file to the LRU column in the interface control file; Connect the Transmitter column in the functional interface control file with the MessageID, MessageName, and SignalName columns and assign the values to the Variable column in the interface control file; Concatenate the ValueDescription column and the Comment column in the functional interface control file and assign the value to the Comment column in the interface control file.

7. A device for automatically matching and updating interface control file templates, characterized in that: include: Configuration reading module, used to read configuration files and obtain function interface control files and interface control files; A bus type determination module, configured to determine the bus type according to the format of the functional interface control file; A buffer data generating module, configured to generate corresponding bus signal buffer data according to the determined bus type; The file writing module is used to write the generated buffer data into the interface control file.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method for automatically matching and updating the interface control file template according to any one of claims 1 to 6 is implemented.

9. 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, the method for automatically matching and updating interface control file templates according to any one of claims 1 to 6 is implemented.

10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method for automatically matching and updating interface control file templates according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Universal IO processing system for airborne avionic system

    CN106708764A

  • API interface packaging and calling method and system

    CN112631694A

  • Data updating method and device for interface control file, equipment and storage medium

    CN115167891A

  • Interface control file updating method and device, electronic equipment and storage medium

    CN115499520A

  • Automatic testing method for avionics system software communication middleware

    CN116860595A