Real-time sensitive network testing method for train network control and supervision system

By adopting TSN technology and real-time sensitive network testing method of train network control and supervision systems in rail transit vehicle networks, the problem of unmet real-time and large bandwidth requirements in the existing technology is solved, and reliable control information and streaming information transmission is realized, ensuring network performance evaluation and optimization.

CN116032802BActive Publication Date: 2025-03-21TRAFFIC CONTROL TECH CO LTD +2
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211709262.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-29
Publication Date
2025-03-21
Estimated Expiration
2042-12-29

AI Technical Summary

Technical Problem

The existing rail transit vehicle-mounted networks have shortcomings in meeting real-time and large bandwidth requirements, especially the limitations of real-time and bandwidth of MVB and Ethernet protocols, resulting in uncontrollable transmission delays of control information and streaming media information and possible packet loss.

Method used

Time-sensitive network (TSN) technology is adopted, and a real-time sensitive network testing method for train network control and supervision systems is provided. By using TSN switches, VCUs and RIOM as the equipment under test, simulation software and simulated passenger information system are configured to form a network to be tested, and the packaging fusion tools, packet grabber tools, monitoring tools, log tools and analysis tools are used for testing.

Benefits of technology

Through TSN technology, the requirements of real-time and large bandwidth are met simultaneously in the rail transit vehicle network, ensuring reliable transmission of control information and streaming media information, and reducing delay and packet loss risks. This test method can effectively evaluate the performance of the TSN network and ensure that it meets practical application needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116032802B_ABST
    Figure CN116032802B_ABST
Patent Text Reader

Abstract

The present application provides a method for testing a real-time sensitive network of a train network control and supervision system, the method comprising: using the time-sensitive network TSN switches of each network, the train control unit VCU implementing the TSN protocol, and the remote input and output module RIOM implementing the TSN protocol as the devices under test; configuring each subsystem of the train as simulation software; simulating the passenger information system through an image acquisition device; connecting and configuring the simulation software, the passenger information system and the device under test according to the actual configuration to form a network to be tested; and testing the network to be tested. Through the method provided by the present application, TSN is tested by testing the test environment of the actual configuration, the test scenarios are richer, and the measured data are more representative.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of rail transit technology, and in particular to a real-time sensitive network testing method for a train network control and supervision system. Background Art

[0002] With the rapid development of the rail transit industry, the train control, signal, PIS (Passenger Information System, Passenger Information System) / PA (Address System, Public Broadcasting System) / CCTV (Closed Circuit Television, Closed Circuit Television Monitoring System), passenger service and other systems have higher and higher requirements for the real-time performance and transmission bandwidth of the vehicle network, and the networking of the vehicle network is becoming more and more complex. Each subsystem has its own set of networking and technology, and the communication protocols are also different, such as MVB (Multifunction Vehicle Bus, Multifunction Vehicle Bus) protocol, CAN (Controller Area Network, Controller Area Network Bus) protocol, RS485 (hardware communication protocol), EtherCAT, PROFINET (a factory automation communication standard based on industrial Ethernet), POWERLINK (Industrial Real-time Ethernet Protocol), etc., which have some shortcomings in ease of use, interoperability, bandwidth and equipment cost, resulting in increasing difficulty in communication between subsystems. There is an urgent need for a comprehensive bearer network technology to unify the vehicle network. The technologies currently used in vehicle networks include: bus technology (represented by MVB) and switching technology (represented by Ethernet).

[0003] As one of the train communication network standards, the Multi-Function Vehicle Bus (MVB) has been widely used in subways, high-speed trains and other fields due to its advantages such as strong real-time performance and high reliability. However, the MVB bandwidth is only 1.5Mbps, which cannot meet the transmission of multimedia in the vehicle system and can only be used to transmit control signals; Ethernet (TCP / IP) can support the transmission of large traffic, but cannot guarantee real-time performance. If both control information and streaming media information are carried by industrial Ethernet, the control information delay may be uncontrollable or even packet loss, and the application is also subject to certain restrictions. Therefore, there is an urgent need for a network technology that meets both real-time performance and large bandwidth, and TSN (Time-Sensitive Network) has emerged.

[0004] TSN is a collection of protocol standards that ensures the smooth transmission of deterministic information over a standard Ethernet network. The advantages that TSN networks can bring include: 1) open standards that no longer rely on different suppliers; 2) converged networks, where the same network can support all different applications; 3) ensuring the deterministic transmission of critical data.

