Multi-data frame definition universal bus detection system and method

The bus detection system, defined by multiple data frames, employs a custom frame format model library and hardware reconfigurability technology, which solves the problem of the universality of bus detection systems, enables rapid fault location and low-cost bus monitoring, and is applicable to a variety of airborne system platforms.

CN121644337APending Publication Date: 2026-03-10AVIC XIAN AIRCRAFT IND GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-03
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

Existing bus detection systems cannot implement custom data frame format model libraries, resulting in a lack of device versatility, inability to quickly locate faults, and high manpower consumption.

Method used

A general-purpose bus detection system with multiple data frame definitions includes a bus board, a bus communication module, a frame format logic editing module, a receive data buffer, and a data frame hybrid decoding module. Through a custom frame format model library and hardware reconfigurability, it realizes automated monitoring and parsing of bus data.

Benefits of technology

It achieves portability, universality, and economy in bus detection systems, enabling rapid fault location, reducing manpower and time costs, and is applicable to bus monitoring and fault identification of various airborne system platforms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121644337A_ABST
    Figure CN121644337A_ABST
Patent Text Reader

Abstract

The invention provides a multi-data frame definition universal bus detection system and method. A bus board card is sequentially connected with a bus communication module, a received data buffer area, a multi-data frame format logic editing module and a data frame hybrid decoding module; the bus communication module is used for packaging data needing to be sent from equipment, driving the data to a physical bus, receiving the data from the bus, unpacking the data and transmitting the data to the equipment; the frame format logic editing module is used for realizing definition, editing and adaptation of bus data frame messages; the received data buffer area is used for caching the bus original data received by the bus communication receiving module and can realize the functions of storing, calling and recovering data frames; and the data frame mixed decoding module is used for realizing mixed analysis of various data frames, and realizing automatic decoding of the data frames through corresponding data frame extraction, database automatic comparison, data frame matching and reading analysis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of avionics network testing technology, specifically relating to a multi-data-frame definition general-purpose bus testing system and method. Background Technology

[0002] All electronic systems on an aircraft (such as flight control systems, navigation systems, transmitter systems, display systems, and communication systems) communicate with each other via an avionics bus. The core requirements of the avionics bus are high security, high reliability, strong real-time performance, and determinism. By monitoring the bus signals, fault analysis and problem equipment location can be performed on airborne faults.

[0003] Currently, common bus signal monitoring methods can be divided into two categories. The first category monitors the raw bus signal data. After connecting the bus board to the bus signal cable, the source code is directly monitored through the bus board, and the corresponding monitoring software directly monitors the raw bus data. Finally, a human parses the raw data according to the airborne interface control file. The second category adds source code parsing software to the first category's monitoring source code. Based on the interface control file of the airborne equipment to be monitored, bus data parsing software for that equipment is written, and the raw data is directly parsed through the software during bus monitoring. Existing bus detection systems sometimes fail to parse data, and sometimes lack universality for monitoring this type of bus data. The existing bus detection systems have the following problems: 1) Bus detection equipment for monitoring the source code requires manual analysis of the raw bus data, which is very time-consuming and manpower-intensive when the interface control file is complex and the data volume is large. 2) Equipment that only performs bus detection on a certain type of airborne equipment can only perform bus detection on that specific equipment. It lacks versatility and cannot monitor and analyze bus signals of other airborne equipment.

[0004] 3) The software architecture is unable to build a custom data frame format model library to achieve automated general-purpose bus data frame parsing and monitoring. Summary of the Invention

[0005] This application provides a general bus detection system and method based on multiple data frame definitions, which can solve the problem of how to realize the bus monitoring and rapid fault location requirements of multiple airborne system platforms.

