CN103746912B - Data message transmission method and equipment based on subring link - Google Patents

Data message transmission method and equipment based on subring link Download PDF

Info

Publication number
CN103746912B
CN103746912B CN201410005653.9A CN201410005653A CN103746912B CN 103746912 B CN103746912 B CN 103746912B CN 201410005653 A CN201410005653 A CN 201410005653A CN 103746912 B CN103746912 B CN 103746912B
Authority
CN
China
Prior art keywords
link
subring
main
node
main link
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410005653.9A
Other languages
Chinese (zh)
Other versions
CN103746912A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201410005653.9A priority Critical patent/CN103746912B/en
Publication of CN103746912A publication Critical patent/CN103746912A/en
Application granted granted Critical
Publication of CN103746912B publication Critical patent/CN103746912B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a data message transmission method and data message transmission equipment based on a subring link. The method comprises the following steps that a first main ring node selects a standby link corresponding to a public link; when the first main ring node detects that a public link generates a fault, a control VLAN (virtual local area network) and a data VLAN of a port corresponding to the public link are blocked; the first main ring node opens the control VLAN of an edge port and sends a first message to the subring main node through the edge port, and the subring main node opens the data VLAN of the sub port after receiving the first message; the first main ring node carries out data message transmission with the second main ring node through the standby link. According to the embodiment of the invention, the standby link arranged on the sub ring can be used for data message transmission when the main ring public link generates the fault, and the completeness of the main ring is ensured.

Description

