CN111131016A - Network equipment fault diagnosis method, switching method and fault diagnosis system - Google Patents

Network equipment fault diagnosis method, switching method and fault diagnosis system Download PDF

Info

Publication number
CN111131016A
CN111131016A CN202010002608.3A CN202010002608A CN111131016A CN 111131016 A CN111131016 A CN 111131016A CN 202010002608 A CN202010002608 A CN 202010002608A CN 111131016 A CN111131016 A CN 111131016A
Authority
CN
China
Prior art keywords
network
data packet
equipment
fault
dual
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.)
Pending
Application number
CN202010002608.3A
Other languages
Chinese (zh)
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.)
CRRC Qingdao Sifang Rolling Stock Research Institute Co Ltd
Original Assignee
CRRC Qingdao Sifang Rolling Stock Research Institute 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 CRRC Qingdao Sifang Rolling Stock Research Institute Co Ltd filed Critical CRRC Qingdao Sifang Rolling Stock Research Institute Co Ltd
Priority to CN202010002608.3A priority Critical patent/CN111131016A/en
Publication of CN111131016A publication Critical patent/CN111131016A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The invention provides a network equipment fault diagnosis method, a redundancy switching method and a network fault diagnosis system, wherein the diagnosis method comprises the following steps: acquiring a data packet from a dual-network trunk received by network equipment; for the dual-homing device, judging whether the packet serial numbers of the first line data packet and the second line data packet are continuous, if the serial numbers of the first line data packet or the second line data packet are discontinuous, judging the port fault of the network device corresponding to the discontinuous data packets, and if the serial numbers of the first line data packet and the second line data packet are discontinuous, judging the network device fault; and for the single-port equipment, judging whether the sequence numbers of the data packets are continuous, and if not, judging that the network equipment has faults. The switching method comprises the following steps: if the two ports of the main dual-homing device are diagnosed to have faults, switching to other dual-homing devices; and if the port of the main single-port equipment is diagnosed to have a fault, switching to other single-port equipment. The method and the system can simply, efficiently and accurately complete fault diagnosis and equipment switching.

Description

