CN103095539A - Method and device for configuring looped network and detecting looped network breakdown - Google Patents
Method and device for configuring looped network and detecting looped network breakdown Download PDFInfo
- Publication number
- CN103095539A CN103095539A CN2011103376183A CN201110337618A CN103095539A CN 103095539 A CN103095539 A CN 103095539A CN 2011103376183 A CN2011103376183 A CN 2011103376183A CN 201110337618 A CN201110337618 A CN 201110337618A CN 103095539 A CN103095539 A CN 103095539A
- Authority
- CN
- China
- Prior art keywords
- path
- looped network
- root node
- fault
- multicast path
- 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
Links
Images
Abstract
The invention discloses a method and a device for configuring a looped network and detecting a looped network breakdown. The method includes the steps: selecting at least two nodes to be used as root nodes on the looped network, and respectively establishing a multicast path in the clockwise direction and a multicast path in the anticlockwise for the root nodes. In conclusion, the method and the device can enable each node on the looped network to directly know whether the looped network has the breakdown at present, when the breakdown exists on the looped network, the nodes on the looped network do not need to conduct announcement of breakdown information, and each node on the looped network can trigger corresponding switching operation according to a result of the local breakdown detection directly.
Description
Technical field
The present invention relates to operation management maintain (Operation Adminsitor Maintenece, OAM) field, relate in particular to a kind of to looped network be configured, detection method and the device of ring network fault.
Background technology
A lot of guard methods on looped network at present; all be based on detection ring and whether have fault on the net; if the fault of existence; carry out two protections of sending out mechanism; as; current p2mp Steering guard method, exactly detect have fault on looped network after, the link point that enters of business carries out two sending out from operating path and Protection path.
But; how at present a lot of guard methods do not know about entering link point whether looped network exists the scheme of fault; or need to carry out the circular of fault message on looped network; this method can increase the workload of node on looped network; cause the consumption of resource; therefore, need a kind of detection method of ring network fault, so that the node on looped network can be known the current fault that whether exists on looped network easily.
Summary of the invention
The technical problem to be solved in the present invention be to provide a kind of to looped network be configured, detection method and the device of ring network fault, can make the node on looped network need not to carry out the announcement of fault message, can know whether there is fault on looped network.
For solving the problems of the technologies described above, a kind of method that looped network is configured of the present invention comprises:
Select at least two nodes as root node on looped network, be respectively described root node and set up clockwise multicast path and anticlockwise multicast path.
Further, described multicast path is the multicast path from described root node every other node except this root node to described looped network.
Further, a kind of detection method of ring network fault of the method based on looped network is configured comprises:
Described root node sends respectively the fault detect message on the clockwise multicast path of correspondence and anticlockwise multicast path;
Node on described looped network judges whether all to receive the fault detect message on clockwise multicast path corresponding to same root node and anticlockwise multicast path, if so, judges not have fault on looped network; Otherwise, judge on looped network to have fault.
Further, node on described looped network is according to the ID of trace route path in the path, fault detect message place that receives, and judges whether all to receive the fault detect message on clockwise multicast path corresponding to same root node and anticlockwise multicast path.
Further, the ID of trace route path in path, described fault detect message place is multiprotocol label switching (MPLS) label information.
Further, also comprise:
Described root node carries port numbers and/or root node identification information in described fault detect message;
Node on described looped network is according to the port numbers of carrying in received fault detect message and/or root node identification information, judges whether all to receive the fault detect message on clockwise multicast path corresponding to same root node and anticlockwise multicast path.
Further, also comprise:
When there is fault in the node on described looped network on the judgement looped network; to switch to Protection path from the business that this section is clicked and entered ring or send simultaneously on Protection path and operating path; to point out the business of ring from this section; whether receive the fault detect message on the operating path according to the business that goes out ring at this, judge whether to switch to Protection path and receive business.
Further, described root node is to send respectively the fault detect message by different interfaces on the clockwise multicast path of correspondence and anticlockwise multicast path.
Further, a kind of device that looped network is configured comprises: root node is selected module and path configurations module, wherein:
Described root node is selected module, is used for selecting at least two nodes as root node on looped network;
Described path configurations module is used for being respectively described root node and sets up clockwise multicast path and anticlockwise multicast path.
Further, described multicast path is the multicast path from described root node every other node except this root node to described looped network.
Further, a kind of checkout gear of ring network fault of the device based on looped network is configured comprises: message sending module and fault detection module, wherein:
Described message sending module is used for respectively sending the fault detect message on the clockwise multicast path of correspondence and anticlockwise multicast path;
Described fault detection module is used for judging whether all receiving the fault detect message on clockwise multicast path corresponding to same root node and anticlockwise multicast path, if so, judges not have fault on looped network; Otherwise, judge on looped network to have fault.
Further, described fault detection module, the concrete ID of trace route path that is used for according to received path, fault detect message place judges whether all to receive the fault detect message on clockwise multicast path corresponding to same root node and anticlockwise multicast path.
Further, the ID of trace route path in path, described fault detect message place is multiprotocol label switching (MPLS) label information.
Further, described message sending module also is used for carrying port numbers and/or root node identification information at described fault detect message;
Described fault detection module, the concrete port numbers and/or the root node identification information that carry according to received fault detect message of being used for judges whether all to receive the fault detect message on clockwise multicast path corresponding to same root node and anticlockwise multicast path.
Further, also comprise: the service protection module;
Described service protection module; when being used for having fault on described fault detection module judgement looped network; to switch to Protection path from the business that this section is clicked and entered ring or send simultaneously on Protection path and operating path; to point out the business of ring from this section; whether receive the fault detect message on the operating path according to the business that goes out ring at this, judge whether to switch to Protection path and receive business.
In sum, the present invention can make each node on looped network directly know the current fault that whether exists of looped network, when having fault on looped network, do not need the node on looped network to carry out the announcement of fault message, each node on looped network all can directly according to the result of local fault detect, trigger corresponding handover operation.
Description of drawings
Fig. 1 is the configuration schematic diagram of multicast path in embodiment of the present invention;
Fig. 2 is the flow chart of detection method of the ring network fault of embodiment of the present invention;
Fig. 3 is the schematic diagram of the fault detect message structure of embodiment of the present invention;
Fig. 4 is the schematic diagram of the fault detect of embodiment of the present invention;
Fig. 5 is the Organization Chart of the device that looped network is configured of embodiment of the present invention;
Fig. 6 is the Organization Chart of checkout gear of the ring network fault of embodiment of the present invention.
Embodiment
For realizing the detection to ring network fault, need to be configured looped network, select at least two nodes as root node on looped network, set up respectively for root node on looped network clockwise direction and counterclockwise on multicast path, the multicast path of multicast path other all nodes that are root node to the looped network.
As shown in Figure 1, comprise 4 nodes on looped network, A, B, C and D are according to the actual business requirement on looped network, selecting two or more nodes is root node, as, selection A and C are as root node, and and counter clockwise direction clockwise upper along ring is established to two multicast paths of other nodes on looped network for root node respectively, that is to say, for a looped network, to set up at least 4 multicast paths, come the online fault of detection ring.
As shown in Figure 2, the detection method of the ring network fault of present embodiment comprises:
Step 201: each root node generates fault detect message, in the clockwise direction with anticlockwise multicast path on other nodes on the looped network send fault detect messages;
Root node can carry port numbers (IF_NUM) and/or root node identification information (Node_ID) in the fault detect message.
As shown in Figure 3, root node can pass through at point-to-multipoint fault detect message, as cc﹠amp; Cv (Continutity Check﹠amp; In Connectivity Verification etc., carry port numbers and/or root node identification information.
Root node is respectively from two ports, in the clockwise direction with anticlockwise multicast path on node on the looped network send the fault detect message.
Step 202: the node on looped network receives the fault detect message that sends on each multicast path, ID of trace route path according to path, fault detect message place, judge whether all to receive the fault detect message on the clockwise direction of arbitrary root node on looped network and anticlockwise multicast path, if so, judge and do not have fault on looped network; Otherwise, judge on looped network to have fault;
The ID of trace route path in path, fault detect message place is label etc., as MPLS (multiprotocol label switching) label.
When carrying port numbers and/or root node identification information in the fault detect message, node on looped network is according to the port numbers of carrying in the fault detect message and/or root node identification information, judges whether all to receive the fault detect message on the clockwise direction of arbitrary root node on looped network and anticlockwise multicast path.
Step 203: the node on looped network judge whether have fault on looped network after, take the corresponding action of switching.
For business enter link point, when having fault on looped network being detected, switch to Protection path and send or carry out two sending out on operating path and Protection path; For business go out link point, judge whether that according to whether receiving the fault detect message on the operating path of business needs switch to Protection path and receive service traffics.
Use example:
The below illustrates present embodiment take fault shown in Figure 4 as example, comprising:
Step 1: according to the transmission situation of business on looped network, select two or more nodes as root node, every other node is the multicast path of leaf node or receiving node on the looped network from setting up clockwise and counterclockwise respectively for root node;
As shown in Figure 4, four nodes of A, B, C and D form a ring, take A and C as root node, set up with two multicast paths (A-B-C-D) of upper other nodes (B, C, D) of ring and (A-D-C-B) for node A; Set up with two multicast paths (C-B-A-D) of upper other nodes (D, A, B) of ring and (C-D-A-B) for node C.
Step 2: root node A and C will generate from two ports respectively and carry the fault detect message (as: CC﹠amp of port numbers; CV etc.), node A sends along (A-B-C-D) with (A-D-C-B), and node C sends along (C-B-A-D) with (C-D-A-B);
Step 3: for leaf node or receiving node (B, C, D) and (A, B, the D) of multicast path, according to the label of fault detect message, judge whether to receive the fault detect message that any root node A or C send over from both direction;
Concerning fault as shown in Figure 4, when the A-B link breaks down, the B node does not receive (A-B-C-D) and (C-D-A-B) the malfunction monitoring message of multicast direction, illustrate that Node B can not receive the fault detect message that any one root node both direction sends, and judges to have fault on looped network; Other node (A, C, D) encircles the detection of fault too.
Step 4: when the node on looped network detects when having had fault on ring, this node will switch to from the business that this section is clicked and entered ring Protection path or two of protection and operating paths, to point out the business of ring from this section, according to whether receive the fault detect message on the operating path of this business, judge whether to continue to come the reception business from operating path;
Step 5: the node on looped network receives the fault detect message that same root node two directions send over, and judges that on looped network, fault disappears, and carries out corresponding recovery operation, as: return to transmission business on operating path.
As shown in Figure 5, present embodiment also provides a kind of device that looped network is configured, and comprising: root node is selected module and path configurations module;
Root node is selected module, is used for selecting at least two nodes as root node on looped network;
The path configurations module, be used for being respectively root node and set up clockwise multicast path and anticlockwise multicast path, so that on ring, whether all nodes energy bases receive the detection messages of two multicast path directions, judge whether there is fault on looped network; Multicast path be from the root node to the looped network on the multicast path of every other node except this root node.
As shown in Figure 6, present embodiment also provides a kind of checkout gear of ring network fault, comprising: message sending module, fault detection module and service protection module, wherein:
The message sending module is used for respectively sending the fault detect message on the clockwise multicast path of correspondence and anticlockwise multicast path;
Fault detection module be used for to receive the fault detect message, judges whether all to receive the fault detect message on clockwise multicast path corresponding to same root node and anticlockwise multicast path, if so, judges not have fault on looped network; Otherwise, judge on looped network to have fault;
Fault detection module, the concrete ID of trace route path that is used for according to received path, fault detect message place judges whether all to receive the fault detect message on clockwise multicast path corresponding to same root node and anticlockwise multicast path.The ID of trace route path in path, fault detect message place is the MPLS label information.
The message sending module also is used for carrying port numbers and/or root node identification information at the fault detect message; Fault detection module, the concrete port numbers and/or the root node identification information that carry according to received fault detect message of being used for judges whether all to receive the fault detect message on clockwise multicast path corresponding to same root node and anticlockwise multicast path.
The service protection module; when being used for having fault on fault detection module judgement looped network; to switch to Protection path from the business that this section is clicked and entered ring or send simultaneously on Protection path and operating path; to point out the business of ring from this section; whether receive the fault detect message on the operating path according to the business that goes out ring at this, judge whether to switch to Protection path and receive business.
obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in storage device and be carried out by calculation element, and in some cases, can carry out step shown or that describe with the order that is different from herein, perhaps they are made into respectively each integrated circuit modules, perhaps a plurality of modules in them or step being made into the single integrated circuit module realizes.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is only the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (15)
1. the method that looped network is configured, is characterized in that, comprising:
Select at least two nodes as root node on looped network, be respectively described root node and set up clockwise multicast path and anticlockwise multicast path.
2. the method for claim 1 is characterized in that:
Described multicast path is the multicast path from described root node every other node except this root node to described looped network.
3. the detection method based on the ring network fault of the arbitrary method that looped network is configured of claim 1~2, is characterized in that, comprising:
Described root node sends respectively the fault detect message on the clockwise multicast path of correspondence and anticlockwise multicast path;
Node on described looped network judges whether all to receive the fault detect message on clockwise multicast path corresponding to same root node and anticlockwise multicast path, if so, judges not have fault on looped network; Otherwise, judge on looped network to have fault.
4. method as claimed in claim 3 is characterized in that:
Node on described looped network is according to the ID of trace route path in the path, fault detect message place that receives, and judges whether all to receive the fault detect message on clockwise multicast path corresponding to same root node and anticlockwise multicast path.
5. method as claimed in claim 4, is characterized in that, the ID of trace route path in path, described fault detect message place is multiprotocol label switching (MPLS) label information.
6. method as claimed in claim 3, is characterized in that, also comprises:
Described root node carries port numbers and/or root node identification information in described fault detect message;
Node on described looped network is according to the port numbers of carrying in received fault detect message and/or root node identification information, judges whether all to receive the fault detect message on clockwise multicast path corresponding to same root node and anticlockwise multicast path.
7. method as claimed in claim 3, is characterized in that, also comprises:
When there is fault in the node on described looped network on the judgement looped network; to switch to Protection path from the business that this section is clicked and entered ring or send simultaneously on Protection path and operating path; to point out the business of ring from this section; whether receive the fault detect message on the operating path according to the business that goes out ring at this, judge whether to switch to Protection path and receive business.
8. method as claimed in claim 6 is characterized in that:
Described root node is to send respectively the fault detect message by different interfaces on the clockwise multicast path of correspondence and anticlockwise multicast path.
9. the device that looped network is configured, is characterized in that, comprising: root node is selected module and path configurations module, wherein:
Described root node is selected module, is used for selecting at least two nodes as root node on looped network;
Described path configurations module is used for being respectively described root node and sets up clockwise multicast path and anticlockwise multicast path.
10. device as claimed in claim 9 is characterized in that:
Described multicast path is the multicast path from described root node every other node except this root node to described looped network.
11. the checkout gear based on the ring network fault of the arbitrary device that looped network is configured of claim 9~10 is characterized in that, comprising: message sending module and fault detection module, wherein:
Described message sending module is used for respectively sending the fault detect message on the clockwise multicast path of correspondence and anticlockwise multicast path;
Described fault detection module is used for judging whether all receiving the fault detect message on clockwise multicast path corresponding to same root node and anticlockwise multicast path, if so, judges not have fault on looped network; Otherwise, judge on looped network to have fault.
12. device as claimed in claim 11 is characterized in that:
Described fault detection module, the concrete ID of trace route path that is used for according to received path, fault detect message place judges whether all to receive the fault detect message on clockwise multicast path corresponding to same root node and anticlockwise multicast path.
13. device as claimed in claim 12 is characterized in that, the ID of trace route path in path, described fault detect message place is multiprotocol label switching (MPLS) label information.
14. device as claimed in claim 11 is characterized in that:
Described message sending module also is used for carrying port numbers and/or root node identification information at described fault detect message;
Described fault detection module, the concrete port numbers and/or the root node identification information that carry according to received fault detect message of being used for judges whether all to receive the fault detect message on clockwise multicast path corresponding to same root node and anticlockwise multicast path.
15. device as claimed in claim 11 is characterized in that, also comprises: the service protection module;
Described service protection module; when being used for having fault on described fault detection module judgement looped network; to switch to Protection path from the business that this section is clicked and entered ring or send simultaneously on Protection path and operating path; to point out the business of ring from this section; whether receive the fault detect message on the operating path according to the business that goes out ring at this, judge whether to switch to Protection path and receive business.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110337618.3A CN103095539B (en) | 2011-10-31 | 2011-10-31 | It is a kind of looped network is configured, the detection method and device of ring network fault |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110337618.3A CN103095539B (en) | 2011-10-31 | 2011-10-31 | It is a kind of looped network is configured, the detection method and device of ring network fault |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103095539A true CN103095539A (en) | 2013-05-08 |
CN103095539B CN103095539B (en) | 2018-01-26 |
Family
ID=48207696
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110337618.3A Expired - Fee Related CN103095539B (en) | 2011-10-31 | 2011-10-31 | It is a kind of looped network is configured, the detection method and device of ring network fault |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103095539B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017059733A1 (en) * | 2015-10-09 | 2017-04-13 | 中兴通讯股份有限公司 | Method and apparatus for avoiding traffic storm caused by network sharing ring protection |
WO2019062268A1 (en) * | 2017-09-27 | 2019-04-04 | 华为技术有限公司 | Method, apparatus and system for transmitting multicast message |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040151493A1 (en) * | 2003-02-05 | 2004-08-05 | Korean Intellectual Property Office | WDM self-healing optical ring network |
CN101499950A (en) * | 2008-01-30 | 2009-08-05 | 华为技术有限公司 | Service provider backbone transmission ring multicast method, multicast ring network and node equipment |
CN101771577A (en) * | 2008-12-31 | 2010-07-07 | 华为技术有限公司 | Method, system and equipment for establishing bidirectional forwarding detection (BFD) for bidirectional LSP |
CN101977141A (en) * | 2010-09-27 | 2011-02-16 | 南京邮电大学 | MPLS-TP-based multicast protection method |
-
2011
- 2011-10-31 CN CN201110337618.3A patent/CN103095539B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040151493A1 (en) * | 2003-02-05 | 2004-08-05 | Korean Intellectual Property Office | WDM self-healing optical ring network |
CN101499950A (en) * | 2008-01-30 | 2009-08-05 | 华为技术有限公司 | Service provider backbone transmission ring multicast method, multicast ring network and node equipment |
CN101771577A (en) * | 2008-12-31 | 2010-07-07 | 华为技术有限公司 | Method, system and equipment for establishing bidirectional forwarding detection (BFD) for bidirectional LSP |
CN101977141A (en) * | 2010-09-27 | 2011-02-16 | 南京邮电大学 | MPLS-TP-based multicast protection method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017059733A1 (en) * | 2015-10-09 | 2017-04-13 | 中兴通讯股份有限公司 | Method and apparatus for avoiding traffic storm caused by network sharing ring protection |
WO2019062268A1 (en) * | 2017-09-27 | 2019-04-04 | 华为技术有限公司 | Method, apparatus and system for transmitting multicast message |
US11336475B2 (en) | 2017-09-27 | 2022-05-17 | Huawei Technologies Co., Ltd. | Multicast packet transmission method, apparatus, and system |
Also Published As
Publication number | Publication date |
---|---|
CN103095539B (en) | 2018-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8730814B2 (en) | Communication network connection failure protection methods and systems | |
US9521055B2 (en) | Network connectivity management | |
CN101601228B (en) | Fault localisation in multiple spanning tree based architectures | |
CN101924654B (en) | Point-to-multipoint service-based path switching method and system | |
CN103684951B (en) | A kind of ring network protection method and system | |
CN101815006B (en) | aggregation control method of links passing through provider network and system | |
KR20130055392A (en) | Method and appratus for protection switching in point-to- multipoint network | |
CN104601394A (en) | Business chain connectivity detection method, device and system | |
CN106789264A (en) | The method and apparatus that a kind of link aggregation group passage is switched fast | |
US9917765B2 (en) | Cross-domain protection interacting method and system | |
CN101505250B (en) | Detection method, detection system and VPN for public network LSP | |
CN103023770B (en) | The guard method of looped network and device | |
WO2015168947A1 (en) | Path switching method and device | |
CN104135417B (en) | A kind of method of the fast quick-recovery of ethernet ring network link down and corresponding ethernet ring network | |
CN102594613A (en) | Method and device for failure diagnosis of multi-protocol label switching virtual private network (MPLS VPN) | |
CN102918807B (en) | Method and routing equipment for BFD session establishment | |
CN103095539A (en) | Method and device for configuring looped network and detecting looped network breakdown | |
CN102724128B (en) | A kind of based on the message forwarding method in the dual-homing networking of MPLS L3VPN and equipment | |
CN102104534B (en) | Method and system for protecting multicast service | |
CN102571460B (en) | Single-fiber failure switching method and device | |
CN103036782A (en) | Network communication method and system | |
CN102752128A (en) | Multi-protocol label switching (MPLS) traffic engineering (TE) tunnel fault detection method and device thereof | |
CN102404199B (en) | Multi-segment pseudo-wire establishing and recovering method and device as well as system | |
US9264303B2 (en) | Protection switching method and system provision by a distributed protection group | |
CN103404091A (en) | Business protecting method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180126 Termination date: 20201031 |