CN101136838A - Bridge mode elastic grouping ring transannular bridge equipment redundancy protecting method - Google Patents

Bridge mode elastic grouping ring transannular bridge equipment redundancy protecting method Download PDF

Info

Publication number
CN101136838A
CN101136838A CNA2006100373483A CN200610037348A CN101136838A CN 101136838 A CN101136838 A CN 101136838A CN A2006100373483 A CNA2006100373483 A CN A2006100373483A CN 200610037348 A CN200610037348 A CN 200610037348A CN 101136838 A CN101136838 A CN 101136838A
Authority
CN
China
Prior art keywords
cross
bridge device
ring
ring bridge
protection group
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
CNA2006100373483A
Other languages
Chinese (zh)
Other versions
CN101136838B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2006100373483A priority Critical patent/CN101136838B/en
Priority to PCT/CN2007/000618 priority patent/WO2008028377A1/en
Publication of CN101136838A publication Critical patent/CN101136838A/en
Application granted granted Critical
Publication of CN101136838B publication Critical patent/CN101136838B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

In the method, a protection group is composed of at least two pieces of transannular bridge device (TBD). TBD is cross-connected to at least three elastic packet rings. Being setup as main TBD in the protection group, one TBD is in charge for forwarding message, and the other devices are setup as standby TBDs. When change occurs in the protection group, the method determines another TBD possessing forwarding capability of transannular bridge as main TBD. The invention can implement quick recovery for RPR bridge loop so as to guarantee normal use of service on RPR bridge loop, reduce time delay of network communication, and lighten burden of network communication.

Description