Network equipment fault diagnosis method, switching method and fault diagnosis system
Technical Field
The invention relates to the technical field of network communication, in particular to a redundant network equipment communication fault diagnosis method, a switching method and a fault diagnosis system.
Background
With the development of network communication technology, the requirements for network system stability are increased, and the requirements for network redundancy and equipment redundancy are increased accordingly. The redundant network topology gradually becomes the mainstream, the vehicle-mounted equipment matched with the redundant network topology is also mainly the dual-homing equipment, and part of the system adopts dual-equipment redundancy.
Taking a vehicle-mounted network system as an example, a vehicle-mounted network control system is still mainly based on an MVB, and a vehicle-mounted ethernet network (ECN) is still in continuous experimental development in the rail transit industry. In international standard IEC61375-1, the redundant switching of the line A and the line B of the MVB is explained in detail and is widely used in the practical TCN train network application; in international standard IEC61375-3-4, various ECN network topology architectures are described, but there is no relevant content for the equipment failure diagnosis, redundancy switching mechanism of the ethernet redundancy network topology. The MVB is redundant by a stranded communication cable consisting of a line A and a line B, the equipment end only needs one connector, and only receives the information of one trust line; the dual-network redundancy of the Ethernet is two independent cables, and two connectors at the equipment end are respectively connected to two networks and simultaneously receive information of the dual-network. Therefore, the MVB line redundancy is different from the dual-network redundancy of the ethernet in nature, and the fault diagnosis and redundancy switching method thereof cannot be applied. In particular practice, especially for dual-network redundant ethernet topology, there is no relevant guidance and basis for fault diagnosis and redundancy switching of dual-homing devices and single-communication interface devices.
The existing fault diagnosis and redundancy switching method has the following problems:
1. fault diagnosis
(1) Dual homing device
In a redundant network topology, the existing method is to perform data switching of a trust network through a bottom layer. There is no failure analysis for dual-homed device access into redundant network topologies.
(2) Single communication interface device
The communication fault diagnosis method only uses the packet sequence number or the communication period of the network layer to make judgment, has incomplete risk and does not consider the failure condition of the application layer data.
2. Redundant switching
(1) Dual homing device
A. And B, a switching method of a trust network is provided for the trunk circuit failure of the network B. There is no relevant standard for redundant handover on the dual-homed device side.
(2) Single communication interface device
A. And B, a switching method of a trust network is provided for the trunk circuit failure of the network B. The system redundancy formed by two single communication interface devices does not have a method for switching the redundancy devices after single device failure or communication interruption at present.
Or aiming at the network layer, the line data selection is carried out at the bottom layer. No definition is given for data handover and selection of dual-network, dual-homed devices.
3. Trunk network fault analysis
When the communication of the trunk line is interrupted, the communication of the head and the tail vehicles is interrupted, and the vehicle control of the double main CCUs occurs. For trunk communication interruption of redundant topology, there is currently no relevant diagnostic rule.
Disclosure of Invention
The invention aims to provide a fault diagnosis method and a switching method for dual-homing equipment and single-interface equipment in a redundant network aiming at the defects of a fault diagnosis and redundant switching method of the redundant network in the prior art, and the method can more accurately and effectively realize fault diagnosis and switching. Meanwhile, the network fault diagnosis system is used for fault diagnosis of redundant network equipment and switching of the network equipment when the network equipment is in fault.
In order to achieve the purpose, the invention adopts the technical scheme that:
the invention firstly provides a network equipment fault diagnosis method, which is used for fault diagnosis of network equipment in a redundant network:
the redundant network includes: the network trunk comprises a first line and a second line; and at least one of: the dual-homing equipment is respectively connected to the first line and the second line; single-port devices, each connected to line one or line two;
the fault diagnosis method comprises the following steps:
acquiring a data packet from a dual-network trunk received by network equipment;
for the dual-homing device, judging whether the serial numbers of the first line data packet and the second line data packet are continuous, if the serial numbers of the first line data packet or the second line data packet are discontinuous, judging the port fault of the network device corresponding to the discontinuous data packets, and if the serial numbers of the first line data packet and the second line data packet are discontinuous, judging the network device fault of the discontinuous data packets;
and for the single-port equipment, judging whether the sequence numbers of the data packets are continuous, and if not, judging that the network equipment for sending the discontinuous data packets has faults.
Preferably, the method comprises the following steps: the fault diagnosis method further includes:
and if all data communication between the first network equipment and the last network equipment on the network trunk is interrupted, judging the network trunk fault.
Preferably, the method comprises the following steps: the fault diagnosis method further includes:
if the data packet serial numbers obtained by the network equipment are all continuous, further executing the following steps:
for the dual-homing device, performing data verification on the line one data packet and the line two data packet, if the verification of the line one data packet or the line two data packet is not passed, judging a port fault corresponding to the data packet which is not passed through the verification, and if the verification of the line one data packet and the line two data packet is not passed, judging a network device fault for sending the data packet;
and for the single-port equipment, carrying out data verification on the data packet, and if the data packet is not verified, judging that the equipment for sending the data packet has a fault.
Preferably, the method comprises the following steps: the fault diagnosis method further includes: if the data packet of the network equipment passes the verification, further executing the following steps: and judging whether the heartbeat signal of the network equipment is changed in a connection manner, and if not, judging that the network equipment is in a fault state.
The invention further provides a network equipment switching method, wherein the redundant network at least comprises two dual-homing equipment and/or two single-port equipment; one of the two dual-homing devices is a main dual-homing device, and the other of the two single-port devices is a main single-port device; the switching method comprises the following steps:
if the two ports of the main dual-homing device are diagnosed to have faults, switching to other dual-homing devices;
and if the port of the main single-port equipment is diagnosed to have a fault, switching to other single-port equipment.
Preferably, the method comprises the following steps: the redundant network at least comprises a plurality of groups of dual-homing devices, each group comprises at least two dual-homing devices, and when two ports of the dual-homing devices are in failure, the redundant network is switched to other dual-homing devices in the same group; the redundant network at least comprises a plurality of groups of single-port equipment, each group comprises at least two single-port equipment, and when the single-port equipment fails, the redundant network is switched to other single-port equipment in the same group.
The present invention further provides a network control system comprising a network diagnostic subsystem, the network diagnostic subsystem comprising:
a data packet acquisition module: the system comprises a data packet acquisition module, a data packet transmission module and a data packet transmission module, wherein the data packet acquisition module is used for acquiring a data packet received by a network device from a network trunk;
a data packet analysis module: the device is used for analyzing the continuity of the packet sequence numbers of the data packets;
a fault diagnosis module: the method is used for generating a fault signal of the dual-homing device under the condition that packet serial numbers acquired by two ports of the dual-homing device are not continuous, and generating a fault signal of the single-ended device under the condition that report serial numbers acquired by the single-ended device are not continuous.
Preferably, the method comprises the following steps: further comprising:
a communication diagnostic module: the network device is used for judging the smoothness of data communication between the first network device and the last network device on the network trunk;
the fault diagnosis module is further configured to: and generating a network trunk fault signal when the data communication between the first network equipment and the last network equipment on the network trunk is interrupted due to the trunk fault.
Preferably, the method comprises the following steps: the control system further comprises:
a switching control module: and the method is used for switching to other network equipment of the same type when the network equipment is diagnosed as a fault.
Compared with the prior art, the fault diagnosis method and the switching method provided by the invention have the beneficial effects that:
the invention provides a simple, efficient and accurate method for diagnosing the network equipment fault, the redundancy switching and the trunk network fault of the redundant network topology.
The equipment fault diagnosis method based on the redundant network topology structure combines the fault judgment of the redundant network, simultaneously judges the communication fault from the network layer and the application layer, is more accurate and effective, analyzes the single communication interface fault and the two communication interface faults of the dual-homing equipment in detail, and provides a reasonable fault diagnosis method. A new redundancy switching method is provided for the redundancy switching of the dual-homing device. The method has the advantages that deep analysis is carried out, the redundant switching of single-network failure and single-communication-port failure without switching is provided, and only two communication ports fail simultaneously to switch, so that the failure rate of equipment is reduced, the redundant switching frequency is reduced, and the communication stability of the system is ensured.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic diagram of a redundant network architecture according to the present invention;
FIG. 2 is a flow chart of the fault diagnosis of the dual homing device of the present invention;
FIG. 3 is a flow chart of single port device fault diagnosis of the present invention;
FIG. 4 is a flow chart of the redundancy handover of dual homing devices according to the present invention;
FIG. 5 is a flow chart of the redundancy switch of the single port device according to the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present invention more clearly apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that the terms "first" and "second" are used for descriptive purposes only and are not intended to imply relative importance.
The invention provides a fault diagnosis method and a switching method of equipment in a redundant network.
The structure of the redundant network system according to the present invention is described with reference to fig. 1.
The redundant network includes: the network trunk comprises a first line and a second line; and at least one of: the dual-homing equipment is respectively connected to the first line and the second line; single port devices, each connected to line one or line two.
Specifically, in this embodiment, the trunk network adopts a redundant topology structure, which includes A, B two networks, and the devices connected to the trunk network include a dual-homing device and a single-communication interface device. For example, taking a rail vehicle communication network as an example, in fig. 1, CCU1, CCU2, PIDS1, PIDS2 are dual-homing devices, each of which includes at least two ports, connected to network a and network B, respectively, and the dual-communication interface simultaneously transmits and receives data from network a and network B. The CCU1 and the CCU2 are same-function redundant devices and correspond to controllers of a head car and a tail car of the railway vehicle, and the PIDS1 and the PIDS2 are same-function redundant devices. TDS1 and TDS2 are single port equipment, and two single port equipment are each other redundant, and TDS1 is only connected to A net, and TDS2 is only connected to B net.
The fault diagnosis method of the redundant network comprises a fault diagnosis method of double-homing equipment and a fault diagnosis method of single-communication-port equipment.
Firstly, data packets from a dual-network trunk received by the network equipment are obtained, and whether the network equipment has faults or not is diagnosed according to the continuity of the sequence numbers of the data packets.
(1) Fault diagnosis of dual homing devices
Fig. 2 shows a flowchart of a dual-homing device communication fault diagnosis method provided by the present invention.
Firstly, whether the serial numbers of a first line data packet and a second line data packet are continuous or not is judged, if the serial numbers of the first line data packet or the second line data packet are discontinuous, the port fault of the network equipment corresponding to the discontinuous data packets is judged, and if the serial numbers of the first line data packet and the second line data packet are discontinuous, the fault of the double-home network equipment for sending the discontinuous data packets is judged.
Specifically, the dual-homing device is communicated by the network A and the network B at the same time, and the train fault diagnosis system receives the information of the network A and the network B of the device at the same time. For each net data, the following steps are required: for the same dual-homing device, judging whether the packet sequence numbers of the data packets are continuous or not in a network layer, if the packet sequence numbers of the data packets acquired from the network A are discontinuous, judging that the corresponding port of the network A loses packets when receiving data and the corresponding port of the network A goes wrong; if the data received by the network A and the network B are lost, the two ports are judged to have faults, and the dual-homing network equipment is diagnosed as the faults. For example, if packet sequence numbers of PIDS1 devices acquired by the CCU1 from the a network and the B network are not continuous, it is determined that the PIDS1 has a failure.
Furthermore, in order to realize more accurate fault diagnosis, the invention adopts a multi-level fault diagnosis method.
And when the data received by the dual-homing device from the network A and the network B are continuous, entering the next fault diagnosis process. Performing packet check on the data packet, and if the data packet check of the same dual-homing device acquired from the network A by other devices fails, a port on the network A side fails; if the data packets received by the network A and the network B do not pass the verification, the two ports are judged to have faults, and the dual-homing network equipment is diagnosed as the faults. There may be many methods for checking the packet, for example, CRC check may be selected. For example, if none of PIDS1 device packets acquired by the CCU1 from the a network and the B network passes the verification, it is determined that the PIDS1 fails.
And when the packet check of the dual-homing device passes, further entering the next logic, judging whether the heartbeat information of the network device changes, if not, judging that the network communication fails, otherwise, judging that the network communication is normal. Furthermore, in order to avoid non-diagnosis of the fault condition of the network device, a time threshold may be set, and if the network device has no heartbeat change within the set time threshold range and exceeds the tolerance time, it is determined that the network device has a fault.
In summary, the communication states of the network a and the network B of the dual-homing device need to be considered collectively, and since the network a and the network B are redundant and the communication ports of the dual-homing device are also redundant, the communication failure occurs only if both the network a and the network B of the device are in communication failure; if any communication interface of the equipment is normal in communication, the data transceiving function is normal, and the equipment is normal in communication. For the whole network, the system fault is judged only if two redundant dual-homing devices with the same function have faults.
(2) Fault diagnosis of single port devices
Fig. 3 shows a flow chart of a single communication interface device communication fault diagnosis method provided by the invention.
And for the single-port equipment, judging whether the sequence numbers of the data packets are continuous, and if not, judging that the network equipment has faults.
Specifically, the system redundancy is formed by two single communication interface devices, and the two redundant hot standby devices need to be connected to the network A and the network B respectively. The train fault diagnosis system receives the network A and the network B information of the two devices at the same time. For the same single-port device, the following steps are required for the data of each network: firstly, judging whether the packet sequence numbers of the data packets are continuous or not in the network layer, if the packet sequence numbers are discontinuous, indicating that packet loss occurs, and judging that the network equipment has a fault. For example, if the packet sequence number of the a-network packet acquired by the TDS1 is not continuous, the TDS1 is determined to be faulty.
The same principle as the above is adopted, and a multi-level diagnosis method is also adopted for the fault diagnosis of the single-port equipment.
And when the data received by the single-ended equipment from the network A and the network B are continuous, entering the next fault diagnosis process. Performing packet verification on the data packet, and if the A network data packet acquired by the TDS1 cannot pass the packet verification, failing to determine that the TDS1 fails; if the B-network data packet acquired by the TDS2 can not pass the packet verification, the TDS1 fails.
And if the packet check is passed, the next packet judgment is carried out. And judging whether the heartbeat information of the network equipment changes, if not, judging that the network communication fails, otherwise, judging that the network communication is normal. Furthermore, in order to avoid non-diagnosis of the fault condition of the network device, a time threshold may be set, and if the network device has no heartbeat change within the set time threshold range and exceeds the tolerance time, it is determined that the network device has a fault.
For the whole system, two hot standby redundant devices fail only when both the two devices have communication failures; if any device is in normal communication, the data receiving and transmitting function is normal, and the system is in normal communication.
(3) Trunk fault diagnosis
Furthermore, the fault diagnosis method further comprises the step of diagnosing the fault of the trunk network.
According to the sequence of the network communication flow, if the data communication between the first network equipment and the last network equipment on the network trunk is interrupted, the network trunk fault is judged. Specifically, a plurality of dual-homing devices or single-port devices are mounted on the redundant network, and taking the application of the train network as an example, the CCU1 and the CCU2 belong to a front-end device and a terminal device on the trunk network. The main road network failure is directly represented as the interruption of the head-to-tail vehicle CCU communication, namely, the communication terminal between the CCU1 and the CCU2 and the main CCU is in vehicle control at the same time, and the safety of vehicle operation is influenced. The specific diagnosis method comprises the following steps: under the condition that the function of the head car CCU1 is normal, when the communication between the head car CCU1 and all devices of the tail car is interrupted, and the A, B network judges the communication fault of the devices, the head car CCU1 can be judged to lose the control of the tail car and be a main line network fault. Since any failure of the trunk will cause all communications of the lead and tail vehicles to be interrupted, whether it occurs in any one of the plurality of consist trains. Conversely, communication between all devices between the tailgating CCU2 and the head car is interrupted, and vice versa. The judgment of the head-tail vehicle is logical or, and any occurrence is judged to be a main line network fault.
Furthermore, the present invention also provides various network device switching methods, which are based on the fault diagnosis and are used for switching when the network device is diagnosed as a fault.
The reasons for redundant switching are generally two: firstly, A, B network failure of a trunk, namely, a communication backbone network fails, so that the whole A or B network is not smooth in communication and a trust network needs to be switched; and secondly, a communication fault of the equipment end, namely a communication board card or a communication program of the equipment end is in fault, so that a single communication interface of the equipment cannot receive and transmit data, and the equipment needs to be switched to another normal communication interface. The new switching method is based on the dual-channel communication, the trust line is not simply switched from the bottom layer, but the signal acquisition line is switched after the judgment of a network layer and an application layer for many times.
As mentioned above, the redundant network comprises at least two dual-homed devices, and/or two single-port devices; one of the two dual-homing devices is a main dual-homing device, and the other of the two single-port devices is a main single-port device; the number of dual-homed devices and single-port devices may be set according to choice. The switching method is specifically as follows.
(1) Failover of dual homed devices
And if the two ports of the main dual-homing device are diagnosed to have faults, switching to other dual-homing devices. The redundant network at least comprises a plurality of groups of dual-homing devices, each group comprises at least two dual-homing devices, the two dual-homing devices execute the same function, and when two ports of the dual-homing devices both have faults, the dual-homing devices are switched to other dual-homing devices in the same group.
Fig. 4 shows a flowchart of a dual-homing device redundancy switching method provided by the present invention. Specifically, for a dual-homing device, a communication failure of a single network only causes a corresponding communication interface to lose network data; and data of another normal network can be transmitted and received through the corresponding communication interface in a full-functional way. Under the condition of the fault, the single communication interface can ensure the full-function operation of the dual-homing equipment, and the equipment end does not need to carry out redundancy switching.
If only one communication port fails, the other port can ensure the full-function operation of the dual-homing equipment, and the equipment end does not need to perform redundancy switching; if two communication ports fail simultaneously, the device loses function and needs to be switched to a redundant device for replacement.
(2) Failover of single port devices
And if the port of the main single-port equipment is diagnosed to have a fault, switching to other single-port equipment. The redundant network at least comprises a plurality of groups of single-port equipment, each group comprises at least two single-port equipment, the two single-port equipment execute the same function, and when the single-port equipment fails, the single-port equipment is switched to other single-port equipment in the same group.
Fig. 5 shows a flowchart of a single communication interface device redundancy switching method provided by the present invention. The system redundancy formed by two single communication interface devices, the communication failure of a single network, only causes the single communication device of the corresponding network to lose network data, and causes the communication failure of the device level; the data of another normal network can be received and transmitted by the redundant equipment of the corresponding network to carry out full-function substitution, and the full-function operation of the system can be ensured.
If only one communication port of the equipment fails, the equipment loses functions and needs to be switched to redundant equipment for replacement, and the other equipment can ensure the full-function operation of the system.
The invention further provides a network control system which comprises a network diagnosis subsystem and a switching subsystem.
The network diagnosis subsystem is used for diagnosing the network equipment faults and comprises the following steps:
a data packet acquisition module: the system comprises a data packet acquisition module, a data packet transmission module and a data packet transmission module, wherein the data packet acquisition module is used for acquiring a data packet received by a network device from a network trunk; specifically, for the dual-homing device, the data packet acquisition module acquires data acquired from a network A and a network B; for the single-port equipment, the data packet acquisition module acquires data acquired from the network A or the network B;
a data packet analysis module: the device is used for analyzing the continuity of the packet sequence numbers of the data packets; for the dual-homing device, analyzing the continuity of the data packet sequence numbers obtained from the network A and the network B; for the single-port equipment, analyzing the continuity of the serial numbers of the data packets obtained from the network A or the network B;
a fault diagnosis module: the method is used for diagnosing the network equipment fault, specifically, the method is used for generating a fault signal of the dual-homing equipment under the condition that packet serial numbers acquired by two ports of the dual-homing equipment are not continuous, and generating a fault signal of the single-ended equipment under the condition that report serial numbers acquired by the single-ended equipment are not continuous.
A communication diagnostic module: the network device is used for judging the smoothness of data communication between the first network device and the last network device on the network trunk; the fault diagnosis module is further used for diagnosing network trunk faults, and specifically generates a network trunk fault signal when data communication between a first network device and a last network device on a plurality of network trunks of the trunk faults is interrupted.
The switching subsystem is used for switching the network equipment when the network equipment fails, and specifically comprises:
a switching control module: and the network equipment is used for switching to other network equipment of the same type when the network equipment is diagnosed as a fault, and connecting the other network equipment of the same type with the network. As mentioned above, the redundant network includes multiple sets of dual-homing devices, each set including at least two dual-homing devices with the same function, and multiple sets of single-port devices, each set including at least two single-port devices with the same function. When the network equipment fails, the network equipment is switched to the dual-homing equipment or the single-port equipment in the same group so as to ensure the normal operation of the network system.
The diagnosis method of the network equipment provided by the invention can accurately position the fault equipment, efficiently complete the switching of the fault equipment and improve the running stability of the redundant network.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (9)

