CN103532811A - Method and equipment for configuring RRPP (Rapid Ring Protection Protocol) ring assembly - Google Patents

Method and equipment for configuring RRPP (Rapid Ring Protection Protocol) ring assembly Download PDF

Info

Publication number
CN103532811A
CN103532811A CN201310486262.9A CN201310486262A CN103532811A CN 103532811 A CN103532811 A CN 103532811A CN 201310486262 A CN201310486262 A CN 201310486262A CN 103532811 A CN103532811 A CN 103532811A
Authority
CN
China
Prior art keywords
ring group
edge node
rrpp
rrpp ring
subring
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
CN201310486262.9A
Other languages
Chinese (zh)
Other versions
CN103532811B (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 CN201310486262.9A priority Critical patent/CN103532811B/en
Publication of CN103532811A publication Critical patent/CN103532811A/en
Application granted granted Critical
Publication of CN103532811B publication Critical patent/CN103532811B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method and equipment for configuring an RRPP (Rapid Ring Protection Protocol) ring assembly. The method comprises the following steps that when a slave ring of the RRPP ring assembly is added on an edge node, the edge node adds the slave ring to the PPRR ring assembly and sends a first message to an auxiliary edge node and the first message carries information of the RRPP ring assembly and information of the slave ring; after the auxiliary edge node receives the first message, the slave ring is added to the RRPP ring assembly on the auxiliary edge node by utilizing the information of the RRPP ring assembly and the information of the slave ring. In the embodiment of the invention, configuration of adding the slave ring of the RRPP ring assembly on the edge node or configuration of adding the slave ring of the RRPP ring assembly on the auxiliary edge node can be only carried out, so that workload of configuration can be reduced, a sequential dependency relation of configuration is avoided and errors are prevented from being generated when the RRPP ring assembly is manually configured.

Description

Configuration method and equipment of RRPP (Rapid Ring protection protocol) ring group
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for configuring an RRPP ring group.
Background
RRPP (fast Ring Protection Protocol) is a link layer Protocol specifically applied to ethernet rings. Among them, the RRPP has a high convergence rate. When the Ethernet ring is complete, the RRPP can prevent the broadcast storm caused by the data loop; when one link on the Ethernet ring is disconnected, the RRPP can quickly recover the communication path between each node on the ring network.
Fig. 1 is a schematic view of an application scenario of the RRPP network. In the RRPP network, each device is called a node, and the roles of the nodes are divided into the following: (1) a master node: each ring has a master node, which is the primary operating node that initiates loop detection and loop prevention. (2) A transmission node: all other nodes except the main node on the main ring are transmission nodes; all nodes on the sub-ring except the master node and the node where the sub-ring intersects the master ring are transmission nodes. (3) Edge nodes: and the edge node is a special transmission node, the role of the edge node on the main ring is a transmission node, and the role of the edge node on the subring is an edge node. (4) Auxiliary edge nodes: and the auxiliary edge node is a special transmission node, the role of the auxiliary edge node on the main ring is a transmission node, and the role of the auxiliary edge node on the subring is an auxiliary edge node.
In order to detect a main ring link between an Edge node and an auxiliary Edge node, the Edge node sends an Edge-Hello (Edge health detection) message to the auxiliary Edge node. In order to reduce the receiving and sending quantity of the Edge-Hello messages, RRPP ring groups are respectively configured on the Edge nodes and the auxiliary Edge nodes, and the RRPP ring groups are a set of sub-rings. For example, Edge nodes of the sub-ring 1, the sub-ring 2, and the sub-ring 3 are configured on the same device 1, auxiliary Edge nodes of the sub-ring 1, the sub-ring 2, and the sub-ring 3 are configured on the same device 2, and main ring links corresponding to the sub-rings where the Edge nodes and the auxiliary Edge nodes are located are the same, that is, Edge-Hello packets sent by the Edge nodes of the sub-ring 1, the sub-ring 2, and the sub-ring 3 reach the auxiliary Edge nodes through the same path, so that the sub-ring 1, the sub-ring 2, and the sub-ring 3 can be configured to the RRPP ring group. Based on this, an RRPP ring group 1 may be configured on the edge node, where the RRPP ring group 1 includes a sub-ring 1, a sub-ring 2, and a sub-ring 3; and an RRPP ring group 1 may be configured on the auxiliary edge node, where the RRPP ring group 1 includes a sub-ring 1, a sub-ring 2, and a sub-ring 3.
Aiming at a subring 1, a subring 2 and a subring 3 in an RRPP ring group 1, an Edge node only needs to send an Edge-Hello message to an auxiliary Edge node; after receiving the Edge-Hello packet, the auxiliary Edge node needs to distribute the Edge-Hello packet to the sub-ring 1, the sub-ring 2, and the sub-ring 3, respectively.
In the prior art, when configuring the RRPP ring group, it is necessary to manually configure the RRPP ring group on the edge node and the auxiliary edge node, respectively, and the configuration requirements of the RRPP ring group are as follows: (1) when adding the subring into the RRPP ring group, the subring needs to be added into the RRPP ring group on the auxiliary edge node, and then the subring is added into the RRPP ring group on the edge node; (2) when deleting the subring from the RRPP ring group, the subring needs to be deleted from the RRPP ring group on the edge node, and then the subring needs to be deleted from the RRPP ring group on the auxiliary edge node; (3) when deleting the whole RRPP ring group, the whole RRPP ring group needs to be deleted on the edge node first, and then the whole RRPP ring group needs to be deleted on the auxiliary edge node.
Obviously, in the prior art, the configuration workload is large, the configuration of the RRPP ring group is too complex, and the user needs to configure the RRPP ring group according to the requirement, there is an order dependency relationship (i.e. the configuration requirement of the RRPP ring group) in the configuration process, the configuration requirement of the user is high, and the configuration is easy to make mistakes.
Disclosure of Invention
The embodiment of the invention provides a configuration method and equipment of an RRPP (ring back protocol) ring group, which are used for reducing the workload of configuration, avoiding the sequence dependency relationship of the configuration, avoiding errors when the RRPP ring group is manually configured and simplifying the configuration of the RRPP ring group.
In order to achieve the above object, an embodiment of the present invention provides a method for configuring a fast ring protection protocol RRPP ring group, which is applied to an RRPP network including an edge node and an auxiliary edge node, and the method includes the following steps:
when a subring of an RRPP ring group is added on the edge node, the edge node adds the subring to the RRPP ring group and sends a first message to the auxiliary edge node, wherein the first message carries the information of the RRPP ring group and the information of the subring; after the auxiliary edge node receives the first message, the auxiliary edge node adds the subring to the RRPP ring group on the auxiliary edge node by using the information of the RRPP ring group and the information of the subring; or,
when a subring of an RRPP ring group is added on the auxiliary edge node, the edge node receives a second message from the auxiliary edge node, wherein the second message carries the information of the RRPP ring group and the information of the subring; after receiving the second message, adding the subring to the RRPP ring group on an edge node by using the information of the RRPP ring group and the information of the subring; wherein the second packet is sent after the auxiliary edge node adds the sub-ring to the RRPP ring group.
The embodiment of the invention provides a configuration method of a Rapid Ring Protection Protocol (RRPP) ring group, which is applied to an RRPP network comprising edge nodes and auxiliary edge nodes, and comprises the following steps:
when a subring of an RRPP ring group is added on the edge node, the auxiliary edge node receives a first message from the edge node, wherein the first message carries the information of the RRPP ring group and the information of the subring; after receiving the first message, adding the subring to the RRPP ring group on the auxiliary edge node by using the information of the RRPP ring group and the information of the subring; wherein, the first message is sent after the edge node adds the subring to the RRPP ring group; or,
when a subring of an RRPP ring group is added on the auxiliary edge node, the auxiliary edge node adds the subring to the RRPP ring group and sends a second message to the edge node, wherein the second message carries the information of the RRPP ring group and the information of the subring; and after receiving a second message from the auxiliary edge node, the edge node adds the subring to the RRPP ring group on the edge node by using the information of the RRPP ring group and the information of the subring.
The embodiment of the invention provides an edge node, which is applied to a Rapid Ring Protection Protocol (RRPP) network comprising the edge node and an auxiliary edge node, wherein when a subring of an RRPP ring group is added to the edge node, the edge node specifically comprises a first processing module and a first sending module; when a sub-ring of the RRPP ring group is added to the auxiliary edge node, the edge node specifically includes a second receiving module and a second processing module; wherein:
the first processing module is configured to add a subring of an RRPP ring group to the RRPP ring group when the subring is added on the edge node;
the first sending module is configured to send a first packet to the auxiliary edge node, where the first packet carries information of the RRPP ring group and information of the subring; after the auxiliary edge node receives the first message, the auxiliary edge node adds the subring to the RRPP ring group on the auxiliary edge node by using the information of the RRPP ring group and the information of the subring;
or, the second receiving module is configured to receive a second packet from the auxiliary edge node when a subring of the RRPP ring group is added to the auxiliary edge node, where the second packet carries information of the RRPP ring group and information of the subring;
the second processing module is configured to add the subring to the RRPP ring group on an edge node by using the information of the RRPP ring group and the information of the subring after receiving the second packet; and the second message is sent after the auxiliary edge node adds the subring to the RRPP ring group.
The embodiment of the invention provides an auxiliary edge node, which is applied to a Rapid Ring Protection Protocol (RRPP) network comprising an edge node and the auxiliary edge node, wherein when a subring of an RRPP ring group is added to the edge node, the auxiliary edge node specifically comprises a first receiving module and a first processing module; when a sub-ring of the RRPP ring group is added to the auxiliary edge node, the auxiliary edge node specifically includes a second processing module and a second sending module; wherein:
the first receiving module is configured to receive a first message from the edge node when a subring of an RRPP ring group is added to the edge node, where the first message carries information of the RRPP ring group and information of the subring;
the first processing module is configured to add the subring to the RRPP ring group on an auxiliary edge node by using the information of the RRPP ring group and the information of the subring after receiving the first packet; the first message is sent after the edge node adds the subring to the RRPP ring group;
or, the second processing module is configured to add a subring of an RRPP ring group to the RRPP ring group when the subring is added on the auxiliary edge node;
the second sending module is configured to send a second packet to the edge node, where the second packet carries the information of the RRPP ring group and the information of the subring; and after receiving a second message from the auxiliary edge node, the edge node adds the subring to the RRPP ring group on the edge node by using the information of the RRPP ring group and the information of the subring.
Compared with the prior art, the embodiment of the invention at least has the following advantages: in the embodiment of the invention, only the RRPP ring group is required to be configured on the edge node or the auxiliary edge node, and the RRPP ring group is triggered to be configured on the auxiliary edge node or the edge node in a message interaction mode, so that the configuration workload of a user is greatly reduced, the sequence dependence of configuration is avoided, errors in manual configuration of the RRPP ring group are avoided, and the configuration of the RRPP ring group is simplified.
Drawings
Fig. 1 is a schematic application scenario of a RRPP network in the prior art;
fig. 2-5 are flowcharts of a method for configuring an RRPP ring group according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an edge node according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an auxiliary edge node according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a configuration method of an RRPP ring group, which is applied to an RRPP network comprising edge nodes and auxiliary edge nodes, and completes the addition of sub-rings in the RRPP ring group or the deletion of sub-rings in the RRPP ring group by carrying out information interaction between the edge nodes and the auxiliary edge nodes. This process is described in detail below with reference to the flow of the method for configuring the RRPP ring set shown in fig. 2-5.
As shown in fig. 2, when adding a sub-ring of the RRPP ring group on an Edge node (Edge-node), as follows: adding a subring 4 in an RRPP ring group 1 of an edge node, where the RRPP ring group 1 already includes a subring 1, a subring 2, and a subring 3, and a configuration method of the RRPP ring group provided by the embodiment of the present invention includes the following steps:
in step 201, the edge node adds a sub-ring to the RRPP ring group. For example, the edge node adds sub-ring 4 to RRPP ring group 1, when RRPP ring group 1 contains sub-ring 1, sub-ring 2, sub-ring 3, and sub-ring 4.
Step 202, the edge node sends a first message to the auxiliary edge node, and the first message carries the information of the RRPP ring group and the information of the subring. For example, the first message carries the RRPP ring group to be added as the RRPP ring group 1, and the sub-ring to be added to the RRPP ring group 1 is the sub-ring 4.
In a specific implementation manner, the first packet may be an adding ring group member packet, and the adding ring group member packet carries information of the RRPP ring group and information of the subring, and the adding ring group member packet is used to notify the auxiliary edge node to add the subring (i.e., information of the subring) to the RRPP ring group (i.e., information of the RRPP ring group). For example, the message type of the add ring group member message may be a predetermined type, such as AddRgroupMember.
Step 203, after the auxiliary edge node receives the first message, the auxiliary edge node adds the subring to the RRPP ring group on the auxiliary edge node by using the information of the RRPP ring group and the information of the subring carried in the first message. For example, after receiving the first message, the auxiliary edge node adds the subring 4 to the RRPP ring group 1 because the RRPP ring group to be added is carried in the first message as the RRPP ring group 1, and the subring to be added to the RRPP ring group 1 is the subring 4, where the RRPP ring group 1 includes the subring 1, the subring 2, the subring 3, and the subring 4.
In the prior art, when the number of subrings in the RRPP ring group is large, the performance of the device is greatly impacted. For example, a user configures an RRPP ring group on the secondary edge node, where there are 64 sub-rings in the RRPP ring group; before configuring the RRPP ring group on the Edge node, the Edge node still sends an Edge-Hello message to the auxiliary Edge node for each sub-ring, and since the RRPP ring group is enabled on the auxiliary Edge node, the auxiliary Edge node distributes the Edge-Hello message to 64 sub-rings after receiving the Edge-Hello message of the sub-ring 1, and so on, and after receiving the Edge-Hello message of the sub-ring 64, the auxiliary Edge node distributes the Edge-Hello message to 64 sub-rings. Further, if the Edge node sends 2 Edge-Hello packets per second for each sub-ring, the auxiliary Edge node needs to distribute 64 × 2 × 64 Edge-Hello packets per second, thereby causing a large impact on the device performance.
Further, based on the above findings, when configuring the RRPP ring group on the Edge node (Edge-node) and adding the sub-rings of the RRPP ring group on the Edge node, such as: an RRPP ring group 1 is configured on an edge node, and a sub-ring 1, a sub-ring 2, and a sub-ring 3 are added in the RRPP ring group 1 of the edge node, so that the method for configuring an RRPP ring group provided by the embodiment of the present invention includes the following steps:
step A, configuring an RRPP ring group by the edge node, adding the subring into the RRPP ring group, selecting one subring from the subrings in the RRPP ring group as a sending subring of the RRPP ring group, and setting the RRPP ring group to be in a non-working state currently. For example, the edge node configures an RRPP ring group 1, adds a sub-ring 1, a sub-ring 2, and a sub-ring 3 to the RRPP ring group 1, selects the sub-ring 1 from sub-rings within the RRPP ring group 1 as a transmission sub-ring of the RRPP ring group 1, and sets the RRPP ring group 1 to be currently in an inoperative state.
In the embodiment of the invention, when the RRPP ring group on the Edge node is in a non-working state at present, the Edge node sends an Edge-Hello message aiming at each sub-ring in the RRPP ring group; for example, when the RRPP ring group 1 is currently in an inactive state, the Edge node sends an Edge-Hello packet to the auxiliary Edge node for the sub-ring 1, the Edge node sends an Edge-Hello packet to the auxiliary Edge node for the sub-ring 2, and the Edge node sends an Edge-Hello packet to the auxiliary Edge node for the sub-ring 3.
And step B, the edge node sends a third message to the auxiliary edge node, wherein the third message carries the information of the RRPP ring group, the information of the subring and the information of the sending subring. For example, the third message carries the RRPP ring group to be added as RRPP ring group 1, the sub-rings to be added to RRPP ring group 1 are sub-ring 1, sub-ring 2, and sub-ring 3, and the sending sub-ring in RRPP ring group 1 is sub-ring 1.
In a specific implementation manner, the third packet may be an adding ring group packet, where the adding ring group packet carries information of the RRPP ring group, information of the subring, and information of the sending subring, and the adding ring group packet is used to notify the auxiliary edge node to add the subring (i.e., information of the subring) to the RRPP ring group (i.e., information of the RRPP ring group), and is used to notify the auxiliary edge node to determine the sending subring of the RRPP ring group by using the information of the sending subring. For example, the message type of the add ring group message may be a predetermined type, such as AddRgroup.
And step C, after receiving the third message, the auxiliary Edge node configures the RRPP ring group on the auxiliary Edge node by utilizing the information of the RRPP ring group, the information of the subring and the information of the sending subring carried in the third message, adds the subring to the RRPP ring group, determines the sending subring in the RRPP ring group, and only distributes the Edge-Hello message aiming at the sending subring to each subring in the RRPP ring group.
For example, after receiving the third packet, the auxiliary Edge node configures an RRPP ring group 1 on the auxiliary Edge node, adds sub-ring 1, sub-ring 2, and sub-ring 3 to the RRPP ring group 1, and determines that the sending sub-ring in the RRPP ring group 1 is the sub-ring 1, and the auxiliary Edge node only distributes the Edge-Hello packet for the sub-ring 1 to each sub-ring (i.e., the sub-ring 1, the sub-ring 2, and the sub-ring 3) in the RRPP ring group 1.
Specifically, if the Edge-Hello packet for the sub-ring 1 is received, since the sub-ring 1 is the sending sub-ring in the RRPP ring group 1, the auxiliary Edge node needs to distribute the Edge-Hello packet for the sub-ring 1 to the sub-ring 1, the sub-ring 2, and the sub-ring 3 in the RRPP ring group 1. Further, if the Edge-Hello packet for the sub-ring 2 or the sub-ring 3 is received, since neither the sub-ring 2 nor the sub-ring 3 is the sending sub-ring in the RRPP ring group 1, the auxiliary Edge node does not need to distribute the Edge-Hello packet for the sub-ring 2 or the sub-ring 3 to the sub-ring 1, the sub-ring 2, and the sub-ring 3 in the RRPP ring group 1.
Step D, the auxiliary edge node sends a fourth message to the edge node, and the fourth message is used for indicating that the auxiliary edge node adds the subring to the RRPP ring group; for example, the fourth packet is used to indicate that the secondary edge node has added sub-ring 1, sub-ring 2, and sub-ring 3 to RRPP ring group 1.
In a specific implementation manner, the fourth packet may be an add ring group response packet. Wherein, the ring group adding response message is used to inform the edge node that the auxiliary edge node has added the subring to the RRPP ring group. For example, the message type of the add ring group response message may be a preset type, such as RgroupResponse.
And step E, after receiving the fourth message, the edge node sets the RRPP ring group to be in a working state at present, and at this moment, the RRPP ring group can start to work normally, and the specific working process is not repeated.
In the embodiment of the invention, when the RRPP ring group on the Edge node is in a working state at present, the Edge node only sends the Edge-Hello message aiming at the sending sub-ring in the RRPP ring group. For example, when the RRPP ring group 1 is currently in the working state, the Edge node sends an Edge-Hello packet to the auxiliary Edge node only for the sub-ring 1 (i.e., the sending sub-ring in the RRPP ring group 1), but the Edge node does not need to send the Edge-Hello packet to the auxiliary Edge node for the sub-ring 2 and the sub-ring 3 any more.
In the above embodiments of the present invention, when the RRPP ring group is configured on the edge node, even if the number of sub-rings in the RRPP ring group is large, the device performance is not greatly impacted. Specifically, the auxiliary Edge node configures an RRPP ring group, adds a sub-ring to the RRPP ring group, and then only distributes an Edge-Hello packet for transmitting the sub-ring to each sub-ring in the RRPP ring group. Therefore, even if the Edge node still sends the Edge-Hello message to the auxiliary Edge node for each sub-ring, the auxiliary Edge node only distributes the Edge-Hello message for sending the sub-ring to each sub-ring in the RRPP ring group, thereby reducing the number of the Edge-Hello messages needing to be distributed on the auxiliary Edge node and avoiding causing impact on the performance of the equipment.
As shown in fig. 3, when a sub-ring of the RRPP ring group needs to be added on the auxiliary edge node (assist-edge-node), such as: the sub-ring 4 needs to be added into the RRPP ring group 1 of the auxiliary edge node, and the RRPP ring group 1 currently includes the sub-ring 1, the sub-ring 2, and the sub-ring 3, based on this, the method for configuring the RRPP ring group provided by the embodiment of the present invention includes the following steps:
in step 301, the secondary edge node adds a sub-ring to the RRPP ring group.
For example, the auxiliary edge node adds sub-ring 4 to RRPP ring set 1, at which point sub-ring 1, sub-ring 2, sub-ring 3, and sub-ring 4 will be included within RRPP ring set 1.
Step 302, the auxiliary edge node sends a second message to the edge node, and the second message carries the information of the RRPP ring group and the information of the subring. For example, the second message carries the RRPP ring group to be added as the RRPP ring group 1, and the sub-ring to be added to the RRPP ring group 1 is the sub-ring 4.
In a specific implementation manner, the second packet may be an adding ring group member packet, and the adding ring group member packet carries information of the RRPP ring group and information of the subring, and the adding ring group member packet is used to notify the edge node to add the subring (i.e., information of the subring) to the RRPP ring group (i.e., information of the RRPP ring group). For example, the message type of the add ring group member message may be a predetermined type, such as AddRgroupMember.
Step 303, after receiving the second message, the edge node adds the subring to the RRPP ring group on the edge node by using the information of the RRPP ring group and the information of the subring carried in the second message. For example, after receiving the second message, the edge node adds the subring 4 to the RRPP ring group 1 because the RRPP ring group to be added is carried in the second message and is the RRPP ring group 1, and the subring to be added to the RRPP ring group 1 is the subring 4, where the RRPP ring group 1 includes the subring 1, the subring 2, the subring 3, and the subring 4.
In the prior art, when the number of subrings in the RRPP ring group is large, the performance of the device is greatly impacted. Based on the above findings, when the RRPP ring group is configured on the auxiliary edge node (assist-edge-node), and the sub-rings of the RRPP ring group are added on the auxiliary edge node, such as: configuring an RRPP ring group 1 on an auxiliary edge node, and adding a sub-ring 1, a sub-ring 2, and a sub-ring 3 in the RRPP ring group 1 of the auxiliary edge node, the method for configuring an RRPP ring group provided in the embodiment of the present invention includes the following steps:
and step A, configuring an RRPP ring group by the auxiliary edge node, adding the subring to the RRPP ring group, and selecting one subring from the subrings in the RRPP ring group as a sending subring of the RRPP ring group. For example, the auxiliary edge node configures an RRPP ring group 1, adds sub-ring 1, sub-ring 2, and sub-ring 3 to the RRPP ring group 1, and selects sub-ring 1 as a transmission sub-ring of the RRPP ring group 1 from among sub-rings within the RRPP ring group 1.
And the auxiliary Edge node only distributes the Edge-Hello message aiming at the sending sub-ring to each sub-ring in the RRPP ring group. For example, the auxiliary Edge node only distributes the Edge-Hello packet for sub-ring 1 to each sub-ring (i.e., sub-ring 1, sub-ring 2, and sub-ring 3) in the RRPP ring group 1.
Specifically, if the Edge-Hello packet for the sub-ring 1 is received, since the sub-ring 1 is the sending sub-ring in the RRPP ring group 1, the auxiliary Edge node needs to distribute the Edge-Hello packet for the sub-ring 1 to the sub-ring 1, the sub-ring 2, and the sub-ring 3 in the RRPP ring group 1. Further, if the Edge-Hello packet for the sub-ring 2 or the sub-ring 3 is received, since neither the sub-ring 2 nor the sub-ring 3 is the sending sub-ring in the RRPP ring group 1, the auxiliary Edge node does not need to distribute the Edge-Hello packet for the sub-ring 2 or the sub-ring 3 to the sub-ring 1, the sub-ring 2, and the sub-ring 3 in the RRPP ring group 1.
Step B, the auxiliary edge node sends a fifth message to the edge node, wherein the fifth message carries the information of the RRPP ring group, the information of the subring and the information of the sending subring; for example, the fifth message carries the RRPP ring group to be added as RRPP ring group 1, the sub-rings to be added to RRPP ring group 1 are sub-ring 1, sub-ring 2, and sub-ring 3, and the sending sub-ring in RRPP ring group 1 is sub-ring 1.
In a specific implementation manner, the fifth packet may be an adding ring group packet, where the adding ring group packet carries information of an RRPP ring group, information of a subring, and information of a sending subring, and the adding ring group packet is used to notify the edge node to add the subring (i.e., information of the subring) to the RRPP ring group (i.e., information of the RRPP ring group), and is used to notify the edge node to determine the sending subring of the RRPP ring group by using the information of the sending subring. For example, the message type of the add ring group message may be a predetermined type, such as AddRgroup.
And step C, after receiving the fifth message, the edge node configures the RRPP ring group on the edge node by utilizing the information of the RRPP ring group, the information of the subring and the information of the sending subring carried in the fifth message, adds the subring to the RRPP ring group, and determines the sending subring in the RRPP ring group. For example, after receiving the fifth packet, the edge node configures an RRPP ring group 1 on the edge node, adds the subring 1, the subring 2, and the subring 3 to the RRPP ring group 1, and determines that the sending subring in the RRPP ring group 1 is the subring 1.
In the embodiment of the present invention, the Edge node sends an Edge-Hello packet to the sending sub-ring of the RRPP ring group, for example, when the RRPP ring group 1 is currently in a working state, the Edge node sends the Edge-Hello packet to the auxiliary Edge node only to the sub-ring 1 (i.e., the sending sub-ring in the RRPP ring group 1), but the Edge node does not send the Edge-Hello packet to the auxiliary Edge node to the sub-rings 2 and 3.
In the above embodiments of the present invention, when the RRPP ring group is configured on the auxiliary edge node, even if the number of sub-rings in the RRPP ring group is large, the device performance will not be impacted greatly. Specifically, the auxiliary Edge node configures an RRPP ring group, adds a sub-ring to the RRPP ring group, and then only distributes an Edge-Hello packet for transmitting the sub-ring to each sub-ring in the RRPP ring group. Therefore, even if the Edge node still sends the Edge-Hello message to the auxiliary Edge node aiming at each sub-ring, the auxiliary Edge node only distributes the Edge-Hello message for sending the sub-ring to each sub-ring in the RRPP ring group, thereby reducing the number of the Edge-Hello messages needing to be distributed on the auxiliary Edge node and avoiding the impact on the equipment performance.
As shown in fig. 4, when deleting a sub-ring of the RRPP ring group on an Edge node (Edge-node), as follows: the RRPP ring group 1 already includes the sub-ring 1, the sub-ring 2, and the sub-ring 3, and the sub-ring 2 is deleted from the RRPP ring group 1 of the edge node, so that the method for configuring the RRPP ring group provided by the embodiment of the present invention includes the following steps:
in step 401, the edge node deletes the sub-ring from the RRPP ring group. For example, the edge node deletes sub-ring 2 from RRPP ring group 1, and now sub-ring 1 and sub-ring 3 are included in RRPP ring group 1.
Step 402, the edge node sends a sixth message to the auxiliary edge node, and the sixth message carries the information of the RRPP ring group and the information of the subring. For example, the RRPP ring group that carries the subring to be deleted in the sixth message is the RRPP ring group 1, and the subring to be deleted is the subring 2 of the RRPP ring group 1.
In a specific implementation manner, the sixth message may be a delete ring group member message, and the delete ring group member message carries information of the RRPP ring group and information of the subring, and the delete ring group member message is used to notify the auxiliary edge node to delete the subring (i.e., information of the subring) from the RRPP ring group (i.e., information of the RRPP ring group). For example, the message type of the delete ring group member message may be a predetermined type, such as DelRgroupMember.
Step 403, after the auxiliary edge node receives the sixth message from the edge node, the auxiliary edge node deletes the sub-ring from the RRPP ring group on the auxiliary edge node by using the information of the RRPP ring group and the information of the sub-ring carried in the sixth message. For example, after receiving the sixth packet from the edge node, the auxiliary edge node deletes sub-ring 2 from RRPP ring group 1, where the RRPP ring group 1 includes sub-ring 1 and sub-ring 3.
In the prior art, when the number of subrings in the RRPP ring group is large, the performance of the device is greatly impacted. Based on the above findings, in the embodiment of the present invention, when the sub-ring deleted by the edge node from the RRPP ring group is the sending sub-ring in the RRPP ring group, the edge node further needs to select one sub-ring from the sub-rings in the RRPP ring group as the sending sub-ring of the RRPP ring group, and the sixth message further carries information of the sending sub-ring; further, after receiving the sixth message, the auxiliary edge node needs to determine the sending sub-ring in the RRPP ring group again by using the sending sub-ring information carried in the sixth message.
In the embodiment of the present invention, when deleting an RRPP ring group on an Edge node (Edge-node), for example: deleting the subring 1, the subring 2 and the subring 3 from the RRPP ring group 1 on the edge node, and deleting the RRPP ring group 1, so that the method for configuring the RRPP ring group provided by the embodiment of the present invention includes the following steps:
and step A, deleting the RRPP ring group by the edge node. For example, the edge node deletes sub-ring 1, sub-ring 2, and sub-ring 3 from RRPP ring group 1, and deletes the RRPP ring group 1.
And step B, the edge node sends an eighth message to the auxiliary edge node, wherein the eighth message carries the information of the RRPP ring group. For example, the eighth message carries the RRPP ring group to be deleted as RRPP ring group 1.
In a specific implementation manner, the eighth message may be a delete ring group message, and the delete ring group message carries information of the RRPP ring group, where the delete ring group message is used to notify the auxiliary edge node to delete the RRPP ring group (i.e., information of the RRPP ring group). For example, the message type of the delete ring group message may be a predetermined type, such as delr group.
And step C, after the auxiliary edge node receives the eighth message, deleting the RRPP ring group on the auxiliary edge node by using the information of the RRPP ring group. For example, after receiving the eighth packet, the auxiliary edge node deletes sub-ring 1, sub-ring 2, and sub-ring 3 from the RRPP ring group 1, and deletes the RRPP ring group 1.
In the embodiment of the invention, before the RRPP ring group is not deleted, the Edge node sends an Edge-Hello message aiming at the sending sub-ring of the RRPP ring group; for example, before the RRPP ring group 1 is not deleted, the Edge node sends an Edge-Hello packet to the secondary Edge node only for the sub-ring 1 (i.e., sending the sub-ring), but the Edge node does not need to send the Edge-Hello packet to the secondary Edge node for the sub-ring 2 and the sub-ring 3.
In the embodiment of the invention, before the RRPP ring group is not deleted, the auxiliary Edge node distributes the Edge-Hello message aiming at the sending sub-ring to each sub-ring of the RRPP ring group. For example, before the RRPP ring group 1 is not deleted, if an Edge-Hello packet for the sub-ring 1 is received, since the sub-ring 1 is a sending sub-ring in the RRPP ring group 1, the auxiliary Edge node needs to distribute the Edge-Hello packet for the sub-ring 1 to the sub-ring 1, the sub-ring 2, and the sub-ring 3 in the RRPP ring group 1. Further, if the Edge-Hello packet for the sub-ring 2 or the sub-ring 3 is received, since neither the sub-ring 2 nor the sub-ring 3 is the sending sub-ring in the RRPP ring group 1, the auxiliary Edge node does not need to distribute the Edge-Hello packet for the sub-ring 2 or the sub-ring 3 to the sub-ring 1, the sub-ring 2, and the sub-ring 3 in the RRPP ring group 1.
In the above embodiment of the present invention, when deleting the RRPP ring group on the edge node, even if the number of sub-rings in the RRPP ring group is large, a large impact on the device performance is not caused. Specifically, when the Edge node deletes a sub-ring from the RRPP ring group, the auxiliary Edge node only distributes the Edge-Hello packet for sending the sub-ring to each sub-ring in the RRPP ring group. Therefore, even if the Edge node still sends the Edge-Hello message to the auxiliary Edge node for each sub-ring, the auxiliary Edge node only distributes the Edge-Hello message for sending the sub-ring to each sub-ring in the RRPP ring group, thereby reducing the number of the Edge-Hello messages needing to be distributed on the auxiliary Edge node and avoiding causing impact on the performance of the equipment.
As shown in fig. 5, when a sub-ring within the RRPP ring group is deleted on the auxiliary edge node (assist-edge-node), as follows: the RRPP ring group 1 currently includes a sub-ring 1, a sub-ring 2, and a sub-ring 3, and the sub-ring 2 needs to be deleted in the RRPP ring group 1 of the auxiliary edge node, based on this, the method for configuring the RRPP ring group provided in the embodiment of the present invention includes the following steps:
in step 501, the auxiliary edge node deletes the sub-ring from the RRPP ring group. For example, the auxiliary edge node deletes sub-ring 2 from RRPP ring group 1, and now sub-ring 1 and sub-ring 3 are included in RRPP ring group 1.
Step 502, the auxiliary edge node sends a seventh message to the edge node, and the seventh message carries the information of the RRPP ring group and the information of the subring. For example, the seventh message carries the RRPP ring group that needs to delete the subring as RRPP ring group 1, and the subring that needs to delete is subring 2 of RRPP ring group 1.
In a specific implementation manner, the seventh message may be a delete ring group member message, and the delete ring group member message carries information of the RRPP ring group and information of the subring, and the delete ring group member message is used to notify the edge node to delete the subring (i.e., information of the subring) from the RRPP ring group (i.e., information of the RRPP ring group). For example, the message type of the delete ring group member message may be a predetermined type, such as DelRgroupMember.
In step 503, after receiving the seventh packet from the auxiliary edge node, the edge node deletes the sub-ring from the RRPP ring group on the edge node by using the information of the RRPP ring group and the information of the sub-ring carried in the seventh packet. For example, after receiving the seventh packet from the auxiliary edge node, the edge node deletes sub-ring 2 from RRPP ring group 1, where the RRPP ring group 1 includes sub-ring 1 and sub-ring 3.
In the prior art, when the number of subrings in the RRPP ring group is large, the performance of the device is greatly impacted. Based on the above findings, in the embodiment of the present invention, when the sub-ring deleted from the RRPP ring group by the auxiliary edge node is the sending sub-ring in the RRPP ring group, the auxiliary edge node further needs to select one sub-ring from the sub-rings in the RRPP ring group as the sending sub-ring of the RRPP ring group, and the seventh message further carries information of the sending sub-ring; further, after receiving the seventh packet, the edge node needs to determine the sending sub-ring in the RRPP ring group again by using the sending sub-ring information carried in the seventh packet.
In the embodiment of the present invention, when deleting an RRPP ring group on an auxiliary edge node (assist-edge-node), for example, deleting sub-ring 1, sub-ring 2, and sub-ring 3 from the RRPP ring group 1 and deleting the RRPP ring group 1 on the auxiliary edge node, the method for configuring an RRPP ring group in the embodiment of the present invention includes the following steps:
and step A, the auxiliary edge node sends a ninth message to the edge node, wherein the ninth message carries the information of the RRPP ring group. For example, the ninth message carries the RRPP ring group to be deleted, which is RRPP ring group 1.
In a specific implementation manner, the ninth message may be a delete ring group message, and the delete ring group message carries information of the RRPP ring group, where the delete ring group message is used to notify the edge node to delete the RRPP ring group (i.e., the information of the RRPP ring group). For example, the message type of the delete ring group message may be a predetermined type, such as delr group.
And step B, after the edge node receives the ninth message, deleting the RRPP ring group on the edge node by using the information of the RRPP ring group carried in the ninth message. For example, after receiving the ninth packet, the edge node deletes sub-ring 1, sub-ring 2, and sub-ring 3 from the RRPP ring group 1, and deletes the RRPP ring group 1.
And step C, the edge node sends a tenth message to the auxiliary edge node, wherein the tenth message is used for indicating that the RRPP ring group is deleted by the edge node. For example, the tenth message is used to indicate that the RRPP ring group 1 has been deleted.
In a specific implementation manner, the tenth message may be a delete ring group response message. Wherein, the delete ring group response message is used to notify the auxiliary edge node of the RRPP ring group that the edge node has deleted. For example, the message type of the delete ring group response message may be a preset type, such as delrgroupsesponse.
And D, after the auxiliary edge node receives the tenth message, deleting the RRPP ring group on the auxiliary edge node. For example, after the auxiliary edge node receives the tenth packet, the auxiliary edge node deletes the sub-ring 1, the sub-ring 2, and the sub-ring 3 from the RRPP ring group 1, and deletes the RRPP ring group 1.
In the embodiment of the invention, before the RRPP ring group is not deleted, the Edge node sends an Edge-Hello message aiming at the sending sub-ring of the RRPP ring group; for example, before the RRPP ring group 1 is not deleted, the Edge node sends an Edge-Hello packet to the secondary Edge node only for the sub-ring 1 (i.e., sending the sub-ring), but the Edge node does not need to send the Edge-Hello packet to the secondary Edge node for the sub-ring 2 and the sub-ring 3.
In the embodiment of the invention, before the RRPP ring group is not deleted, the auxiliary Edge node distributes the Edge-Hello message aiming at the sending sub-ring to each sub-ring of the RRPP ring group. For example, before the RRPP ring group 1 is not deleted, if an Edge-Hello packet for the sub-ring 1 is received, since the sub-ring 1 is a sending sub-ring in the RRPP ring group 1, the auxiliary Edge node needs to distribute the Edge-Hello packet for the sub-ring 1 to the sub-ring 1, the sub-ring 2, and the sub-ring 3 in the RRPP ring group 1. Further, if the Edge-Hello packet for the sub-ring 2 or the sub-ring 3 is received, since neither the sub-ring 2 nor the sub-ring 3 is the sending sub-ring in the RRPP ring group 1, the auxiliary Edge node does not need to distribute the Edge-Hello packet for the sub-ring 2 or the sub-ring 3 to the sub-ring 1, the sub-ring 2, and the sub-ring 3 in the RRPP ring group 1.
In the above embodiment of the present invention, when deleting the RRPP ring group on the auxiliary edge node, even if the number of sub-rings in the RRPP ring group is large, a large impact on the device performance is not caused. Specifically, when the RRPP ring group is deleted on the auxiliary Edge node, the auxiliary Edge node only distributes the Edge-Hello packet for sending the sub-ring to each sub-ring in the RRPP ring group. Therefore, even if the Edge node still sends the Edge-Hello message to the auxiliary Edge node for each sub-ring, the auxiliary Edge node only distributes the Edge-Hello message for sending the sub-ring to each sub-ring in the RRPP ring group, thereby reducing the number of the Edge-Hello messages needing to be distributed on the auxiliary Edge node and avoiding causing impact on the performance of the equipment.
Based on the same inventive concept as the above method, the embodiment of the present invention further provides an edge node, which is applied to a fast ring protection protocol RRPP network including the edge node and an auxiliary edge node, where when a sub-ring of an RRPP ring group is added to the edge node, the edge node specifically includes a first processing module 11 and a first sending module 12; when adding a sub-ring of the RRPP ring group to the auxiliary edge node, the edge node specifically includes a second receiving module 13 and a second processing module 14; wherein:
the first processing module 11 is configured to, when a sub-ring of an RRPP ring group is added on the edge node, add the sub-ring to the RRPP ring group;
the first sending module 12 is configured to send a first packet to the auxiliary edge node, where the first packet carries the information of the RRPP ring group and the information of the subring; after the auxiliary edge node receives the first message, the auxiliary edge node adds the subring to the RRPP ring group on the auxiliary edge node by using the information of the RRPP ring group and the information of the subring;
or,
the second receiving module 13 is configured to receive a second packet from the auxiliary edge node when a subring of the RRPP ring group is added to the auxiliary edge node, where the second packet carries information of the RRPP ring group and information of the subring;
the second processing module 14 is configured to add the subring to the RRPP ring group on an edge node by using the information of the RRPP ring group and the information of the subring after receiving the second packet; and the second message is sent after the auxiliary edge node adds the subring to the RRPP ring group.
The first processing module 11 is further configured to configure, when an RRPP ring group is configured on the edge node and a sub-ring of the RRPP ring group is added to the edge node, the RRPP ring group, add the sub-ring to the RRPP ring group, select a sub-ring from sub-rings in the RRPP ring group as a sending sub-ring of the RRPP ring group, and set the RRPP ring group to be currently in an inoperative state;
the first sending module 12 is further configured to send a third message to an auxiliary edge node, where the third message carries the information of the RRPP ring group, the information of the subring, and the information of the sending subring; after receiving the third message, configuring, by the auxiliary Edge node, the RRPP ring group on the auxiliary Edge node by using the information of the RRPP ring group, the information of the subring, and the information of the sending subring, adding the subring to the RRPP ring group, determining the sending subring in the RRPP ring group, and only distributing the Edge-Hello message for the sending subring to each subring in the RRPP ring group;
the edge node further comprises: a first receiving module 15, configured to receive a fourth packet from the auxiliary edge node, where the fourth packet is used to indicate that the auxiliary edge node has added the sub-ring to the RRPP ring group, and after receiving the fourth packet from the auxiliary edge node, the first processing module 11 sets that the RRPP ring group is currently in a working state; when the RRPP ring group on the Edge node is in an inoperative state, the first sending module 12 sends an Edge-Hello packet for each sub-ring in the RRPP ring group; when the RRPP ring group on the Edge node is in a working state, the first sending module 12 sends an Edge-Hello message to a sending sub-ring in the RRPP ring group;
or,
the second receiving module 13 is further configured to receive a fifth message from the auxiliary edge node when an RRPP ring group is configured on the auxiliary edge node and a sub-ring of the RRPP ring group is added to the auxiliary edge node, where the fifth message carries information of the RRPP ring group, information of the sub-ring, and information of a sub-ring sent in the RRPP ring group; the fifth message is sent after the auxiliary edge node configures the RRPP ring group, adds the sub-ring to the RRPP ring group, and selects one sub-ring from the sub-rings in the RRPP ring group as a sending sub-ring of the RRPP ring group;
the second processing module 14 is further configured to configure, after receiving the fifth packet, the RRPP ring group on the edge node by using the information of the RRPP ring group, the information of the subring, and the information of the sending subring, add the subring to the RRPP ring group, and determine a sending subring in the RRPP ring group; the Edge node further includes a second sending module 16, where the second sending module 16 sends an Edge-Hello packet to a sending sub-ring of the RRPP ring group, and the auxiliary Edge node distributes the Edge-Hello packet to each sub-ring of the RRPP ring group.
The first processing module 11 is further configured to delete a subring of an RRPP ring group from the RRPP ring group when the subring is deleted on the edge node;
the first sending module 12 is further configured to send a sixth message to the auxiliary edge node, where the sixth message carries the information of the RRPP ring group and the information of the subring; after receiving the sixth packet, the auxiliary edge node deletes the subring from the RRPP ring group on the auxiliary edge node by using the information of the RRPP ring group and the information of the subring;
or,
the second receiving module 13 is further configured to receive a seventh packet from the auxiliary edge node when the subring of the RRPP ring group is deleted on the auxiliary edge node, where the seventh packet carries information of the RRPP ring group and information of the subring;
the second processing module 14 is further configured to delete the subring from the RRPP ring group on an edge node by using the information of the RRPP ring group and the information of the subring after receiving the seventh packet; the seventh message is sent after the auxiliary edge node deletes the subring from the RRPP ring group;
when the first processing module 11 deletes the sub-ring from the RRPP ring group as the sending sub-ring in the RRPP ring group, the first processing module 11 is further configured to select one sub-ring from the sub-rings in the RRPP ring group as the sending sub-ring of the RRPP ring group, and a sixth message further carries information of the sending sub-ring; re-determining, by a secondary edge node, a transmitting sub-ring within the RRPP ring set; or, when the sub-ring deleted from the RRPP ring group by the auxiliary edge node is the sending sub-ring in the RRPP ring group, the seventh message further carries information of the sending sub-ring in the RRPP ring group, and the second processing module 14 is configured to re-determine the sending sub-ring in the RRPP ring group by using the information of the sending sub-ring; the sending sub-ring is selected by the auxiliary edge node from the sub-rings within the RRPP ring set; the Edge node sends an Edge-Hello message aiming at a sending sub-ring of the RRPP ring group, and the auxiliary Edge node distributes the Edge-Hello message aiming at the sending sub-ring to each sub-ring of the RRPP ring group;
when deleting the RRPP ring group on the edge node, the first processing module 11 is further configured to delete the RRPP ring group; the first sending module 12 is further configured to send an eighth packet to the auxiliary edge node, where the eighth packet carries information of the RRPP ring group; after the auxiliary edge node receives the eighth message, deleting the RRPP ring group on the auxiliary edge node by using the information of the RRPP ring group; or, when deleting the RRPP ring group on the auxiliary edge node, the second receiving module 13 is further configured to receive a ninth packet from the auxiliary edge node, where the ninth packet carries information of the RRPP ring group; the second processing module 14 is further configured to delete the RRPP ring group on the edge node by using the information of the RRPP ring group after receiving the ninth packet; the edge node further includes a second sending module 16, configured to send, to the auxiliary edge node, a tenth packet indicating that the edge node has deleted the RRPP ring group; and after receiving the tenth message, the auxiliary edge node deletes the RRPP ring group on the auxiliary edge node.
The modules of the device can be integrated into a whole or can be separately deployed. The modules can be combined into one module, and can also be further split into a plurality of sub-modules.
Based on the same inventive concept as the above method, the embodiment of the present invention further provides an auxiliary edge node, which is applied to a fast ring protection protocol RRPP network including an edge node and an auxiliary edge node, where when a sub-ring of an RRPP ring group is added to an edge node, the auxiliary edge node specifically includes a first receiving module 21 and a first processing module 22; when a sub-ring of the RRPP ring group is added to the auxiliary edge node, the auxiliary edge node specifically includes a second processing module 23 and a second sending module 24; wherein:
the first receiving module 21 is configured to receive a first message from the edge node when a subring of an RRPP ring group is added to the edge node, where the first message carries information of the RRPP ring group and information of the subring;
the first processing module 22 is configured to, after receiving the first packet, add the subring to the RRPP ring group on an auxiliary edge node by using the information of the RRPP ring group and the information of the subring; the first message is sent after the edge node adds the subring to the RRPP ring group;
or,
the second processing module 23 is configured to, when a sub-ring of an RRPP ring group is added on the auxiliary edge node, add the sub-ring to the RRPP ring group;
the second sending module 24 is configured to send a second packet to the edge node, where the second packet carries the information of the RRPP ring group and the information of the subring; and after receiving a second message from the auxiliary edge node, the edge node adds the subring to the RRPP ring group on the edge node by using the information of the RRPP ring group and the information of the subring.
The first receiving module 21 is further configured to receive a third message from the edge node when the RRPP ring group is configured on the edge node and a sub-ring of the RRPP ring group is added to the edge node, where the third message carries information of the RRPP ring group, information of the sub-ring, and information of a sending sub-ring in the RRPP ring group; the third message is sent after the edge node configures the RRPP ring group, the subring is added to the RRPP ring group, one subring is selected from subrings in the RRPP ring group to serve as a sending subring of the RRPP ring group, and the RRPP ring group is set to be in a non-working state currently;
the first processing module 22 is further configured to configure the RRPP ring group on an auxiliary Edge node by using the information of the RRPP ring group, the information of the sub-ring, and the information of the sending sub-ring, add the sub-ring to the RRPP ring group, determine a sending sub-ring in the RRPP ring group, and only distribute an Edge-Hello packet for the sending sub-ring to each sub-ring in the RRPP ring group;
the auxiliary edge node further comprises: a first sending module 25, configured to send, to an edge node, a fourth packet indicating that the auxiliary edge node has added the subring to the RRPP ring group; after the edge node receives the fourth message from the auxiliary edge node, setting the RRPP ring group to be in a working state at present; when the RRPP ring group on the Edge node is in a non-working state, the Edge node sends an Edge-Hello message aiming at each sub-ring in the RRPP ring group; when the RRPP ring group on the Edge node is in a working state, the Edge node sends an Edge-Hello message aiming at a sending sub-ring in the RRPP ring group;
or,
the second processing module 23 is further configured to, when configuring an RRPP ring group on the auxiliary edge node and adding a sub-ring of the RRPP ring group on the auxiliary edge node, configure the RRPP ring group, add the sub-ring to the RRPP ring group, and select one sub-ring from the sub-rings in the RRPP ring group as a sending sub-ring of the RRPP ring group;
the second sending module 24 is further configured to send a fifth message to the edge node, where the fifth message carries the information of the RRPP ring group, the information of the subring, and the information of the sending subring; after the edge node receives the fifth message, configuring the RRPP ring group on the edge node by using the information of the RRPP ring group, the information of the subring and the information of the sending subring, adding the subring to the RRPP ring group, and determining the sending subring in the RRPP ring group;
the Edge node sends an Edge-Hello message aiming at the sending sub-ring of the RRPP ring group, and the auxiliary Edge node distributes the Edge-Hello message aiming at the sending sub-ring to each sub-ring of the RRPP ring group.
The first receiving module 21 is further configured to receive a sixth packet from the edge node when the edge node deletes a sub-ring of the RRPP ring group, where the sixth packet carries information of the RRPP ring group and information of the sub-ring; wherein the sixth packet is sent by the edge node after deleting the subring from the RRPP ring group;
the first processing module 22 is further configured to delete the subring from the RRPP ring group on the auxiliary edge node by using the information of the RRPP ring group and the information of the subring after receiving the sixth packet;
or,
the second processing module 23 is further configured to, when a subring of an RRPP ring group is deleted on the auxiliary edge node, delete the subring from the RRPP ring group;
the second sending module 24 is further configured to send a seventh packet to the edge node, where the seventh packet carries the information of the RRPP ring group and the information of the subring; after receiving a seventh message from the auxiliary edge node, the edge node deletes the subring from the RRPP ring group on the edge node by using the information of the RRPP ring group and the information of the subring;
when the edge node deletes the sub-ring from the RRPP ring group and is the sending sub-ring in the RRPP ring group, the sixth message further carries information of the sending sub-ring in the RRPP ring group, and the first processing module 22 is further configured to re-determine the sending sub-ring in the RRPP ring group by using the information of the sending sub-ring; the sending sub-ring is selected by an edge node from among sub-rings within the RRPP ring set; when the sub-ring deleted from the RRPP ring group by the auxiliary edge node is the sending sub-ring in the RRPP ring group, the second processing module 23 is further configured to select a sub-ring from the sub-rings in the RRPP ring group as the sending sub-ring of the RRPP ring group, and the seventh message further carries information of the sending sub-ring in the RRPP ring group; re-determining, by an edge node, a transmitting sub-ring within the RRPP ring set; the Edge node sends an Edge-Hello message aiming at a sending sub-ring of the RRPP ring group, and the auxiliary Edge node distributes the Edge-Hello message aiming at the sending sub-ring to each sub-ring of the RRPP ring group;
when deleting the RRPP ring group on the edge node, the first receiving module 21 is further configured to receive an eighth packet from the edge node, where the eighth packet carries information of the RRPP ring group; the first processing module 22 is further configured to delete the RRPP ring group on the auxiliary edge node by using the information of the RRPP ring group after receiving the eighth packet; the eighth message is sent after the edge node deletes the RRPP ring group; or, when the RRPP ring group is deleted on the auxiliary edge node, the second sending module 24 is further configured to send a ninth message to the edge node, where the ninth message carries information of the RRPP ring group; after receiving the ninth message, the edge node deletes the RRPP ring group on the edge node by using the information of the RRPP ring group, and sends a tenth message for indicating that the RRPP ring group is deleted by the edge node to an auxiliary edge node; the auxiliary edge node further includes a second receiving module 26, configured to receive a tenth packet from the edge node; the second processing module 23 is further configured to delete the RRPP ring group on the auxiliary edge node after receiving the tenth packet.
The modules of the device can be integrated into a whole or can be separately deployed. The modules can be combined into one module, and can also be further split into a plurality of sub-modules.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
Those skilled in the art will appreciate that the drawings are merely schematic representations of one preferred embodiment and that the blocks or flow diagrams in the drawings are not necessarily required to practice the present invention.
Those skilled in the art will appreciate that the modules in the devices in the embodiments may be distributed in the devices in the embodiments according to the description of the embodiments, and may be correspondingly changed in one or more devices different from the embodiments. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The above disclosure is only for a few specific embodiments of the present invention, but the present invention is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present invention.

Claims (18)

1. A configuration method of a rapid ring protection protocol RRPP ring group is applied to an RRPP network comprising an edge node and an auxiliary edge node, and is characterized by comprising the following steps:
when a subring of an RRPP ring group is added on the edge node, the edge node adds the subring to the RRPP ring group and sends a first message to the auxiliary edge node, wherein the first message carries the information of the RRPP ring group and the information of the subring; after the auxiliary edge node receives the first message, the auxiliary edge node adds the subring to the RRPP ring group on the auxiliary edge node by using the information of the RRPP ring group and the information of the subring; or,
when a subring of an RRPP ring group is added on the auxiliary edge node, the edge node receives a second message from the auxiliary edge node, wherein the second message carries the information of the RRPP ring group and the information of the subring; after receiving the second message, adding the subring to the RRPP ring group on an edge node by using the information of the RRPP ring group and the information of the subring; wherein the second packet is sent after the auxiliary edge node adds the sub-ring to the RRPP ring group.
2. The method of claim 1, wherein the method further comprises:
when configuring an RRPP ring group on the edge node and adding a subring of the RRPP ring group on the edge node, configuring the RRPP ring group by the edge node, adding the subring to the RRPP ring group, selecting one subring from the subrings in the RRPP ring group as a sending subring of the RRPP ring group, and setting the RRPP ring group to be in a non-working state currently;
the edge node sends a third message to the auxiliary edge node, wherein the third message carries the information of the RRPP ring group, the information of the subring and the information of the sending subring; after receiving the third packet, the auxiliary Edge node configures the RRPP ring group on the auxiliary Edge node by using the information of the RRPP ring group, the information of the subring, and the information of the transmission subring, adds the subring to the RRPP ring group, determines a transmission subring in the RRPP ring group, and only distributes an Edge-Hello packet for the transmission subring to each subring in the RRPP ring group;
the edge node receives a fourth message from the auxiliary edge node, wherein the fourth message is used for indicating that the auxiliary edge node adds the subring to the RRPP ring group, and after the fourth message from the auxiliary edge node is received, the RRPP ring group is set to be in a working state currently;
when the RRPP ring group on the Edge node is in a non-working state, the Edge node sends an Edge-Hello message to each sub-ring in the RRPP ring group; and when the RRPP ring group on the Edge node is in a working state, the Edge node sends an Edge-Hello message aiming at the sending sub-ring in the RRPP ring group.
3. The method of claim 1, wherein the method further comprises:
when an RRPP ring group is configured on the auxiliary edge node and a subring of the RRPP ring group is added on the auxiliary edge node, the edge node receives a fifth message from the auxiliary edge node, wherein the fifth message carries information of the RRPP ring group, information of the subring and information of a transmitting subring in the RRPP ring group; the fifth packet is sent after the auxiliary edge node configures the RRPP ring group, adds the sub-ring to the RRPP ring group, and selects one sub-ring from the sub-rings in the RRPP ring group as a sending sub-ring of the RRPP ring group;
after receiving the fifth message, the edge node configures the RRPP ring group on the edge node by using the information of the RRPP ring group, the information of the subring, and the information of the sending subring, adds the subring to the RRPP ring group, and determines the sending subring in the RRPP ring group;
the Edge node sends an Edge-Hello message aiming at the sending sub-ring of the RRPP ring group, and the auxiliary Edge node distributes the Edge-Hello message aiming at the sending sub-ring to each sub-ring of the RRPP ring group.
4. The method of claim 1, wherein the method further comprises:
when deleting a subring of the RRPP ring group on the edge node, the edge node deletes the subring from the RRPP ring group and sends a sixth message to the auxiliary edge node, wherein the sixth message carries the information of the RRPP ring group and the information of the subring; after receiving the sixth packet, the auxiliary edge node deletes the subring from the RRPP ring group on the auxiliary edge node by using the information of the RRPP ring group and the information of the subring; or,
when deleting a sub-ring of the RRPP ring group on the auxiliary edge node, the edge node receives a seventh message from the auxiliary edge node, wherein the seventh message carries the information of the RRPP ring group and the information of the sub-ring; after receiving the seventh message, deleting the subring from the RRPP ring group on an edge node by using the information of the RRPP ring group and the information of the subring; wherein the seventh packet is sent after the auxiliary edge node deletes the sub-ring from the RRPP ring group.
5. The method of claim 4, wherein the method further comprises:
when the edge node deletes a sub-ring from the RRPP ring group as a sending sub-ring in the RRPP ring group, the edge node selects a sub-ring from the sub-rings in the RRPP ring group as the sending sub-ring of the RRPP ring group, and the sixth message also carries information of the sending sub-ring; re-determining, by the secondary edge node, a transmitting sub-ring within the RRPP ring set; or,
when the sub-ring deleted from the RRPP ring group by the auxiliary edge node is the sending sub-ring in the RRPP ring group, the seventh message also carries information of the sending sub-ring in the RRPP ring group, and the edge node re-determines the sending sub-ring in the RRPP ring group by using the information of the sending sub-ring; the sending sub-ring is selected by the secondary edge node from among the sub-rings within the RRPP ring set;
the Edge node sends an Edge-Hello message aiming at the sending sub-ring of the RRPP ring group, and the auxiliary Edge node distributes the Edge-Hello message aiming at the sending sub-ring to each sub-ring of the RRPP ring group.
6. The method of claim 1, wherein the method further comprises:
when deleting the RRPP ring group on the edge node, the edge node deletes the RRPP ring group and sends an eighth message to the auxiliary edge node, wherein the eighth message carries the information of the RRPP ring group; after the auxiliary edge node receives the eighth message, deleting the RRPP ring group on the auxiliary edge node by using the information of the RRPP ring group; or,
when deleting the RRPP ring group on the auxiliary edge node, the edge node receives a ninth message from the auxiliary edge node, wherein the ninth message carries the information of the RRPP ring group; after receiving the ninth message, the edge node deletes the RRPP ring group on the edge node by using the information of the RRPP ring group, and sends a tenth message used for indicating that the edge node has deleted the RRPP ring group to the auxiliary edge node; and after the auxiliary edge node receives the tenth message, deleting the RRPP ring group on the auxiliary edge node.
7. A configuration method of a rapid ring protection protocol RRPP ring group is applied to an RRPP network comprising an edge node and an auxiliary edge node, and is characterized by comprising the following steps:
when a subring of an RRPP ring group is added on the edge node, the auxiliary edge node receives a first message from the edge node, wherein the first message carries the information of the RRPP ring group and the information of the subring; after receiving the first message, adding the subring to the RRPP ring group on the auxiliary edge node by using the information of the RRPP ring group and the information of the subring; wherein, the first message is sent after the edge node adds the subring to the RRPP ring group; or,
when a subring of an RRPP ring group is added on the auxiliary edge node, the auxiliary edge node adds the subring to the RRPP ring group and sends a second message to the edge node, wherein the second message carries the information of the RRPP ring group and the information of the subring; and after receiving a second message from the auxiliary edge node, the edge node adds the subring to the RRPP ring group on the edge node by using the information of the RRPP ring group and the information of the subring.
8. The method of claim 7, wherein the method further comprises:
when an RRPP ring group is configured on the edge node and a subring of the RRPP ring group is added on the edge node, the auxiliary edge node receives a third message from the edge node, wherein the third message carries information of the RRPP ring group, information of the subring and information of a sending subring in the RRPP ring group; the third message is sent after the edge node configures the RRPP ring group, the subring is added to the RRPP ring group, one subring is selected from subrings in the RRPP ring group to serve as a sending subring of the RRPP ring group, and the RRPP ring group is set to be in a non-working state currently;
after receiving the third message, the auxiliary Edge node configures the RRPP ring group on the auxiliary Edge node by using the information of the RRPP ring group, the information of the subring and the information of the sending subring, adds the subring to the RRPP ring group, determines the sending subring in the RRPP ring group, and only distributes an Edge-Hello message aiming at the sending subring to each subring in the RRPP ring group;
the auxiliary edge node sends a fourth message to the edge node, wherein the fourth message is used for indicating that the auxiliary edge node adds the sub-ring to the RRPP ring group; after the edge node receives the fourth message from the auxiliary edge node, setting the RRPP ring group to be in a working state at present;
when the RRPP ring group on the Edge node is in a non-working state, the Edge node sends an Edge-Hello message to each sub-ring in the RRPP ring group; and when the RRPP ring group on the Edge node is in a working state, the Edge node sends an Edge-Hello message aiming at the sending sub-ring in the RRPP ring group.
9. The method of claim 7, wherein the method further comprises:
when configuring an RRPP ring group on the auxiliary edge node and adding a subring of the RRPP ring group on the auxiliary edge node, configuring the RRPP ring group by the auxiliary edge node, adding the subring to the RRPP ring group, selecting a subring from subrings in the RRPP ring group as a sending subring of the RRPP ring group, and sending a fifth message to the edge node, wherein the fifth message carries information of the RRPP ring group, information of the subring and information of the sending subring; after the edge node receives the fifth message, configuring the RRPP ring group on the edge node by using the information of the RRPP ring group, the information of the subring and the information of the sending subring, adding the subring to the RRPP ring group, and determining the sending subring in the RRPP ring group;
the Edge node sends an Edge-Hello message aiming at the sending sub-ring of the RRPP ring group, and the auxiliary Edge node distributes the Edge-Hello message aiming at the sending sub-ring to each sub-ring of the RRPP ring group.
10. The method of claim 7, wherein the method further comprises:
when deleting a subring of the RRPP ring group on the edge node, the auxiliary edge node receives a sixth message from the edge node, wherein the sixth message carries the information of the RRPP ring group and the information of the subring; after receiving the sixth message, deleting the subring from the RRPP ring group on the auxiliary edge node by using the information of the RRPP ring group and the information of the subring; wherein, the sixth message is sent by the edge node after deleting the subring from the RRPP ring group; or,
when deleting a subring of the RRPP ring group on the auxiliary edge node, the auxiliary edge node deletes the subring from the RRPP ring group and sends a seventh message to the edge node, wherein the seventh message carries the information of the RRPP ring group and the information of the subring; and after receiving a seventh message from the auxiliary edge node, the edge node deletes the subring from the RRPP ring group on the edge node by using the information of the RRPP ring group and the information of the subring.
11. The method of claim 10, wherein the method further comprises:
when the edge node deletes the sub-ring from the RRPP ring group as the sending sub-ring in the RRPP ring group, the sixth message further carries information of the sending sub-ring in the RRPP ring group, and the auxiliary edge node re-determines the sending sub-ring in the RRPP ring group by using the information of the sending sub-ring; the sending sub-ring is selected by an edge node from among sub-rings within the RRPP ring set;
when the sub-ring deleted from the RRPP ring group by the auxiliary edge node is the sending sub-ring in the RRPP ring group, the auxiliary edge node selects one sub-ring from the sub-rings in the RRPP ring group as the sending sub-ring of the RRPP ring group, and the seventh message also carries information of the sending sub-ring in the RRPP ring group; re-determining, by an edge node, a transmitting sub-ring within the RRPP ring set;
the Edge node sends an Edge-Hello message aiming at the sending sub-ring of the RRPP ring group, and the auxiliary Edge node distributes the Edge-Hello message aiming at the sending sub-ring to each sub-ring of the RRPP ring group.
12. The method of claim 7, wherein the method further comprises:
when deleting the RRPP ring group on the edge node, the auxiliary edge node receives an eighth message from the edge node, wherein the eighth message carries the information of the RRPP ring group; after receiving the eighth message, deleting the RRPP ring group on an auxiliary edge node by using the information of the RRPP ring group; wherein, the eighth message is sent after the edge node deletes the RRPP ring group; or,
when deleting the RRPP ring group on the auxiliary edge node, the auxiliary edge node sends a ninth message to the edge node, wherein the ninth message carries the information of the RRPP ring group; after receiving the ninth message, the edge node deletes the RRPP ring group on the edge node by using the information of the RRPP ring group, and sends a tenth message used for indicating that the edge node has deleted the RRPP ring group to the auxiliary edge node; and after receiving the tenth message, the auxiliary edge node deletes the RRPP ring group on the auxiliary edge node.
13. An edge node is applied to a Rapid Ring Protection Protocol (RRPP) network comprising the edge node and an auxiliary edge node, and is characterized in that when a subring of an RRPP ring group is added to the edge node, the edge node specifically comprises a first processing module and a first sending module; when a sub-ring of the RRPP ring group is added to the auxiliary edge node, the edge node specifically includes a second receiving module and a second processing module; wherein:
the first processing module is configured to add a subring of an RRPP ring group to the RRPP ring group when the subring is added on the edge node;
the first sending module is configured to send a first packet to the auxiliary edge node, where the first packet carries information of the RRPP ring group and information of the subring; after the auxiliary edge node receives the first message, the auxiliary edge node adds the subring to the RRPP ring group on the auxiliary edge node by using the information of the RRPP ring group and the information of the subring;
or,
the second receiving module is configured to receive a second packet from the auxiliary edge node when a subring of the RRPP ring group is added to the auxiliary edge node, where the second packet carries information of the RRPP ring group and information of the subring;
the second processing module is configured to add the subring to the RRPP ring group on an edge node by using the information of the RRPP ring group and the information of the subring after receiving the second packet; and the second message is sent after the auxiliary edge node adds the subring to the RRPP ring group.
14. The edge node of claim 13,
the first processing module is further configured to configure an RRPP ring group when the RRPP ring group is configured on the edge node and a sub-ring of the RRPP ring group is added to the edge node, add the sub-ring to the RRPP ring group, select a sub-ring from sub-rings in the RRPP ring group as a sending sub-ring of the RRPP ring group, and set the RRPP ring group to be currently in an inoperative state;
the first sending module is further configured to send a third packet to an auxiliary edge node, where the third packet carries the information of the RRPP ring group, the information of the subring, and the information of the sending subring; after receiving the third message, configuring, by the auxiliary Edge node, the RRPP ring group on the auxiliary Edge node by using the information of the RRPP ring group, the information of the subring, and the information of the sending subring, adding the subring to the RRPP ring group, determining the sending subring in the RRPP ring group, and only distributing the Edge-Hello message for the sending subring to each subring in the RRPP ring group;
the edge node further comprises: a first receiving module, configured to receive a fourth packet from the auxiliary edge node, where the fourth packet is used to indicate that the auxiliary edge node has added the subring to the RRPP ring group, and after receiving the fourth packet from the auxiliary edge node, the first processing module sets the RRPP ring group to be currently in a working state; when the RRPP ring group on the Edge node is in a non-working state, the first sending module sends an Edge-Hello message to each sub-ring in the RRPP ring group; when the RRPP ring group on the Edge node is in a working state, the first sending module sends an Edge-Hello message aiming at a sending sub-ring in the RRPP ring group;
or,
the second receiving module is further configured to receive a fifth message from the auxiliary edge node when an RRPP ring group is configured on the auxiliary edge node and a sub-ring of the RRPP ring group is added to the auxiliary edge node, where the fifth message carries information of the RRPP ring group, information of the sub-ring, and information of a sub-ring sent in the RRPP ring group; the fifth packet is sent after the auxiliary edge node configures the RRPP ring group, adds the sub-ring to the RRPP ring group, and selects one sub-ring from the sub-rings in the RRPP ring group as a sending sub-ring of the RRPP ring group;
the second processing module is further configured to configure, after receiving the fifth packet, the RRPP ring group on the edge node by using the information of the RRPP ring group, the information of the subring, and the information of the sending subring, add the subring to the RRPP ring group, and determine a sending subring in the RRPP ring group; the Edge node further includes a second sending module, the second sending module sends an Edge-Hello packet to a sending sub-ring of the RRPP ring group, and the auxiliary Edge node distributes the Edge-Hello packet to each sub-ring of the RRPP ring group.
15. The edge node of claim 13,
the first processing module is further configured to delete a subring of an RRPP ring group from the RRPP ring group when the subring is deleted on the edge node;
the first sending module is further configured to send a sixth packet to the auxiliary edge node, where the sixth packet carries the information of the RRPP ring group and the information of the subring; after receiving the sixth packet, the auxiliary edge node deletes the subring from the RRPP ring group on the auxiliary edge node by using the information of the RRPP ring group and the information of the subring;
or,
the second receiving module is further configured to receive a seventh packet from the auxiliary edge node when the subring of the RRPP ring group is deleted on the auxiliary edge node, where the seventh packet carries information of the RRPP ring group and information of the subring;
the second processing module is further configured to delete the subring from the RRPP ring group on an edge node by using the information of the RRPP ring group and the information of the subring after receiving the seventh packet; the seventh message is sent after the auxiliary edge node deletes the sub-ring from the RRPP ring group;
when the subring deleted from the RRPP ring group by the first processing module is a sending subring in the RRPP ring group, the first processing module is further configured to select a subring from the subrings in the RRPP ring group as a sending subring of the RRPP ring group, and a sixth message further carries information of the sending subring; re-determining, by a secondary edge node, a transmitting sub-ring within the RRPP ring set; or, when the sub-ring deleted from the RRPP ring group by the auxiliary edge node is the sending sub-ring in the RRPP ring group, the seventh message further carries information of the sending sub-ring in the RRPP ring group, and the second processing module is configured to re-determine the sending sub-ring in the RRPP ring group by using the information of the sending sub-ring; the sending sub-ring is selected by the secondary edge node from among the sub-rings within the RRPP ring set; the Edge node sends an Edge-Hello message aiming at a sending sub-ring of the RRPP ring group, and the auxiliary Edge node distributes the Edge-Hello message aiming at the sending sub-ring to each sub-ring of the RRPP ring group;
when deleting the RRPP ring group on the edge node, the first processing module is further configured to delete the RRPP ring group; the first sending module is further configured to send an eighth packet to the auxiliary edge node, where the eighth packet carries information of the RRPP ring group; after the auxiliary edge node receives the eighth message, deleting the RRPP ring group on the auxiliary edge node by using the information of the RRPP ring group; or, when the RRPP ring group is deleted on the auxiliary edge node, the second receiving module is further configured to receive a ninth packet from the auxiliary edge node, where the ninth packet carries information of the RRPP ring group; the second processing module is further configured to delete the RRPP ring group on the edge node by using the information of the RRPP ring group after receiving the ninth packet; the edge node further includes a second sending module, configured to send, to the auxiliary edge node, a tenth packet indicating that the edge node has deleted the RRPP ring group; and after the auxiliary edge node receives the tenth message, deleting the RRPP ring group on the auxiliary edge node.
16. An auxiliary edge node is applied to a fast ring protection protocol (RRPP) network comprising an edge node and the auxiliary edge node, and is characterized in that when a sub-ring of an RRPP ring group is added to the edge node, the auxiliary edge node specifically comprises a first receiving module and a first processing module; when a sub-ring of the RRPP ring group is added to the auxiliary edge node, the auxiliary edge node specifically includes a second processing module and a second sending module; wherein:
the first receiving module is configured to receive a first message from the edge node when a subring of an RRPP ring group is added to the edge node, where the first message carries information of the RRPP ring group and information of the subring;
the first processing module is configured to add the subring to the RRPP ring group on an auxiliary edge node by using the information of the RRPP ring group and the information of the subring after receiving the first packet; the first message is sent after the edge node adds the subring to the RRPP ring group;
or,
the second processing module is configured to add a subring of an RRPP ring group to the RRPP ring group when the subring is added on the auxiliary edge node;
the second sending module is configured to send a second packet to the edge node, where the second packet carries the information of the RRPP ring group and the information of the subring; and after receiving a second message from the auxiliary edge node, the edge node adds the subring to the RRPP ring group on the edge node by using the information of the RRPP ring group and the information of the subring.
17. The auxiliary edge node of claim 16,
the first receiving module is further configured to receive a third message from the edge node when the RRPP ring group is configured on the edge node and a sub-ring of the RRPP ring group is added to the edge node, where the third message carries information of the RRPP ring group, information of the sub-ring, and information of a sending sub-ring in the RRPP ring group; the third message is sent after the edge node configures the RRPP ring group, the subring is added to the RRPP ring group, one subring is selected from subrings in the RRPP ring group to serve as a sending subring of the RRPP ring group, and the RRPP ring group is set to be in a non-working state currently;
the first processing module is further configured to configure the RRPP ring group on an auxiliary Edge node by using the information of the RRPP ring group, the information of the sub-ring, and the information of the sending sub-ring, add the sub-ring to the RRPP ring group, determine a sending sub-ring in the RRPP ring group, and only distribute an Edge-Hello packet for the sending sub-ring to each sub-ring in the RRPP ring group;
the auxiliary edge node further comprises: a first sending module, configured to send, to an edge node, a fourth packet indicating that the auxiliary edge node has added the subring to the RRPP ring group; after the edge node receives the fourth message from the auxiliary edge node, setting the RRPP ring group to be in a working state at present; when the RRPP ring group on the Edge node is in a non-working state, the Edge node sends an Edge-Hello message aiming at each sub-ring in the RRPP ring group; when the RRPP ring group on the Edge node is in a working state, the Edge node sends an Edge-Hello message aiming at a sending sub-ring in the RRPP ring group;
or,
the second processing module is further configured to configure, when an RRPP ring group is configured on the auxiliary edge node and a sub-ring of the RRPP ring group is added on the auxiliary edge node, the RRPP ring group, add the sub-ring to the RRPP ring group, and select one sub-ring from the sub-rings in the RRPP ring group as a sending sub-ring of the RRPP ring group;
the second sending module is further configured to send a fifth message to the edge node, where the fifth message carries the information of the RRPP ring group, the information of the subring, and the information of the sending subring; after the edge node receives the fifth message, configuring the RRPP ring group on the edge node by using the information of the RRPP ring group, the information of the subring and the information of the sending subring, adding the subring to the RRPP ring group, and determining the sending subring in the RRPP ring group;
the Edge node sends an Edge-Hello message aiming at the sending sub-ring of the RRPP ring group, and the auxiliary Edge node distributes the Edge-Hello message aiming at the sending sub-ring to each sub-ring of the RRPP ring group.
18. The auxiliary edge node of claim 16,
the first receiving module is further configured to receive a sixth packet from the edge node when a subring of the RRPP ring group is deleted on the edge node, where the sixth packet carries information of the RRPP ring group and information of the subring; wherein the sixth packet is sent by the edge node after deleting the subring from the RRPP ring group;
the first processing module is further configured to delete the subring from the RRPP ring group on an auxiliary edge node by using the information of the RRPP ring group and the information of the subring after receiving a sixth packet;
or,
the second processing module is further configured to delete a subring of an RRPP ring group from the RRPP ring group when the subring is deleted on the auxiliary edge node;
the second sending module is further configured to send a seventh packet to the edge node, where the seventh packet carries the information of the RRPP ring group and the information of the subring; after receiving a seventh message from the auxiliary edge node, the edge node deletes the subring from the RRPP ring group on the edge node by using the information of the RRPP ring group and the information of the subring;
when the edge node deletes the sub-ring from the RRPP ring group and is a sending sub-ring in the RRPP ring group, the sixth message further carries information of the sending sub-ring in the RRPP ring group, and the first processing module is further configured to re-determine the sending sub-ring in the RRPP ring group by using the information of the sending sub-ring; the sending sub-ring is selected by an edge node from among sub-rings within the RRPP ring set; when the sub-ring deleted from the RRPP ring group by the auxiliary edge node is the sending sub-ring in the RRPP ring group, the second processing module is further configured to select one sub-ring from the sub-rings in the RRPP ring group as the sending sub-ring of the RRPP ring group, and the seventh message further carries information of the sending sub-ring in the RRPP ring group; re-determining, by an edge node, a transmitting sub-ring within the RRPP ring set; the Edge node sends an Edge-Hello message aiming at a sending sub-ring of the RRPP ring group, and the auxiliary Edge node distributes the Edge-Hello message aiming at the sending sub-ring to each sub-ring of the RRPP ring group;
when deleting the RRPP ring group on the edge node, the first receiving module is further configured to receive an eighth packet from the edge node, where the eighth packet carries information of the RRPP ring group; the first processing module is further configured to delete the RRPP ring group on the auxiliary edge node by using the information of the RRPP ring group after receiving the eighth packet; the eighth message is sent after the edge node deletes the RRPP ring group; or, when the RRPP ring group is deleted on the auxiliary edge node, the second sending module is further configured to send a ninth packet to the edge node, where the ninth packet carries information of the RRPP ring group; after receiving the ninth message, the edge node deletes the RRPP ring group on the edge node by using the information of the RRPP ring group, and sends a tenth message for indicating that the RRPP ring group is deleted by the edge node to an auxiliary edge node; the auxiliary edge node further comprises a second receiving module, configured to receive a tenth packet from the edge node; the second processing module is further configured to delete the RRPP ring group on the auxiliary edge node after receiving the tenth packet.
CN201310486262.9A 2013-10-16 2013-10-16 Method and equipment for configuring RRPP (Rapid Ring Protection Protocol) ring assembly Active CN103532811B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310486262.9A CN103532811B (en) 2013-10-16 2013-10-16 Method and equipment for configuring RRPP (Rapid Ring Protection Protocol) ring assembly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310486262.9A CN103532811B (en) 2013-10-16 2013-10-16 Method and equipment for configuring RRPP (Rapid Ring Protection Protocol) ring assembly

Publications (2)

Publication Number Publication Date
CN103532811A true CN103532811A (en) 2014-01-22
CN103532811B CN103532811B (en) 2017-01-18

Family

ID=49934507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310486262.9A Active CN103532811B (en) 2013-10-16 2013-10-16 Method and equipment for configuring RRPP (Rapid Ring Protection Protocol) ring assembly

Country Status (1)

Country Link
CN (1) CN103532811B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219126A (en) * 2014-08-04 2014-12-17 杭州华三通信技术有限公司 Automatic learning method and equipment for subring protocol VLAN (virtual local area network) in virtual channel mode

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905490A (en) * 2006-08-18 2007-01-31 华为技术有限公司 Method and apparatus for preventing loop when RRPP and partial STP network damage recovery
CN101141367A (en) * 2007-09-20 2008-03-12 华为技术有限公司 Method, system and node equipment for improving dependability of fast looped network
CN101483571A (en) * 2009-02-26 2009-07-15 杭州华三通信技术有限公司 RRPP configuring method, system and device
CN101656650A (en) * 2009-09-17 2010-02-24 杭州华三通信技术有限公司 Method and main link device for realizing automatic configuration of Ethernet ring

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905490A (en) * 2006-08-18 2007-01-31 华为技术有限公司 Method and apparatus for preventing loop when RRPP and partial STP network damage recovery
CN101141367A (en) * 2007-09-20 2008-03-12 华为技术有限公司 Method, system and node equipment for improving dependability of fast looped network
CN101483571A (en) * 2009-02-26 2009-07-15 杭州华三通信技术有限公司 RRPP configuring method, system and device
CN101656650A (en) * 2009-09-17 2010-02-24 杭州华三通信技术有限公司 Method and main link device for realizing automatic configuration of Ethernet ring

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219126A (en) * 2014-08-04 2014-12-17 杭州华三通信技术有限公司 Automatic learning method and equipment for subring protocol VLAN (virtual local area network) in virtual channel mode
CN104219126B (en) * 2014-08-04 2018-07-13 新华三技术有限公司 A kind of Auto-learning Method and equipment having subring agreement VLAN under virtual channel mode

Also Published As

Publication number Publication date
CN103532811B (en) 2017-01-18

Similar Documents

Publication Publication Date Title
CN104301142B (en) A kind of backup method and equipment of configuration file
CN106576384B (en) Multi-group recombination method and equipment
CN103944828A (en) Method and equipment for transmitting protocol messages
CN106936683B (en) A kind of method and device for realizing tunnel configuration
CN104243205A (en) Message processing method and device used during virtual switch fault
EP3203693B1 (en) User message forwarding control method and processing node
GB2578415A (en) Methods and systems for transmitting information packets through tunnel groups at a network node
CN104247339A (en) Home network packet delivery
CN102256211B (en) Group-based method and system for application realization of M2M terminal
CN103825839A (en) Message transmission method and equipment based on aggregated link
CN106294015A (en) A kind of data back up method and device
EP3059910B1 (en) Method and system for redundancy protection
CN103532811B (en) Method and equipment for configuring RRPP (Rapid Ring Protection Protocol) ring assembly
CN103036724B (en) State information transmission method, the network equipment and unit equipment
CN108667640B (en) Communication method and device, and network access system
CN102316002B (en) Method and apparatus for configuration of virtual local area network
CN103414591B (en) Method for rapidly converging when a kind of port failure recovers and system
CN102857436B (en) Flow transmission method and flow transmission equipment based on IRF (intelligent resilient framework) network
CN104219126B (en) A kind of Auto-learning Method and equipment having subring agreement VLAN under virtual channel mode
CN104869016B (en) A kind of transmission method and equipment of data message
CN104168169A (en) MAC entry deleting method and equipment
EP2871902B1 (en) Method for establishing association in wireless local area network, access point and station
CN103210671B (en) A kind of message method and device
CN104038386A (en) Method for detecting service looped network, node and network management device
CN103780431A (en) Method and device for managing TE tunnels

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
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.