[0005] TSN networks are still in the early stages of application, and relevant standards are constantly being improved. Whether networks equipped with TSN technology can meet the needs of actual applications is a topic of common concern for vehicle OEMs and equipment manufacturers. Summary of the invention

[0006] In order to solve one of the above-mentioned technical defects, the present application provides a real-time sensitive network testing method for a train network control and supervision system.

[0007] In a first aspect, the present application provides a real-time sensitive network testing method for a train network control and supervision system, the method comprising:

[0008] The time-sensitive network TSN switches of each network, the train control unit VCU implementing the TSN protocol, and the remote input and output module RIOM implementing the TSN protocol are all used as the devices under test;

[0009] Configure each subsystem of the train as simulation software;

[0010] Simulate passenger information system through image acquisition equipment;

[0011] According to the actual configuration, the simulation software, the passenger information system and the device under test are connected and configured to form a network to be tested;

[0012] The network to be tested is tested.

[0013] Optionally, before testing the network to be tested, the method further includes:

[0014] In the network to be tested, a packet injection tool, a packet capture tool, a monitoring tool, a log tool, and an analysis tool are connected.

[0015] Optionally, the testing the network to be tested includes:

[0016] Determine the target test content and test tools, where the test tools are one or more of a packet injection tool, a packet capture tool, a monitoring tool, and a log tool;

[0017] Based on the test tool, testing the target test content on the network to be tested;

[0018] Network performance is determined, by the analysis tool, based on the testing.

[0019] Optionally, the target test content is a clock synchronization protocol test, or a single-ring network single-point failure redundancy mechanism test, or a QBV gating test, or a TSN delay and packet loss performance test.

[0020] Optionally, the target test content is a clock synchronization protocol test; the test tool is a monitoring tool;

[0021] The testing of the target test content on the network to be tested based on the test tool includes:

[0022] Configuring the clock priority of the device under test;

[0023] Monitoring the first clock and the first master clock of each device under test by the monitoring tool;

[0024] Disconnecting the device under test with the highest clock priority from the network to be tested to form a first test network, and monitoring the second clock and the second master clock of each device under test in the first test network by the monitoring tool;

[0025] Disconnecting the device under test with the second highest clock priority from the first test network to form a second test network, and monitoring the third clock and the third master clock of each device under test in the second test network by the monitoring tool;

[0026] Disconnecting the device under test with the third highest clock priority from the second test network to form a third test network, and monitoring the fourth clock and the fourth master clock of each device under test in the third test network by the monitoring tool;

[0027] Determining the network performance based on the test by the analysis tool includes:

[0028] Determine by the analysis tool whether the first clocks are synchronized and whether the first master clock is the clock of the device under test with the highest clock priority, and obtain a first result;

[0029] Determine by the analysis tool whether the second clocks are synchronized and whether the second master clock is the clock of the device under test with the second highest clock priority, and obtain a second result;

[0030] Determine by the analysis tool whether the third clocks are synchronized and whether the third master clock is the clock of the device under test with the third highest clock priority, and obtain a third result;

[0031] Determine by the analysis tool whether the fourth clocks are synchronized and whether the fourth master clock is the clock of the device under test with the fourth highest clock priority, and obtain a fourth result;

[0032] The network performance is determined based on the first result, the second result, the third result, and the fourth result through the analysis tool.

[0033] Optionally, the clock priority of the VCU is higher than the clock priority of the TSN switch, and the clock priority of the TSN switch is higher than the clock priority of other devices under test.

[0034] Optionally, the target test content is a single-ring network single-point failure redundancy mechanism test; the test tool is a packet capture tool, a monitoring tool and a log tool;

[0035] The testing of the target test content on the network to be tested based on the test tool includes:

[0036] Enable the Rapid Spanning Tree Protocol of the network to be tested;

[0037] For a single-ring network in the network to be tested, disconnect any two TSN switches therein, capture the first data before and after the disconnection by using a packet capture tool, and record the first logs before and after the disconnection by using a log tool;

[0038] Acquiring channel switching data and network convergence time through the monitoring tool;

[0039] Determining the network performance based on the test by the analysis tool includes:

[0040] Determine by the analysis tool whether the channel switching data meets the first condition, and whether the network convergence time meets the second condition, to obtain a fifth result;

