CN101001192B - Method, system and equipment for protecting ring network link - Google Patents

Method, system and equipment for protecting ring network link Download PDF

Info

Publication number
CN101001192B
CN101001192B CN2007100009881A CN200710000988A CN101001192B CN 101001192 B CN101001192 B CN 101001192B CN 2007100009881 A CN2007100009881 A CN 2007100009881A CN 200710000988 A CN200710000988 A CN 200710000988A CN 101001192 B CN101001192 B CN 101001192B
Authority
CN
China
Prior art keywords
port
protocol massages
secondary port
described secondary
receive
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
CN2007100009881A
Other languages
Chinese (zh)
Other versions
CN101001192A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2007100009881A priority Critical patent/CN101001192B/en
Publication of CN101001192A publication Critical patent/CN101001192A/en
Priority to PCT/CN2007/002398 priority patent/WO2008089614A1/en
Application granted granted Critical
Publication of CN101001192B publication Critical patent/CN101001192B/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
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

This invention discloses a method for protecting ring network links including a main node and more than one transmission nodes, in which, said main node includes a primary port and a sub-port, and the method includes said main node transmits protocol messages to the transmission nodes from the main and sub-ports, if they have not received the messages in a certain period of time, said main node opens said sub-port. This invention also discloses a system and a device for ring link protection.

Description

