A test method, device and test framework system based on a test framework system

By reading and initializing configuration files, and generating consistent configuration files based on the type and quantity of avionics interfaces, the problems of high testing costs and weak universality of testing frameworks for avionics interface functions are solved, realizing a low-cost and easily expandable testing method.

CN116225800BActive Publication Date: 2026-04-28CHINA ELECTRONICS TECHNOLOGY AVIONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA ELECTRONICS TECHNOLOGY AVIONICS CO LTD
Filing Date
2023-01-31
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

Testing the interface functions of avionics equipment is costly and labor-intensive, and the testing framework has weak versatility and scalability.

Method used

By reading the configuration file, it determines whether the interface type and quantity of the avionics equipment are consistent, initializes or modifies the configuration file, generates a configuration file consistent with the current equipment, and performs data transmission and reception tests according to the interface configuration information and the format of the transmitted and received information. The operation is carried out using a graphical configuration interface.

Benefits of technology

It reduced the cost of testing avionics interface functions, decreased the workload, and improved the versatility and scalability of the testing framework.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116225800B_ABST
    Figure CN116225800B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a kind of test method, device and test framework system based on test framework system, comprising: reading configuration file;Judge whether the interface type and quantity of the avionics equipment to be tested in the configuration file are consistent with the interface type and quantity of the current avionics equipment to be tested, if yes, then the configuration file is initialized;If not, then according to the interface type and quantity of the current avionics equipment to be tested, modify the configuration file, generate the configuration file consistent with the interface type and quantity of the current avionics equipment to be tested for initialization;According to the configuration information and transceiving information format of the corresponding interface of the avionics equipment to be tested in the initialized configuration file, the interface of the current avionics equipment to be tested is tested by corresponding interface data transceiving.The embodiment of the present application solves the technical problems of high cost, heavy workload and weak test framework universality and expansibility of interface function test of avionics equipment in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a testing method, apparatus, and testing framework system based on a testing framework system. Background Technology

[0002] Before avionics equipment is installed in a real airborne environment, its functions and interfaces need to be verified in a ground laboratory environment. Currently, testing individual avionics equipment in a ground laboratory presents the following challenges:

[0003] Cost issues: Civil aviation airborne equipment requires large investment and has a long development cycle. Moreover, when conducting functional tests on a single avionics device, it is necessary for multiple other avionics devices with data interconnection to work together to complete the test.

[0004] Test data construction issues: The architecture of avionics systems containing avionics equipment is often very complex and large, with intricate interconnections between devices and a variety of bus interfaces. When performing interface testing on a single avionics device, it is necessary to construct different bus types of data for different bus interfaces, resulting in a large workload for manual testing.

[0005] Expansion and adaptation issues: Civil aircraft avionics systems contain a wide variety of avionics equipment. It is easy to develop a test framework for a single type or field of avionics equipment, and there are many technical means to achieve this. However, such test frameworks lack universality and scalability. Summary of the Invention

[0006] To address the technical problems of high cost, large workload, and weak universality and scalability of test frameworks in the interface function testing of avionics equipment in the prior art, embodiments of the present invention provide a test method, apparatus, and test framework system based on a test framework system.

[0007] The embodiments of the present invention are achieved through the following technical solutions:

[0008] In a first aspect, embodiments of the present invention provide a testing method based on a testing framework system, comprising:

[0009] Read the configuration file;

[0010] Determine whether the interface type and quantity of the avionics device under test in the configuration file are consistent with the interface type and quantity of the current avionics device under test. If yes, initialize the configuration file; otherwise, modify the configuration file according to the interface type and quantity of the current avionics device under test, and generate a configuration file consistent with the interface type and quantity of the current avionics device under test for initialization.

[0011] Based on the configuration information and transmission / reception format of the corresponding interface of the avionics device under test in the initialized configuration file, data transmission and reception are performed through the corresponding interface to test the interface of the avionics device under test.

[0012] Furthermore, based on the configuration information and transmit / receive information format of the corresponding interface of the avionics device under test in the initialized configuration file, data transmission and reception are performed through the corresponding interface to test the interface of the avionics device under test; including:

[0013] Receive remote control commands through the corresponding interface;

[0014] Upon receiving a remote control command, the system performs data transmission and reception according to the command, tests the interface of the currently tested avionics equipment, and feeds back the test results to the sender of the remote control command.

[0015] Furthermore, the testing method based on the testing framework system also includes: generating a configuration file; generating the configuration file includes:

[0016] Configure the corresponding interface configuration information according to the interface type and quantity of the avionics equipment under test;