A kind of data message transmission method and equipment based on subring link
Technical field
The present invention relates to communication technical field, more particularly, to a kind of data-message transmission side based on subring link Method and equipment.
Background technology
RRPP(Rapid Ring Protection Protocol, rapid ring protection protocol)It is to be applied to Ethernet ring Link layer protocol, RRPP is prevented from the broadcast storm that data loopback causes when Ethernet ring is complete, when on Ethernet ring One link can rapidly recover the communication path on looped network between each node when disconnecting.Herein below is included in RRPP: (1)RRPP domain:With same domain ID(Mark), identical control VLAN(Virtual Local Area Network, virtual local area Net)And the equipment being interconnected constitutes RRPP domain, a RRPP domain can include multiple RRPP ring, and one of ring is main ring, Other rings are subring.(2)RRPP ring:The ethernet network topology of one annular connection is referred to as a RRPP ring, and RRPP ring is divided into Main ring and subring.(3)Control VLAN and data vlan:Control VLAN is used for transmission protocol message, and data vlan is used for transmitting number According to message;The control VLAN of wherein main ring is referred to as main control VLAN, and the control VLAN of subring is referred to as son control VLAN.(4)Node: Every equipment on RRPP ring is referred to as a node, and the role of node is divided into host node, transmission node, fringe node, auxiliary side Edge node.(5)Primary port and secondary port:Two ports of RRPP ring are accessed, one is master port, another is secondary port, main The master port of node is used for sending loop probe messages, and secondary port is used for receiving loop probe messages;When RRPP ring is in health During state, the data vlan of the secondary port of host node obstruction, the message for only allowing control VLAN passes through;When RRPP ring is in fracture shape During state, host node opens the data vlan of secondary port, forwards the message of data vlan.(6)Common port and edge port:Edge Node and assistant edge node access two ports of subring, and one is public port, and another is edge port.
In RRPP networks, based on SRPT(Sub Ring Packet Tunnel in major ring, subring agreement report Passage of the text in main ring)Technology, regards main ring one logical node of subring as, and the protocol massages of subring are saturating by main ring Pass, main ring is forwarded the protocol massages of subring as data message.
As shown in figure 1, for a kind of schematic diagram of the RRPP networks under dual-homing networking, two dual-homed subring Ring2 It is connected with each other by Edge node and assistant edge node with Ring3, itself is formed a loop.When on main ring Ring1 Subring 2 SRPT wholes in have no progeny, the secondary port of the host node of all subrings is decontroled, so as to cause that number is formed between subring According to loop, loop as shown by the arrows in Figure 1.
In order to solve above-mentioned loop problem, SRPT status checkout mechanism is introduced in prior art, by fringe node and auxiliary Fringe node is helped to coordinate the status checkout for completing SRPT.After fringe node detects SRPT interruptions, can be in two subring masters Before the secondary port of node is all decontroled, block the edge port of the fringe node of two subrings, so as to avoid shape between subring Into data loopback.As shown in Fig. 2 after the edge port of the fringe node to block subring, the RRPP nets under dual-homing networking The schematic diagram of network.
But, in prior art, need to carry out main ring state-detection by SRPT status checkouts mechanism, realize more multiple It is miscellaneous, and when SRPT status checkout mechanism detects failure, the edge port of all fringe nodes can be blocked, causes RRPP networks are divided into multiple networks, and wide-area failures occurs in network.
The content of the invention
The embodiment of the present invention provides a kind of data message transmission method and equipment based on subring link, with public in main ring When link breaks down, using the backup link in subring data-message transmission is carried out.
In order to achieve the above object, the embodiment of the present invention provides a kind of data message transmission method based on subring link, In being applied to the rapid ring protection protocol RRPP networks for including main ring and subring, the first adjacent main link on the main ring With the Edge node and assistant edge node that the second main link is the subring, other the subring nodes in the subring are added Enter the control virtual LAN VLAN to the main ring, so that biography of other the subring nodes in the subring as the main ring Defeated node, the method comprising the steps of:
First main link selects the common link between first main link and second main link Corresponding backup link;Wherein, the common link is between first main link and second main link Link on the main ring;The backup link is the position between first main link and second main link In the subring and through the link of subring host node;
In the case where the main ring and the subring are complete, first main link blocks the first main ring section The control VLAN of the edge port on point;
First main link blocks on first main link when detecting the common link and breaking down The common link corresponding ports control VLAN and data vlan;
First main link opens the corresponding edge port of the backup link on first main link Control VLAN, and the first message, and described the are sent to the subring host node on the backup link by the edge port One message is used for the data vlan for notifying the subring host node to open secondary port;Described is being received by the subring host node After one message, the data vlan of secondary port is opened;
First main link carries out data-message transmission by backup link and the second main link.
First main link opens the corresponding edge port of the backup link on first main link Control VLAN, also includes afterwards:
First main link sends the second message, and described the by the edge port to the subring host node Two messages are used to notify that the subring host node stops carrying out loop detection to the subring;Received by the subring host node After second message, stopping carries out loop detection to the subring.
First main link selects the common link between first main link and second main link The process of corresponding backup link, specifically includes:
First main link is determined in the subring when receiving from three message of the subring host node Link is complete, and select between first main link and second main link in the subring and through son The link of ring host node is the backup link corresponding to the common link;
First main link is determined in the subring when receiving from four message of the subring host node Link is imperfect, and between first main link and second main link in the subring and through subring The link of host node is not the backup link corresponding to the common link.
First main link selects the common link between first main link and second main link The process of corresponding backup link, specifically includes:
When first main link is fringe node, if the link in the subring is complete, first master Between first main link described in link point selection and second main link in the subring and through subring master The link of node is the backup link corresponding to the common link, and sends the 5th message, institute to second main link State the subring ID that the subring is carried in the 5th message;The corresponding links of the subring ID are selected by second main link Backup link corresponding to the common link;
When first main link is to aid in fringe node, first main link is received from the described second master 6th message of link point, carries subring corresponding to the backup link that second main link is selected in the 6th message Subring ID;After the 6th message is received, it is described that first main link selects the corresponding links of the subring ID Backup link corresponding to common link.
Methods described also includes:First main link opens institute when the common link fails recovery is detected State the control VLAN and data vlan of common link corresponding ports on the first main link;First main link leads to Cross the edge port and send the 7th message to the subring host node, the 7th message is used to notify the subring host node The data vlan of the secondary port of obstruction;By the subring host node after the 7th message is received, the data of the secondary port of obstruction VLAN;
First main link by the edge port to the subring host node send the 8th message, the described 8th Message is used to notify that the subring host node starts to carry out loop detection to the subring;By the subring host node receiving After stating the 8th message, start to carry out loop detection to the subring;
The control VLAN of the edge port that first main link blocks on first main link;
First main link carries out data-message transmission by common link and the second main link.
Methods described also includes:When first main link is main ring host node, there is event in the common link During barrier, if the corresponding edge port of the backup link on first main link takes over as first main link Secondary port, then the data vlan of the secondary port of first main link obstruction;It is the main section of main ring in first main link During point, when the common link fails are recovered, if the corresponding edge of the backup link on first main link Port takes over as the secondary port of first main link, then first main link opens the data vlan of secondary port.
The embodiment of the present invention provides a kind of data-message transmission equipment based on subring link, is applied to include main ring and son In the rapid ring protection protocol RRPP networks of ring, the first adjacent main link and the second main link are institute on the main ring The Edge node and assistant edge node of subring is stated, other the subring nodes in the subring are added to into the control of the main ring Virtual LAN VLAN, so that transmission node of other the subring nodes in the subring as the main ring, first master Link point is specifically included:
Selecting module, for selecting the common link institute between first main link and second main link right The backup link answered;Wherein, the common link is being located between first main link and second main link Link on the main ring;The backup link is positioned at institute between first main link and second main link State in subring and through the link of subring host node;
Processing module, in the case where the main ring and the subring are complete, blocking first main link On edge port control VLAN;When detecting the common link and breaking down, block on first main link The common link corresponding ports control VLAN and data vlan;Open the backup chain on first main link The control VLAN of the corresponding edge port in road, and sent to the subring host node on the backup link by the edge port First message, and first message is used for the data vlan that notifies the subring host node to open secondary port;By the subring Host node opens the data vlan of secondary port after first message is received;
Transport module, for carrying out data-message transmission by backup link and the second main link.
The processing module, the corresponding marginal end of the backup link being additionally operable on first main link is opened After the control VLAN of mouth, the second message is sent to the subring host node by the edge port, second message is used for Notify that the subring host node stops carrying out loop detection to the subring;Second report is being received by the subring host node Wen Hou, stopping carries out loop detection to the subring.
The selecting module, specifically for when receiving from three message of the subring host node, determining the son Link on ring is complete, and select between first main link and second main link in the subring and Through the link of subring host node be the backup link corresponding to the common link;Receiving from the subring host node During four messages, determine that the link in the subring is imperfect, and first main link and second main link it Between in the subring and through the link of subring host node be not backup link corresponding to the common link.
The selecting module, specifically for when the first main link is fringe node, if the link in subring is complete, Select between first main link and second main link in the subring and through subring host node Link is the backup link corresponding to the common link, and to second main link send the 5th message, the described 5th The subring ID of the subring is carried in message;It is described to select the corresponding links of the subring ID by second main link Backup link corresponding to common link;When first main link is to aid in fringe node, receive from the second main ring 6th message of node, carries subring corresponding to the backup link that second main link is selected in the 6th message Subring ID;The corresponding links of the subring ID are selected to be the backup link corresponding to the common link.
The processing module, is additionally operable to, when the common link fails recovery is detected, open the first main ring section The control VLAN and data vlan of the common link corresponding ports on point;By the edge port to the main section of the subring Point sends the 7th message, and the 7th message is used to notify the data vlan of the secondary port of the subring host node obstruction;By described Subring host node blocks the data vlan of secondary port after the 7th message is received;By the edge port to described Subring host node sends the 8th message, and the 8th message is used to notify that the subring host node starts to carry out ring to the subring Road detects;By the subring host node after the 8th message is received, start to carry out loop detection to the subring;With And, the control VLAN of the edge port blocked on first main link;
The transport module, is additionally operable to carry out data-message transmission by common link and the second main link.
The processing module, is additionally operable to, when first main link is main ring host node, send out in the common link During raw failure, if the corresponding edge port of the backup link on first main link takes over as first main ring The secondary port of node, then block the data vlan of secondary port;When first main link is main ring host node, in the public affairs Altogether during link failure recovery, if the corresponding edge port of the backup link on first main link take over as it is described The secondary port of the first main link, then open the data vlan of secondary port.
Compared with prior art, the embodiment of the present invention at least has advantages below:In the embodiment of the present invention, work as main link Between common link when breaking down, the corresponding backup link of common link can be passed through(It is located in subring and through son The link of ring host node)Data-message transmission is carried out, so as to avoid carrying out main ring state-detection using SRPT status checkouts mechanism, Then the problem for avoiding SRPT status checkout mechanism from being brought.Aforesaid way can make when main ring common link breaks down Data-message transmission is carried out with the backup link in subring, it is ensured that the integrality of main ring, and in main ring multipoint fault, keep The maximum connectivity of looped network.
Description of the drawings
Fig. 1 and Fig. 2 are the schematic diagrames of the RRPP networks in prior art under dual-homing networking;
Fig. 3 is the application scenarios schematic diagram of the embodiment of the present invention;
Fig. 4 is the data message transmission method flow chart based on subring link provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of main link provided in an embodiment of the present invention.
Specific embodiment
For problems of the prior art, the embodiment of the present invention provides a kind of data message based on subring link and passes Transmission method, the method is applied in the RRPP networks for including main ring and subring, and is hung under two main links adjacent on main ring Two adjacent main links are respectively the Edge node and assistant edge node of subring on corresponding subring, i.e. main ring.With Fig. 3 For the application scenarios schematic diagram of the embodiment of the present invention, node 1, node 2, node 3 and node 4 constitute main ring.It is adjacent on main ring Node 1 and node hang corresponding subring 1, i.e. node 1, node 2, the composition subring 1 of node 5 for 2 times;Node 1 be fringe node, node 2 are auxiliary fringe node, or, node 1 is auxiliary fringe node, and node 2 is fringe node;Additionally, node 5 is the main section of subring Point.Node 2 and node adjacent on main ring hangs corresponding subring 2, i.e. node 2, node 3, node 6, the composition subring of node 7 for 3 times 2;Node 2 is fringe node, and node 3 is auxiliary fringe node, or, node 2 is auxiliary fringe node, and node 3 is edge section Point;Additionally, node 6 or node 7 are subring host node.Node 3 and node adjacent on main ring hangs the corresponding He of subring 34 times Subring 4, i.e. node 3, node 4, node 8 constitute subring 3, and node 3, node 4, node 9 constitute subring 4;In subring 3, node 3 For fringe node, node 4 is auxiliary fringe node, or, node 3 is auxiliary fringe node, and node 4 is fringe node;Additionally, Node 8 is subring host node;In subring 4, node 3 is fringe node, and node 4 is auxiliary fringe node, or, node 3 is Assistant edge node, node 4 is fringe node;Additionally, node 9 is subring host node.
In the embodiment of the present invention, except Edge node and assistant edge node, other the subring nodes in subring are also required to As all subring nodes in the transmission node of main ring, i.e. subring as the transmission node of its affiliated main ring, and plus become owner of The control VLAN of ring.Wherein, by the way that other the subring nodes in subring to be added to the control VLAN of main ring, so that in subring Transmission node of other subring nodes as main ring.Under the application scenarios shown in Fig. 3, for subring 1, node 5 is used as main ring 1 Transmission node, and be added to the control VLAN of main ring 1;For subring 2, node 6 and node 7 as main ring 1 transmission node, And it is added to the control VLAN of main ring 1;For subring 3, node 8 and is added to the control of main ring 1 as the transmission node of main ring 1 VLAN processed;For subring 4, node 9 and is added to the control VLAN of main ring 1 as the transmission node of main ring 1.
In the embodiment of the present invention, in the case where main ring and subring are complete, on Edge node and assistant edge node The control VLAN of edge port needs the control VLAN for blocking edge port, assistant edge in blocked state, i.e. fringe node Node needs the control VLAN for blocking edge port.Further, in subring at the control VLAN of the port of other subring nodes The control VLAN for opening port is needed in forwarding state, i.e. other subring nodes.Under the application scenarios shown in Fig. 3, node 1 hinders The control VLAN of plug edge port 13, the control VLAN of the obstruction edge port 14 and 26 of node 2, the obstruction edge port 25 of node 3, 33 and 43 control VLAN, node 4 blocks the control VLAN of edge port 34 and 44;Additionally, node 5 opens port 11 and 12 Control VLAN, node 6 opens the control VLAN of port 21 and 22, and node 7 opens the control VLAN of port 23 and 24, node 8 dozens Ported 31 and 32 control VLAN, node 9 opens the control VLAN of port 41 and 42.
In the embodiment of the present invention, two main links adjacent on main ring are respectively the first main link and the second main ring section On point, i.e. main ring the first adjacent main link and the second main link for subring Edge node and assistant edge node.Its In, the first main link and the second main link are relative, and the processing procedure of the first main link and the second main link Processing procedure it is identical.Under the application scenarios shown in Fig. 3, for subring 1, the first main link is node 1, the second main ring section Point is node 2, or, the first main link is node 2, and the second main link is node 1.For subring 2, the first main link For node 2, the second main link is node 3, or, the first main link is node 3, and the second main link is node 2.For Subring 3 or subring 4, the first main link is node 3, and the second main link is node 4, or, the first main link is section Point 4, the second main link is node 3.
Describe for convenience, illustrate by taking the process of the first main link as an example in the embodiment of the present invention.
As shown in figure 4, the data message transmission method that should be based on subring link is comprised the following steps:
Step 401, the first main link selects the first main link corresponding with the common link between the second main link Backup link.Wherein, common link is specially between the first main link and the second main link the link being located on main ring, And backup link is specially between the first main link and the second main link and is located in subring and through the chain of subring host node Road.
Under the application scenarios shown in Fig. 3, the common link between node 1 and node 2 is the link between port 2 and port 3, Backup link between node 1 and node 2 is the link between node 1- node 5- nodes 2.Common link between node 2 and node 3 For the link between port 4 and port 5, the backup link between node 2 and node 3 is between node 2- node 6- node 7- nodes 3 Link.Common link between node 3 and node 4 is the link between port 6 and port 7, the backup link between node 3 and node 4 For the link between the link between node 3- node 8- nodes 4, or node 3- node 9- nodes 4.
In order to the backup link for ensureing selection can carry out data-message transmission, then backup link needs available in backup State, the i.e. subring of backup link place are complete, now can carry out data-message transmission based on backup link.Wherein, When backup link be located subring it is complete when, backup link in backup upstate, when backup link be located subring it is not complete When whole, backup link is in down state.
Based on this, in the embodiment of the present invention, the first main link is selected between the first main link and the second main link Common link corresponding to backup link process, be specifically including but not limited to following manner:First main link is being received From three message of subring host node when, determine that link in subring is complete, can now select the first main link and the Between two main links in the subring and through subring host node link be common link corresponding to backup link; First main link determines that the link in subring is imperfect when receiving from four message of subring host node, now can be with Select between the first main link and the second main link in the subring and through the link of subring host node be not public Backup link corresponding to common link.
Wherein, the 3rd message is specifically as follows CompleteFDB(Complete forwarding database)Message, subring host node is being sent out When sending CompleteFDB messages, show that the link in subring is complete, therefore the first main link is being received from subring host node CompleteFDB messages when, determine that the link in subring is complete.4th message is specifically as follows CommonFDB(Common forwarding Database)Message, subring host node shows that the link in subring is imperfect when CommonFDB messages are sent, therefore the first master Link point determines that the link in subring is imperfect when receiving from the CommonFDB messages of subring host node.
Under the application scenarios shown in Fig. 3, when node 1 is received from the CompleteFDB messages of node 5, it is determined that sub Link on ring 1 is complete, therefore node 1 can select the link between node 1- node 5- nodes 2 as between port 2 and port 3 Link(Common link between node 1 and node 2)Backup link;Report from the CommonFDB of node 5 when node 1 is received Wen Shi, determines that the link in subring 1 is not completed, therefore node 1 will not select the link between node 1- node 5- nodes 2 as end Link between mouth 2 and port 3(Common link between node 1 and node 2)Backup link.
In order to avoid the backup link that Edge node and assistant edge node is selected it is inconsistent, in the embodiment of the present invention, the One main link selects the process of the backup link corresponding to the common link between the first main link and the second main link, It is specifically including but not limited to following manner:When the first main link is fringe node, if the link in subring is complete, the One main link select between the first main link and the second main link in the subring and through subring host node Link is the backup link corresponding to common link, and is taken in the second main link transmission the 5th message, and the 5th message With the subring ID of subring;Afterwards, the corresponding links of subring ID are selected for corresponding to common link by the second main link Backup link.Additionally, when the first main link is to aid in fringe node, the first main link is received from the second main link The 6th message, and carry in the 6th message the second main link selection backup link corresponding to subring subring ID; After the 6th message is received, the first main link selects the subring ID correspondences carried in the 6th message to first main link Link be common link corresponding to backup link.
Wherein, the 5th message and the 6th message are Edge-Hello(Edge health detection)Message, the embodiment of the present invention In, by introducing new field in Edge-Hello messages, to carry subring ID by the new field, edge is ensured then The backup link that node is selected with assistant edge node is consistent.
Under the application scenarios shown in Fig. 3, when the link in subring 3 it is complete, and the link in subring 4 it is complete when, then:Section Point 3 can select the link between node 3- node 8- nodes 4 as the link between port 6 and port 7(Node 3 and node 4 Between common link)Backup link, afterwards, node 3 is notified the subring ID of subring 3 to section by Edge-Hello messages Point 4, the link between node 3- node 8- nodes 4 is selected as the link between port 6 and port 7 by node 4(Node 3 with Common link between node 4)Backup link.Or, node 3 can select the link between node 3- node 9- nodes 4 As the link between port 6 and port 7(Common link between node 3 and node 4)Backup link, afterwards, node 3 lead to Cross Edge-Hello messages the subring ID of subring 4 to be notified to node 4, selected between node 3- node 9- nodes 4 by node 4 Link is used as the link between port 6 and port 7(Common link between node 3 and node 4)Backup link.
In above-mentioned selection course, the priority of subring can also be configured, when multiple subrings are complete, to determine each son Selected priority between ring.Based on this, if the priority of configuration subring 3 works as subring higher than the priority of subring 4 Link on 3 is complete, and the link in subring 4 it is complete when, the node 4 of node 3/ needs to select between node 3- node 8- nodes 4 Link as the link between port 6 and port 7(Common link between node 3 and node 4)Backup link.If matched somebody with somebody Put the priority of the priority of subring 4 higher than subring 3, then when the link in subring 3 is complete, and the link in subring 4 it is complete when, The node 4 of node 3/ needs to select the link between node 3- node 9- nodes 4 as the link between port 6 and port 7(Node Common link between 3 and node 4)Backup link.
Step 402, the first main link when detecting common link and breaking down, the public affairs blocked on the first main link The control VLAN and data vlan of common link corresponding ports, and open the corresponding marginal end of backup link on the first main link The control VLAN of mouth, and the first message is sent to the subring host node on backup link by edge port, first message is used The data vlan of secondary port is opened in subring host node is notified;By subring host node after the first message is received, secondary end is opened The data vlan of mouth.
Specifically, the first main link is when detecting common link and breaking down, if there is currently the common link Corresponding backup link, then the first main link is no longer to main ring host node transmission LinkDown(Link failure)Message, but The control VLAN and data vlan of the common link corresponding ports blocked on the first main link, and open on the first main link The corresponding edge port of backup link control VLAN so that main ring host node can before the timeout receive its hello packet. Additionally, the first main link can also pass through edge port sends the first message to the subring host node on backup link(Such as Linkdown messages, the Linkdown messages are used for the data vlan for notifying subring host node to open secondary port);By the main section of subring Point opens the data vlan of secondary port after Linkdown messages are received.Based on this, the first main link and the second main ring section Backup link between point will take over common link, become new common link.Further, it is public if there is currently no this The corresponding backup link of link, then still notify that main ring host node carries out link switching using existing Linkdown mechanism, should Processing procedure will not be described here.
In the embodiment of the present invention, the first main link opens the corresponding edge port of backup link on the first main link Control VLAN after, the first main link also need to by edge port to subring host node send the second message(Such as CommonFDB messages), and second message be used for notify subring host node stop loop detection is carried out to subring;By subring master After the second message is received, stopping carries out loop detection to node to subring, so as to avoid subring host node from carrying out subring There is mistake when detecting in loop.
Under the application scenarios shown in Fig. 3, node 1 breaks down detecting the common link between port 2 and port 3 When, the control VLAN of port blocked 2 and data vlan, and open the control VLAN of edge port 13, by edge port 13 to Node 5 sends Linkdown messages, and the Linkdown messages are used to notify that node 5 opens the data vlan of secondary port;Node 5 exists After receiving Linkdown messages, the data vlan of secondary port is opened.This exterior node 1 is also sent by edge port 13 to node 5 CommonFDB messages, the CommonFDB messages are used to notify that node 5 stops carrying out loop detection to subring 1;Node 5 is being received After CommonFDB messages, stopping carries out loop detection to subring 1.
Step 403, the first main link carries out data-message transmission by backup link and the second main link.Based on upper Process is stated, backup link will take over common link, become new common link, therefore, the first main link can directly pass through Backup link and the second main link carry out data-message transmission.
In the embodiment of the present invention, the first main link opens the first main ring section when common link fails recovery is detected The control VLAN and data vlan of the common link corresponding ports on point, and send the 7th to subring host node by edge port Message, the 7th message is used to notify the data vlan of the secondary port of subring host node obstruction;The 7th is being received by subring host node After message, the data vlan of the secondary port of obstruction;And the 8th message, the 8th report are sent to subring host node by edge port Text is used to notify that subring host node starts to carry out loop detection to subring;By subring host node after the 8th message is received, open Beginning carries out loop detection to subring;And, the control VLAN of the edge port blocked on the first main link;Afterwards, the first master Link point will carry out data-message transmission by common link and the second main link.
Specifically, the first main link needs to recover original common link when common link fails recovery is detected Function.Now, the first main link opens the control VLAN and data of the common link corresponding ports on the first main link VLAN, and the 7th message is sent to subring host node by edge port(Such as LinkUp messages, for notifying that subring host node hinders The data vlan of the secondary port of plug), by subring host node after LinkUp messages are received, the data vlan of the secondary port of obstruction;And 8th message is sent to subring host node by edge port(Such as CompleteFDB messages, for notifying that subring host node starts Loop detection is carried out to subring), by subring host node after CompleteFDB messages are received, start to carry out loop to subring Detection;And the control VLAN of the edge port blocked on the first main link.
Under the application scenarios shown in Fig. 3, node 1 is detecting the recovery of the common link fails between port 2 and port 3 When, the control VLAN and data vlan of port 2 are opened, and LinkUp messages are sent to node 5 by edge port 13, should LinkUp messages are used to notify that node 5 blocks the data vlan of secondary port;Node 5 blocks secondary end after LinkUp messages are received The data vlan of mouth;Additionally, node 1 also sends CompleteFDB messages by edge port 13 to node 5, should CompleteFDB messages carry out loop detection to subring 1 for notifying node 5 to start, and node 5 is receiving CompleteFDB reports Wen Hou, starts to carry out loop detection to subring 1.Additionally, node 1 also needs to block edge port 13.
In the embodiment of the present invention, when the first main link is main ring host node, when common link breaks down, if The corresponding edge port of backup link on first main link takes over as the secondary port of the first main link, then the first main ring section The data vlan of the secondary port of point obstruction;When the first main link is main ring host node, when common link fails are recovered, if The corresponding edge port of backup link on first main link takes over as the secondary port of the first main link, then the first main ring section Point opens the data vlan of secondary port.
Under the application scenarios shown in Fig. 3, if node 1 is main ring host node, when common link breaks down, such as Edge port 13 on fruit node 1 takes over as the secondary port of node 1, then node 1 also needs to block secondary port(Port 13)Number According to VLAN.Based on above-mentioned process, further, if node 1 is main ring host node, when common link fails are recovered, such as Edge port 13 on fruit node 1 takes over as the secondary port of node 1, then node 1 also needs to open secondary port(Port 13)Number According to VLAN.
In sum, in the embodiment of the present invention, when the common link between main link breaks down, can be by public affairs Altogether the corresponding backup link of link carries out data-message transmission, so as to avoid carrying out main ring state using SRPT status checkouts mechanism Detection, the problem for avoiding SRPT status checkout mechanism to be brought then.Aforesaid way can break down in main ring common link When, carry out data-message transmission using the backup link in subring, it is ensured that the integrality of main ring, and in main ring multipoint fault (As the common link between port 1 and port 2 breaks down, and the common link between port 2 and port 3 breaks down, end Common link between mouth 3 and port 4 breaks down)When, keep the maximum connectivity of looped network.
Based on the inventive concept same with said method, additionally provide in the embodiment of the present invention a kind of based on subring link Data-message transmission equipment, in being applied to the rapid ring protection protocol RRPP networks for including main ring and subring, on the main ring Adjacent the first main link and the Edge node and assistant edge node that the second main link is the subring, by the subring On other subring nodes be added to the control virtual LAN VLAN of the main ring so that other the subring sections in the subring The transmission node as the main ring is put, and the data-message transmission equipment based on subring link is used as first main ring Node, as shown in figure 5, first main link is specifically included:
Selecting module 11, for selecting the common link institute between first main link and second main link Corresponding backup link;Wherein, the common link is the position between first main link and second main link Link on the main ring;The backup link is being located between first main link and second main link In the subring and through the link of subring host node;
Processing module 12, in the case where the main ring and the subring are complete, blocking the first main ring section The control VLAN of the edge port on point;When detecting the common link and breaking down, block first main link On the common link corresponding ports control VLAN and data vlan;Open the backup on first main link The control VLAN of the corresponding edge port of link, and sent out to the subring host node on the backup link by the edge port The first message, and first message is sent to be used to notify the data vlan of the secondary port of the subring host node opening;By the son Ring host node opens the data vlan of secondary port after first message is received;
Transport module 13, for carrying out data-message transmission by backup link and the second main link.
The processing module 12, the corresponding edge port of the backup link being additionally operable on the first main link is opened Control VLAN after, by the edge port to the subring host node send the second message, second message be used for lead to Know that the subring host node stops carrying out loop detection to the subring;Second message is being received by the subring host node Afterwards, stop carrying out loop detection to the subring.
The selecting module 11, specifically for when receiving from three message of the subring host node, it is determined that described Link in subring is complete, and select between first main link and second main link in the subring And through the link of subring host node be backup link corresponding to the common link;Receiving from the subring host node Four messages when, determine that the link in the subring is imperfect, and first main link and second main link Between in the subring and through the link of subring host node be not backup link corresponding to the common link.
The selecting module 11, specifically for when the first main link is fringe node, if the link in subring is complete It is whole, select between the first main link and second main link in the subring and through the chain of subring host node Road is the backup link corresponding to the common link, and sends the 5th message, the 5th report to second main link The subring ID of the subring is carried in text;It is the public affairs to select the corresponding links of the subring ID by second main link Backup link corresponding to common link;When first main link is to aid in fringe node, receive from the second main ring section 6th message of point, carries the son of subring corresponding to the backup link that second main link is selected in the 6th message Ring ID;The corresponding links of the subring ID are selected to be the backup link corresponding to the common link.
The processing module 12, is additionally operable to, when the common link fails recovery is detected, open first main ring The control VLAN and data vlan of the common link corresponding ports on node;By the edge port to the subring master Node sends the 7th message, and the 7th message is used to notify the data vlan of the secondary port of the subring host node obstruction;By institute Subring host node is stated after the 7th message is received, blocks the data vlan of secondary port;By the edge port to institute State subring host node and send the 8th message, the 8th message is used to notify that the subring host node starts to carry out the subring Loop is detected;By the subring host node after the 8th message is received, start to carry out loop detection to the subring;With And, the control VLAN of the edge port blocked on first main link;
The transport module 13, for carrying out data-message transmission by common link and the second main link.
The processing module 12, is additionally operable to when first main link is main ring host node, in the common link When breaking down, if the corresponding edge port of the backup link on first main link takes over as first master The secondary port of link point, then block the data vlan of secondary port;When first main link is main ring host node, described When common link fails are recovered, if the corresponding edge port of the backup link on first main link takes over as institute The secondary port of the first main link is stated, then opens the data vlan of secondary port.
Wherein, the modules of apparatus of the present invention can be integrated in one, it is also possible to be deployed separately.Above-mentioned module can be closed And for a module, it is also possible to it is further split into multiple submodule.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of required general hardware platform to realize, naturally it is also possible to which by hardware, but in many cases the former is more Good embodiment.Based on such understanding, what technical scheme substantially contributed in other words to prior art Part can be embodied in the form of software product, and the computer software product is stored in a storage medium, if including Dry instruction is used so that a computer equipment(Can be personal computer, server, or network equipment etc.)Perform this Method described in bright each embodiment.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module or stream in accompanying drawing Journey is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in the device in embodiment can be carried out point according to embodiment description In being distributed in the device of embodiment, it is also possible to carry out respective change and be disposed other than in one or more devices of the present embodiment.On Stating the module of embodiment can merge into a module, it is also possible to be further split into multiple submodule.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Disclosed above is only several specific embodiments of the present invention, but, the present invention is not limited to this, any ability What the technical staff in domain can think change should all fall into protection scope of the present invention.