1. A network equipment fault diagnosis method is used for fault diagnosis of network equipment in a redundant network, and is characterized in that:
the redundant network includes: the network trunk comprises a first line and a second line; and at least one of the following network devices: the dual-homing equipment is respectively connected to the first line and the second line; single-port devices, each connected to line one or line two;
the fault diagnosis method comprises the following steps:
acquiring a data packet from a dual-network trunk received by network equipment;
for the dual-homing device, judging whether the packet serial numbers of the first line data packet and the second line data packet are continuous, if the serial numbers of the first line data packet or the second line data packet are discontinuous, judging the port fault of the network device for sending the discontinuous data packets, and if the serial numbers of the first line data packet and the second line data packet are discontinuous, judging the network device for sending the discontinuous data packets to be faulty;
and for the single-port equipment, judging whether the sequence numbers of the data packets are continuous, and if not, judging that the network equipment for sending the discontinuous data packets has faults.
2. The network device fault diagnosis method according to claim 1, wherein the fault diagnosis method further comprises:
and according to the extending sequence of the network trunk, if all data communication between the first network equipment and the last network equipment on the network trunk is interrupted, judging the network trunk fault.
3. The network device fault diagnosis method according to claim 1, wherein the fault diagnosis method further comprises:
if the data packet serial numbers obtained by the network equipment are all continuous, further executing the following steps:
for the dual-homing device, performing data verification on the line one data packet and the line two data packet, if the verification of the line one data packet or the line two data packet is not passed, judging a port fault corresponding to the data packet which is not passed through the verification, and if the verification of the line one data packet and the line two data packet is not passed, judging a network device fault for sending the data packet;
and for the single-port equipment, carrying out data verification on the data packet, and if the data packet is not verified, judging that the network equipment for sending the data packet has a fault.
4. The network device fault diagnosis method according to claim 3, wherein the fault diagnosis method further comprises: if the data packet of the network equipment passes the verification, further executing the following steps:
and judging whether the heartbeat signal of the network equipment continuously changes, and if not, judging that the network equipment has a fault.
5. The network equipment switching method is characterized in that the redundant network at least comprises two dual-homing equipment and/or two single-port equipment; one of the two dual-homing devices is a main dual-homing device, and the other of the two single-port devices is a main single-port device; the switching method comprises the following steps:
if the two ports of the main dual-homing device are diagnosed to have faults, switching to other dual-homing devices;
and if the port of the main single-port equipment is diagnosed to have a fault, switching to other single-port equipment.
6. The network device switching method of claim 5, wherein:
the redundant network at least comprises a plurality of groups of dual-homing devices, each group comprises at least two dual-homing devices, and when two ports of the dual-homing devices are in failure, the redundant network is switched to other dual-homing devices in the same group;
the redundant network at least comprises a plurality of groups of single-port equipment, each group comprises at least two single-port equipment, and when the single-port equipment fails, the redundant network is switched to other single-port equipment in the same group.
7. A network fault diagnosis system comprising a network diagnosis subsystem, the network diagnosis subsystem comprising:
a data packet acquisition module: the system comprises a data packet acquisition module, a data packet transmission module and a data packet transmission module, wherein the data packet acquisition module is used for acquiring a data packet received by a network device from a network trunk;
a data packet analysis module: the device is used for analyzing the continuity of the packet sequence numbers of the data packets;
a fault diagnosis module: the method is used for generating a fault signal of the dual-homing device under the condition that the packet serial numbers acquired by the two ports of the dual-homing device are not continuous, and generating a fault signal of the single-ended device under the condition that the packet serial numbers acquired by the single-ended device are not continuous.
8. The network fault diagnostic system of claim 7, further comprising:
a communication diagnostic module: the network device is used for judging the smoothness of data communication between the first network device and the last network device on the network trunk;
the fault diagnosis module is further configured to: and generating a network trunk fault signal when the data communication between the first network equipment and the last network equipment on the network trunk is interrupted due to the trunk fault.
9. The network fault diagnostic system of claim 7, wherein the control system further comprises:
a switching control module: and the method is used for switching to other network equipment of the same type when the network equipment is diagnosed as a fault.
CN202010002608.3A 2020-01-02 2020-01-02 Network equipment fault diagnosis method, switching method and fault diagnosis system Pending CN111131016A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010002608.3A CN111131016A (en) 2020-01-02 2020-01-02 Network equipment fault diagnosis method, switching method and fault diagnosis system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010002608.3A CN111131016A (en) 2020-01-02 2020-01-02 Network equipment fault diagnosis method, switching method and fault diagnosis system