A kind of method of bridge mode elastic grouping ring transannular bridge equipment redundancy protection
Technical field
The present invention relates to the MAN communication technical field, relate in particular to a kind of method of bridge mode elastic grouping ring transannular bridge equipment redundancy protection.
Background technology
Along with the continuous development of various metropolitan area network technology, stretch grouped data ring (RPR) is used by increasing metropolitan area network with the advance of its technology, the validity of investment, the superiority of performance and the high-quality property and the high reliability of QoS.The RPR technological incorporation intellectuality of IP, the economy of Ethernet and high broadband efficient, the reliability of optical fiber ring network, be a kind of loop network of forming by PSE.
The loop network of using RPR technology composition is called the RPR loop network, can abbreviate the RPR ring as; PSE on the loop network is called RPR equipment.The 48 bit mac addresses of using in RPR equipment adopts Ethernet are used for unique identification RPR equipment as address designation, and when carrying two layers of Ethernet message by the mode of Ethernet Over RPR, then the RPR ring can also be called RPR bridged ring or bridge mode RPR ring.Equipment on the RPR bridged ring can also be called the RPR bridge device, and the MAC Address on the RPR bridge device can be called the RPR MAC Address again.As shown in Figure 1, the structural representation that two RPR bridged rings intersect at two RPR bridge devices has been described.
In Fig. 1, there are two RPR bridged rings, are respectively RPR bridged ring 1 and RPR bridged ring 2.Have 4 RPR bridge devices on each RPR bridged ring respectively, RPR bridged ring 1 and RPR bridged ring 2 intersect at RPR cross-ring bridge device 1 and cross-ring bridge device 2 simultaneously.Wherein, described cross-ring bridge device be cross-over connection simultaneously on two RPR bridged rings, be responsible for the forwarding of data message between two RPR bridged rings.In order to simplify description, abbreviate the RPR cross-ring bridge device as cross-ring bridge device in the following description, abbreviate the RPR bridge device as bridge device.
On the RPR bridged ring, because what carry on the RPR bridged ring is two layers of Ethernet message, and the message between the RPR bridged ring is to transmit by address resolution protocol (MAC), therefore the RPR cross-ring bridge device that intersects at two RPR bridged rings will produce the loop, also promptly between as shown in Figure 1 RPR cross-ring bridge device 1 and RPR cross-ring bridge device 2, produce the loop, the broadcast storm phenomenon occurs.
In existing a kind of technology, for fear of the generation in loop and the problem of broadcast storm, method in the prior art is to carry out link by Spanning-Tree Protocol (STP) or RSTP (RSTP) to reduce, generate loop-free minimum spanning tree, transmit message on two layers of Ethernet according to minimum spanning tree then, form loop to prevent double layer network communication.And equipment or link failure occurring on double layer network when, STP or RSTP will carry out the calculating of minimum spanning tree again, obtain a new forwarding tree, thereby guarantee that the professional operate as normal in back takes place fault.
Though adopt the method for STP, RSTP can solve the problem that occurs loop between the transannular node, but because the convergence rate of STP, RSTP is slower, even RSTP also can only reach second level of level, therefore having caused RPR bridged ring fault that the back takes place increases professional recovery time, the network service time also prolongs thereupon, has increased the weight of the load of network service.
In existing another technology, for fear of the generation in loop and the problem of broadcast storm, the prior art is by forming the protection group with cross-over connection simultaneously in the cross-ring bridge device of two RPR bridged rings, and a cross-ring bridge device that is provided with in the protection group is the main cross-ring bridge device of use, the forwarding of data message between responsible two RPR bridged rings; Simultaneously cross-ring bridge device is carried out the priority setting, the active and standby of cross-ring bridge device switched and controlled with state; And, when on double layer network, equipment or link failure occurring, can be by active and standby the switching and controlling of cross-ring bridge device with state, realized the fast quick-recovery of RPR bridged ring, guaranteed normal use professional on the RPR bridged ring, also reduce simultaneously the time delay of network service, alleviated the burden of network service.
But, in this second kind of prior art, loop was avoided and the problem of fault recovery when it can only solve two RPR bridged rings and intersects, and in the networking of reality, particularly in the position of Access Network, one is converged ring and can articulate down the situations that a plurality of rings also promptly exist at least three RPR rings to intersect, and utilizes this existing technology side also can't solve at least three RPR of existence and encircles when crossing, and the loop is avoided and the fast quick-recovery of fault.
Summary of the invention
In view of this; main purpose of the present invention is to provide a kind of method of bridge mode elastic grouping ring transannular bridge equipment redundancy protection; be used for when at least three Resilient Packet Ring intersect at a plurality of; the active and standby of Resilient Packet Ring to corresponding each joining controlled with state; after realizing that the RPR bridged ring breaks down; fast quick-recovery of RPR bridged ring fault and loop are avoided, thereby guarantee normal use professional on the RPR bridged ring.
In order to achieve the above object, the present invention proposes the method that a kind of bridge mode resilient packet ring is striden the bridge device redundancy protecting, this method comprises:
A, at least two cross-ring bridge devices of general are formed a protection group, and described cross-ring bridge device cross-over connection is at least three Resilient Packet Ring, and a cross-ring bridge device that is provided with in the described protection group is that the master uses cross-ring bridge device, is responsible for E-Packeting, and other are standby cross-ring bridge device;
B, when described protection group changes, another cross-ring bridge device of determining to have the transannular link transfer capability is the main cross-ring bridge device of using.
Wherein, described method also comprises: judge whether described protection group changes in default timing cycle, if judged result is for being then execution in step B; Otherwise, carry out following steps:
C, judge whether there is the main cross-ring bridge device of use with transannular transfer capability in the described protection group, for not the time, redefining the cross-ring bridge device with transannular transfer capability is to lead to use cross-ring bridge device in judged result.
Further, described method also comprises, sets the priority of each cross-ring bridge device in the described protection group; Described step B is:
When described protection group changed, determining to have transannular link transfer capability and the highest cross-ring bridge device of priority was the main cross-ring bridge device of using.
Further, described method also comprises, is provided for preserving the informational table of nodes of each cross-ring bridge device protection group information in the protection group; Described protection group the protection group information for cross-ring bridge device in: the described protection group of changing changes or the topological structure of the Resilient Packet Ring at described protection group place changes.
Wherein, preserve the precedence information of each cross-ring bridge device in the described protection group in the described informational table of nodes at least; Described judge whether to exist in the protection group than the high cross-ring bridge device of self priority be: search the informational table of nodes that self is provided with,, judge whether exist in the described protection group than the high cross-ring bridge device of self priority level according to the record of informational table of nodes.
Wherein, described protection group information comprises at least: the precedence information of cross-ring bridge device, the current state of cross-ring bridge device, protection group ID and cross-ring bridge device id information.
Wherein, when described protection group information changed, the cross-ring bridge device that described protection group information changes is broadcast transmission control message in the protection group, and described control message carries the protection group information of self; When other each cross-ring bridge devices are received the control message, carry out described step B.
Wherein, described step B is:
When main do not possess with the transannular link forwarding unit exist in transannular link transfer capability or the protection group priority ratio from height possess the cross-ring bridge device of transannular transfer capability the time, described master withdraws from the state of using of leading with cross-ring bridge device;
In standby cross-ring bridge device possesses transannular link transfer capability and protection group, do not exist priority ratio from height possess the cross-ring bridge device of transannular transfer capability the time, described standby cross-ring bridge device upgrades to the main cross-ring bridge device of using.
Wherein, described master withdraws from the master with cross-ring bridge device and uses state, may further comprise the steps:
B11, main judge with cross-ring bridge device whether self possesses the transannular transfer capability, if judged result is for being, execution in step B12 then; Otherwise, withdraw from the main state of using;
B12, master judge whether there be the cross-ring bridge device that possess transannular link transfer capability of priority ratio from height in the protection group with cross-ring bridge device; when exist in the protection group priority ratio from height possess the cross-ring bridge device of transannular link transfer capability the time, described master withdraws from the main state of using with cross-ring bridge device.
Correspondingly, described standby cross-ring bridge device upgrades to the master and uses cross-ring bridge device, may further comprise the steps:
B21, standby cross-ring bridge device judge whether self possesses the transannular transfer capability, when self possessing the transannular transfer capability, and execution in step B22 then;
B22, judge whether there be the cross-ring bridge device that possess transannular transfer capability of priority ratio in the protection group from height; when do not exist in the protection group priority ratio from height possess the cross-ring bridge device of transannular transfer capability the time, described standby cross-ring bridge device upgrades to the main cross-ring bridge device of using.
Wherein, describedly judge that self whether possessing the transannular link transfer capability is:
Judge the RPR bridge joint mouth that whether exists at least two RPR bridge joint mouths normally to E-Packet in a plurality of RPR bridge joint mouths of self
Correspondingly, judge that whether possess the transannular transfer capability than the high cross-ring bridge device of self priority is: whether exist at least two RPR bridge joint mouths on corresponding RPR bridged ring, to be communicated with in a plurality of RPR bridge joint mouths of the cross-ring bridge device that judgement is higher than self priority with the corresponding RPR bridge joint mouth of self;
If then described cross-ring bridge device possesses the transannular link transfer capability; Otherwise then described cross-ring bridge device does not possess the transannular transfer capability.
Further, described method comprises that each cross-ring bridge device refreshes the topological structure table of self;
Whether the RPR bridge joint mouth of the cross-ring bridge device that described judgement is higher than self priority with is communicated with on corresponding RPR bridged ring with the corresponding RPR bridge joint mouth of self: whether the RPR bridge joint mouth of judging the cross-ring bridge device higher than self priority is present in the corresponding topological structure table of self, if judged result is for being, the RPR bridge joint mouth of the then described cross-ring bridge device higher than self priority is connected on the corresponding RPR bridged ring with the corresponding RPR of self and is communicated with; Otherwise the RPR bridge joint mouth of the described cross-ring bridge device higher than self priority is not communicated with on corresponding RPR bridged ring with self corresponding RPR bridge joint mouth.
Wherein said step C is:
When cross-ring bridge device is main when use cross-ring bridge device, this is main with cross-ring bridge device broadcast transmission control message in the protection group, and described control message carries the protection group information that this master uses cross-ring bridge device;
When cross-ring bridge device is standby cross-ring bridge device, judge whether exist master to use cross-ring bridge device in the described protection group, if judged result then should upgrade to the main cross-ring bridge device of using by standby cross-ring bridge device for not with transannular transfer capability.
Further; described method also comprises; when cross-ring bridge device is standby cross-ring bridge device; judge whether exist master to be in the protection group: judge in a plurality of RPR bridge joint mouths of other cross-ring bridge devices in the protection group whether exist a rpr interface on corresponding RPR bridged ring, to be communicated with at the most with the corresponding RPR bridge joint mouth of self with cross-ring bridge device with transannular transfer capability; if judged result is for being; there is not the main transannular link forwarding unit of using in the then protection group with transannular transfer capability; otherwise, exist master to use cross-ring bridge device in the protection group with transannular transfer capability.
Wherein, whether the RPR bridge joint mouth of judging other cross-ring bridge devices in the protection group is communicated with on corresponding RPR bridged ring with the corresponding RPR bridge joint mouth of self: whether the RPR bridge joint mouth of judging other cross-ring bridge devices in the protection group is present in the topological structure table of self; if judged result is for being; then the RPR bridge joint mouth of described other cross-ring bridge devices is communicated with on corresponding RPR bridged ring with the corresponding RPR bridge joint mouth of self, otherwise the RPR bridge joint mouth of described other cross-ring bridge devices is not communicated with on corresponding RPR bridged ring with the corresponding RPR bridge joint mouth of self.
Compared with prior art, the present invention has following beneficial effect:
The method of a kind of bridge mode elastic grouping ring transannular bridge equipment redundancy protection provided by the invention, the cross-ring bridge device of each joining correspondence of at least three Resilient Packet Ring is formed a protection group, a cross-ring bridge device that is provided with in the described protection group is the main cross-ring bridge device of using, be responsible for E-Packeting, other are standby cross-ring bridge device; When described protection group changed, another cross-ring bridge device of determining to have the transannular link transfer capability was the main cross-ring bridge device of using.By method provided by the invention, the RPR bridge is changed after, realized the fast quick-recovery of RPR bridged ring, guarantee professional normal use the on the RPR bridged ring, also alleviated the network service time delay simultaneously, alleviated the network service burden.
Description of drawings
Fig. 1 is two structural representations that the RPR bridged ring intersects in the prior art;
Fig. 2 is the structural representation that a plurality of RPR bridged rings intersect among the present invention;
Fig. 3 is the logic networking schematic diagram when four RPR bridged rings intersect at two cross-ring bridge devices among the present invention;
Fig. 4 is a main flow chart with the cross-ring bridge device redundancy protecting among the present invention;
Fig. 5 is the flow chart of standby cross-ring bridge device redundancy protecting among the present invention;
Fig. 6 is the flow chart of the cross-ring bridge device redundancy protecting behind the timer expiry among the present invention.
Embodiment
Core concept of the present invention is: at least two cross-ring bridge devices are formed the protection group, and described cross-ring bridge device cross-over connection is at least three RPR bridged rings, and a definite cross-ring bridge device is that the master uses cross-ring bridge device in the protection group, and all the other are standby cross-ring bridge device.The main forwarding of being responsible for the data message between the RPR bridged ring with cross-ring bridge device; Standby cross-ring bridge device only when the master was lost efficacy with cross-ring bridge device, upgrades to the main forwarding that continues to be responsible for the data message between the RPR bridged ring with cross-ring bridge device.
The forwarding that master described here is responsible for data message between a plurality of RPR bridged rings with cross-ring bridge device is meant: according to main configuration with cross-ring bridge device, as the type of service that E-Packets, the data message between a plurality of RPR bridged rings of all or part of forwarding.
Main whether lost efficacy, whether needed to reselect definite, can reflect by the Topology Discovery of RPR bridged ring with cross-ring bridge device.Because the Topology Discovery of RPR bridged ring and topological convergence only need 50 milliseconds, therefore after RPR bridged ring generation change in topology, utilizing the distinctive Topology Discovery of RPR bridged ring to redefine the new main time with cross-ring bridge device will be less than 100 millisecond.
For making technical scheme of the present invention and advantage clearer,, the present invention is described in further details below in conjunction with the accompanying drawing embodiment that develops simultaneously.
Networking schematic diagram when as shown in Figure 2, intersecting at two cross-ring bridge devices for a plurality of RPR bridged rings of the present invention.Converge in the figure ring and subring 1, subring 2, and subring 3 intersect at 2 points, two joinings in the figure are corresponding respectively corresponding cross-ring bridge device.
As shown in Figure 3, be the logic networking schematic diagram when four RPR bridged rings intersect at two cross-ring bridge devices among the present invention.Cross-ring bridge device 1 and cross-ring bridge device 2 are formed a protection group in this logic networking schematic diagram; ring 1, ring 2, ring 3 and encircle 4 and intersect at described cross-ring bridge device 1 and cross-ring bridge device 2 simultaneously are because the RPR bridged ring is a two-way ring by the related reason of two-wire between RPR bridged ring and the cross-ring bridge device in the drawings.Dotted line is represented the relevance of RPR bridged ring and cross-ring bridge device is blocked on logical construction among the figure, the forwarding of the data message between the RPR bridged ring that also promptly cuts off this cross-ring bridge device and be cut off, therefore as can be known from Fig. 3, in the real network operation, under this networking structure, having only cross-ring bridge device 1 in the data forwarding of really bearing between described four RPR ring, is that main to use state, the current state of cross-ring bridge device 2 be stand-by state in the current state of cross-ring bridge device 1 promptly.Our the RPR ring that will be simultaneously logically all has relevance with cross-ring bridge device 1 described in the figure and cross-ring bridge device 2 is called mainly with ring generally speaking, and promptly the ring described in Fig. 31 is main with ring.When this RPR bridge network breaks down, when for example the ring described in the figure 2 is unavailable, then with the partition cancellation between described cross-ring bridge device 2 and the ring 2, certainly after fault recovery, also promptly encircle 2 can normally use the time, need recover the partition between described cross-ring bridge device 2 and the ring 2 again.In sum, must guarantee that cross-ring bridge device 1 and cross-ring bridge device 2 can only have relevance in logic at the most on a RPR bridged ring, promptly must guarantee to have only a cross-ring bridge device to be responsible for the transannular business datum and transmit.
Among the present invention; be provided with the informational table of nodes that is used to preserve each cross-ring bridge device protection group information in the protection group; in a specific embodiment; for in each cross-ring bridge device of protection group, newly being provided with informational table of nodes, comprise at least in the informational table of nodes: the RPR MAC information of device id, priority facility, equipment current state and a plurality of interfaces of linking to each other with cross-ring bridge device.Here, in cross-ring bridge device, corresponding each RPR bridged ring that is connected in this cross-ring bridge device all exists a corresponding interface corresponding with it, for example, when this cross-ring bridge device was connected on four RPR bridged rings simultaneously, there was the interface corresponding to each RPR bridged ring in it.Among the present invention simultaneously,, be used in the protection group, protecting between each cross-ring bridge device the mutual of group information by in the protection group, increasing a kind of new control message.
Here, the height of priority facility can compare according to facility informations such as the IP address of cross-ring bridge device, MAC Address, device ids, can certainly be as required configuration device sign voluntarily, judge the priority height of cross-ring bridge device by device identification.
Among the present invention,, a control message transmission timer is set all, is used for periodically broadcast transmission control message in this equipment place protection group each cross-ring bridge device; And be provided with a control message reception timer, be used for periodic detection and whether receive new control message.By the setting of transmission timer and reception timer, can upgrade the protection group information of the cross-ring bridge device in the protection group timely, know the situation of other cross-ring bridge devices in the protection group.When certain cross-ring bridge device in the protection group self breaks down and lost efficacy; this cross-ring bridge device may just can't normally send the control message; accordingly, just may cause other cross-ring bridge devices in receiving timing cycle, can't receive control message from this cross-ring bridge device.
As shown in Figure 4, main flow chart among the present invention with the cross-ring bridge device redundancy protecting.
Step 400: the master receives topological message or receive the control message in timing cycle with cross-ring bridge device;
Step 401: topological convergence or renewal protection group information.
Specifically, because main is to be positioned at least on three RPR bridged rings simultaneously with cross-ring bridge device, therefore in leading, there be the topological structure table identical accordingly with RPR bridged ring quantity with cross-ring bridge device, the main cross-ring bridge device of using is after receiving topological message, recomputate current topological structure, and after topological structure, refresh the topological structure table of self; Perhaps when in timing cycle, the master detects with cross-ring bridge device and receives the control message, then upgrades self node corresponding information table.
Step 402: main judge with cross-ring bridge device whether self possesses the transannular link transfer capability, if judged result is for being that then execution in step 403; Otherwise execution in step 406.
Here, the master judges with cross-ring bridge device whether self possesses the transannular link transfer capability, it can be following method, judge the RPR bridge joint mouth that whether exists at least two RPR bridge joint mouths normally to E-Packet in a plurality of RPR bridge joint mouths of self, if judged result is for being, then self possess the transannular transfer capability, otherwise, the transannular transfer capability do not possessed.
Step 403: search the informational table of nodes of self storing, judge whether there be the cross-ring bridge device of priority ratio from height in the protection group, if exist, then execution in step 404; Otherwise execution in step 405.
Here; because corresponding each cross-ring bridge device all disposes the node corresponding information table; and because cross-ring bridge device can periodically receive the control message of every other effective cross-ring bridge device in the self-shield group; and refresh the nodal information of self according to protection group information entrained in this control message; therefore in this step, just can know the up-to-date protection group information in the protection group under this cross-ring bridge device, thereby the precedence information of each can be relatively should protection group information interior cross-ring bridge device judges whether there be the cross-ring bridge device of priority ratio from height in the protection group by the informational table of nodes of searching self.
Step 404: judge than the high cross-ring bridge device of self priority whether possess the ability that transannular is transmitted, if possess, then execution in step 406; Otherwise, execution in step 405.Here; in the reason of the high cross-ring bridge device of protection group internal ratio self priority owing to network topology change; may exist more than one than the high cross-ring bridge device of self priority; but as long as exist one to possess the transannular link transfer capability than the high cross-ring bridge device of self priority, then execution in step 406.
Wherein, judge whether possess the method for transannular link transfer capability than the high cross-ring bridge device of self priority can be in the following way: whether exist at least two RPR bridge joint mouths on corresponding RPR bridged ring, to be communicated with in a plurality of RPR bridge joint mouths of the cross-ring bridge device that judgement is higher than self priority with the corresponding RPR bridge joint mouth of self, if judged result is for being to illustrate that then described cross-ring bridge device possesses the transannular link transfer capability; Otherwise, illustrate that then described cross-ring bridge device does not possess the transannular link transfer capability.In this deterministic process, whether the RPR bridge joint mouth of the cross-ring bridge device that described judgement is higher than self priority is communicated with on corresponding RPR bridged ring with self corresponding RPR bridge joint mouth: whether the RPR bridge joint mouth of judging the cross-ring bridge device higher than self priority is present in the corresponding topological structure table of self, if judged result is for being, the RPR bridge joint mouth of the then described cross-ring bridge device higher than self priority is communicated with on corresponding RPR bridged ring with the corresponding RPR bridge joint mouth of self; Otherwise the RPR bridge joint mouth of the described cross-ring bridge device higher than self priority is not communicated with on corresponding RPR bridged ring with the corresponding RPR bridge joint mouth of self.
Step 405: the main cross-ring bridge device broadcast transmission control message in the protection group of using also finishes to work as pre-treatment.
In this step, the purpose of broadcast transmission control message is with other members in the protection group information notification protection group of this cross-ring bridge device in the protection group.This step shows that current master still is in good working order with cross-ring bridge device, and does not also exist the current master of priority ratio to possess the transannular transfer capability with the high cross-ring bridge device of cross-ring bridge device.
Step 406: main with cross-ring bridge device withdraw from main with state and in the protection group broadcast transmission control message.
As shown in Figure 5, be the flow chart of standby cross-ring bridge device redundancy protecting among the present invention.
Step 500: in timing cycle, when host apparatus when receiving and handle topological message, topological message can be received and handle to each the standby cross-ring bridge device in the protection group also
Step 501: topological convergence or renewal protection group information.
Identical in concrete grammar in this step and processing procedure and the step 401 just no longer described in detail at this.
Step 502: standby cross-ring bridge device judges whether self possesses the transannular link transfer capability, if judged result is for being that then execution in step 503; Otherwise execution in step 506.
Here, identical in the concrete method of judging and the step 402 is at this detailed description no longer just.
Step 503: search the informational table of nodes of self storing, judge whether there be the cross-ring bridge device of priority ratio from height in the protection group, if exist, then execution in step 504; Otherwise execution in step 505;
Identical in determination methods in this step and the step 403 is not described in detail in this.
Step 504: judge than the high cross-ring bridge device of self priority whether possess the ability that transannular is transmitted, if possess, then execution in step 506; Otherwise, execution in step 505.Here; in the reason of the high cross-ring bridge device of protection group internal ratio self priority owing to network topology change; may exist more than one than the high cross-ring bridge device of self priority; but as long as exist one to possess the transannular link transfer capability than the high cross-ring bridge device of self priority, then execution in step 506.
Wherein, the method whether described judgement possesses the transannular link transfer capability than the high cross-ring bridge device of self priority can adopt with step 404 in identical method, just do not describing in detail at this.
Step 505: standby cross-ring bridge device upgrade to main with state and in the protection group broadcast transmission control message.
Step 506: standby cross-ring bridge device broadcast transmission control message in the protection group also finishes to work as pre-treatment.
In this step, the purpose of broadcast transmission control message is with other members in the protection group information notification protection group of this cross-ring bridge device in the protection group.This step shows, in current protection group, owing to existed priority ratio to possess the transannular link transfer capability from the cross-ring bridge device of height, so self do not possess the main condition that becomes with cross-ring bridge device.
As shown in Figure 6, be the flow chart of the cross-ring bridge device redundancy protecting behind the timer expiry among the present invention.
Step 601: timer expiry, promptly in timing cycle, cross-ring bridge device is not received the control message.
Here, the reason of timer expiry may be under this cross-ring bridge device in the protection group other cross-ring bridge devices all lost efficacy, perhaps and the interface between other cross-ring bridge devices and all the RPR bridged rings break down etc.
Step 602: cross-ring bridge device judges whether self current state is stand-by state, if judged result is for being, then execution in step 603, otherwise execution in step 605.
Here, cross-ring bridge device judges that whether self current state is that stand-by state can be to realize by the informational table of nodes of searching self, includes the current state information of cross-ring bridge device in informational table of nodes.
Step 603: judge whether to exist in the protection group to have the main of transannular transfer capability and use cross-ring bridge device, if judged result is for being, then execution in step 604, otherwise, execution in step 605.
Here; judge whether exist the main method with cross-ring bridge device with transannular transfer capability can be in the following way in the protection group: judge in a plurality of RPR bridge joint mouths of interior other cross-ring bridge devices of protection group whether exist a rpr interface on corresponding RPR bridged ring, to be communicated with at the most with the corresponding RPR bridge joint mouth of self; if judged result is for being; there is not the main transannular link forwarding unit of using in the then protection group with transannular transfer capability; otherwise, exist master to use cross-ring bridge device in the protection group with transannular transfer capability.
In above-mentioned deterministic process; whether the described RPR bridge joint mouth of judging other cross-ring bridge devices in the protection group is communicated with on corresponding RPR bridged ring with the corresponding RPR bridge joint mouth of self: whether the RPR bridge joint mouth of judging other cross-ring bridge devices in the protection group is present in the topological structure table of self; if judged result is for being; then the RPR bridge joint mouth of described other cross-ring bridge devices is communicated with on corresponding RPR bridged ring with the corresponding RPR bridge joint mouth of self, otherwise the RPR bridge joint mouth of described other cross-ring bridge devices is not communicated with on corresponding RPR bridged ring with the corresponding RPR bridge joint mouth of self.
Step 604: this cross-ring bridge device upgrades to the master and uses cross-ring bridge device, and sends the control message in the protection group.
This step shows, does not exist the master with transannular transfer capability to use cross-ring bridge device, this cross-ring bridge device to upgrade to the master in the protection group under this cross-ring bridge device and uses cross-ring bridge device, bears the forwarding of transannular link data message.
Step 605: pre-treatment is worked as in broadcast transmission control message and end in this cross-ring bridge device item protection group.
The tree peony of broadcast transmission control message is with other members in the protection group information notification protection group of this cross-ring bridge device in the protection group in this step.
Generally speaking; Fig. 4, Fig. 5 and flow process shown in Figure 6 have constituted the process of complete cross-ring bridge device redundancy approach of the present invention; it can receive topological message, control message or when timer expiry at the cross-ring bridge device in the protection group; carry out the state self check and carry out active and standbyly switching and control with state according to self-detection result, guaranteed in the protection group current main be to protect the highest cross-ring bridge device of in-group priority and possess the transannular transfer capability simultaneously with cross-ring bridge device.
At Fig. 4 of the present invention, in the described method of Fig. 5 and Fig. 6 can also further be set the stand-by period, when timer is not overtime, the master prepares to withdraw from the main state of using with cross-ring bridge device, both carried out between step 404 and 406, when timer is not overtime, stand-by equipment prepares to upgrade to the main cross-ring bridge device of using, promptly carry out between step 504 and 505, and behind timer expiry, standby cross-ring bridge device prepares to upgrade to the main cross-ring bridge device of using, be between execution in step 603 and 604, the master is provided with the stand-by period with cross-ring bridge device and standby cross-ring bridge device, determine to possess the transannular transfer capability in the current protection group, and the highest cross-ring bridge device of priority is carried out corresponding step 406 when in stable condition again, step 505,603; Otherwise, carry out corresponding step 405, step 506,604.
Main can also the setting with cross-ring bridge device and standby cross-ring bridge device waited for the topological message number; be about to withdraw from main with state main with cross-ring bridge device and after being about to upgrade to the master and having waited for the wait topological message number of setting separately with the standby cross-ring bridge device of cross-ring bridge device; guarantee to possess in the current protection group the highest cross-ring bridge device state of transannular transfer capability and priority still stable after, carrying out corresponding operation.
Whether each cross-ring bridge device in the protection group can perception increase new cross-ring bridge device or delete cross-ring bridge device by receiving topological message in the protection group.But, the cross-ring bridge device in the protection group be can't perception protection group in the variation of other priority facilities.Therefore, the control message of the present invention by increasing newly is used in the protection group transmitting the state information of each cross-ring bridge device.This control message carries ID, protection group ID, priority facility, the equipment current state of cross-ring bridge device, the RPR MAC information of the current a plurality of interfaces of equipment at least,, the information of carrying in these control messages is referred to as protection group information here.Because each cross-ring bridge device in the protection group is periodic broadcast transmission control message and periodically receive the control message in the protection group all, so cross-ring bridge device can both and obtain the up-to-date protection group information of other cross-ring bridge devices in the protection group with other equipment in the protection group information notification protection group of self.Certainly, the interior cross-ring bridge device of protection group is except can periodically the broadcast transmission control message, also triggering self broadcast transmission control message in the protection group when cross-ring bridge device protection information changes in the protection group.
Described; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (16)