[0041] Determine the network delay and packet loss performance before and after the disconnection based on the first data and the first log by using the analysis tool to obtain a sixth result;

[0042] The network performance is determined by the analysis tool based on the fifth result and the sixth result.

[0043] Optionally, the target test content is a QBV gated test; the test tool is a packet capture tool;

[0044] The testing of the target test content on the network to be tested based on the test tool includes:

[0045] Amplify the gating time of each priority in the network to be tested by the same multiple;

[0046] The train real-time data communication protocol TRDP package in the test network after configuration is captured by the packet capture tool;

[0047] Determining the network performance based on the test by the analysis tool includes:

[0048] By means of the analysis tool, the time window occupied by each priority is determined according to the TRDP package;

[0049] The analysis tool determines network performance based on the time windows occupied by each priority level.

[0050] Optionally, the target test content is a TSN delay and packet loss performance test; the test tool is a packet injection tool and a log tool;

[0051] The testing of the target test content on the network to be tested based on the test tool includes:

[0052] After turning off the TSN configuration of the device under test, simulating the occupancy of a large bandwidth network with a preset proportion through the packet injection tool, and recording a second log through the log tool;

[0053] After the TSN configuration of the device under test is turned on, the large bandwidth network occupancy of a preset proportion is simulated by the packet injection tool, and the third log is recorded by the log tool;

[0054] Determining the network performance based on the test by the analysis tool includes:

[0055] Determine, by the analysis tool, the network delay and packet loss performance when the TSN configuration of the device under test is turned off according to the second log, to obtain a seventh result;

[0056] Determine, by the analysis tool, the network delay and packet loss performance when the TSN configuration of the device under test is enabled according to the third log, to obtain an eighth result;

[0057] The network performance is determined by the analysis tool based on the seventh result and the eighth result.

[0058] Optionally, the preset ratio is 0, 10%, 50%, or 100%.

[0059] The present application provides a real-time sensitive network testing method for a train network control and supervision system, the method comprising: using the TSN switches of each network, the VCU implementing the TSN protocol, and the RIOM implementing the TSN protocol as devices under test; configuring each subsystem of the train as simulation software; simulating a passenger information system through an image acquisition device; connecting and configuring the simulation software, the passenger information system and the device under test according to the actual configuration to form a network to be tested; and testing the network to be tested.

[0060] Through the method provided in this application, TSN is tested in an actually configured test environment, the test scenarios are richer, and the measured data is more representative.

[0061] In addition, in one implementation, a packet injection tool, a packet capture tool, a monitoring tool, a log tool, and an analysis tool are connected to the network to be tested, thereby ensuring the accuracy of the test data and thus ensuring the test effect.

[0062] In addition, in one implementation, the target test content is tested on the network to be tested by a test tool, and then the network performance is determined, which not only completes the testing of multiple target test contents, but also ensures the test effect.

[0063] In addition, in one implementation, the target test content is clarified to ensure the richness of the test content.

[0064] In addition, in one implementation, the process of clock synchronization protocol testing is clarified, and accurate testing of the clock synchronization protocol is achieved.

[0065] In addition, in one implementation, the clock priority of the device under test is clarified, ensuring accurate testing of the clock synchronization protocol.

[0066] In addition, in one implementation, the process of testing the single-ring network single-point failure redundancy mechanism is clarified, and accurate testing of the single-ring network single-point failure redundancy mechanism is achieved.

[0067] In addition, in one implementation, the process of QBV gating test is clarified, and accurate testing of QBV gating is achieved.

[0068] In addition, in one implementation, the process of TSN delay and packet loss performance testing is clarified, and accurate testing of TSN delay and packet loss performance is achieved.

[0069] In addition, in one implementation, the preset ratio is clarified to ensure accurate testing of TSN delay and packet loss performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0071] Figure 1 A flow chart of a real-time sensitive network testing method for a train network control and supervision system provided in an embodiment of the present application;

[0072] Figure 2 A schematic diagram of a real-time sensitive network test architecture for a train network control and monitoring system provided in an embodiment of the present application;

[0073] Figure 3 A schematic diagram of a clock synchronization protocol test process provided in an embodiment of the present application;

[0074] Figure 4A schematic diagram of a flow chart of a single-ring network single-point failure redundancy mechanism test provided in an embodiment of the present application;

[0075] Figure 5 A schematic diagram of a QBV gating test process provided in an embodiment of the present application;

[0076] Figure 6 A flowchart of a TSN delay and packet loss performance test provided in an embodiment of the present application. DETAILED DESCRIPTION

[0077] In order to make the technical solutions and advantages in the embodiments of the present application more clearly understood, the exemplary embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than an exhaustive list of all the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.

[0078] In the process of implementing this application, the inventors found that TSN is a collection of protocol standards that ensures the smooth transmission of deterministic information over a standard Ethernet network. TSN networks are still in the early stages of application, and related standards are constantly being improved. Whether networks equipped with TSN technology can meet the needs of actual applications is a topic of common concern for vehicle OEMs and equipment manufacturers.

[0079] In response to the above problems, a real-time sensitive network testing method for a train network control and supervision system is provided in an embodiment of the present application. The method includes: using the TSN switches of each network, the VCU implementing the TSN protocol, and the RIOM implementing the TSN protocol as the devices under test; configuring each subsystem of the train as simulation software; simulating the passenger information system through an image acquisition device; connecting and configuring the simulation software, the passenger information system and the device under test according to the actual configuration to form a network to be tested; and testing the network to be tested. Through the method provided by the present application, TSN is tested by testing the test environment with actual configuration, the test scenarios are richer, and the measured data are more representative.

[0080] See also Figure 1 The implementation process of the real-time sensitive network testing method for the train network control and supervision system provided in this embodiment is as follows:

[0081] 101, each TSN (Time-Sensitive Network) switch, VCU (Vehicle Control Unit) implementing the TSN protocol, and RIOM (Remote Input and Output Module) implementing the TSN protocol are used as the devices under test.

[0082] 102, configure each subsystem of the train as simulation software.

[0083] 103, simulating a Passenger Information System (PIS) through an image acquisition device.

[0084] 104. According to the actual configuration, the simulation software, the passenger information system and the device under test are connected and configured to form a network to be tested.

[0085] In addition, in order to ensure the accuracy of test data and test results, packet injection tools, packet capture tools, monitoring tools, logging tools, and analysis tools will be connected to the network to be tested. The packet injection tool will then be used to simulate the large bandwidth network occupancy. At the same time, the packet capture tool, logging tool, and monitoring tool will be used to collect relevant test results. Finally, the analysis tool will automatically analyze the network performance.

[0086] Final Formation Figure 2 The real-time sensitive network test architecture of the train network control and supervision system shown in the figure, the devices under test are all A network TSN switches, B network TSN switches and two types of terminal devices VCU and RIOM that implement the TSN protocol, and the devices under test are all physical objects. Other vehicle subsystems are configured as simulation software, PIS uses camera simulation, and the configuration of the terminal, simulation and each network port of the camera connection switch is consistent with the site.

[0087] 105, testing the network to be tested.

[0088] Different test tools will be used to test different processes for different test contents. Therefore, when implementing this step, 1) determine the target test content and test tools; 2) based on the test tools, test the target test content on the network to be tested; 3) through the analysis tool, determine the network performance based on the test.

[0089] The test tool is one or more of a packet injection tool, a packet capture tool, a monitoring tool, and a log tool.

[0090] In addition, 3) the process of determining network performance based on the test by the analysis tool can be performed after 2) the test of the target test content of the network to be tested is completed based on the test tool, and can also be synchronized with 2) the test process of performing the target test content on the network to be tested based on the test tool. Whenever test data that meets the analysis conditions is obtained, 3) can be performed. This embodiment does not limit the execution order of 2) and 3).

[0091] The method provided in this embodiment can perform a variety of tests, for example, a clock synchronization protocol (AS) test, a single-ring network single-point failure redundancy mechanism test, a QBV gating test, and a TSN delay and packet loss performance test.

[0092] Therefore, the target test content in this step is AS protocol test, or single-ring network single-point failure redundancy mechanism test, or QBV gating test, or TSN delay and packet loss performance test.

[0093] ●If AS protocol test is performed,

[0094] The purposes of the AS protocol test include: (1) The TSN terminals and TSN switches that implement the AS protocol can synchronize their clocks and the deviation of the synchronization time is within a reasonable range. (2) When the master clock in the network fails, all devices will synchronize their clocks from the new master clock.

[0095] For AS protocol testing,

[0096] 1) Determine the target test content as a clock synchronization protocol test, and determine the test tool as a monitoring tool.

[0097] 2) Based on the test tool, the process of testing the target test content on the network to be tested is as follows:

[0098] (1) Configure the clock priority of the device under test.

[0099] Among them, the clock priority of the VCU is higher than the clock priority of the TSN switch, and the clock priority of the TSN switch is higher than the clock priority of other devices under test.

[0100] If there are multiple VCUs, the priority of each VCU is distinguished. If there are multiple TSN switches, the priority of each TSN switch is distinguished.

[0101] For example, if only 4 clocks are configured, there are two VCUs, namely VCU1 and VCU2, and the clock priority of VCU1 is higher than that of VCU2. There are multiple TSN switches, namely TSN switch 1, TSN switch 2, TSN switch 3, etc., and the clock priority of TSN switch 1 is higher than that of TSN switch 2, and the clock priority of TSN switch 2 is higher than that of other TSN switches. Then the order of clock priority from high to low is VCU1>VCU2>TSN switch 1>TSN switch 2>other devices under test (such as other TSN switches with lower clock priority than TSN switch 2, RIOM, etc.).

[0102] (2) Monitor the first clock of each device under test and the first master clock through a monitoring tool.

[0103] The clock here may be a PTP (Precision Time Protocol) clock.

[0104] (3) Disconnect the device under test with the highest clock priority from the network to be tested to form a first test network, and monitor the second clock of each device under test and the second master clock in the first test network through a monitoring tool.

[0105] The clock here may be a PTP clock.

[0106] (4) Disconnect the device under test with the second highest clock priority from the first test network to form a second test network, and monitor the third clock of each device under test and the third master clock in the second test network through a monitoring tool.

[0107] The clock here may be a PTP clock.

[0108] (5) Disconnect the device under test with the third highest clock priority from the second test network to form a third test network, and monitor the fourth clock of each device under test and the fourth master clock in the third test network through a monitoring tool.

[0109] The clock here may be a PTP clock.

[0110] 3) The process of determining network performance based on testing using analytical tools is as follows:

[0111] (1) Determine, by using an analysis tool, whether the first clocks are synchronized and whether the first master clock is the clock of the device under test with the highest clock priority, and obtain a first result.

[0112] (2) Determine, by using an analysis tool, whether the second clocks are synchronized and whether the second master clock is the clock of the device under test with the second highest clock priority, and obtain a second result.

[0113] (3) Determine, by using an analysis tool, whether the third clocks are synchronized and whether the third master clock is the clock of the device under test with the third highest clock priority, and obtain a third result.

[0114] (4) Determine, by using an analysis tool, whether the fourth clocks are synchronized and whether the fourth master clock is the clock of the device under test with the fourth highest clock priority, and obtain a fourth result.

[0115] (5) Determine network performance based on the first result, the second result, the third result, and the fourth result using an analysis tool.

[0116] Taking the clock priority order from high to low as VCU1>VCU2>TSN switch 1>TSN switch 2>other devices under test as an example, the process of AS protocol test in this step is as follows: Figure 3 As shown,

[0117] A) Configure 4 clocks with higher priorities in the network. The priorities are as follows: VCU1>VCU2>TSN switch 1>TSN switch 2>other TSN switches and terminals;

[0118] B) Check in turn whether the PTP clocks of VCU1, VCU2, TSN switch 1, TSN switch 2, and other terminals and TSN switches are synchronized, and check whether the master clock is the clock of VCU1;

[0119] C) Disconnect the network connection of VCU1, check in turn whether the PTP clocks of VCU2, TSN switch 1 and TSN switch 2 and other terminals and TSN switches are synchronized, and check whether the master clock is the clock of VCU2;

[0120] D) Disconnect the network connection of VCU2, check whether the PTP clocks of TSN switch 1 and TSN switch 2 and other terminals and TSN switches are synchronized, and check whether the master clock is the clock of TSN switch 1;

[0121] E) Disconnect the network connection of TSN switch 1, check whether the PTP clocks of TSN switch 2 and other terminals and switches are synchronized, and check whether the master clock is the clock of TSN switch 2.

[0122] ●If a single-ring network single-point failure redundancy mechanism test is performed,

[0123] The purpose of the single-ring network single-point failure redundancy mechanism test is to verify whether the network can continue to work after a physical breakpoint occurs in the single-ring network, and whether the switching time is in line with expectations.

[0124] For the single-ring network single-point failure redundancy mechanism test,

[0125] 1) Determine the target test content as a single-ring network single-point failure redundancy mechanism test, and determine the test tools as a packet capture tool, a monitoring tool, and a log tool.

