Disclosure of Invention
In order to solve the problem that prior art is with high costs, unstable, the utility model discloses an automated control field provides the ethernet ring network organization and the fault monitoring method of a single net twine, realizes when reducing project wiring construction cost, the reliability and the stability of assurance system.
The technical scheme of the utility model is that: a fault monitoring system of single network cable Ethernet looped network comprises a looped network link head end device, a plurality of looped network link internal slave devices, a looped network link end device and a network cable; the ring network link head end equipment is provided with a network interface with double network cards; the network interface divides a network cable into two ring network ports; the slave equipment in the ring network link and the end equipment of the ring network link are respectively provided with an upstream network interface and a downstream network interface; and one ring network port is connected with the ring network link end equipment.
Specifically, the two ring network ports are respectively the 1 st, 2 nd, 3 th and 6 th network cables and the 4 th, 5 th, 7 th and 8 th network cables.
More specifically, the 4 th, 5 th, 7 th and 8 th network cables are connected with ring network link end equipment.
More specifically, the network cable access of the ring network link end device is as follows: connecting No. 1, 2, 3 and 6 network cables to the corresponding positions of the crystal heads and connecting the crystal heads to an upstream network interface; and connecting thenetwork cables 4, 5, 7 and 8 into thepositions 1, 2, 3 and 6 of the crystal heads, and connecting the network cables into a downstream network interface.
Specifically, the slave devices in the plurality of looped network links and the looped network link end device are connected in a hand-in-hand mode by using a network cable.
Compared with the prior art, the beneficial effects of the utility model are that: on the basis of realizing the communication function of accessing master and slave equipment, the communication disaster tolerance and self-healing capability of the system are enhanced, and the engineering quantity of the system applying the method is reduced by only using a single traditional network cable; the method can provide a new solution for data stream transmission, management, fault monitoring and fault tolerance for the field of automatic control monitoring application.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the protection scope of the present invention.
A fault monitoring system of single network line Ethernet looped netowrk, the system includes a looped netowrk periodic line head end apparatus 1, several looped netowrk periodic lineinterior slave units 2, looped netowrk periodicline end apparatus 3 and network line 4; the looped network link head end equipment 1 is provided with anetwork interface 5 with a double network card, and thenetwork interface 5 divides the 1 st, 2 nd, 3 th and 6 th network cables and 4 th, 5 th, 7 th and 8 th network cable into two looped network ports 6; theslave device 2 in the ring network link and the ring networklink end device 3 have the same structure; the network connection device is provided with anupstream network interface 5 and adownstream network interface 5 respectively, thenumbers 4, 5, 7 and 8 of network cables are connected in the ring networklink end equipment 3, and theslave equipment 2 in the ring network link is connected in a hand-in-hand mode by using the network cables 4; the internal structure of the ring networklink end equipment 3 is consistent with that of the ring networklink slave equipment 2, but the access mode of the network cable 4 is as follows: thenetwork lines 1, 2, 3 and 6 are connected to the corresponding positions of the crystal heads and are connected to theupstream network interface 5, and thenetwork lines 4, 5, 7 and 8 are connected to the positions of thecrystal heads 1, 2, 3 and 6 and are connected to thedownstream network interface 5.
The utility model discloses found a chain ethernet looped netowrk of constituteing by 2 crowds of a main many slave units, its key feature lies in utilizing the hand of single net twine 4 to lead hand chain connection, through the connection of the inside logic of equipment and physics in the link, forms the automatic communication network who has stronger disaster tolerance ability. Assume that a ring network link head-end device 1 is a, another B, C, D, E is a ring networklink slave device 2, and E is a ring networklink end device 3. As shown in fig. 1, the system connection method uses all 8 cables of the network cable 4 for the ring network link head end device a, and divides cables No. 1, 2, 3, 6, 4, 5, 7, 8 into two groups of network ports, which are assumed to be port one and port two, respectively. The slave B, C, D in the ring network link has twoindependent network interfaces 5, which are assumed to be interface one and interface two, respectively, and both interfaces perform controlled communication by usingnetwork lines 1, 2, 3, and 6, and physically connect thenetwork line interfaces 4, 5, 7, and 8 together inside. For the ring network link end equipment E, the internal design is completely consistent with that ofslave equipment 2 in other ring network links, the No. 1, 2, 3 and 6 wires of the network cables are pressed into the network connector in sequence and then connected into an equipment interface I, and the No. 4, 5, 7 and 8 wires are pressed into the No. 1, 2, 3 and 6 positions of the network connector and then connected into an equipment interface II, so that the connection of the ring network is completed.
Two groups of cables of No. 1, No. 2, No. 3 and No. 6 (channel I) and No. 4, No. 5, No. 7 and No. 8 (channel II) of the normal line sequence network cable form two independent channels, and the network cable 4 is connected into an upstream ring network interface (port I) and a downstream ring network interface (port II) of the equipment in a hand-in-hand topology manner. The inside of the equipment is directly connected with the first access port and the second channel of the second network cable 4 in an internal connection mode. And at the tail end position in the hand-in-hand connection topology, independently pressing the first channel and the second channel into the network crystal head, pressing thenetwork cables 4, 5, 7 and 8 into the positions of thecrystal heads 1, 2, 3 and 6, and connecting the first channel into a first port of thetail end equipment 3 and connecting the second channel into a second port of the equipment. At the head end position of the hand-in-hand connection topology, the host device sets the channel I as a transceiving mode, sets the channel II as a monitoring mode, if the channel II receives a response command response after sending a command, the normal work of all nodes on the ring network is indicated, if the channel II cannot receive any response after sending the command, or the slave device returns an interrupt command frame, the fault of the ring network node is indicated, the channel II can be switched into the transceiving mode in time, meanwhile, a check command is sent out on the channel I and the channel II, the position of the fault node is automatically judged through the step-by-step response of theslave device 2 in the ring network link, and the system connection topology is changed to realize the recovery.
The inside of the whole ring network controls all theslave devices 2 in the ring network link through the master device of the head end device 1 of the ring network link, and the data frame is divided into two formats of 'command' and 'inquiry'. Aiming at the command frame, the command frame is sent by the ring network link head end equipment 1, the upstream node continuously forwards the command frame to the downstream node after receiving the command frame, the downstream node sends a response to the upstream node, and the upstream node does not forward the command frame after receiving the response. Finally, the command is recycled by the main equipment; the command frame is sent by the ring network link head-end equipment 1, after the upstream node receives the command frame, the upstream node firstly responds to the node at the higher level, and then continuously sends the query frame to the downstream equipment. Finally, the query is recovered by the main equipment; the concrete explanation is as follows: the device A at the head end of the ring network link sends out the command, the device B in the ring network link receives the command, then the command is sent down and directly sent to the device C, the device B returns a command response to the device A after executing the command, and the command frame is transmitted to the device A continuously by the device E at the tail end of the ring network link, so that the cycle is completed. For the inquiry frame, the equipment 1A at the head end of the ring network link sends the inquiry frame to the equipment C, the equipment C receives the data and transmits the data to the downstream node equipment D, then the equipment C packages the inquiry data and transmits the inquiry data to the upstream node equipment B after processing, the equipment B transmits the data to the more upstream equipment, and then the equipment E at the tail end of the ring network link continuously transmits the inquiry frame to the equipment A, thereby completing the cycle.
Two data frames can be accompanied by aslave device 2 feature identification number, thereby realizing more accurate control.
In the abnormal state shown in fig. 2, if the upstream node cannot obtain the response data of the downstream node within the specified time after sending the query or command frame to the downstream node, or the ring network link head-end device 1 cannot receive the frame of the end node within the specified time, it is determined that the ring network is interrupted, and the slave device sends the interrupt command frame to the upper-level node; the concrete explanation is as follows: if a line between equipment C or B, C in the ring network cannot work normally due to a fault, after a data frame is sent from a head-end equipment 1 of a ring network link to equipment B, the equipment B sends the data frame to the equipment C, but cannot receive a response from the equipment C within a set time range, the line between the equipment C or B, C is considered to have the fault, and fault information is reported, after the equipment a receives the fault response, a fault checking command frame is directly sent to a tail-end equipment E through a port two, if the equipment E does not reply a signal within a specified time after sending, it can be judged that the line between B, C has the fault, and if the equipment a can receive the response from the equipment D, the fault of the equipment C is indicated.
The ring network link head end equipment 1 records after receiving the interrupt command frame, responds to the interrupt node, and uses the port to send data to the other end of the ring network, the ring network topology is changed into two long chains, and the interrupt node does not send data to the downstream node any more. If the interrupted node recovers normal operation after maintenance, the head-end equipment 1 sends a normal operation command to the ring network through the port to recover the ring network topology; the concrete explanation is as follows: after the fault is located, if theslave device 2 fails, the device a processes the fault record, and then sends a recovery command to theslave device 2 through the port one and the port two, respectively, to recover the system to the dual long-chain topology mode shown in fig. 3, where the two links are a- > B and a- > E- > D, respectively. If the line is in fault, the uninterrupted link part is continuously used to wait for maintenance. If the ring network is repaired after maintenance, a normal recovery command frame is sent through the equipment A, so that the whole ring network is recovered to a normal working state.
The preferred embodiments of the present invention disclosed above are intended only to help illustrate the present invention. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise embodiments disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and its practical application, to thereby enable others skilled in the art to best understand and utilize the invention.