Publications (1)

Publication Number Publication Date
CN111131016A true CN111131016A (en) 2020-05-08

Family

ID=70507435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010002608.3A Pending CN111131016A (en) 2020-01-02 2020-01-02 Network equipment fault diagnosis method, switching method and fault diagnosis system

Country Status (1)

Country Link
CN (1) CN111131016A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438115A (en) * 2021-07-02 2021-09-24 中车株洲电力机车研究所有限公司 Train Ethernet backbone network line fault diagnosis method, system and device
CN113805567A (en) * 2021-09-22 2021-12-17 中车株洲电力机车有限公司 MVB fault diagnosis method, train control unit and rail locomotive
CN114257498A (en) * 2020-09-22 2022-03-29 中车株洲电力机车研究所有限公司 Communication system, method and device for detecting redundancy failure of communication system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1556624A (en) * 2003-12-31 2004-12-22 П Adaptive selection method of data transmission mode in ethernet redundance network system
CN104125590A (en) * 2013-04-26 2014-10-29 富士通株式会社 Link fault diagnosis device and method thereof
CN108183779A (en) * 2017-12-22 2018-06-19 中国铁道科学研究院通信信号研究所 A kind of binary-channel redundancy data transmission processing method of railway signal CTC/TDCS systems
US20190140888A1 (en) * 2017-11-08 2019-05-09 Line Corporation Computer readable media, methods, and computer apparatuses for network service continuity management
CN109889369A (en) * 2019-01-08 2019-06-14 北京全路通信信号研究设计院集团有限公司 Multi-network redundant data transmission method
CN110597226A (en) * 2019-09-17 2019-12-20 中车青岛四方机车车辆股份有限公司 Abnormity early warning method and device for vehicle-mounted Ethernet

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1556624A (en) * 2003-12-31 2004-12-22 П Adaptive selection method of data transmission mode in ethernet redundance network system
CN104125590A (en) * 2013-04-26 2014-10-29 富士通株式会社 Link fault diagnosis device and method thereof
US20190140888A1 (en) * 2017-11-08 2019-05-09 Line Corporation Computer readable media, methods, and computer apparatuses for network service continuity management
CN108183779A (en) * 2017-12-22 2018-06-19 中国铁道科学研究院通信信号研究所 A kind of binary-channel redundancy data transmission processing method of railway signal CTC/TDCS systems
CN109889369A (en) * 2019-01-08 2019-06-14 北京全路通信信号研究设计院集团有限公司 Multi-network redundant data transmission method
CN110597226A (en) * 2019-09-17 2019-12-20 中车青岛四方机车车辆股份有限公司 Abnormity early warning method and device for vehicle-mounted Ethernet

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114257498A (en) * 2020-09-22 2022-03-29 中车株洲电力机车研究所有限公司 Communication system, method and device for detecting redundancy failure of communication system
CN114257498B (en) * 2020-09-22 2024-04-19 中车株洲电力机车研究所有限公司 Communication system, method and device for detecting redundancy failure of communication system
CN113438115A (en) * 2021-07-02 2021-09-24 中车株洲电力机车研究所有限公司 Train Ethernet backbone network line fault diagnosis method, system and device
CN113438115B (en) * 2021-07-02 2022-06-21 中车株洲电力机车研究所有限公司 Train Ethernet backbone network line fault diagnosis method, system and device
CN113805567A (en) * 2021-09-22 2021-12-17 中车株洲电力机车有限公司 MVB fault diagnosis method, train control unit and rail locomotive
CN113805567B (en) * 2021-09-22 2023-10-13 中车株洲电力机车有限公司 MVB fault diagnosis method, train control unit and rail locomotive