Claims (10)

1. a kind of data message transmission method based on subring link, is applied to include the fast looped network protection association of main ring and subring In view RRPP networks, on the main ring the first adjacent main link and fringe node that the second main link is the subring and Assistant edge node, it is characterised in that other the subring nodes in the subring are added to into the control virtual office of the main ring VLAN is netted in domain, so that transmission node of other the subring nodes in the subring as the main ring, methods described includes following Step:
First main link selects the common link institute between first main link and second main link right The backup link answered;Wherein, the common link is being located between first main link and second main link Link on the main ring;The backup link is positioned at institute between first main link and second main link State in subring and through the link of subring host node;
In the case where the main ring and the subring are complete, first main link blocks on first main link Edge port control VLAN;
First main link when detecting the common link and breaking down, the institute blocked on first main link State the control VLAN and data vlan of common link corresponding ports;
First main link opens the control of the corresponding edge port of the backup link on first main link VLAN, and the first message, and first report are sent to the subring host node on the backup link by the edge port Text is used for the data vlan for notifying the subring host node to open secondary port;First report is being received by the subring host node Wen Hou, opens the data vlan of secondary port;
First main link carries out data-message transmission by backup link and the second main link;
Wherein,
First main link selects the common link institute between first main link and second main link right The process of the backup link answered, specifically includes:
First main link determines the link in the subring when receiving from three message of the subring host node Completely, and select between first main link and second main link in the subring and through subring master The link of node is the backup link corresponding to the common link;
First main link determines the link in the subring when receiving from four message of the subring host node It is imperfect, and between first main link and second main link in the subring and through the main section of subring The link of point is not the backup link corresponding to the common link.
2. the method for claim 1, it is characterised in that first main link is opened on first main link The corresponding edge port of the backup link control VLAN, also include afterwards:
First main link sends the second message, and second report by the edge port to the subring host node Text is used to notify that the subring host node stops carrying out loop detection to the subring;By the subring host node receive it is described After second message, stopping carries out loop detection to the subring.
3. the method for claim 1, it is characterised in that
First main link selects the common link institute between first main link and second main link right The process of the backup link answered, specifically includes:
When first main link is fringe node, if the link in the subring is complete, the first main ring section Between first main link described in point selection and second main link in the subring and through subring host node Link be backup link corresponding to the common link, and send the 5th message to second main link, described the The subring ID of the subring is carried in five messages;It is institute to select the corresponding links of the subring ID by second main link State the backup link corresponding to common link;
When first main link is to aid in fringe node, first main link is received from the second main ring section 6th message of point, carries the son of subring corresponding to the backup link that second main link is selected in the 6th message Ring ID;After the 6th message is received, it is described public that first main link selects the corresponding links of the subring ID Backup link corresponding to link.
4. the method for claim 1, it is characterised in that methods described also includes:
First main link opens the institute on first main link when the common link fails recovery is detected State the control VLAN and data vlan of common link corresponding ports;
First main link sends the 7th message, the 7th message by the edge port to the subring host node For notifying the data vlan of the secondary port of the subring host node obstruction;7th message is being received by the subring host node Afterwards, the data vlan of secondary port is blocked;
First main link sends the 8th message, the 8th message by the edge port to the subring host node For notifying that the subring host node starts to carry out loop detection to the subring;Described is being received by the subring host node After eight messages, start to carry out loop detection to the subring;
The control VLAN of the edge port that first main link blocks on first main link;
First main link carries out data-message transmission by common link and the second main link.
5. method as claimed in claim 4, it is characterised in that methods described also includes:
When first main link is main ring host node, when the common link breaks down, if first master The corresponding edge port of the backup link on link point takes over as the secondary port of first main link, then and described first The data vlan of the secondary port of main link obstruction;
When first main link is main ring host node, when the common link fails are recovered, if first master The corresponding edge port of the backup link on link point takes over as the secondary port of first main link, then and described first Main link opens the data vlan of secondary port.
6. a kind of data-message transmission equipment based on subring link, is applied to include the fast looped network protection association of main ring and subring In view RRPP networks, on the main ring the first adjacent main link and fringe node that the second main link is the subring and Assistant edge node, it is characterised in that other the subring nodes in the subring are added to into the control virtual office of the main ring VLAN is netted in domain, so that transmission node of other the subring nodes in the subring as the main ring, first main link Specifically include:
Selecting module, for selecting corresponding to the common link between first main link and second main link Backup link;Wherein, the common link is positioned at described between first main link and second main link Link on main ring;The backup link is positioned at the son between first main link and second main link On ring and through the link of subring host node;
Processing module, in the case where the main ring and the subring are complete, blocking on first main link The control VLAN of edge port;When detecting the common link and breaking down, the institute blocked on first main link State the control VLAN and data vlan of common link corresponding ports;Open the backup link pair on first main link The control VLAN of the edge port answered, and send first to the subring host node on the backup link by the edge port Message, and first message is used for the data vlan that notifies the subring host node to open secondary port;By the main section of the subring Point opens the data vlan of secondary port after first message is received;
Transport module, for carrying out data-message transmission by backup link and the second main link;
Wherein,
The selecting module, specifically for when receiving from three message of the subring host node, determining in the subring Link it is complete, and select between first main link and second main link in the subring and pass through The link of subring host node is the backup link corresponding to the common link;Receiving the from the subring host node the 4th During message, determine that the link in the subring is imperfect, and between first main link and second main link In the subring and through the link of subring host node be not backup link corresponding to the common link.
7. equipment as claimed in claim 6, it is characterised in that
The processing module, the corresponding edge port of the backup link being additionally operable on first main link is opened After control VLAN, the second message is sent to the subring host node by the edge port, second message is used to notify The subring host node stops carrying out loop detection to the subring;Second message is being received by the subring host node Afterwards, stop carrying out loop detection to the subring.
8. equipment as claimed in claim 6, it is characterised in that
The selecting module, specifically for when the first main link is fringe node, if the link in subring is complete, selecting Between first main link and second main link in the subring and through the link of subring host node Backup link corresponding to the common link, and send the 5th message, the 5th message to second main link In carry the subring ID of the subring;It is described public to select the corresponding links of the subring ID by second main link Backup link corresponding to link;When first main link is to aid in fringe node, receive from the second main link The 6th message, the subring of subring corresponding to the backup link that second main link is selected is carried in the 6th message ID;The corresponding links of the subring ID are selected to be the backup link corresponding to the common link.
9. equipment as claimed in claim 6, it is characterised in that
The processing module, is additionally operable to, when the common link fails recovery is detected, open on first main link The common link corresponding ports control VLAN and data vlan;Sent out to the subring host node by the edge port The 7th message, the 7th message is sent to be used to notify the data vlan of the secondary port of the subring host node obstruction;By the subring Host node blocks the data vlan of secondary port after the 7th message is received;By the edge port to the subring Host node sends the 8th message, and the 8th message is used to notify that the subring host node starts to carry out loop spy to the subring Survey;By the subring host node after the 8th message is received, start to carry out loop detection to the subring;And, resistance Fill in the control VLAN of the edge port on first main link;
The transport module, is additionally operable to carry out data-message transmission by common link and the second main link.
10. equipment as claimed in claim 9, it is characterised in that
The processing module, is additionally operable to, when first main link is main ring host node, event occurs in the common link During barrier, if the corresponding edge port of the backup link on first main link takes over as first main link Secondary port, then block the data vlan of secondary port;When first main link is main ring host node, in the public chain During the fault recovery of road, if the corresponding edge port of the backup link on first main link takes over as described first The secondary port of main link, then open the data vlan of secondary port.
CN201410005653.9A 2014-01-03 2014-01-03 Data message transmission method and equipment based on subring link Active CN103746912B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410005653.9A CN103746912B (en) 2014-01-03 2014-01-03 Data message transmission method and equipment based on subring link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410005653.9A CN103746912B (en) 2014-01-03 2014-01-03 Data message transmission method and equipment based on subring link