1. the method for a bridge mode elastic grouping ring transannular bridge equipment redundancy protection is characterized in that, comprising:
A, at least two cross-ring bridge devices of general are formed a protection group, and described cross-ring bridge device cross-over connection is at least three Resilient Packet Ring, and a cross-ring bridge device that is provided with in the described protection group is that the master uses cross-ring bridge device, is responsible for E-Packeting, and other are standby cross-ring bridge device;
B, when described protection group changes, another cross-ring bridge device of determining to have the transannular link transfer capability is the main cross-ring bridge device of using.
2. the method for claim 1 is characterized in that, sets the priority of each cross-ring bridge device in the described protection group; Described step B is:
When described protection group changed, determining to have transannular link transfer capability and the highest cross-ring bridge device of priority was the main cross-ring bridge device of using.
3. the method for claim 1 is characterized in that, described method also comprises: judge whether described protection group changes in default timing cycle, if judged result is for being, and execution in step B then; Otherwise, carry out following steps:
C, judge whether there is the main cross-ring bridge device of use with transannular transfer capability in the described protection group, for not the time, redefining the cross-ring bridge device with transannular transfer capability is to lead to use cross-ring bridge device in judged result.
4. method as claimed in claim 2 is characterized in that, is provided for preserving the informational table of nodes of each cross-ring bridge device protection group information in the protection group; Described protection group the protection group information for cross-ring bridge device in: the described protection group of changing changes or the topological structure of the Resilient Packet Ring at described protection group place changes.
5. method as claimed in claim 4 is characterized in that, when described protection group information changed, the cross-ring bridge device that described protection group information changes is broadcast transmission control message in the protection group, and described control message carries the protection group information of self; When other each cross-ring bridge devices are received the control message, carry out described step B.
6. method as claimed in claim 5 is characterized in that, described step B is:
When main do not possess with the transannular link forwarding unit exist in transannular link transfer capability or the protection group priority ratio from height possess the cross-ring bridge device of transannular transfer capability the time, described master withdraws from the state of using of leading with cross-ring bridge device;
In standby cross-ring bridge device possesses transannular link transfer capability and protection group, do not exist priority ratio from height possess the cross-ring bridge device of transannular transfer capability the time, described standby cross-ring bridge device upgrades to the main cross-ring bridge device of using.
7. method as claimed in claim 6 is characterized in that, described master withdraws from the master with cross-ring bridge device and uses state, may further comprise the steps:
B11, main judge with cross-ring bridge device whether self possesses the transannular transfer capability, if judged result is for being, execution in step B12 then; Otherwise, withdraw from the main state of using;
B12, master judge whether there be the cross-ring bridge device that possess transannular link transfer capability of priority ratio from height in the protection group with cross-ring bridge device; when exist in the protection group priority ratio from height possess the cross-ring bridge device of transannular link transfer capability the time, described master withdraws from the main state of using with cross-ring bridge device.
8. method as claimed in claim 6 is characterized in that, described standby cross-ring bridge device upgrades to the master and uses cross-ring bridge device, may further comprise the steps:
B21, standby cross-ring bridge device judge whether self possesses the transannular transfer capability, when self possessing the transannular transfer capability, and execution in step B22 then;
B22, judge whether there be the cross-ring bridge device that possess transannular transfer capability of priority ratio in the protection group from height; when do not exist in the protection group priority ratio from height possess the cross-ring bridge device of transannular transfer capability the time, described standby cross-ring bridge device upgrades to the main cross-ring bridge device of using.
9. as claim 7 or 8 described methods, it is characterized in that, describedly judge that self whether possessing the transannular link transfer capability is:
Judge the RPR bridge joint mouth that whether exists at least two RPR bridge joint mouths normally to E-Packet in a plurality of RPR bridge joint mouths of self
10. as claim 7 or 8 described methods, it is characterized in that, preserve the precedence information of each cross-ring bridge device in the described protection group in the described informational table of nodes at least;
Described judge whether to exist in the protection group than the high cross-ring bridge device of self priority be: search the informational table of nodes that self is provided with,, judge whether exist in the described protection group than the high cross-ring bridge device of self priority level according to the record of informational table of nodes.
11. as claim 7 or 8 described methods, it is characterized in that, judge that whether possess the transannular transfer capability than the high cross-ring bridge device of self priority is: whether exist at least two RPR bridge joint mouths on corresponding RPR bridged ring, to be communicated with in a plurality of RPR bridge joint mouths of the cross-ring bridge device that judgement is higher than self priority with the corresponding RPR bridge joint mouth of self;
If then described cross-ring bridge device possesses the transannular link transfer capability; Otherwise then described cross-ring bridge device does not possess the transannular transfer capability.
12. method as claimed in claim 11 is characterized in that, this method comprises that further each cross-ring bridge device refreshes the topological structure table of self;
Whether the RPR bridge joint mouth of the cross-ring bridge device that described judgement is higher than self priority with is communicated with on corresponding RPR bridged ring with the corresponding RPR bridge joint mouth of self: whether the RPR bridge joint mouth of judging the cross-ring bridge device higher than self priority is present in the corresponding topological structure table of self, if judged result is for being, the RPR bridge joint mouth of the then described cross-ring bridge device higher than self priority is connected on the corresponding RPR bridged ring with the corresponding RPR of self and is communicated with; Otherwise the RPR bridge joint mouth of the described cross-ring bridge device higher than self priority is not communicated with on corresponding RPR bridged ring with self corresponding RPR bridge joint mouth.
13. method as claimed in claim 3 is characterized in that, described step C is:
When cross-ring bridge device is main when use cross-ring bridge device, this is main with cross-ring bridge device broadcast transmission control message in the protection group, and described control message carries the protection group information that this master uses cross-ring bridge device;
When cross-ring bridge device is standby cross-ring bridge device, judge whether exist master to use cross-ring bridge device in the described protection group, if judged result then should upgrade to the main cross-ring bridge device of using by standby cross-ring bridge device for not with transannular transfer capability.
14. method as claimed in claim 13; it is characterized in that; when cross-ring bridge device is standby cross-ring bridge device; judge whether exist master to be in the protection group: judge in a plurality of RPR bridge joint mouths of other cross-ring bridge devices in the protection group whether exist a rpr interface on corresponding RPR bridged ring, to be communicated with at the most with the corresponding RPR bridge joint mouth of self with cross-ring bridge device with transannular transfer capability; if judged result is for being; there is not the main transannular link forwarding unit of using in the then protection group with transannular transfer capability; otherwise, exist master to use cross-ring bridge device in the protection group with transannular transfer capability.
15. method as claimed in claim 14; it is characterized in that; whether the RPR bridge joint mouth of judging other cross-ring bridge devices in the protection group is communicated with on corresponding RPR bridged ring with the corresponding RPR bridge joint mouth of self: whether the RPR bridge joint mouth of judging other cross-ring bridge devices in the protection group is present in the topological structure table of self; if judged result is for being; then the RPR bridge joint mouth of described other cross-ring bridge devices is communicated with on corresponding RPR bridged ring with the corresponding RPR bridge joint mouth of self, otherwise the RPR bridge joint mouth of described other cross-ring bridge devices is not communicated with on corresponding RPR bridged ring with the corresponding RPR bridge joint mouth of self.
16. method as claimed in claim 5 is characterized in that, described protection group information comprises at least: the precedence information of cross-ring bridge device, the current state of cross-ring bridge device, protection group ID and cross-ring bridge device id information.
CN2006100373483A 2006-08-29 2006-08-29 Bridge mode elastic grouping ring transannular bridge equipment redundancy protecting method Expired - Fee Related CN101136838B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2006100373483A CN101136838B (en) 2006-08-29 2006-08-29 Bridge mode elastic grouping ring transannular bridge equipment redundancy protecting method
PCT/CN2007/000618 WO2008028377A1 (en) 2006-08-29 2007-02-27 Redundant protecting method and system of ring-across bridge devices of bridge mode resilient packet ring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100373483A CN101136838B (en) 2006-08-29 2006-08-29 Bridge mode elastic grouping ring transannular bridge equipment redundancy protecting method

