CN101075935A - Method, system and apparatus for realizing loop protection - Google Patents
Method, system and apparatus for realizing loop protection Download PDFInfo
- Publication number
- CN101075935A CN101075935A CN 200710076233 CN200710076233A CN101075935A CN 101075935 A CN101075935 A CN 101075935A CN 200710076233 CN200710076233 CN 200710076233 CN 200710076233 A CN200710076233 A CN 200710076233A CN 101075935 A CN101075935 A CN 101075935A
- Authority
- CN
- China
- Prior art keywords
- subring
- node
- port
- edge
- host node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 230000005540 biological transmission Effects 0.000 claims description 26
- 238000001514 detection method Methods 0.000 claims description 20
- 230000036541 health Effects 0.000 claims description 13
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 claims description 6
- 230000011664 signaling Effects 0.000 claims description 5
- 238000011084 recovery Methods 0.000 claims description 3
- 230000006855 networking Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 3
- MHABMANUFPZXEB-UHFFFAOYSA-N O-demethyl-aloesaponarin I Natural products O=C1C2=CC=CC(O)=C2C(=O)C2=C1C=C(O)C(C(O)=O)=C2C MHABMANUFPZXEB-UHFFFAOYSA-N 0.000 description 2
- 239000000523 sample Substances 0.000 description 2
- 102100035587 Distal membrane-arm assembly complex protein 1 Human genes 0.000 description 1
- 102100035589 Distal membrane-arm assembly complex protein 2 Human genes 0.000 description 1
- 101000930299 Homo sapiens Distal membrane-arm assembly complex protein 1 Proteins 0.000 description 1
- 101000930307 Homo sapiens Distal membrane-arm assembly complex protein 2 Proteins 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000012550 audit Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
The invention is used in ring networks crossed each other (N is a natural number and is greater than or equal 2); wherein, the one is main ring and the N-1 are sub-rings; each ring network only has a main node. The method comprises: when the assistant edge node detects that protocol message channel of sub-ring on the main ring is interrupted, after it receives the notice from the assistant edge node through the edge port, the edge node blocks the edge port, and informs the sub-ring that the edge port of main node is blocked, and indicates the main node of sub-ring to open the standby port. The invention also opens a system and a network apparatus thereof.
Description
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method, system and device of realizing looped network protection.
Background technology
The Ethernet looped network switches (EAPS fast, Ethernet Automatic Protection Switching) thinks in that the situation of most of network applications is based on an annular, under this simple environment, can realize in 50 milliseconds that by simplifying agreement flow switches, finish switching and need not pass through STP agreements such as (Spanning-Tree Protocol, spanningtree protocol) again through long convergence time.
The main realization mechanism of EAPS 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, if two internodal links break down on the looped network, cause not receiving message from port at the appointed time interior (by the definition of FAIL timer), then think and switch to forwarding state from port by network failure.
Simultaneously, for other nodes in the looped network, under the situation that itself port breaks down, this node sends fault message (being the LINK-DOWN message) and gives host node, makes host node can find network failure at once, and switches.Malfunctioning node recovers just often in looped network, this node is in pre-recovery (preforwar ding) 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 the COMPLETE-FLUSH-FDB message), this node could recover forwarding state; Simultaneously, host node blocks from port, and switching is finished.But, when realizing the embodiment of the invention, the applicant finds that EAPS exists following technological deficiency: EAPS only to be applicable to the quick switching of individual ethernet looped network, under the network environment of a plurality of Ethernet looped networks, the quick switching of all looped networks when EAPS can not solve a plurality of Ethernet looped networks and intersects.
Summary of the invention
The embodiment of the invention provides a kind of method and system that realize looped network protection, the problem of the quick switching of the looped network when being used to solve a plurality of Ethernet looped networks and intersecting.
The purpose of the embodiment of the invention is achieved through the following technical solutions: same claim, temporarily slightly
Description of drawings
Fig. 1 realizes the networking structure schematic diagram of two looped networks of looped network protection for the embodiment of the invention;
Fig. 2 is a subring protocol massages channel failure schematic diagram on the main ring of one or two looped network of the embodiment of the invention;
Fig. 3 is on the embodiment of the invention more than the two ring networking main rings during subring protocol massages channel failure, and the host node of subring is decontroled secondary port, occurs the schematic diagram of loop between subring;
Fig. 4 is for having no progeny in the subring protocol massages passage on the embodiment of the invention two main rings, and the assistant edge node sends the schematic diagram that the protocol massages notice breaks down with the fringe node of subring by himself edge port;
Fig. 5 is after the embodiment of the invention two realizes that looped network switches fast, data message transmitting-receiving schematic diagram;
Fig. 6 realizes the flow chart of the method for looped network protection for the embodiment of the invention;
Fig. 7 is the fringe node structure chart that the embodiment of the invention four realizes looped network protection;
Fig. 8 is the host node structure chart that the embodiment of the invention five realizes looped network protection.
Embodiment
Run through specification, the preferred embodiment that illustrates and example should be counted as example of the present invention and be unrestricted.
The problem of the quick switching of the looped network when intersecting in order to solve a plurality of Ethernet looped networks; quick switching when the embodiment of the invention realizes that by having proposed a kind of new rapid ring protection protocol (RRPP, Rapid Ring ProtectionProtocol) a plurality of looped networks intersect.Be specially: in a plurality of crossing looped networks, a looped network is regarded as main ring, and other looped network is regarded as subring, independent operating Ethernet automatic protection switching EAPS agreement on each looped network.Because main ring independent operating EAPS agreement is so main ring oneself can be realized switching fast by the EAPS agreement, is not repeated at this.But, because EAPS does not support mutual between a plurality of intersecting ring network, so the embodiment of the invention proposes new RRPP agreement to realize mutual between a plurality of intersecting ring network, by shortening the switching time of subring, realizes the quick switching of all intersecting ring network.
As shown in Figure 1, at first intersecting with two looped networks is example, and two intersecting ring network are respectively main ring and subring.Main ring comprises node S1, S2, S4 and S5; Subring comprises node S2, S3, S5 and S6.Wherein, in main ring, S1 is called as host node, and S2, S4 and S5 are transmission nodes; In subring, S6 is a host node, and S2 is a fringe node, and S5 is the assistant edge node, and S3 is a transmission node.During specific implementation, become which node configuration in two nodes of main ring and subring intersection fringe node or assistant edge node not to have specific (special) requirements, by user's configuration decision, as long as it is just passable to distinguish two nodes in the configuration.
In two ports of host node and transmission node access network based on ethernet ring, one is master port, and another is secondary port, and the role of port is by user's configuration decision.The Primary port and secondary port of host node is distinguishing on function.Under the normal condition, host node sends the loop circuit state probe messages from its master port, if can receive this message from secondary port, illustrates that this node place RRPP ring net is complete, and the secondary port that therefore need block itself is to prevent data loopback; If can not receive probe messages at the appointed time on the contrary, ring network fault is described, the secondary port that needs this moment to decontrol itself is gone up the proper communication of all nodes to guarantee ring.The Primary port and secondary port of transmission node is as broad as long on function, so, also can not distinguish Primary port and secondary port, therefore in Fig. 1, do not mark.Distinguishingly, when the secondary port of host node gets clogged on the main ring, only allow the RRPP protocol massages of main ring to pass through, at this moment, not only the data message that will forbid this main ring passes through, the RRPP protocol massages that will forbid subring simultaneously is by (that is to say that the RRPP protocol massages of subring is regarded as data message and handles in main ring); When the secondary port of host node is decontroled on the main ring, then allow the data message of main ring and the RRPP protocol massages of subring to pass through simultaneously.Identical with the secondary port of main ring host node, when the secondary port on the main ring transmission node gets clogged, block the data message of main ring and the protocol massages of subring simultaneously; The two is decontroled simultaneously during relieving.No matter be subring or main ring, the secondary port of host node or transmission node gets clogged or when decontroling, to the processing of data message and protocol massages, and can be referring to table 1.
Table 1
Type of message | Secondary port is to the processing of message | |
When secondary port is decontroled | During the pair port block | |
Data message | Send | Forbid sending |
Protocol massages | Send | Send |
Annotate: the data message of main ring comprises the data message of main ring and the protocol massages of subring.
Fringe node or assistant edge node insert in two ports of subring, and one is public port, and another one is an edge port.Public port is the port at main ring and subring common link two ends on fringe node or the assistant edge node, and edge port is the port that only inserts subring.Conceptively public port is not considered as port in the subring, and it is regarded as the part of main ring, and that is to say that common link is the link on the main ring, not the link in the subring, the state variation of common link is only offered the main ring host node, and the subring host node does not need to know.
Distinguishingly, each subring comprises three nodes at least, is respectively host node, Edge node and assistant edge node.In order to satisfy the requirement of subring, each main ring also comprises three nodes at least, i.e. a host node and two transmission nodes.
The type of message of RRPP can be consulted shown in the table 2.
Table 2
Message | Explanation |
HEALTH (HELLO) | Health detection message by the host node cycle initiation, is carried out the loop integrity detection to network. |
LINK-DOWN | Link DOWN message is initiated by the transmission node that direct connected link state DOWN takes place, fringe node or assistant edge node, |
On the notice host node loop link DOWN is arranged, the physics loop disappears, and all the other nodes are to this message transmission. | |
MAJOR-FAULT | Main ring signalling trouble message, when can not receive the EDGE-HELLO message that fringe node sends at the appointed time, the assistant edge node of subring initiates, the assistant edge node reports that to fringe node its territory, place main ring breaks down, and all the other nodes are to this message transmission. |
EDGE-HELLO | Main ring integrity checking message, fringe node by subring is initiated, assistant edge node with subring receives, and subring is by the loop integrality of this message audit main ring.Node on the main ring is to this message transmission. |
EDGEPORT-BLOCK | This message is sent from edge port by fringe node, and host node is handled, and all the other nodes are to this message transmission.This message triggers the explanation edge port and has blocked |
COMMON-FLUSH-FDB | Refresh the FDB message, initiated by host node, notification transmission node, fringe node or assistant edge node updates be mac address forwarding table separately. |
COMPLETE-FLUSH-FDB | Looped network recovers to refresh the FDB message, initiate by host node, notification transmission node, fringe node or assistant edge node updates be mac address forwarding table separately, notifies node to decontrol interim port blocked simultaneously. |
The form of RRPP message is as shown in table 3.
Table 3
0 7 | 8 15 | 16 23 | 24 31 | 32 39 | 40 47 |
Destination MAC Address(6 bytes) |
Source MAC Address(6 bytes) | |||||
EtherType | PRI | VLAN ID | Frame Length | ||
DSAP/SSAP | CONTROL | OUI=0x00e02b | |||
0x00bb | 0x99 | 0x0b | RRPP Length | ||
RRPP_VER | RRPPTYPE | Domain ID | Ring ID | ||
0x0000 | SYSTEM_MAC_ADDR(6 bytes) | ||||
HELLO_TIMER | FAIL_TIMER | ||||
0x00 | LEVEL | HELLO_SEQ | 0x0000 | ||
RESERVED(0x000000000000) | |||||
RESERVED(0x000000000000) | |||||
RESERVED(0x000000000000) | |||||
RESERVED(0x000000000000) | |||||
RESERVED(0x000000000000) | |||||
RESERVED(0x000000000000) |
Wherein, the purposes of each field is as follows:
Destination MAC Address:48bits, the purpose MAC of protocol massages, the DMAC of RRPP agreement can use fixing several.For example, the HELLO message uses DMAC1; LINK-DOWN message and EDGEPORT-BLOCK can shared DMAC2; COMMON-FLUSH-FDB message and COMPLETE-FLUSH-FDB message can shared DMAC4; MAJOR-FAULT message and EDGE-HELLO message can shared DMAC5, the DMAC difference that different subrings are used.
Source Mac Address:48bits, the source MAC of protocol massages.
EtherType:8bits, message encapsulated type territory, 0x8100, expression Tagged encapsulation.
PRI:4bits, COS (Class of Service) priority.
VLAN ID:12bits, the ID of message place VLAN.
Frame Length:16bits, ethernet frame length.
DSAP/SSAP:16bits, purpose service access point/source service access point.
CONTROL:8bits。
OUI:24bits。
RRPP_LENGTH:16bits, RRPP protocol Data Unit length.
RRPP_VERS:16bits, the RRPP version information.
RRPPTYPE:8bits, expression RRPP type of message for example, when RRPPTYPE is 13, represents that it is the EDGEPORT-BLOCK message.
DOMAIN_ID:16bits, the ID of RRPP domain under the message, RRPP domain is identified by the ID of integer representation, a configuration set identical territory ID and control VLAN, and the switch colony of UNICOM constitutes a RRPP domain mutually.
The ID of RRPP ring under the RING_ID:16bits, message.
SYSTEM_MAC_ADDR:48bits, the bridge MAC of transmission message node.
HELLO_TIMER:16bits, the time-out time of the HELLO timer that transmission message node uses, unit (s), HELLO timer default value is 1s, can dispose voluntarily.
FAIL_TIMER:16bits, the time-out time of the FAIL timer that transmission message node uses, unit (s), FAIL timer default value is 3s, can dispose voluntarily.
HELLO_SEQ:16bits, the HELLO sequence number of message.
Embodiment one
As shown in Figure 2, the RRPP protocol massages of subring need be propagated between the edge port of Edge node and assistant edge node by the passage that main ring provides, just look like whole main ring be a logical node in the subring, the RRPP protocol massages of subring is by the main ring transparent transmission.On the main ring subring protocol massages passage interrupt (be in the main ring with the common link fails of subring, and in the time of the non-common link fails that one or more is arranged), after host node sends health detection message (HELLO), the capital starts the FAIL timer, because in FAIL timer official hour, the subring host node will can not receive the HELLO message that oneself sends, so the FAIL timer expiry, the subring host node is decontroled secondary port.
Embodiment two
For common networking as shown in Figure 2, can avoid forming the broadcasting loop.But the dual-homing networking for commonly used in the actual networking shown in Fig. 3 has three looped networks among Fig. 3, in one be main ring, two is subring, is respectively subring 1 and subring 2.Wherein, subring 1 is made up of host node S5, fringe node S2 and assistant edge node S3, and we can suppose that S2 is a fringe node in subring 1, and S3 is the assistant edge node; Subring 2 is made up of (herein host node S6, assistant edge node S2 and fringe node S3, suppose that node S2 is different with the role of node S3 in two subrings, be more clearly to show the effect that edge port gets clogged for subsequent figures, in fact, the whether identical enforcement that does not influence the embodiment of the invention of node S2 and the role of node S3 in each subring).Dual-homed subring 1 and subring 2 interconnect by node S2 and node S3, itself just form a ring, after subring protocol massages passage breaks down on the main ring, the secondary port of the host node of all subrings is decontroled, intercommunication fully between node S2, S3, S5 and the S6, the transmission of data message will form the broadcasting loop between the subring shown in the arrow among Fig. 3.
In order to eliminate this defective, the embodiment of the invention has been introduced subring protocol massages channel status testing mechanism on the main ring, this mechanism needs the Edge node and assistant edge node cooperation to finish, purpose is exactly before the secondary port of subring host node is decontroled, block the edge port of fringe node, thereby avoid forming between subring data loopback.Fringe node is this machine-processed promoter and policymaker, the prison hearer of assistant edge node channel status, and be responsible for channel status is changed notice fringe node in time.Particularly, still the networking structure with Fig. 3 is an example, and the method for each subring realization looped network protection specifically comprises as shown in Figure 6:
110. when the assistant edge node detection in subring when this subring protocol massages passage interrupts to main ring, notify fringe node in the same subring by the edge port of himself, after fringe node was received this signalling trouble, fringe node blocked the edge port of himself.
For example, subring protocol massages channel status on the assistant edge node detection main ring, during specific implementation, can (only insert the port of main ring from the port on the main ring according to the assistant edge node, neither public port, neither edge port) whether periodically receive main ring integrity checking message from fringe node.For example, fringe node periodically sends the EDGE-HELLO message to the assistant edge node in main ring, and this message is gone up each node through ring successively and arrived the assistant edge node.If the assistant edge node can be received the EDGE-HELLO message at the appointed time, show that subring protocol massages passage is normal on the main ring, if instead can not receive, illustrate that passage interrupts.
As shown in Figure 4, the assistant edge node detection is had no progeny in the subring protocol massages passage to the main ring, breaks down with the fringe node of subring by himself edge port notice.For example send the MAJOR-FAULT message.After fringe node is received MAJOR-FAULT, block the edge port of oneself, the forbidden data message passes through.When edge port gets clogged to the processing of message, can reference table 1 in secondary port when getting clogged to the processing of message.
120. fringe node notice is blocked with himself edge port of the host node of subring, indicates this host node to decontrol secondary port.
After fringe node blocks the edge port of self, notice is blocked with himself edge port of the host node of subring, for example, send the EDGEPORT-BLOCK message, indicate this host node to decontrol the secondary port of this host node, the secondary port of itself is decontroled in the notified back of the host node of subring, allows data message and protocol massages to pass through.At this moment, data and message transmission as shown in Figure 5, though the secondary port of two subrings all decontroled,, because the edge port of the fringe node of each subring all gets clogged, so, do not have loop between node S2, S3, S5 and the S6.
Scheme is further replenished, after the host node of subring sends health detection message (HELLO), the capital starts the FAIL timer, if in FAIL timer official hour, do not receive the health detection message of oneself sending, promptly behind subring host node FAIL timer expiry, host node also can be decontroled secondary port.If just receive the notice in the step 120 behind the subring host node FAIL timer expiry, the host node of subring can not need to decontrol once more secondary port.For example, when receiving the EDGEPORT-BLOCK message behind the subring host node FAIL timer expiry, abandon the EDGEPORT-BLOCK message, do not need to decontrol once more secondary port.
Further, because network topology changes, for avoiding the directed mistake of message, the subsequent action of host node can refresh forwarding database (FDB, Forwarding Database), and from all transmission nodes of master port transmission COMMON-FLUSH-FDB message notifying refresh FDB.
Afterwards, when on the main ring during subring protocol massages routing restoration, the common link fails that is main ring and subring is recovered, perhaps the fault of all non-common link is all recovered, and the subring host node is received the HELLO message that oneself sends from secondary port once more, thereby switches to the Complete state, block secondary port, host node sends looped network from master port and recovers to refresh FDB notice (for example, the COMPLETE-FLUSH-FDB message), and the fringe node on this looped network is decontroled edge port after receiving this notice message.
Present embodiment has only been introduced mutual between a subring and the main ring, and to realize the quick switching of this subring, other subrings just can realize the quick switching of all subrings with reference to the method for present embodiment.
Distinguishingly, three looped networks have been shown in the accompanying drawing 3 have intersected at two identical nodes, for N-1 (N for more than or equal to 2 natural number) when subring intersects at different nodes with main ring respectively, can resolve into each subring and main ring to networking structure and intersect, each subring realizes switching with reference to present embodiment fast.
When the subring protocol massages passage on the main ring breaks down, before the secondary port of subring is decontroled, block the edge port of fringe node earlier, the data loopback problem when effectively having avoided many rings to intersect.
The FAIL timer value of supposing host node is 3 seconds, and the embodiment of the invention is notified to the host node of subring by transmission, can decontrol secondary port after host node is notified, realizes switching fast for 10 milliseconds consuming time at most; The embodiment of the invention does not need just to decontrol secondary port behind the FAIL timer expiry of host node by the time, and the FAIL timer value was generally 3 seconds, had avoided wait 3 seconds.Use this method, the mode that host node edge port by the subring of fringe node notice has blocked, the secondary port of host node is decontroled in advance and is not needed to restrain looped network by the FAIL timer expiry, the switch speed of subring is accelerated, from second level shorten to Millisecond, make the convergence time of subring looped network effectively shorten.
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 many Ethernets looped network is complete, and can switch rapidly to recover the communication path between each node on the looped network when the online link of many Ethernet rings disconnects.
Embodiment three
The embodiment of the invention also provides a kind of system that realizes looped network protection, this system comprises N looped network that intersects (N is the natural number more than or equal to 2), wherein 1 is main ring, N-1 is subring, there is and only has a host node in each looped network, the master port of host node is transmitted data message and protocol massages, retransmission protocol message when secondary port gets clogged; Each subring and main ring intersect at two nodes, are respectively Edge node and assistant edge node, and Edge node and assistant edge node directly links to each other,
When assistant edge node detection subring protocol massages passage to main ring interrupts, notify that subring protocol massages passage interrupts on the fringe node main ring of this subring;
Fringe node, receive notice from the assistant edge node after, the edge port of obstruction itself, this edge port that gets clogged are the ports that only inserts subring on the fringe node; Fringe node notifies the host node edge port of this subring to block, indicates the host node of this subring to decontrol secondary port;
The host node of this subring, receive described notice after, decontrol secondary port, allow data message and protocol massages to pass through.Concrete operations can reference example one, two the method for realization looped network protection.
Embodiment four
As shown in Figure 7, the embodiment of the invention also provides a kind of fringe node of realizing looped network protection, comprises edge port, blocks switch element and Transmit-Receive Unit, and edge port is the port that only inserts subring on the fringe node;
When another edge node detection as the assistant edge node arrives the subring protocol massages passage interruption of the above assistant edge node place subring of main ring, notify that subring protocol massages passage interrupts on the fringe node main ring of this subring, Transmit-Receive Unit is received this notice from edge port, and described obstruction switch element blocks edge port;
Transmit-Receive Unit, the host node edge port of notice subring blocks, and the host node of indication subring is decontroled secondary port;
When on the main ring during subring protocol massages routing restoration, receive that the looped network from master port recovers to refresh after the FDB notice, block switch element and decontrol edge port.
Embodiment five
As shown in Figure 8, the embodiment of the invention also provides a kind of host node of realizing looped network protection, this host node belongs to subring, comprise master port, secondary port, FAIL timer and block switch element, master port allows data message and protocol massages to pass through, when secondary port got clogged, the forbidden data message passed through from secondary port;
Host node sends health detection message (HELLO), and starts the FAIL timer;
When this host node behind the FAIL timer expiry is not received its health detection message of sending, perhaps, when receiving the notice that the edge port from this subring fringe node blocked, block switch element and decontrol secondary port.
This host node can further include: notification unit, after subring protocol massages routing restoration on the described main ring, block the secondary port that switch element blocks host node; Notification unit sends looped network from master port and recovers to refresh the FDB notice.
Each node of composition looped network in the embodiment of the invention during specific implementation, can be a switch, comprises Layer 2 switch and three-tier switch.
There to be common link between the Edge node and assistant edge node in order making, intersecting in the embodiment of the invention, to be meant that two crossed nodes directly link to each other, and promptly do not exist other nodes between fringe node and assistant edge node.
The embodiment of the invention is by being divided into a main ring and a plurality of subring at least two crossing looped networks; each ring is gone up and is independently carried out Ethernet automatic protection switching (EAPS; Ethernet Automation ProtectSwitch) agreement; subring is used main ring as a passage; even main ring is counted as a logical node of subring; the method of fast looped network protection when providing a kind of many rings to intersect, two nodes at the two ends of main ring and subring common link are respectively Edge node and assistant edge node.Regularly send main ring integrity checking message (promptly sending the edge-hello message) by fringe node, can effectively detect subring protocol massages channel status to the assistant edge node.When the subring protocol massages passage on the main ring breaks down, before the secondary port of subring is decontroled, block the edge port of fringe node earlier, the data loopback problem when effectively having avoided many rings to intersect.
The FAIL timer value of supposing host node is 3 seconds, and the embodiment of the invention is notified to the host node of subring by transmission, can decontrol secondary port after host node is notified, realizes switching fast for 10 milliseconds consuming time at most; The embodiment of the invention does not need just to decontrol secondary port behind the FAIL timer expiry of host node by the time, and the FAIL timer value was generally 3 seconds, had avoided wait 3 seconds.Use this method, the mode that host node edge port by the subring of fringe node notice has blocked, the secondary port of host node is decontroled in advance and is not needed to restrain looped network by the FAILFAIL timer expiry, the switch speed of subring is accelerated, from second level shorten to Millisecond, make the convergence time of subring looped network effectively shorten.
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 many Ethernets looped network is complete, and can switch rapidly to recover the communication path between each node on the looped network when the online link of many Ethernet rings disconnects.Compare with Spanning-Tree Protocol (STP, Spanning Tree Protocol) agreement, the new RRPP agreement that proposes by the embodiment of the invention can realize topological convergence speed very fast (being lower than 50ms).
Simultaneously, because most of message of the RRPP agreement that the embodiment of the invention proposes all is can be by the intermediate node transparent transmission, intermediate node is almost without any need for processing, the time of each node of message process only is equivalent to the forwarding time of hardware, so, during the new RRPP agreement that adopts that the embodiment of the invention proposes, the node number has nothing to do on convergence time and the looped network.
Claims (13)
1. method that realizes looped network protection, it is characterized in that, be applicable to N looped network that intersects (N is the natural number more than or equal to 2), wherein 1 looped network is as main ring, and other N-1 looped network is as subring, there is and only has a host node in each looped network, host node comprises Primary port and secondary port, and the master port of host node is responsible for sending datagram and protocol massages, and the secondary port of host node gets clogged, be responsible for sending protocol massages, forbid sending datagram; Each subring and main ring intersect at two nodes, are respectively Edge node and assistant edge node, and Edge node and assistant edge node directly links to each other, and described fringe node comprises the edge port that only inserts described subring, and this method comprises:
Edge port is received signalling trouble from the fringe node of this subring from its edge port, this signalling trouble represents that this subring protocol massages passage interrupts on the main ring, described fringe node blocks its edge port, forbids sending datagram from the edge port of described fringe node.Notify the described edge port of host node of this subring to block, indicate the host node of described subring to decontrol its secondary port.
2. method according to claim 1, it is characterized in that, after the step that the described described edge port of host node of notifying this subring has blocked, this method also comprises: the host node of described subring is received described notice, described host node is decontroled its secondary port, allows described secondary port to send datagram and protocol massages.
3. method according to claim 1 is characterized in that, the passage of this subring protocol massages interrupts being meant the common link of main ring and subring and the non-common link simultaneous faults of one or more on the described main ring.
4. method according to claim 1, it is characterized in that, this method also comprises: after the host node of described subring sends health detection message, start the FAIL timer, if in FAIL timer official hour, do not receive the described health detection message of oneself sending, described host node is decontroled its secondary port, allows described secondary port to send datagram and protocol massages.
5. according to any described method of claim 1 to 4, it is characterized in that, this method also comprises: after subring protocol massages routing restoration on the described main ring, the host node of described subring blocks described secondary port, described host node sends looped network from master port and recovers to refresh the FDB notice, the fringe node of described subring receives that described looped network recovers to refresh FDB notice back and decontrols its edge port, allows described edge port to send datagram and protocol massages.
6. system that realizes looped network protection, it is characterized in that, this system comprises N looped network that intersects (N is the natural number more than or equal to 2), wherein 1 looped network is as main ring, and other N-1 looped network has and only have a host node as subring in each looped network, the master port of host node is responsible for sending datagram and protocol massages, secondary port gets clogged, and is responsible for sending protocol massages, forbids sending datagram; Each subring and main ring intersect at two nodes, it is respectively Edge node and assistant edge node, Edge node and assistant edge node directly links to each other, described fringe node comprises the edge port that only inserts described subring, when the subring protocol massages passage of described assistant edge node detection to main ring interrupts, notify by its edge port that subring protocol massages passage interrupts on the described main ring of fringe node of this subring;
Described fringe node, receive the notice of interrupting from subring protocol massages passage on the described main ring of described assistant edge node after, block switch element and block its edge port, forbid sending datagram from described edge port;
Fringe node notifies the host node edge port of this subring to block, indicates the host node of this subring to decontrol secondary port.
7. system according to claim 6, it is characterized in that, the host node of described subring also comprises the obstruction switch element: be used for after the host node of described subring is received the notice that the edge port of described subring fringe node blocked, decontrol its secondary port, allow the secondary port of the host node of described subring to send datagram and protocol massages passes through.
8. system according to claim 6 is characterized in that, subring protocol massages passage interrupts being meant the common link of described main ring and described subring and the non-common link simultaneous faults of one or more on the described main ring.
9. system according to claim 7 is characterized in that, described host node further comprises:
The FAIL timer, after the host node of described subring sends health detection message, start the FAIL timer, if in FAIL timer official hour, do not receive the described health detection message of oneself sending, described host node is decontroled its secondary port, allows described secondary port to send datagram and protocol massages.
10. according to any described system of claim 6 to 9, it is characterized in that described host node also comprises notification unit:
Be used for subring protocol massages routing restoration on described main ring, block after the described secondary port, from master port transmission looped network recovery the refreshing FDB notice of described host node; The obstruction switch element of described fringe node receives that described looped network recovers to refresh the FDB notice, decontrols its edge port.
11. a fringe node of realizing looped network protection is characterized in that, this fringe node comprises:
Only insert the edge port of subring on the fringe node, Transmit-Receive Unit is used for receiving the signalling trouble that subring protocol massages passage interrupts on the main ring from edge port that this subring is the subring at described fringe node place;
Block switch element, be used to block edge port, allow described edge port to send protocol massages, forbid that described edge port sends datagram;
Transmit-Receive Unit is used to notify the described edge port of host node of described subring to block, indicates described host node to decontrol secondary port; And,
When on the described main ring during subring protocol massages routing restoration, receive from the looped network of described host node from described Transmit-Receive Unit and to recover to refresh after the FDB notice, described obstruction switch element is decontroled described edge port, allows described edge port to send protocol massages and data message.
12. a host node of realizing looped network protection comprises Primary port and secondary port, described master port allows to send datagram and protocol massages, and described secondary port gets clogged, and allows to send protocol massages, forbids sending datagram; This host node also comprises:
The FAIL timer, described host node starts described FAIL timer after sending health detection message (HELLO);
Block switch element, when this host node is not received its health detection message of sending behind the described FAIL timer expiry, perhaps, when receiving the notice that the edge port from this subring fringe node blocked, decontrol described secondary port, allow described secondary port to send protocol massages and data message.
13. host node according to claim 12 is characterized in that, also comprises notification unit:
After subring protocol massages routing restoration on the described main ring, described obstruction switch element blocks the secondary port of host node, when forbidding that described secondary port sends datagram; Notification unit sends looped network from master port and recovers to refresh the FDB notice.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200710076233 CN101075935A (en) | 2007-06-27 | 2007-06-27 | Method, system and apparatus for realizing loop protection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200710076233 CN101075935A (en) | 2007-06-27 | 2007-06-27 | Method, system and apparatus for realizing loop protection |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101075935A true CN101075935A (en) | 2007-11-21 |
Family
ID=38976763
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200710076233 Pending CN101075935A (en) | 2007-06-27 | 2007-06-27 | Method, system and apparatus for realizing loop protection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101075935A (en) |
Cited By (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009111969A1 (en) * | 2008-03-13 | 2009-09-17 | 华为技术有限公司 | Method for blocking the edge port in the ethernet, ethernet loop network system and apparatus |
WO2010012190A1 (en) * | 2008-07-22 | 2010-02-04 | 中兴通讯股份有限公司 | Protection protocol device for network node and method for processing protection switching thereof |
WO2010031210A1 (en) * | 2008-09-17 | 2010-03-25 | 中兴通讯股份有限公司 | Method for forwarding a protocol frame in spanning rings and the shared nodes in ethernet network multi-rings |
CN101834830A (en) * | 2009-03-10 | 2010-09-15 | 中兴通讯股份有限公司 | Regional address refreshing method of Ethernet ring network |
CN101841450A (en) * | 2010-04-08 | 2010-09-22 | 深圳市金宏威实业发展有限公司 | Method and topological structure for realizing stable communication by forming multiple ring topologies into intersecting ring |
CN101873244A (en) * | 2010-06-09 | 2010-10-27 | 神州数码网络(北京)有限公司 | Automatic multi-loop protection method |
CN101883000A (en) * | 2009-05-08 | 2010-11-10 | 中兴通讯股份有限公司 | Network protection method and network protection architecture |
WO2011022917A1 (en) * | 2009-08-28 | 2011-03-03 | 中兴通讯股份有限公司 | Method and system for blocking protocol messages at a sub-ring control channel without virtual channel |
CN101986615A (en) * | 2010-11-09 | 2011-03-16 | 中兴通讯股份有限公司 | Multiple-ring Ethernet and protection method thereof |
CN101499947B (en) * | 2008-02-01 | 2011-08-31 | 杭州华三通信技术有限公司 | Arbitrarily topological intersected ring network protecting method, node and intersected ring network |
CN101771593B (en) * | 2008-12-29 | 2011-11-09 | 迈普通信技术股份有限公司 | Ethernet ring network interconnecting method |
CN101557333B (en) * | 2009-05-18 | 2011-12-28 | 杭州华三通信技术有限公司 | Processing method of loop fault in dual-homing networking and node device |
CN102664785A (en) * | 2012-04-23 | 2012-09-12 | 中兴通讯股份有限公司 | Method and system for protecting intersecting ring |
CN102843291A (en) * | 2012-08-16 | 2012-12-26 | 中兴通讯股份有限公司 | Notice method and notice device and notice system |
CN101594191B (en) * | 2008-05-27 | 2013-01-23 | 华为技术有限公司 | Method and system for protecting shared link interlinking ring network and interlinking nodes |
CN103229456A (en) * | 2012-12-28 | 2013-07-31 | 华为技术有限公司 | Multicast service transmission system, device and method |
CN105281936A (en) * | 2014-07-08 | 2016-01-27 | 上海博达数据通信有限公司 | Network structure of realizing ring network link backup based on multiple Ethernet ring networks |
CN105591860A (en) * | 2015-09-25 | 2016-05-18 | 杭州华三通信技术有限公司 | Method and device for ring network protection on the basis of RRPP |
CN107181692A (en) * | 2017-07-15 | 2017-09-19 | 深圳市华琥技术有限公司 | A kind of forward table refresh control method |
CN107580056A (en) * | 2017-09-12 | 2018-01-12 | 深圳市盛路物联通讯技术有限公司 | Internet of Things communication means and things-internet gateway |
CN107612805A (en) * | 2017-09-11 | 2018-01-19 | 深圳市盛路物联通讯技术有限公司 | Internet of Things communication means and things-internet gateway |
CN108259257A (en) * | 2016-12-29 | 2018-07-06 | 中国移动通信集团广东有限公司 | A kind of looped network test method and device based on ring dual homed dummy node |
CN104283758B (en) * | 2014-08-04 | 2018-07-17 | 新华三技术有限公司 | A kind of method and apparatus that boss's ring is associated with by data vlan |
CN109218183A (en) * | 2018-08-03 | 2019-01-15 | 南京理工大学 | A method of overcoming RRPP fringe node flow interrupt |
CN111585860A (en) * | 2020-04-28 | 2020-08-25 | 杭州迪普科技股份有限公司 | Method, device, storage medium and equipment for loop network convergence |
CN112087342A (en) * | 2020-09-21 | 2020-12-15 | 天津飞旋科技有限公司 | Multi-ring network two-way communication topology system, communication method and electronic equipment |
CN107733983B (en) * | 2017-09-12 | 2021-01-26 | 深圳市盛路物联通讯技术有限公司 | Internet of things communication method and first repeater |
-
2007
- 2007-06-27 CN CN 200710076233 patent/CN101075935A/en active Pending
Cited By (42)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101499947B (en) * | 2008-02-01 | 2011-08-31 | 杭州华三通信技术有限公司 | Arbitrarily topological intersected ring network protecting method, node and intersected ring network |
WO2009111969A1 (en) * | 2008-03-13 | 2009-09-17 | 华为技术有限公司 | Method for blocking the edge port in the ethernet, ethernet loop network system and apparatus |
CN101594191B (en) * | 2008-05-27 | 2013-01-23 | 华为技术有限公司 | Method and system for protecting shared link interlinking ring network and interlinking nodes |
WO2010012190A1 (en) * | 2008-07-22 | 2010-02-04 | 中兴通讯股份有限公司 | Protection protocol device for network node and method for processing protection switching thereof |
WO2010031210A1 (en) * | 2008-09-17 | 2010-03-25 | 中兴通讯股份有限公司 | Method for forwarding a protocol frame in spanning rings and the shared nodes in ethernet network multi-rings |
US8761052B2 (en) | 2008-09-17 | 2014-06-24 | Zte Corporation | Method for forwarding protocol frames in spanning rings and a shared node of multi-rings in the Ethernet |
CN101771593B (en) * | 2008-12-29 | 2011-11-09 | 迈普通信技术股份有限公司 | Ethernet ring network interconnecting method |
CN101834830A (en) * | 2009-03-10 | 2010-09-15 | 中兴通讯股份有限公司 | Regional address refreshing method of Ethernet ring network |
CN101834830B (en) * | 2009-03-10 | 2014-08-20 | 中兴通讯股份有限公司 | Regional address refreshing method of Ethernet ring network |
CN101883000A (en) * | 2009-05-08 | 2010-11-10 | 中兴通讯股份有限公司 | Network protection method and network protection architecture |
CN101557333B (en) * | 2009-05-18 | 2011-12-28 | 杭州华三通信技术有限公司 | Processing method of loop fault in dual-homing networking and node device |
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 |
WO2011022917A1 (en) * | 2009-08-28 | 2011-03-03 | 中兴通讯股份有限公司 | Method and system for blocking protocol messages at a sub-ring control channel without virtual channel |
KR101302815B1 (en) | 2009-08-28 | 2013-09-02 | 지티이 코포레이션 | Method and system for blocking protocol messages at a sub-ring control channel without virtual channel |
CN101841450A (en) * | 2010-04-08 | 2010-09-22 | 深圳市金宏威实业发展有限公司 | Method and topological structure for realizing stable communication by forming multiple ring topologies into intersecting ring |
CN101841450B (en) * | 2010-04-08 | 2013-02-06 | 深圳市金宏威技术股份有限公司 | Method and system for realizing stable communication by forming multiple ring topologies into intersecting ring |
CN101873244A (en) * | 2010-06-09 | 2010-10-27 | 神州数码网络(北京)有限公司 | Automatic multi-loop protection method |
CN101873244B (en) * | 2010-06-09 | 2012-10-10 | 神州数码网络(北京)有限公司 | Automatic multi-loop protection method |
CN101986615B (en) * | 2010-11-09 | 2014-11-05 | 中兴通讯股份有限公司 | Multiple-ring Ethernet and protection method thereof |
WO2012062097A1 (en) * | 2010-11-09 | 2012-05-18 | 中兴通讯股份有限公司 | Multi-ring ethernet network and protection method thereof |
CN101986615A (en) * | 2010-11-09 | 2011-03-16 | 中兴通讯股份有限公司 | Multiple-ring Ethernet and protection method thereof |
CN102664785A (en) * | 2012-04-23 | 2012-09-12 | 中兴通讯股份有限公司 | Method and system for protecting intersecting ring |
WO2013178097A1 (en) * | 2012-08-16 | 2013-12-05 | 中兴通讯股份有限公司 | Announcement method, device and system |
CN102843291A (en) * | 2012-08-16 | 2012-12-26 | 中兴通讯股份有限公司 | Notice method and notice device and notice system |
CN102843291B (en) * | 2012-08-16 | 2016-12-07 | 南京中兴软件有限责任公司 | Notifying method, Apparatus and system |
US9647878B2 (en) | 2012-08-16 | 2017-05-09 | Zte Corporation | Announcement method, device and system |
CN103229456A (en) * | 2012-12-28 | 2013-07-31 | 华为技术有限公司 | Multicast service transmission system, device and method |
CN103229456B (en) * | 2012-12-28 | 2016-06-15 | 华为技术有限公司 | The system of transport multicast business, apparatus and method |
CN105281936A (en) * | 2014-07-08 | 2016-01-27 | 上海博达数据通信有限公司 | Network structure of realizing ring network link backup based on multiple Ethernet ring networks |
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 |
CN104283758B (en) * | 2014-08-04 | 2018-07-17 | 新华三技术有限公司 | A kind of method and apparatus that boss's ring is associated with by data vlan |
CN105591860A (en) * | 2015-09-25 | 2016-05-18 | 杭州华三通信技术有限公司 | Method and device for ring network protection on the basis of RRPP |
CN105591860B (en) * | 2015-09-25 | 2019-03-12 | 新华三技术有限公司 | Looped network protecting method and device based on RRPP |
CN108259257A (en) * | 2016-12-29 | 2018-07-06 | 中国移动通信集团广东有限公司 | A kind of looped network test method and device based on ring dual homed dummy node |
CN107181692A (en) * | 2017-07-15 | 2017-09-19 | 深圳市华琥技术有限公司 | A kind of forward table refresh control method |
CN107612805A (en) * | 2017-09-11 | 2018-01-19 | 深圳市盛路物联通讯技术有限公司 | Internet of Things communication means and things-internet gateway |
CN107580056A (en) * | 2017-09-12 | 2018-01-12 | 深圳市盛路物联通讯技术有限公司 | Internet of Things communication means and things-internet gateway |
CN107733983B (en) * | 2017-09-12 | 2021-01-26 | 深圳市盛路物联通讯技术有限公司 | Internet of things communication method and first repeater |
CN109218183A (en) * | 2018-08-03 | 2019-01-15 | 南京理工大学 | A method of overcoming RRPP fringe node flow interrupt |
CN111585860A (en) * | 2020-04-28 | 2020-08-25 | 杭州迪普科技股份有限公司 | Method, device, storage medium and equipment for loop network convergence |
CN111585860B (en) * | 2020-04-28 | 2021-12-24 | 杭州迪普科技股份有限公司 | Method, device, storage medium and equipment for loop network convergence |
CN112087342A (en) * | 2020-09-21 | 2020-12-15 | 天津飞旋科技有限公司 | Multi-ring network two-way communication topology system, communication method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101075935A (en) | Method, system and apparatus for realizing loop protection | |
CN1960310A (en) | Method and system of realizing rig network protection | |
CN102299845B (en) | Multilink transparent interconnection multicast frames transmission method and system | |
US9007958B2 (en) | External loop detection for an ethernet fabric switch | |
CN100450036C (en) | Method and apparatus for preventing loop when RRPP and partial STP network damage recovery | |
CN1812361A (en) | Fast ring network protecting method and system | |
CN1909496A (en) | Intersecting Ether ring net and its automatic protecting method, node device for Ether ring net | |
US8427940B2 (en) | Method of M:1 protection | |
WO2017215291A1 (en) | Ipran device-based method for detecting and processing ethernet loop | |
CN101873244B (en) | Automatic multi-loop protection method | |
CN101854283B (en) | Communication method and equipment of RPR (Resilient Packet Ring) looped network | |
US20130177021A1 (en) | Communication device, communication system and communication method | |
CN103873333B (en) | Ring network three-layer convergence method and device | |
CN101072237A (en) | Eth-loop intelligent protection method | |
CN102055658B (en) | Method and equipment for realizing failure protection in rapid ring protection protocol single-ring networking | |
JP5862445B2 (en) | Communication device | |
CN1747439A (en) | Fault treating method for phase switching loop of automatic protection system of Ethernet | |
CN102957588A (en) | Method and system for protecting looped network from broadcast storm | |
CN103078777A (en) | Method and device for eliminating loop in resilient packet ring network | |
CN101262399B (en) | A cross-loop RPR two point failure processing method and system | |
JP2007174119A (en) | Layer 2 network | |
CN101557333B (en) | Processing method of loop fault in dual-homing networking and node device | |
CN102710482B (en) | Method and device for looped network protection | |
CN103746912A (en) | Data message transmission method and equipment based on subring link | |
CN101997751B (en) | Realization method and device of protection switching in Ethernet |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20071121 |