[0006] To achieve the above objectives, the present invention adopts the following technical solution: In a first aspect, this application provides a multi-data-frame definition general-purpose bus detection system, including a bus board, a bus communication module, a frame format logic editing module, a receive data buffer, and a data frame hybrid decoding module, wherein: The bus board is connected in sequence to the bus communication module, the receive data buffer, the multi-data frame format logic editing module, and the data frame mixed decoding module; Bus board is used to physically connect the bus detection system and the airborne bus, converting protocol signals into bus signals and transmitting them. The bus communication module is used to package the data to be sent from the device and drive it onto the physical bus. At the same time, it receives data from the bus, unpacks it, and transmits it to the device. The frame format logic editing module is used to define, edit, and adapt bus data frame messages; The receive data buffer is used to cache the raw bus data received by the bus communication receiving module, and can realize the functions of data frame storage, retrieval and recovery. The data frame hybrid decoding module is used to realize the mixed parsing of multiple data frames. It achieves automatic decoding of data frames by extracting corresponding data frames and automatically comparing them with the database, matching data frames and reading and parsing them.

[0007] Specifically, the bus communication module includes a bus communication sending module, a bus communication receiving module, and a communication configuration module; the frame format logic editing module includes a model library customization module, a frame format adaptation module, and a frame format model library; and the data frame hybrid decoding module includes a frame extraction module, a frame decoding module, and a frame parsing module.

[0008] Specifically, the bus board is used to physically connect the bus detection system and the airborne bus, and to convert the bus physical layer signals into protocol signals such as USB or PCIE and send them to the bus detection system for the bus communication receiving module to receive, or to convert the USB or PCIE protocol signals sent by the bus sending module into bus physical layer signals and send them to the bus.

[0009] Specifically, the bus communication sending module is used to control the sending of bus signals at the software level, enabling the sending of raw bus signal data; the bus communication receiving module is used to control the receiving of bus signals at the software level, enabling the receiving of raw bus signal data; the communication configuration module is used to provide communication settings for the physical layer and link layer communication interfaces and to configure communication parameters, thereby ensuring normal link communication.

[0010] Specifically, the custom module of the model library is used to add, delete, modify and search frame formats in the frame format model library. It supports the custom construction of multiple frame formats and the custom construction and deletion of frame encoding and decoding methods. Through this custom frame format model, the bus detection system can ensure the versatility of the system while supporting frame parsing function. The frame format model library is used to store the frame format model libraries added and edited in the model library custom module. The model library uses MySQL software to build the database. The frame format adaptation module is used to select the frame format to be parsed. After receiving the received bus data, the frame format adaptation module selects the corresponding frame format data according to the configuration selected by the system software, and sends the received bus data and frame format data to the frame parsing software for parsing.

[0011] Specifically, the frame extraction module is used to extract data frames from the original bus data. After receiving the frame format data, the frame extraction module will monitor each frame data according to the frame header, frame tail or length data in the frame format data, and extract each frame data after monitoring.

[0012] Specifically, the frame decoding module is used to decode the received frame data according to the encoding method of its sending end. Some airborne equipment bus data is not encoded when it is sent. The frame decoding module can automatically perform frame decoding operation, automatically compare the ICD of the device and the bus format, and realize automatic decoding.

[0013] Specifically, the frame parsing module is used to parse out the physical meaning contained in the bus data. The frame parsing module will parse out the physical meaning contained in each part of the bus data according to the frame format data sent by the frame format model library and display it on the system software interface.

[0014] Secondly, this application provides a multi-data-frame definition universal bus detection method, including: Step 1: Run the test computer, connect the bus board and the system under test, configure communication, and open the test port channel; Step 2: The bus communication sending module sends signals to the bus board and simultaneously receives configuration parameters from the communication configuration module to complete parameter configuration and realize bus communication; Step 3: The bus communication receiving module receives signals from the bus board and buffers the signals in the received data buffer area, where the original data is displayed. Step 4: Customize the frame format model in the frame model library and send the frame format to the frame format model library to form a custom frame format. Step 5: The frame format adaptation module receives the raw data from the receiving data buffer to input the frame format, and at the same time receives the frame format model library data; Step 6: Receive data buffer: Receive bus communication data from the receiving module and buffer it; Step 8: The frame decoding module receives frame data from the frame extraction module and performs data decoding by automatically matching the configuration file. Step 9: The frame parsing module receives the decoded information, and through multi-model matching and adaptation of data frames, combines and compares the decoded information to parse the original data.