[0126] 2) Based on the test tool, the process of testing the target test content on the network to be tested is as follows:

[0127] (1) Enable the Rapid Spanning Tree Protocol (RSTP) on the network to be tested.

[0128] (2) For a single-ring network in the network to be tested, disconnect any two TSN switches therein, capture the first data before and after the disconnection using a packet capture tool, and record the first log before and after the disconnection using a log tool.

[0129] (3) Obtain channel switching data and network convergence time through monitoring tools.

[0130] 3) The process of determining network performance based on testing using analytical tools is as follows:

[0131] (1) Determine by using an analysis tool whether the channel switching data satisfies the first condition, and whether the network convergence time satisfies the second condition, to obtain a fifth result.

[0132] Among them, the first condition and the second condition are both pre-set expected conditions.

[0133] (2) Using an analysis tool, determine the network delay and packet loss performance before and after the disconnection based on the first data and the first log, and obtain a sixth result.

[0134] (3) Determine network performance based on the fifth result and the sixth result using an analysis tool.

[0135] The process of testing the single-ring network single-point failure redundancy mechanism in this step is as follows: Figure 4 As shown,

[0136] A) Enable RSTP in the network and disconnect any two switches in one of the single ring networks in the test scenario.

[0137] B) Check whether the channel switching and network convergence time are in line with expectations;

[0138] C) Use packet capture tools and log tools to analyze whether there is no impact on network latency and packet loss performance before and after the disconnection.

[0139] ●If QBV gated test is performed,

[0140] The purpose of the QBV gating test is to verify whether the TRDP (Train Real-time Data Protocol) packets assigned with different QBV gating and priorities meet the following two requirements: (1) Data of different priorities pass through different time windows to meet the deterministic transmission requirements. (2) The time windows of each priority are consistent with the configuration.

[0141] For QBV gating test,

[0142] 1) Determine the target test content as QBV gating test and the test tool as packet capture tool.

[0143] 2) Based on the test tool, the process of testing the target test content on the network to be tested is as follows:

[0144] (1) The gating time of each priority level in the network to be tested is amplified by the same multiple.

[0145] (2) Use the packet capture tool to capture the TRDP packet in the configured test network.

[0146] 3) The process of determining network performance based on testing using analytical tools is as follows:

[0147] (1) Use analysis tools to determine the time window occupied by each priority based on the TRDP package.

[0148] (2) Determine network performance based on the time windows occupied by each priority level through analysis tools.

[0149] The process of QBV gating test in this step is as follows Figure 5 As shown,

[0150] A) To facilitate packet capture statistics, the gating time of each priority level is configured with the same multiple;

[0151] For example, configure three priorities: 4, 2, and 1.

[0152] B) Use the packet capture tool to capture all TRDP packets in the network within a period of time;

[0153] C) Use analysis tools to analyze whether the time window occupied by each priority level meets expectations.

[0154] ●If TSN delay and packet loss performance test is performed,

[0155] The purpose of TSN delay and packet loss performance testing is to verify the advantages of TSN network in network performance compared to traditional Ethernet.

[0156] For TSN delay and packet loss performance test,

[0157] 1) Determine the target test content as TSN delay and packet loss performance test, and determine the test tools as packet injection tools and log tools.

[0158] 2) Based on the test tool, the process of testing the target test content on the network to be tested is as follows:

[0159] (1) After turning off the TSN configuration of the device under test, use the packet injection tool to simulate the preset proportion of large bandwidth network occupancy, and use the log tool to record the second log.

[0160] The preset ratios are 0, 10%, 50%, and 100%. That is, first simulate a large bandwidth network occupancy of 0% to conduct a complete TSN delay packet loss performance test, then simulate a large bandwidth network occupancy of 10% to conduct a complete TSN delay packet loss performance test, then simulate a large bandwidth network occupancy of 50% to conduct a complete TSN delay packet loss performance test, and finally simulate a large bandwidth network occupancy of 100% to conduct a complete TSN delay packet loss performance test.

[0161] (2) After enabling the TSN configuration of the device under test, a packet injection tool is used to simulate the high-bandwidth network occupancy of a preset ratio, and a third log is recorded through a log tool.

[0162] 3) The process of determining network performance based on testing using analytical tools is as follows:

[0163] (1) Using the analysis tool, the network delay and packet loss performance under the TSN configuration of the device under test is determined based on the second log, and the seventh result is obtained.

[0164] (2) Using the analysis tool, the network delay and packet loss performance under the TSN configuration of the device under test is determined based on the third log, and an eighth result is obtained.

[0165] (3) Determine network performance based on the seventh result and the eighth result using an analysis tool.

[0166] Taking the preset ratios of 0, 10%, 50%, and 100% as an example, the process of the TSN delay and packet loss performance test in this step is as follows: Figure 6 As shown,

[0167] A) Turn off the TSN configuration of the terminal and TSN switch, use the packet injection tool to simulate no large bandwidth occupation, 10% bandwidth network occupation, 50% bandwidth network occupation, 100% large bandwidth network occupation, and use the log tool to record the logs of no large bandwidth occupation, 10% occupation, 50% occupation, and 100% occupation;

[0168] B) Enable TSN configuration on the terminal and TSN switch, use the packet injection tool to simulate no large bandwidth occupancy, 10% bandwidth network occupancy, 50% bandwidth network occupancy, and 100% large bandwidth network occupancy, and use the log tool to record logs when no large bandwidth occupancy, 10% occupancy, 50% occupancy, and 100% occupancy;

[0169] C) Compare the latency and packet loss performance of TSN with and without TSN under different bandwidth usage conditions through log comparison.

[0170] The real-time sensitive network testing method for the train network control and supervision system provided in this embodiment can adopt a dual-ring network redundant architecture when being implemented.

[0171] The real-time sensitive network test method for the train network control and supervision system provided in this implementation uses semi-physical simulation in a dual-network TSN environment to effectively verify the characteristics of the AS protocol and QBV protocol in the key TSN technologies. At the same time, it verifies the delay and packet loss advantages of TSN compared to ordinary Ethernet under large bandwidth occupancy.

[0172] Compared with the existing technology, this implementation provides more test scenarios, and based on the semi-physical simulation test environment, the measured data is more representative. Network delay and packet loss rate analysis results can be quickly generated based on network test results, greatly improving the efficiency of network performance testing. Through various tests, it was verified that the TSN performance of the integrated platform meets expectations, and it has a greater advantage in network comprehensive bearing than ordinary Ethernet, which enhances confidence in subsequent promotion and application.

[0173] This embodiment provides a real-time sensitive network testing method for a train network control and supervision system, the method comprising: using the TSN switches of each network, the VCU implementing the TSN protocol, and the RIOM implementing the TSN protocol as the devices under test; configuring each subsystem of the train as simulation software; simulating the passenger information system through an image acquisition device; connecting and configuring the simulation software, the passenger information system and the devices under test according to the actual configuration to form a network to be tested; and testing the network to be tested. Through the method provided in this embodiment, TSN is tested by testing the test environment with actual configuration, the test scenarios are richer, and the measured data are more representative.

[0174] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code. The scheme in the embodiments of the present application can be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.