[0017] Configure the sending and receiving information format of the corresponding interface after the interface configuration is completed, generate a configuration file and store it.

[0018] Furthermore, the configuration information includes: interface type and interface configuration information; the interface type includes: A429 bus type, discrete quantity type and analog quantity type; the interface configuration information includes: interface configuration information for A429 bus type, interface configuration information for discrete quantity type and interface configuration information for analog quantity type.

[0019] Furthermore, the interface configuration information for the A429 bus type includes: A429 board number, A429 board channel number, transmit / receive rate, and parity check; the interface configuration information for discrete quantity type includes: the high and low level values ​​of the discrete quantity board; and the interface configuration information for analog quantity type includes the sampling rate of the analog quantity board's A / D conversion, the sampling rate of the D / A conversion, and the number of sampling quantization bits.

[0020] Furthermore, when the interface type is A429 bus type, the A429 data format of A429 bus type includes: Label number and data bits, parity bit, A429 data transmission count and A429 data transmission cycle.

[0021] Furthermore, the configuration information, transmission and reception information format, and data transmission and reception of the corresponding interface are all completed on the graphical configuration interface; the graphical configuration interface includes:

[0022] The interface configuration area is used to configure and display the interface type, input and output types of the corresponding interface;

[0023] The device interface status display area is used to display the interface type, quantity, and signal type transmitted through the corresponding interface of the currently tested avionics equipment.

[0024] The monitoring area is used to monitor the time points when the interfaces of the currently tested avionics equipment send or receive data, as well as the amount of data at the corresponding time points.

[0025] Secondly, embodiments of the present invention provide a testing apparatus based on a testing framework system, comprising:

[0026] The read unit is used to read configuration files;

[0027] The judgment unit is used to determine whether the interface type and quantity of the avionics equipment under test in the configuration file are consistent with the interface type and quantity of the current avionics equipment under test. If yes, the configuration file is initialized; if no, the configuration file is modified according to the interface type and quantity of the current avionics equipment under test, and a configuration file consistent with the interface type and quantity of the current avionics equipment under test is generated for initialization.

[0028] The data transceiver unit is used to test the interfaces of the avionics equipment under test by transmitting and receiving data through the corresponding interfaces according to the configuration information and transmission and reception information format of the corresponding interfaces of the avionics equipment under test in the initialized configuration file.

[0029] Furthermore, the testing apparatus based on the testing framework system also includes:

[0030] The configuration file generation unit is used to configure the configuration information of the corresponding interfaces according to the interface type and quantity of the avionics equipment under test; after the interface configuration is completed, the corresponding interface transmit and receive information format is configured, the configuration file is generated and stored;

[0031] The execution unit is used to provide a graphical configuration interface, receive instructions input in the graphical configuration interface, and complete the configuration information, transmission and reception information format, and data transmission and reception of the corresponding interface according to the instructions.

[0032] Thirdly, embodiments of the present invention provide a test framework system, including the test device based on the test framework system.

[0033] Compared with the prior art, the embodiments of the present invention have the following advantages and beneficial effects:

[0034] This invention discloses a testing method, apparatus, and testing framework system based on a testing framework system. The method involves reading a configuration file; determining whether the interface types and quantities of the avionics equipment under test (AVIB) in the configuration file match the current AVIB interface types and quantities; if so, initializing the configuration file; if not, modifying the configuration file according to the current AVIB interface types and quantities to generate a new configuration file with the same interface types and quantities for initialization; and then testing the interfaces of the AVIB based on the configuration information and transmit / receive information formats of the corresponding interfaces in the initialized configuration file. This solves the technical problems of high cost, large workload, and weak versatility and scalability of testing frameworks in existing technologies for testing the interface functions of AVIB equipment. Attached Figure Description

[0035] To more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0036] Figure 1 This is a flowchart illustrating the testing method based on a testing framework system.

[0037] Figure 2 This is a schematic diagram of the test device based on the test framework system.

[0038] Figure 3 This is a schematic diagram of the test framework system structure for example.

[0039] Figure 4 A schematic diagram of the structure of the graphical configuration interface for the testing framework. Detailed Implementation

[0040] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments and accompanying drawings. The illustrative embodiments and descriptions of the present invention are only used to explain the present invention and are not intended to limit the present invention.

[0041] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the invention. However, it will be apparent to those skilled in the art that these specific details are not necessary to practice the invention. In other embodiments, well-known structures, circuits, materials, or methods have not been specifically described in order to avoid obscuring the invention.

[0042] Throughout this specification, references to "an embodiment," "an example," or "an example" mean that a particular feature, structure, or characteristic described in connection with that embodiment or example is included in at least one embodiment of the invention. Therefore, the phrases "an embodiment," "an example," "an example," or "an example" appearing in various places throughout the specification do not necessarily refer to the same embodiment or example. Furthermore, specific features, structures, or characteristics can be combined in one or more embodiments or examples in any suitable combination and / or sub-combination. Moreover, those skilled in the art will understand that the illustrations provided herein are for illustrative purposes and are not necessarily drawn to scale. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.

[0043] In the description of this invention, the terms "front", "rear", "left", "right", "up", "down", "vertical", "horizontal", "high", "low", "inner", and "outer" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limiting the scope of protection of this invention.

[0044] Example

[0045] To address the technical problems of high cost, large workload, and weak versatility and scalability of test frameworks in existing avionics interface function testing, in a first aspect, embodiments of the present invention provide a test method based on a test framework system, referring to... Figure 1 As shown, it includes:

[0046] S1. Read the configuration file;

[0047] S2. Determine whether the interface type and quantity of the avionics device under test in the configuration file are consistent with the interface type and quantity of the current avionics device under test. If yes, initialize the configuration file; if no, modify the configuration file according to the interface type and quantity of the current avionics device under test, and generate a configuration file consistent with the interface type and quantity of the current avionics device under test for initialization.

[0048] S3. Based on the configuration information and transmission / reception format of the corresponding interface of the avionics device under test in the initialized configuration file, perform data transmission and reception through the corresponding interface to test the interface of the current avionics device under test.

[0049] Optionally, the embodiments of the present invention are intended for use in testing the interface functions of civil aircraft avionics equipment.

[0050] Therefore, this embodiment of the invention reads a configuration file; determines whether the interface type and number of the avionics device under test in the configuration file are consistent with the interface type and number of the current avionics device under test; if so, the configuration file is initialized; if not, the configuration file is modified according to the interface type and number of the current avionics device under test to generate a configuration file consistent with the interface type and number of the current avionics device under test for initialization; and tests the interface of the current avionics device under test by transmitting and receiving data through the corresponding interface according to the configuration information and transmission and reception information format of the corresponding interface of the avionics device under test in the initialized configuration file. This solves the technical problems of high cost, large workload, and weak universality and scalability of the testing framework for avionics device interface function testing in the prior art.

[0051] Furthermore, based on the configuration information and transmit / receive information format of the corresponding interface of the avionics device under test in the initialized configuration file, data transmission and reception are performed through the corresponding interface to test the interface of the avionics device under test; including:

[0052] Receive remote control commands through the corresponding interface;

[0053] Upon receiving a remote control command, the system performs data transmission and reception according to the command, tests the interface of the currently tested avionics equipment, and feeds back the test results to the sender of the remote control command.

[0054] Furthermore, the testing method based on the testing framework system also includes: generating a configuration file; generating the configuration file includes:

[0055] Configure the corresponding interface configuration information according to the interface type and quantity of the avionics equipment under test;

[0056] Configure the sending and receiving information format of the corresponding interface after the interface configuration is completed, generate a configuration file and store it.

[0057] Furthermore, the configuration information includes: interface type and interface configuration information; the interface type includes: A429 bus type, discrete quantity type and analog quantity type; the interface configuration information includes: interface configuration information for A429 bus type, interface configuration information for discrete quantity type and interface configuration information for analog quantity type.

[0058] Furthermore, the interface configuration information for the A429 bus type includes: A429 board number, A429 board channel number, transmit / receive rate, and parity check; the interface configuration information for discrete quantity type includes: the high and low level values ​​of the discrete quantity board; and the interface configuration information for analog quantity type includes the sampling rate of the analog quantity board's A / D conversion, the sampling rate of the D / A conversion, and the number of sampling quantization bits.

[0059] Furthermore, when the interface type is A429 bus type, the A429 data format of A429 bus type includes: Label number and data bits, parity bit, A429 data transmission count and A429 data transmission cycle.

[0060] Furthermore, the configuration information, transmission and reception information format, and data transmission and reception of the corresponding interface are all completed on the graphical configuration interface; the graphical configuration interface includes:

[0061] The interface configuration area is used to configure and display the interface type, input and output types of the corresponding interface;

[0062] The device interface status display area is used to display the interface type, quantity, and signal type transmitted through the corresponding interface of the currently tested avionics equipment.

[0063] The monitoring area is used to monitor the time points when the interfaces of the currently tested avionics equipment send or receive data, as well as the amount of data at the corresponding time points.

[0064] For example, testing methods based on a testing framework system include:

[0065] S1. Based on the interface type and quantity of the avionics equipment under test, in the graphical configuration interface (refer to...) Figure 4 Add interface configuration information to the interface configuration area shown. When the interface data type is A429, you need to configure the A429 board number, A429 board channel number, transmit / receive rate, parity check, and other information. When the interface data type is discrete, you need to configure the specific values ​​of high and low levels of the discrete board. When the interface data type is analog, you need to configure the sampling rate and sampling quantization bits of the analog board's AD and DA conversion.

[0066] S2. For A429 bus type interfaces, the A429 data format for sending or receiving needs to be set in the interface configuration area. This includes the following configuration information: A429 data content (4 bytes), including Label number (1-8 bits) and data bits (9-31 bits), with parity bits (32 bits) automatically calculated and filled according to the calculation framework; A429 data transmission count; and A429 data transmission cycle.

[0067] S3. After all interfaces of the avionics device under test are configured, the currently configured interface transmit / receive status information can be displayed in the interface status display area. The configuration information of all interfaces can be saved locally in the form of configuration files. These configuration files can be reused for testing other avionics devices, requiring only minor modifications for different interfaces.

[0068] By operating the corresponding interface in the interface status display area of ​​the graphical configuration interface, you can receive and send A429 data, and set the discrete output status or analog output signal. Simultaneously, you can also monitor the current interface's A429 data transmission and reception status, discrete quantity status, and analog quantity status on the graphical configuration interface.

[0069] The data monitoring area on the graphical configuration interface allows for the monitoring of the following data: A429 data sent or received by a specified interface over a period of time; changes in the discrete state of a specified interface over a period of time; and graphical plotting of sampled values ​​of analog signals over a period of time. Simultaneously, the data monitoring area can also monitor data sent to specified interfaces of avionics equipment via remote control via Ethernet commands.

[0070] Secondly, embodiments of the present invention provide a testing apparatus based on a testing framework system, with reference to... Figure 2 As shown, it includes:

[0071] The read unit is used to read configuration files;

[0072] The judgment unit is used to determine whether the interface type and quantity of the avionics equipment under test in the configuration file are consistent with the interface type and quantity of the current avionics equipment under test. If yes, the configuration file is initialized; if no, the configuration file is modified according to the interface type and quantity of the current avionics equipment under test, and a configuration file consistent with the interface type and quantity of the current avionics equipment under test is generated for initialization.

[0073] The data transceiver unit is used to test the interfaces of the avionics equipment under test by transmitting and receiving data through the corresponding interfaces according to the configuration information and transmission and reception information format of the corresponding interfaces of the avionics equipment under test in the initialized configuration file.

[0074] Furthermore, the testing apparatus based on the testing framework system also includes:

[0075] The configuration file generation unit is used to configure the configuration information of the corresponding interfaces according to the interface type and quantity of the avionics equipment under test; after the interface configuration is completed, the corresponding interface transmit and receive information format is configured, the configuration file is generated and stored;

[0076] The execution unit is used to provide a graphical configuration interface, receive instructions input in the graphical configuration interface, and complete the configuration information, transmission and reception information format, and data transmission and reception of the corresponding interface according to the instructions.

[0077] Thirdly, embodiments of the present invention provide a test framework system, including the test device based on the test framework system.

[0078] For example, refer to Figure 3 and4 As shown, the test framework system includes a test host that performs the testing process; the test host includes the test device of the test framework, ARINC429 boards, discrete quantity boards, and analog quantity boards, such as... Figure 3 As shown. The test host is connected to the avionics equipment under test via a cable. The test frame controls the A429 board, discrete circuit board, and analog circuit board to send test information to the avionics equipment through the driver.

[0079] When the test framework receives control commands from the local application or remote control host via Ethernet, it can also send test information to the avionics equipment and feed back the output results of the avionics equipment via Ethernet. In the above scenario, the test device of this embodiment can serve as the basic carrier for automated test applications, receiving and sending data from various bus interfaces and verifying the correctness of the output results of the avionics equipment.

[0080] The data link to the specified interface of the avionics device under test (A429) can be dynamically configured graphically. The data link can be configured as ARINC 429 (A429) bus type, discrete type, or analog type. For A429 bus type links, the content format of the A429 data transmitted and received on that link can be configured graphically to quickly set up A429 data and send test data to the A429 device. This graphical interface link and A429 data content format configuration information can be stored as a configuration file for reuse in testing other A429 devices, significantly reducing repetitive work.

[0081] Furthermore, embodiments of the present invention also provide remote control interfaces for other applications to send control commands via Ethernet, providing a foundation for automated testing of avionics equipment. By sending commands to these remote control interfaces, the following functions can be achieved: controlling the test framework to send A429 data, discrete signals, or analog signals to designated interfaces of the avionics equipment; acquiring information such as A429 data, discrete quantities, or analog quantities output from designated interfaces of the avionics equipment; and verifying the correctness of the data and signals output by the avionics equipment interfaces. Therefore, embodiments of the present invention are characterized by low cost, easy expansion, and simple operation.

[0082] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A testing method based on a testing framework system, characterized in that, include: Read the configuration file; Determine whether the interface type and quantity of the avionics device under test in the configuration file are consistent with the interface type and quantity of the current avionics device under test. If yes, initialize the configuration file; otherwise, modify the configuration file according to the interface type and quantity of the current avionics device under test, and generate a configuration file consistent with the interface type and quantity of the current avionics device under test for initialization. Based on the configuration information and transmit / receive information format of the corresponding interface of the avionics device under test in the initialized configuration file, the interface of the avionics device under test is tested by transmitting and receiving data through the corresponding interface, including: Receive remote control commands through the corresponding interface; Upon receiving a remote control command, the system performs data transmission and reception according to the command, tests the interface of the currently tested avionics equipment, and feeds back the test results to the sender of the remote control command. Generate configuration files, including: Configure the corresponding interface configuration information according to the interface type and quantity of the avionics equipment under test; Configure the send and receive information format of the corresponding interface after the interface configuration is completed, generate a configuration file and store it; The configuration information includes: Interface type and interface configuration information; Interface types include: A429 bus type, discrete quantity type, and analog quantity type; Interface configuration information includes: A429 bus type interface configuration information, discrete quantity type interface configuration information, and analog quantity type interface configuration information; The interface configuration information for the A429 bus type includes: A429 board number, A429 board channel number, transmit / receive rate, and parity check; the interface configuration information for discrete quantity type includes: the high and low level values ​​of the discrete quantity board; the interface configuration information for analog quantity type includes the sampling rate of the analog quantity board's A / D conversion, the sampling rate of the D / A conversion, and the number of sampling quantization bits. When the interface type is A429 bus type, the A429 data format of A429 bus type includes: Label number and data bits, parity bit, A429 data transmission count and A429 data transmission cycle; The configuration information, transmission and reception formats, and data transmission and reception of the corresponding interfaces are all completed on the graphical configuration interface; the graphical configuration interface includes: The interface configuration area is used to configure and display the interface type, input and output types of the corresponding interface; The device interface status display area is used to display the interface type, quantity, and signal type transmitted through the corresponding interface of the currently tested avionics equipment. The monitoring area is used to monitor the time points when the interfaces of the currently tested avionics equipment send or receive data, as well as the amount of data at the corresponding time points.

2. A testing apparatus based on a testing framework system, applied to the testing method described in claim 1, characterized in that, include: The read unit is used to read configuration files; The judgment unit is used to determine whether the interface type and quantity of the avionics equipment under test in the configuration file are consistent with the interface type and quantity of the current avionics equipment under test. If so, the configuration file is initialized; if not, the configuration file is modified according to the interface type and quantity of the current avionics equipment under test, and a configuration file consistent with the interface type and quantity of the current avionics equipment under test is generated for initialization. The data transceiver unit is used to test the interfaces of the avionics equipment under test by transmitting and receiving data through the corresponding interfaces according to the configuration information and transmission and reception information format of the corresponding interfaces of the avionics equipment under test in the initialized configuration file.

3. The testing apparatus based on the testing framework system as described in claim 2, characterized in that, Also includes: The configuration file generation unit is used to configure the configuration information of the corresponding interfaces according to the interface type and quantity of the avionics equipment under test; Configure the send and receive information format of the corresponding interface after the interface configuration is completed, generate a configuration file and store it; The execution unit is used to provide a graphical configuration interface, receive instructions input in the graphical configuration interface, and complete the configuration information, transmission and reception information format, and data transmission and reception of the corresponding interface according to the instructions.

4. A testing framework system, characterized in that, Includes the test apparatus based on the test framework system as described in any one of claims 2-3.

Citation Information

Patent Citations

  • Interface coverage test method, system, computer device and storage medium

    CN109344053A

  • Universal avionics product test system

    CN217385683U