Publications (2)

Publication Number Publication Date
CN101136838A true CN101136838A (en) 2008-03-05
CN101136838B CN101136838B (en) 2012-07-04

Family

ID=39156823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100373483A Expired - Fee Related CN101136838B (en) 2006-08-29 2006-08-29 Bridge mode elastic grouping ring transannular bridge equipment redundancy protecting method

Country Status (2)

Country Link
CN (1) CN101136838B (en)
WO (1) WO2008028377A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008110086A1 (en) * 2007-03-09 2008-09-18 Huawei Technologies Co., Ltd. Redundancy protection method and system for bridge mode resilient packet rings
CN102148733A (en) * 2010-02-04 2011-08-10 华为技术有限公司 Protection method, device and system of intersected ring networks
CN104135418A (en) * 2013-05-03 2014-11-05 ***通信集团内蒙古有限公司 Method and device of implementing coordinated switching of layer 2 virtual private network and layer 3 virtual private network
CN104993903A (en) * 2015-06-26 2015-10-21 东南大学 Multistage wavelength-division-multiplexing ring light network
CN106850715A (en) * 2015-12-04 2017-06-13 大唐移动通信设备有限公司 A kind of primary main frame dynamic selection method of Intrusion Detection based on host state and priority
CN110752955A (en) * 2019-10-30 2020-02-04 北京计算机技术及应用研究所 Seat invariant fault migration system and method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE68921373T2 (en) * 1988-06-27 1995-10-19 Digital Equipment Corp Transparent load sharing for parallel networks.
JP2003258822A (en) * 2002-02-27 2003-09-12 Nec Corp Packet ring network and inter-packet ring network connection method used in the same
AU2003253870A1 (en) * 2002-07-10 2004-01-23 I/O Controls Corporation Fiber optic control network and related method
US6928050B2 (en) * 2003-05-06 2005-08-09 Overture Networks, Inc. Protected switching ring
CN1264314C (en) * 2003-11-04 2006-07-12 港湾网络有限公司 State transition method for implementing ether ring redundancy protection
CN100337453C (en) * 2004-03-19 2007-09-12 华为技术有限公司 Method for implementing message forwarding along RPR ring and RPR network
CN100496009C (en) * 2004-11-04 2009-06-03 华为技术有限公司 Node protection inversion method and device in RPR network

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008110086A1 (en) * 2007-03-09 2008-09-18 Huawei Technologies Co., Ltd. Redundancy protection method and system for bridge mode resilient packet rings
CN102148733A (en) * 2010-02-04 2011-08-10 华为技术有限公司 Protection method, device and system of intersected ring networks
WO2011095135A1 (en) * 2010-02-04 2011-08-11 华为技术有限公司 Method, device and system for the protection of intersection ring networks
CN102148733B (en) * 2010-02-04 2014-01-01 华为技术有限公司 Protection method, device and system of intersected ring networks
CN104135418A (en) * 2013-05-03 2014-11-05 ***通信集团内蒙古有限公司 Method and device of implementing coordinated switching of layer 2 virtual private network and layer 3 virtual private network
CN104135418B (en) * 2013-05-03 2017-09-15 ***通信集团内蒙古有限公司 It is a kind of to realize two layers of method and device for coordinating to switch with Layer3 Virtual Private Network
CN104993903A (en) * 2015-06-26 2015-10-21 东南大学 Multistage wavelength-division-multiplexing ring light network
CN104993903B (en) * 2015-06-26 2018-02-02 东南大学 A kind of multistage Wavelength division multiplex optical ring network
CN106850715A (en) * 2015-12-04 2017-06-13 大唐移动通信设备有限公司 A kind of primary main frame dynamic selection method of Intrusion Detection based on host state and priority
CN110752955A (en) * 2019-10-30 2020-02-04 北京计算机技术及应用研究所 Seat invariant fault migration system and method