[0015] Compared with the prior art, the beneficial effects of the present invention are as follows: 1. To address the issues of numerous bus interface definitions and the lack of universality in bus detection systems, we have independently designed a bus monitoring system with multiple data frame definitions. This system provides a fast and convenient detection method for bus monitoring, which can help in the rapid troubleshooting of faults and save time and manpower costs.

[0016] 2. This system is portable, versatile, and economical. It only requires a portable tablet and bus board to operate, and the software is compatible with any type of hardware. It has low hardware resource requirements and strong portability. Only a portable computer and bus board are needed; the software is adaptable, making it easy to carry. Furthermore, when monitoring different types of bus signals, only different types of monitoring boards need to be replaced, making it easily expandable. When multiple bus signal parsing software programs are needed, only the bus board needs to be replaced.

[0017] 3. Possesses universal bus testing capabilities with multiple data frame definitions. Addressing the differences in data frame length and format among various airborne product models, this project constructed a universal bus capability based on multiple data frame definitions. Employing hardware reconfigurability and a customizable software model library, it achieves bus data monitoring and parsing, enabling data monitoring during aircraft avionics equipment simulation and testing, as well as rapid identification and isolation of bus faults. Furthermore, the system platform has strong scalability, allowing for the addition of monitored content through a custom frame parsing model database, and is compatible with the detection and recording of various avionics bus models. Attached Figure Description

[0018] Figure 1 This is a diagram of the test system platform architecture for this invention; Detailed Implementation To achieve the above, the present invention adopts the following technical solution: Example 1 like Figure 1 As shown, this application provides a general-purpose bus detection system based on multiple data frame definitions, including a bus board, a bus communication module, a frame format logic editing module, a receive data buffer, and a data frame mixed decoding module, wherein: The bus board is connected in sequence to the bus communication module, the receive data buffer, the multi-data frame format logic editing module, and the data frame mixed decoding module; Bus board is used to physically connect the bus detection system and the airborne bus, converting protocol signals into bus signals and transmitting them. The bus communication module is used to package the data to be sent from the device and drive it onto the physical bus. At the same time, it receives data from the bus, unpacks it, and transmits it to the device. The frame format logic editing module is used to define, edit, and adapt bus data frame messages; The receive data buffer is used to cache the raw bus data received by the bus communication receiving module, and can realize functions such as data frame storage, retrieval and recovery.

[0019] The data frame hybrid decoding module is used to realize the mixed parsing of multiple data frames. It achieves automatic decoding of data frames by extracting corresponding data frames and automatically comparing them with the database, matching data frames and reading and parsing them.

[0020] Specifically, the bus communication module includes a bus communication transmitting module, a bus communication receiving module, and a communication configuration module; The frame format logic editing module includes a model library customization module, a frame format adaptation module, and a frame format model library; The data frame hybrid decoding module includes a frame extraction module, a frame decoding module, and a frame parsing module.

[0021] Specifically, the bus board is used to physically connect the bus detection system and the airborne bus, and to convert the bus physical layer signals into protocol signals such as USB or PCIE and send them to the bus detection system for the bus communication receiving module to receive, or to convert the USB or PCIE protocol signals sent by the bus sending module into bus physical layer signals and send them to the bus.

[0022] The bus communication sending module is used to control the sending of bus signals at the software level, and can realize the sending of raw bus signal data.

[0023] The bus communication receiving module is used to control the reception of bus signals at the software level, and can realize the reception of raw bus signal data.

[0024] The communication configuration module is used to provide communication settings for the physical layer and link layer communication interfaces and to configure communication parameters to ensure normal link communication.

[0025] The received data buffer is used to cache the raw bus data received by the bus communication receiving module. The buffer is designed and built as a memory pool in the software, which includes functions such as memory creation, destruction, allocation, fragmented memory control, and expansion mechanism to ensure the correctness, integrity and efficiency of the cached received data.

