CN101771705A - Processing method based on RRPP and device - Google Patents

Processing method based on RRPP and device Download PDF

Info

Publication number
CN101771705A
CN101771705A CN201010103147A CN201010103147A CN101771705A CN 101771705 A CN101771705 A CN 101771705A CN 201010103147 A CN201010103147 A CN 201010103147A CN 201010103147 A CN201010103147 A CN 201010103147A CN 101771705 A CN101771705 A CN 101771705A
Authority
CN
China
Prior art keywords
rrpp
subring
main ring
priority
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.)
Granted
Application number
CN201010103147A
Other languages
Chinese (zh)
Other versions
CN101771705B (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 CN 201010103147 priority Critical patent/CN101771705B/en
Publication of CN101771705A publication Critical patent/CN101771705A/en
Application granted granted Critical
Publication of CN101771705B publication Critical patent/CN101771705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a processing method based on RRPP, comprising the following steps: obtaining the priority level of each RRPP subring in the RRPP primary ring part through a broder node and an auxiliary broder node; and opening a jammed edge port through the broder node RRPP subring with the optimal priority in the RRPP primary ring part. In the invention, connectivity of RRPP networking is ensured and the reliability of the RRPP treaty is strengthened.

Description

A kind of processing method and device based on RRPP
Technical field
The present invention relates to communication technical field, particularly relate to a kind of processing method and device based on RRPP.
Background technology
In the network planning of metropolitan area network and enterprise network and actual networking are used, adopt the looped network technology to improve the reliability of network usually, the looped network technology is by connecting together the shape of some network equipments by ring, thereby realizes intercommunication mutually.In looped network for fear of producing broadcast storm; adopt STP (SpanningTree Protocol; Spanning-Tree Protocol) Loop Protection mechanism or RRPP (Rapid Ring ProtectionProtocol; rapid ring protection protocol) Loop Protection mechanism avoids producing broadcast storm; wherein; broadcast storm is meant that too much broadcast data packet has consumed a large amount of network bandwidths, causes normal packet to transmit in network.
In actual applications, the convergence time of STP agreement is subjected to the influence of network topology, convergence time is longer when network diameter is big, can not satisfy transmission quality requirement to data when higher, and the RRPP agreement has shortened the convergence time of looped network, and eliminated the influence of network size, thereby be widely used.Wherein, RRPP is the link layer protocol that is specifically applied to Ethernet ring, when Ethernet ring is complete, can prevent because the broadcast storm that causes of data loopback, and when a link on the Ethernet ring disconnects, can enable backup link rapidly, thus the connectedness of assurance looped network.The RRPP agreement has the following advantages: topological convergence speed fast (being lower than 50ms); The node number is irrelevant on convergence time and the looped network; In phase cross ring topology, the variation of a ring topology can not cause the topology surge of other rings, and transfer of data is more stable, the load balancing of support RRPP ring net, has made full use of the bandwidth of physical link.
A kind of RRPP phase cross ring networking type as shown in Figure 1 and a kind of dual-homed ring networking type shown in Figure 2, in the RRPP agreement, the element of RRPP comprises: RRPP ring, host node, transmission node, fringe node, assistant edge node etc., wherein, Ring (ring) 1 is configured to main ring, and Ring 2 and Ring 3 are configured to subring.
Concrete, in the crossing RRPP networking of many subrings and main ring, the 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, and at this moment, whole main ring is a node in the subring.Break down and work as the main ring link, the passage of the subring protocol massages between fringe node and the assistant edge node occur interrupting (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), then the subring host node can't receive the hello packet (being used for the network loop integrality is detected) that self sends, thereby cause the Fail timer expiry, the subring host node is moved to Failed (mistake) state, and decontrols the secondary port of self.
For RRPP phase cross ring networking shown in Figure 1, the above-mentioned processing procedure process of secondary port (decontrol self) can guarantee can not form the broadcasting loop, and makes backup link bring into play due effect.But, for the dual-homed ring networking of RRPP shown in Figure 2, dual-homed two subring Ring2 and Ring3 need interconnect by Edge node and assistant edge node, itself just formed a ring, after main ring Ring1 breaks down, the secondary port of the host node of all subrings is all decontroled, and certainly will form the broadcasting loop between the subring.
In order to solve the problem in the dual-homed ring networking, in the prior art, introduced subring protocol massages channel status testing mechanism on the main ring, this testing mechanism needs the Edge node and assistant edge node cooperation to finish, purpose is before the secondary port of subring host node is decontroled, block the edge port of fringe node, thereby avoid forming between the subring data loopback.Wherein, in this testing mechanism, fringe node is the promoter and the policymaker of testing mechanism, and the assistant edge node is the prison hearer of channel status, is responsible for the change information of channel status in time is notified to fringe node, and the process of this testing mechanism comprises:
(1) detects subring protocol massages channel status on the main ring.
Concrete, the fringe node of subring periodically sends EDGE-HELLO message (SRPT status checkout message) by two RRPP ports of main ring in main ring, and mail to the assistant edge node through each node on the main ring successively, if the assistant edge node can receive the EDGE-HELLO message at the appointed time, the passage that then shows message is normal, if instead can't receive the EDGE-HELLO message, show that then the passage of message interrupts.
(2) passage interrupted edges node blocks edge port.
Concrete, have no progeny in subring protocol massages passage occurs when the assistant edge node detection, send the MAJOR-FAULT message from edge port by subring chain road direction fringe node, after fringe node receives MAJOR-FAULT, block the edge port of self.
(3) the secondary port of the overtime relieving of subring host node.
Concrete, after fringe node blocked edge port, because the main ring fault causes subring protocol massages passage to interrupt, the subring host node can not be received the HELLO message that self sends at the appointed time, so move to the Failed state, and decontrol secondary port.
(4) subring protocol massages routing restoration.
Concrete, when the main ring link-recovery causes communication recovery between the Edge node and assistant edge node, then subring protocol massages routing restoration is normal, at this moment, the subring host node is received the HELLO message that self sends from secondary port again, and switch to Complete (finishing) state, block secondary port.And, after fringe node receives this COMPLETE-FLUSH-FDB message, will decontrol edge port because host node can send the COMPLETE-FLUSH-FDB message from master port.
In summary it can be seen,, can effectively avoid in the dual-homed ring networking of RRPP shown in Figure 2, form the problem of broadcasting loop between subring by subring protocol massages channel status testing mechanism on the main ring.
But, on the main ring under the subring protocol massages channel status testing mechanism, no matter for which kind of networking, when the main ring link occurs fault causes subring HELLO message obstructed, then the edge port of the fringe node of all relevant subrings all can get clogged, thereby cause in the subring some node by isolated, can not guarantee connectedness, as shown in Figure 3.The main ring link occurs fault, the HELLO message of subring can't be got back on the subring host node, at this moment, opened corresponding secondary port, and owing to subring protocol massages channel status testing mechanism on the main ring, the edge port of fringe node gets clogged, promptly the node of other except fringe node still keeps connective, and fringe node has been isolated, and before fault can't be recovered, the flow of this fringe node of process can't be forwarded.
In summary it can be seen, break down at main ring and to cause under the obstructed situation of subring loop, the edge port of fringe node will get clogged, though effectively prevented the generation of broadcasting loop, too much obstruction edge port has caused some node by isolated (as the edge node of Fig. 3).Before the main ring fault is got rid of, can't recover with isolated node between communicate by letter.
Summary of the invention
The invention provides a kind of processing method and device,, guarantee the connectedness of RRPP subring with the edge port that unlatching gets clogged based on RRPP.
In order to achieve the above object, the present invention proposes a kind of processing method based on rapid ring protection protocol RRPP, be applied to comprise in the RRPP network of RRPP main ring and at least one RRPP subring, each RRPP subring has priority, when described RRPP main ring breaks down, described RRPP main ring is divided at least two RRPP main ring parts, the Edge node and assistant edge node of each RRPP subring will be positioned at different RRPP main ring parts, and the edge port of fringe node gets clogged in each RRPP subring; Said method comprising the steps of:
Fringe node in each RRPP main ring part or assistant edge node obtain the priority of each RRPP subring in this RRPP main ring part;
The fringe node of the RRPP subring of priority optimum is opened the edge port that gets clogged in the described RRPP main ring part, perhaps,
The corresponding fringe node of assistant edge node notice of the RRPP subring of priority optimum in the described RRPP main ring part is opened the edge port that gets clogged.
Also comprise:
According to the protection virtual LAN VLAN of each RRPP subring and the pass of described RRPP main ring protection VLAN is that each RRPP subring is provided with priority; So that the common factor between the protection VLAN of described RRPP subring and the described RRPP main ring protection VLAN is many more, described RRPP subring has excellent more priority.
The priority that fringe node in each RRPP main ring part or assistant edge node obtain each RRPP subring in this RRPP main ring part specifically comprises:
Fringe node in each RRPP main ring part or assistant edge node have carried the priority of RRPP subring by major-minor port two-way transmission election message on described RRPP main ring of described RRPP main ring in the described election message;
Fringe node or assistant edge node in each RRPP main ring part receive described election message, and obtain the priority of each RRPP subring in this RRPP main ring part from described election message.
The edge port that the fringe node unlatching of the RRPP subring of priority optimum gets clogged in the described RRPP main ring part specifically comprises:
When described fringe node got access to priority optimum in described RRPP main ring part of self pairing RRPP subring, described fringe node was directly opened the edge port that gets clogged of self;
The corresponding fringe node of assistant edge node notice of the RRPP subring of priority optimum in the described RRPP main ring part is opened the edge port that gets clogged and is specifically comprised:
When described assistant edge node gets access to priority optimum in described RRPP main ring part of self pairing RRPP subring, described assistant edge node sends the open message by the RRPP subring to the fringe node of correspondence, and opens the edge port that gets clogged by the described fringe node of described open message notifying.
When described RRPP main ring recovered, described method also comprised:
The fringe node of the RRPP subring of the described priority optimum in each RRPP main ring part keeps the edge port of self to be in opening, and the fringe node of other RRPP subrings is opened the edge port that self gets clogged.
A kind of processing unit based on RRPP, be applied to comprise in the RRPP network of RRPP main ring and at least one RRPP subring, each RRPP subring has priority, when described RRPP main ring breaks down, described RRPP main ring is divided at least two RRPP main ring parts, the Edge node and assistant edge node of each RRPP subring will be positioned at different RRPP main ring parts, and the edge port of fringe node gets clogged in each RRPP subring; Described device is as the fringe node or the assistant edge node of described RRPP subring, and described device comprises acquisition module and processing module, and described acquisition module is connected with described processing module,
When described device during as the fringe node of described RRPP subring,
Described acquisition module is used to obtain the priority of each RRPP subring in the RRPP main ring part;
Described processing module is used for when the RRPP subring of priority optimum that got access in described RRPP main ring part self correspondence the edge port that unlatching gets clogged;
When described device during as the assistant edge node of described RRPP subring,
Described acquisition module is used to obtain the priority of each RRPP subring in the RRPP main ring part;
Described processing module is used for when the RRPP subring of priority optimum that got access in described RRPP main ring part self correspondence the edge port that the corresponding fringe node unlatching of notice gets clogged.
Also comprise:
Module is set, is connected respectively with processing module with described acquisition module, being used for according to the protection VLAN of each RRPP subring and the pass of described RRPP main ring protection VLAN is that each RRPP subring is provided with priority; So that the common factor between the protection VLAN of described RRPP subring and the described RRPP main ring protection VLAN is many more, described RRPP subring has excellent more priority.
Described acquisition module specifically is used for, described device is as the fringe node or the assistant edge node of described RRPP subring, during the election message of the priority of having carried described RRPP subring by major-minor port two-way transmission on described RRPP main ring of described RRPP main ring when the fringe node in each RRPP main ring part or assistant edge node
Receive described election message, and from described election message, obtain the priority of each RRPP subring in this RRPP main ring part.
Described processing module specifically is used for, described device is as the fringe node of described RRPP subring, when described fringe node gets access to priority optimum in described RRPP main ring part of self pairing RRPP subring, directly open the edge port that gets clogged of self; Perhaps,
Described device is as the assistant edge node of described RRPP subring, when described assistant edge node gets access to priority optimum in described RRPP main ring part of self pairing RRPP subring, send the open message by the RRPP subring to the fringe node of correspondence, and open the edge port that gets clogged by the described fringe node of described open message notifying.
When described RRPP main ring recovers,
Described processing module also is used for, and when the priority of the pairing RRPP subring of described fringe node in each RRPP main ring part is optimum, keeps the edge port of self to be in opening;
When the priority of the pairing RRPP subring of described fringe node in each RRPP main ring part is not optimum, open the edge port that self gets clogged.
Compared with prior art, the present invention has the following advantages:
Breaking down and can't guarantee at main ring connects divided main ring by the subring of using the priority optimum under the connective situation, has guaranteed the connectedness of RRPP networking, and has strengthened the reliability of RRPP agreement.
Description of drawings
Fig. 1 is a RRPP phase cross ring networking type schematic diagram in the prior art;
Fig. 2 is the dual-homed ring networking of a RRPP type schematic diagram in the prior art;
Fig. 3 is the schematic diagram of the isolated situation of node quilt in the prior art;
A kind of process flow figure that Fig. 4 proposes for the present invention based on RRPP;
A kind of concrete application scenarios schematic diagram that Fig. 5 A-Fig. 5 C proposes for the present invention;
The process flow figure that Fig. 6 proposes down for a kind of concrete application scenarios of the present invention based on RRPP;
The another kind of concrete application scenarios schematic diagram that Fig. 7 proposes for the present invention;
Fig. 8 is the schematic diagram under the mutually nested situation of subring Edge node and assistant edge node of the present invention's proposition;
A kind of processing unit structure chart that Fig. 9 proposes for the present invention based on RRPP.
Embodiment
Basic thought of the present invention is to break down and can't guarantee under the connective situation at main ring, fringe node by the subring of priority optimum is opened the edge port that gets clogged, connected divided main ring, guarantee not form the broadcasting loop, and guarantee the connectedness of RRPP networking, strengthened the reliability of RRPP agreement.
A kind of processing method that the present invention proposes based on RRPP, be applied to comprise in the RRPP network of RRPP main ring and at least one RRPP subring, each RRPP subring has priority, when described RRPP main ring breaks down, described RRPP main ring is divided at least two RRPP main ring parts, the Edge node and assistant edge node of each RRPP subring will be positioned at different RRPP main ring parts, and the edge port of fringe node gets clogged in each RRPP subring; As shown in Figure 4, said method comprising the steps of:
Step 401, fringe node in each RRPP main ring part or assistant edge node obtain the priority of each RRPP subring in this RRPP main ring part.
Step 402, the fringe node of the RRPP subring of priority optimum is opened the edge port that gets clogged in the described RRPP main ring part, perhaps, the corresponding fringe node of assistant edge node notice of the RRPP subring of priority optimum is opened the edge port that gets clogged in the described RRPP main ring part.
For the processing method based on RRPP provided by the present invention more clearly is described, describe the present invention with the application scenarios shown in Fig. 5 A-Fig. 5 C.Wherein, for to protection VLAN (Virtual Local Area Network, VLAN), the situation of change of topology can be of equal value becomes Fig. 5 A, is that example describes with the situation of four subrings and a main ring.Be that subring1 (subring 1) passes through master ring formation loop, subring2 passes through master ring and constitutes loop by master ring formation loop, subring4 by master ring formation loop, subring3.Wherein, protection VLAN is used for the VLAN of Data transmission message, can comprise the RRPP port among the protection VLAN, also can comprise non-RRPP port, and the forwarding state of protection VLAN is by its pairing RRPP domain control.
In Fig. 5 A, when main ring master ring breaks down, will cause subring (subring1, subring2, subring3 and subring4 etc.) loop obstructed, shown in Fig. 5 B.Wherein, when master ring breaks down, master ring will be divided into two parts, be respectively master ring1 part and masterring2 part.
When having introduced subring protocol massages channel status testing mechanism on the main ring, promptly enabling in the subring on the main ring under the situation of subring protocol massages channel status testing mechanism, then on the fringe node of subring1, subring2, subring3 and subring4, all need to block corresponding edge port, shown in Fig. 5 C.Wherein, before master ring breaks down, fringe node with subring1 and subring2 is positioned at master ring2 part, the fringe node of subring3 and subring4 is positioned at master ring1 and partly is example, after then master ring breaks down, subring1, subring2, the fringe node of subring3 and subring4 all needs to block corresponding edge port, and owing to the edge port of subring1 and subring2 fringe node gets clogged, then subring1 can't communicate by letter with master ring2 with subring2, be that subring1 and subring2 and master ring2 disconnect, same, subring3 and subring4 and master ring 1 disconnect.
To sum up, master ring 1 and master ring 2 belong to same main ring (master ring), and because two of being divided into of main ring fault.The Edge node and assistant edge node of subring1, subring2, subring3 and subring4 is the subring on divided two main rings respectively, for example, when the fringe node of subring1 is positioned at master ring 1, then the assistant edge node of subring1 will be positioned at master ring2.During subring protocol massages channel status testing mechanism, the edge port of fringe node will get clogged, and promptly each subring can be regarded as a link of deriving away on main ring on having started main ring.
Based on above-mentioned application scenarios, as shown in Figure 6, the processing method based on RRPP proposed by the invention may further comprise the steps:
Step 601, for all RRPP subrings are provided with priority, and the priority of each RRPP subring need guarantee uniqueness.Should need priority be set respectively for subring1, subring2, subring3 and subring4 with under the scene.
Concrete, needing the pass according to the protection VLAN of the protection VLAN of each RRPP subring and RRPP main ring among the present invention is that each RRPP subring is provided with priority; Promptly protect the common factor between the VLAN to get over for a long time, can be the high more priority of RRPP subring setting when the protection VLAN and the RRPP main ring (masterring) of RRPP subring (subring1, subring2, subring3 and subring4).
In the networking of reality was used, when the VLAN of group ring protection was the subclass of main ring protection VLAN, then Dui Ying subring was not suitable for being used for being communicated with main ring, and it is smaller that priority should be provided with; And the VLAN of group ring protection comprises most of main ring protection VLAN, and when perhaps identical with main ring protection VLAN, then Dui Ying subring is fit to be used for being communicated with main ring, and it is bigger that priority should be provided with.
For example; the protection VLAN of master ring is VLAN1; VLAN2; when VLAN3 and VLAN4; the protection VLAN of subring1 is VLAN1; the protection VLAN of subring2 is VLAN1 and VLAN2; the protection VLAN of subring3 is VLAN1; VLAN2 and VLAN3; the protection VLAN of subring4 is VLAN1; VLAN2; VLAN3 and VLAN4; then when priority is set; the priority optimum of subring4 (excellent more with the big more priority of priority value is example) then; priority that can subring4 is set to 4; the priority of subring3 is set to 3, and the priority of subring2 is set to 2, and the priority of subring1 is set to 1.In addition; when the subclass of the VLAN of group ring protection and main ring protection VLAN is identical; for example; the protection VLAN of subring2 is VLAN1 and VLAN2; the protection VLAN of subring3 is VLAN1 and VLAN3, can also distinguish the size of priority according to the ringID size, for example; the priority of subring2 is set to 2, and the priority of subring3 is set to 3.
Step 602, when main ring broke down, main ring was divided into several parts, and the secondary port of subring is opened, and blocks the edge port of fringe node.
Cutting procedure when the master ring shown in Fig. 5 A-5C breaks down, being divided into two parts with main ring is that example describes, need open the secondary port of subring1, subring2, subring3 and subring4, and block the edge port of subring1, subring2, subring3 and subring4 correspondence.
Step 603, fringe node in each subring or assistant edge node obtain the priority of each subring.Wherein, this acquisition process is at each main ring part, and promptly fringe node or the assistant edge node in each main ring part obtains the priority of each subring of this main ring part.For example, fringe node (fringe node of subring3 and subring4) or the assistant edge node (the assistant edge node of subring1 and subring2) in the master ring1 obtains the priority of each subring.
When main ring breaks down, fringe node in each subring or assistant edge node all will send the election message, carry the priority of corresponding subring in this election message.For example, when the fringe node of subring1 or assistant edge node are elected message in transmission, the priority that will carry subring1 in this election message.Certainly, in actual applications, be not limited to use this election message to carry priority, all can carry the mode of priority all within protection range of the present invention.
Concrete, fringe node in each subring or assistant edge node are Primary port and secondary port by main ring two-way transmission election messages on this main ring, and the fringe node in each subring or assistant edge node also need control VLAN this election message of two-way transmission on place main ring part by using main ring.
Further, in each main ring part (for example, master ring 1), fringe node in each subring or assistant edge node will receive the pairing election message of other subrings, and get access to the priority of other subrings from the election message.For example,, will receive the pairing election message of subring2, subring3 and subring4, thereby know the priority of subring2, subring3 and subring4 for fringe node or the assistant edge node of subring1.
Need to prove, on the node of each subring, have only the Edge node and assistant edge node of subring just can obtain the priority of other subrings, and other nodes in the subring only need be transmitted processing to the election message according to the election message.
Step 604 when fringe node gets access to the priority of self pairing subring when the highest, is opened the edge port that gets clogged; When the assistant edge node gets access to the priority of self pairing subring when the highest, the corresponding fringe node of notice is opened the edge port that gets clogged.
In RRPP main ring part, because the priority that fringe node in the subring or assistant edge node can get access to each subring, if fringe node knows that when the priority of self pairing subring was the highest, then fringe node need be carried out the process of opening the edge port that gets clogged.And if the assistant edge node is known when the priority of self pairing subring is the highest, then the assistant edge node need notify corresponding fringe node to open the edge port that gets clogged.
Concrete, fringe node or assistant edge node can (be selected arbitrarily according to actual needs according to the default election time, for example, with reference to being set to 3 seconds) obtain the priority of each subring, after the election time arrives, according to whether obtaining priority that the result judges self pairing subring for the highest, promptly all fringe nodes or assistant edge node know all whether self is that priority is the highest.
As can be seen, when RRPP ring because the main ring fault, networking shown in Fig. 5 A-Fig. 5 C will be entered into, each divided main ring part, the capital elects the highest subring of priority, wherein, each divided main ring part will be elected one and a node (fringe node or assistant edge node) only.For example, when the priority of subring4 the highest, and the fringe node of subring4 is positioned at master ring 1, when the assistant edge node of subring4 is positioned at master ring 2, in master ring 1 part, the priority that the fringe node of subring4 can get access to subring4 is the highest, and then this fringe node will directly be opened the edge port that self gets clogged.And in master ring 2 parts, the priority that the assistant edge node of subring4 can get access to subring4 is the highest, this assistant edge node need send the open message to the fringe node of subring4, and opens the edge port that self gets clogged by the fringe node that uses this open message notifying subring4.Certainly, in actual applications, be not limited to use the fringe node of this open message notifying correspondence to open the edge port that self gets clogged, all have the mode of this notification capabilities all within protection range of the present invention.
Concrete, the assistant edge node is the subring by correspondence, and uses subring control VLAN to send the open message to the fringe node of correspondence, and promptly the assistant edge node of subring4 sends the open message by subring4 to the fringe node of subring4.
In sum, in application scenarios of the present invention, if elect a subring in four subrings, reopening the edge port of corresponding obstruction, just can form networking shown in Figure 7, is that priority with subring2 is up to example and describes in Fig. 7.As can be seen, when the fringe node of subring2 has been opened the edge port that gets clogged, the main ring that originally disconnects then, can pass through subring2, reconnect, the node on this two parts main ring of master ring1 and master ring2 also can be visited mutually by subring2.
Simultaneously, because other subrings and main ring all have only a tie point, can not form loop.Above-mentioned solution can be derived and be broken down to main ring, the situation that is divided into a plurality of parts, suppose that main ring has been divided into N part, and all there is subring to connect between any two, because the Edge node and assistant edge node of limit priority subring is in different main ring parts, therefore, the Edge node and assistant edge node of limit priority all can be selected, N main ring part, only can open N-1 fringe node, promptly only need open N-1 edge port, just can be under the prerequisite that does not form the broadcasting loop, guarantee the connectedness of whole RRPP ring, give unnecessary details no longer in detail among the present invention.
Among the present invention, when main ring recovered, the fringe node of the RRPP subring that priority is the highest kept the edge port of self to be in opening, and the fringe node of other RRPP subrings is opened the edge port that self gets clogged.
Solution provided by the present invention has versatility, when the network more complicated, has both guaranteed not form loop, can farthest guarantee the connectedness of the whole network again.For example, under the mutually nested situation of the subring Edge node and assistant edge node of complexity shown in Figure 8, can guarantee the connectedness of the whole network.
Certainly, in the practical application,, can also edge port arbitrarily be set directly, make this edge port when the main ring fault is received the MAJOR-FAULT message, still the open edge port for simple networking shown in Figure 2.For example, in Fig. 2, the Edge node and assistant edge node of ring2 and ring3 is with a pair of node, when the main ring fault, guarantee connectedness, only need open port just passable, the assistant edge node of ring2 promptly can be set, when receiving the MAJOR-FAULT message of ring2 and ring3, the edge port that only blocks ring3 does not block the edge port of ring2, thereby has kept connectedness, and do not have loop, and can change accordingly fast.
The invention allows for a kind of processing unit based on RRPP, be applied to comprise in the RRPP network of RRPP main ring and at least one RRPP subring, each RRPP subring has priority, when described RRPP main ring breaks down, described RRPP main ring is divided at least two RRPP main ring parts, the Edge node and assistant edge node of each RRPP subring will be positioned at different RRPP main ring parts, and the edge port of fringe node gets clogged in each RRPP subring; As shown in Figure 9, described device is as the fringe node or the assistant edge node of described RRPP subring, described device comprises module 91, acquisition module 92 and processing module 93 is set, described acquisition module 92 is connected with described processing module 93, and the described module 91 that is provided with is connected respectively with processing module 93 with described acquisition module 92.
Module 91 is set, and being used at described device during as the fringe node of described RRPP subring or assistant edge node, is that each RRPP subring is provided with priority according to the protection VLAN of each RRPP subring and the pass of described RRPP main ring protection VLAN; So that the common factor between the protection VLAN of described RRPP subring and the described RRPP main ring protection VLAN is many more, described RRPP subring has excellent more priority.
Acquisition module 92 is used for obtaining the priority of each RRPP subring in the RRPP main ring part when described device during as the fringe node of described RRPP subring or assistant edge node.
Described acquisition module 92 specifically is used for, described device is as the fringe node or the assistant edge node of described RRPP subring, during the election message of the priority of having carried described RRPP subring by major-minor port two-way transmission on described RRPP main ring of described RRPP main ring when the fringe node in each RRPP main ring part or assistant edge node, receive described election message, and from described election message, obtain the priority of each RRPP subring in this RRPP main ring part.
Processing module 93 is used for when described device during as the fringe node of described RRPP subring, when the RRPP subring of priority optimum that got access in described RRPP main ring part self correspondence, and the edge port that unlatching gets clogged.When described device during as the assistant edge node of described RRPP subring, when the RRPP subring of priority optimum that got access in described RRPP main ring part self correspondence, the edge port that the corresponding fringe node unlatching of notice gets clogged.
Described processing module 93 specifically is used for, described device is as the fringe node of described RRPP subring, when described fringe node gets access to priority optimum in described RRPP main ring part of self pairing RRPP subring, directly open the edge port that gets clogged of self; Perhaps, described device is as the assistant edge node of described RRPP subring, when described assistant edge node gets access to priority optimum in described RRPP main ring part of self pairing RRPP subring, send the open message by the RRPP subring to the fringe node of correspondence, and open the edge port that gets clogged by the described fringe node of described open message notifying.
In addition, when described RRPP main ring recovered, described processing module 93 also was used for keeping the edge port of self to be in opening when the priority of the pairing RRPP subring of described fringe node in each RRPP main ring part is optimum; When the priority of the pairing RRPP subring of described fringe node in each RRPP main ring part is not optimum, open the edge port that self gets clogged.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (10)

1. processing method based on rapid ring protection protocol RRPP, it is characterized in that, be applied to comprise in the RRPP network of RRPP main ring and at least one RRPP subring, each RRPP subring has priority, when described RRPP main ring breaks down, described RRPP main ring is divided at least two RRPP main ring parts, and the Edge node and assistant edge node of each RRPP subring will be positioned at different RRPP main ring parts, and the edge port of fringe node gets clogged in each RRPP subring; Said method comprising the steps of:
Fringe node in each RRPP main ring part or assistant edge node obtain the priority of each RRPP subring in this RRPP main ring part;
The fringe node of the RRPP subring of priority optimum is opened the edge port that gets clogged in the described RRPP main ring part, perhaps,
The corresponding fringe node of assistant edge node notice of the RRPP subring of priority optimum in the described RRPP main ring part is opened the edge port that gets clogged.
2. the method for claim 1 is characterized in that, also comprises:
According to the protection virtual LAN VLAN of each RRPP subring and the pass of described RRPP main ring protection VLAN is that each RRPP subring is provided with priority; So that the common factor between the protection VLAN of described RRPP subring and the described RRPP main ring protection VLAN is many more, described RRPP subring has excellent more priority.
3. the method for claim 1 is characterized in that, the priority that fringe node in each RRPP main ring part or assistant edge node obtain each RRPP subring in this RRPP main ring part specifically comprises:
Fringe node in each RRPP main ring part or assistant edge node have carried the priority of RRPP subring by major-minor port two-way transmission election message on described RRPP main ring of described RRPP main ring in the described election message;
Fringe node or assistant edge node in each RRPP main ring part receive described election message, and obtain the priority of each RRPP subring in this RRPP main ring part from described election message.
4. method as claimed in claim 3 is characterized in that, the edge port that the fringe node unlatching of the RRPP subring of priority optimum gets clogged in the described RRPP main ring part specifically comprises:
When described fringe node got access to priority optimum in described RRPP main ring part of self pairing RRPP subring, described fringe node was directly opened the edge port that gets clogged of self;
The corresponding fringe node of assistant edge node notice of the RRPP subring of priority optimum in the described RRPP main ring part is opened the edge port that gets clogged and is specifically comprised:
When described assistant edge node gets access to priority optimum in described RRPP main ring part of self pairing RRPP subring, described assistant edge node sends the open message by the RRPP subring to the fringe node of correspondence, and opens the edge port that gets clogged by the described fringe node of described open message notifying.
5. as each described method of claim 1-4, it is characterized in that when described RRPP main ring recovered, described method also comprised:
The fringe node of the RRPP subring of the described priority optimum in each RRPP main ring part keeps the edge port of self to be in opening, and the fringe node of other RRPP subrings is opened the edge port that self gets clogged.
6. processing unit based on RRPP, it is characterized in that, be applied to comprise in the RRPP network of RRPP main ring and at least one RRPP subring, each RRPP subring has priority, when described RRPP main ring breaks down, described RRPP main ring is divided at least two RRPP main ring parts, and the Edge node and assistant edge node of each RRPP subring will be positioned at different RRPP main ring parts, and the edge port of fringe node gets clogged in each RRPP subring; Described device is as the fringe node or the assistant edge node of described RRPP subring, and described device comprises acquisition module and processing module, and described acquisition module is connected with described processing module,
When described device during as the fringe node of described RRPP subring,
Described acquisition module is used to obtain the priority of each RRPP subring in the RRPP main ring part;
Described processing module is used for when the RRPP subring of priority optimum that got access in described RRPP main ring part self correspondence the edge port that unlatching gets clogged;
When described device during as the assistant edge node of described RRPP subring,
Described acquisition module is used to obtain the priority of each RRPP subring in the RRPP main ring part;
Described processing module is used for when the RRPP subring of priority optimum that got access in described RRPP main ring part self correspondence the edge port that the corresponding fringe node unlatching of notice gets clogged.
7. device as claimed in claim 6 is characterized in that, also comprises:
Module is set, is connected respectively with processing module with described acquisition module, being used for according to the protection VLAN of each RRPP subring and the pass of described RRPP main ring protection VLAN is that each RRPP subring is provided with priority; So that the common factor between the protection VLAN of described RRPP subring and the described RRPP main ring protection VLAN is many more, described RRPP subring has excellent more priority.
8. device as claimed in claim 6 is characterized in that,
Described acquisition module specifically is used for, described device is as the fringe node or the assistant edge node of described RRPP subring, during the election message of the priority of having carried described RRPP subring by major-minor port two-way transmission on described RRPP main ring of described RRPP main ring when the fringe node in each RRPP main ring part or assistant edge node
Receive described election message, and from described election message, obtain the priority of each RRPP subring in this RRPP main ring part.
9. device as claimed in claim 8 is characterized in that,
Described processing module specifically is used for, described device is as the fringe node of described RRPP subring, when described fringe node gets access to priority optimum in described RRPP main ring part of self pairing RRPP subring, directly open the edge port that gets clogged of self; Perhaps,
Described device is as the assistant edge node of described RRPP subring, when described assistant edge node gets access to priority optimum in described RRPP main ring part of self pairing RRPP subring, send the open message by the RRPP subring to the fringe node of correspondence, and open the edge port that gets clogged by the described fringe node of described open message notifying.
10. as each described device of claim 6-9, it is characterized in that, when described RRPP main ring recovers,
Described processing module also is used for, and when the priority of the pairing RRPP subring of described fringe node in each RRPP main ring part is optimum, keeps the edge port of self to be in opening;
When the priority of the pairing RRPP subring of described fringe node in each RRPP main ring part is not optimum, open the edge port that self gets clogged.
CN 201010103147 2010-02-01 2010-02-01 Processing method based on RRPP and device Active CN101771705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010103147 CN101771705B (en) 2010-02-01 2010-02-01 Processing method based on RRPP and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010103147 CN101771705B (en) 2010-02-01 2010-02-01 Processing method based on RRPP and device

Publications (2)

Publication Number Publication Date
CN101771705A true CN101771705A (en) 2010-07-07
CN101771705B CN101771705B (en) 2013-01-16

Family

ID=42504296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010103147 Active CN101771705B (en) 2010-02-01 2010-02-01 Processing method based on RRPP and device

Country Status (1)

Country Link
CN (1) CN101771705B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664785A (en) * 2012-04-23 2012-09-12 中兴通讯股份有限公司 Method and system for protecting intersecting ring
CN103067274A (en) * 2012-12-19 2013-04-24 中兴通讯股份有限公司 Spanning tree back-up port quick recovery method and device
CN103746912A (en) * 2014-01-03 2014-04-23 杭州华三通信技术有限公司 Data message transmission method and equipment based on subring link
CN108900404A (en) * 2018-07-11 2018-11-27 智强通达科技(北京)有限公司 A kind of super ring network structure for redundancy backup
CN109218183A (en) * 2018-08-03 2019-01-15 南京理工大学 A method of overcoming RRPP fringe node flow interrupt
CN114584421A (en) * 2022-02-18 2022-06-03 新华三技术有限公司 Communication method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100521638C (en) * 2006-08-24 2009-07-29 杭州华三通信技术有限公司 Intersecting Ethernet ring net and its automatic protecting method, node device for Ethernet ring net
CN100571180C (en) * 2007-03-06 2009-12-16 中兴通讯股份有限公司 Ensure the method and the device of ethernet ring network reliability service when transmission node fault
CN101247306A (en) * 2008-03-13 2008-08-20 华为技术有限公司 Method for edge port block in ethernet ring, ethernet ring system and device
CN101631060B (en) * 2009-08-18 2011-08-31 杭州华三通信技术有限公司 Method and device for managing edge port

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664785A (en) * 2012-04-23 2012-09-12 中兴通讯股份有限公司 Method and system for protecting intersecting ring
CN103067274A (en) * 2012-12-19 2013-04-24 中兴通讯股份有限公司 Spanning tree back-up port quick recovery method and device
WO2013189456A3 (en) * 2012-12-19 2014-02-13 中兴通讯股份有限公司 Method and apparatus for rapidly restoring spanning tree backup port
US9806990B2 (en) 2012-12-19 2017-10-31 Xi'an Zhongxing New Software Co.Ltd. Fast recovery method and device for STP-based backup port
CN103746912A (en) * 2014-01-03 2014-04-23 杭州华三通信技术有限公司 Data message transmission method and equipment based on subring link
CN103746912B (en) * 2014-01-03 2017-04-12 杭州华三通信技术有限公司 Data message transmission method and equipment based on subring link
CN108900404A (en) * 2018-07-11 2018-11-27 智强通达科技(北京)有限公司 A kind of super ring network structure for redundancy backup
CN108900404B (en) * 2018-07-11 2020-12-25 智强通达科技(北京)有限公司 Super ring network structure for redundancy backup
CN109218183A (en) * 2018-08-03 2019-01-15 南京理工大学 A method of overcoming RRPP fringe node flow interrupt
CN114584421A (en) * 2022-02-18 2022-06-03 新华三技术有限公司 Communication method and device

Also Published As

Publication number Publication date
CN101771705B (en) 2013-01-16

Similar Documents

Publication Publication Date Title
US8411690B2 (en) Preventing data traffic connectivity between endpoints of a network segment
RU2423008C2 (en) METHOD AND SYSTEM FOR AUTOMATIC PROTECTION OF Ethernet NETWORK
CN101771705B (en) Processing method based on RRPP and device
US8792337B2 (en) Method and apparatus for providing an uplink over an access ring
EP2736198B1 (en) Message processing method and system
CN101854283B (en) Communication method and equipment of RPR (Resilient Packet Ring) looped network
EP1958364B1 (en) Vpls remote failure indication
CN101841450B (en) Method and system for realizing stable communication by forming multiple ring topologies into intersecting ring
US20100254257A1 (en) Method for processing failure of slave port of master node in ethernet ring network system
TWI455525B (en) Recovery method for ring-based network
WO2010031295A1 (en) Control method for ethernet failure recovery
CN103036756A (en) Hybrid looped network protection method and system based on sharing channel
US20140301185A1 (en) Handling a fault in an ethernet ring network
CN102916862B (en) Intelligent looped network dynamic protection method of industrial Ethernet switch
CN101222402A (en) Ethernet ring protection method, system and device
CN105207871B (en) Double-cut ring network protection method and device
CN103078777A (en) Method and device for eliminating loop in resilient packet ring network
CN103746912B (en) Data message transmission method and equipment based on subring link
CN102014006B (en) Ethernet ring protection switching method for hybrid network
JP2011223172A (en) Ring-type network system, communication apparatus and failure detection method
EP2528263B1 (en) Method for implementing protection group overlay, and method and system for ethernet protection switching
CN106059880A (en) Link fault processing method and link fault processing device
CN104184639B (en) A kind of processing method and equipment of ERPS loops multipoint fault
KR20140009488A (en) Method and system for setting detection frame timeout duration of ethernet node
CN101729349A (en) RRPP-based detection method and device for connectivity of main ring access

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
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.

CP03 Change of name, title or address