A kind of method of protecting ring network link, system and equipment
Technical field
The present invention relates to the IP network technical field, relate in particular to a kind of method, system and equipment of protecting ring network link.
Background technology
Rapid ring protection protocol (Rapid Ring Protection Protocol; RRPP) be a link layer protocol that is specifically applied to Ethernet ring; when it can link failure occur on Ethernet ring, enable backup link rapidly to recover the communication path between each node on the looped network.
Use the Ethernet ring of RRPP agreement mainly to be made of a plurality of nodes, one of them is a host node, and other nodes are transmission node, and two ports of host node on ring are divided into Primary port and secondary port.Loop occurs for fear of looped network, the secondary port of host node is in closed condition usually, and secondary port can not the transmitting and receiving service message, but can receive and dispatch protocol massages.
In order to detect the link failure in the looped network, host node cycle ground sends agreement (HELLO) message of ring from master port, encircling under the complete situation, host node can receive the HELLO message that oneself sends on secondary port in some cycles, host node thinks that looped network is in good working condition like this, then keeps secondary port to be in closed condition to guarantee not have loop; If host node does not receive the HELLO message that oneself sends at secondary port in some cycles, think that then looped network is in malfunction, host node can open auxiliary port make it can the transmitting and receiving service message, send other transmission nodes renewals of message notifying simultaneously and transmit, data flow then switched on the backup link after transmission node upgraded and transmits.
In case the secondary port of host node receives the HELLO message that oneself sends, then think the looped network state that regains one's integrity, close secondary port at once, and send message and notify other nodes to refresh to transmit, transmission node upgrades to be transmitted the back data flow and switches back again on the original link.
In addition, when the link between node on the looped network or direct connected node breaks down, can trigger the down incident of node port, this node can initiatively send fault (link_down) message to host node immediately, when host node receives the fault message, think that also looped network is in malfunction, at once the open auxiliary port, send other transmission nodes renewals of message notifying simultaneously and transmit, data flow switched on the backup link after transmission node upgraded and transmits.
If fault recovery, the port of malfunctioning node can get up by UP, at this moment malfunctioning node can block this port temporarily, but this port can also transparent transmission RRPP protocol massages, host node can penetrate interim port blocked from the HELLO message that master port sends, in case the secondary port of host node receives the HELLO message that oneself sends, then think the looped network state that regains one's integrity, close secondary port at once, and send message and notify other nodes to open interim port blocked to refresh simultaneously and transmit, transmission node upgrades to be transmitted the back data flow and switches back again on the original link.
As seen, in the looped network that uses the RRPP agreement, host node does not receive the protocol massages that master port sends or receives two kinds of situations of fault message that transmission node sends at some cycles according to secondary port and detects the loop network link fault.
When certain bar link of transmission node breaks down, the forwarding chip fault of transmission node for example, caused the situation of one-way passage, promptly the master port from host node opens circuit toward the secondary port direction communication of host node, backward channel, perhaps the secondary port from host node opens circuit backward channel toward the master port direction communication of host node.At this moment when host node detects link failure, can the open auxiliary port make it can the transmitting and receiving service message.But owing to being exactly path originally from secondary port toward the master port direction or from master port toward secondary port direction, loop will appear in the open auxiliary port, the serious consequence that finally causes whole net to be paralysed.
Shown in Figure 1A, by node 1, node 2, node 3, in the looped network that is in normal condition that 4 four switches of node are formed, each switch has all enabled RRPP, and node 1 is set to host node, P is the master port of host node, and S is the secondary port of host node, and secondary port is closed in case the stop ring road;
Shown in Figure 1B, suppose that node 4 breaks down, unusual etc. as forwarding chip, cause node 3 obstructed, and node 4 is a path to the link of node 3, the single-pass phenomenon that node 4 arrives node 3 occurs to the link of node 4.When detecting looped network, host node is in malfunction, open auxiliary port S at once then, and this moment, secondary port S just can the transmitting and receiving service message, so had occurred the loop from secondary port to the master port direction in the looped network, and the serious consequence that whole net is paralysed may occur.
Summary of the invention
The embodiment of the invention provides a kind of method, system and equipment of protecting ring network link, in order to solve in the prior art in ethernet ring network, just secondary port is opened when host node detects link failure, and is caused the problem of communications loop.
The embodiment of the invention provides a kind of method of protecting ring network link; be applied in the ethernet ring network; this looped network comprises host node and more than one transmission node; described host node comprises Primary port and secondary port; described secondary port is in closed condition; can not the transmitting and receiving service message when this pair port is in closed condition and can receive and dispatch protocol massages, this method may further comprise the steps:
A. described host node sends protocol massages from described master port and described secondary port to transmission node respectively;
B. in the certain hour after sending protocol massages, described secondary port does not receive protocol massages that described master port sends and described master port when not receiving the protocol massages that described secondary port sends, and described host node is opened described secondary port.
The embodiment of the invention provides a kind of system of protecting ring network link, and this system comprises:
The host node equipment that comprises Primary port and secondary port, described secondary port is in closed condition, can not the transmitting and receiving service message when this pair port is in closed condition and can receive and dispatch protocol massages;
Described host node equipment is used for sending protocol massages from described master port and described secondary port to transmission node equipment respectively; In the certain hour after sending protocol massages, described secondary port does not receive protocol massages that described master port sends and described master port when not receiving the protocol massages that described secondary port sends, and opens described secondary port;
Transmission node equipment is used to receive the protocol massages that described master port sends, and sends this protocol massages to described secondary port; Receive the protocol massages that described secondary port sends, and send this protocol massages to described master port.
The embodiment of the invention provides a kind of host node equipment, comprise Primary port and secondary port, described secondary port is in closed condition, can not the transmitting and receiving service message when this pair port is in closed condition and can receive and dispatch protocol massages, this host node equipment links to each other with transmission node equipment, and this host node equipment also comprises:
Transmitting element is used for sending protocol massages from described master port and described secondary port to transmission node equipment respectively;
Fault detection unit is used in the certain hour after sending protocol massages, and described secondary port does not receive protocol massages that described master port sends and described master port when not receiving the protocol massages that described secondary port sends, and opens described secondary port.
Compared with prior art, in the embodiment of the invention, the host node of looped network sends protocol massages from its Primary port and secondary port to transmission node respectively, when described master port and described secondary port do not receive the protocol massages that transmission node sends in described certain hour after sending protocol massages, ability open auxiliary port, because Primary port and secondary port is not all received protocol massages on time, though mean and break down in the looped network but be not single-channel fault, open secondary port this moment, loop can not occur in the looped network; And do not receive protocol massages at one of them port of Primary port and secondary port on time, and another port when having received protocol massages on time, though mean in the looped network that what occur is single-channel fault, can not open secondary port this moment, otherwise loop can occur in the looped network, thereby may cause more serious consequence.As seen, the invention solves in the prior art host node and in a single day detect link failure and just the chromaffin body point is opened, and cause the problem of communications loop.
Description of drawings
Schematic diagram when Figure 1A for ethernet ring network in the prior art link failure does not take place;
Figure 1B is the schematic diagram when opening host node pair port in the prior art behind the ethernet ring network generation single-channel fault;
Fig. 2 is the method flow diagram in the embodiment of the invention;
Fig. 3 A is schematic diagram when link failure does not take place ethernet ring network in the embodiment of the invention one;
Fig. 3 B is the schematic diagram during ethernet ring network generation single-channel fault in the embodiment of the invention one;
Fig. 4 A is the schematic diagram when non-single-channel fault takes place ethernet ring network in the embodiment of the invention two;
Fig. 4 B is the schematic diagram when the secondary port of host node takes place to open behind the non-single-channel fault ethernet ring network in the embodiment of the invention two;
Fig. 5 A is the system configuration schematic diagram of the embodiment of the invention;
Fig. 5 B is the host node device structure schematic diagram in the embodiment of the invention system;
Fig. 6 is the device structure schematic diagram of the embodiment of the invention.
Embodiment
The method of a kind of protecting ring network link that the embodiment of the invention provides; in the method; host node sends protocol massages respectively from Primary port and secondary port; when not receiving protocol massages in the certain hour after Primary port and secondary port is sending protocol massages; host node is just opened secondary port; otherwise,, keep secondary port to be in closed condition for avoiding occurring loop.
The embodiment of the invention provides a kind of method of protecting ring network link; be applied to use in the ethernet ring network of RRPP agreement, this looped network mainly is made of a plurality of nodes, and one of them is a host node; other nodes are transmission node, and two ports of host node on ring are divided into Primary port and secondary port.Loop occurs for fear of looped network, the secondary port of host node is in closed condition usually, and secondary port can not the transmitting and receiving service message, but can receive and dispatch protocol massages.
Referring to Fig. 2, the specific implementation flow process of method that the embodiment of the invention provides is as follows:
Step 201: host node sends protocol massages from Primary port and secondary port respectively;
In the looped network that uses the RRPP agreement, in a single day host node enables RRPP, just send protocol massages respectively from Primary port and secondary port, cycle at regular intervals later on, host node all sends protocol massages respectively from Primary port and secondary port, when sending protocol massages, for Primary port and secondary port starts timer.Wherein, the protocol massages that sends from master port under the complete situation of looped network, can arrive the secondary port of host node at last by each transmission node in the looped network; After master port sent protocol massages, if within a certain period of time, secondary port did not receive this protocol massages, and then host node is thought link occurs fault.Equally, the protocol massages that sends from secondary port is under the complete situation of looped network, can arrive the master port of host node by each transmission node in the looped network at last, if within a certain period of time, master port does not receive this protocol massages, and then host node is also thought link occurs fault.
Step 202: when not receiving protocol massages in the certain hour of host node after Primary port and secondary port is sending protocol massages, just secondary port is opened;
This step comprises following three kinds of situations:
When not receiving protocol massages in the certain hour of master port after sending protocol massages, host node is thought link occurs fault, but open auxiliary port immediately not, but judge at first whether secondary port does not receive protocol massages in the certain hour after sending protocol massages yet, if, then mean and do not have one-way passage in the looped network, the detected link failure of host node is not a single-channel fault, this moment, host node was just opened secondary port, make it can the transmitting and receiving service message, send other transmission nodes renewals of message notifying simultaneously and transmit, data flow then switched on the backup link after transmission node upgraded and transmits; Otherwise mean the one-way passage that exists in the looped network from master port to secondary port direction, the detected link failure of host node is a single-channel fault, and do not open secondary port for fear of loop occurring this moment, but keep secondary port to be in closed condition, only with the timer zero clearing;
When not receiving protocol massages in the certain hour of secondary port after sending protocol massages, host node is thought link occurs fault, but open auxiliary port immediately not, but judge at first whether master port does not receive protocol massages in the certain hour after sending protocol massages yet, if, then mean and do not have one-way passage in the looped network, the detected link failure of host node is not a single-channel fault, this moment, host node was just opened secondary port, make it can the transmitting and receiving service message, send other transmission nodes renewals of message notifying simultaneously and transmit, data flow then switched on the backup link after transmission node upgraded and transmits; Otherwise mean the one-way passage that exists in the looped network from secondary port to the master port direction, the detected link failure of host node is a single-channel fault, and do not open secondary port for fear of loop occurring this moment, but keep secondary port to be in closed condition, only with the timer zero clearing;
When host node receives the link failure message that transmission node sends, also open auxiliary port immediately not, but judge that at first whether Primary port and secondary port does not receive protocol massages in the certain hour after sending protocol massages, if, then mean and do not have one-way passage in the looped network, the detected link failure of host node is not a single-channel fault, this moment, host node was just opened secondary port, make it can the transmitting and receiving service message, send other transmission nodes renewals of message notifying simultaneously and transmit, data flow then switched on the backup link after transmission node upgraded and transmits; Otherwise mean and exist from master port to secondary port direction in the looped network or one-way passage from secondary port to the master port direction, the detected link failure of host node is a single-channel fault, this moment is for fear of loop occurring, secondary port is not opened, but keep secondary port to be in closed condition, only with the timer zero clearing.
In this step, described certain hour, can be provided with and change, such as: can in host node, be respectively Primary port and secondary port timer is set, so, can also not receive protocol massages by master port when the timer expiry of master port, judge in the certain hour of master port after sending protocol massages and do not receive protocol massages, equally, can also not receive protocol massages by secondary port when the timer expiry of secondary port, judge in the certain hour of secondary port after sending protocol massages not receive protocol massages; Certainly, the Primary port and secondary port of host node can a shared timer, in this case, also do not receive protocol massages by master port when this timer expiry, judge in the certain hour of master port after sending protocol massages and do not receive protocol massages, equally, can also not receive protocol massages, judge in the certain hour of secondary port after sending protocol massages not receive protocol massages by secondary port when this timer expiry.
Step 203: after secondary port opened, when the master port of host node or secondary port receive the protocol massages that transmission node sends, close secondary port;
Here, after secondary port opened, when Primary port and secondary port receives protocol massages simultaneously, the looped network state that regains one's integrity, for preventing loop, need close secondary port, and send message and notify other transmission nodes to refresh to transmit, transmission node upgrades to be transmitted the back data flow and switches back again on the original link.And when master port or one of them port of secondary port receive protocol massages, owing to have only a port to receive protocol massages, this moment the looped network state that do not regain one's integrity, but communications loop has appearred, cause more serious consequence such as broadcast storm for fear of loop, also need secondary port shutdown, and send message and notify other transmission nodes to refresh to transmit.
With specific embodiment method provided by the invention is specifically described below:
Embodiment one:
Referring to Fig. 3 A, in the present embodiment, by node 1, node 2, node 3, in the looped network that is in normal condition that 4 four switches of node are formed, each switch has all enabled RRPP, and node 1 is set to host node, and P is the master port of host node, S is the secondary port of host node, and secondary port is closed to prevent loop;
Shown in Fig. 3 B, suppose that node 4 breaks down, cause node 3 obstructed, and node 4 is a path to the link of node 3 to the link of node 4.When host node detects looped network and is in malfunction, whether be single-channel fault in order to distinguish this fault, judge at first whether Primary port and secondary port does not all receive protocol massages at certain hour in the cycle.Because node 4 is a path to the link of node 3, the one-way passage that has occurred node 4->node 3->node 2->node 1 in the looped network, this moment, master port can receive the protocol massages that secondary port sends, therefore the detected link failure of host node is a single-channel fault, for fear of the communications loop that node 4->node 3->node 2->node 1->node 4 directions occur, secondary port is not opened, but kept secondary port to be in closed condition, only with the timer zero clearing.
Embodiment two:
Referring to Fig. 3 A, in the present embodiment, still by node 1, node 2, node 3, in the looped network that is in normal condition that 4 four switches of node are formed, each switch has all enabled RRPP, and node 1 is set to host node, and P is the master port of host node, S is the secondary port of host node, and secondary port is closed to prevent loop;
Shown in Fig. 4 A, suppose that node 3 and node 4 break down, cause node 3 obstructed to the link of node 3 to node 4 and node 4.When host node detects looped network and is in malfunction, whether be single-channel fault in order to distinguish this fault, judge at first whether Primary port and secondary port does not all receive protocol massages at certain hour in the cycle.Because node 3 is all obstructed to the link of node 3 to node 4 and node 4, there is not one-way passage in the looped network, this moment, master port and secondary end did not all receive protocol massages, therefore the detected link failure of host node is not a single-channel fault, so host node is opened its secondary port, make it can the transmitting and receiving service message, send other transmission nodes of message notifying simultaneously and upgrade and transmit, transmission node upgrades to be transmitted the back data flow and then switches on the backup link.At this moment, between four nodes, set up the communication path of service message transmission again, shown in Fig. 4 B.
Referring to Fig. 5 A, the embodiment of the invention also provides a kind of system of protecting ring network link, and this system comprises: comprise the host node equipment 501 of master port P and secondary port S, be used for sending protocol massages from described master port and described secondary port to transmission node equipment respectively; When described master port and described secondary port do not receive the protocol massages that transmission node equipment sends in described certain hour after sending protocol massages, open described secondary port; Transmission node equipment 502 is used to receive the protocol massages that described master port or described secondary port send, and sends this protocol massages to described secondary port or described master port.
Referring to Fig. 5 B, host node equipment 501 also comprises transmitting element 5011 and fault detection unit 5012, and wherein, transmitting element 5011 is used for sending protocol massages from described master port and described secondary port to transmission node equipment respectively; Fault detection unit 5012 when being used at described master port and described secondary port not receiving in the certain hour after transmitting element sends protocol massages the protocol massages that transmission node equipment sends, is opened described secondary port.
Transmitting element 5011 is used for that the cycle is sent protocol massages from described master port and described secondary port to transmission node equipment respectively at regular intervals.
Fault detection unit 5012 comprises first processing unit 50121, second processing unit 50122 and the 3rd processing unit 50123, wherein, first processing unit 50121, be used for when described master port does not receive the protocol massages that transmission node equipment sends in described certain hour after sending protocol massages, judge that whether described secondary port does not receive the protocol massages that transmission node equipment is sent in described certain hour after sending protocol massages, if then open described secondary port; Second processing unit 50122, be used for when described secondary port does not receive the protocol massages that transmission node equipment sends in described certain hour after sending protocol massages, judge that whether described master port does not receive the protocol massages that transmission node equipment is sent in described certain hour after sending protocol massages, if then open described secondary port; The 3rd processing unit 50123, be used for when receiving the fault message that transmission node equipment sends, judge that whether described master port and described secondary port do not receive the protocol massages that transmission node equipment is sent in described certain hour after sending protocol massages, if then open described secondary port.
Host node equipment 501 further comprises fault recovery unit 5013, is used for closing described secondary port when described master port or described secondary port receive the protocol massages that transmission node equipment sends.
Referring to Fig. 6, the embodiment of the invention also provides a kind of host node equipment, this equipment comprises master port P and secondary port S, can be applied in the system of protecting ring network link, link to each other with transmission node equipment, this equipment also comprises transmitting element 601 and fault detection unit 602, wherein, transmitting element 601 is used for sending protocol massages from described master port and described secondary port to transmission node equipment respectively; Fault detection unit 602 when being used at described master port and described secondary port not receiving in the certain hour after transmitting element sends protocol massages the protocol massages that transmission node equipment sends, is opened described secondary port.
Transmitting element 601 is used for that the cycle is sent protocol massages from described master port and described secondary port to transmission node equipment respectively at regular intervals.
Fault detection unit 602 comprises first processing unit, 6,021 second processing units 6022 and the 3rd processing unit 6023, wherein, first processing unit 6021, be used for when described master port does not receive the protocol massages that transmission node equipment sends in described certain hour after sending protocol massages, judge that whether described secondary port does not receive the protocol massages that transmission node equipment is sent in described certain hour after sending protocol massages, if then open described secondary port; Second processing unit 6022, be used for when described secondary port does not receive the protocol massages that transmission node equipment sends in described certain hour after sending protocol massages, judge that whether described master port does not receive the protocol massages that transmission node equipment is sent in described certain hour after sending protocol massages, if then open described secondary port; The 3rd processing unit 6023, be used for when receiving the fault message that transmission node equipment sends, judge that whether described master port and described secondary port do not receive the protocol massages that transmission node equipment is sent in described certain hour after sending protocol massages, if then open described secondary port.
This equipment further comprises fault recovery unit 603, is used for closing described secondary port when described master port or described secondary port receive the protocol massages that transmission node equipment sends.
In the present invention, host node can not receive protocol massages in the certain hour after sending protocol massages by master port or secondary port, perhaps detect link failure by receiving the fault message that transmission node sends, both can detect link failure, can also detect link failure from secondary port to the master port direction from master port to secondary port direction.But, after host node detects link failure, only under the situation that definite this link failure is not a single-channel fault, just enable backup link, the open auxiliary port, because the open auxiliary port can make looped network communications loop occur when single-channel fault, communications loop then may cause the serious adverse consequences such as broadcast storm.Here,, illustrate that then this link failure is not a single-channel fault if Primary port and secondary port does not all receive the protocol massages that transmission node is sent in the certain hour after sending protocol massages, can the open auxiliary port; If do not receive the protocol massages that transmission node is sent in the certain hour of one of them port of Primary port and secondary port after sending protocol massages, and receive the protocol massages that transmission node is sent in the certain hour of another port after sending protocol massages, illustrate that then this link failure is a single-channel fault, not the open auxiliary port.
This shows, adopt the present invention, can guarantee to occur under the situation of single-channel fault at the link of ethernet ring network, host node can not enabled backup link and secondary port is opened, thereby guaranteed communications loop can not occur in the looped network, and then avoided because the serious adverse consequences that communications loop caused such as broadcast storm.
Need to prove that when the present invention sold as software product independently or uses, the software of this invention correspondence can be stored in the computer read/write memory medium, and the function that can finish by this software of computer realization.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (19)