Also Published As

Publication number Publication date
CN101136838B (en) 2012-07-04
WO2008028377A1 (en) 2008-03-13

Similar Documents

Publication Publication Date Title
CN101160836B (en) Redundancy protection method for bridge mode resilient packet ring
RU2423008C2 (en) METHOD AND SYSTEM FOR AUTOMATIC PROTECTION OF Ethernet NETWORK
CN100417094C (en) Network failure recovery method with redundancy port
CN100521638C (en) Intersecting Ethernet ring net and its automatic protecting method, node device for Ethernet ring net
CN101662421B (en) Method and device for transmitting control message based on ethernet multi-ring network
CN101652963B (en) Method for reconfiguring a communications network
CN100512128C (en) Method and system for protecting multicast repeat path and service router
US8520507B1 (en) Ethernet automatic protection switching
CN101060485B (en) Topology changed messages processing method and processing device
US7606240B1 (en) Ethernet automatic protection switching
CN101841450B (en) Method and system for realizing stable communication by forming multiple ring topologies into intersecting ring
CN103595626A (en) Method for achieving dynamic path planning in ring network
CN103607293B (en) A kind of flow rate protecting method and equipment
CN101136838B (en) Bridge mode elastic grouping ring transannular bridge equipment redundancy protecting method
CN101197733A (en) Automatic detection method and device for network connectivity
CN100461739C (en) RPR bidge redundancy protecting method and RPR bridge ring equipment
EP2426855B1 (en) Address refresh method and system
CN101483571B (en) RRPP configuring method, system and device
CN101834774A (en) Address refreshing method of switching node port in Ethernet ring network and switching node
CN101242254B (en) Virtual redundant router system and method for transmitting virtual redundant routing protocol packet
CN100550812C (en) Improve method, system and the node device of dependability of fast looped network
CN113794656B (en) Message forwarding method and device
CN101582848A (en) Cross-ring protection method and system of resilient packet ring (RPR)
CN102055661B (en) Ethernet multi-ring network protection method under multipoint fault condition and interconnected nodes
CN101938395A (en) Method and system for refreshing single ring address of Ethernet ring network

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120704

Termination date: 20150829

EXPY Termination of patent right or utility model