CN101695046B - Method and equipment for arranging RRPP block points - Google Patents

Method and equipment for arranging RRPP block points Download PDF

Info

Publication number
CN101695046B
CN101695046B CN2009102048894A CN200910204889A CN101695046B CN 101695046 B CN101695046 B CN 101695046B CN 2009102048894 A CN2009102048894 A CN 2009102048894A CN 200910204889 A CN200910204889 A CN 200910204889A CN 101695046 B CN101695046 B CN 101695046B
Authority
CN
China
Prior art keywords
node
ring net
transmission node
rrpp ring
choke point
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.)
Active
Application number
CN2009102048894A
Other languages
Chinese (zh)
Other versions
CN101695046A (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 CN2009102048894A priority Critical patent/CN101695046B/en
Publication of CN101695046A publication Critical patent/CN101695046A/en
Application granted granted Critical
Publication of CN101695046B publication Critical patent/CN101695046B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and equipment for arranging RRPP block points. The method comprises the following steps: a host node sends a node detection message so as to acquire the number of transmission nodes in an RRPP ring network; the host node determines the transmission nodes taken as block points according to the number of transmission nodes in the RRPP ring network; and the host node sends a block message to the transmission nodes selected as the block points, and informs the transmission nodes selected as the block points to block a far-end port. In the invention, the transmission nodes are flexibly set as the block points in the RRPP ring network, thus decreasing the chances of more delay or load occurring in the RRPP ring network, and improving the capability of the RRPP ring network.

Description

A kind of method and apparatus that the RRPP choke point is set
Technical field
The present invention relates to the communications field, relate in particular to the method and apparatus of a kind of RRPP of setting choke point.
Background technology
RRPP (Rapid Ring Protection Protocol; Quick ring protection agreement) be that a specialized application is in the link layer protocol of Ethernet ring; Its characteristics are: the Ethernet ring of using this agreement; When Ethernet ring is complete, can prevent the broadcast storm that data loopback causes, and when a link breaks off on the Ethernet ring, can launch backup link rapidly to recover the communication path between each node on the looped network.
RRPP ring net of the prior art is as shown in Figure 1, and each switch all is called a node on the Ethernet ring, and a host node must be arranged on each RRPP ring, and can only have one, and other nodes are transmission node.Host node and transmission node are through two port access network based on ethernet rings, and a port is a master port, and another port is secondary port, and the role of port is by the configuration decision of user to the RRPP ring net.
Host node is the promoter of RRPP ring net state active detecting mechanism, also is the policymaker of executable operations after network topology changes.Host node cycle property send HELLO (health detection) message from its master port, promptly the loop circuit state probe messages is propagated on ring through each transmission node.If host node can be received this message from secondary port, explain that host node place RRPP ring net is complete, host node blocks its secondary port and to prevent RRPP ring data loopback takes place on the net; On the contrary,, RRPP ring net fault is described, is needed to decontrol secondary port this moment and go up the proper communication of all nodes to guarantee ring as far as possible if host node can not be received probe messages through secondary port at the appointed time.
In the RRPP ring net shown in Figure 1, when the RRPP ring net was complete, host node blocked secondary port, and the flow of each transmission node (encoder) outwards sends through host node according to the direction of arrow indication.At this moment, time-delay of the flow of each node and load are different in the RRPP ring net: the opposite end transmission node of the secondary port of host node need can send to host node with flow through other transmission nodes in all RRPP ring, and therefore, the time-delay that flow sends is maximum.The opposite end transmission node of the master port of host node receives the flow that every other transmission node sends, and transmits to host node, and the load that flow sends is maximum.When having a large amount of transmission node in the RRPP ring net, bigger time-delay and load will appear.
Therefore, the shortcoming of prior art is:
Because the choke point is arranged on host node, therefore cause easily occurring bigger time-delay and load in the transmission node, influence RRPP ring net ability.
Summary of the invention
The invention provides the method and apparatus of a kind of RRPP of setting choke point, in the RRPP ring net,, reduce to occur in the RRPP ring net chance of bigger time-delay or load, improve RRPP ring net ability through transmission node being set flexibly as the choke point.
The invention provides the method for a kind of RRPP of setting choke point, be applied to quick ring protection agreement RRPP ring net, comprise a host node and a plurality of transmission node in the said RRPP ring net, this method comprises:
Said host node sending node probe messages is obtained the number of transmission node in the said RRPP ring net;
Said host node is confirmed the transmission node as the choke point according to the number of transmission node in the said RRPP ring net;
Said host node sends to the transmission node that is chosen to be the choke point and blocks message, notifies the said transmission node blocking remote port that is chosen to be the choke point;
Comprise a transmission node digital section in the said node probe messages, when said node probe messages sent to new transmission node, the transmission node number in the said node probe messages added 1; Said host node sends said node probe messages through master port;
The number that said host node sending node probe messages is obtained transmission node in the said RRPP ring net is specially: said host node receives said node probe messages through secondary port, obtains the number of transmission node in the said RRPP ring net according to the transmission node number in the said node probe messages.
Said host node is confirmed to comprise as the transmission node of choke point according to the number of transmission node in the said RRPP ring net:
Said host node with the intermediate transmission node of said RRPP ring net as the choke point;
When said intermediate transmission node was not unique, said host node selected intermediate transmission node as the choke point according to being provided with in advance.
Said host node is confirmed to comprise as the transmission node of choke point according to the number of transmission node in the said RRPP ring net:
Said host node is confirmed the structure of said RRPP ring net according to the number of transmission node in the said RRPP ring net;
Said host node according to the transmission node of the structure choice of said RRPP ring net and said host node symmetry in said RRPP ring net as the choke point.
Also comprise:
After the said host node sending node probe messages, if in Preset Time, do not receive said node probe messages through secondary port, said host node judges that the RRPP ring net is imperfect;
Said host node sends to block to current transmission node as the choke point removes message, notifies current transmission node as the choke point to remove the obstruction to remote port.
Carry the indication of blocking remote port in the said obstruction message, said obstruction is removed the obstruction that carries remote port in the message and is removed indication;
Said host node indicates the remote port that will be connected with other nodes in the RRPP ring net to block as the transmission node of choke point according to said port blocked after the transmission node as the choke point sends the obstruction message;
Said host node is removed the remote port unblocking that the port indication will have been blocked as the transmission node of choke point according to said obstruction after the transmission node as the choke point sends obstruction releasing message.
Said host node sending node probe messages is obtained after the number of transmission node in the said RRPP ring net, also comprises:
Said host node is stored the number of transmission node in the said RRPP ring net, and the number with the transmission node of last stored is identical;
If different, then continue said host node and obtain step, and said host node send obstruction releasing message to former transmission node as the choke point as the transmission node of choke point according to the number of transmission node in the said RRPP ring net;
If identical, then said host node is as current choke point with former transmission node as the choke point.
Also comprise:
Said host node cycle property judges whether said RRPP ring net is complete;
When judged result when being complete, said host node sends to the transmission node as the choke point and blocks message; When judged result when being imperfect, said host node sends to block to the transmission node as the choke point removes message.
Said host node cycle property is judged said RRPP ring net complete comprising whether:
Said host node is through master port sending node probe messages, if in Preset Time, receive said node probe messages through secondary port, said host node judges that the RRPP ring net is complete; If said host node does not receive said node probe messages through secondary port in Preset Time, said host node judges that the RRPP ring net is imperfect; Perhaps
Said host node sends health detection message through master port, if in Preset Time, receive said health detection message through secondary port, said host node judges that the RRPP ring net is complete; If said host node does not receive said health detection message through secondary port in Preset Time, said host node judges that the RRPP ring net is imperfect.
A kind of equipment that the RRPP choke point is set is applied to quick ring protection agreement RRPP ring net, comprises a host node and a plurality of transmission node in the said RRPP ring net, and this equipment comprises:
Node number acquiring unit is used for the number that the sending node probe messages is obtained said RRPP ring net transmission node;
The unit is confirmed in the choke point, is used for confirming the transmission node as the choke point according to the number of said RRPP ring net transmission node;
Complete judging unit is used to judge whether the RRPP ring net is complete;
Block processing unit, be used for said complete judgment unit judges RRPP ring net when complete, send to said transmission node and block message, notify said transmission node blocking remote port; When said complete judgment unit judges RRPP ring net is imperfect, send obstruction to said transmission node and remove message, notify said transmission node to remove obstruction to remote port;
Comprise a transmission node digital section in the said node probe messages, when said node probe messages sent to new transmission node, the transmission node number in the said node probe messages added 1; Said node number acquiring unit sends said node probe messages through master port;
Said node number acquiring unit specifically is used for: receive said node probe messages through secondary port, obtain the number of transmission node in the said RRPP ring net according to the transmission node number in the said node probe messages.
Said choke point confirms that the unit specifically is used for:
With the intermediate transmission node of said RRPP ring net as the choke point;
When said intermediate transmission node is not unique, select intermediate transmission node as the choke point according to being provided with in advance.
Said choke point confirms that the unit specifically also is used for:
Confirm the structure of said RRPP ring net according to the number of transmission node in the said RRPP ring net;
According to the transmission node of the structure choice of said RRPP ring net and said host node symmetry in said RRPP ring net as the choke point.
Also comprise:
Comparing unit is used to store the number of the transmission node that said node number acquiring unit obtains, and the number with the transmission node of last stored is identical;
Said obstruction processing unit also is used for: when the comparative result of said comparing unit for not simultaneously, send to block to current transmission node and remove message as the choke point.
Said complete judging unit specifically is used for:
Send health detection message through master port; If in Preset Time, receive said health detection message, judge that the RRPP ring net is complete through secondary port; If in Preset Time, do not receive said health detection message, judge that the RRPP ring net is imperfect through secondary port;
Perhaps
After said node number acquiring unit sending node probe messages,, judge that the RRPP ring net is complete if in Preset Time, receive said node probe messages through secondary port; If in Preset Time, do not receive said node probe messages, judge that the RRPP ring net is imperfect through secondary port.
Compared with prior art, the present invention has the following advantages at least:
Among the present invention; Host node obtains the transmission node as the choke point according to the number of transmission node in the RRPP ring net; Notice is perhaps removed the obstruction of port as the transmission node port blocked of choke point; Thereby the position of choke point at the RRPP ring net is set flexibly, reduces to occur in the RRPP ring net chance of bigger time-delay or load, improve RRPP ring net ability.
Description of drawings
Fig. 1 is a RRPP ring net networking mode sketch map of the prior art;
Fig. 2 is the schematic flow sheet of the method for the RRPP of setting provided by the invention choke point;
Fig. 3 a is the schematic flow sheet of the method that the RRPP choke point is set that provides in the application scenarios of the present invention;
Fig. 3 b is the further handling process sketch map of confirming in the flow process shown in Fig. 3 a behind the choke point;
Fig. 4 is another further handling process sketch map of confirming in the flow process shown in Fig. 3 a behind the choke point;
Whether complete Fig. 5 is the RRPP ring net system initial configuration host node that provides in the application scenarios of the present invention during as the choke point, detect the schematic flow sheet of RRPP ring net after;
Fig. 6 is the structural representation of the equipment of the RRPP of setting provided by the invention choke point.
Embodiment
In existing RRPP ring net; Owing to the choke point can only be arranged on the problem that host node causes occurring easily bigger time-delay and load; The present invention proposes a kind of method that the choke point is set; According to the RRPP ring net choke point is set on the corresponding transmission node flexibly, each transmission node reduces flow forward delay interval and transmission node load to the hop count of host node transmitted traffic in the RRPP ring net thereby reduce.
Concrete, the present invention provides a kind of RRPP of setting the method for choke point, is applied to quick ring protection agreement RRPP ring net, comprises a host node and a plurality of transmission node in the said RRPP ring net, and as shown in Figure 2, this method comprises:
Step 201, said host node sending node probe messages is obtained the number of transmission node in the said RRPP ring net;
Step 202, said host node is confirmed the transmission node as the choke point according to the number of transmission node in the said RRPP ring net;
Step 203, said host node are sent to the transmission node that is chosen to be the choke point and are blocked message, notify the said transmission node blocking remote port that is chosen to be the choke point.
Introduce the method for the RRPP of setting provided by the invention choke point in detail below in conjunction with concrete application scenarios.Wherein, the RRPP ring net is an example with a host node, 8 transmission nodes.Wherein, The message that host node sends to transmission node comprises node probe messages, the obstruction message of RRPP protocol massages form and blocks and remove message; The node probe messages is specially the improvement hello packet, blocks message and is respectively Node-Down message and Node-Undown message with obstruction releasing message.Host node can also send the integrality that hello packet is surveyed the RRPP ring net to transmission node.
In the application scenarios of the present invention, do not dispose the choke point in the RRPP network as yet, at this moment, host node selects corresponding transmission node as the choke point through improved hello packet, specifically shown in Fig. 3 a, may further comprise the steps:
Step 301, host node are sent through master port and are improved hello packet, obtain the number of the transmission node of RRPP ring net.
Concrete, the form that improves hello packet is as shown in table 1:
Table 1
Figure G2009102048894D00071
Figure G2009102048894D00081
Wherein, The RRPPTYPE value is 5; In the RRPP agreement, represent hello packet; Improve hello packet further first RESERVED field of hello packet be set to NodeNo, be used to write down the node ID of RRPP ring, each node that receives this improvements hello packet adds 1 with the value of NodeNo and then sends to next node.
Should use in the scene, host node can put 0 with the NodeNo field, the 0th node of expression RRPP ring when master port sends improvement HELLO message; After the next node of host node is received and improved the HELLO message, change oneself node ID into NodeNo+1, the value of revising the NodeNo field in the message simultaneously is NodeNo+1, and the like; Last host node can be learnt the interstitial content on the ring when secondary port receives to improve the HELLO message.As shown in Figure 4, host node receives when improving hello packet, and obtaining the NodeNo that improves in the hello packet is 8, and host node knows that the transmission node number in the RRPP ring net is 8.
Should use in the scene, host node can also be put n with the NodeNo field when master port sends the improvement hello packet, and n is an arbitrary number, the 0th node of representative ring; After first is received and improves the HELLO message, change oneself node ID into NodeNo+1, the NodeNo field of revising simultaneously in the message is NodeNo+1, and the like; Last host node receives that at secondary port when improving the HELLO message, obtaining and improving the NodeNo that carries in the hello packet is n+8, and the NodeNo of this NodeNo and initial setting up is subtracted each other, and the transmission node number of obtaining in the RRPP ring net is 8.
Should use in the scene, host node does not receive when improving hello packet at last, and host node is judged RRPP ring network chain road fault, host node warning reminding user RRPP ring net connection error.
Step 302, host node is confirmed the transmission node as the choke point according to the transmission node number in the RRPP ring net.
Concrete, host node can be selected the transmission node as the choke point according to multiple mode.For example, host node can be with the intermediate transmission node of RRPP ring net as the choke point, and like this, the maximum delay of RRPP ring net and load will be host node 1/2 during as choke points.If the transmission node of RRPP ring net is an even number, the master port of chosen distance host node is perhaps assisted the nearer transmission node of port as the choke point according to actual needs.
Host node can also be provided with other transmission nodes as the choke point according to actual needs flexibly; The parameter that for example influences data transmission efficiency when the bandwidth of each transmission node etc. is not simultaneously; Can the choke point be set according to actual conditions, with maximum delay and the load that reduces the RRPP ring net as far as possible.
Step 303, host node sends the Node-Down message to the transmission node as the choke point, notice choke point blocking remote port.
After the choke point receives the Node-Down message, break off remote port and be connected with the link of next node.Concrete, the form of Node-Down message is specifically as shown in table 2:
Table 2
The value of RRPPTYPE is set to 100 among the present invention, expression Node-Down message.The choke point that receives this RRPP protocol massages knows that this message is the Node-Down message, the blocking remote port according to the value of the RRPPTYPE that wherein carries.
After having disposed the choke point in the RRPP ring net, host node cycle property transmission probe messages is surveyed the integrality of RRPP ring net.Should use in the scene, improve hello packet and obtain in the RRPP ring net the transmission node number, also can be used as the integrality that probe messages is surveyed the RRPP ring net except can be used as the node probe messages; At this moment; Host node no longer need send hello packet, and shown in Fig. 3 b, detailed process is following:
Step 304, the transmission of host node cycle property improves hello packet, and whether detect the RRPP ring net complete, if testing result is complete, execution in step 306; Otherwise, execution in step 305.
Concrete; Each node in the RRPP ring net has two ports; After transmission node receives the improvement hello packet that host node sends, wherein NodeNo field value added 1 after, continue to send from the remote port of this transmission node and should improve hello packet to next node.If host node can receive this improvement hello packet from secondary port after sending the improvement hello packet through master port in Preset Time, then host node judges that the RRPP ring net is complete, execution in step 306; Otherwise host node does not receive that from secondary port when improving hello packet, host node judges that the RRPP ring net is imperfect, execution in step 305 in Preset Time.
Step 305, host node sends the Node-UnDown message to the transmission node as the choke point, notifies this transmission node to remove the obstruction of remote port.
Step 306, host node are obtained the number of the transmission node of RRPP ring net according to the improvement hello packet that receives.
Step 307, host node is compared the transmission node number of the RRPP ring net that obtains with the transmission node number of the RRPP ring net of storage, if both are different, then execution in step 308, otherwise, execution in step 311.
Step 308, host node is confirmed the new transmission node as the choke point according to the transmission node number in the current RRPP ring net that obtains.
The process of confirming new transmission node as the choke point in this step is with same or similar in the step 302, and therefore, detailed process can refer step 302.
Step 309, host node is the transmission node transmission Node-UnDown message as the choke point to RRPP ring net Central Plains, notifies this transmission node to remove the obstruction of remote port.
Concrete, the form of Node-UnDown message is specifically as shown in table 3:
Table 3
Figure G2009102048894D00111
The value of RRPPTYPE is set to 101 among the present invention, expression Node-UnDown message.The choke point that receives this RRPP protocol massages knows that according to the value of the RRPPTYPE that wherein carries this message is the Node-UnDown message, removes the obstruction of remote port.
Step 310, host node sends the Node-Down message to the new transmission node as the choke point, notifies the new transmission node as the choke point to block its remote port.
Step 311, host node sends the Node-Down message to current transmission node as the choke point, notifies this transmission node to block its remote port.
The choke point that receives the Node-Down message keeps the blocked state of its remote port.
After having disposed the choke point in the RRPP ring net, host node cycle property transmission probe messages is surveyed the integrality of RRPP ring net, and this probe messages can also be hello packet, and detailed process is as shown in Figure 4, comprising:
Step 401, host node sends hello packet through master port, and whether detect the RRPP ring net complete; If testing result is complete, execution in step 402; Otherwise, execution in step 403.
Step 402, host node sends the Node-Down message to the transmission node as the choke point, notifies this transmission node blocking remote port.
After the choke point receives the Node-Down message,, then keep its blocked state if its remote port is in blocked state; If its remote port is not in blocked state, then be set to blocked state.
Step 403, host node sends the Node-UnDown message to the transmission node as the choke point, notifies this transmission node to remove the obstruction of remote port.
At this moment; Owing to improve the number that hello packet just is used for obtaining RRPP ring net transmission node; Be not used in the integrality of surveying the RRPP ring net, therefore, the transmitting time that host node improves hello packet can be provided with according to actual needs flexibly; Whether for example be set to the transmission of host node cycle property and improve hello packet, judging thus increases in the RRPP ring net or has deleted transmission node; After perhaps in each RRPP ring net, reconfiguring transmission node by the user, host node sends and improves hello packet, confirms the choke point.
In other application scenarioss of the present invention, RRPP ring net system can the initial configuration host node as the choke point, then confirm transmission node when host node as the choke point; And detect the RRPP ring net whether complete after; As shown in Figure 5, when testing result when being complete, execution in step 501; Otherwise, execution in step 502:
Step 501, host node are removed the obstruction of secondary port, and send the Node-Down message to the transmission node as the choke point, notice choke point blocking remote port.
Step 502, host node is removed the obstruction to secondary port.
Through adopting method provided by the invention; Host node obtains the transmission node as the choke point according to the number of transmission node in the RRPP ring net; Notice is perhaps removed the obstruction of port as the transmission node port blocked of choke point; Thereby the position of choke point at the RRPP ring net is set flexibly, reduces to occur in the RRPP ring net chance of bigger time-delay or load, improve RRPP ring net ability.
The present invention provides a kind of RRPP of setting the equipment of choke point, is applied to quick ring protection agreement RRPP ring net, comprises a host node and a plurality of transmission node in the said RRPP ring net, and as shown in Figure 6, this equipment comprises:
Node number acquiring unit 11 is used for the number that the sending node probe messages is obtained said RRPP ring net transmission node.Said node number acquiring unit 11 sends in the said node probe messages of said node probe messages through master port and comprises a transmission node digital section; When said node probe messages sent to new transmission node, the transmission node number in the said node probe messages added 1; Said node number acquiring unit 11 receives said node probe messages through secondary port, obtains the number of transmission node in the said RRPP ring net according to the transmission node number in the said node probe messages.This node probe messages is specially the improvement hello packet, and NodeNo field wherein is used to add up the transmission node number in the RRPP ring net.Node number acquiring unit 11 can periodically send this node probe messages.
Unit 12 is confirmed in the choke point, and the number of the RRPP ring net transmission node that is used for obtaining according to said node number acquiring unit 11 is confirmed the transmission node as the choke point.Said choke point confirms that unit 12 can select the transmission node as the choke point according to multiple mode.For example, said choke point confirm unit 12 with the intermediate transmission node of RRPP ring net as the choke point, like this, the maximum delay of RRPP ring net and load will be host node 1/2 during as choke points.If the transmission node of RRPP ring net is an even number, the master port of chosen distance host node is perhaps assisted the nearer transmission node of port as the choke point according to actual needs.Said choke point confirms that unit 12 can also at first confirm the structure of said RRPP ring net according to the number of transmission node in the said RRPP ring net, then according to the transmission node of the structure choice of said RRPP ring net and said host node symmetry in said RRPP ring net as the choke point.Said choke point confirms that unit 12 can also be provided with other transmission nodes as the choke point according to actual needs flexibly; The parameter that for example influences data transmission efficiency when the bandwidth of each transmission node etc. is not simultaneously; Can the choke point be set according to actual conditions, with maximum delay and the load that reduces the RRPP ring net as far as possible.
Complete judging unit 13 is used to judge whether the RRPP ring net is complete complete.Concrete, said complete judging unit 13 sends health detection message through master port; If in Preset Time, receive said health detection message, judge that the RRPP ring net is complete through secondary port; If in Preset Time, do not receive said health detection message, judge that the RRPP ring net is imperfect through secondary port; Perhaps, after said node number acquiring unit 11 sending node probe messages, if in Preset Time, receive said node probe messages through secondary port, said complete judging unit 13 judges that the RRPP ring net is complete; If in Preset Time, do not receive said node probe messages through secondary port, said complete judging unit 13 judges that the RRPP ring net is imperfect.
Block processing unit 14, be used for said complete judging unit 13 and judge when the RRPP ring net is complete, confirm that to said choke point the transmission node as the choke point that unit 12 obtains sends the obstruction message, notifies said transmission node blocking remote port; When said complete judging unit 13 judges that the RRPP ring net is imperfect, confirm that to said choke point the transmission node as the choke point that unit 12 obtains sends obstruction releasing message, notifies said transmission node to remove the obstruction to remote port.
Equipment provided by the invention also comprises:
Comparing unit 15 is used to store the number of the transmission node that said node number acquiring unit 11 obtains, and the number with the transmission node of last stored is identical.When the result for not simultaneously; Said choke point confirms that unit 12 obtains new choke point again; Said obstruction processing unit 14 sends to block to current transmission node as the choke point removes message, and confirms the new choke point transmission obstruction message that unit 12 obtains to said choke point.As result when being identical, said obstruction processing unit 14 is carried out handled according to the judged result of complete judging unit 13.
Through adopting device provided by the invention; Host node obtains the transmission node as the choke point according to the number of transmission node in the RRPP ring net; Notice is perhaps removed the obstruction of port as the transmission node port blocked of choke point; Thereby the position of choke point at the RRPP ring net is set flexibly, reduces to occur in the RRPP ring net chance of bigger time-delay or load, improve RRPP ring net ability.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product; This computer software product is stored in the storage medium; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the sketch map of a preferred embodiment, module in the accompanying drawing or flow process might not be that embodiment of the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
More than disclosedly be merely several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (13)

1. the method that the RRPP choke point is set is characterized in that, is applied to quick ring protection agreement RRPP ring net, comprises a host node and a plurality of transmission node in the said RRPP ring net, and this method comprises:
Said host node sending node probe messages is obtained the number of transmission node in the said RRPP ring net;
Said host node is confirmed the transmission node as the choke point according to the number of transmission node in the said RRPP ring net;
Said host node sends to the transmission node that is chosen to be the choke point and blocks message, notifies the said transmission node blocking remote port that is chosen to be the choke point;
Comprise a transmission node digital section in the said node probe messages, when said node probe messages sent to new transmission node, the transmission node number in the said node probe messages added 1; Said host node sends said node probe messages through master port;
The number that said host node sending node probe messages is obtained transmission node in the said RRPP ring net is specially: said host node receives said node probe messages through secondary port, obtains the number of transmission node in the said RRPP ring net according to the transmission node number in the said node probe messages.
2. the method for claim 1 is characterized in that, said host node is confirmed to comprise as the transmission node of choke point according to the number of transmission node in the said RRPP ring net:
Said host node with the intermediate transmission node of said RRPP ring net as the choke point;
When said intermediate transmission node was not unique, said host node selected intermediate transmission node as the choke point according to being provided with in advance.
3. the method for claim 1 is characterized in that, said host node is confirmed to comprise as the transmission node of choke point according to the number of transmission node in the said RRPP ring net:
Said host node is confirmed the structure of said RRPP ring net according to the number of transmission node in the said RRPP ring net;
Said host node according to the transmission node of the structure choice of said RRPP ring net and said host node symmetry in said RRPP ring net as the choke point.
4. the method for claim 1 is characterized in that, also comprises:
After the said host node sending node probe messages, if in Preset Time, do not receive said node probe messages through secondary port, said host node judges that the RRPP ring net is imperfect;
Said host node sends to block to current transmission node as the choke point removes message, notifies current transmission node as the choke point to remove the obstruction to remote port.
5. method as claimed in claim 4 is characterized in that, carries the indication of blocking remote port in the said obstruction message, and said obstruction is removed the obstruction that carries remote port in the message and removed indication;
Said host node indicates the remote port that will be connected with other nodes in the RRPP ring net to block as the transmission node of choke point according to said port blocked after the transmission node as the choke point sends the obstruction message;
Said host node is removed the remote port unblocking that the port indication will have been blocked as the transmission node of choke point according to said obstruction after the transmission node as the choke point sends obstruction releasing message.
6. like each described method among the claim 1-5, it is characterized in that said host node sending node probe messages is obtained after the number of transmission node in the said RRPP ring net, also comprises:
Said host node is stored the number of transmission node in the said RRPP ring net, and the number with the transmission node of last stored is identical;
If different, then continue said host node and obtain step, and said host node send obstruction releasing message to former transmission node as the choke point as the transmission node of choke point according to the number of transmission node in the said RRPP ring net;
If identical, then said host node is as current choke point with former transmission node as the choke point.
7. like each described method among the claim 1-5, it is characterized in that, also comprise:
Said host node cycle property judges whether said RRPP ring net is complete;
When judged result when being complete, said host node sends to the transmission node as the choke point and blocks message; When judged result when being imperfect, said host node sends to block to the transmission node as the choke point removes message.
8. method as claimed in claim 7 is characterized in that, said host node cycle property is judged said RRPP ring net complete comprising whether:
Said host node is through master port sending node probe messages, if in Preset Time, receive said node probe messages through secondary port, said host node judges that the RRPP ring net is complete; If said host node does not receive said node probe messages through secondary port in Preset Time, said host node judges that the RRPP ring net is imperfect; Perhaps
Said host node sends health detection message through master port, if in Preset Time, receive said health detection message through secondary port, said host node judges that the RRPP ring net is complete; If said host node does not receive said health detection message through secondary port in Preset Time, said host node judges that the RRPP ring net is imperfect.
9. the equipment that the RRPP choke point is set is characterized in that, is applied to quick ring protection agreement RRPP ring net, comprises a host node and a plurality of transmission node in the said RRPP ring net, and this equipment comprises:
Node number acquiring unit is used for the number that the sending node probe messages is obtained said RRPP ring net transmission node;
The unit is confirmed in the choke point, is used for confirming the transmission node as the choke point according to the number of said RRPP ring net transmission node;
Complete judging unit is used to judge whether the RRPP ring net is complete;
Block processing unit, be used for said complete judgment unit judges RRPP ring net when complete, send to said transmission node and block message, notify said transmission node blocking remote port; When said complete judgment unit judges RRPP ring net is imperfect, send obstruction to said transmission node and remove message, notify said transmission node to remove obstruction to remote port;
Comprise a transmission node digital section in the said node probe messages, when said node probe messages sent to new transmission node, the transmission node number in the said node probe messages added 1; Said node number acquiring unit sends said node probe messages through master port;
Said node number acquiring unit specifically is used for: receive said node probe messages through secondary port, obtain the number of transmission node in the said RRPP ring net according to the transmission node number in the said node probe messages.
10. equipment as claimed in claim 9 is characterized in that, said choke point confirms that the unit specifically is used for:
With the intermediate transmission node of said RRPP ring net as the choke point;
When said intermediate transmission node is not unique, select intermediate transmission node as the choke point according to being provided with in advance.
11. equipment as claimed in claim 9 is characterized in that, said choke point confirms that the unit specifically is used for:
Confirm the structure of said RRPP ring net according to the number of transmission node in the said RRPP ring net;
According to the transmission node of the structure choice of said RRPP ring net and said host node symmetry in said RRPP ring net as the choke point.
12. like each described equipment among the claim 9-11, it is characterized in that, also comprise:
Comparing unit is used to store the number of the transmission node that said node number acquiring unit obtains, and the number with the transmission node of last stored is identical;
Said obstruction processing unit also is used for: when the comparative result of said comparing unit for not simultaneously, send to block to current transmission node and remove message as the choke point.
13., it is characterized in that said complete judging unit specifically is used for like each described equipment among the claim 9-11:
Send health detection message through master port; If in Preset Time, receive said health detection message, judge that the RRPP ring net is complete through secondary port; If in Preset Time, do not receive said health detection message, judge that the RRPP ring net is imperfect through secondary port;
Perhaps
After said node number acquiring unit sending node probe messages,, judge that the RRPP ring net is complete if in Preset Time, receive said node probe messages through secondary port; If in Preset Time, do not receive said node probe messages, judge that the RRPP ring net is imperfect through secondary port.
CN2009102048894A 2009-10-16 2009-10-16 Method and equipment for arranging RRPP block points Active CN101695046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102048894A CN101695046B (en) 2009-10-16 2009-10-16 Method and equipment for arranging RRPP block points

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102048894A CN101695046B (en) 2009-10-16 2009-10-16 Method and equipment for arranging RRPP block points

Publications (2)

Publication Number Publication Date
CN101695046A CN101695046A (en) 2010-04-14
CN101695046B true CN101695046B (en) 2012-01-04

Family

ID=42093988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102048894A Active CN101695046B (en) 2009-10-16 2009-10-16 Method and equipment for arranging RRPP block points

Country Status (1)

Country Link
CN (1) CN101695046B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238067B (en) * 2010-04-28 2013-12-25 杭州华三通信技术有限公司 Switching method and device on Rapid Ring Protection Protocol (RRPP) ring
CN102480409B (en) * 2010-11-22 2014-10-22 杭州华三通信技术有限公司 Method for realizing rapid ring protection protocol (RRPP) loop shunting uplink, RRPP loop and device
CN103190121B (en) * 2011-11-23 2016-10-05 华为技术有限公司 Ethernet ring protection switching reverse method, node and system
CN102726006B (en) * 2011-11-23 2015-03-18 华为技术有限公司 Ethernet ring protection switching method, node and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1812361A (en) * 2006-01-23 2006-08-02 杭州华为三康技术有限公司 Fast ring network protecting method and system
CN1905490A (en) * 2006-08-18 2007-01-31 华为技术有限公司 Method and apparatus for preventing loop when RRPP and partial STP network damage recovery
CN101304359A (en) * 2008-05-28 2008-11-12 杭州华三通信技术有限公司 Method and apparatus for RRPP looped network link recuperation
CN101478469A (en) * 2009-01-12 2009-07-08 杭州华三通信技术有限公司 Method and system for RRPP loop link switching

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1812361A (en) * 2006-01-23 2006-08-02 杭州华为三康技术有限公司 Fast ring network protecting method and system
CN1905490A (en) * 2006-08-18 2007-01-31 华为技术有限公司 Method and apparatus for preventing loop when RRPP and partial STP network damage recovery
CN101304359A (en) * 2008-05-28 2008-11-12 杭州华三通信技术有限公司 Method and apparatus for RRPP looped network link recuperation
CN101478469A (en) * 2009-01-12 2009-07-08 杭州华三通信技术有限公司 Method and system for RRPP loop link switching

Also Published As

Publication number Publication date
CN101695046A (en) 2010-04-14

Similar Documents

Publication Publication Date Title
EP2013996B1 (en) System and method of multi-nodal aps control protocol signalling
WO2009064146A2 (en) Failure recovery method in non revertive mode of ethernet ring network
CN101645810B (en) Method and equipment for detecting pseudo wire (PW)
US8711686B2 (en) Packet transmission system and fault recovery method
TWI455525B (en) Recovery method for ring-based network
CN101854283A (en) Communication method and equipment of RPR (Resilient Packet Ring) looped network
CN101695046B (en) Method and equipment for arranging RRPP block points
CN101909006B (en) BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof
CN101309525B (en) Route recovery method according to failure positioning in automatic exchange optical network
CN103825839A (en) Message transmission method and equipment based on aggregated link
CN102611602A (en) Looped network system and method for networking looped networks
CN101605283B (en) Method and device for recovering node resource state in WSON
CN103401780A (en) Method and equipment for building routing by linking RIP (routing information protocol) with BFD (bidirectional forwarding detection)
EP3232617B1 (en) Protection switching method and system, and nodes
CN104270307A (en) Establishing method and device for BGP neighborhood
CN104184639B (en) A kind of processing method and equipment of ERPS loops multipoint fault
CN108366013B (en) Message forwarding method and device
CN105577484A (en) EAPS failure detection method and system, and EAPS network
US20160028588A1 (en) Method for identifying logical loops in ethernet networks
CN101022389A (en) Elastic packet link point internal connection fault processing method and apparatus
CN104219126A (en) Automatic learning method and equipment for subring protocol VLAN (virtual local area network) in virtual channel mode
WO2017059733A1 (en) Method and apparatus for avoiding traffic storm caused by network sharing ring protection
CN103178972A (en) Delimiting method, device and system for link failures
JP5349229B2 (en) Method for identifying fault location in packet ring network and system for executing the method
CN102801630B (en) Method and equipment for implementing virtual connection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address