Avionics system test system based on network layer data acquisition and recharge
By adopting a test system based on network layer data acquisition and reinjection in avionics systems, the problem of difficulty in discovering and positioning of occasional abnormalities is solved, rapid fault location and system robustness are improved, automated testing is supported and resource costs are saved.
Patent Information
- Application Number
- CN202411949758.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-03-25
AI Technical Summary
During the development and testing of avionics systems, occasional abnormalities are difficult to be discovered and located in a timely manner. The traditional logging method is not enough to fully reflect the real operating status of the system in scenarios with large amount of information and complex interactions.
It provides a test system for avionics system based on network layer data acquisition and reinjection, including a data acquisition module, a data reinjection module and a fault injection module. By capturing and storing network layer communication data in real time, reinjecting data to simulate fault scenarios, and introducing preset fault data into the system to test fault tolerance and recovery mechanism.
It quickly locates the problem, improves fault diagnosis efficiency, enhances system robustness, fully covers occasional bugs, supports automated testing, saves resource costs, and improves user experience.
Smart Images

Figure CN119697003A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a test system for an avionics system, in particular to a test system for an avionics system based on network layer data acquisition and re-injection. Background Art
[0002] During the development and testing of avionics systems, some occasional anomalies are difficult to detect and locate in a timely manner due to the complex and ever-changing environment. Although traditional log recording methods can provide some help, they are often insufficient to fully reflect the actual operating status of the system in scenarios with large amounts of information and complex interactions. Therefore, a more effective means is urgently needed to save the system operating status for post-analysis and problem reproduction. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide an avionics system test system based on network layer data collection and feedback, which can quickly locate the problem and introduce preset fault data into the system to test the fault tolerance and recovery mechanism of the system in a controlled environment.
[0004] The technical solution adopted by the present invention to solve the above-mentioned technical problems is to provide a test system for an avionics system based on network layer data acquisition and re-injection, including a data acquisition module: deployed on a data acquisition server, monitoring the designated port of a switch and storing the received data in a timing database; a data re-injection module: reading the network data stream within a relevant time period from the timing database, and re-sending it to the target application in the original order to simulate the network environment at that time; a fault injection module: actively introducing various types of faults during system operation according to user configuration or preset rules; when testing the interaction between a single module of an avionics system and other modules, connecting a real part or a simulation module on the periphery; the simulation module sends stimulus to the hardware under test by calling the A664 board, and at the same time reads and displays the value sent by the hardware under test through the A664 board to verify the received value.
[0005] Furthermore, the target application is located on the tested hardware or simulation module in the avionics system; the simulation module is deployed on the test system PC and simulates the communication data of the real part by controlling the A664 board in the PXI chassis to send stimulus.
[0006] Furthermore, the data re-injection module and the fault injection module are deployed on a test system PC.
[0007] Furthermore, the data acquisition module monitors the UDP traffic of the specified port. is the number of packets heard by the director, is the number of packets actually captured, and the capture rate is The monitored data packets are then stored in the time series database together with the timestamp.
[0008] Furthermore, when the data refill module needs to restore the abnormal scene, it reads the data packets of the specified time period in the time series database, and sets For the The timestamp of the data packet, is the content of the data packet, the data replay process is expressed as: ; in, It is a preset time interval to ensure that the data packets are sent in the original time sequence.
[0009] Furthermore, the fault injection module sends the actively constructed fault data to the data re-injection module, and the data re-injection module injects the preset fault data into the field data when restoring the scene, thereby realizing the creation of the abnormal data scene.
[0010] Furthermore, the preset fault data includes network delay, packet loss or CPU load increase.
[0011] Compared with the prior art, the present invention has the following beneficial effects: the test system of the avionics system based on network layer data collection and re-injection provided by the present invention can capture and store network layer communication data (especially UDP protocol data packets) in real time. When an abnormality occurs during system operation, these saved data can be used for re-injection, thereby simulating the specific situation when the fault occurs, which is convenient for developers to quickly locate the problem. In addition, the present invention also introduces a fault injection mechanism, actively introducing preset fault data into the system, so as to test the fault tolerance and recovery mechanism of the system in a controlled environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 A schematic diagram of the deployment of a test system for an avionics system based on network layer data collection and recharging according to the present invention; Figure 2 It is a schematic diagram of the test system architecture of the avionics system based on network layer data collection and recharging of the present invention; Figure 3 It is a schematic diagram of the interaction between data acquisition, fault injection and recharging modules in the test system of the present invention.
[0013] The markings in the figure are: 1 Test system PC 2 Data acquisition server 3 Time series database 4 Switch 5 PXI Chassis 6 Hardware under test DETAILED DESCRIPTION The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0014] See also Figure 1 , Figure 2 and Figure 3 The test system of the avionics system based on network layer data collection and re-injection provided by the present invention supports integration with the automated test framework, realizes the automation of fault injection, data re-injection and test case execution, and improves the test efficiency and coverage; the main components are as follows: Hardware under test 6: Various components in the avionics system are the test objects of this test system Simulation module: Simulate the hardware when some components of the avionics system do not exist.
[0015] Data collection module: deployed on the data collection server 2, monitors the UDP traffic of the specified port, and records the received data packets together with metadata such as timestamps into a persistent storage medium.
[0016] Data re-injection module: reads the network data stream within the relevant time period from the storage medium, and re-sends it to the target application in the original order to simulate the network environment at that time.
[0017] Fault injection module: This module can actively introduce various types of faults during system operation, such as network delay, packet loss, increased CPU load, etc., according to user configuration or preset rules.
[0018] The test system of the avionics system provided by the present invention is deployed as follows: different components of the avionics system communicate as the hardware under test 6 through the switch 4. The data acquisition module is deployed on the server, monitors the designated port of the switch 4 and stores the received data in the timing database. The simulation software is deployed on the test system PC 1, and simulates the communication data of the real part by controlling the A664 board in the PXI (PCI extensions for Instrumentation) chassis 5 to send stimulus. The data re-injection module and the fault injection module are also deployed on the test system PC 1, and read the network data flow in the relevant time period from the timing database and send it to the target application as needed.
[0019] When testing the interaction between a single module of an avionics system and other modules, you can connect either real or simulated components to the periphery. The simulation module sends stimulus to the hardware under test by calling the A664 board, and reads and displays the value sent by the hardware under test through the A664 board to verify the received value.
[0020] When performing integration testing on avionics systems, the various parts communicate with each other through switches. In order to restore occasional exceptions that occur during integration testing, the scene when the exception occurs needs to be stored and restored.
[0021] The data collection module continuously monitors the UDP traffic of the specified port on the switch. is the number of packets heard by the director, is the number of packets actually captured, and the capture rate is . The monitored data packets are then stored in the time series database together with the timestamp.
[0022] When the data re-injection module needs to restore the abnormal scene, it reads the data packets of the specified time period in the database and sets For the The timestamp of the data packet, is the content of the data packet, the data replay process can be expressed as: in, It is a preset time interval to ensure that data packets are sent in the original time sequence. Through data replay, the specific situation when the fault occurs is simulated to help locate the problem.
[0023] The fault injection module sends the actively constructed fault data to the data re-injection module. When restoring the scene, the data re-injection module injects these abnormal data into the normal scene data to achieve the creation of the abnormal data scene.
[0024] The present invention collects data from the network layer (such as UDP packets) to save the system's operating status, and then restores the abnormal scene by re-injecting the data; and combines the fault injection mechanism to test the system's fault tolerance and recovery mechanism. It has the following beneficial effects: 1. Improve fault diagnosis efficiency: By capturing and storing network layer data in real time, when an abnormality occurs during system operation, the data can be quickly re-injected to accurately reproduce the fault scenario, thereby greatly shortening the time for fault location and repair.
[0025] 2. Enhance system robustness: Introducing a fault injection mechanism can proactively simulate various fault conditions during the development and testing phases, detect and fix potential problems in advance, and improve system stability and reliability.
[0026] 3. Comprehensive coverage of occasional bugs: Traditional log recording methods often fail to capture complete information about occasional bugs. The present invention can more comprehensively reflect the real operating status of the system by saving detailed network communication data, which helps to discover and solve these difficult-to-reproduce problems.
[0027] 4. Automated testing support: Supports integration with automated testing frameworks to automate fault injection, data injection, and test case execution, improving test efficiency and coverage and reducing manual operation errors.
[0028] 5. Save resource costs: By detecting and repairing problems early, downtime and maintenance costs caused by system failures are reduced, and overall operational efficiency is improved.
[0029] 6. User-friendliness: Providing intuitive debugging tools and detailed logging makes it easier for developers to understand and analyze problems, improving the user experience.
[0030] 7. Strong applicability: It is suitable for various complex software systems, especially distributed systems, which enhances the maintainability and scalability of the system.
[0031] Although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art may make some modifications and improvements without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be based on the definition of the claims.
Claims
1. A test system for avionics systems based on network layer data acquisition and recharging, characterized in that: include: Data acquisition module: deployed on the data acquisition server, monitors the specified port of the switch and stores the received data in the time series database; Data re-injection module: reads the network data flow in the relevant time period from the time series database, and re-sends it to the target application in the original order to simulate the network environment at that time; Fault injection module: actively introduces various types of faults during system operation according to user configuration or preset rules; When testing the interaction between a single module of an avionics system and other modules, a real device or a simulation module is connected to the periphery; the simulation module sends stimulus to the hardware under test by calling the A664 board, and reads and displays the value sent by the hardware under test through the A664 board to verify the received value.
2. The test system for avionics systems based on network layer data collection and recharging as claimed in claim 1, characterized in that: The target application is located on the tested hardware or simulation module in the avionics system; the simulation module is deployed on the test system PC and simulates the communication data of the real part by controlling the A664 board in the PXI chassis to send stimulus.
3. The test system for avionics systems based on network layer data collection and recharging as claimed in claim 2, characterized in that: The data re-injection module and the fault injection module are deployed on the test system PC.
4. The test system for avionics systems based on network layer data collection and recharging as claimed in claim 1, characterized in that: The data acquisition module monitors the UDP traffic of the specified port. is the number of packets heard by the director, is the number of packets actually captured, and the capture rate is The monitored data packets are then stored in the time series database together with the timestamp.
5. The test system for avionics systems based on network layer data collection and recharging as claimed in claim 1, characterized in that: When the data refill module needs to restore the abnormal scene, it reads the data packets of the specified time period in the time series database. For the The timestamp of the data packet, is the content of the data packet, the data replay process is expressed as: ; in, It is a preset time interval to ensure that the data packets are sent in the original time sequence.
6. The test system for avionics systems based on network layer data collection and recharging as claimed in claim 1, characterized in that: The fault injection module sends the actively constructed fault data to the data re-injection module. When restoring the scene, the data re-injection module injects the preset fault data into the scene data to achieve the creation of the abnormal data scene.
7. The test system for avionics systems based on network layer data collection and recharging as claimed in claim 6, characterized in that: The preset fault data includes network delay, packet loss or CPU load increase.
Citation Information
Cited By
Vehicle-mounted detection device for locomotive remote monitoring and diagnosis system
CN120909265A