[0026] The custom module of the model library is used to add, delete, modify and search frame formats in the frame format model library. It supports the custom construction of multiple frame formats and the custom construction and deletion of frame encoding and decoding methods. Through this custom frame format model, the bus detection system can ensure the versatility of the system while supporting frame parsing function.

[0027] The frame format model library is used to store the frame format model libraries added and edited in the model library custom module. The model library uses MySQL software to build the database.

[0028] The frame format adaptation module is used to select the frame format to be parsed. After receiving the received bus data, the frame format adaptation module selects the corresponding frame format data according to the configuration selected by the system software, and sends the received bus data and frame format data to the frame parsing software for parsing.

[0029] The frame extraction module is used to extract data frames from the original bus data. After receiving the frame format data, the frame extraction module will monitor each frame data according to the frame header, frame tail or length data in the frame format data, and extract each frame data after monitoring.

[0030] The frame decoding module is used to decode the received frame data according to the encoding method of its sending end. Some airborne equipment bus data is not encoded when it is sent. The frame decoding module can automatically perform frame decoding operation, automatically compare the ICD of the device and the bus format, and realize automatic decoding.

[0031] The frame parsing module is used to parse out the physical meaning contained in the bus data. The frame parsing module will parse out the physical meaning contained in each part of the bus data according to the frame format data sent by the frame format model library and display it on the system software interface.

[0032] In summary, this application provides a universal bus detection system and method based on multiple data frame definitions. By enabling reconfigurable hardware bus boards and customizable software frame parsing model libraries, it achieves universal and automated bus monitoring and parsing, meeting the bus monitoring and rapid fault location needs of various airborne system platforms. The customizable frame parsing model library provides both the universality of monitoring specific bus data and the ability to automatically parse data within the system. This constructs a bus detection system that is both universal and capable of parsing multiple data frames. Through the customizable frame parsing model library and frame format adaptation design, frame parsing functionality is guaranteed while maintaining the universality of bus monitoring. This addresses the pain point of aviation bus testing equipment lacking universality or unable to perform frame parsing, reducing the cost of avionics testing equipment and saving human and time resources for fault diagnosis.

[0033] Example 2 This application provides a general bus detection method based on multiple data frame definitions, including the following: Step 1: Run the test computer, connect the bus board and the system under test, configure the communication, and open the test port channel.

[0034] Specifically, the steps are as follows: run the test computer, connect the test cable between the bus board and the system, start the power supply of the bus detection system, power on the system and the bus board, configure the bus transmission format in the communication configuration module, and open the bus communication port.

[0035] Step 2: The bus communication sending module sends signals to the bus board and simultaneously receives configuration parameters from the communication configuration module to complete parameter configuration and realize bus communication.

[0036] Specifically, the bus communication sending module sends bus signals to the bus board, the bus board receives the signals and converts them into bus physical address protocol signals to realize data communication. At the same time, the parameter configuration module sends configuration information to the bus communication sending module and the bus communication receiving module respectively to realize bus communication between the modules.

[0037] Step 3: The bus communication receiving module receives signals from the bus board and buffers the signals in the received data buffer area, which displays the original data.

[0038] Specifically, the test computer sends bus signals to the bus board. The bus communication receiving module receives the bus signals from the bus board and temporarily stores the received data in a buffer. The buffer continuously adjusts its memory pool size based on the received data and promptly releases memory that is not needed. The received raw bus data is displayed in the bus communication interface. Step 4: Customize the frame format model in the frame model library and send the frame format to the frame format model library to form a custom frame format.

[0039] Specifically, the frame model library's custom module defines a custom frame format model. The frame format is sent to the frame format model library. In the frame format model library, the frame formats that need to be parsed and decoded are added and edited through the custom configuration of the frame format model. As needed, you can add and modify the intra-frame data that you need to pay attention to. During subsequent frame parsing, the corresponding content will be parsed out based on the added and edited intra-frame information. The frame header, frame tail, and frame length of each frame model can be changed according to the test requirements, thereby parsing any bus data that needs to be analyzed.

