Detailed Description
The present invention will be described in further detail with reference to the following embodiments and the accompanying drawings, in order to make the objects, technical solutions and advantages of the present invention more apparent. The exemplary embodiments of the present invention and the descriptions thereof are used herein to explain the present invention, but are not intended to limit the invention.
Aiming at IEC61375 series train Ethernet protocol test, the invention extracts the test parameters for testing the train Ethernet equipment and designs a corresponding test method. Train consistency test equipment is developed, and the tested equipment ETBN (Ethernet Train Backbone Node) is verified to meet the condition and performance index requirements of two important train Ethernet communication protocols, namely a train-level Ethernet topology discovery protocol (TTDP protocol, train Topology Discovery Data Protocol) specified by IEC61375-2-5 and a train real-time data communication protocol (TRDP protocol, train Realtime Data Protocol) specified by IEC 61375-2-3. From the train application scene, the test is carried out by designing Ethernet test experimental equipment and a method, and the consistency of the train Ethernet equipment is tested from the angles of protocol and transmission performance.
The invention aims to design a test means, a test method and related test equipment for the Ethernet control signal transmission of a new generation of high-speed motor train unit, the existing Ethernet test cannot test the Ethernet equipment conforming to the train Ethernet transmission protocol, and the invention systematically describes the whole test method and can realize the evaluation and the evaluation of the train-level Ethernet equipment ETBN.
In order to achieve the above purpose, the technical scheme adopted by the invention is as follows:
a train-level Ethernet protocol consistency test method developed based on IEC61375-2-5 and IEC61375-2-3 protocol standards is characterized in that: based on a high-speed signal processing technology, monitoring analysis equipment is adopted to monitor Ethernet data, train-level Ethernet data is stored and analyzed, key protocol parameter analysis is carried out by customized and developed protocol analysis software, transmission cycle characteristics and format characteristics of the train-level Ethernet data are analyzed, an interactive test method is designed according to a protocol interface, a control instruction is sent out by a test industrial personal computer, and correctness of data content returned by tested train-level Ethernet equipment ETBN is analyzed.
The test scheme of the train-level Ethernet device based on IEC61375 protocol is described in detail below.
Fig. 1 is a flow chart of a testing method of train-level ethernet equipment based on IEC61375 protocol in the embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step 101: monitoring TTDP message data to be detected and TRDP message data to be detected of the train-level Ethernet equipment ETBN;
step 102: analyzing the TTDP message data to be tested to obtain transmission cycle characteristics and format content characteristics of the TTDP message data to be tested; analyzing the TRDP message data to be tested to obtain transmission cycle characteristics and format content characteristics of the TRDP message data to be tested;
Step 103: according to the transmission cycle characteristics and format content characteristics of the TTDP message data to be tested, comparing the transmission cycle characteristics and format content characteristics with the standard transmission cycle characteristics and format content characteristics of the TTDP message data to obtain the test result of the TTDP message data of the ETBN; and obtaining the test result of the TRDP message data of the ETBN according to the transmission cycle characteristic and the format content characteristic of the TRDP message data to be tested and the comparison result of the standard transmission cycle characteristic and the format content characteristic of the TRDP message data.
In specific implementation, when the tested train-level ethernet device ETBN system is powered on and started, it is confirmed that the system is in an initial running state, and after the testing system (described in detail below as a testing device of the train-level ethernet device) is ready, network transmission data of the tested device (train-level ethernet device ETBN) is measured, that is, TTDP message data to be tested and TRDP message data to be tested of the train-level ethernet device ETBN are monitored, and the monitoring process may include: screening out the tested target data, namely screening out TTDP message data and TRDP message data of IEC61375 protocol, wherein the screening basis can comprise: the sending destination MAC address of the TTDP message is '01-80-C2-00-00-0E' H and '01-80-C2-00-00-10' H, and the TRDP message monitors a UDP port 17224 and a TCP port 17225; and carrying out periodic behavior analysis and message content analysis on the TTDP message and the TRDP message which accord with the address and the port specified by the IEC61375 protocol, namely analyzing transmission period characteristics and format content characteristics.
In specific implementation, the transmission cycle characteristic may refer to cycle behavior analysis, where the cycle behavior analysis refers to storing train-level ethernet data into a high-speed data cache by using a high-speed ethernet data analysis device according to a protocol support condition of an ethernet device ETBN to be tested, and using a local time of a detection system to sort messages, and detecting and recording ethernet protocol messages sent by the device to be tested. The same type of message received at the previous time and the next time can calculate the interval time according to the local time, and the interval time is used for judging the periodic characteristics of the received message.
Periodicity criteria: analyzing the period of the message according to the protocol as T
Hello And T
Topo The method comprises the steps of carrying out a first treatment on the surface of the Then the interval time for the analysis system to intercept the messages respectively is t
Hello And t
Topo Calculating an average value by multiple measurements
And->
The periodic behavior criterion is
Wherein Δt is the measurement allowable error range, and is adjusted according to the actual test requirement, and the common setting value is 1ms.
In specific implementation, the above format content feature may refer to message content analysis, where the message content analysis refers to embedding an operating system in the ethernet data analysis device, and compiling a protocol content analysis system in the operating system, where the protocol content analysis system is used to analyze, in real time, meaning expressed by a binary message structure transmitted by an ethernet message, including analysis of application layer data in the message.
Define the standard message set as x= { x 1 ,x 2 ,L,x N },x i Is a standard message of a certain type and is composed of alpha p Representing the internal binary bit information, and the measured message set is y= { y 1 ,y 2 ,L,y N },y i Corresponding x sent out for the device under test i Beta of the message q Representing its internal binary bit information. The correctness measure for the measurement message should be calculated by the following formula:
wherein p=0, 1, ln-1, q=0, 1, ln-1, x
i And y
i For codes that are all n bits in number,
representing exclusive or.
d is a measure of message consistency, representing the difference between the measured message and the standard message, and the value reflects the number of erroneous binary digits. d=0, and the measured message is considered to be consistent with the standard message content.
The message content analysis criterion is d=0.
Firstly, the test of TRDP message data to be tested fed back by four interfaces of a single ETBN according to a trigger instruction is introduced.
In specific implementation, the device that sends the trigger command may be a high-performance industrial personal computer on the left side as shown in fig. 2, or may be an analog dedicated client (ECSC).
In specific implementation, the train-level network control message is simulated and sent by using special software, and the test case is designed by referring to IEC61375-2-3 and using a TRDP message structure, wherein the test case comprises a test input message, an expected output message and a test environment. Analyzing the control effect of the control message, and performing cycle consistency judgment and content consistency judgment on the cycle behavior analysis and the message content analysis, and judging whether the interaction behavior (such as the interaction behavior shown in fig. 3, and the interaction behavior data can refer to the data fed back according to the trigger instruction in the embodiment of the invention) is correct or not according to the cycle consistency judgment and the content consistency judgment.
In specific implementation, the Ethernet interface wiring diagram (M12D-Code) supporting the tested ETBN is shown in the following Table 1:
TABLE 1
The testing of these four ports is described in detail below.
First, in one embodiment, the ETBN may include: a train level control service ECSP interface;
monitoring TTDP message data to be tested and TRDP message data to be tested of the train-level ethernet device ETBN may include: monitoring TRDP control message data fed back by the ECSP interface according to the trigger instruction;
analyzing the TRDP message data to be tested to obtain transmission cycle characteristics and format content characteristics of the TRDP message data to be tested, which may include: analyzing the TRDP control message data fed back by the ECSP interface according to the trigger instruction to obtain the transmission cycle characteristics and format content characteristics of the TRDP control message data fed back by the ECSP interface according to the trigger instruction;
according to the transmission cycle characteristic and format content characteristic of the TRDP message data to be tested, and the comparison result of the standard transmission cycle characteristic and format content characteristic of the TRDP message data, the test result of the TRDP message data of the ETBN is obtained, and the method comprises the following steps: and determining the control effect of the ECSP on the train-level network according to the transmission cycle characteristics and format content characteristics of the TRDP control message data fed back by the ECSP interface and the comparison result of the standard transmission cycle characteristics and format content characteristics of the TRDP control message data of the ECSP interface.
In specific implementation, ECSP interface (train level control service interface) test: the ECSP interface is used for control services to the train level network.
Test purpose: and verifying the control effect of the ECSP interface on the train-level network.
The testing method comprises the following steps: analog dedicated client (ECSC) behavior sends control signals.
The main fields of the ECSP interface test message are shown in table 2 below.
TABLE 2
And respectively setting each field, controlling the train-level network action, and testing according to the periodic behavior analysis and the message content analysis to obtain a test result of the ECSP interface.
Second, in one embodiment, the ETBN may include: a train topology database TTDB interface;
monitoring TTDP message data to be tested and TRDP message data to be tested of the train-level ethernet device ETBN may include: monitoring TRDP message data read by the TTDB interface according to the trigger instruction;
analyzing the TRDP message data to be tested to obtain transmission cycle characteristics and format content characteristics of the TRDP message data to be tested, which may include: analyzing the TRDP message data read by the TTDB interface according to the trigger instruction to obtain the transmission cycle characteristics and format content characteristics of the TRDP message data read by the TTDB interface according to the trigger instruction;
According to the transmission cycle characteristic and format content characteristic of the TRDP message data to be tested, and the comparison result of the standard transmission cycle characteristic and format content characteristic of the TRDP message data, obtaining the test result of the TRDP message data of the ETBN can comprise: and determining the correctness of the TTDB interface for reading the train-level information according to the transmission cycle characteristics and the format content characteristics of the TRDP message data read by the TTDB interface and the comparison result of the standard transmission cycle characteristics and the format content characteristics of the TRDP message data read by the TTDB interface.
In specific implementation, TTDB interface (train topology database interface) test: the TTDB interface is used for reading train-level data information.
Test purpose: and verifying the correctness of the train-level information read through the TTDB interface.
The testing method comprises the following steps: the analog terminal transmits a TTDB request read signal.
The main fields of the TTDB interface test message are shown in table 3 below.
TABLE 3 Table 3
And respectively setting each field, controlling the train-level network action, and testing according to the periodic behavior analysis and the message content analysis to obtain a test result of the TTDB interface.
Third, in one embodiment, the ETBN may include: a train domain name resolution service (DNS) interface;
monitoring TTDP message data to be tested and TRDP message data to be tested of the train-level ethernet device ETBN may include: monitoring TRDP address message data read by a DNS interface according to a trigger instruction;
Analyzing the TRDP message data to be tested to obtain transmission cycle characteristics and format content characteristics of the TRDP message data to be tested, which may include: analyzing the TRDP address message data read by the DNS interface according to the trigger instruction to obtain the transmission cycle characteristics and the content characteristics of the TRDP address message data read by the DNS interface according to the trigger instruction;
according to the transmission cycle characteristic and format content characteristic of the TRDP message data to be tested, and the comparison result of the standard transmission cycle characteristic and format content characteristic of the TRDP message data, obtaining the test result of the TRDP message data of the ETBN can comprise: and determining the accuracy of reading the train-level address information by the DNS interface according to the transmission cycle characteristics and the content characteristics of the TRDP address message data read by the DNS interface and the comparison result of the standard transmission cycle characteristics and the format content characteristics of the TRDP address message data.
In specific implementation, DNS service interface test (train domain name resolution test): the DNS interface is used for providing train-level network address resolution service, the train-level Ethernet automatically configures IP addresses along with train grouping changes, and the DNS interface sends configuration results.
Test purpose: and verifying the correctness of the train-level address information read through the DNS interface.
The testing method comprises the following steps: the analog terminal transmits a DNS request read signal.
The main fields of the DNS interface test message are shown in table 4 below.
TABLE 4 Table 4
And respectively setting values of all the fields, controlling the train-level network to act, and testing according to the periodic behavior analysis and the message content analysis to obtain a testing result of the DNS interface.
Fourth, in one embodiment, the ETBN may include: an ETBN control interface;
monitoring TTDP message data to be detected and TRDP message data to be detected of the train-level Ethernet device ETBN, comprising: monitoring TRDP control message data fed back by the ETBN control interface according to the trigger instruction;
analyzing the TRDP message data to be tested to obtain transmission cycle characteristics and format content characteristics of the TRDP message data to be tested, which may include: analyzing the TRDP control message data fed back by the ETBN control interface according to the trigger instruction to obtain the transmission cycle characteristics and format content characteristics of the TRDP control message data fed back by the ETBN control interface according to the trigger instruction;
according to the transmission cycle characteristic and format content characteristic of the TRDP message data to be tested, and the comparison result of the standard transmission cycle characteristic and format content characteristic of the TRDP message data, obtaining the test result of the TRDP message data of the ETBN can comprise: and determining the control effect of the ETBN control interface according to the transmission cycle characteristics and format content characteristics of the TRDP control message data fed back by the ETBN control interface and the comparison result of the standard transmission cycle characteristics and format content characteristics of the TRDP control message data fed back by the ETBN control interface.
In specific implementation, ETBN control interface test: the ETBN control interface is used to control the train-level ethernet device ETBN, by sending signals in analog.
Test purpose: and verifying the control effect through the ETBN control interface.
The testing method comprises the following steps: and the simulation terminal sends an ETBN control request and observes an ETBN control result.
The main fields of the ETBN control interface test messages are shown in table 5 below.
TABLE 5
And respectively setting each field, controlling the train-level network action, and testing according to the periodic behavior analysis and the message content analysis to obtain a testing result of the DNS interface.
Secondly, the train-level ethernet device ETBN formation topology stability test is described (TTDP protocol stability test):
in specific implementation, referring to a TTDP protocol specified by IEC61375-2-5, a TTDP test message is compiled, influence factors such as different node numbers, normal service flow influence, different sending periods and the like are mainly simulated, the topology effect on the train-level Ethernet equipment ETBN is formed, and the design defect of the train-level Ethernet equipment ETBN is found.
The TTDP message structure test main fields are shown in tables 6 and 7 below.
TABLE 6
TABLE 7
The following describes the test of the train-level ethernet device ETBN topology, which mainly simulates three influencing factors of different node numbers, normal traffic flow influences and different transmission periods.
First, in one embodiment, monitoring TTDP message data to be tested and TRDP message data to be tested of the train-level ethernet device ETBN may include: monitoring TTDP message data of different numbers of ETBN;
analyzing the TTDP message data to be tested to obtain transmission cycle characteristics and format content characteristics of the TTDP message data to be tested, which can comprise: analyzing the TTDP message data of different numbers of ETBN to obtain transmission cycle characteristics and format content characteristics of the TTDP message data of different numbers of ETBN;
according to the transmission cycle characteristic and format content characteristic of the TTDP message data to be tested, and the comparison result of the standard transmission cycle characteristic and format content characteristic of the TTDP message data, obtaining the test result of the TTDP message data of the ETBN can comprise: and according to the transmission cycle characteristics and format content characteristics of the TTDP message data of different numbers of ETBN, comparing the TTDP message data of different numbers of ETBN with the standard transmission cycle characteristics and format content characteristics of the TTDP message data of different numbers of ETBN, and obtaining the stability test results of the different numbers of ETBN on the ETBN forming topological structure.
In practice, as shown in fig. 4, a train-level multi-node situation is simulated. In fig. 4, the packet simulation interaction device may be the train-level ethernet device ETBN mentioned in the embodiment of the present invention, and the train-level network switching device may also be the train-level ethernet device ETBN. In a test laboratory, when simulating a train-level multi-node situation, the multiple messages in fig. 4 can be used for simulating interaction equipment as auxiliary test equipment, and the transmission cycle characteristics and format content characteristics of the train-level ethernet equipment ETBN messages are tested. In addition, the train-level network switching device in fig. 2 may also be a train-level ethernet device ETBN. The message-simulating interactive device of fig. 4 may be connected to the train-level network switching device on the right side of fig. 2.
In the implementation, the simulation equipment sends TTDP message information of 2, 4, 8, 16 and 30 train-level Ethernet equipment ETBN, and whether the train-level network Topology information sent by the simulation equipment is added into the TTDP Topology message of the tested equipment is observed.
Second, in one embodiment, monitoring TTDP message data to be tested and TRDP message data to be tested of the train-level ethernet device ETBN may include: monitoring TTDP message data of a normal service flow;
analyzing the TTDP message data to be tested to obtain transmission cycle characteristics and format content characteristics of the TTDP message data to be tested, which can comprise: analyzing the TTDP message data of the normal service flow to obtain the transmission cycle characteristics and format content characteristics of the TTDP message data of the normal service flow;
according to the transmission cycle characteristic and format content characteristic of the TTDP message data to be tested, and the comparison result of the standard transmission cycle characteristic and format content characteristic of the TTDP message data, obtaining the test result of the TTDP message data of the ETBN can comprise: and according to the transmission cycle characteristics and format content characteristics of the TTDP message data of the normal service flow, comparing the transmission cycle characteristics and format content characteristics with the standard transmission cycle characteristics and format content characteristics of the TTDP message data of the normal service flow, and obtaining a stability test result of the ETBN forming a topological structure by the normal service flow.
When the method is implemented, normal large-flow traffic flow is constructed, and the stability of the topology formed by the train-level Ethernet equipment ETBN is observed. For example: and constructing an Ethernet analog service flow of about 90Mbps, carrying out data forwarding on the train-level Ethernet equipment ETBN, intercepting TTDP message results, and observing whether topology information of the tested train-level Ethernet equipment ETBN contained in the message is correct or not and whether a communication period is correct or not.
Third, in one embodiment, monitoring TTDP message data to be tested and TRDP message data to be tested of the train-level ethernet device ETBN may include: monitoring TTDP message data of different sending periods;
analyzing the TTDP message data to be tested to obtain transmission cycle characteristics and format content characteristics of the TTDP message data to be tested, which can comprise: analyzing the TTDP message data with different sending periods to obtain the transmission period characteristics and format content characteristics of the TTDP message data with different sending periods;
according to the transmission cycle characteristic and format content characteristic of the TTDP message data to be tested, and the comparison result of the standard transmission cycle characteristic and format content characteristic of the TTDP message data, obtaining the test result of the TTDP message data of the ETBN can comprise: and according to the transmission cycle characteristics and format content characteristics of the TTDP message data of different transmission cycles, and the comparison result of the standard transmission cycle characteristics and format content characteristics of the TTDP message data of different transmission cycles, obtaining the stability test result of the ETBN forming the topological structure of the different transmission cycles.
And in the specific implementation, the accuracy of the transmission period of the train-level topology message is adjusted, and the stability of the topology formed by the train-level Ethernet equipment ETBN is observed. For example: if the sending period of the train-level data message under normal conditions is
And the simulation equipment sends abnormal messages with the accuracy of 2 delta t, 4 delta t and 8 delta t, and observes the stability of the topology formed by the train-level Ethernet equipment ETBN, wherein the topology formed result is required to be kept stable under ideal conditions.
(III) again, the test of TRDP message data will be described.
In specific implementation, the TRDP customized message consistency test: the IEC61375-2-3 protocol specifies the structure of the TRDP message, and the device under test can fill in its own custom data field according to the structure of the TRDP message. The TRDP procedure data packet definition may be as shown in fig. 5 below. The TRDP message data packet definition is shown in fig. 6.
In the specific implementation, the test is arranged according to the description of the user-defined message content, and the validity of the source address and destination address fields, the correctness of the train-level topology check value and the control topology check value and the like can be checked by utilizing the periodic behavior analysis and the message content analysis.
The following tests were performed on two aspects included in the test of TRDP message data.
First, TRDP train level consist control information consistency test.
In one embodiment, monitoring TTDP message data to be tested and TRDP message data to be tested of the train-level ethernet device ETBN may include: monitoring TRDP train-level marshalling control message data;
analyzing the TRDP message data to be tested to obtain transmission cycle characteristics and format content characteristics of the TRDP message data to be tested, which may include: analyzing the TRDP train-level grouping control message data to obtain transmission cycle characteristics and format content characteristics of the TRDP train-level grouping control message data;
according to the transmission cycle characteristic and format content characteristic of the TRDP message data to be tested, and the comparison result of the standard transmission cycle characteristic and format content characteristic of the TRDP message data, obtaining the test result of the TRDP message data of the ETBN can comprise: and according to the transmission cycle characteristic and the format content characteristic of the TRDP train-level grouping control message data, comparing the transmission cycle characteristic and the format content characteristic with the standard transmission cycle characteristic and the format content characteristic of the TRDP train-level grouping control message data, and obtaining the test result of the TRDP train-level grouping control information.
And when the values of the control fields are set in the testing steps of the ECSP interface and the ETBN control interface, updating train grouping information is checked, and the testing processes of the ECSP interface and the ETBN control interface are correctly reflected in TRDP train-level grouping related information after the corresponding fields are set. The main fields for train level control message testing are shown in table 8 below.
TABLE 8
Second, the TRDP train-level consist initiates an information interaction consistency test.
In one embodiment, monitoring TTDP message data to be tested and TRDP message data to be tested of the train-level ethernet device ETBN may include: monitoring TRDP train-level grouping start message data;
analyzing the TRDP message data to be tested to obtain transmission cycle characteristics and format content characteristics of the TRDP message data to be tested, which may include: analyzing the TRDP train-level grouping start message data to obtain transmission cycle characteristics and format content characteristics of the TRDP train-level grouping start message data;
According to the transmission cycle characteristic and format content characteristic of the TRDP message data to be tested, and the comparison result of the standard transmission cycle characteristic and format content characteristic of the TRDP message data, obtaining the test result of the TRDP message data of the ETBN can comprise: and according to the transmission cycle characteristic and format content characteristic of the TRDP train-level grouping start message data, comparing the transmission cycle characteristic and format content characteristic with the standard transmission cycle characteristic and format content characteristic of the TRDP train-level grouping start message data, and obtaining the test result of the TRDP train-level grouping start message.
In specific implementation, after the tested instrument is powered on, a TTDP process is performed, after the process is finished, the train application initialization stage is entered, train grouping information which is needed to be interactively loaded in the TRDP message content is composed of a grouping information request message (CSTINFO request) and a grouping information notification (CSTINFO notification) message.
a) And (3) behavior verification: after the tested train-level Ethernet device ETBN is powered on, CSTINFO request data and own CSTIONFO notification are sent first, CSTINFO notifications from other ETBN are synchronously received, and finally topology information in the whole network is formed.
b) Content verification: the grouping information request message (cstingo request) and grouping information notification (cstingo notification) message are repeated for verification in the above-described test steps of the ECSP interface and ETBN control interface. The test main fields of the group information request message (cstfo request) are shown in table 9 below.
TABLE 9
Based on the same inventive concept, the embodiment of the invention also provides a testing device of the train-level Ethernet equipment based on IEC61375 protocol, as the following embodiment. Because the principle of solving the problem of the test device of the train-level Ethernet device based on the IEC61375 protocol is similar to that of the test method of the train-level Ethernet device based on the IEC61375 protocol, the implementation of the test device of the train-level Ethernet device based on the IEC61375 protocol can refer to the implementation of the test method of the train-level Ethernet device based on the IEC61375 protocol, and the repeated parts are omitted. As used below, the term "unit" or "module" may be a combination of software and/or hardware that implements the intended function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 7 is a schematic structural diagram of a test apparatus for a train-level ethernet device based on IEC61375 according to another embodiment of the present invention, as shown in fig. 7, the apparatus includes:
a monitoring unit 02, configured to monitor TTDP message data to be tested and TRDP message data to be tested of the train-level ethernet device ETBN;
The analysis unit 04 is used for analyzing the TTDP message data to be tested to obtain transmission cycle characteristics and format content characteristics of the TTDP message data to be tested; analyzing the TRDP message data to be tested to obtain transmission cycle characteristics and format content characteristics of the TRDP message data to be tested;
the test unit 06 is configured to obtain a test result of TTDP message data of the ETBN according to a comparison result between the transmission cycle characteristic and the format content characteristic of the TTDP message data to be tested and the standard transmission cycle characteristic and the format content characteristic of the TTDP message data; and obtaining the test result of the TRDP message data of the ETBN according to the transmission cycle characteristic and the format content characteristic of the TRDP message data to be tested and the comparison result of the standard transmission cycle characteristic and the format content characteristic of the TRDP message data.
In specific implementation, the monitoring unit 02 may be the monitoring analysis device in fig. 2, and the analysis unit 04 and the test unit 06 may be the high-performance industrial personal computers in fig. 2 and fig. 4.
In one embodiment, the ETBN may include: a train level control service ECSP interface;
the monitoring unit may specifically be configured to: monitoring TRDP control message data fed back by the ECSP interface according to the trigger instruction;
The analysis unit may in particular be adapted to: analyzing the TRDP control message data fed back by the ECSP interface according to the trigger instruction to obtain the transmission cycle characteristics and format content characteristics of the TRDP control message data fed back by the ECSP interface according to the trigger instruction;
the test unit may be specifically configured to: and determining the control effect of the ECSP on the train-level network according to the transmission cycle characteristics and format content characteristics of the TRDP control message data fed back by the ECSP interface and the comparison result of the standard transmission cycle characteristics and format content characteristics of the TRDP control message data of the ECSP interface.
In one embodiment, the ETBN may include: a train topology database TTDB interface;
the monitoring unit may specifically be configured to: monitoring TRDP message data read by the TTDB interface according to the trigger instruction;
the analysis unit may in particular be adapted to: analyzing the TRDP message data read by the TTDB interface according to the trigger instruction to obtain the transmission cycle characteristics and format content characteristics of the TRDP message data read by the TTDB interface according to the trigger instruction;
the test unit may be specifically configured to: and determining the correctness of the TTDB interface for reading the train-level information according to the transmission cycle characteristics and the format content characteristics of the TRDP message data read by the TTDB interface and the comparison result of the standard transmission cycle characteristics and the format content characteristics of the TRDP message data read by the TTDB interface.
In one embodiment, the ETBN may include: a train domain name resolution service (DNS) interface;
the monitoring unit may specifically be configured to: monitoring TRDP address message data read by a DNS interface according to a trigger instruction;
the analysis unit may in particular be adapted to: analyzing the TRDP address message data read by the DNS interface according to the trigger instruction to obtain the transmission cycle characteristics and the content characteristics of the TRDP address message data read by the DNS interface according to the trigger instruction;
the test unit may be specifically configured to: and determining the accuracy of reading the train-level address information by the DNS interface according to the transmission cycle characteristics and the content characteristics of the TRDP address message data read by the DNS interface and the comparison result of the standard transmission cycle characteristics and the format content characteristics of the TRDP address message data.
In one embodiment, the ETBN may include: an ETBN control interface;
the monitoring unit may specifically be configured to: monitoring TRDP control message data fed back by the ETBN control interface according to the trigger instruction;
the analysis unit may in particular be adapted to: analyzing the TRDP control message data fed back by the ETBN control interface according to the trigger instruction to obtain the transmission cycle characteristics and format content characteristics of the TRDP control message data fed back by the ETBN control interface according to the trigger instruction;
The test unit may be specifically configured to: and determining the control effect of the ETBN control interface according to the transmission cycle characteristics and format content characteristics of the TRDP control message data fed back by the ETBN control interface and the comparison result of the standard transmission cycle characteristics and format content characteristics of the TRDP control message data fed back by the ETBN control interface.
In one embodiment, the listening unit may specifically be configured to: monitoring TTDP message data of different numbers of ETBN;
the analysis unit may in particular be adapted to: analyzing the TTDP message data of different numbers of ETBN to obtain transmission cycle characteristics and format content characteristics of the TTDP message data of different numbers of ETBN;
the test unit may be specifically configured to: and according to the transmission cycle characteristics and format content characteristics of the TTDP message data of different numbers of ETBN, comparing the TTDP message data of different numbers of ETBN with the standard transmission cycle characteristics and format content characteristics of the TTDP message data of different numbers of ETBN, and obtaining the stability test results of the different numbers of ETBN on the ETBN forming topological structure.
In one embodiment, the listening unit may specifically be configured to: monitoring TTDP message data of a normal service flow;
the analysis unit is specifically configured to: analyzing the TTDP message data of the normal service flow to obtain the transmission cycle characteristics and format content characteristics of the TTDP message data of the normal service flow;
The test unit is specifically used for: and according to the transmission cycle characteristics and format content characteristics of the TTDP message data of the normal service flow, comparing the transmission cycle characteristics and format content characteristics with the standard transmission cycle characteristics and format content characteristics of the TTDP message data of the normal service flow, and obtaining a stability test result of the ETBN forming a topological structure by the normal service flow.
In one embodiment, the listening unit may specifically be configured to: monitoring TTDP message data of different sending periods;
the analysis unit is specifically configured to: analyzing the TTDP message data with different sending periods to obtain the transmission period characteristics and format content characteristics of the TTDP message data with different sending periods;
the test unit is specifically used for: and according to the transmission cycle characteristics and format content characteristics of the TTDP message data of different transmission cycles, and the comparison result of the standard transmission cycle characteristics and format content characteristics of the TTDP message data of different transmission cycles, obtaining the stability test result of the ETBN forming the topological structure of the different transmission cycles.
In one embodiment, the listening unit may specifically be configured to: monitoring TRDP train-level marshalling control message data;
the analysis unit is specifically configured to: analyzing the TRDP train-level grouping control message data to obtain transmission cycle characteristics and format content characteristics of the TRDP train-level grouping control message data;
The test unit is specifically used for: and according to the transmission cycle characteristic and the format content characteristic of the TRDP train-level grouping control message data, comparing the transmission cycle characteristic and the format content characteristic with the standard transmission cycle characteristic and the format content characteristic of the TRDP train-level grouping control message data, and obtaining the test result of the TRDP train-level grouping control information.
In one embodiment, the listening unit may specifically be configured to: monitoring TRDP train-level grouping start message data;
the analysis unit may in particular be adapted to: analyzing the TRDP train-level grouping start message data to obtain transmission cycle characteristics and format content characteristics of the TRDP train-level grouping start message data;
the test unit may be specifically configured to: and according to the transmission cycle characteristic and format content characteristic of the TRDP train-level grouping start message data, comparing the transmission cycle characteristic and format content characteristic with the standard transmission cycle characteristic and format content characteristic of the TRDP train-level grouping start message data, and obtaining the test result of the TRDP train-level grouping start message.
The embodiment of the invention also provides computer equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the test method of the train-level Ethernet equipment based on the IEC61375 protocol when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program for executing the test method of the train-level Ethernet equipment based on the IEC61375 protocol.
The embodiment of the invention mainly realizes:
1) The train-level Ethernet protocol data screening standard is designed, massive train-level Ethernet data are screened, train-level data protocol messages conforming to IEC61375 are screened out, the highest screening speed reaches 100Mbps, and under the condition of large data transmission load, effective target test messages can be recorded, screened and replayed.
2) The analysis system and the monitoring analysis device/message simulation interaction device are separated, so that separation of control and operation layers is realized, acquisition efficiency and simulation efficiency of the system are improved, and an analysis system terminal (high-performance server) can flexibly compile test parameters according to test requirements, customize different test targets and methods and realize test automation and scripting.
3) The method is different from a common consistency test method, adopts the behavior of simulating the ETBN of the real train-level Ethernet equipment to perform data acquisition and evaluation, is close to a real actual working environment, and effectively discovers design defects and standard application errors of the product.
4) Designing a standardized test method, extracting standardized test environment, test parameters and test steps to enable consistency test to be repeated, and completing and forming a test standard.
5) The implementation effect of the train-level Ethernet protocol field and operation behavior consistency testing method is not only limited to finding the consistency problem of the tested system, but also has the capability of finding the specific error field reason.
6) The specification of IEC61375-2-5 and IEC61375-2-3 protocols only specifies the framed design rule, the actual tested equipment can develop custom behavior based on the design rule, and the consistency test method can also be popularized and tested on the basis of custom protocols which are not specified by IEC61375-2-5 and IEC 61375-2-3.
The technical scheme provided by the implementation of the invention has the beneficial technical effects that:
the consistency test of the protocol field and the operation behavior of the train-level Ethernet equipment ETBN belongs to the blank field at home and abroad, the existing consistency test method only defines the external performance of the equipment, the consistency test of the internal protocol field cannot be completed, the information transmitted by the train-level is not limited to the content specified by IEC61375-2-5, and the train grouping information transmitted by IEC61375-2-3 also needs to verify the consistency. The invention integrates the train-level Ethernet protocol field developed based on IEC61375-2-5 and IEC61375-2-3 protocol standards and the consistency test method of operation behaviors, and defines the test environment, the function of test equipment, the test steps and the design of test parameters. The range of the consistency test covers the function test, the partial performance test and the stability test, and the design scheme combines the requirements of train application scenes to evaluate the functions and the performances of the train-level Ethernet equipment ETBN.
It will be apparent to those skilled in the art that the modules or steps of the embodiments of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than what is shown or described, or they may be separately fabricated into individual integrated circuit modules, or a plurality of modules or steps in them may be fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, and various modifications and variations can be made to the embodiments of the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.