CN101729349A - RRPP-based detection method and device for connectivity of main ring access - Google Patents

RRPP-based detection method and device for connectivity of main ring access Download PDF

Info

Publication number
CN101729349A
CN101729349A CN200910176981A CN200910176981A CN101729349A CN 101729349 A CN101729349 A CN 101729349A CN 200910176981 A CN200910176981 A CN 200910176981A CN 200910176981 A CN200910176981 A CN 200910176981A CN 101729349 A CN101729349 A CN 101729349A
Authority
CN
China
Prior art keywords
link
node
srpt
subring
message
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
CN200910176981A
Other languages
Chinese (zh)
Other versions
CN101729349B (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 CN2009101769814A priority Critical patent/CN101729349B/en
Publication of CN101729349A publication Critical patent/CN101729349A/en
Application granted granted Critical
Publication of CN101729349B publication Critical patent/CN101729349B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an RRPP-based detection method for the connectivity of a main ring access. A subring first node receives a link fault message and acquires an SRPT link with faults from the link fault message; the subring first node judges whether another SRPT link generates faults or not according to the SRPT link with the faults; when the another SRPT link generates the faults, the subring first node protects the SRPT link; and when the another SRPT link does not generate the faults, the subring first node does not protect the SRPT link. The invention solves the problem that EDGE-HELLO messages on a main ring can be multiplied with the increase of subrings, effectively reduces the number of the EDGE-HELLO messages on the main ring and saves equipment resources.

Description

A kind of main ring channel connectivity detection method and device based on RRPP
Technical field
The present invention relates to communication technical field, particularly relate to a kind of main ring channel connectivity detection method and device based on RRPP.
Background technology
In the network planning 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 (Spanning Tree Protocol; Spanning-Tree Protocol) Loop Protection mechanism or RRPP (Rapid Ring Protection Protocol; 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.
As shown in Figure 1, 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 is configured to subring, the host node of main ring is S1, and the host node of subring is S6; The transmission node of main ring is S4, and the transmission node of subring is S5.And S3 is a fringe node, and S2 is the assistant edge node.
Concrete, in the RRPP agreement, SRPT (Sub Ring Packet Tunnel in major ring, the passage of subring protocol massages in main ring) regards main ring a logical node of subring as, and the protocol massages of subring can carry out transparent transmission by main ring.Wherein, each subring has 2 SRPT, as S3-S2 among Fig. 1 and S3-S4-S1-S2.As can be seen, when main ring was complete, the secondary port of host node was in blocked state, and this moment, S3-S2 led to, and S3-S4-S1-S2 breaks.When the main ring fault, if fault occurs on the S3-S4-S1-S2, then S3-S2 leads to, if fault occurs on the S3-S2, then S3-S4-S1-S2 leads to, and promptly has only 1 to lead at most among 2 of any time subring SRPT, thereby has avoided the subring message to form loop in main ring.If when 2 SRPT of subring all interrupted, the subring host node can be decontroled secondary port, thereby obtain maximum communication path, as the S6-S5-S2 among Fig. 1, and S6-S3, can not form loop this moment yet.As can be seen, in the RRPP agreement, can guarantee can not form loop in the subring by use SRPT.
But, as shown in Figure 2, in dual-homing networking, in pairing 2 SRPT of subring on the main ring Ring 1 are whole, to have no progeny, the secondary port of the host node of all subrings will be decontroled, and will form data loopback between the subring.Wherein, dual-homing networking is the networking that two subrings have identical link, and in Fig. 2, two subring Ring 2 and Ring 3 are connected by Edge node and assistant edge node, and promptly S3-S2 belongs to two subrings respectively, thereby forms dual-homing networking.Data message trend as shown in Figure 2, for Ring 2, the data message trend is S6-S3-S5-S2-S6, and for Ring 3, the data message trend is promptly to have formed data loopback by S5-S3-S6-S2-S5.
As shown in Figure 3, in order to address the above problem, in the RRPP agreement, introduced SRPT status checkout mechanism.Wherein, this SRPT status checkout mechanism is specially: have no progeny in all when fringe node detects 2 SRPT, before the secondary port of two subring host nodes is decontroled, block (Block, represent with B among Fig. 3) two pairing edge ports of subring fringe node, thus avoided forming between subring data loopback.Same, assistant edge node detection to 2 SRPT has no progeny in, before the secondary ports of two subring host nodes are decontroled, blocks two pairing edge ports of subring assistant edge node, thereby has avoided forming between subring data loopback.
Concrete, in SRPT status checkout process, the subring Edge node and assistant edge node will periodically send and receive the EDGE-HELLO message respectively; Continue dual-homed networking as shown in Figure 2, for Ring 2, S2 needs the frequent EDGE-HELLO of transmission message, and S3 needs the frequent EDGE-HELLO of reception message; Same, for Ring 3, S2 needs the frequent EDGE-HELLO of transmission message, and S3 needs the frequent EDGE-HELLO of reception message.As can be seen, when having disposed more subring, Edge node and assistant edge node will be received and dispatched a large amount of EDGE-HELLO messages, has significantly increased the load of equipment CPU.
In order to reduce the transmitting-receiving quantity of EDGE-HELLO message, in the prior art, introduced ring group mechanism, the set of one group of subring of soon disposing on fringe node or assistant edge node is as a ring group; Wherein, the ring group that disposes on fringe node is called fringe node ring group, and the ring group that disposes on the assistant edge node is called assistant edge node cycle group; For Ring2 among Fig. 2 and Ring3, S3 is a fringe node ring group, S2 assistant edge node cycle group.Wherein, in fringe node ring group, the activation subring of territory ID and ring ID minimum just sends the EDGE-HELLO message, and in assistant edge node cycle group, subring can be notified to other subring after receiving the EDGE-HELLO message; Promptly after having disposed corresponding ring group on the Edge node and assistant edge node respectively, have only a sub-environment-development to send and receive the EDGE-HELLO message, thereby reduced the load of equipment CPU; Continue as shown in Figure 2, because the ring ID minimum (comparing) of Ring 2 with Ring 3, the S3 that is the Ring2 correspondence will send the EDGE-HELLO message, the S2 of Ring 2 correspondences receives the EDGE-HELLO message, and the S3 of Ring 3 correspondences does not need to send the EDGE-HELLO message, the S2 of Ring3 correspondence does not need to receive the EDGE-HELLO message, thereby has reduced the quantity of EDGE-HELLO message.
Though by using ring group mechanism can reduce the transmitting-receiving quantity of EDGE-HELLO message to a certain extent, but, because the fringe node of all subrings must all be configured on same the equipment in the ring group, the assistant edge node also all must be configured on same the equipment, and the SRPT link of these subrings is necessary identical, thereby has limited the range of application of ring group mechanism.When the SRPT link of the SRPT of certain subring link and other subring not simultaneously, then can not use this ring group mechanism, this subring needs independently carry out the SRPT testing process, thereby causes the EDGE-HELLO message on the main ring to grow along with increasing of subring form multiplication.
As shown in Figure 4, have a main ring Ring 1 and four subrings, four subrings are respectively Ring 2, Ring 3, Ring 4, Ring 5; A, B, C, D, E, F, G, H, J, K, L, M, N, O are the node on each ring, and except node N, O, other node all is fringe node or assistant edge node on main ring.As can be seen, the SRPT link of each subring among Fig. 4 is all different, promptly all needs to send and receive the EDGE-HELLO message between the Edge node and assistant edge node in Ring 2, Ring 3, Ring 4, Ring 5 each subring.Be that each node on the main ring all can be received the EDGE-HELLO message that fringe node sent of each subring.In Fig. 4, because 4 subrings are arranged, make that each node all can be received 4 parts of EDGE-HELLO messages on the main ring, the transmitting-receiving quantity of EDGE-HELLO message is still a lot, has significantly increased the load of equipment CPU.
Summary of the invention
The invention provides a kind of main ring channel connectivity detection method and device,, alleviate the load of CPU to reduce the transmitting-receiving quantity of EDGE-HELLO message in the RRPP network based on RRPP.
In order to achieve the above object, the present invention proposes a kind of main ring channel connectivity detection method based on RRPP, be applied to comprise in the RRPP network of at least one subring, wherein, the fringe node of subring is in the subring first node of this subring or the subring tail node any one, the assistant edge node is remaining one, described subring first node is a SRPT link to the link between the described subring tail node, the link of a non-SRPT link portions is the 2nd SRPT link in the described subring, said method comprising the steps of:
Described subring first node receives link failure message, and obtains the SRPT link that breaks down from described link failure message;
Described subring first node judges according to the described SRPT link that breaks down whether another SRPT link breaks down;
When described another SRPT link broke down, described subring first node was carried out the SRPT link protection;
When described another SRPT link did not break down, described subring first node was not carried out the SRPT link protection.
In described RRPP network, link between the fringe node and fringe node on described the 2nd SRPT link, between the Edge node and assistant edge node, between assistant edge node and the assistant edge node is Three S's RPT link, and described subring first node receives link failure message and comprises:
When not receiving the EDGE-HELLO message in the described subring tail node predetermined period, described subring first node receives the link failure message that described subring tail node sends by subring, the information of carrying a described SRPT link failure in the described link failure message; Or,
Described subring first node receives the link failure message that sends by main ring, the information of carrying described Three S's RPT link failure in the described link failure message; Wherein, the tail node that described link failure message is described Three S's RPT link sends, be specially when the EDGE-HELLO message do not received in the tail node predetermined period of described Three S's RPT link from the first node of described Three S's RPT link, then send described link failure message by main ring.
When described subring first node receives the link failure message that described subring tail node sends by subring, a described SRPT link is updated to malfunction; Or
When described subring first node receives the link failure message that sends by main ring, described the 2nd SRPT link is updated to malfunction;
Described subring first node is judged according to the described SRPT link that breaks down whether another SRPT link breaks down and is specially:
Described subring first node judges whether described another SRPT link is malfunction.
Described method also comprises:
After a described SRPT link breaks down, if described subring first node is received the link failure recovery message that sends from subring, or do not receive from described subring in the Preset Time and sent link failure message, described subring first node is judged a described SRPT link-recovery, and a described SRPT link is updated to non-malfunction.
Described method also comprises:
After described the 2nd SRPT link breaks down, if described subring first node is received the link failure recovery message that sends from main ring, and the information of carrying Three S's RPT link failure recovery in the described link failure recovery message, or do not receive in the Preset Time that main ring sends with Three S's RPT link link corresponding failure message, described subring first node is judged described Three S's RPT link-recovery; When all Three S's RPT links all recovered, described subring first node was judged described the 2nd SRPT link-recovery, and described the 2nd SRPT link is updated to non-malfunction.
A kind of main ring channel connectivity checkout gear based on RRPP, be applied to comprise in the RRPP network of at least one subring, wherein, the fringe node of subring is in the subring first node of this subring or the subring tail node any one, the assistant edge node is remaining one, described subring first node is a SRPT link to the link between the described subring tail node, and the link of a non-SRPT link portions is the 2nd SRPT link in the described subring, and described device comprises:
Transceiver module is used to receive link failure message;
Acquisition module electrically connects with described transceiver module, is used for obtaining the SRPT link that breaks down from the link failure message that described transceiver module receives;
Judge module electrically connects with described acquisition module, is used for judging according to the SRPT link that breaks down that described acquisition module obtains whether another SRPT link breaks down;
Processing module is used for carrying out the SRPT link protection when described judge module judges that described another SRPT link breaks down; Or
When described judge module judges that described another SRPT link does not break down, do not carry out the SRPT link protection.
In described RRPP network, the link between the fringe node and fringe node on described the 2nd SRPT link, between the Edge node and assistant edge node, between assistant edge node and the assistant edge node is Three S's RPT link,
Described transceiver module specifically is used for: when not receiving the EDGE-HELLO message in the described subring tail node predetermined period, receive the link failure message that described subring tail node sends by subring, the information of carrying a described SRPT link failure in the described link failure message; Or,
The link failure message that reception sends by main ring, the information of carrying described Three S's RPT link failure in the described link failure message; Wherein, the tail node that described link failure message is described Three S's RPT link sends, be specially when the EDGE-HELLO message do not received in the tail node predetermined period of described Three S's RPT link from the first node of described Three S's RPT link, then send described link failure message by main ring.
Described processing module also is used for: when receiving the link failure message that described subring tail node sends by subring, a described SRPT link is updated to malfunction; Or
When receiving the link failure message that sends by main ring, described the 2nd SRPT link is updated to malfunction.
Described judge module also is used for: after a described SRPT link breaks down, if receive the link failure recovery message that sends from subring, or do not receive from described subring in the Preset Time and sent link failure message, judge a described SRPT link-recovery, and a described SRPT link is updated to non-malfunction.
Described judge module also is used for: after described the 2nd SRPT link breaks down, if receive the link failure recovery message that sends from main ring, and the information of carrying Three S's RPT link failure recovery in the described link failure recovery message, or do not receive in the Preset Time that main ring sends with Three S's RPT link link corresponding failure message, judge described Three S's RPT link-recovery; When all Three S's RPT links all recover, judge described the 2nd SRPT link-recovery, and described the 2nd SRPT link is updated to non-malfunction.
Compared with prior art, the present invention has the following advantages: solved that the EDGE-HELLO message can form the long problem of multiplication along with increasing of subring on the main ring, effectively reduced EDGE-HELLO message amount on the main ring, saved device resource.
Description of drawings
Fig. 1 is the element schematic diagram of RRPP in the RRPP agreement in the prior art;
Fig. 2 is a dual-homing networking schematic diagram in the prior art;
Fig. 3 is for having introduced the schematic diagram of SRPT status checkout mechanism in the prior art;
Fig. 4 can form the schematic diagram of the long situation of multiplication along with increasing of subring for the EDGE-HELLO message on the main ring in the prior art;
A kind of main ring channel connectivity detection method flow chart that Fig. 5 proposes for the present invention based on RRPP;
The networking model figure that Fig. 6 proposes for the present invention;
A kind of main ring channel connectivity checkout gear structure chart that Fig. 7 proposes for the present invention based on RRPP.
Embodiment
Basic thought of the present invention is by judging on subring first node whether a SRPT link and the 2nd SRPT link all break down; when the two all breaks down; initiate the SRPT link protection mechanism by subring first node; thereby guarantee loop can not occur in the RRPP network, and reduced the quantity forwarded of EDGE-HELLO message.
A kind of main ring channel connectivity detection method that the present invention proposes based on RRPP, be applied to comprise in the RRPP network of at least one subring, wherein, the fringe node of subring is in the subring first node of this subring or the subring tail node any one, the assistant edge node is remaining one, described subring first node is a SRPT link to the link between the described subring tail node, the link of a non-SRPT link portions is the 2nd SRPT link in the described subring, as shown in Figure 5, said method comprising the steps of:
Step S501, described subring first node receives link failure message, and obtains the SRPT link that breaks down from described link failure message.
Step S502, described subring first node judges according to the described SRPT link that breaks down whether another SRPT link breaks down.
Step S503, when described another SRPT link broke down, described subring first node was carried out the SRPT link protection.
Step S504, when described another SRPT link did not break down, described subring first node was not carried out the SRPT link protection.
For the main ring channel connectivity detection method based on RRPP provided by the present invention more clearly is described, describe the present invention with networking model shown in Figure 6.In Fig. 6, Ring 1 is a main ring, and Ring 2, Ring 3, Ring 4, Ring 5, Ring 2 ', Ring 3 ', Ring 4 ', Ring 5 ' are subring; Node A, Node B, Node B ', node C, node D, node E, node E ', node F, node G, node H, node H ', node J, node K, node L, node L ', node M, node N, node O be the node on each ring, except node N, O, other node all is fringe node or assistant edge node on main ring.Wherein, Ring 2 and Ring 2 ' form dual-homing networking, Ring 3 and Ring 3 ' form dual-homing networking, Ring 4 and Ring 4 form dual-homing networking, Ring 5 and Ring 5 ' form dual-homing networking, all nodes are the equipment in the network, for example, and the network equipments such as router, switch.
Concrete, in dual-homing networking, introduced SRPT status checkout mechanism, promptly the subring Edge node and assistant edge node will periodically send and receive the EDGE-HELLO message respectively; Have no progeny in all when fringe node detects 2 SRPT, before the secondary ports of two subring host nodes are decontroled, block two pairing edge ports of subring fringe node, thereby avoided forming between subring data loopback.And the main ring channel connectivity detection method based on RRPP provided by the present invention, be in order to solve above-mentioned subring Edge node and assistant edge node and will periodically to send and receive the EDGE-HELLO message respectively, cause the more problem of EDGE-HELLO message amount.
In the present invention, at first arrange following notion.(1) the one SRPT link, the SRPT link that each subring and main ring intersect; For example, link A-C, link D-F, link G-J, link K-M.(2) the 2nd SRPT links, the link on the main ring outside the SRPT link portions are the 2nd SRPT link, and wherein, the 2nd SRPT link is with respect to a SRPT link; For example, for link A-C, the 2nd corresponding SRPT link is link C-D-F...-A; Pairing the 2nd SRPT link of link D-F is link F-G...-D, and is similar in this for other the 2nd SRPT link, do not repeat them here.(3) Three S's RPT links, on the main ring outside the SRPT link portions, between fringe node and the fringe node, between the Edge node and assistant edge node, link between assistant edge node and the assistant edge node is Three S's RPT link, wherein, Three S's RPT link is at a SRPT link, for example, when a SRPT link is link A-C, link C-D, link D-F, link F-G etc. all can be Three S's RPT link (promptly between the 2nd SRPT link top edge node and the fringe node, between the Edge node and assistant edge node, link between assistant edge node and the assistant edge node); Again for example, when a SRPT link was link D-F, link C-D, link F-G, link A-C, link M-N-O-A etc. all can be Three S's RPT link, give unnecessary details no longer in detail at this.Wherein, above-mentioned a SRPT link, the 2nd SRPT link and Three S's RPT link are referred to as sub-SRPT link.And an above-mentioned SRPT link, the 2nd SRPT link and Three S's RPT link describe for example in a clockwise direction, and in the counterclockwise direction, above-mentioned agreement is suitable equally, and for example, a SRPT link can be link C-A; The 2nd corresponding SRPT link is link A-O...-C, repeats no more among the present invention, and following processes all is example in a clockwise direction.As can be seen, all sub-SRPT links by a fringe node (or assistant edge node) and an assistant edge node (or fringe node) join end to end form, node and tail node headed by the two difference, continue to arrange first node and tail node for example in a clockwise direction, for example, on a SRPT link A-C, node, C are tail node (if according to counterclockwise coming approximately regularly, then A is a node headed by tail node, the C) headed by the A; Certainly, certain node promptly can headed by node, also can be tail node, for example, on a SRPT link A-C, C is a tail node, and on Three S's RPT link C-D, node headed by the C.In addition, for all subrings, continue agreement subring first node and subring tail node, this subring first node and subring tail node are pairing first node and tail node in the subring, and for example, for Ring 2, subring first node is node A, and the subring tail node is node C.
In the main ring channel connectivity detection method provided by the present invention, send the EDGE-HELLO message by the first node on the sub-SRPT link to tail node, in predetermined period, can not receive the EDGE-HELLO message of the node of confessing one's crime as the tail node on the fruit SRPT link, show that then this sub-SRPT link breaks down.Wherein, node A sends the EDGE-HELLO message to node C, and node C sends the EDGE-HELLO message to node D, and node D sends the EDGE-HELLO message to node F, and by that analogy, node O sends the EDGE-HELLO message to node A; When certain node can't receive the EDGE-HELLO message, then the corresponding sub-SRPT link of explanation broke down.For example, when node D can't receive the EDGE-HELLO message, illustrate that then Three S's RPT link C-D breaks down.
Further, when tail node determines that link breaks down (reason that breaks down owing to link is that tail node can't be received the EDGE-HELLO message, and promptly tail node can determine whether link breaks down), do following processing: (1) record link malfunction; (2) periodically to downstream node (pairing tail node when promptly this tail node is as first node) sends link failure message; Wherein, carry the information of any strip SRPT link occurs fault in this link failure message at least.In addition, when this tail node is tail node (being the subring tail node) on the SRPT link, also can carry out (3), (3) periodically send the subring first node of link failure message to correspondence by subring.For example, when node D determines that Three S's RPT link C-D breaks down, the information that Three S's RPT link C-D breaks down will be write down, and F sends link failure message to downstream node, carries the information that Three S's RPT link C-D breaks down in this transmission link failure message.And when node C determines that a SRPT link A-C breaks down, also the information that a SRPT link A-C breaks down can be sent to node A by Ring 2 and Ring 2 '.
Further, for the first node and the tail node that receive this link failure message, will judge whether self is the promoter of this link failure message; If the time, then directly abandon this link failure message; If not, then need to write down the link malfunction, and this link failure message is sent to downstream node.For example, carry the break down link failure message of information of Three S's RPT link C-D, when node D receives this link failure message, will directly abandon this link failure message for what node D sent; And when other nodes receive this link failure message, then write down the information that sublink C-D breaks down, and send this link failure message to downstream node.In addition, need to prove, owing to determine link whether the reason of fault be that first node in the subring and tail node need handle that (this processing procedure will describe in detail in the following description accordingly according to the information of link failure, do not repeat them here), therefore (for example for the node in the non-subring, non-first node in the subring and tail node, node N and O), can not write down this link failure state, directly this link failure message is sent to downstream node.
Determine that with tail node C a SRPT link A-C breaks down, and have only this link to break down to describe for example.Tail node C will write down a SRPT link A-C and break down, and the information that the one SRPT link A-C breaks down is sent to node D by link failure message, in addition, this node C also needs to send this link failure message by Ring 2 and Ring 2 ' to first node A; At this moment, first node A knows that a SRPT link A-C breaks down.Node D writes down the information that a SRPT link A-C breaks down when receiving this link failure message, and gives node F with this link failure forwards; By that analogy, node F, G, J, K, M and processing procedure are identical with node D, repeat no more, and node N directly sends to node O after receiving this link failure message, node O directly is transmitted to node A with this link failure message, node A writes down a SRPT link A-C and breaks down, and this link failure message is sent to node C after receiving this link failure message, it self is the promoter of this link failure message that node C judges, abandons this link failure message.At this moment, each node on the main ring has all been known the information that a SRPT link A-C breaks down.(1) need to prove, whether break down for a strip SRPT link, need subring first node and subring tail node to know, in the above example, for node A and C, node A and node C know that all a SRPT link A-C breaks down, and the 2nd SRPT link C-A do not break down (having given node A from the link failure transmission of messages that node C sends), the result who is the SRPT status checkout breaks down for having only a link, for Ring 2 and Ring 2 ', loop problem can not appear.And if the link failure message that node C sends is finally can't be transferred to node A the time, then illustrate on the 2nd SRPT link C-A and fault occurred, the result who is the SRPT status checkout is that two links break down, for Ring 2 and Ring 2 ', link failure can appear, need node A and node C port blocked, this determines that the processing procedure of link after breaking down is not problem to be solved among the present invention, no longer encyclopaedizes among the present invention.(2) and for the node on other SRPT links, for example, node D (F, G etc.), when knowing that a SRPT link A-C breaks down, (when receiving the link failure message of node C transmission, write down), the 2nd SRPT link that can determine self breaks down, and (link A-C is pairing the 2nd SRPT link of a SRPT link D-F, pairing the 2nd SRPT link of the one SRPT link G-J etc.), the result of SRPT status checkout breaks down for having only a link, corresponding subring loop problem can not occur, does not repeat them here.
Need to prove; above-mentioned handling process is a situation of having only a link to break down on the main ring; and in actual applications; on the main ring not only a link break down, for a subring, a SRPT link and the 2nd SRPT link may all break down; at this moment; subring first node and/or subring tail node in this subring need be initiated the SRPT link protection mechanism, promptly block corresponding port, give unnecessary details no longer in detail at this.
Further, initiate the SRPT link protection mechanism owing to only need a node in subring first node and the subring tail node, promptly can realize the purpose of port blocked, among the present invention, initiating the SRPT link protection mechanism with subring first node is that example describes; Detailed process is that subring first node judges whether a SRPT link and the 2nd SRPT link all break down, and when the two all breaks down, initiates the SRPT link protection mechanism, otherwise, do not need to initiate the SRPT link protection mechanism.Certainly, according to the actual needs, also can be judged whether to need to initiate the SRPT link protection mechanism by the subring tail node, this deterministic process and subring first node type repeat no more among the present invention.
Concrete, by top flow process, which strip SRPT link each node on the main ring can write down breaks down, and can handle according to fault message.Among the present invention, determine that the reason whether link breaks down is that subring first node need (for example be handled accordingly according to link failure, port blocked etc.), among the present invention, for make subring first node convenient carry out respective handling according to link failure information, can on subring first node, write down two states; Whether a, a SRPT link fault, and acquiescence is in non-malfunction.Whether b, the 2nd SRPT link fault, and acquiescence is in non-malfunction.
Concrete, the malfunction of above-mentioned two links can be obtained in the following manner: (1) is if subring first node is received the link failure message that sends from subring, then this subring first node becomes the state of a into malfunction (be that the subring tail node periodically sends link failure message to subring first node by subring, illustrate between subring first node and subring tail node to break down); (2) if subring first node is received the link failure message (being that subring first node is received the link failure message that sends from main ring) that is not from the subring transmission, and what carry in the link failure message is the information of Three S's RPT link failure, this subring first node has become the state of b into malfunction, and the sub-SRPT link of the correspondence of carrying in the record link failure message is a malfunction.For example, for node A, when receiving the link failure message that node C sends by subring, the state of a is become malfunction; When receiving the link failure message that node O sends, and carry in this link failure message be Three S's RPT link failure (for example, during the link failure message of the Three S's RPT link C-D link failure that node D sends) information, the state of b has been become malfunction; As can be seen, Three S's RPT link is the part of the 2nd SRPT link.Further, group eye node detection to two state (a and b) all during fault, is then initiated the SRPT link protection mechanism.
In the superincumbent description, antithetical phrase SRPT link breaks down and is described in detail, and will set forth this sub-SRPT link failure recovery below.Wherein, as (being that tail node can receive the EDGE-HELLO message) behind the fruit SRPT link failure recovery, then Dui Ying tail node (tail node that above-mentioned definite link breaks down) will stop to send link failure message to downstream node, and send link failure recovery message to downstream node, wherein, the information of carrying any strip SRPT link failure recovery at least in this link failure recovery message.Further, when this tail node is the subring tail node, also need to stop to send link failure message, and send link failure recovery message to subring first node by subring to subring first node; And if subring first node is received link failure recovery message, or do not receive link failure message at the appointed time, needing to recover Link State is normal condition.
Further, for the node that receives this link failure recovery message, will judge whether self is the promoter of this link failure recovery message; If the time, then directly abandon this link failure recovery message; If not, then need to write down the information of link-recovery, and this link failure recovery message is sent to downstream node.In addition, when the node on the main ring is not received the link failure message that upstream node sends in Preset Time, also need to write down the information of link-recovery.For example, the link failure recovery message of carrying Three S's RPT link C-D fault recovery information for node D sends when node D receives this link failure recovery message, will directly abandon this link failure recovery message; And when other nodes receive this link failure recovery message, then write down the information of sublink C-D fault recovery, and send this link failure recovery message to downstream node.
Need to prove, by the agency of in the above, determine that the reason whether link breaks down is that subring first node need be handled accordingly according to link failure, when link-recovery, subring first node need write down corresponding recovering information, concrete, subring first node is recovered in the following manner: (1) is if receive the link failure recovery message that sends over from subring, or do not have in the stipulated time to receive the link failure message that sends over from subring, show that then the state of a has become non-malfunction; (2) if receive that what be not to carry the link failure recovery message that sends over from subring and the link failure message is Three S's RPT link failure recovery message, or do not receive link corresponding failure message (corresponding Three S's RPT link failure message) at the appointed time, the fault that shown among the b certain strip STPT link-recovery, it is non-malfunction that subring first node is recovered this sub-STPT link; When all sub-STPT links all revert to non-malfunction among the b, show that then the state of b has become non-malfunction.For example, when in node A, having write down the information that Three S's RPT link F-G (the link failure message by F is known) breaks down, when receiving the fault recovery message of F transmission, then show Three S's RPT link F-G link-recovery, at this moment, the state that can not guarantee b has become non-malfunction, has only when all sub-STPT links that write down among the node A all revert to non-malfunction, could guarantee that the state of b becomes non-malfunction.
The invention allows for a kind of main ring channel connectivity checkout gear based on RRPP, be applied to comprise in the RRPP network of at least one subring, wherein, the fringe node of subring is in the subring first node of this subring or the subring tail node any one, the assistant edge node is remaining one, described subring first node is a SRPT link to the link between the described subring tail node, the link of a non-SRPT link portions is the 2nd SRPT link in the described subring, in described RRPP network, between the fringe node and fringe node on described the 2nd SRPT link, between the Edge node and assistant edge node, link between assistant edge node and the assistant edge node is Three S's RPT link, as shown in Figure 7, described device comprises:
Transceiver module 71 is used to receive link failure message.
Concrete, when receiving link failure message, described transceiver module 71 specifically is used for when not receiving the EDGE-HELLO message in the described subring tail node predetermined period, receive the link failure message that described subring tail node sends by subring, the information of carrying a described SRPT link failure in the described link failure message; Or, receive the link failure message that sends by main ring, the information of carrying described Three S's RPT link failure in the described link failure message; Wherein, the tail node that described link failure message is described Three S's RPT link sends, be specially when the EDGE-HELLO message do not received in the tail node predetermined period of described Three S's RPT link from the first node of described Three S's RPT link, then send described link failure message by main ring.
Acquisition module 72 electrically connects with described transceiver module 71, is used for obtaining the SRPT link that breaks down from the link failure message that described transceiver module 71 receives.
Judge module 73 electrically connects with described acquisition module 72, is used for judging according to the SRPT link that breaks down that described acquisition module 72 obtains whether another SRPT link breaks down.
Further, after a described SRPT link breaks down, if receive the link failure recovery message that sends from subring, or do not receive from described subring in the Preset Time and sent link failure message, described judge module 73 also is used to judge a described SRPT link-recovery, and a described SRPT link is updated to non-malfunction.
After described the 2nd SRPT link breaks down, if receive the link failure recovery message that sends from main ring, and the information of carrying Three S's RPT link failure recovery in the described link failure recovery message, or do not receive in the Preset Time that main ring sends with Three S's RPT link link corresponding failure message, described judge module 73 also is used to judge described Three S's RPT link-recovery; When all Three S's RPT links all recovered, described judge module 73 also was used to judge described the 2nd SRPT link-recovery, and described the 2nd SRPT link is updated to non-malfunction.
Processing module 74 is used for carrying out the SRPT link protection when described judge module 73 judges that described another SRPT link breaks down; Or when described judge module 73 judges that described another SRPT link does not break down, do not carry out the SRPT link protection.
Wherein, when receiving the link failure message that described subring tail node sends by subring, described processing module 74 is used for a described SRPT link is updated to malfunction; Or when receiving the link failure message that sends by main ring, described processing module 74 is used for described the 2nd SRPT link is updated to malfunction.
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. main ring channel connectivity detection method based on RRPP, it is characterized in that, be applied to comprise in the RRPP network of at least one subring, wherein, the fringe node of subring is in the subring first node of this subring or the subring tail node any one, and the assistant edge node is remaining one, and described subring first node is a SRPT link to the link between the described subring tail node, the link of a non-SRPT link portions is the 2nd SRPT link in the described subring, said method comprising the steps of:
Described subring first node receives link failure message, and obtains the SRPT link that breaks down from described link failure message;
Described subring first node judges according to the described SRPT link that breaks down whether another SRPT link breaks down;
When described another SRPT link broke down, described subring first node was carried out the SRPT link protection;
When described another SRPT link did not break down, described subring first node was not carried out the SRPT link protection.
2. the method for claim 1, it is characterized in that, in described RRPP network, link between the fringe node and fringe node on described the 2nd SRPT link, between the Edge node and assistant edge node, between assistant edge node and the assistant edge node is Three S's RPT link, and described subring first node receives link failure message and comprises:
When not receiving the EDGE-HELLO message in the described subring tail node predetermined period, described subring first node receives the link failure message that described subring tail node sends by subring, the information of carrying a described SRPT link failure in the described link failure message; Or,
Described subring first node receives the link failure message that sends by main ring, the information of carrying described Three S's RPT link failure in the described link failure message; Wherein, the tail node that described link failure message is described Three S's RPT link sends, be specially when the EDGE-HELLO message do not received in the tail node predetermined period of described Three S's RPT link from the first node of described Three S's RPT link, then send described link failure message by main ring.
3. method as claimed in claim 2 is characterized in that, when described subring first node receives the link failure message that described subring tail node sends by subring, a described SRPT link is updated to malfunction; Or
When described subring first node receives the link failure message that sends by main ring, described the 2nd SRPT link is updated to malfunction;
Described subring first node is judged according to the described SRPT link that breaks down whether another SRPT link breaks down and is specially:
Described subring first node judges whether described another SRPT link is malfunction.
4. the method for claim 1 is characterized in that, described method also comprises:
After a described SRPT link breaks down, if described subring first node is received the link failure recovery message that sends from subring, or do not receive from described subring in the Preset Time and sent link failure message, described subring first node is judged a described SRPT link-recovery, and a described SRPT link is updated to non-malfunction.
5. the method for claim 1 is characterized in that, described method also comprises:
After described the 2nd SRPT link breaks down, if described subring first node is received the link failure recovery message that sends from main ring, and the information of carrying Three S's RPT link failure recovery in the described link failure recovery message, or do not receive in the Preset Time that main ring sends with Three S's RPT link link corresponding failure message, described subring first node is judged described Three S's RPT link-recovery; When all Three S's RPT links all recovered, described subring first node was judged described the 2nd SRPT link-recovery, and described the 2nd SRPT link is updated to non-malfunction.
6. main ring channel connectivity checkout gear based on RRPP, it is characterized in that, be applied to comprise in the RRPP network of at least one subring, wherein, the fringe node of subring is in the subring first node of this subring or the subring tail node any one, and the assistant edge node is remaining one, and described subring first node is a SRPT link to the link between the described subring tail node, the link of a non-SRPT link portions is the 2nd SRPT link in the described subring, and described device comprises:
Transceiver module is used to receive link failure message;
Acquisition module electrically connects with described transceiver module, is used for obtaining the SRPT link that breaks down from the link failure message that described transceiver module receives;
Judge module electrically connects with described acquisition module, is used for judging according to the SRPT link that breaks down that described acquisition module obtains whether another SRPT link breaks down;
Processing module is used for carrying out the SRPT link protection when described judge module judges that described another SRPT link breaks down; Or
When described judge module judges that described another SRPT link does not break down, do not carry out the SRPT link protection.
7. device as claimed in claim 6, it is characterized in that, in described RRPP network, the link between the fringe node and fringe node on described the 2nd SRPT link, between the Edge node and assistant edge node, between assistant edge node and the assistant edge node is Three S's RPT link
Described transceiver module specifically is used for: when not receiving the EDGE-HELLO message in the described subring tail node predetermined period, receive the link failure message that described subring tail node sends by subring, the information of carrying a described SRPT link failure in the described link failure message; Or,
The link failure message that reception sends by main ring, the information of carrying described Three S's RPT link failure in the described link failure message; Wherein, the tail node that described link failure message is described Three S's RPT link sends, be specially when the EDGE-HELLO message do not received in the tail node predetermined period of described Three S's RPT link from the first node of described Three S's RPT link, then send described link failure message by main ring.
8. device as claimed in claim 7 is characterized in that,
Described processing module also is used for: when receiving the link failure message that described subring tail node sends by subring, a described SRPT link is updated to malfunction; Or
When receiving the link failure message that sends by main ring, described the 2nd SRPT link is updated to malfunction.
9. device as claimed in claim 6 is characterized in that,
Described judge module also is used for: after a described SRPT link breaks down, if receive the link failure recovery message that sends from subring, or do not receive from described subring in the Preset Time and sent link failure message, judge a described SRPT link-recovery, and a described SRPT link is updated to non-malfunction.
10. device as claimed in claim 6 is characterized in that,
Described judge module also is used for: after described the 2nd SRPT link breaks down, if receive the link failure recovery message that sends from main ring, and the information of carrying Three S's RPT link failure recovery in the described link failure recovery message, or do not receive in the Preset Time that main ring sends with Three S's RPT link link corresponding failure message, judge described Three S's RPT link-recovery; When all Three S's RPT links all recover, judge described the 2nd SRPT link-recovery, and described the 2nd SRPT link is updated to non-malfunction.
CN2009101769814A 2009-09-25 2009-09-25 RRPP-based detection method and device for connectivity of main ring access Expired - Fee Related CN101729349B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101769814A CN101729349B (en) 2009-09-25 2009-09-25 RRPP-based detection method and device for connectivity of main ring access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101769814A CN101729349B (en) 2009-09-25 2009-09-25 RRPP-based detection method and device for connectivity of main ring access

Publications (2)

Publication Number Publication Date
CN101729349A true CN101729349A (en) 2010-06-09
CN101729349B CN101729349B (en) 2012-01-04

Family

ID=42449615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101769814A Expired - Fee Related CN101729349B (en) 2009-09-25 2009-09-25 RRPP-based detection method and device for connectivity of main ring access

Country Status (1)

Country Link
CN (1) CN101729349B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102468991A (en) * 2010-11-15 2012-05-23 北京意科通信技术有限责任公司 Information transmission method and system
CN104468347A (en) * 2013-09-18 2015-03-25 中兴通讯股份有限公司 Method and device for controlling self-loopback of network data
CN111555827A (en) * 2020-05-06 2020-08-18 中国商用飞机有限责任公司 Method and apparatus for detecting air-to-ground links

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IT1318790B1 (en) * 2000-08-29 2003-09-10 Cit Alcatel METHOD TO MANAGE THE TIME-SLOT ALLOCATION CHANGE IN ADANELLO MS-SPRING NETWORKS OF TRANSOCEANIC TYPE.
CN100409634C (en) * 2006-01-23 2008-08-06 杭州华三通信技术有限公司 Fast ring network protecting method and system
CN100450036C (en) * 2006-08-18 2009-01-07 华为技术有限公司 Method and apparatus for preventing loop when RRPP and partial STP network damage recovery

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102468991A (en) * 2010-11-15 2012-05-23 北京意科通信技术有限责任公司 Information transmission method and system
CN102468991B (en) * 2010-11-15 2015-04-08 北京意科通信技术有限责任公司 Information transmission method and system
CN104468347A (en) * 2013-09-18 2015-03-25 中兴通讯股份有限公司 Method and device for controlling self-loopback of network data
CN104468347B (en) * 2013-09-18 2019-04-02 中兴通讯股份有限公司 Control method and device of the network data from loopback
CN111555827A (en) * 2020-05-06 2020-08-18 中国商用飞机有限责任公司 Method and apparatus for detecting air-to-ground links

Also Published As

Publication number Publication date
CN101729349B (en) 2012-01-04

Similar Documents

Publication Publication Date Title
US8886831B2 (en) System and methodology for fast link failover based on remote upstream failures
EP1994694B1 (en) System and method for preventing loops in the presence of control plane failures
US9602348B2 (en) Methods and apparatus for detecting and handling split brain issues in a link aggregation group
US8411690B2 (en) Preventing data traffic connectivity between endpoints of a network segment
EP3599521B1 (en) System and method of communicating data over high availability industrial control systems
US9218230B2 (en) Method for transmitting messages in a redundantly operable industrial communication network and communication device for the redundantly operable industrial communication network
US20140025833A1 (en) Communication Device and Method for Transmitting Messages in a Redundantly Operable Industrial Communication Network
WO2016116050A1 (en) Failure protection method, device and system for ring protection link
US10230540B2 (en) Method, device and system for communicating in a ring network
US20140301185A1 (en) Handling a fault in an ethernet ring network
CN102918809B (en) The method of network and expanding element and operational network
JP7405494B2 (en) Failed multilayer link recovery method and controller
WO2012139531A1 (en) Handling a fault in an ethernet ring network
CN101729349B (en) RRPP-based detection method and device for connectivity of main ring access
CN101771705A (en) Processing method based on RRPP and device
CN104702498A (en) Method and device for reducing the number of optical connections through coordination protection
US8649261B2 (en) Method and system for blocking protocol messages at a sub-ring control channel without virtual channel
US9323629B2 (en) Method for managing path failures of OSEK networks
CN103414591A (en) Method and system for fast converging when port failure is recovered
EP2698949B1 (en) METHOD AND SYSTEM FOR SETTING DETECTION FRAME TIMEOUT DURATION OF ETHERNET NODEs
EP3232617B1 (en) Protection switching method and system, and nodes
WO2021023236A1 (en) Method and apparatus for sharing information in redundant network, and computer storage medium
EP2898636B1 (en) Method for running a computer network
CN105656542A (en) Protection switching method, system and node
CN113472648B (en) Bidirectional Forwarding Detection (BFD) method and device and network equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120104

Termination date: 20200925

CF01 Termination of patent right due to non-payment of annual fee