[0040] Step 5: The frame format adaptation module receives the raw data from the receiving data buffer for frame format input, and also receives data from the frame format model library.

[0041] Specifically, the frame format adaptation module receives raw data from the data buffer as frame format input and simultaneously receives data from the frame format model library. This module includes frame model library query and received data analysis functions. The received data decomposition function decomposes the received data according to the frame formats stored in the data frame library, thereby obtaining data for different functional partitions. The frame model library query function searches all frame structures based on the data from different functional partitions obtained through decomposition, finds the corresponding frame structure model in the database, and finally sends the frame structure model to the frame extraction module for parsing and use.

[0042] Step 6: Receive data buffer. Receive bus communication module receives bus data and buffers it.

[0043] Specifically, after entering the frame parsing interface, the system will automatically temporarily store the bus data received in the buffer area and send the received data buffer to the frame format adaptation module. The module will then send the adapted frame format and data to the frame parsing part for subsequent operations based on the frame format in the frame format model library and the received data.

[0044] Step 7: The frame extraction module receives the formatted data from the frame adaptation module and automatically extracts the data. Specifically, the frame extraction module receives the format data from the frame adaptation module and automatically extracts the data. After receiving the frame format data and the receive bus data, the frame extraction module extracts each frame of the receive bus data according to the information such as the frame header, frame tail, or frame length in the frame format data for subsequent frame content parsing. At the same time, it automatically performs data extraction and matching according to the frame data format and converts the data into usable parsing code data.

[0045] Step 8: The frame decoding module receives frame data from the frame extraction module and performs data decoding. Automatic matching using a configuration file is employed to achieve data decoding. Specifically: The frame decoding module receives frame data from the frame extraction module and decodes it. The frame decoding module decodes the extracted frame according to the encoding method in the frame format data to obtain the original bus data. If the frame format does not have an encoding method, no decoding is required. The module can choose the encoding and decoding method that exists in the frame format model library. If no decoding is required, the decoding method is left empty and the configuration file is automatically matched. When the frame parsing logic needs to be modified, the configuration file needs to be changed. The configuration file has a higher degree of freedom and is prone to errors. By storing the data frame configuration method, a standard model modification interface is provided to standardize the way to modify the frame structure data and realize the function of parsing multiple data frames at the same time. Step 9: The frame parsing module receives the decoded information, and through multi-model matching and adaptation of data frames, combines and compares the decoded information to parse the original data.

[0046] Specifically, the frame parsing module receives decoding information and, based on the selected frame format information, parses the received raw bus data. It then displays the parsing result of each frame and the corresponding raw bus data in the appropriate position on the interface. It compares the data with the frame format model library based on the actual situation, marking the frame format messages and data types that need to be parsed. Simultaneously, the frame decoding module configures the data frame storage, compares the configuration file and interface, and automatically decodes the data frames. Multiple data frame interfaces can simultaneously parse multiple data frames. Furthermore, the decoded data is filtered and compared, and the source code is translated and stored to achieve physical quantity parsing.

[0047] This invention has been successfully used for power-on verification in aircraft or laboratory fault diagnosis. It constructs a universal bus detection system with multiple data frame definitions. Through a custom frame parsing model library and frame format adaptation design, it achieves frame parsing functionality while ensuring the universality of bus monitoring. This solves the pain point of aviation bus detection equipment lacking universality or unable to perform frame parsing. It is portable, universal, and economical, requiring only a computer and bus board for use, and the software is compatible with any type of hardware. This bus detection system has been successfully applied to equipment delivery verification, product fault diagnosis, and design verification testing. Using this equipment can help quickly locate bus data problems between finished products, saving test troubleshooting time and costs, accelerating test progress, and saving approximately one million yuan in costs associated with using related testing systems, demonstrating significant economic and social benefits.

Claims