1. the method for a protecting ring network link; be applied in the ethernet ring network; this looped network comprises host node and more than one transmission node; described host node comprises Primary port and secondary port; described secondary port is in closed condition; can not the transmitting and receiving service message when this pair port is in closed condition and can receive and dispatch protocol massages, it is characterized in that this method may further comprise the steps:
A. described host node sends protocol massages from described master port and described secondary port to described transmission node respectively;
B. in the certain hour after sending protocol massages, described secondary port does not receive protocol massages that described master port sends and described master port when not receiving the protocol massages that described secondary port sends, and described host node is opened described secondary port.
2. the method for claim 1 is characterized in that, the cycle is sent protocol massages from described master port and described secondary port respectively to host node described in the steps A at regular intervals.
3. the method for claim 1 is characterized in that, step B comprises:
When described master port does not receive the protocol massages that transmission node sends in described certain hour after sending protocol massages, described host node judges that whether described secondary port does not receive the protocol massages that transmission node is sent in described certain hour after sending protocol massages, if then open described secondary port.
4. the method for claim 1 is characterized in that, step B comprises:
When described secondary port does not receive the protocol massages that transmission node sends in described certain hour after sending protocol massages, described host node judges that whether described master port does not receive the protocol massages that transmission node is sent in described certain hour after sending protocol massages, if then open described secondary port.
5. the method for claim 1 is characterized in that, step B comprises:
When described host node receives the fault message that transmission node sends, judge that whether described master port and described secondary port do not receive the protocol massages that transmission node is sent in described certain hour after sending protocol massages, if then open described secondary port.
6. the method for claim 1 is characterized in that, after described host node was opened described secondary port, this method further comprised among the step B:
When described host node receives the protocol massages that transmission node sends at described master port or described secondary port, close described secondary port.
7. the system of a protecting ring network link is characterized in that, this system comprises:
The host node equipment that comprises Primary port and secondary port, described secondary port is in closed condition, can not the transmitting and receiving service message when this pair port is in closed condition and can receive and dispatch protocol massages;
Described host node equipment is used for sending protocol massages from described master port and described secondary port to transmission node equipment respectively; In the certain hour after sending protocol massages, described secondary port does not receive protocol massages that described master port sends and described master port when not receiving the protocol massages that described secondary port sends, and opens described secondary port;
Transmission node equipment is used to receive the protocol massages that described master port sends, and sends this protocol massages to described secondary port; Receive the protocol massages that described secondary port sends, and send this protocol massages to described master port.
8. system as claimed in claim 7 is characterized in that, described host node equipment comprises:
Transmitting element is used for sending protocol massages from described master port and described secondary port to transmission node equipment respectively;
Fault detection unit is used in the certain hour after sending protocol massages, and described secondary port does not receive protocol massages that described master port sends and described master port when not receiving the protocol massages that described secondary port sends, and opens described secondary port.
9. system as claimed in claim 8 is characterized in that, described transmitting element is used for:
Cycle is sent protocol massages from described master port and described secondary port to transmission node equipment respectively at regular intervals.
10. system as claimed in claim 8 is characterized in that, described fault detection unit comprises:
First processing unit, be used for when described master port does not receive the protocol massages that transmission node equipment sends in described certain hour after sending protocol massages, judge that whether described secondary port does not receive the protocol massages that transmission node equipment is sent in described certain hour after sending protocol massages, if then open described secondary port.
11. system as claimed in claim 8 is characterized in that, described fault detection unit comprises:
Second processing unit, be used for when described secondary port does not receive the protocol massages that transmission node equipment sends in described certain hour after sending protocol massages, judge that whether described master port does not receive the protocol massages that transmission node equipment is sent in described certain hour after sending protocol massages, if then open described secondary port.
12. system as claimed in claim 8 is characterized in that, described fault detection unit comprises:
The 3rd processing unit, be used for when receiving the fault message that transmission node equipment sends, judge that whether described master port and described secondary port do not receive the protocol massages that transmission node equipment is sent in described certain hour after sending protocol massages, if then open described secondary port.
13. system as claimed in claim 8 is characterized in that, described host node equipment further comprises:
The fault recovery unit is used for closing described secondary port when described master port or described secondary port receive the protocol massages that transmission node equipment sends.
14. host node equipment, be applied in the ethernet ring network, comprise Primary port and secondary port, described secondary port is in closed condition, can not the transmitting and receiving service message when this pair port is in closed condition and can receive and dispatch protocol massages, this host node equipment links to each other with transmission node equipment, it is characterized in that, this host node equipment also comprises:
Transmitting element is used for sending protocol massages from described master port and described secondary port to transmission node equipment respectively;
Fault detection unit is used in the certain hour after sending protocol massages, and described secondary port does not receive protocol massages that described master port sends and described master port when not receiving the protocol massages that described secondary port sends, and opens described secondary port.
15. equipment as claimed in claim 14 is characterized in that, described transmitting element is used for:
Cycle is sent protocol massages from described master port and described secondary port to transmission node equipment respectively at regular intervals.
16. equipment as claimed in claim 14 is characterized in that, described fault detection unit comprises:
First processing unit, be used for when described master port does not receive the protocol massages that transmission node equipment sends in described certain hour after sending protocol massages, judge that whether described secondary port does not receive the protocol massages that transmission node equipment is sent in described certain hour after sending protocol massages, if then open described secondary port.
17. equipment as claimed in claim 14 is characterized in that, described fault detection unit comprises:
Second processing unit, be used for when described secondary port does not receive the protocol massages that transmission node equipment sends in described certain hour after sending protocol massages, judge that whether described master port does not receive the protocol massages that transmission node equipment is sent in described certain hour after sending protocol massages, if then open described secondary port.
18. equipment as claimed in claim 14 is characterized in that, described fault detection unit comprises:
The 3rd processing unit, be used for when receiving the fault message that transmission node equipment sends, judge that whether described master port and described secondary port do not receive the protocol massages that transmission node equipment is sent in described certain hour after sending protocol massages, if then open described secondary port.
19. equipment as claimed in claim 14 is characterized in that, this host node equipment further comprises:
The fault recovery unit is used for closing described secondary port when described master port or described secondary port receive the protocol massages that transmission node equipment sends.
CN2007100009881A 2007-01-17 2007-01-17 Method, system and equipment for protecting ring network link Active CN101001192B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2007100009881A CN101001192B (en) 2007-01-17 2007-01-17 Method, system and equipment for protecting ring network link
PCT/CN2007/002398 WO2008089614A1 (en) 2007-01-17 2007-08-10 A method, system and device for ring link protection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100009881A CN101001192B (en) 2007-01-17 2007-01-17 Method, system and equipment for protecting ring network link

