CN100454880C - Method and system of realizing rig network protection - Google Patents

Method and system of realizing rig network protection Download PDF

Info

Publication number
CN100454880C
CN100454880C CNB2006101503910A CN200610150391A CN100454880C CN 100454880 C CN100454880 C CN 100454880C CN B2006101503910 A CNB2006101503910 A CN B2006101503910A CN 200610150391 A CN200610150391 A CN 200610150391A CN 100454880 C CN100454880 C CN 100454880C
Authority
CN
China
Prior art keywords
main ring
shared link
message
port
subring
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.)
Expired - Fee Related
Application number
CNB2006101503910A
Other languages
Chinese (zh)
Other versions
CN1960310A (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 CNB2006101503910A priority Critical patent/CN100454880C/en
Publication of CN1960310A publication Critical patent/CN1960310A/en
Application granted granted Critical
Publication of CN100454880C publication Critical patent/CN100454880C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention is used for solving the problem existed in the currently-used technology, which is the failure of primary ring can cause unreachable to the nodes in subring, and the recovery of primary ring loop can cause the instant storm. The method comprises: the edge nodes respectively monitor state of the shared link of primary ring and other links in the ring network, and according to their states decide if there are failure in the shared link of primary ring and other links; if yes, then allowing the port of one subring of current edge node to transmit message, and blocking other subring ports; if not, allowing all subring port to transmit message.

Description

A kind of method and system that realize looped network protection
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method and system that realize looped network protection.
Background technology
At present; rapid ring protection protocol (RRPP; Rapid Ring Protection Protocol) is applied to the link layer of Ethernet looped network; this agreement can prevent the broadcast storm that data loopback causes when the Ethernet looped network is complete, and can enable backup link rapidly to recover the communication path between each node on the looped network when the online link of Ethernet ring disconnects.Compare with Spanning-Tree Protocol (STP, Spanning Tree Protocol) agreement, the topological convergence speed of RRPP agreement very fast (being lower than 50ms), simultaneously, the node number is irrelevant on convergence time and the looped network.Wherein, the loop automatic protection switching in the RRPP agreement (Ethernet Automatic ProtectionSwitching) Rfc 3619 has stipulated the technology that the Ethernet looped network switches fast.
Think the situation of most of network applications based on an annular in Rfc 3619, under this simple environment, Rfc3619 can reach in 50 milliseconds of the flows and realizes switching by simplifying agreement, and need not finish switching again through convergence time by agreements such as STP.
The main realization mechanism of Rfc 3619 is: set a host node in looped network, the interface of host node on ring is provided with a master port and one and is in blocked state from port from port under the normal condition, only intercepts protocol massages; Master port regularly sends loop integrity detection message (promptly sending hello packet) and detects network condition, and is unusual if network occurs, and causes not receiving message from port at the appointed time, then thinks to switch to forwarding state from port by network failure.
Simultaneously, for other nodes in the looped network, under the situation that the port of node breaks down, this node sends and connects fault message to host node, makes host node can find network failure at once, and switches.Malfunctioning node recovers just often in looped network, node is in pre-recovery (preforwarding) state, at this moment, this node retransmission protocol message is not transmitted service message, detect network recovery up to host node, send looped network and recover message (promptly sending complete flush message), this node could recover forwarding state; Simultaneously, host node blocks from port, and switching is finished.
But, fail to consider the tangent situation of many rings among the above-mentioned Rfc 3619, as shown in Figure 1, looped network comprises two host node S1 and S6 among the figure, node S2 to S5, for this situation, Rfc 3619 does not provide effective solution to realize the quick switching of tangent rings.
In the prior art; the fast switching method that realizes tangent rings is: a plurality of tangent rings are divided into a main ring and a plurality of subring; each ring is gone up and is independently carried out Ethernet automatic protection switching (EAPS; EthernetAutomation Protect Switch) agreement, subring is used main ring as a passage.As shown in Figure 2, comprise main ring and two subrings among this figure, two nodes of main ring and the tangent link of subring are respectively fringe node S2 and fringe node S3.Regularly send main ring integrity checking message (promptly sending the edge-hello message) to another fringe node determines the situation of main ring as the subring link to a fringe node.If fringe node can't be received the edge-hello message in official hour, then send main ring fault message (promptly sending the major-fail message) to another fringe node.The port block that receives the major-fail message in the port of fringe node with this machine is to prevent the tangent loop that causes of many rings.Adopt this mode, situation for a plurality of subrings, when other links of the shared link of main ring and main ring all break down, as shown in Figure 2, two edge ports get clogged, cause the node in the subring unreachable, promptly unreachable for the subring fringe node S3 at host node S6 place, S2 is unreachable for host node S5 place subring node; And, adopt this method, send the state that main ring integrity checking message mode is checked main ring by fringe node, the switch speed of subring is subject to the return time of main ring integrity checking message, has influenced the switching of loop; And in the process that main ring recovers, whether subring can only detect main ring and recover by intercepting loop integrity detection message that host node sends, may cause instantaneous storm.
Summary of the invention
Embodiments of the present invention provide a kind of method and system that realize looped network protection, may cause the inaccessible problem of node in the subring when all breaking down in order to other links of the shared link that solves the main ring in the looped network in the prior art and main ring.
A kind of method that realizes looped network protection comprises the steps:
Fringe node is intercepted the state of other links of the shared link of main ring in the looped network and main ring respectively;
Described fringe node judges according to described state whether the shared link of main ring and other links of main ring all break down, if then allow a sub-central port of this fringe node to transmit message, and block remaining subring port; If not, then allow all subring ports to transmit message.
A kind of communicator comprises:
Be used to connect the main ring port of main ring link;
The subring port that is used for connexon loop chain road;
Be used for intercepting the unit of state of other links of the shared link of looped network main ring and main ring;
Be used for judging according to described state whether the shared link of main ring and other links of main ring all break down, and when other links of the shared link of main ring and main ring all break down, allow a sub-central port of this device to transmit outside the message, block the unit of remaining subring port.
A kind of communicator comprises:
Be used to connect the main ring port of main ring link;
The subring port that is used for connexon loop chain road;
Be used for intercepting the unit of state of other links of the shared link of looped network main ring and main ring;
Be used for just often sending main ring integrity checking message to main ring at the shared link of main ring, perhaps when other links of the shared link of main ring and main ring all break down, send main ring loop fault message, perhaps when the shared link that has only main ring breaks down, send the unit of shared link fault message to main ring to each subring port;
Be used for judging according to the state of other links of the shared link of main ring and main ring whether the shared link of main ring and other links of main ring all break down, and when other links of the shared link of main ring and main ring all break down, allow a sub-central port of communicator to transmit outside the message, block the unit of remaining subring port.
A kind of communication system comprises:
Host node is used to send looped network and recovers message, and carries out the loop switching according to loop circuit state;
Fringe node, be used for intercepting the state of other links of the shared link of looped network main ring and main ring, and outside the sub-central port transmission message that when other links of the shared link of judging main ring according to described state and main ring all break down, allows this device, block remaining subring port;
The assistant edge node, be used for intercepting the state of other links of the shared link of looped network main ring and main ring, and just often send main ring integrity checking message to main ring at the shared link of judging main ring according to described state, if send main ring loop fault message to each subring port when judging other links of the shared link of main ring and main ring and all breaking down, break down if judge the shared link of described main ring, then send shared link fault message to main ring.
Preferable, arbitrary link-recovery in the main ring shared link that described fringe node in the described communication system breaks down at the same time and other links of main ring just often changes the subring port that blocks in advance into and returns to form, and the subring port that the looped network that recovers message, subring at the looped network that receives main ring will return to form when recovering message in advance changes normal condition into.
Adopt technique scheme, when other links that flange node judges goes out the shared link of main ring and main ring all break down, allow except the sub-central port of this node, block all the other all subring ports, the inaccessible problem of subring node when not only having solved main ring and disconnecting has fully also avoided simultaneously producing instantaneous storm; And, adopt the technique scheme Edge node and assistant edge node to carry out loop and switch according to the state of other links of the shared link of main ring and main ring, accelerated switch speed; Edge node and assistant edge node sends main ring loop fault message to the subring port when other links of the shared link of main ring and main ring all break down, accelerated the switch speed of subring.
Description of drawings
Fig. 1 is the schematic diagram of looped network in the prior art;
Fig. 2 is the schematic diagram of tangent rings in the prior art;
Fig. 3 is the system configuration schematic diagram in the embodiment of the invention;
Fig. 4 is the structural representation of fringe node in the embodiment of the invention;
Fig. 5 is the structural representation of assistant edge node in the embodiment of the invention;
Fig. 6 is a processing schematic diagram of realizing Loop Protection in the embodiment of the invention;
Fig. 7 is the state machine diagram of Edge node and assistant edge node in the embodiment of the invention.
Embodiment
Fringe node in the present embodiment in the network is intercepted the state of other links of the shared link of main ring in the looped network and main ring respectively, and outside the sub-central port transmission message that when other links of the shared link of judging main ring according to described state and main ring all break down, allows this fringe node, block remaining subring port; Otherwise, allow all subring ports to transmit message.Simultaneously, the assistant edge node in the network is also intercepted the state of other links of the shared link of main ring in the looped network and main ring respectively.The shared link of judging main ring according to the described state that listens to when fringe node and/or assistant edge node is normal, then send main ring integrity checking message to main ring, if judge the shared link of main ring and other links of main ring all break down, then send main ring loop fault message to each subring port, break down if judge the shared link of described main ring, then send shared link fault message to main ring.Wherein, when described fringe node and/or assistant edge node are judged the shared link fault of main ring, by the message in the subring of main ring port transmission; If the shared link of main ring just often, then by the message in this shared link transmission subring.
Consult shown in Figure 3ly, the system in the present embodiment comprises: fringe node 310, assistant edge node 320, host node 330 and ordinary node 340 constitute loop network system by each node.Fringe node 310 is used for intercepting the state of other links of the shared link of looped network main ring and main ring, and outside the sub-central port transmission message that when other links of the shared link of judging main ring according to described state and main ring all break down, allows this device, block remaining subring port.Wherein, a described sub-central port minimum port of all subring port middle ports signs that is fringe node.Simultaneously, fringe node 310 also can just often send main ring integrity checking message to main ring at the shared link of judging main ring according to the shared link state of main ring, if send main ring loop fault message to each subring port when other links of judging the shared link of main ring and main ring according to other Link States of the shared link of main ring and main ring all break down, break down if judge the shared link of described main ring, then send shared link fault message to main ring.Assistant edge node 320 also is used for intercepting the state of other links of the shared link of looped network main ring and main ring, and just often send main ring integrity checking message to main ring at the shared link of judging main ring according to the shared link state of main ring, if send main ring loop fault message to each subring port when other links of judging the shared link of main ring and main ring according to other Link States of the shared link of main ring and main ring all break down, break down if judge the shared link of described main ring, then send shared link fault message to main ring.Host node 330 is used to initiate the network health detection messages of this node place ring, and network is carried out the loop integrity detection, and carries out the loop switching according to loop circuit state, and sends looped network recovery message when the link-recovery that breaks down.
Judge arbitrary link-recovery in other links of the main ring shared link that breaks down simultaneously and main ring when fringe node 310 and just often the subring port that blocks is changed in advance and return to form, the subring port that the looped network of initiating when the host node that receives main ring recovers will return to form in advance when looped network that the host node of message or subring initiates recovers message changes normal condition into.
Fringe node 310 and/or assistant edge node 320 receive connection fault message according to the main ring port of this node, or do not receive main ring integrity checking message in the preset time, then can judge other link failures of main ring; The shared link that detects main ring when fringe node 310 and/or assistant edge node 320 connects the shared link that disconnects or receive main ring and connects the shared link fault that the fault message is judged main ring.
Ordinary node 340 is used for receiving and sending message, and carries out respective handling according to message.
The structure of fringe node 310 can be consulted shown in Figure 4, comprising: communication unit 3101, judging unit 3102 and processing unit 3103.Communication unit 3101 comprises the port (not shown) that is used to connect the port of main ring link and is used for connexon loop chain road, communication unit 3101 is used for receiving the state message of looped network main ring and shared link, and receive and the transmission service message, and when other link simultaneous faultss of the shared link of main ring and main ring, send main ring loop fault message to each port of subring, when having only the shared link fault of main ring, send shared link fault message to main ring.Judging unit 3102 is used for judging according to the state message that communication unit 3101 receives the state of main ring and shared link.Processing unit 3103 is used for determining that according to the state of described main ring and shared link the message in the subring transmits from the shared link of main ring port or main ring, and when other links of the shared link of main ring and main ring all break down, allow a sub-central port message transmission outer, block all the other subring ports; And arbitrary link-recovery in other links of the shared link of the main ring that breaks down at the same time and main ring just often, the subring port that blocks changed in advance return to form, and when the looped network that receives the looped network recovery message of main ring, subring recovers message or main ring integrity detection message, change the subring port that returns to form in advance into normal condition.
The structure of assistant edge node 320 can be consulted shown in Figure 5, comprising: communication unit 3201 and processing unit 3202.Communication unit 3201 comprises the port (not shown) that is used to connect the port of main ring link and is used for connexon loop chain road, communication unit 3201 is used for receiving the state message of looped network main ring and shared link, and receive and the transmission service message, and when other link simultaneous faultss of the shared link of main ring and main ring, send main ring loop fault message to each port of subring, when having only the shared link fault of main ring, send shared link fault message to main ring.Processing unit 3202 is used for judging according to the described state message that communication unit 3201 receives the state of other links of the shared link of main ring and main ring, and determines the message from the shared link transmission subring of main ring port or main ring.
Consult shown in Figure 6ly, the processing of fringe node comprises the steps: when realizing looped network protection
Step 601, fringe node are intercepted the state of other links of the shared link of main ring and main ring, and judge according to this state whether the shared link of described main ring and other links of main ring break down, when other links of the shared link of main ring and main ring all break down, send main ring loop fault message to each subring port, if have only the shared link of main ring to break down, then send the shared link fault message of main ring to main ring.
Step 602, when other links of the shared link of main ring and main ring all break down, fringe node allows to block all the other subring ports outside the sub-central port message transmission, and by the message in the subring of main ring port transmission.
Step 603, a link-recovery in other links of the shared link of the main ring that breaks down simultaneously and main ring just often, fringe node changes the subring port that blocks in advance into and returns to form.
Step 604, recover just often when the main ring loop, when the looped network that the looped network that promptly receives main ring recovers message, subring recovers message or main ring integrity detection message, the subring port that fringe node will return to form in advance changes normal condition into, and by the message in the shared link transmission subring of main ring.
Below further specify by an instantiation.
Adopt Edge node and assistant edge node to intercept the state of other links of the shared link of main ring and main ring simultaneously, and according to the different action of described state generation, realize the quick switching of tangent rings, only when other links of the shared link of main ring and main ring all break down, remove and allow a sub-central port message transmission, block remaining subring port, the inaccessible problem of subring node when not only having avoided the main ring loop fault, and can prevent the tangent loop that causes of many rings simultaneously.Loop recovers message or main ring integrity detection message all can change the subring port that returns to form in advance into normal condition when fringe node receives, and produces instantaneous storm in the process of having avoided the main ring loop to recover.
System configuration in this example is with reference to shown in Figure 3, and the classification of each node comprises: host node, fringe node, assistant edge node and ordinary node.Wherein, host node can be the host node of main ring or subring, this node regularly carries out the loop circuit state detection from the master port transmission loop integrity detection message of this node, and under the normal situation of loop circuit state, block this node from port, be in blocked state from port and only monitor the RRPP protocol massages, shield other all messages, when being in opening, allow other messages to pass through.Fringe node is the node that main ring and subring are intersected, this node is under main ring breaks down situation about disconnecting fully, be that other links of the shared link of main ring and main ring are when all having fault, allow outside the sub-central port message transmission, all the other subring ports that block this node, simultaneously, each the subring port from this node sends main ring loop fault message; And this node sends main ring shared link fault message to the main ring port when judging the shared link fault of main ring.The assistant edge node is another node that main ring and subring are intersected, and when this node all has fault at other links of the shared link of main ring and main ring, sends main ring loop fault message from each subring port of this node; And this node sends main ring shared link fault message to the main ring port when judging the shared link fault of main ring.Removing the outer node of above-mentioned three kinds of nodes in the loop is ordinary node.
Each node port state description is as follows:
Host node forbid that all service messages pass through from port status during for blocked state, but the protocol massages of intercepting RRPP and handles this message sending processor, do not transmit.Simultaneously, transparent transmission loop integrity checking message; When port is in open state, allow service message to pass through, intercept the protocol massages of RRPP simultaneously, and this message sending processor is handled, do not transmit, but transparent transmission loop integrity checking message.
Host node on the main ring is only intercepted the protocol massages of main ring, and the host node in the subring is only intercepted the protocol massages in the subring.
Automatically normally E-Packet during the port normal condition of ordinary node, in port breaks down recovery process, be in the service message of not transmitting when returning to form in advance except that the RRPP protocol massages.The port of the ordinary node on the main ring is in the RRPP protocol massages that can intercept and transmit subring when returning to form in advance.
The port status of the ordinary node on the main ring port status of fringe node and the main ring is identical, but edge shared port, i.e. the RRPP protocol massages that returns to form in advance and can not transmit subring of the port that is connected with the assistant edge node.The subring port status of fringe node blocks all messages during for blocked state, comprises the RRPP protocol massages; The group central port is not transmitted the service message except that the RRPP message when returning to form in advance, normally E-Packets after recovering normally.
The port status of the ordinary node on the main ring port status of assistant edge node and the main ring is identical, but edge shared port, i.e. the RRPP protocol massages that returns to form in advance and can not transmit subring of the port that is connected with fringe node.The state of ordinary node is identical in the subring port status of assistant edge node and the subring.
Each type of message can be consulted shown in the table 1.
Table 1
Message Explanation
HEALTH (HELLO) Health detection message is initiated by host node, and network is carried out the loop integrity detection.
LINK-DOWN Send during port failure on the node except that the edge shared port, be used to notify the host node loop fault of main ring.Also can send to subring when other link simultaneous faultss of the shared link of main ring and main ring by fringe node or edge auxiliary node.
EDGE_LINK_DOWN During the shared link fault of main ring, promptly send on main ring by fringe node or assistant edge node during edge shared port fault.
EDGE-HELLO Main ring integrity checking message is sent to main ring when the shared link fault-free of main ring by Edge node and assistant edge node, and subring can be by the loop integrality of its territory, place main ring of this message audit.
COMPLETE-FLUSH-FDB Looped network recovers to refresh the FDB message, is initiated notice ordinary node, fringe node or assistant edge node by host node
Upgrade mac address forwarding table separately, notify node to decontrol interim port blocked simultaneously.
The HELLO timer is set on host node, Edge node and assistant edge node, default time 1 second, during timer expiry, host node outwards sends the HELLO message from master port, and Edge node and assistant edge node outwards sends the EDGE-HELLO message from the main ring port when the HELLO timer expired.When continuous two HELLO times of host node do not receive HELLO or host node and receive LINK-DOWN and then think network failure, revising from port be pre-recovery forwarding state.Continuous two EDGE-HELLO times of fringe node are not received the EDGE-HELLO message, then judge the main ring fault.If ordinary node is in pre-recovery preforwarding state, do not receive that at two hello timers the complete-flush-fdb message then moves back normal state.When the port of the ordinary node of main ring was in pre-recovery preforwarding state, the complete flush message of main ring or subring can make port change normal normal state into from pre-recovery preforwarding.
Wherein, the host node on the main ring is only intercepted the protocol massages of main ring, and the host node in the subring is only intercepted the protocol massages in the subring.Can not transmit the protocol massages of subring when the shared link of fringe node is in pre-recovery pre-forwarding state, during subring port block Block_all state, block all messages, comprise the RRPP protocol massages; When the subring port is in pre-recovery Pre-forwardind state, do not transmit the service message except that the RRPP message, when the group central port is in normal Normal state, normally E-Packet.
Be illustrated in figure 7 as the state machine that fringe node is provided with according to the state of the shared link of main ring and other links except that shared link, this state machine comprises state: the main ring loop is normal, main ring disconnects, main ring disconnects and shared link fault, shared link fault.Wherein, the main ring loop normally shows does not have fault on the main ring, and the RRPP message in the subring is by the shared link transmission of main ring; Main ring disconnects and shows that fault has appearred in main ring other links except that shared link, and the RRPP message in the subring transmits by shared link; Main ring disconnects and the shared link fault shows that fault has all appearred in the shared link of main ring and other links of main ring, and the RRPP message in the subring is by the main ring port transmission; RRPP message during the shared link fault in the subring is by the main ring port transmission; Fringe node produces different actions respectively according to various state-transition.When fringe node when (being the LINK-DOWM message) or two main ring integrity checking messages are not received the main ring integrity checking message (shown in label Fig. 7 1) that the assistant edge node sends in the time from the main ring port snooping to main ring link failure message, fault has appearred in other links of judging in the main ring, the state machine of fringe node is converted to the main ring off-state from main ring loop normal condition, if listen to shared link fault (shown in label among Fig. 7 5) then be converted to the shared link malfunction from main ring loop normal condition.When the state machine of fringe node is the main ring off-state, if the main ring port receives the main ring integrity checking message (shown in label among Fig. 7 8) of assistant edge node transmission then reverts to main ring loop normal condition; If detect the shared link fault or receive the shared link fault message (shown in label among Fig. 7 2) that the assistant edge node sends, then changing main ring into by the main ring off-state disconnects and the shared link malfunction, simultaneously, send main ring fault message from each subring port, and keep a sub-central port and carry out blocking all the other all subring ports outside message transmits.When the state machine of fringe node is main ring disconnection and shared link malfunction, recover message (shown in label among Fig. 7 9) and will change main ring loop normal condition into if receive loop that the host node of main ring sends, and the subring port that blocks is reverted to open state; Recover message (shown in label among Fig. 7 3) then change state machine state into the shared link malfunction if receive loop that the subring host node sends, simultaneously the subring port that blocks is reverted to open state; Return to form if listen to that shared link recovers normal (shown in label among Fig. 7 7) then the subring port that blocks changed in advance, and change state machine state into the main ring off-state.When the state machine of fringe node is the shared link malfunction, recovers normal (shown in label among Fig. 7 4) then change state machine state into main ring loop normal condition if listen to shared link; If (being the LINK-DOWM message) or two main ring integrity checking messages are not received the main ring integrity checking message (shown in label Fig. 7 6) that the assistant edge node sends in the time from the main ring port snooping to main ring loop fault message, judge that fault has also appearred in the link of other except that shared link in the main ring, the state machine of fringe node changes main ring into from the shared link malfunction and disconnects and the shared link malfunction, simultaneously, send main ring fault message from each subring port, and keep a sub-central port and carry out blocking all the other all subring ports outside message transmits.Subring port that can selecting side slogan minimum during fringe node occluder central port does not block.
The state machine of assistant edge node also can be with reference to state shown in Figure 7, and this state machine comprises state: the main ring loop is normal, main ring disconnects, main ring disconnects and shared link fault, shared link fault.Wherein, the main ring loop normally shows does not have fault on the main ring, and the RRPP message in the subring transmits by shared link; Main ring disconnects and shows that fault has appearred in main ring other links except that shared link, and the RRPP message in the subring transmits by shared link; Main ring disconnects and the shared link fault shows that fault has also appearred in shared link and other links except that shared link on the main ring, and the RRPP message in the subring passes through the main ring port transmission; RRPP message during the shared link fault in the subring is by the main ring port transmission; The assistant edge node produces different actions respectively according to various state-transition.When the assistant edge node from the main ring port snooping to main ring link failure message (being the LINK-DOWM message) or two main ring integrity checking messages do not receive the main ring integrity checking message (shown in label Fig. 7 1) that fringe node sends in the time, judge then that fault has appearred in the link of other except that shared link in the main ring, the state machine of assistant edge node is converted to main ring from main ring loop normal condition and disconnects; If listen to shared link fault (shown in label among Fig. 7 5) then normally be converted to the shared link fault from the main ring loop.When the state machine of assistant edge node is the main ring off-state,, then revert to main ring loop normal condition if the main ring port receives the main ring integrity checking message (as 8 indications of label among Fig. 7) that fringe node sends; If listen to the shared link fault or receive the shared link fault message (shown in label among Fig. 7 2) that fringe node sends, then disconnect and change main ring disconnection and shared link malfunction into by main ring, simultaneously, send main ring fault message from each subring port.When the state machine of assistant edge node is main ring disconnection and shared link malfunction,, then state machine state is changed into main ring loop normal condition if receive the loop recovery message (shown in label among Fig. 7 9) that the host node of main ring sends; Recover message (shown in label among Fig. 7 3) if receive the loop that the host node of loop integrity checking message that fringe node sends or subring sends, then change the shared link malfunction into; Recover normal (shown in label among Fig. 7 7) if listen to shared link, then state machine state changes the main ring off-state into.When the state machine of fringe node is the shared link malfunction, recover normal (shown in label among Fig. 7 4) if listen to shared link, then state machine state is changed into main ring loop normal condition; If (being the LINK-DOWM message) or two main ring integrity checking messages are not received the main ring integrity checking message (shown in label Fig. 7 6) that the assistant edge node sends in the time from the main ring port snooping to main ring loop fault message, judge that fault has also appearred in the link of other except that shared link in the main ring, the state machine of fringe node changes main ring into from the shared link malfunction and disconnects and the shared link malfunction, simultaneously, send main ring fault message from each subring port.
Fringe node allows a sub-central port not block when other links of the shared link of main ring and main ring all break down among the above embodiment, and the inaccessible problem of subring has also been avoided instantaneous storm simultaneously when having solved main ring and disconnecting fully; Simultaneously, intercept the state of other links of main ring shared link and main ring at Edge node and assistant edge node and initiatively find the state of main ring loop, thereby accelerated switch speed.
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 (16)

1, a kind of method that realizes looped network protection is characterized in that, comprises the steps:
Fringe node is intercepted the state of other links of the shared link of main ring in the looped network and main ring respectively;
Described fringe node judges according to described state whether the shared link of main ring and other links of main ring all break down, if then allow a sub-central port of this fringe node to transmit message, and block remaining subring port; If not, then allow all subring ports to transmit message.
2, the method for claim 1 is characterized in that, described fringe node is judged after whether other links of the shared link of main ring and main ring all break down according to described state and also comprised the steps:
Described fringe node is normal if judge the shared link of main ring, then send main ring integrity checking message to main ring, if judge the shared link of main ring and other links of main ring all break down, then send main ring loop fault message to each subring port, if judge and have only the shared link of described main ring to break down, then send shared link fault message to main ring.
3, method as claimed in claim 1 or 2 is characterized in that, also comprises:
The assistant edge node is intercepted the state of other links of the shared link of main ring in the looped network and main ring respectively;
Described assistant edge node is normal if judge the shared link of main ring, then send main ring integrity checking message to main ring, if judge the shared link of main ring and other links of main ring all break down, then send main ring loop fault message to each subring port, if judge and have only the shared link of described main ring to break down, then send shared link fault message to main ring.
4, method as claimed in claim 3 is characterized in that, when described fringe node and/or assistant edge node are judged main ring shared link fault, by the message in the subring of main ring port transmission.
5, method as claimed in claim 3, it is characterized in that, described fringe node and/or assistant edge node receive at the main ring port of this node and connect the fault message, or when not receiving main ring integrity checking message within the predetermined time, judge other link failures of main ring.
6, method as claimed in claim 3 is characterized in that, disconnects or receives shared link when connecting the fault message when described fringe node and/or assistant edge node detection connect to shared link, judges the shared link fault.
7, the method for claim 1 is characterized in that, the arbitrary link-recovery in other links of main ring shared link that breaks down simultaneously and main ring just often, described fringe node changes the subring port that blocks in advance into and returns to form.
8, method as claimed in claim 7 is characterized in that, when the looped network that the looped network that described fringe node receives main ring recovers message or subring recovers message, changes the described subring port that returns to form in advance into normal condition.
9, the method for claim 1 is characterized in that, the minimum port of all subring port middle port signs that a described sub-central port is a fringe node.
10, a kind of communicator is characterized in that, comprising:
Be used to connect the main ring port of main ring link;
The subring port that is used for connexon loop chain road;
Be used for intercepting the unit of state of other links of the shared link of looped network main ring and main ring;
Be used for judging according to described state whether the shared link of main ring and other links of main ring all break down, and when other links of the shared link of main ring and main ring all break down, allow a sub-central port of this device to transmit outside the message, block the unit of remaining subring port.
11, device as claimed in claim 10 is characterized in that, also comprises:
Be used for just often sending main ring integrity checking message to main ring according to preset time at the shared link of main ring, perhaps when other links of the shared link of main ring and main ring all break down, send main ring loop fault message, perhaps only when the shared link of main ring breaks down, send the unit of shared link fault message to main ring to each subring port.
12, as claim 10 or 11 described devices, it is characterized in that, also comprise:
Be used for just often the message in the subring being transmitted by shared link, when judging the shared link fault of main ring, the message in the subring passed through the unit of main ring port transmission at the shared link of judging main ring.
13, device as claimed in claim 10 is characterized in that, also comprises:
Arbitrary link-recovery of the main ring shared link that is used for breaking down at the same time and other links of main ring just often changes the subring port that blocks in advance into and returns to form, and the subring port that the looped network that recovers message or subring at the looped network that receives main ring will return to form when recovering message in advance changes the unit of normal condition into.
14, a kind of communicator is characterized in that, comprising:
Be used to connect the main ring port of main ring link;
The subring port that is used for connexon loop chain road;
Be used for intercepting the unit of state of other links of the shared link of looped network main ring and main ring;
Be used for just often sending main ring integrity checking message to main ring at the shared link of main ring, perhaps when other links of the shared link of main ring and main ring all break down, send main ring loop fault message, perhaps when the shared link of main ring breaks down, send the unit of shared link fault message to main ring to each subring port;
Be used for judging according to the state of other links of the shared link of main ring and main ring whether the shared link of main ring and other links of main ring all break down, and when other links of the shared link of main ring and main ring all break down, allow a sub-central port of communicator to transmit outside the message, block the unit of remaining subring port.
15, a kind of communication system is characterized in that, comprising:
Host node is used to send looped network and recovers message, and carries out the loop switching according to loop circuit state;
Fringe node, be used for intercepting the state of other links of the shared link of looped network main ring and main ring, and outside the sub-central port transmission message that when other links of the shared link of judging main ring according to described state and main ring all break down, allows this device, block remaining subring port;
The assistant edge node, be used for intercepting the state of other links of the shared link of looped network main ring and main ring, and just often send main ring integrity checking message to main ring at the shared link of judging main ring according to described state, if send main ring loop fault message to each subring port when judging other links of the shared link of main ring and main ring and all breaking down, break down if judge the shared link of described main ring, then send shared link fault message to main ring.
16, system as claimed in claim 15, it is characterized in that, arbitrary link-recovery in the main ring shared link that described fringe node breaks down at the same time and other links of main ring just often changes the subring port that blocks in advance into and returns to form, and the subring port that the looped network that recovers message or subring at the looped network that receives main ring will return to form when recovering message in advance changes normal condition into.
CNB2006101503910A 2006-11-01 2006-11-01 Method and system of realizing rig network protection Expired - Fee Related CN100454880C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101503910A CN100454880C (en) 2006-11-01 2006-11-01 Method and system of realizing rig network protection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101503910A CN100454880C (en) 2006-11-01 2006-11-01 Method and system of realizing rig network protection

Publications (2)

Publication Number Publication Date
CN1960310A CN1960310A (en) 2007-05-09
CN100454880C true CN100454880C (en) 2009-01-21

Family

ID=38071811

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101503910A Expired - Fee Related CN100454880C (en) 2006-11-01 2006-11-01 Method and system of realizing rig network protection

Country Status (1)

Country Link
CN (1) CN100454880C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101302815B1 (en) * 2009-08-28 2013-09-02 지티이 코포레이션 Method and system for blocking protocol messages at a sub-ring control channel without virtual channel

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110823B (en) * 2007-08-17 2011-12-07 中兴通讯股份有限公司 Method for maintaining consistency of periodic line state between transfer signaling layers
CN101465813B (en) * 2009-01-08 2011-09-07 杭州华三通信技术有限公司 Method for switching main and standby links, ring shaped networking and switching equipment
CN101557333B (en) * 2009-05-18 2011-12-28 杭州华三通信技术有限公司 Processing method of loop fault in dual-homing networking and node device
CN101986615B (en) * 2010-11-09 2014-11-05 中兴通讯股份有限公司 Multiple-ring Ethernet and protection method thereof
CN102170384B (en) * 2011-04-15 2014-06-11 杭州华三通信技术有限公司 Method for processing faults of intersected Ethernet ring and nodes
WO2014199471A1 (en) * 2013-06-12 2014-12-18 三菱電機株式会社 Communication system, communication device, and protection method
CN105281936B (en) * 2014-07-08 2019-02-12 上海博达数据通信有限公司 A kind of network structure for realizing loop network link backup based on more ethernet ring networks
CN105591860B (en) * 2015-09-25 2019-03-12 新华三技术有限公司 Looped network protecting method and device based on RRPP
CN113645312B (en) * 2021-08-25 2023-07-18 烽火通信科技股份有限公司 Sub-ring network link protection method and device based on ERPS protocol
CN114584421A (en) * 2022-02-18 2022-06-03 新华三技术有限公司 Communication method and device

Citations (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
US20050169629A1 (en) * 2004-01-30 2005-08-04 Fujitsu Limited Diagnosis method for standby system of optical ring network
CN1812361A (en) * 2006-01-23 2006-08-02 杭州华为三康技术有限公司 Fast ring network protecting method and system
CN1812359A (en) * 2005-01-25 2006-08-02 华为技术有限公司 Loop network protection controlling method

Patent Citations (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
US20050169629A1 (en) * 2004-01-30 2005-08-04 Fujitsu Limited Diagnosis method for standby system of optical ring network
CN1812359A (en) * 2005-01-25 2006-08-02 华为技术有限公司 Loop network protection controlling method
CN1812361A (en) * 2006-01-23 2006-08-02 杭州华为三康技术有限公司 Fast ring network protecting method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
以太网自动保护交换技术的研究. 丁祥郭,张艳.福建电脑,第12期. 2005
以太网自动保护交换技术的研究. 丁祥郭,张艳.福建电脑,第12期. 2005 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101302815B1 (en) * 2009-08-28 2013-09-02 지티이 코포레이션 Method and system for blocking protocol messages at a sub-ring control channel without virtual channel
US8649261B2 (en) 2009-08-28 2014-02-11 Zte Corporation Method and system for blocking protocol messages at a sub-ring control channel without virtual channel

Also Published As

Publication number Publication date
CN1960310A (en) 2007-05-09

Similar Documents

Publication Publication Date Title
CN100454880C (en) Method and system of realizing rig network protection
CN100401712C (en) Fault treating method for phase switching loop of automatic protection system of Ethernet
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
CN101841450B (en) Method and system for realizing stable communication by forming multiple ring topologies into intersecting ring
CN102055658B (en) Method and equipment for realizing failure protection in rapid ring protection protocol single-ring networking
CN101686158A (en) Control method for Ethernet loop guard fault recovery and Ethernet loop node
CN101436975B (en) Method, apparatus and system for implementing rapid convergence in looped network
CN101141333A (en) Ethernet system host node slave port fault processing method
CN101222402B (en) Ethernet ring protection method, system and device
CN101626335B (en) Data protection method of dual-connection network
CN101714939A (en) Fault treatment method for Ethernet ring network host node and corresponding Ethernet ring network
CN101674240A (en) Method and device for realizing single-node dual home for distributed system
CN100450025C (en) Ethernet environment protection system and method
CN101686167A (en) Method for controlling recovery of faults of Ethernet
CN112995002B (en) Switch ring network design method, switch and storage medium
CN102238067B (en) Switching method and device on Rapid Ring Protection Protocol (RRPP) ring
CN101989930A (en) Method and switching equipment for realizing Ethernet double loop
CN101621443B (en) Failure recovery method of Ethernet ring protection system
CN101534234B (en) Interworking Ethernet ring network protection method and system
CN102487348B (en) Method and system for realizing looped network uplink protection
CN101848128B (en) Method, system and topological structure for realizing stabilized communication among multi-ring topologies
CN110635940B (en) Main/standby switching method of EAPS Ethernet ring network
CN103840965B (en) Method for enhancing quick fault convergence in RSTP

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090121

Termination date: 20191101