Similar Documents

Publication Publication Date Title
CN111131016A (en) Network equipment fault diagnosis method, switching method and fault diagnosis system
CN108183779B (en) Dual-channel redundant data transmission processing method of railway signal CTC/TDCS system
CN111891181B (en) Train network control system based on Ethernet
CN112887152B (en) Train communication network architecture and method based on Ethernet and rail train
US9043044B2 (en) System and method for communicating data in a consist
WO2010103564A1 (en) Transmission/reception device, transmission device, reception device, and data transmission/reception method
US9221472B2 (en) Means of transport and method for wired data transmission between two vehicles which are detachably connected to one another
CN106184286A (en) A kind of frequency shift modulated track circuit system
CN107248933A (en) A kind of method of the double main protection of rail traffic signal system
US7515545B2 (en) Signal repeater and switching device, method of detecting connecting relation between signal repeater and switching device and communication system
JP2005333724A (en) Information transmission system
CN112188420A (en) Method and system for identifying fault section of optical fiber multiplexing channel by using short message
CN109347712B (en) Network system based on rail transit
CN112901010B (en) Train door control network communication system
CN113114551B (en) Dual-redundancy LIN bus communication device
Barranco et al. ReCANcentrate: A replicated star topology for CAN networks
US11206174B2 (en) Method and system for diagnosis of failures in a communications network
CN113438115B (en) Train Ethernet backbone network line fault diagnosis method, system and device
CN116149301A (en) Fault diagnosis device and method and vehicle
CN114884767A (en) Synchronous dual-redundancy CAN bus communication system, method, equipment and medium
CN208971542U (en) A kind of network structure based on rail traffic
CN113805567B (en) MVB fault diagnosis method, train control unit and rail locomotive
US7170908B2 (en) System and method of selecting sources for a network element having redundant sources
JP2001286001A (en) Information transmission device for railcar
CN118337559A (en) Train networking system and method with high-reliability topological structure

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200508