1. A multi-data frame definition universal bus detection system, characterized by, The bus board card, the bus communication module, the frame format logical editing module, the receiving data buffer and the data frame mixed decoding module are connected in sequence. The bus board card is used for physically connecting the bus detection system and the onboard bus, converting protocol signals into bus signals and transmitting the signals. The bus communication module is used for packing data to be sent from the equipment and driving the data to the physical bus, and receiving data from the bus, unpacking and transmitting the data to the equipment. The frame format logical editing module is used for defining, editing and adapting bus data frame messages. The receiving data buffer is used for buffering bus original data received by the bus communication receiving module, and can realize data frame storage, retrieval and recovery functions. The data frame mixed decoding module is used for realizing mixed analysis of various data frames, and realizing automatic decoding of data frames through corresponding data frame extraction and database automatic comparison, data frame matching and reading analysis. The bus communication module includes a bus communication sending module, a bus communication receiving module and a communication configuration module.

2. The system of claim 1, wherein, The bus board card is used for physically connecting the bus detection system and the onboard bus, and converting bus physical layer signals into USB or PCIE protocol signals to send to the bus detection system for receiving by the bus communication receiving module or converting USB or PCIE protocol signals sent by the bus sending module into bus physical layer signals to send to the bus.

3. The system of claim 2, wherein, The bus communication sending module is used for controlling bus signal sending at the software level, and can realize bus signal original data sending.

4. The system of claim 2, wherein, The bus communication receiving module is used for controlling bus signal receiving at the software level, and can realize bus signal original data receiving.

5. The system of claim 2, wherein, The communication configuration module is used for providing communication setting physical layer and link layer communication interface and performing communication parameter configuration, realizing parameter configuration and ensuring normal link communication. The model library customizing module is used for adding, deleting, changing and searching frame formats in the frame format model library, supporting customizing construction of various frame formats and supporting customizing construction and deleting operation of frame encoding and decoding modes. The frame format model library is used for storing frame format model libraries added and edited by the model library customizing module. The frame format adapting module is used for selecting frame formats to be analyzed. The frame format adapting module selects corresponding frame format data according to system software selection configuration after receiving bus data, and sends the received bus data and the frame format data to the frame analysis software for analysis.

6. The system of claim 2, wherein, The frame extraction module is used to extract data frames in the bus raw data, and after receiving frame format data, the frame extraction module monitors each frame data according to the frame header, frame tail or length data in the frame format data, and extracts each frame data after monitoring.

7. The system of claim 2, wherein, The frame decoding module is used to decode the received frame data according to the encoding mode of the sending end of each frame bus data, and the frame decoding module can automatically perform frame decoding operation, automatically compare the ICD and bus format of the device, and realize automatic decoding.

8. The system of claim 2, wherein, The frame analysis module is used to analyze the physical meaning contained in the bus data, and the frame analysis module can analyze the physical meaning contained in each part of the bus data according to the frame format data sent by the frame format model library, and display on the system software interface.

9. A method for detecting a universal bus in multiple data frame definition, characterized in that, The method is applied to the multi-data frame definition universal bus detection system of any one of claims 1-8, and the method comprises: Step 1: run the test computer, connect the bus board card and the system to be tested, and perform communication configuration, open the test port channel; Step 2: the bus communication sending module sends signals to the bus board card, receives the configuration parameters of the communication configuration module at the same time, completes the parameter configuration, and realizes the bus communication; Step 3: the bus communication receiving module receives the signals of the bus board card and caches the signals to the receiving data buffer area, and the buffer area displays the raw data; Step 4: the frame model library self-definition module defines the frame format model, sends the frame format to the frame format model library, and forms the frame format self-definition format; Step 5: the frame format adaptation module inputs the frame format through the raw data of the receiving data buffer area, and receives the data of the frame format model library at the same time; Step 6: the receiving data buffer area receives the bus data of the bus communication receiving module and caches them; Step 8: the frame decoding module receives the frame data of the frame extraction module to perform data decoding, and realizes data decoding by automatically matching the configuration file; Step 9: the frame analysis module receives the decoding information, combines and compares the decoding information through multi-model matching and self-adaptation of the data frame, and realizes the analysis of the raw data.