Publications (2)

Publication Number Publication Date
CN103746912A CN103746912A (en) 2014-04-23
CN103746912B true CN103746912B (en) 2017-04-12

Family

ID=50503903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410005653.9A Active CN103746912B (en) 2014-01-03 2014-01-03 Data message transmission method and equipment based on subring link

Country Status (1)

Country Link
CN (1) CN103746912B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103957155B (en) * 2014-05-06 2018-01-23 华为技术有限公司 Message transmitting method, device and interconnecting interface
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
CN106992931B (en) * 2017-04-18 2022-02-08 深圳市立全鼎盛科技有限公司 Switch redundancy backup method based on double-loop and double-loop system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1048147B1 (en) * 1998-01-13 2003-05-28 Enterasys Networks, Inc. Virtual local area network with multicast protection
CN1870558A (en) * 2006-05-17 2006-11-29 杭州华为三康技术有限公司 Loop detection method and system of intersection ring in elastic group ring
CN101051983A (en) * 2007-05-11 2007-10-10 杭州华三通信技术有限公司 Construction method for reliable RPR circular net and relative RPR station device
CN101068169A (en) * 2007-06-05 2007-11-07 杭州华三通信技术有限公司 Loop fault detecting method, subring main node and subring
CN101212366A (en) * 2007-12-21 2008-07-02 杭州华三通信技术有限公司 Failure detection method, system, and main node in Ethernet loop network
CN101465782A (en) * 2009-01-12 2009-06-24 杭州华三通信技术有限公司 Method for switching optimizing link of RRPP loop, system and network node
CN101557333A (en) * 2009-05-18 2009-10-14 杭州华三通信技术有限公司 Processing method of loop fault in dual-homing networking and node device
CN101771705A (en) * 2010-02-01 2010-07-07 杭州华三通信技术有限公司 Processing method based on RRPP and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1048147B1 (en) * 1998-01-13 2003-05-28 Enterasys Networks, Inc. Virtual local area network with multicast protection
CN1870558A (en) * 2006-05-17 2006-11-29 杭州华为三康技术有限公司 Loop detection method and system of intersection ring in elastic group ring
CN101051983A (en) * 2007-05-11 2007-10-10 杭州华三通信技术有限公司 Construction method for reliable RPR circular net and relative RPR station device
CN101068169A (en) * 2007-06-05 2007-11-07 杭州华三通信技术有限公司 Loop fault detecting method, subring main node and subring
CN101212366A (en) * 2007-12-21 2008-07-02 杭州华三通信技术有限公司 Failure detection method, system, and main node in Ethernet loop network
CN101465782A (en) * 2009-01-12 2009-06-24 杭州华三通信技术有限公司 Method for switching optimizing link of RRPP loop, system and network node
CN101557333A (en) * 2009-05-18 2009-10-14 杭州华三通信技术有限公司 Processing method of loop fault in dual-homing networking and node device
CN101771705A (en) * 2010-02-01 2010-07-07 杭州华三通信技术有限公司 Processing method based on RRPP and device

