CN-122024465-A - Train network diagnosis system
Abstract
The invention provides a train network diagnosis system which comprises a network management center, a plurality of switches and terminal equipment, wherein the network management center is configured to set data flow characteristics of the switches according to a topological structure preset by the network diagnosis system and data flow configuration of a TRDP protocol, wherein the data flows of the TRDP protocol are configured to be source IP and destination multicast addresses in one-to-one correspondence, determine statistical flow of each data flow of each switch according to the data flow characteristics, and position faults of a train network according to network states of the switches and the statistical flow of each data flow, and is used for rapidly diagnosing and positioning faults in train network control by utilizing a real-time Ethernet so as to improve the running stability of the train.
Inventors
- LIU YONGJIANG
- SHI KUN
- GAO YINGMING
- LUO YUAN
- HAO BO
- ZHOU XUEXUN
- Feng Furen
- PENG CHUNYU
- QIN DAXUAN
- MO YUN
- TANG JUNWEI
Assignees
- 中车株洲电力机车研究所有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20241111
Claims (15)
- 1. The train network diagnosis system is characterized by comprising a network management center, a plurality of switches and terminal equipment, wherein the network management center is configured to: Setting the data flow characteristics of the switch according to a topological structure preset by the network diagnosis system and the data flow configuration of a TRDP protocol, wherein the data flow configuration of the TRDP protocol is a source IP and a destination multicast address which are in one-to-one correspondence; Determining the statistical flow of each data flow of each switch according to the data flow characteristics, and And positioning the fault of the train network according to the network state of the switch and the statistical flow of each data stream.
- 2. The train network diagnostic system of claim 1 wherein the data flow includes at least one COMID identifier, and wherein said setting the data flow characteristics of the switch according to the topology and the flow configuration of the TRDP protocol preset by the network diagnostic system comprises the steps of: identifying a preset first number COMID as a group, and dividing the data stream of the TRDP protocol into a plurality of groups; Setting the data flow characteristics of the switch according to the preset topological structure of the network diagnosis system and the data flow configuration of TRDP protocols of each group, and And replacing the group with a preset frequency to update the data flow characteristics of the switch in a rotating way.
- 3. The train network diagnostic system of claim 2 wherein said determining the statistical traffic of each data stream at each switch based on said data stream characteristics comprises the steps of: and updating the statistical flow of the period according to the data flow characteristics and the statistical flow of the upper period by the preset frequency.
- 4. The train network diagnostic system of claim 1, wherein the network status comprises a ring network virtual break point location, a destination multicast address, a speed duplex mode, an MDI mode, and a traffic speed limit.
- 5. The train network diagnostic system of claim 1 wherein said step of locating a fault in said train network based on the network status of said switch and said statistical traffic of each data stream comprises: calculating the transmission path of each data stream according to the statistical flow output by the switch and the terminal equipment and the virtual breakpoint setting position preset by the switch; According to the transmission path, tracking the flow of each link of each data stream on the transmission path from a data source to the terminal equipment of the data stream so as to obtain the change curve of the actual flow of each link of each data stream; Comparing the value of the change curve of the actual flow of each data flow in each link with a preset theoretical flow value of the data flow to obtain a first deviation of the actual flow and the theoretical flow; determining that an abnormality exists in the diagnostic system in response to the first deviation being greater than a preset deviation threshold, and And responding to the abnormality of the diagnosis system, and positioning the fault of the train network.
- 6. The train network diagnostic system of claim 5, wherein said step of tracking the flow rate of each of said data streams at each of said links on said data stream transmission path from a data source to said terminal device based on said transmission path to obtain a change profile of the actual flow rate of each of said data streams at each of said links comprises: and calculating the number of the packets sent by each link according to the flow information of the data flow transmitted by each link so as to obtain the increasing slope of the number of the packets.
- 7. The train network diagnostic system of claim 6 wherein said step of locating a fault in said train network in response to the presence of an anomaly in said diagnostic system comprises: Acquiring internal logs of the exchanger and the sending end and the receiving end of the corresponding data stream to locate the abnormality, and And updating the data flow characteristics at a preset frequency to circularly locate the abnormality.
- 8. The train network diagnostic system of claim 7 wherein the step of obtaining internal logs of the switch and the sender and receiver of the corresponding data stream to locate the anomaly comprises: Determining that there is a TRDP protocol layer failure in response to the increase slope of the TRDP packet count not conforming to the preset increase slope, and/or Determining that there is a fault in the UDP protocol layer in response to the increase slope of the number of packets sent by the UDP not being consistent with the preset increase slope, and/or Determining that an IP protocol layer failure exists in response to the increase slope of the number of packets sent by the IP not being consistent with the preset increase slope, and/or Determining that a drive layer failure is present in response to the increase slope of the number of driven packets not conforming to the preset increase slope, and/or Determining that a MAC failure exists in response to the increase slope of the number of packets sent by the MAC not conforming to the preset increase slope, and/or And judging that the PHY protocol layer fault exists in response to the fact that the increment slope of the number of the PHY packets is inconsistent with the preset increment slope.
- 9. The train network diagnostic system of claim 1 wherein the fault further comprises: physical layer failures including poor cable shielding, poor line connection, MDI set-up errors, and speed duplex mismatch, and/or And the link layer fault comprises ring network abnormality, address table entry deletion and multicast management abnormality.
- 10. The train network diagnostic system of claim 9 wherein the fault localization of the physical layer fault comprises: determining an MDI setting error in response to the MDI setting not conforming to the preset network configuration, and/or Determining a speed duplex mismatch in response to the speed duplex failure being 100Mbps full duplex, and/or Determining that the cable of the device is poorly shielded in response to signal interference or attenuation occurring in the loop-back test, and/or And in response to signal interruption or packet loss in the loop test, judging that the physical connection of the equipment is poor.
- 11. The train network diagnostic system of claim 9 wherein the fault localization of the link layer fault comprises: In response to the change frequency of the positions of a plurality of break points and/or inner break points in the train network looped network being more than twice/second, determining that the looped network is abnormal and/or Determining that the multicast management of the switch is abnormal in response to the destination multicast addresses of all TRDPs which do not contain the terminal equipment connected with the switch in the multicast management corresponding to the network management center, and And in response to the defect in the MAC address table, judging that the MAC address table is wrong.
- 12. The train network diagnostic system of claim 1 wherein, prior to setting the data flow characteristics of the switch according to the topology of the network diagnostic system and the data flow configuration of the TRDP protocol, the network management center is further configured to: acquiring a state data packet actively transmitted by each terminal device and each switch from each terminal device; Checking the actual topology structure of the train according to the preset topology structure, and And responding to the inconsistent check result, and judging that equipment is absent and/or unexpected equipment is present in the train.
- 13. The train network diagnostic system of claim 12 wherein the status data packet includes at least one of: the method comprises the steps of self heartbeat, self equipment type, PHY packet receiving number, PHY packet sending number, PHY packet error number, MAC packet receiving number, MAC packet sending number, MAC packet error number, driving packet sending number, driving packet receiving number, driving packet error number, IP packet sending number, IP packet receiving number, IP packet error number, UDP packet sending number, UDP packet receiving number, UDP packet error number, TRDP packet sending number, TRDP packet receiving number and TRDP packet error number.
- 14. The train network diagnostic system of claim 13 wherein, prior to each of the terminal devices and each of the switches actively transmitting status data packets to the network management center, the network management center is further configured to: And defining IP addresses, equipment identities, TRDP port lists which are required to be sent/received and connection relations among the equipment in a topological structure preset by the network diagnosis system.
- 15. The train network diagnostic system of claim 14, wherein the list of TRDP ports comprises a port number of a TRDP, a source IP, a destination multicast address, and a period, and/or The connection relationship between the devices includes a connection relationship between ports of the switches and the terminal devices, and a connection relationship between the switches.
Description
Train network diagnosis system Technical Field The invention relates to the technical field of rail transit, in particular to a train network diagnosis system. Background Along with the continuous development of rail transit technology, the intelligent level of trains is continuously improved, the types and the number of vehicle-mounted control systems are increased, and the demands for communication bandwidths are also increased. To meet this demand, newly designed rail transit trains commonly employ real-time ethernet technology to connect the control systems on board the vehicles. According to the specification of IEC61375 international standard, the vehicle-mounted control system needs to adopt TRDP (TRAIN REAL-time Data Protocol) protocol for data interaction. Compared with the traditional bus type network, the real-time Ethernet is divided according to an OSI 7 layer model, and comprises a physical layer, a link layer, a transmission layer, a network layer and an application layer, wherein the components are more complex, the analysis of faults is also difficult, and the real-time Ethernet mainly comprises the following aspects: firstly, real-time Ethernet communication relates to a plurality of marshalling networks and backbone network switches, the transmission process is complex, and a plurality of management protocols such as a ring network protocol, a multicast management protocol, a train initial operation protocol and the like are related among devices, so that a link which possibly generates failure is complex, the failure analysis difficulty is increased, and the real-time performance of failure recovery is difficult to meet. In order to overcome the above-mentioned drawbacks of the prior art, there is a need in the art for a train network diagnosis technique for rapidly diagnosing and locating faults in train network control using real-time ethernet to improve the stability of train operation. Disclosure of Invention The following presents a simplified summary of one or more aspects in order to provide a basic understanding of such aspects. This summary is not an extensive overview of all contemplated aspects, and is intended to neither identify key or critical elements of all aspects nor delineate the scope of any or all aspects. Its sole purpose is to present some concepts of one or more aspects in a simplified form as a prelude to the more detailed description that is presented later. In order to overcome the defects in the prior art, the invention provides a train network diagnosis system which is used for rapidly diagnosing and positioning faults in train network control by utilizing real-time Ethernet so as to improve the running stability of a train. The train network diagnosis system comprises a network management center, a plurality of switches and terminal equipment, wherein the network management center is configured to set data flow characteristics of the switches according to a topological structure preset by the network diagnosis system and data flow configuration of TRDP protocol, wherein the data flows of the TRDP protocol are configured to be source IP and destination multicast addresses in one-to-one correspondence, determine statistical flow of each data flow of each switch according to the data flow characteristics, and locate faults of the train network according to network states of the switches and the statistical flow of each data flow. Further, in some embodiments of the present invention, the data flow includes at least one COMID identifier, the setting the data flow characteristics of the switch according to the topology and the TRDP protocol flow configuration preset by the network diagnostic system includes identifying a preset first number COMID as a group, dividing the TRDP protocol data flow into a plurality of groups, setting the switch data flow characteristics according to the topology and the TRDP protocol flow configuration of each group preset by the network diagnostic system, and replacing the groups at a preset frequency to perform a rotation update on the switch data flow characteristics. Further, in some embodiments of the present invention, the determining the statistical traffic of each data flow at each switch according to the data flow characteristics includes updating the statistical traffic of the current period at the preset frequency according to the data flow characteristics and the statistical traffic of the previous period. Further, in some embodiments of the present invention, the network state includes a ring network virtual break point location, a destination multicast address, a speed duplex mode, an MDI mode, and a traffic speed limit. Further, in some embodiments of the present invention, the step of locating the fault of the train network according to the network state of the switch and the statistical flow of each data stream includes calculating a transmission path of each data stream according to the statistical flow output by th