ICD-oriented 1394 bus protocol simulation test platform
By developing the 1394 bus protocol simulation test platform for ICD, the problem of the inability to conduct accurate simulation tests and lack of universality in the existing technology is solved, and efficient and accurate testing of the communication performance and parameter engineering values of the 1394 bus interface is achieved, reducing the testing cost and time.
Patent Information
- Application Number
- CN202510128162.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-05
- Publication Date
- 2025-05-13
AI Technical Summary
The 1394 bus signal simulation test of existing avionics systems cannot accurately simulate and solve the physical quantity parameter values of the 1394 data based on specific ICD requirements, and the existing test equipment lacks universality and flexibility. When facing different ICD files, it is necessary to redevelop or adjust the test process, resulting in a significant increase in testing costs and time.
Developed an ICD-oriented 1394 bus protocol simulation test platform. The platform has an ICD management module, a data simulation sending module, a data monitoring module and a data visualization module. Through the coordinated work of these modules, comprehensive testing of the communication performance and parameter engineering values of the 1394 bus interface and high-precision simulation of data.
It reduces the complexity of simulation testing, realizes accurate testing of the communication performance and parameter engineering values of 1394 bus interface, improves testing efficiency and accuracy, and reduces testing costs and time.
Smart Images

Figure CN119988117A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer bus protocol simulation test, and focuses on developing an ICD (Interface Control Document) oriented 1394 bus protocol simulation test platform. Background Art
[0002] In modern military communications and aerospace, the reliability and accuracy of data transmission are crucial; the 1394 interface has a high-speed transmission capacity of 100Mbps - 400Mbps, which can meet the needs of rapid transmission of aircraft sensor data; at the same time, it supports daisy chain connection of up to 63 devices, greatly simplifying system wiring and equipment expansion.
[0003] However, the military 1394 data link is extremely complex, and the ICD files of different equipment and systems vary significantly in data definition, format and parsing methods. The 1394 bus signal simulation test of existing avionics systems faces difficulties. Traditional methods can only complete basic communication performance tests, and cannot accurately simulate and solve the physical quantity (engineering value) parameter values of 1394 data according to specific ICD requirements. Most of the existing test equipment is special equipment designed for specific avionics equipment ICD, which lacks versatility and flexibility. When faced with different ICD files, the test process needs to be redeveloped or adjusted, which greatly increases the test cost and time. Summary of the invention
[0004] The present invention aims to create a 1394 bus protocol simulation test platform for ICD to solve the deficiencies of the existing technology. The platform has many advantages, which can reduce the complexity of simulation test, comprehensively test the communication performance and parameter engineering value of 1394 bus interface, and fully verify the correctness of ICD interface protocol information.
[0005] The platform has an ICD management module, which has the function of importing and exporting ICD files in XML format, and automatically adapts parsing rules through file format recognition algorithms; it supports flexible data query, editing, maintenance, version control, and automatic verification and validation, and data query uses optimized database query statements combined with indexes. These functions make ICD data management efficient and accurate, can quickly respond to test needs, and improve test efficiency.
[0006] The data simulation sending module automatically resolves the parameter engineering value set by the user into the 1394 original code value according to the requirements of the ICD interface protocol; it adopts the corresponding mathematical conversion model for different methods such as Enum enumeration analysis and direct numerical analysis; it calls the 1394 bus module application layer software interface to drive the test platform to output high-precision simulation signals. This module can accurately simulate real data transmission, provide a reliable signal source for testing, and ensure the accuracy of the test.
[0007] The data monitoring module receives the signal returned by the device under test according to the simulation signal configuration information, saves it to a file, and resolves the original code value into the parameter engineering value during data playback, and displays it on the simulator display interface; during data playback, fast file reading and parsing algorithms are used to achieve real-time resolution and display. It provides accurate data feedback for testing and helps testers find problems in a timely manner.
[0008] The data visualization module presents complex data in the form of intuitive charts, curves, etc., supports automatic generation and export of data reports, and is convenient for users to share and archive; it uses a professional chart drawing library and supports multiple chart types; data report generation uses template engine technology, combined with user-selected data and chart information, to generate reports containing basic data information, chart display, data analysis results, etc. The report format supports PNG, etc. This module makes data more intuitive and easy to understand, facilitates testers to analyze and summarize, and improves test efficiency and quality.
[0009] The platform's message sending window is uniquely designed. The tree list on the left uses an efficient tree data structure, which is convenient for users to quickly browse and select messages. The main interface on the right displays key attributes of the message, and real-time data binding ensures real-time data updates. The load area below the main interface lists detailed signal parameters, with two columns of source code value and interpretation value, supports double-clicking cell editing, and provides a source code value base selection drop-down box and search box. The search box uses an efficient search algorithm to improve data processing and retrieval efficiency. This design is convenient for user operation and improves the convenience and efficiency of testing. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1: System architecture and hardware connection diagram; Figure 2: Connection relationship between modules; Figure 3: Example of XML file ICD configuration structure; Figure 4: Definition of big-endian and small-endian bit order; Figure 5: Algorithm flow chart for calculating the original code of the data word of the engineering value; Figure 6: Flowchart of algorithm for receiving data source code and calculating engineering value; Figure 7: Visualization of data in PNG format. DETAILED DESCRIPTION
[0011] The hardware of the simulation test platform is mainly composed of the test platform, 1394 bus simulation module and the device under test (see Figure 1 to clarify the position and connection relationship of each hardware part in the system); the test platform uses high-performance computers to meet the needs of 1394 bus signal simulation testing for rapid processing of massive data; with 4GB and above DDR4 high-speed memory, high bandwidth and low latency to ensure fast data reading and writing during system operation to avoid jamming; the storage device uses a solid-state hard drive based on the NVMe protocol, with a sequential read and write speed of thousands of MB per second, to achieve efficient storage and reading of test data, ICD files and system programs.
[0012] The 1394 bus simulation module is firmly installed inside the test platform through the high-speed interface of PCI - Express 3.0 and above. The high-speed serial transmission characteristics of the PCI - Express interface meet the rapid transmission of large amounts of data between the 1394 bus simulation module and the test platform motherboard, ensuring stable data transmission, effectively reducing delays and packet loss, and ensuring the accuracy and stability of signal simulation testing. The device under test and the 1394 bus simulation module are connected through a 9-core cable that complies with the 1394 bus standard. The physical and electrical properties of the cable strictly comply with the standard, ensuring reliable data interaction and complete and accurate signal transmission.
[0013] At the software level, the simulation test platform application software includes multiple functional modules that collaborate with each other (refer to the connection relationship between the modules in Figure 2 to understand their data interaction logic); the ICD management module, data simulation sending module, data monitoring module, and data visualization module interact with each other through carefully designed internal data interfaces; the data storage module uses the MySQL relational database management system, which uses optimized database indexes and query statements to efficiently store and retrieve ICD files, test data and other information; the communication interface module establishes a stable communication link with other modules.
[0014] The ICD configuration structure of the XML file has a clear and rigorous hierarchical system (refer to Figure 3 to understand its hierarchical relationship); the top-level configuration element serves as the root node of the entire ICD file and contains name and version attributes; the name attribute is used to uniquely identify the ICD file, facilitating system management and identification; the version attribute follows semantic version control rules, such as the "XYZ" format, which is used to accurately track the update and change history of ICD data and ensure compatibility and traceability between different versions.
[0015] The configuration element contains multiple message elements, each of which represents an independent data transmission unit. The message element has attributes such as message name, message ID, channel number, message length, and bit order. The message name uses clear and accurate descriptive words to intuitively reflect the function or content of the message. The message ID uses a 32-bit unique identifier, which is unique in the entire test system, so that the system can accurately identify and process messages during data transmission and processing. The channel number is used to specify the logical channel used for message transmission. The message length attribute clarifies the size of the data packet contained in the message, which is helpful for data parsing and processing. The bit order attribute uses the enumeration value "big-endian" or "little-endian" to clarify the order of data bits described by the start bit and end bit in the message. There are differences in different ICD definitions. The bit order attribute is a key factor to cope with such differences. In big-endian mode, data bits are arranged from high to low, that is, the start bit corresponds to the high part of the data, and the end bit corresponds to the low part of the data. The little-endian mode is the opposite. The data bits are arranged from low to high. The start bit corresponds to the low-order part of the data, and the end bit corresponds to the high-order part of the data (refer to the definition of the little-endian and little-endian bit order in Figure 4); different devices or systems may use different bit order modes. If the two parties have inconsistent definitions of the bit order during data interaction, data parsing errors will occur. The bit order attribute in the ICD configuration can clearly specify the bit order mode of the data. Based on this attribute, the receiver can accurately parse the data according to the sender's bit order rules, thereby ensuring that the data can be correctly parsed under different bit order definitions, ensuring the accuracy and reliability of data communication.
[0016] There are multiple signal elements nested under the message element. The signal element is the core part of the ICD configuration (refer to the hierarchical relationship between the signal element and other elements in Figure 3). The signal element contains attributes such as signal name, byte offset, start bit, end bit, parsing method, symbol type, weight valid bit, weight value, enumeration list, unit, etc. The signal name uses a specific and clear physical quantity name, such as "Temperature" and "Pressure", to clarify the specific meaning of the signal; the byte offset and the start bit and end bit together accurately determine the specific position of the signal in the message; the parsing method is represented by enumeration values such as "Enum" and "General", which determine how to parse the signal data; the symbol type specifies the symbolic nature of the signal data through the enumeration values "Unsigned" and "Signed"; the weight valid bit and weight value are used to weight the signal data during data calculation and conversion; the enumeration list uses the form of key-value pairs to list all possible values and their corresponding meanings for the Enum parsing method, such as "0:LowTemperature; 1:Normal Temperature; 2:High Temperature"; the units adopt international standard units or industry-wide units, such as "℃" (Celsius) and "Pa" (Pascal), to clarify the physical measurement units of the signal data; when the signal element is parsed in an enumeration type, it will contain several key-value elements, the key attribute of the key-value element corresponds to the enumeration value, and the value attribute adopts the string type to give the specific meaning of the enumeration value, further refining the value definition of the enumeration type signal.
[0017] The ICD signal configuration interface consists of list controls, text boxes, buttons, multi-tabs and other controls; the list control displays the Mil1394 bus message packet list in an intuitive table format, each row corresponds to a data packet, and each cell displays key information such as message ID and channel number. Users can easily select data packets by clicking the mouse or using the keyboard.
[0018] The text box is used for users to input parameter values. The system verifies the input format in real time to ensure compliance with regulations. The buttons provide operation functions such as "Save Configuration" and "Query". After clicking the "Save Configuration" button, the system checks the integrity and correctness of the configuration information. If there is a problem, the user is prompted to modify it. The "Query" button supports fuzzy and precise queries to help users quickly locate configuration information.
[0019] The table control in the multi-tab control displays the ICD configuration information; one row of the table control represents a signal configuration information, and each column configures the properties of the signal; for example, for the temperature signal configuration, the user enters "temperature" in the "Signal Name" column, fills in its starting byte position in the data packet in the "Byte Offset" column, and fills in the specific position of the signal in the byte in the "Start Bit" and "End Bit" columns.
[0020] If the temperature signal adopts Enum parsing method, select "Enum" in the "Parsing method" column, fill in the enumeration value and its meaning in the "Enumeration list" column, such as "0: low temperature; 1: normal; 2: high temperature"; at the same time, set parameters such as "Symbol type", "Weight effective bit", "Weight value" and "Unit"; after completing other signal configurations, combined with parameters such as destination channel, message ID, message length, etc., click "Save configuration", and the system will save the configuration information according to the established format and rules.
[0021] When the simulation platform sends a test signal, the user can choose to directly enter the original code value or set the parameter engineering value in the sending interface; after choosing to set the engineering value, the system retrieves the matching ICD configuration message in the ICD management database based on the message ID, channel number, message length and other information set by the user.
[0022] After retrieving the matching message, the system dynamically creates a control based on the ICD configuration load in the sending interface to facilitate users to set detailed parameters; then the engineering value is converted to the original code value, and the original code value is calculated using the corresponding algorithm according to the different parsing methods; if it is the Enum parsing method, the original code value is calculated by searching the enumeration list based on the symbol type, weight and other information; if it is not the Enum parsing method, it is calculated according to the mathematical conversion formula based on the relevant configuration information; finally, the calculated original code value is combined into a data packet according to the signal configuration information.
[0023] After the data packet is assembled, the system calls the 1394 bus module application layer software interface, encapsulates and processes the data packet according to the ICD interface protocol requirements, and then drives the test platform to output simulation signals through the 1394 bus simulation module.
[0024] When the simulation test platform receives the signal sent back by the device under test, the data monitoring module calls the 1394 bus module application layer software interface to receive data according to the preset simulation signal configuration information.
[0025] The received data is saved to a file, and the storage path and file name are named according to the system configuration and test requirements to facilitate subsequent search and management; when the data is played back, the system reads the file, extracts the message type, absolute time stamp, offset, message ID and other information and loads it into the table control (refer to Figure 5, the algorithm flow chart of the original code of the received data to calculate the engineering value, to understand the first step of data processing at the receiving end).
[0026] When the user selects a row in the table, the system extracts the corresponding message payload and retrieves the matching configuration based on the ICD configuration information; if matching information is retrieved, the original code value of the message packet is parsed into an engineering value; according to different parsing methods, the corresponding algorithm is used to calculate the engineering value, and finally the engineering value is displayed in the payload control for user viewing and analysis.
[0027] In the data visualization interface, the user selects the file to be played back through the file selection dialog box; the system automatically loads the relevant signal information and displays it in the signal selection window based on the configuration information previously entered by the user; after the user checks the signal and message ID to be displayed, the system uses the absolute time scale of the message as the X-axis and solves the matching signal into an engineering value as the Y-axis. The solution process is consistent with the process of calculating the engineering value of the received data source code.
[0028] The system displays the engineering values in the form of charts, curves, etc. in the chart control, and supports multiple chart types such as line charts and bar charts. For example, when viewing the changing trends of temperature and pressure signals, the user selects a file and checks the corresponding signal and message ID, and the system displays its engineering values in a line chart. The user can intuitively see how the signal changes over time. At the same time, the data visualization module supports automatic generation and export of visualized data in PNG format (refer to the visualized data in PNG format in Figure 7), which is convenient for users to share and archive.
Claims
1. A 1394 bus protocol simulation test platform for ICD, which performs simulation test in a simulation system, wherein the simulation system comprises a device under test, a simulation test platform, and a 1394 bus simulation module, wherein the 1394 bus simulation module is installed in the simulation test platform, and the simulation test platform sends simulation test signals to the device under test via the 1394 bus simulation module according to the ICD interface protocol requirements; the simulation test platform application software comprises: ICD management module, data simulation sending module, data monitoring module, data visualization module, data storage module and communication interface module, characterized by: The ICD management module is connected to the data simulation sending module, the data monitoring module, and the data visualization module to realize data interaction and sharing; the data storage module is connected to the communication interface module, and the data simulation sending module and the data storage module communicate with the aviation 1394 bus system through the communication interface module to build a complete data transmission and processing link; The ICD management module supports the import of ICD files in XML format, quickly integrating external ICD data into the platform; it also provides an export function that can export ICD data in the platform to a specified format for easy data backup and sharing; it also has a flexible query function, allowing users to accurately locate the required ICD information based on multiple conditions such as interface name, interface type, data field, etc. The ICD management module allows users to edit ICD data, including modification of interface name, data type, resolution, etc.; implements version control, records version information of each data change in detail, and ensures data traceability and consistency; and automatically verifies and checks the imported and edited ICD data, checks the integrity and correctness of the data, and generates verification reports to assist users in fixing data problems; The data simulation sending module obtains the original code value or engineering value of the parameter set by the user when sending the test signal, and automatically resolves the engineering value of the parameter into the original code value of 1394 according to the requirements of the ICD interface protocol, and drives the test platform to output a simulation signal that conforms to the protocol standard by calling the application layer software interface of the 1394 bus module; When receiving the signal returned by the device under test, the data monitoring module calls the 1394 bus module application layer software interface to receive data according to the simulation signal configuration information, and saves the data to a file; when playing back the data, the correctly received original code value is resolved into a parameter engineering value and displayed on the display interface, so that the user can monitor the test process and analyze the test results; The data visualization module presents complex data in intuitive forms such as charts and curves, making it easy for users to quickly understand the meaning and characteristics of the data; it supports automatic generation and export of data reports, which can be exported to formats such as PNG, making it easier for users to share and archive data and analysis results; The message list is displayed in a tree list on the left side of the send message window, which is convenient for users to browse and select; the main interface on the right side displays the message ID, message name, message type, message priority, message source port ID, message destination port ID and other detailed properties of the selected message; the load area lists the signal name, word offset, start bit, end bit, parsing method, symbol type, weight valid bit, weight value, enumeration list, unit and other parameters of the signal, and has source code value and interpretation value columns, supports double-clicking the cell to edit the load content, and also provides a source code value base selection drop-down box to meet the needs of different users for data display; The send message window is provided with a search box. After the user enters a keyword, the system automatically filters out the content that meets the conditions in the table, thereby improving the efficiency of data retrieval and facilitating the user to quickly locate the required data.
2. The ICD-oriented 1394 bus protocol simulation test platform according to claim 1, characterized in that: The ICD management module obtains the configuration information input by the user and saves it to a physical ICD file in XML format, and then parses the file into a list data structure; classifies the elements in the physical ICD file, wherein the configuration element is a first-level element, including a name, version attributes and multiple message elements; the message element is a second-level element, including attributes such as message name, message ID, channel number, message length, bit sequence and several signal elements; the signal element is a third-level element, with attributes such as signal name, byte offset, start bit, end bit, parsing mode, symbol type, weight bit mark, weight value, unit, etc., and contains several key-value elements when the parsing type is an enumeration type; the key-value element is a fourth-level element, including key and value attributes, so as to achieve orderly management of ICD data.
3. The 1394 bus protocol simulation test platform for ICD according to claim 1, characterized in that: When the data simulation sending module creates or modifies the preset 1394 message data structure, it searches the ICD library of the ICD management module for configuration information that matches the message ID, channel number and message length; if it is not found, it returns directly; If retrieved, the signal elements are solved one by one according to the retrieved configuration information, and the original code value and engineering value of the 1394 message data structure are displayed; after modifying the original code value or engineering value, it is solved again according to the configuration information of the signal element, and the converted data is added to the corresponding bit segment of the 1394 message data structure, thereby forming a complete converted 1394 message.
4. The 1394 bus protocol simulation test platform for ICD according to claim 1, characterized in that: When receiving data, the data monitoring module performs real-time verification on the data. If any data error or incompleteness is found, the error information is recorded in time and a prompt is issued to the user. During the data storage process, a specific data compression algorithm is used to compress and store the data to reduce storage space occupancy while ensuring the integrity and recoverability of the data.
5. The 1394 bus protocol simulation test platform for ICD according to claim 1, characterized in that: The data visualization module provides a variety of chart types to choose from, including line charts, bar charts, scatter charts, etc. Users can choose the appropriate chart type to display data according to data characteristics and analysis requirements; when generating data reports, it supports users to customize report content and format. Users can select the data indicators that need to be included, chart display methods, etc., to generate personalized data reports.
6. The ICD-oriented 1394 bus protocol simulation test platform according to claim 1, characterized in that: The tree list of the message sending window supports multi-level expansion and folding, which is convenient for users to quickly browse a large number of messages; the fields in the message attribute display area can be customized and hidden according to user needs, and users can flexibly adjust the display content according to actual usage scenarios; The parameter settings in the load area support shortcut key operations, which improves the efficiency of users editing load content.