CN101729349B - 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
CN101729349B
CN101729349B CN2009101769814A CN200910176981A CN101729349B CN 101729349 B CN101729349 B CN 101729349B CN 2009101769814 A CN2009101769814 A CN 2009101769814A CN 200910176981 A CN200910176981 A CN 200910176981A CN 101729349 B CN101729349 B CN 101729349B
Authority
CN
China
Prior art keywords
link
node
subring
srpt
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.)
Expired - Fee Related
Application number
CN2009101769814A
Other languages
Chinese (zh)
Other versions
CN101729349A (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

Landscapes

  • Small-Scale Networks (AREA)

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 through connecting together the shape of some network equipments through 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 in network, to transmit.
In practical application; The convergence time of STP agreement receives 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 big or small influence of network, thereby be widely used.Wherein, RRPP is the link layer protocol of specialized application in 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 breaks off, can launch 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 intersecting the 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 through main ring.Wherein, each subring has 2 SRPT, like S3-S2 among Fig. 1 and S3-S4-S1-S2.Can find out that when main ring was complete, the secondary port of host node was in blocked state, 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 in main ring, to form loop.If when 2 SRPT of subring all interrupted, the subring host node can be decontroled secondary port, thereby obtain maximum communication path, like the S6-S5-S2 among Fig. 1, and S6-S3, can not form loop this moment yet.Can find out, in the RRPP agreement, can guarantee can not form loop in the subring through 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 sub-loop have identical link, and in Fig. 2, two sub-loop Ring 2 and Ring 3 are connected through Edge node and assistant edge node, and promptly S3-S2 belongs to two sub-loop 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 sub-loop host nodes is decontroled; Block the pairing edge port of (Block representes with B among Fig. 3) two sub-loop fringe nodes, thereby avoided forming between subring data loopback.Same, assistant edge node detection to 2 SRPT has no progeny in, before the secondary port of two sub-loop host nodes is decontroled, blocks the pairing edge port of two sub-loop assistant edge nodes, 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.Can find out that 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 the one group of subring that is about to dispose on node on the edge of or the assistant edge node is as a ring group; Wherein, the ring group that disposes on the node on the edge of is called fringe node ring group, and the ring group that on the assistant edge node, disposes 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 the node cycle group, territory ID just sends the EDGE-HELLO message with the activation subring of ring ID minimum on the edge of, and in assistant edge node cycle group, subring can notice be given other subring after receiving the EDGE-HELLO message; After promptly having disposed corresponding ring group respectively on node and the assistant edge node on the edge of, have only a sub-loop 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 of Ring 2 minimum (comparing) with Ring 3; Be that the corresponding S3 of Ring2 will send the EDGE-HELLO message, Ring 2 corresponding S2 receive the EDGE-HELLO message, and Ring 3 corresponding S3 need not send the EDGE-HELLO message; The S2 that Ring3 is corresponding need not receive the EDGE-HELLO message, thereby has reduced the quantity of EDGE-HELLO message.
Though through 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 sub-loop link and other subring not simultaneously, then can not use should ring group mechanism, this subring needs independently carry out the SRPT testing process, thereby causes the EDGE-HELLO message on the main ring to form multiplication length along with increasing of subring.
As shown in Figure 4, there are a main ring Ring 1 and four sub-loop, four sub-loop 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.Can find out that the SRPT link of each subring among Fig. 4 is all different, promptly all need 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 sub-loop 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 present invention provides a kind of main ring channel connectivity detection method and device based on RRPP, to reduce the transmitting-receiving quantity of EDGE-HELLO message in the RRPP network, alleviates the load of CPU.
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 that wherein, the fringe node of subring is in subring first node or the subring tail node of this subring any one; The assistant edge node is remaining one; Said subring first node is a SRPT link to the link between the said subring tail node, and the link of a non-SRPT link portions is the 2nd SRPT link in the said subring, said method comprising the steps of:
Said subring first node receives link failure message, and from said link failure message, obtains the SRPT link that breaks down;
Said subring first node judges according to the said SRPT link that breaks down whether another SRPT link breaks down;
When said another SRPT link broke down, said subring first node was carried out the SRPT link protection;
When said another SRPT link did not break down, said subring first node was not carried out the SRPT link protection.
In said RRPP network; Link between the fringe node and fringe node on said 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 said subring first node receives link failure message and comprises:
When not receiving the EDGE-HELLO message in the said subring tail node predetermined period; Said subring first node receives the link failure message that said subring tail node is sent through subring, the information of carrying a said SRPT link failure in the said link failure message; Or,
Said subring first node receives the link failure message of sending through main ring, the information of carrying said Three S's RPT link failure in the said link failure message; Wherein, The tail node that said link failure message is said Three S's RPT link is sent; Be specially when the EDGE-HELLO message do not received in the tail node predetermined period of said Three S's RPT link from the first node of said Three S's RPT link, then send said link failure message through main ring.
When said subring first node receives the link failure message that said subring tail node sends through subring, a said SRPT link is updated to malfunction; Or
When said subring first node receives the link failure message of sending through main ring, said the 2nd SRPT link is updated to malfunction;
Said subring first node is judged according to the said SRPT link that breaks down whether another SRPT link breaks down and is specially:
Said subring first node judges whether said another SRPT link is malfunction.
Said method also comprises:
After a said SRPT link breaks down; If said subring first node is received the link failure recovery message of sending from subring; Or do not receive from said subring in the Preset Time and sent link failure message; Said subring first node is judged a said SRPT link-recovery, and a said SRPT link is updated to non-malfunction.
Said method also comprises:
After said the 2nd SRPT link breaks down; If said subring first node is received the link failure recovery message of sending from main ring; And the information of carrying Three S's RPT link failure recovery in the said 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, said subring first node is judged said Three S's RPT link-recovery; When all Three S's RPT links all recovered, said subring first node was judged said the 2nd SRPT link-recovery, and said 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 that wherein, the fringe node of subring is in subring first node or the subring tail node of this subring any one; The assistant edge node is remaining one; Said subring first node is a SRPT link to the link between the said subring tail node, and the link of a non-SRPT link portions is the 2nd SRPT link in the said subring, and said device comprises:
Transceiver module is used to receive link failure message;
Acquisition module electrically connects with said transceiver module, is used for obtaining the SRPT link that breaks down from the link failure message that said transceiver module receives;
Judge module electrically connects with said acquisition module, is used for judging according to the SRPT link that breaks down that said acquisition module obtains whether another SRPT link breaks down;
Processing module is used for when said judge module judges that said another SRPT link breaks down, carrying out the SRPT link protection; Or
When said judge module judges that said another SRPT link does not break down, do not carry out the SRPT link protection.
In said RRPP network, the link between the fringe node and fringe node on said 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,
Said transceiver module specifically is used for: when not receiving the EDGE-HELLO message in the said subring tail node predetermined period; Receive the link failure message that said subring tail node is sent through subring, the information of carrying a said SRPT link failure in the said link failure message; Or,
Receive the link failure message of sending, the information of carrying said Three S's RPT link failure in the said link failure message through main ring; Wherein, The tail node that said link failure message is said Three S's RPT link is sent; Be specially when the EDGE-HELLO message do not received in the tail node predetermined period of said Three S's RPT link from the first node of said Three S's RPT link, then send said link failure message through main ring.
Said processing module also is used for: when receiving the link failure message of said subring tail node through the subring transmission, a said SRPT link is updated to malfunction; Or
When receiving the link failure message of sending, said the 2nd SRPT link is updated to malfunction through main ring.
Said judge module also is used for: after a said SRPT link breaks down; If receive the link failure recovery message of sending from subring; Or do not receive from said subring in the Preset Time and sent link failure message; Judge a said SRPT link-recovery, and a said SRPT link is updated to non-malfunction.
Said judge module also is used for: after said the 2nd SRPT link breaks down; If receive the link failure recovery message of sending from main ring; And the information of carrying Three S's RPT link failure recovery in the said 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 said Three S's RPT link-recovery; When all Three S's RPT links all recover, judge said the 2nd SRPT link-recovery, and said 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 sketch map of RRPP in the RRPP agreement in the prior art;
Fig. 2 is a dual-homing networking sketch map in the prior art;
Fig. 3 is for having introduced the sketch map of SRPT status checkout mechanism in the prior art;
Fig. 4 can form the sketch map 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 through 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 subring first node or the subring tail node of this subring any one, and the assistant edge node is remaining one; Said subring first node is a SRPT link to the link between the said subring tail node; The link of a non-SRPT link portions is the 2nd SRPT link in the said subring, and is as shown in Figure 5, said method comprising the steps of:
Step S501, said subring first node receives link failure message, and from said link failure message, obtains the SRPT link that breaks down.
Step S502, said subring first node judges according to the said SRPT link that breaks down whether another SRPT link breaks down.
Step S503, when said another SRPT link broke down, said subring first node was carried out the SRPT link protection.
Step S504, when said another SRPT link did not break down, said 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, and Ring 3 and Ring 3 ' form dual-homing networking, and 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 port of two sub-loop host nodes is decontroled, block the pairing edge port of two sub-loop fringe nodes, 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, repeats no more at this.(3) Three S's RPT links; On the main ring outside the SRPT link portions; Link between fringe node and the fringe node, between the Edge node and assistant edge node, between assistant edge node and the assistant edge node is Three S's RPT link; Wherein, Three S's RPT link is to a SRPT link, for example; When a SRPT link was link A-C, link C-D, link D-F, link F-G etc. all can be Three S's RPT link (link between assistant edge node and the assistant edge node promptly between the 2nd SRPT link top edge node and the fringe node, between the Edge node and 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.Can find out; 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, the two respectively headed by node and tail node, 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 like 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, explain that then Three S's RPT link C-D breaks down.
Further, when tail node confirms 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 confirm 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) sent 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 the tail node (being the subring tail node) on the SRPT link, also can carry out (3), (3) are periodically sent link failure message through subring and are given corresponding subring first node.For example; When node D confirms that Three S's RPT link C-D breaks down; The information that record Three S's RPT link C-D is broken 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 confirms that a SRPT link A-C breaks down, also can the information that a SRPT link A-C breaks down be sent to node A through 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 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 confirm link whether the reason of fault be that first node and tail node in the subring need be handled (this processing procedure will specify in the following description, repeat no more at this) accordingly according to the information of link failure; Therefore (for example for the non-first node in the node in the non-subring, 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.
Confirm 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 through link failure message; In addition, this node C also need send this link failure message to first node A through Ring 2 and Ring 2 '; 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, and 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 does not break down (having given node A from the link failure transmission of messages that node C sends), and promptly the result of 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 explain on the 2nd SRPT link C-A fault to have occurred, promptly the result of 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 confirms 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.) (is write down when receiving the link failure message that node C sends) when knowing that a SRPT link A-C breaks down, and (link A-C is pairing the 2nd SRPT link of a SRPT link D-F can to confirm that the 2nd SRPT link of self breaks down; 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, and corresponding subring loop problem can not occur, repeats no more at this.
Need to prove that above-mentioned handling process is a situation of having only a link to break down on the main ring, and in practical application; On the main ring not only a link break down, for a sub-loop, 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, need not initiate the SRPT link protection mechanism.Certainly, according to the needs of reality, also can 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, through 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; Confirm that the reason whether link breaks down is that subring first node need (for example be handled according to link failure accordingly; Port blocked etc.); Among the present invention, for make subring first node convenient carry out handled 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 according to following mode: (1) is if subring first node is received the link failure message of sending from subring; Then this subring first node becomes the state of a into malfunction (be that the subring tail node is periodically sent link failure message to subring first node through subring, explain between subring first node and subring tail node and break down); (2) if subring first node is received the link failure message (being that subring first node is received the link failure message of sending 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 through 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; Can find out that 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 has carried out detailed description, will set forth this sub-SRPT link failure recovery below.Wherein, Like (being that tail node can receive the EDGE-HELLO message) behind the fruit SRPT link failure recovery; Then corresponding tail node (tail node that above-mentioned definite link breaks down) will stop to send link failure message and give downstream node; And send link failure recovery message and give downstream node, wherein, carry the information of any strip SRPT link failure recovery in this link failure recovery message at least.Further, when this tail node is the subring tail node, also need stops to send link failure message and give subring first node, and send link failure recovery message through subring and give 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 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 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; Confirm that the reason whether link breaks down is that subring first node need be handled according to link failure accordingly, when link-recovery, subring first node need write down corresponding recovering information; Concrete; Subring first node is recovered according to following mode: (1) if receive the link failure recovery message that sends over from subring, or not have receipts in the stipulated time from the link failure message that subring sends over, and shows that then the state of a has become non-malfunction; (2) if receive that what carry the link failure recovery message that is not to send 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 through F is known) breaks down, when receiving the fault recovery message that F sends, 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 subring first node or the subring tail node of this subring any one, and the assistant edge node is remaining one; Said subring first node is a SRPT link to the link between the said subring tail node; The link of a non-SRPT link portions is the 2nd SRPT link in the said subring, and in said RRPP network, the link between the fringe node and fringe node on said 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; As shown in Figure 7, said device comprises:
Transceiver module 71 is used to receive link failure message.
Concrete; When receiving link failure message; Said transceiver module 71 specifically is used for when not receiving the EDGE-HELLO message in the said subring tail node predetermined period; Receive the link failure message that said subring tail node is sent through subring, the information of carrying a said SRPT link failure in the said link failure message; Or, receive the link failure message of sending, the information of carrying said Three S's RPT link failure in the said link failure message through main ring; Wherein, The tail node that said link failure message is said Three S's RPT link is sent; Be specially when the EDGE-HELLO message do not received in the tail node predetermined period of said Three S's RPT link from the first node of said Three S's RPT link, then send said link failure message through main ring.
Acquisition module 72 electrically connects with said transceiver module 71, is used for obtaining the SRPT link that breaks down from the link failure message that said transceiver module 71 receives.
Judge module 73 electrically connects with said acquisition module 72, is used for judging according to the SRPT link that breaks down that said acquisition module 72 obtains whether another SRPT link breaks down.
Further; After a said SRPT link breaks down; If receive the link failure recovery message of sending from subring; Or do not receive from said subring in the Preset Time and sent link failure message that said judge module 73 also is used to judge a said SRPT link-recovery, and a said SRPT link is updated to non-malfunction.
After said the 2nd SRPT link breaks down; If receive the link failure recovery message of sending from main ring; And the information of carrying Three S's RPT link failure recovery in the said 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, said judge module 73 also is used to judge said Three S's RPT link-recovery; When all Three S's RPT links all recovered, said judge module 73 also was used to judge said the 2nd SRPT link-recovery, and said the 2nd SRPT link is updated to non-malfunction.
Processing module 74 is used for when said judge module 73 judges that said another SRPT link breaks down, carrying out the SRPT link protection; Or when said judge module 73 judges that said another SRPT link does not break down, do not carry out the SRPT link protection.
Wherein, when receiving the link failure message of said subring tail node through the subring transmission, said processing module 74 is used for a said SRPT link is updated to malfunction; Or when receiving the link failure message of sending through main ring, said processing module 74 is used for said 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 description of above execution mode, those skilled in the art can be well understood to the present invention and can realize through 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 be come out with the embodied of software product, this software product can be stored in a non-volatile memory medium (can be CD-ROM, 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 sketch map of a preferred embodiment, module in the accompanying drawing or flow process might not be that embodiment of 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 disclosedly be merely 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 that wherein, the fringe node of subring is in subring first node or the subring tail node of this subring any one; The assistant edge node is remaining one; Said subring first node is the passage SRPT link of the first subring protocol massages in main ring to the link between the said subring tail node, and the link of a non-SRPT link portions is the 2nd SRPT link in the said subring, said method comprising the steps of:
Said subring first node receives link failure message, and from said link failure message, obtains the SRPT link that breaks down;
Said subring first node judges according to the said SRPT link that breaks down whether another SRPT link breaks down;
When said another SRPT link broke down, said subring first node was carried out the SRPT link protection;
When said another SRPT link did not break down, said subring first node was not carried out the SRPT link protection.
2. the method for claim 1; It is characterized in that; In said RRPP network; Link between the fringe node and fringe node on said 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 said subring first node receives link failure message and comprises:
When not receiving the EDGE-HELLO message in the said subring tail node predetermined period; Said subring first node receives the link failure message that said subring tail node is sent through subring, the information of carrying a said SRPT link failure in the said link failure message; Or,
Said subring first node receives the link failure message of sending through main ring, the information of carrying said Three S's RPT link failure in the said link failure message; Wherein, The tail node that said link failure message is said Three S's RPT link is sent; Be specially when the EDGE-HELLO message do not received in the tail node predetermined period of said Three S's RPT link from the first node of said Three S's RPT link, then send said link failure message through main ring.
3. method as claimed in claim 2 is characterized in that, when said subring first node receives the link failure message that said subring tail node sends through subring, a said SRPT link is updated to malfunction; Or
When said subring first node receives the link failure message of sending through main ring, said the 2nd SRPT link is updated to malfunction;
Said subring first node is judged according to the said SRPT link that breaks down whether another SRPT link breaks down and is specially:
Said subring first node judges whether said another SRPT link is malfunction.
4. the method for claim 1 is characterized in that, said method also comprises:
After a said SRPT link breaks down; If said subring first node is received the link failure recovery message of sending from subring; Or do not receive from said subring in the Preset Time and sent link failure message; Said subring first node is judged a said SRPT link-recovery, and a said SRPT link is updated to non-malfunction.
5. the method for claim 1 is characterized in that, said method also comprises:
After said the 2nd SRPT link breaks down; If said subring first node is received the link failure recovery message of sending from main ring; And the information of carrying Three S's RPT link failure recovery in the said 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, said subring first node is judged said Three S's RPT link-recovery; When all Three S's RPT links all recovered, said subring first node was judged said the 2nd SRPT link-recovery, and said 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 that wherein, the fringe node of subring is in subring first node or the subring tail node of this subring any one; The assistant edge node is remaining one; Said subring first node is the passage SRPT link of the first subring protocol massages in main ring to the link between the said subring tail node, and the link of a non-SRPT link portions is the 2nd SRPT link in the said subring, and said device comprises:
Transceiver module is used to receive link failure message;
Acquisition module electrically connects with said transceiver module, is used for obtaining the SRPT link that breaks down from the link failure message that said transceiver module receives;
Judge module electrically connects with said acquisition module, is used for judging according to the SRPT link that breaks down that said acquisition module obtains whether another SRPT link breaks down;
Processing module is used for when said judge module judges that said another SRPT link breaks down, carrying out the SRPT link protection; Or
When said judge module judges that said 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 said RRPP network, the link between the fringe node and fringe node on said 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
Said transceiver module specifically is used for: when not receiving the EDGE-HELLO message in the said subring tail node predetermined period; Receive the link failure message that said subring tail node is sent through subring, the information of carrying a said SRPT link failure in the said link failure message; Or,
Receive the link failure message of sending, the information of carrying said Three S's RPT link failure in the said link failure message through main ring; Wherein, The tail node that said link failure message is said Three S's RPT link is sent; Be specially when the EDGE-HELLO message do not received in the tail node predetermined period of said Three S's RPT link from the first node of said Three S's RPT link, then send said link failure message through main ring.
8. device as claimed in claim 7 is characterized in that,
Said processing module also is used for: when receiving the link failure message of said subring tail node through the subring transmission, a said SRPT link is updated to malfunction; Or
When receiving the link failure message of sending, said the 2nd SRPT link is updated to malfunction through main ring.
9. device as claimed in claim 6 is characterized in that,
Said judge module also is used for: after a said SRPT link breaks down; If receive the link failure recovery message of sending from subring; Or do not receive from said subring in the Preset Time and sent link failure message; Judge a said SRPT link-recovery, and a said SRPT link is updated to non-malfunction.
10. device as claimed in claim 6 is characterized in that,
Said judge module also is used for: after said the 2nd SRPT link breaks down; If receive the link failure recovery message of sending from main ring; And the information of carrying Three S's RPT link failure recovery in the said 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 said Three S's RPT link-recovery; When all Three S's RPT links all recover, judge said the 2nd SRPT link-recovery, and said 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 CN101729349A (en) 2010-06-09
CN101729349B true 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)

Families Citing this family (3)

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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7082137B2 (en) * 2000-08-29 2006-07-25 Alcatel Method of managing time-slot interchange in transoceanic MS-SPRING networks
CN1812361A (en) * 2006-01-23 2006-08-02 杭州华为三康技术有限公司 Fast ring network protecting method and system
CN1905490A (en) * 2006-08-18 2007-01-31 华为技术有限公司 Method and apparatus for preventing loop when RRPP and partial STP network damage recovery

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7082137B2 (en) * 2000-08-29 2006-07-25 Alcatel Method of managing time-slot interchange in transoceanic MS-SPRING networks
CN1812361A (en) * 2006-01-23 2006-08-02 杭州华为三康技术有限公司 Fast ring network protecting method and system
CN1905490A (en) * 2006-08-18 2007-01-31 华为技术有限公司 Method and apparatus for preventing loop when RRPP and partial STP network damage recovery

Also Published As

Publication number Publication date
CN101729349A (en) 2010-06-09

Similar Documents

Publication Publication Date Title
US8886831B2 (en) System and methodology for fast link failover based on remote upstream failures
US8050183B2 (en) System and method for implementing reflector ports within hierarchical networks
US8411690B2 (en) Preventing data traffic connectivity between endpoints of a network segment
CN110780615B (en) System and method for transmitting data on high availability industrial control system
JP2005347943A (en) Network relay device and its control method
CN101951345B (en) Message transmitting method and equipment
US10230540B2 (en) Method, device and system for communicating in a ring network
US8687523B2 (en) System and method for integrating ring-protocol-compatible devices into network configurations that also include non-ring-protocol compatible devices
US20140301185A1 (en) Handling a fault in an ethernet ring network
JP7405494B2 (en) Failed multilayer link recovery method and controller
CN102918809B (en) The method of network and expanding element and operational network
CN101729349B (en) RRPP-based detection method and device for connectivity of main ring access
WO2012139531A1 (en) Handling a fault in an ethernet ring network
JP2009152729A (en) Redundancy method and switch apparatus
EP2472796A1 (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
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
CN103490928A (en) Message transmission route stoppage determining method, message transmission route stoppage determining device and message transmission route stoppage determining system
WO2024041213A1 (en) Communication method, apparatus and system, and storage medium
CN102868640B (en) Method, device and system for increasing available bandwidth of aggregation link
US20110072145A1 (en) Network device performing connection check, network system, and frame transfer method

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