[0175] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0176] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0177] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0178] In addition, the terms "first", "second", "third", "fourth", "fifth", "sixth", "seventh", and "eighth" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", "third", "fourth", "fifth", "sixth", "seventh", and "eighth" may explicitly or implicitly include one or more of the feature. In the description of the present application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0179] In this application, unless otherwise clearly specified and limited, the term "connection" should be understood in a broad sense, for example, it can be an electrical connection or mutual communication; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0180] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0181] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A real-time sensitive network testing method for a train network control and supervision system, characterized in that: The method comprises: The time-sensitive network TSN switches of each network, the train control unit VCU implementing the TSN protocol, and the remote input and output module RIOM implementing the TSN protocol are all used as the devices under test; Configure each subsystem of the train as simulation software; Simulate passenger information system through image acquisition equipment; According to the actual configuration, the simulation software, the passenger information system and the device under test are connected and configured to form a network to be tested; Testing the network to be tested; Before testing the network to be tested, the method further includes: Accessing a packet injection tool, a packet capture tool, a monitoring tool, a log tool, and an analysis tool in the network to be tested; The testing of the network to be tested includes: Determine the target test content and test tools, where the test tools are one or more of a packet injection tool, a packet capture tool, a monitoring tool, and a log tool; Based on the test tool, testing the target test content on the network to be tested; determining, by the analysis tool, network performance based on the testing; The target test content is a clock synchronization protocol test, or a single-ring network single-point failure redundancy mechanism test, or a QBV gating test, or a TSN delay and packet loss performance test; The target test content is a clock synchronization protocol test; the test tool is a monitoring tool; The testing of the target test content on the network to be tested based on the test tool includes: Configuring the clock priority of the device under test; Monitoring the first clock and the first master clock of each device under test by the monitoring tool; Disconnecting the device under test with the highest clock priority from the network to be tested to form a first test network, and monitoring the second clock and the second master clock of each device under test in the first test network by the monitoring tool; Disconnecting the device under test with the second highest clock priority from the first test network to form a second test network, and monitoring the third clock and the third master clock of each device under test in the second test network by the monitoring tool; Disconnecting the device under test with the third highest clock priority from the second test network to form a third test network, and monitoring the fourth clock and the fourth master clock of each device under test in the third test network by the monitoring tool; Determining the network performance based on the test by the analysis tool includes: Determine by the analysis tool whether the first clocks are synchronized and whether the first master clock is the clock of the device under test with the highest clock priority, and obtain a first result; Determine by the analysis tool whether the second clocks are synchronized and whether the second master clock is the clock of the device under test with the second highest clock priority, and obtain a second result; Determine by the analysis tool whether the third clocks are synchronized and whether the third master clock is the clock of the device under test with the third highest clock priority, and obtain a third result; Determine by the analysis tool whether the fourth clocks are synchronized and whether the fourth master clock is the clock of the device under test with the fourth highest clock priority, and obtain a fourth result; The network performance is determined based on the first result, the second result, the third result, and the fourth result through the analysis tool.

2. The method according to claim 1, characterized in that: The clock priority of the VCU is higher than the clock priority of the TSN switch, and the clock priority of the TSN switch is higher than the clock priority of other devices under test.

3. The method according to claim 1, characterized in that The target test content is a single-ring network single-point failure redundancy mechanism test; the test tools are a packet capture tool, a monitoring tool and a log tool; The testing of the target test content on the network to be tested based on the test tool includes: Enable the Rapid Spanning Tree Protocol of the network to be tested; For a single-ring network in the network to be tested, disconnect any two TSN switches therein, capture the first data before and after the disconnection by using a packet capture tool, and record the first logs before and after the disconnection by using a log tool; Acquiring channel switching data and network convergence time through the monitoring tool; Determining the network performance based on the test by the analysis tool includes: Determine by the analysis tool whether the channel switching data meets the first condition, and whether the network convergence time meets the second condition, to obtain a fifth result; Determine the network delay and packet loss performance before and after the disconnection based on the first data and the first log by using the analysis tool to obtain a sixth result; The network performance is determined by the analysis tool based on the fifth result and the sixth result.

4. The method according to claim 1, characterized in that: The target test content is QBV gated test; the test tool is a packet capture tool; The testing of the target test content on the network to be tested based on the test tool includes: Amplify the gating time of each priority in the network to be tested by the same multiple; The train real-time data communication protocol TRDP package in the test network after configuration is captured by the packet capture tool; Determining the network performance based on the test by the analysis tool includes: By means of the analysis tool, the time window occupied by each priority is determined according to the TRDP package; The analysis tool determines network performance based on the time windows occupied by each priority level.

5. The method according to claim 1, characterized in that The target test content is TSN delay and packet loss performance test; the test tools are packet injection tools and log tools; The testing of the target test content on the network to be tested based on the test tool includes: After turning off the TSN configuration of the device under test, simulating the occupancy of a large bandwidth network with a preset proportion through the packet injection tool, and recording a second log through the log tool; After the TSN configuration of the device under test is turned on, the large bandwidth network occupancy of a preset proportion is simulated by the packet injection tool, and the third log is recorded by the log tool; Determining the network performance based on the test by the analysis tool includes: Determine, by the analysis tool, the network delay and packet loss performance when the TSN configuration of the device under test is turned off according to the second log, to obtain a seventh result; Determine, by the analysis tool, the network delay and packet loss performance when the TSN configuration of the device under test is enabled according to the third log, to obtain an eighth result; The network performance is determined by the analysis tool based on the seventh result and the eighth result.

6. The method according to claim 5, characterized in that The preset ratios are 0, 10%, 50%, and 100%.

Citation Information

Patent Citations

  • Service monitoring method and device based on interface testing tool

    CN107241229A

  • Test system and method for testing TCMS

    CN111007837A

  • Fault prediction and health management system and method for rail transit

    CN115409241A