Also Published As

Publication number Publication date
CN103746912A (en) 2014-04-23

Similar Documents

Publication Publication Date Title
US8724519B2 (en) Technique for dual homing interconnection between communication networks
CN101741670B (en) Method for protecting multi-ring Ethernet
CN103746912B (en) Data message transmission method and equipment based on subring link
CN100454880C (en) Method and system of realizing rig network protection
CN101075935A (en) Method, system and apparatus for realizing loop protection
WO2017215291A1 (en) Ipran device-based method for detecting and processing ethernet loop
CN101854283B (en) Communication method and equipment of RPR (Resilient Packet Ring) looped network
CN105871674B (en) The guard method of ring protection link failure, equipment and system
CN101227371B (en) Method and apparatus of backup switch among same level switch equipments
CN103036756B (en) A kind of mixing ring network protection method and system based on sharing channel
CN103581025B (en) Method and system for processing routing information and equipment
TWI455525B (en) Recovery method for ring-based network
CN101714939A (en) Fault treatment method for Ethernet ring network host node and corresponding Ethernet ring network
CN101222402B (en) Ethernet ring protection method, system and device
CN102857379A (en) Control method and control device for protecting connectivity among nodes of Ethernet ring network and first node
CN103053139A (en) Message processing method and system
CN108429625A (en) A kind of method and device for realizing fault diagnosis
US20140301185A1 (en) Handling a fault in an ethernet ring network
CN101883038B (en) Host node in the method for EAPS looped network protection switching and EAPS looped network
CN103078777B (en) Be applied to loop removing method and device in elastic packet loop network
CN101686167A (en) Method for controlling recovery of faults of Ethernet
CN101771705B (en) Processing method based on RRPP and device
CN102710492B (en) Method and device for looped network protection
CN103220201B (en) A kind of method and device of detection and protection of ring network faults
CN102710482B (en) Method and device for looped network protection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.