Publications (2)

Publication Number Publication Date
CN101001192A CN101001192A (en) 2007-07-18
CN101001192B true CN101001192B (en) 2010-04-21

Family

ID=38693009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100009881A Active CN101001192B (en) 2007-01-17 2007-01-17 Method, system and equipment for protecting ring network link

Country Status (2)

Country Link
CN (1) CN101001192B (en)
WO (1) WO2008089614A1 (en)

Families Citing this family (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001192B (en) * 2007-01-17 2010-04-21 华为技术有限公司 Method, system and equipment for protecting ring network link
CN101163038B (en) * 2007-08-16 2010-06-02 中兴通讯股份有限公司 Ethernet equipment link protecting method
CN101127674B (en) * 2007-09-25 2011-11-30 中兴通讯股份有限公司 Initialization method for transmission nodes of Ethernet loop network system
CN101141333A (en) * 2007-10-12 2008-03-12 中兴通讯股份有限公司 Ethernet system host node slave port fault processing method
CN101262402B (en) * 2007-11-08 2011-08-10 北京东土科技股份有限公司 A method for realizing redundant backup between loop networks
CN101184013B (en) * 2007-12-13 2011-04-13 杭州华三通信技术有限公司 Method for preventing generation of loop, host node and system
CN101212366B (en) * 2007-12-21 2011-12-21 杭州华三通信技术有限公司 Failure detection method, system, and main node in Ethernet loop network
CN101227371B (en) * 2008-02-18 2011-06-22 中兴通讯股份有限公司 Method and apparatus of backup switch among same level switch equipments
CN101237319B (en) * 2008-02-20 2012-01-04 杭州华三通信技术有限公司 Time synchronization method in Ethernet ring network and Ethernet ring system
CN101227372B (en) * 2008-02-21 2010-09-08 杭州华三通信技术有限公司 Ether ring net protection method, transmission node and host node
CN101989934B (en) * 2009-08-06 2017-04-05 中兴通讯股份有限公司 A kind of data ring network fault detect and the method and system of positioning
CN101764731B (en) * 2009-12-09 2011-11-30 熊伟 Ethernet ring network algorithm switching method
CN102111317B (en) * 2009-12-25 2013-06-05 中兴通讯股份有限公司 Method, system and device for protecting controlled virtual local area network in Ethernet ring
CN101997724A (en) * 2010-11-22 2011-03-30 中兴通讯股份有限公司 Method and device for updating multicast forwarding entries
CN102291290A (en) * 2011-08-08 2011-12-21 浙江中控技术股份有限公司 Method and system for failure detection and connection of Ethernet ring network
CN102244600A (en) * 2011-08-12 2011-11-16 华为技术有限公司 Method and device for detecting and processing link failure in RRPP (Rapid Ring Protect Protocol) ring network
CN102710442B (en) * 2012-06-01 2014-12-10 中兴通讯股份有限公司 Management method of network management service port, communication device and communication system
CN103220201B (en) * 2013-04-24 2016-08-17 杭州华三通信技术有限公司 A kind of method and device of detection and protection of ring network faults
CN103973537B (en) * 2014-05-09 2017-06-27 杭州同尊信息技术有限公司 A kind of looped network with failure protection function and the fault protecting method for looped network
CN105223931B (en) * 2015-10-15 2018-02-09 固高科技(深圳)有限公司 Flexible manufacturing system and its communication system, communication means
CN105429892B (en) * 2015-10-29 2018-10-12 北京星网锐捷网络技术有限公司 A kind of method and apparatus of the anti-loops of Rail traffic network
CN106357832B (en) * 2016-08-24 2019-10-18 浙江宇视科技有限公司 Looped network address list item update mechanism method and device
CN108933732B (en) * 2017-05-23 2021-10-15 中国电信股份有限公司 Loop detection method, device and system
JPWO2019167175A1 (en) * 2018-02-28 2020-08-27 三菱電機株式会社 Communications system
CN110912815B (en) * 2018-09-14 2022-07-05 中兴通讯股份有限公司 Network element ring formation preventing method, device, equipment and readable storage medium
CN110098967B (en) * 2019-05-14 2022-08-12 浙江国利网安科技有限公司 Communication method, device, equipment and medium
CN111901216A (en) * 2020-09-01 2020-11-06 昆山尚尼司电子科技有限公司 Backup processing method and system for RS485 ring network
CN115550106A (en) * 2021-06-30 2022-12-30 中兴通讯股份有限公司 Control method of ring network node, network device and storage medium
CN113645312B (en) * 2021-08-25 2023-07-18 烽火通信科技股份有限公司 Sub-ring network link protection method and device based on ERPS protocol
CN115412424B (en) * 2022-08-17 2024-03-26 浪潮思科网络科技有限公司 Double-master device detection method and device in MLAG environment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1412977A (en) * 2001-10-10 2003-04-23 阿尔卡塔尔公司 Method for propagating fault information in RPR network and corresponding RPR data packet
CN1859220A (en) * 2006-06-07 2006-11-08 杭州华为三康技术有限公司 Method for backup of main station point and backup station point

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6766482B1 (en) * 2001-10-31 2004-07-20 Extreme Networks Ethernet automatic protection switching
CN100409634C (en) * 2006-01-23 2008-08-06 杭州华三通信技术有限公司 Fast ring network protecting method and system
CN101001192B (en) * 2007-01-17 2010-04-21 华为技术有限公司 Method, system and equipment for protecting ring network link
CN100534048C (en) * 2007-04-27 2009-08-26 中控科技集团有限公司 Distributed Ethernet system and method for inspecting fault based thereon

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1412977A (en) * 2001-10-10 2003-04-23 阿尔卡塔尔公司 Method for propagating fault information in RPR network and corresponding RPR data packet
CN1859220A (en) * 2006-06-07 2006-11-08 杭州华为三康技术有限公司 Method for backup of main station point and backup station point

Also Published As

Publication number Publication date
WO2008089614A1 (en) 2008-07-31
CN101001192A (en) 2007-07-18

Similar Documents

Publication Publication Date Title
CN101001192B (en) Method, system and equipment for protecting ring network link
EP2352253B1 (en) Method and apparatus for protecting link aggregation group of ethernet ring
CN101127674B (en) Initialization method for transmission nodes of Ethernet loop network system
CN101958831B (en) Ethernet ring network failure recovery method, Ethernet ring network and switching equipment
CN101662421B (en) Method and device for transmitting control message based on ethernet multi-ring network
CN100486204C (en) Multi-loop contact Ethernet loop network loop protection switchover method
CN101640622B (en) Ethernet ring net protection method and transit node
EP2207307B1 (en) Method for processing the failure of the slave port of the master node in an ethernet ring network system
AU2009295116B2 (en) Control method for protecting failure recovery of Ethernet ring and Ethernet ring nodes
CN101753397B (en) System, method and device for rapidly self-healing Ethernet ring
CN101094190B (en) Method for transmitting protective controlled message in Ethernet ring net
CN100454880C (en) Method and system of realizing rig network protection
CN101127675A (en) Initialization method for main nodes of Ethernet loop network system
CN101072155B (en) Single optical fiber fault processing method for Ethernet automatic protection system
CN101141366A (en) Method of preventing data loop in ring ethernet
CN103036756A (en) Hybrid looped network protection method and system based on sharing channel
CN101163059B (en) Network node detection method and apparatus
CN101621443B (en) Failure recovery method of Ethernet ring protection system
CN101547131A (en) EAPS looped network single-channel fault location and protection method
CN101425952B (en) Method and apparatus for ensuring Ether ring network reliable operation
EP2400697A1 (en) Implementation method for protocol channel in ethernet protection
JP2011223172A (en) Ring-type network system, communication apparatus and failure detection method
CN102932172A (en) Method, equipment and system for detecting Ethernet ring failure node
CN102208999A (en) Ethernet looped network link polymerization group protecting method and device
CN101345597B (en) Method and apparatus for implementing automatic laser cut-out of synchronization digital system equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant