CN108092854B - Test method and device for train-level Ethernet equipment based on IEC61375 protocol - Google Patents

Test method and device for train-level Ethernet equipment based on IEC61375 protocol Download PDF

Info

Publication number
CN108092854B
CN108092854B CN201711480145.6A CN201711480145A CN108092854B CN 108092854 B CN108092854 B CN 108092854B CN 201711480145 A CN201711480145 A CN 201711480145A CN 108092854 B CN108092854 B CN 108092854B
Authority
CN
China
Prior art keywords
message data
trdp
train
transmission cycle
ttdp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711480145.6A
Other languages
Chinese (zh)
Other versions
CN108092854A (en
Inventor
李元轩
黄志平
潘勇卓
王隆龙
王兢
朱广超
李洋涛
高枫
张顺广
邵军
刘冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Academy of Railway Sciences Corp Ltd CARS
China State Railway Group Co Ltd
Locomotive and Car Research Institute of CARS
Beijing Zongheng Electromechanical Technology Co Ltd
Original Assignee
China Academy of Railway Sciences Corp Ltd CARS
China Railway Corp
Locomotive and Car Research Institute of CARS
Beijing Zongheng Electromechanical Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Academy of Railway Sciences Corp Ltd CARS, China Railway Corp, Locomotive and Car Research Institute of CARS, Beijing Zongheng Electromechanical Technology Co Ltd filed Critical China Academy of Railway Sciences Corp Ltd CARS
Priority to CN201711480145.6A priority Critical patent/CN108092854B/en
Publication of CN108092854A publication Critical patent/CN108092854A/en
Application granted granted Critical
Publication of CN108092854B publication Critical patent/CN108092854B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Abstract

The invention provides a method and a device for testing train-level Ethernet equipment based on IEC61375 protocol, wherein the method comprises the following steps: monitoring TTDP message data to be detected and TRDP message data to be detected of the train-level Ethernet equipment ETBN; analyzing the TTDP message data to be detected and the TRDP message data to be detected to obtain transmission cycle characteristics and format content characteristics of the TTDP message data to be detected and the TRDP message data to be detected; and according to the transmission cycle characteristics and format content characteristics of the TTDP message data to be tested and the TRDP 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 be tested and the TRDP message data to be tested, and obtaining the test results of the TTDP message data of the ETBN and the TRDP message data to be tested. The technical scheme realizes accurate test of the train-level Ethernet equipment based on the IEC61375 protocol.

Description

Test method and device for train-level Ethernet equipment based on IEC61375 protocol
Technical Field
The invention relates to the technical field of train network control, in particular to a method and a device for testing train-level Ethernet equipment based on IEC61375 protocol.
Background
With the rapid development of train network technology, the development trend of the application of the Ethernet technology to the train network is gradually developed. The length of the train can be adjusted according to the passenger carrying condition to achieve the purpose of flexible use in order to respond to the operation requirement of the train, and the operation efficiency is improved. The network control systems of different train sets can come from units produced by different design and manufacturing units, and the train Ethernet network systems are different, so that the interconnection and intercommunication of the train sets can be realized only by following the same communication protocol standard. Currently, in order to realize interconnection and interworking across inter-consist Ethernet networks, a series of related technical standards related to train Ethernet are published by IEC61375 series international standards, and IEC61375-2-5, IEC61375-2-3 and IEC61375-3-4 belong to important standards in the field of train Ethernet. If a train Ethernet protocol test system can be established, network equipment designed for train-level Ethernet transmission can be evaluated and evaluated before the train-level Ethernet product is formally applied, so that the difficulty in intercommunication among the cross-marshalling caused by different protocols is effectively reduced, and the possible safety production accidents in the running process of the train are reduced. The development of train-level Ethernet protocol consistency test technology and equipment based on IEC61375 protocol is an important guarantee means and guarantee measure for interconnection and interworking of train-level Ethernet networks.
Train Ethernet equipment developed according to IEC protocol is applied successively, and train Ethernet equipment consistency test is designed according to IEC series protocol standard, which belongs to the blank field, and no mature test method and means are formed.
Disclosure of Invention
The embodiment of the invention provides a test method of train-level Ethernet equipment based on IEC61375 protocol, which is used for realizing accurate test of the train-level Ethernet equipment based on IEC61375 protocol, and comprises the following steps:
monitoring TTDP message data to be detected and TRDP message data to be detected of the train-level Ethernet equipment 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; 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;
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.
The embodiment of the invention also provides a testing device of the train-level Ethernet equipment based on the IEC61375 protocol, which is used for realizing the accurate test of the train-level Ethernet equipment based on the IEC61375 protocol, and comprises the following components:
the monitoring unit is used for monitoring TTDP message data to be detected and TRDP message data to be detected of the train-level Ethernet equipment ETBN;
the analysis unit is used for analyzing the TTDP message data to be detected to obtain transmission cycle characteristics and format content characteristics of the TTDP message data to be detected; 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 is used for obtaining the test result of the TTDP message data of the ETBN according to the transmission cycle characteristic and the format content characteristic of the TTDP message data to be tested and the comparison result of 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.
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 technical scheme provided by the embodiment of the invention monitors TTDP message data to be detected and TRDP message data to be detected of the train-level Ethernet equipment 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; 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; 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; according to the transmission cycle characteristics and format content characteristics of the TRDP message data to be tested, and the comparison result of the standard transmission cycle characteristics and format content characteristics of the TRDP message data, the test result of the TRDP message data of the ETBN is obtained, and the accurate test of the train-level Ethernet equipment based on the IEC61375 protocol is realized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate and together with the description serve to explain the invention. In the drawings:
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;
FIG. 2 is a schematic diagram of a test apparatus for a train-level Ethernet device based on IEC61375 protocol according to an embodiment of the invention;
FIG. 3 is a flow chart of a method for testing train-level Ethernet devices based on IEC61375 according to another embodiment of the invention;
FIG. 4 is a schematic diagram of a stability test of ETBN versus ETBN topology in an embodiment of the invention;
FIG. 5 is a diagram illustrating a TRDP process data message definition in accordance with an embodiment of the present invention;
FIG. 6 is a schematic diagram of defining TRDP message data messages in accordance with an embodiment of the invention;
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.
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
Figure GDA0004107182110000051
And->
Figure GDA0004107182110000052
Figure GDA0004107182110000053
The periodic behavior criterion is
Figure GDA0004107182110000054
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:
Figure GDA0004107182110000055
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,
Figure GDA0004107182110000062
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:
Figure GDA0004107182110000061
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.
Figure GDA0004107182110000071
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.
Figure GDA0004107182110000081
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.
Figure GDA0004107182110000091
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.
Figure GDA0004107182110000101
Figure GDA0004107182110000111
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.
Figure GDA0004107182110000112
/>
Figure GDA0004107182110000121
TABLE 6
Figure GDA0004107182110000122
/>
Figure GDA0004107182110000131
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
Figure GDA0004107182110000151
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.
Figure GDA0004107182110000161
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.
Figure GDA0004107182110000171
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.

Claims (22)

1. A method for testing train-level ethernet equipment based on IEC61375 protocol, comprising:
monitoring TTDP message data to be detected and TRDP message data to be detected of the train-level Ethernet equipment 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; 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;
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.
2. The method for testing train-level ethernet equipment based on IEC61375 protocol according to claim 1, wherein said ETBN comprises: a train level control service ECSP 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 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, wherein the method comprises the following steps: 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 fed back by the ECSP interface.
3. The method for testing train-level ethernet equipment based on IEC61375 protocol according to claim 1, wherein said ETBN comprises: a train topology database TTDB 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 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, wherein the method comprises the following steps: 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, the test result of the TRDP message data of the ETBN is obtained, and the method comprises the following steps: 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.
4. The method for testing train-level ethernet equipment based on IEC61375 protocol according to claim 1, wherein said ETBN comprises: a train domain name resolution service (DNS) 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 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, wherein the method comprises the following steps: 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, the test result of the TRDP message data of the ETBN is obtained, and the method comprises the following steps: and determining the accuracy of the DNS interface for reading the train-level address information 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 read by the DNS interface.
5. The method for testing train-level ethernet equipment based on IEC61375 protocol according to claim 1, wherein said ETBN comprises: 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, wherein the method comprises the following steps: 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, 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 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.
6. The method for testing the train-level ethernet device based on the IEC61375 protocol according to claim 1, wherein monitoring the TTDP message data to be tested and the TRDP message data to be tested of the train-level ethernet device ETBN comprises: 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, wherein the method comprises the following steps: 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, the test result of the TTDP message data of the ETBN is obtained, and the method comprises the following steps: 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.
7. The method for testing the train-level ethernet device based on the IEC61375 protocol according to claim 1, wherein monitoring the TTDP message data to be tested and the TRDP message data to be tested of the train-level ethernet device ETBN comprises: 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, wherein the method comprises the following steps: 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, the test result of the TTDP message data of the ETBN is obtained, and the method comprises the following steps: 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.
8. The method for testing the train-level ethernet device based on the IEC61375 protocol according to claim 1, wherein monitoring the TTDP message data to be tested and the TRDP message data to be tested of the train-level ethernet device ETBN comprises: 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, wherein the method comprises the following steps: 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, the test result of the TTDP message data of the ETBN is obtained, and the method comprises the following steps: 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.
9. The method for testing the train-level ethernet device based on the IEC61375 protocol according to claim 1, wherein monitoring the TTDP message data to be tested and the TRDP message data to be tested of the train-level ethernet device ETBN comprises: 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, wherein the method comprises the following steps: when the consistency test of the TRDP train-level grouping control information is carried out, analyzing the TRDP train-level grouping control message data to obtain the transmission cycle characteristics and the 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, the test result of the TRDP message data of the ETBN is obtained, and the method comprises the following steps: and when the consistency test of the TRDP train-level grouping control information is carried out, obtaining a test result of the TRDP train-level grouping control information according to a comparison result of the transmission cycle characteristic and the format content characteristic of the TRDP train-level grouping control message data and the standard transmission cycle characteristic and the format content characteristic of the TRDP train-level grouping control message data.
10. The method for testing the train-level ethernet device based on the IEC61375 protocol according to claim 1, wherein monitoring the TTDP message data to be tested and the TRDP message data to be tested of the train-level ethernet device ETBN comprises: 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, wherein the method comprises the following steps: when performing the TRDP train-level grouping start information interaction consistency test, 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, the test result of the TRDP message data of the ETBN is obtained, and the method comprises the following steps: and when the interactive consistency test of the TRDP train-level grouping start information is carried out, obtaining a test result of the TRDP train-level grouping start information according to the transmission cycle characteristic and the format content characteristic of the TRDP train-level grouping start message data and the comparison result of the standard transmission cycle characteristic and the format content characteristic of the TRDP train-level grouping start message data.
11. A test device for train-level ethernet equipment based on IEC61375 protocol, comprising:
the monitoring unit is used for monitoring TTDP message data to be detected and TRDP message data to be detected of the train-level Ethernet equipment ETBN;
the analysis unit is used for analyzing the TTDP message data to be detected to obtain transmission cycle characteristics and format content characteristics of the TTDP message data to be detected; 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 is used for obtaining the test result of the TTDP message data of the ETBN according to the transmission cycle characteristic and the format content characteristic of the TTDP message data to be tested and the comparison result of 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.
12. The test apparatus for a train-level ethernet device based on IEC61375 protocol according to claim 11, wherein said ETBN comprises: a train level control service ECSP interface;
The monitoring unit is specifically configured to: monitoring TRDP control message data fed back by the ECSP interface according to the trigger instruction;
the analysis unit is specifically configured 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 is specifically used for: 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 fed back by the ECSP interface.
13. The test apparatus for a train-level ethernet device based on IEC61375 protocol according to claim 11, wherein said ETBN comprises: a train topology database TTDB interface;
the monitoring unit is specifically configured to: monitoring TRDP message data read by the TTDB interface according to the trigger instruction;
the analysis unit is specifically configured 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 is specifically used for: 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.
14. The test apparatus for a train-level ethernet device based on IEC61375 protocol according to claim 11, wherein said ETBN comprises: a train domain name resolution service (DNS) interface;
the monitoring unit is specifically configured to: monitoring TRDP address message data read by a DNS interface according to a trigger instruction;
the analysis unit is specifically configured 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 is specifically used for: and determining the accuracy of the DNS interface for reading the train-level address information 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 read by the DNS interface.
15. The test apparatus for a train-level ethernet device based on IEC61375 protocol according to claim 11, wherein said ETBN comprises: an ETBN control interface;
the monitoring unit is specifically configured to: monitoring TRDP control message data fed back by the ETBN control interface according to the trigger instruction;
the analysis unit is specifically configured 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 is specifically used for: 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.
16. The test device for the train-level ethernet equipment based on IEC61375 according to claim 11, wherein said monitoring unit is specifically configured to: monitoring TTDP message data of different numbers of ETBN;
the analysis unit is specifically configured 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 is specifically used for: 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.
17. The test device for the train-level ethernet equipment based on IEC61375 according to claim 11, wherein said monitoring unit is specifically 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.
18. The test device for the train-level ethernet equipment based on IEC61375 according to claim 11, wherein said monitoring unit is specifically 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.
19. The test device for the train-level ethernet equipment based on IEC61375 according to claim 11, wherein said monitoring unit is specifically configured to: monitoring TRDP train-level marshalling control message data;
the analysis unit is specifically configured to: when the consistency test of the TRDP train-level grouping control information is carried out, analyzing the TRDP train-level grouping control message data to obtain the transmission cycle characteristics and the format content characteristics of the TRDP train-level grouping control message data;
the test unit is specifically used for: and when the consistency test of the TRDP train-level grouping control information is carried out, obtaining a test result of the TRDP train-level grouping control information according to a comparison result of the transmission cycle characteristic and the format content characteristic of the TRDP train-level grouping control message data and the standard transmission cycle characteristic and the format content characteristic of the TRDP train-level grouping control message data.
20. The test device for the train-level ethernet equipment based on IEC61375 according to claim 11, wherein said monitoring unit is specifically configured to: monitoring TRDP train-level grouping start message data;
the analysis unit is specifically configured to: when performing the TRDP train-level grouping start information interaction consistency test, 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 is specifically used for: and when the interactive consistency test of the TRDP train-level grouping start information is carried out, obtaining a test result of the TRDP train-level grouping start information according to the transmission cycle characteristic and the format content characteristic of the TRDP train-level grouping start message data and the comparison result of the standard transmission cycle characteristic and the format content characteristic of the TRDP train-level grouping start message data.
21. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1 to 10 when executing the computer program.
22. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program for executing the method of any one of claims 1 to 10.
CN201711480145.6A 2017-12-29 2017-12-29 Test method and device for train-level Ethernet equipment based on IEC61375 protocol Active CN108092854B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711480145.6A CN108092854B (en) 2017-12-29 2017-12-29 Test method and device for train-level Ethernet equipment based on IEC61375 protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711480145.6A CN108092854B (en) 2017-12-29 2017-12-29 Test method and device for train-level Ethernet equipment based on IEC61375 protocol

Publications (2)

Publication Number Publication Date
CN108092854A CN108092854A (en) 2018-05-29
CN108092854B true CN108092854B (en) 2023-04-28

Family

ID=62180365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711480145.6A Active CN108092854B (en) 2017-12-29 2017-12-29 Test method and device for train-level Ethernet equipment based on IEC61375 protocol

Country Status (1)

Country Link
CN (1) CN108092854B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111030911B (en) * 2018-10-09 2022-04-22 中车株洲电力机车研究所有限公司 Train network system and terminal equipment access management method for train network system
CN109305192A (en) * 2018-11-12 2019-02-05 中国铁路总公司 The operation method of train grade control unit VCU-M, train network control system and VCU-M
CN112019478A (en) * 2019-05-29 2020-12-01 中车株洲电力机车研究所有限公司 TRDP protocol based train network safety protection method, device and system
CN111103838B (en) * 2020-01-02 2020-11-10 中车青岛四方车辆研究所有限公司 Main unit sub-system of active radial control system
CN112134759B (en) * 2020-09-22 2022-02-11 中车唐山机车车辆有限公司 Train Ethernet test system
CN114338568B (en) * 2020-09-30 2024-03-01 中车株洲电力机车研究所有限公司 Data stream statistics method and Ethernet switch
CN113194006B (en) * 2021-03-29 2021-11-09 北京城建智控科技股份有限公司 RSSP-I protocol-based test method
CN114301728A (en) * 2021-12-24 2022-04-08 上海仁童电子科技有限公司 Train network performance testing method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10069709B2 (en) * 2013-05-17 2018-09-04 Mitsubishi Electric Corporation Communication apparatus and vehicle transmission system
CN104243536B (en) * 2013-06-24 2017-09-15 中国科学院软件研究所 A kind of bullet train controls network semi-matter simulating system
CN103457804A (en) * 2013-09-11 2013-12-18 青岛四方车辆研究所有限公司 Consistency testing platform of train network communication products
CN103888323B (en) * 2014-04-22 2018-09-04 株洲南车时代电气股份有限公司 A kind of ethernet device just operation action conformance test method and device

Also Published As

Publication number Publication date
CN108092854A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN108092854B (en) Test method and device for train-level Ethernet equipment based on IEC61375 protocol
CN101399710B (en) Detection method and system for protocol format exception
CN111901327B (en) Cloud network vulnerability mining method and device, electronic equipment and medium
CN201226523Y (en) System for testing switch stability
CN110532168B (en) Full-link interface pressure measurement method and device, computer equipment and storage medium
CN112134762B (en) Testing method, device, terminal and storage medium for block chain network structure
KR20160106156A (en) Method and apparatus for visualized operation and maintenance of network
CN108989136A (en) Business end to end performance monitoring method and device
CN106452955B (en) A kind of detection method and system of abnormal network connection
CN111176202A (en) Safety management method, device, terminal equipment and medium for industrial control network
CN109542786A (en) Visual testing method and device
CN106776346B (en) Test method and device of CCMTS (China center testing System) equipment
US20160088499A1 (en) Systems and methods to create message traffic
CN111181800A (en) Test data processing method and device, electronic equipment and storage medium
CN101252477A (en) Determining method and analyzing apparatus of network fault root
CN110768871B (en) Test method and system for automatically counting data transmission correctness of DCS (distributed control system)
CN111654405A (en) Method, device, equipment and storage medium for fault node of communication link
CN114598680B (en) Domain name management method, device and storage medium
CN110868341A (en) In-place protection intelligent management unit testing method and device
CN112527453B (en) Virtualization information simulation system, method and computer-readable storage medium
CN114500247A (en) Industrial control network fault diagnosis method and device, electronic equipment and readable storage medium
CN111162929B (en) Hierarchical management method and system
CN101442518B (en) Protocol analysis method and system for abnormal detection
CN113452537B (en) Fault positioning method and device based on model
CN115426301B (en) Device detection method, device, equipment and storage medium based on self-generated message

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: No. 2, Da Liu Shu Road, Haidian District, Beijing

Applicant after: CHINA ACADEMY OF RAILWAY SCIENCES Corp.,Ltd.

Applicant after: BEIJING ZONGHENG ELECTRO-MECHANICAL TECHNOLOGY Co.,Ltd.

Applicant after: LOCOMOTIVE & CAR RESEARCH INSTITUTE OF CHINA ACADEMY OF RAILWAY SCIENCES Corp.,Ltd.

Address before: No. 2, Da Liu Shu Road, Haidian District, Beijing

Applicant before: China Academy of Railway Sciences

Applicant before: BEIJING ZONGHENG ELECTROMECHANICAL TECHNOLOGY DEVELOPMENT Co.,Ltd.

Applicant before: CHINA ACADEMY OF RAILWAY SCIENCES LOCOMOTIVE & CAR Research Institute

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190619

Address after: No. 10, Fuxing Road, Haidian District, Beijing

Applicant after: CHINA RAILWAY Corp.

Applicant after: CHINA ACADEMY OF RAILWAY SCIENCES Corp.,Ltd.

Applicant after: BEIJING ZONGHENG ELECTRO-MECHANICAL TECHNOLOGY Co.,Ltd.

Applicant after: LOCOMOTIVE & CAR RESEARCH INSTITUTE OF CHINA ACADEMY OF RAILWAY SCIENCES Corp.,Ltd.

Address before: No. 2, Da Liu Shu Road, Haidian District, Beijing

Applicant before: CHINA ACADEMY OF RAILWAY SCIENCES Corp.,Ltd.

Applicant before: BEIJING ZONGHENG ELECTRO-MECHANICAL TECHNOLOGY Co.,Ltd.

Applicant before: LOCOMOTIVE & CAR RESEARCH INSTITUTE OF CHINA ACADEMY OF RAILWAY SCIENCES Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant