CN101854283A - Communication method and equipment of RPR (Resilient Packet Ring) looped network - Google Patents

Communication method and equipment of RPR (Resilient Packet Ring) looped network Download PDF

Info

Publication number
CN101854283A
CN101854283A CN201010188449A CN201010188449A CN101854283A CN 101854283 A CN101854283 A CN 101854283A CN 201010188449 A CN201010188449 A CN 201010188449A CN 201010188449 A CN201010188449 A CN 201010188449A CN 101854283 A CN101854283 A CN 101854283A
Authority
CN
China
Prior art keywords
interface
website
polymerization
node
sub
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
CN201010188449A
Other languages
Chinese (zh)
Other versions
CN101854283B (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 CN2010101884497A priority Critical patent/CN101854283B/en
Publication of CN101854283A publication Critical patent/CN101854283A/en
Application granted granted Critical
Publication of CN101854283B publication Critical patent/CN101854283B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a communication method and equipment of a RPR (Resilient Packet Ring) looped network. By applying the technical scheme, the problem that when interface aggregation operation is performed in a RPR system, and when failure occurs on one node on a certain annular link to result in the unavailability of the whole annular link, the network communication is influenced is avoided. Network communication is carried out in a branched failure link through establishing a virtual aggregation sub-interface according to a failure node so that the reliability of the RPR link is improved.

Description

A kind of communication means of RPR looped network and equipment
Technical field
The present invention relates to communication technical field, particularly a kind of communication means of RPR looped network and equipment.
Background technology
RPR (Resilient Packet Ring, elasticity Packet Based Network) is a kind of looped network technology.
Compare with early stage Token Ring (token-ring network), FDDI looped networks such as (Fiber Distributed Data Interface, Fiber Distributed Data Interfaces), very strong advantage arranged, be mainly reflected in following some:
1) loop bandwidth utilance height
As shown in Figure 1, four RPR nodes have been formed a two-way RPR looped network, and it is professional that two rings can be used for transmitting data service and control; For the unicast service on the ring, employing be that destination address is peeled off, peel off with original source address and compare, after business arrives destination node, no longer take the bandwidth on the ring, effectively saved bandwidth; Duplicate at forward node for multicast frame and broadcast frame, peel off after getting back to source node, on ring to duplicate the time that needs very little, can finish rapidly and duplicate, at each forward node, business can not stop for a long time.
2) fault self-recovery
The RPR ring is applied to the net of high bandwidth requirements; continuously-running to business requires very high; if occurred opening circuit on the ring, RPR ring can be realized fault self-recovery in 50ms, even this carrier-class guard time makes the business on the ring also can not be affected running into when opening circuit.What realize the fault self-recovery employing is steer (manipulation) protection and wrap (winding) protection of RPR, and wherein, the wrap pattern is by realizing service protection at fault neighbors service loop; The steer pattern is to select ring to realize service protection again by encircling node.
3) fairness algorithm, the Bandwidth Management of realization looped network
So-called justice is exactly that each node can insert according to the weight that the user sets, and is not having the congested situation that gets, and each node can insert by weight limit, and each node justice is got weight; If occurred congestedly on the ring, fairness algorithm can be realized congested controlled, guarantees that simultaneously node justice access service in the congested territory is to the RPR ring.
4) topological automatic discovering
Support plug and play, occur new node or deletion new node on the ring, the RPR ring gets access to the situation of change that ring is gone up node by the TP frame of regular transmission, triggering topological database upgrades, and notify other each nodes, make each node learn the adding of new node, or the deletion of node.Each node obtains the content of new node by the TP frame of broadcasting.
5) professional classification
For example: the business that RPR will encircle is divided three classes, A/B/C, and wherein, the priority of A service is the highest, and C is minimum, and RPR carries out the high-priority service bandwidth reserved is sent.
In the prior art, in order to realize RPR network service, mainly be to dispose the individual RPR logic interface of N (N 〉=2) on each node in the RPR looped network, be used for inserting respectively N separate RPR logic box; By N RPR logic interface on each described node of link aggregation respectively flow on it is carried out load balancing, and carry out link switchover when arbitrary described RPR logic interface breaks down on arbitrary described node.By using RPR and link aggregation technology simultaneously, not only solved the Single Point of Faliure problem in the RPR looped network simply, efficiently, also increased the transmission bandwidth of described RPR looped network simultaneously.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
In existing technical scheme, when certain node failure in certain RPR ring, then whole RPR ring is unavailable.
As shown in Figure 2, when S2 (expression RPR node 2, in this article, for convenience of description, represent RPR node n with Sn, Rn presentation logic mouth n, ringn represent to be numbered the RPR ring of n, describe according to this rule equally hereinafter, repeated description no longer) logic interface (and the logic interface 3 of ring3 in the represented RPR node 2, when R3) sending fault, then S1, S4, the represented RPR node of S3 can not use ring3, have caused the waste of resource.
Summary of the invention
The invention provides a kind of communication means and equipment of RPR looped network, all disabled problem of full annular link occurs under the situation of node failure in order to solve in the RPR network.
For achieving the above object, one aspect of the present invention provides a kind of communication means of RPR looped network, and described method may further comprise the steps at least:
Website is determined according to the malfunctioning node information obtained on the ring of another website of having only a malfunctioning node in the described looped network and being arranged in described looped network;
Described website is provided with polymerization interface and virtual polymerization sub-interface, and wherein, described polymerization interface comprises the logic interface of all these end nodes, and described virtual polymerization sub-interface comprises the logic interface that is positioned at this end node of different rings with described malfunctioning node;
Described website transmits unicast message by described polymerization interface and the website that does not comprise described malfunctioning node, and by described virtual polymerization sub-interface and the website that comprises described malfunctioning node transmit unicast message and with looped network in all websites transmit multicast message or broadcasting packets.
Preferably, when on the different rings that described website is determined two above malfunctioning nodes to be arranged in the described looped network and be arranged in described another website of looped network according to the malfunctioning node information of obtaining, described method also comprises:
Described website is provided with polymerization interface and virtual polymerization sub-interface, and wherein, described polymerization interface comprises the logic interface of all these end nodes, and described virtual polymerization sub-interface comprises the logic interface that is positioned at other these end nodes of different rings with described malfunctioning node;
Described website transmits unicast message by described polymerization interface and the website that does not comprise described malfunctioning node, and by described virtual polymerization sub-interface and the website that comprises described malfunctioning node transmit unicast message and with looped network in all websites transmit multicast message or broadcasting packets.
Preferably, when described website was determined on the different rings of two websites two malfunctioning nodes being arranged in the described looped network and be arranged in described looped network according to the malfunctioning node information of obtaining, described method also comprised:
Described website is provided with polymerization interface, the first polymerization sub-interface, second polymerization sub-interface and the trimerization sub-interface, wherein, described polymerization interface comprises the logic interface of all these end nodes, the described first polymerization sub-interface comprises the logic interface that is positioned at this end node of different rings with a malfunctioning node, the described second polymerization sub-interface comprises the logic interface that is positioned at this end node of different rings with another malfunctioning node, and described trimerization sub-interface comprises the logic interface that all is positioned at this end node of different rings with two malfunctioning nodes;
Described website transmits unicast message by described polymerization interface and other websites that does not comprise described malfunctioning node, transmit unicast message with the different websites that comprise malfunctioning node respectively by described first polymerization sub-interface or the described second polymerization sub-interface, and transmit multicast message or broadcasting packet by all websites in described trimerization sub-interface and the looped network.
Preferably, when on the more than one ring that described website is determined a malfunctioning node to be arranged in the described looped network and be positioned at described website local terminal according to the malfunctioning node information of obtaining, described method also comprises:
Described website is provided with the polymerization interface, and described polymerization interface comprises the logic interface that is positioned at this end node of different rings with described malfunctioning node;
Described website transmits unicast message, multicast message or broadcasting packet by described polymerization interface and other websites that does not comprise malfunctioning node.
Preferably, when described website determined in the described looped network two malfunctioning nodes are arranged according to the fault logic message breath that obtains and be positioned on the different rings of described website local terminal and another website, described method also comprised:
Described website is provided with polymerization interface and virtual polymerization sub-interface, wherein, described polymerization interface comprises the logic interface that is positioned at this end node on the different rings with the local terminal malfunctioning node, and described virtual polymerization sub-interface comprises the logic interface that is positioned at this end node on the different rings with two malfunctioning nodes;
Described website transmits unicast message by the website that described polymerization interface and other do not comprise malfunctioning node, by described virtual polymerization sub-interface and the website that comprises another malfunctioning node transmit unicast message and with looped network in all websites transmit multicast message or broadcasting packets.
Preferably, described method further comprises:
Described website determines that according to the malfunctioning node recovering information of obtaining all malfunctioning nodes recover normal;
Described website is deleted described virtual polymerization sub-interface.
Preferably, described method further comprises,
Described website determines that according to the malfunctioning node recovering information of obtaining an above node in all malfunctioning nodes recovers normal;
Described website will be positioned at the logic interface of this end node of identical ring with the normal node of recovery, add corresponding virtual subnet polymerization interface to;
Described website judges whether the virtual polymerization sub-interface after adding comprises identical this end node logic interface with polymerization interface or other un-added virtual polymerization sub-interfaces, if judged result is for being, then delete the virtual polymerization sub-interface after the described interpolation, if judged result, then keeps the virtual polymerization sub-interface after the described interpolation for not.
Preferably, described method further comprises,
Described website determines that according to the malfunctioning node recovering information of obtaining an above node in the local terminal malfunctioning node recovers normal;
Described website adds the logic interface that recovers normal node to described polymerization interface.
Preferably, described method further comprises,
Described website determines that according to the malfunctioning node recovering information of obtaining the malfunctioning node of local terminal malfunctioning node and/or other websites recovers normal;
Described website will recover the logic interface of normal node with local terminal, add described polymerization interface to, and/or will recover the logic interface that normal node is positioned at this end node on the identical ring with other websites, add described virtual polymerization sub-interface to;
Described website is judged the logic interface of this identical the end node whether virtual polymerization sub-interface after polymerization interface and the interpolation after adding comprises, if judged result is for being, then delete the virtual polymerization sub-interface after the described interpolation, if judged result, then keeps the virtual polymerization sub-interface after the described interpolation for not.
On the other hand, the present invention also provides a kind of RPR looped network website, comprising:
Acquisition module, whether each website that is used for detecting looped network exists malfunctioning node, and when breaking down node, obtains the information of described malfunctioning node;
Determination module is connected with described acquisition module, is used for the information of the malfunctioning node that obtains according to described acquisition module, determines the quantity and the position of described malfunctioning node;
Module is set, is connected, be used for quantity and position, polymerization interface and virtual polymerization sub-interface are set according to the determined described malfunctioning node of described determination module with described determination module;
Communication module is connected with the described module that is provided with, and is used for transmitting message by described other websites that the set polymerization interface of module and virtual polymerization sub-interface and looped network are set.
Preferably, the described module that is provided with, be used for when described determination module determines that described looped network has only a malfunctioning node and is arranged on the ring of another website of described looped network, polymerization interface and virtual polymerization sub-interface are set, wherein, described polymerization interface comprises the logic interface of all these end nodes, and described virtual polymerization sub-interface comprises the logic interface that is positioned at this end node of different rings with described malfunctioning node;
Described communication module, be used for transmitting unicast message by described polymerization interface that the module setting is set and the website that does not comprise described malfunctioning node, and by described virtual polymerization sub-interface and the website that comprises described malfunctioning node transmit unicast message and with looped network in all websites transmit multicast message or broadcasting packets.
Preferably, the described module that is provided with, be used for when described determination module determines that described looped network has two above malfunctioning nodes and is arranged on the different rings of described another website of looped network, polymerization interface and virtual polymerization sub-interface are set, wherein, the polymerization interface comprises the logic interface of all these end nodes, and described virtual polymerization sub-interface comprises the logic interface that is positioned at this end node of different rings with described malfunctioning node;
Described communication module, transmit unicast message by described polymerization interface and the website that does not comprise described malfunctioning node, and by described virtual polymerization sub-interface and the website that comprises described malfunctioning node transmit unicast message and with looped network in all websites transmit multicast message or broadcasting packets.
Preferably, the described module that is provided with, be used for when described determination module determines that described looped network has two malfunctioning nodes and is arranged on the different rings of two websites of described looped network, the described module that is provided with is provided with the polymerization interface, the first polymerization sub-interface, second polymerization sub-interface and the trimerization sub-interface, wherein, described polymerization interface comprises the logic interface of all these end nodes, the described first polymerization sub-interface comprises the logic interface that is positioned at this end node of different rings with a malfunctioning node, the described second polymerization sub-interface comprises the logic interface that is positioned at this end node of different rings with another malfunctioning node, and described trimerization sub-interface comprises the logic interface that all is positioned at this end node of different rings with two malfunctioning nodes;
Described communication module, transmit unicast message by described polymerization interface and other websites that does not comprise described malfunctioning node, transmit unicast message with the different websites that comprise malfunctioning node respectively by described first polymerization sub-interface or the described second polymerization sub-interface, and transmit multicast message or broadcasting packet by all websites in described trimerization sub-interface and the looped network.
Preferably, the described module that is provided with, be used for when described determination module determines that described looped network has a malfunctioning node and is positioned on the more than one ring of described website local terminal the polymerization interface being set, described polymerization interface comprises the logic interface that is positioned at this end node of different rings with described malfunctioning node;
Described communication module transmits unicast message, multicast message or broadcasting packet by described polymerization interface and other websites that does not comprise malfunctioning node.
Preferably, the described module that is provided with, be used for when described determination module determines that described looped network has two malfunctioning nodes and is positioned on the different rings of described website local terminal and another website, polymerization interface and virtual polymerization sub-interface are set, wherein, described polymerization interface comprises the logic interface that is positioned at this end node on the different rings with the local terminal malfunctioning node, and described virtual polymerization sub-interface comprises the logic interface that is positioned at this end node on the different rings with two malfunctioning nodes
Described communication module, the website that does not comprise malfunctioning node by described polymerization interface and other transmits unicast message, by described virtual polymerization sub-interface and the website that comprises another malfunctioning node transmit unicast message and with looped network in all websites transmit multicast message or broadcasting packets.
Preferably, described acquisition module also is used to obtain the malfunctioning node recovering information;
Described determination module also is used for the malfunctioning node recovering information obtained according to described acquisition module, determines to recover the position and the quantity of normal malfunctioning node.
Preferably, also comprise interpolation module, judge module and removing module:
Described interpolation module, be connected with described determination module, be used for when described determination module determines to recover normal malfunctioning node for this end node, the logic interface that recovers on the ring of normal this end node place is keyed in the polymerization interface, or be used for when described determination module determine to recover normal malfunctioning node for the node of other websites, with recover the logic interface that normal node is positioned at this end node on the identical ring and add corresponding virtual subnet polymerization interface to;
Described judge module is connected with described interpolation module, is used to judge whether the virtual polymerization sub-interface after described interpolation module is added comprises identical logic interface with polymerization interface or other un-added virtual polymerization sub-interfaces;
Described removing module, be connected with described judge module with described determination module, the described module that is provided with, be used for determining that at described determination module all malfunctioning nodes recover just often, delete the described set virtual polymerization sub-interface of module that is provided with, or when described judge module judges that virtual polymerization sub-interface after adding comprises identical logic interface with polymerization interface or other un-added virtual polymerization sub-interfaces, delete the virtual polymerization sub-interface after the described interpolation.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention, solved when realizing the interface converging operation in the RPR system, when a node on certain annular link breaks down, cause the full annular link unavailable, influence the problem of network service, by set up the mode of corresponding virtual polymerization sub-interface according to malfunctioning node, in minute faulty link, carry out network service, improve the reliability of RPR link.
Description of drawings
Fig. 1 is a kind of RPR network of network structural representation in the prior art;
Fig. 2 is the schematic network structure under the situation that a kind of RPR network breaks down in the prior art;
Fig. 3 is the schematic flow sheet of the communication means of a kind of RPR looped network proposed by the invention;
Fig. 4 is the schematic flow sheet of the communication means of the RPR looped network in a kind of concrete application scenarios proposed by the invention;
Fig. 5 is the structural representation of the RPR network in a kind of concrete application scenarios proposed by the invention;
Fig. 6 is the structural representation of the RPR network in a kind of concrete application scenarios proposed by the invention;
Fig. 7 is the structural representation of a kind of RPR node proposed by the invention.
Embodiment
As stated in the Background Art, in order to solve prior art problems, the objective of the invention is to design a kind of aggregation scheme, make when some RPR node failure, other links on the same ring can continue to use, and increase reliability, improve bandwidth utilization.
The present invention just is being based on the communication means that this purpose has proposed a kind of RPR looped network, and as shown in Figure 3, the schematic flow sheet of the communication means of a kind of RPR looped network that proposes for the present invention specifically may further comprise the steps:
Step S301, website determine according to the malfunctioning node information of obtaining on the ring of another website of having only a malfunctioning node in the looped network and being arranged in looped network.
Step S302, website are provided with polymerization interface and virtual polymerization sub-interface.
Wherein, the polymerization interface comprises the logic interface of all these end nodes, and virtual polymerization sub-interface comprises the logic interface that is positioned at this end node of different rings with malfunctioning node.
Step S303, website transmit unicast message by polymerization interface and the website that does not comprise malfunctioning node, and by virtual polymerization sub-interface and the website that comprises malfunctioning node transmit unicast message and with looped network in all websites transmit multicast message or broadcasting packets.
It is to be noted, above-mentioned step S301 is to have only a malfunctioning node in the looped network to step S303 description, and be arranged in the situation on the ring of another website of looped network, in the practical application scene, the situation that may occur in the looped network is like this incessantly, therefore, above-mentioned situation is described as situation one, it is as follows that the present invention further specifies other situations:
Situation two, when on the different rings that website is determined two above malfunctioning nodes to be arranged in the looped network and be arranged in another website of looped network according to the malfunctioning node information obtained, processing procedure is:
Website is provided with polymerization interface and virtual polymerization sub-interface, and wherein, the polymerization interface comprises the logic interface of all these end nodes, and virtual polymerization sub-interface comprises the logic interface that is positioned at other these end nodes of different rings with malfunctioning node;
Website transmits unicast message by polymerization interface and the website that does not comprise malfunctioning node, and by virtual polymerization sub-interface and the website that comprises malfunctioning node transmit unicast message and with looped network in all websites transmit multicast message or broadcasting packets.
Situation three, when website is determined on the different rings of two websites two malfunctioning nodes being arranged in the looped network and be arranged in looped network according to the malfunctioning node information obtained, processing procedure is:
Website is provided with polymerization interface, the first polymerization sub-interface, second polymerization sub-interface and the trimerization sub-interface, wherein, the polymerization interface comprises the logic interface of all these end nodes, the first polymerization sub-interface comprises the logic interface that is positioned at this end node of different rings with a malfunctioning node, the second polymerization sub-interface comprises the logic interface that is positioned at this end node of different rings with another malfunctioning node, and the trimerization sub-interface comprises the logic interface that all is positioned at this end node of different rings with two malfunctioning nodes;
Website transmits unicast message by polymerization interface and other websites that does not comprise malfunctioning node, transmit unicast message with the different websites that comprise malfunctioning node respectively by the first polymerization sub-interface or the second polymerization sub-interface, and transmit multicast message or broadcasting packet by all websites in trimerization sub-interface and the looped network.
Situation four, when on the more than one ring that website is determined a malfunctioning node to be arranged in the looped network and be positioned at the website local terminal according to the malfunctioning node information obtained, processing procedure is:
Website is provided with the polymerization interface, and the polymerization interface comprises the logic interface that is positioned at this end node of different rings with malfunctioning node;
Website transmits unicast message, multicast message or broadcasting packet by polymerization interface and other websites that does not comprise malfunctioning node.
Situation five, when website determines in the looped network two malfunctioning nodes are arranged according to the fault logic message obtained breath and be positioned on the different rings of website local terminal and another website, processing procedure is:
Website is provided with polymerization interface and virtual polymerization sub-interface, and wherein, the polymerization interface comprises the logic interface that is positioned at this end node on the different rings with the local terminal malfunctioning node, and virtual polymerization sub-interface comprises the logic interface that is positioned at this end node on the different rings with two malfunctioning nodes;
Website transmits unicast message by the website that polymerization interface and other do not comprise malfunctioning node, by virtual polymerization sub-interface and the website that comprises another malfunctioning node transmit unicast message and with looped network in all websites transmit multicast message or broadcasting packets.
Processing by five kinds of above-mentioned situations, corresponding polymerization interface and virtual sub-interface have been set up in the looped network, can carry out the transmission of clean culture, multicast or broadcasting packet by such interface between each website, and can not be subjected to the influence of malfunctioning node, the present invention further illustrates the fault recovery processing procedure afterwards of malfunctioning node, according to the situation difference of the malfunctioning node that recovers, concrete processing procedure equally also is divided into following several situation:
If situation one website determines that according to the malfunctioning node recovering information of obtaining all malfunctioning nodes that are arranged in other website of looped network recover normal, this website is deleted virtual polymerization sub-interface.
Situation two, corresponding aforesaid polymerization interface and virtual sub-interface set up situation two and situation three in the process, if website is according to the malfunctioning node recovering information of obtaining, determine that an above node in all malfunctioning nodes recovers normal, if this node is certain node on the website local terminal, then this website adds the polymerization interface with the logic interface on this node place ring, if this node is in the looped network during certain node on other websites, with with recover the logic interface that normal node is positioned at this end node on the identical ring and add corresponding virtual subnet polymerization interface to, this website judges whether the virtual polymerization sub-interface after adding comprises identical this end node logic interface with polymerization interface or other un-added virtual polymerization sub-interfaces, if judged result is for being, virtual polymerization sub-interface after then deletion is added, if judged result then keeps the virtual polymerization sub-interface after adding for not.
The situation four in the process set up of situation three, corresponding aforesaid polymerization interface and virtual sub-interface, if website determines that according to the malfunctioning node recovering information of obtaining an above node in the local terminal malfunctioning node recovers normal, this website adds the logic interface that recovers normal node to the polymerization interface.
The situation five in the process set up of situation four, corresponding aforesaid polymerization interface and virtual sub-interface, if website is according to the malfunctioning node recovering information of obtaining, the malfunctioning node of determining local terminal malfunctioning node and/or other websites recovers normal, this website will recover the logic interface of normal node with local terminal, add the polymerization interface to, and/or will recover the logic interface that normal node is positioned at this end node on the identical ring with other websites, add virtual polymerization sub-interface to;
The logic interface of this identical the end node whether virtual polymerization sub-interface after the polymerization interface after website judge to add and the interpolation comprises, if judged result is for being, virtual polymerization sub-interface after then deletion is added is if judged result then keeps the virtual polymerization sub-interface after adding for not.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention, solved when realizing the interface converging operation in the RPR system, when a node on certain annular link breaks down, cause the full annular link unavailable, influence the problem of network service, by set up the mode of corresponding virtual polymerization sub-interface according to malfunctioning node, in minute faulty link, carry out network service, improve the reliability of RPR link.
In order further to set forth technological thought of the present invention, existing in conjunction with concrete application scenarios, technical scheme of the present invention is described.
Be example equally with as shown in Figure 1 application scenarios, comprise S1, S2, four websites of S3, S4 in the RPR looped network, be connected by three annular links of ring1, ring2 and ring3 (being previously described ring) between each website, logic interface with the corresponding RPR node of each annular link on each website is respectively R1, R2 and R3, setting up the polymerization interface on each website respectively is L1, wherein, L1 comprises R1, R2 and R3 simultaneously.
As shown in Figure 2, when the node of the last ring3 of website S2 breaks down (the logic interface R3 on the website S2 can't connect), on the polymerization interface on S1, S3, the S4, increase the virtual polymerization sub-interface of an inside.Because the processing on S1, S3, the S4 is identical, below be that example describes with the processing procedure of website S1.
Specifically as shown in Figure 4, the schematic flow sheet for the communication means of the RPR looped network under a kind of concrete application scenarios proposed by the invention specifically may further comprise the steps:
Set up virtual polymerization sub-interface among step S401, the website S1.
At first, the RPR logic interface of the ring1 on the website S1, ring2, the pairing node of ring3 is R1, R2 and R3, and the polymerization interface that comprises above-mentioned three logic interfaces is L1, further increases a virtual polymerization sub-interface L1.1 in this step.
The member interface of L1 is logic interface R1, logic interface R2 and logic interface R3, and the member interface of L1.1 has only the logic interface R1 and the logic interface R2 of normal node place ring among the website S1, does not promptly comprise the logic interface R3 that is positioned at identical ring among the website S1 with the malfunctioning node of website S2 among the L1.1.
Be that logic interface R1, logic interface R2 add polymerization interface L1 and virtual polymerization sub-interface L1.1 simultaneously, and logic interface R3 only add L1.
The virtual polymerization sub-interface node state that to be website encircle on each website according to RPR is created and deletion automatically, creates when the node of a website on certain ring breaks down, and deletes when the fault recovery of this malfunctioning node.
Virtual polymerization sub-interface is that inner the realization used, and the user is invisible.Why be called virtual polymerization sub-interface and be exactly because this virtual polymerization sub-interface user is invisible, and have identical member interface with original polymerization interface.
Internal virtual polymerization sub-interface is that website is created automatically according to the situation of RPR aggregation group interior nodes, when finding that certain RPR ring occurs down that node hinders for some reason and establishment when disappearing; Deletion this virtual polymerization sub-interface when the fault recovery of the node that disappears, the node disappearance in some RPR rings are actually that corresponding logic interface cisco unity malfunction causes owing to encircling with this RPR on this RPR node.
Step S402, website S1 carry out the MAC address learning of other nodes.
When carrying out MAC address learning on the website S1, need to judge that message is which website is come, and handle accordingly according to judged result.
If the message of study MAC Address is to come from website S3 or website S4, then the outgoing interface of MAC Address is set to L1; If the message of study MAC Address is to come from website S2, then the outgoing interface of MAC Address is set to L1.1.
But when the user was shown, the outgoing interface unification was shown as L1, and promptly the interior polymeric sub-interface is invisible to the user.
Concrete, website is to judge according to the SMAC address of RPR head in the message that receives message is from which website to come.
Step S403, website S1 carry out the ARP study of other nodes.
When carrying out ARP study on the website S1, need to judge that message is which website is come, and handle accordingly according to judged result.
If the message of study ARP is to come from website S3 or website S4, then the outgoing interface of ARP list item is set to L1; If the message of study ARP is to come from website S2, then the outgoing interface of ARP list item is set to L1.1.
But when the user was shown, the outgoing interface unification was shown as L1, and promptly the interior polymeric interface is invisible to the user.
Concrete, website is to judge according to the SMAC address of RPR head in the message that receives message is from which website to come.
It is pointed out that above-mentioned step S402 and step S403 do not have the differentiation of sequencing, sequence number does not influence the variation of execution sequence just for convenience of explanation.
By above-mentioned step S402 and S403, website S1 has set up the forwarding-table item of other each websites in the system.
The type of each message that step S404, website S1 identification receives.
If unicast message, then execution in step S405;
If multicast message or broadcasting packet, then execution in step S406.
Step S405, transmit according to MAC Address list item, ARP list item.
When needing to transmit two layers of unicast message or three layers of unicast message on the website S1, then inquire about MAC Address list item or ARP list item, select to transmit according to the outgoing interface of list item from polymerization interface L1 or virtual polymerization sub-interface L1.1.
If the outgoing interface of list item is polymerization interface L1, then to describe as can be known according to above-mentioned setting, the message of this list item study is to come from website S3 or website S4, therefore, can share ring1, ring2, ring3 when transmitting on polymerization interface L1.
If the outgoing interface of list item is virtual polymerization sub-interface L1.1, then describe as can be known according to above-mentioned setting, the message of this list item study is to come from website S2, therefore, when on virtual polymerization sub-interface L1.1, transmitting, only can share ring1 and ring2, avoid the ring3 at the pairing logic interface R3 of malfunctioning node place, thereby, guarantee that website S2 can receive message.
Step S406, multicast, broadcasting packet are only transmitted from virtual polymerization sub-interface.
When needing forwarding multicasting or broadcasting packet on the website S1, owing to need to guarantee that message can receive from website S2, therefore, multicast or broadcasting packet can only be transmitted from virtual polymerization sub-interface L1.1, promptly share on ring1 and ring2.And, can not transmit from polymerization interface L1 again, otherwise other websites in the looped network will be received 2 parts of messages when virtual polymerization sub-interface L1.1 transmits.
On the specific implementation, guarantee that the method that multicast, broadcast traffic are only transmitted is on virtual polymerization sub-interface L1.1:
1) when being supported in this RPR looped network when directly forbidding being provided with of multicast, broadcast traffic on the polymerization interface, forbids on polymerization interface L1 that then multicast, broadcast traffic get final product.
2) when in this RPR looped network by multicast, broadcast interface tabulation carrying out multicast, when broadcast traffic is transmitted, then earlier the logic interface in the polymerization interface L1 is rejected from multicast, broadcast interface tabulation, again the logic interface in the virtual polymerization sub-interface L1.1 is added multicast, broadcast interface tabulation.
3) if three layers of multicast then because original related aggregation group is polymerization interface L1, need be updated to virtual polymerization sub-interface L1.1 at this moment.If adopt the form of interface list, then logic interface R3 (being the logic interface that differs between L1 and the L1.1) rejecting is got final product.
Whether step S407, failure judgement are recovered.
If do not recover, return step S404;
If recover, execution in step S408.
Step S408, website S1 delete virtual polymerization sub-interface.
Above flow process is to be that example describes with website S1, because website S3 and website S4 do not have fault to take place equally, so, corresponding flow process equally as shown in Figure 4, in this no longer repeat specification, but for website S2, because fault has taken place the logic interface on the node wherein, this logic interface can not normally carry out Business Processing again, so, polymerization interface among the website S2 directly changes to the L1 of logic interface R1 and logic interface R2 composition, therefore, because variation has taken place in the member interface itself in the polymerization interface, therefore, adopt the quick handover mechanism of existing polymerization to get final product, need not other modifications.
And on website S1, website S3 and the website S4,, therefore, need carry out extra process if realize quick switching because aggregation group changes.At first, the node failure that detects the corresponding ring3 of website S2 on website S1, website S3, website S4 (is the pairing node failure of logic interface R3 on the S2, this detection can be responded to fast by the RPR change in topology), then immediately the outgoing interface of all MAC, ARP and multicast list is updated to virtual polymerization sub-interface L1.1.
Because virtual polymerization sub-interface L1.1 is complete ring, so flow guarantees and can pass through.If what multicast adopted is the form of interface table, then logic interface R3 rejecting is got final product.
Then, trigger relearning of MAC, ARP at website S1, website S3, website S4.Relearning of MAC can realize by the MAC Address that the deletion aggregation port is learnt down.Relearning of ARP can ask to realize by initiate ARP on virtual polymerization sub-interface L1.1.
At last, adopt the mode of aforesaid step S402 and step S403 to relearn MAC and ARP list item, the outgoing interface of MAC and ARP is learnt respectively on virtual polymerization sub-interface L1 or L1.1 polymerization interface according to the situation of source node, guarantee flow can by and also can be on the fault ring load balancing.
When malfunctioning node recovers, it is the fault recovery of the malfunctioning node on the website S2, when logic interface R3 place website occurs in ring3 again, the MAC Address list item that website S1, website S3, website S4 upward learn virtual polymerization sub-interface L1.1 and the outgoing interface of ARP list item are updated to polymerization interface L1, delete virtual polymerization sub-interface L1.1 then.Multicast list then upgrades outgoing interface to be polymerization interface L1 or to increase logic interface R3 as outgoing interface.
In concrete application scenarios, often there is the situation of a plurality of faults.
Wherein, when two nodes on the different ring of being positioned at of same website broke down, corresponding handling process was as follows:
As shown in Figure 5, the node of website S2 on ring2 and ring3 all breaks down, and be then the same with aforementioned flow process, creates internal virtual polymerization sub-interface L1.1 on website S1, website S3, website S4, and the member interface of L1.1 has only logic interface R1.The foundation of L1.1 is actually in order to guarantee to avoid pairing logic interface R2 of malfunctioning node and logic interface R3, thereby, make website S1, website S3, website S4 send corresponding discharge to website S2 smoothly.
The study situation of MAC Address and ARP list item is with aforesaid step S402 and step S403.If the message of study MAC Address and ARP list item is to come from website S3 and website S4, then the outgoing interface with corresponding M AC address and ARP list item is L1, promptly use L1 to send message to website S3 and website S4, if the message of study MAC Address and ARP list item is to come from website S2, then the outgoing interface with corresponding M AC address and ARP list item is L1.1, promptly uses L1.1 to send message to website S2.
Multicast or broadcasting packet are still selected to transmit from L1.1, and forbid transmitting from L1.Just, the member interface of L1.1 has only logic interface R1 at this moment.
Situation on website S3, the website S4 then need not to create virtual polymerization sub-interface with website S1 on the website S2, only the member interface in the configuration polymerization interface on the website need be adjusted into the R1 gating, gets final product as the polymerization interface that is provided with on this website.
Wherein, when the fault recovery of the pairing node of logic interface R2 among the website S2, the member interface of L1.1 among website S1, website S3 and the website S4 is adjusted into logic interface R1 and logic interface R2, the member interface of L1 among the website S2 is adjusted into logic interface R1 and logic interface R2 gating, get final product as the polymerization interface that is provided with on this website, when the fault recovery of the pairing node of logic interface R3, processing procedure similarly.
It is to be noted, in two kinds of above-mentioned situations, because the node that breaks down all is positioned on the website S2, therefore, virtual polymerization sub-interface is not set on the S2, but according to the situation of fault recovery, which logic interface of gating need be adjusted according to failure condition as member interface in the polymerization interface.
In addition, if the fault of logic interface R2 and the pairing node of logic interface R3 is all recovered, then delete L1.1 among website S1, website S3 and the website S4, the member interface of the L1 among the website S2 is adjusted into logic interface R1, logic interface R2 and logic interface R3.
Under the another kind of situation, when the node that is positioned on the different rings breaks down, and two nodes are on same website the time, and corresponding handling process is as follows:
As shown in Figure 6, website S2 is in node (the pairing node of the logic interface R3) fault of ring3, and website S3 then handles as follows respectively according to the different situations of each node in node (the pairing node of the logic interface R1) fault of ring1 this moment simultaneously:
(1) website S1 goes up needs to create three virtual polymerization sub-interface L1.1, L1.2 and L1.3, specifies as follows:
The member interface that L1.1 comprises is logic interface R1 and logic interface R2, assurance is avoided website S2 and go up the node (the pairing node of logic interface R3) that breaks down on ring3, thereby, can send corresponding discharge to website S2 smoothly, can think that L1.1 is corresponding with website S2, be the interface of website S1 in order to be provided with to website S2 transmission message specially.
The member interface that L1.2 comprises is logic interface R2 and logic interface R3, assurance is avoided website S3 and go up the node (the pairing node of logic interface R1) that breaks down on ring1, thereby, can send corresponding discharge to website S3 smoothly, can think that L1.2 is corresponding with website S3, be the interface of website S1 in order to be provided with to website S3 transmission message specially.
The member interface that L1.3 comprises is logic interface R2, guaranteeing to avoid simultaneously website S2, to go up the node (the pairing node of logic interface R3) that breaks down at ring3 and website S3 last at the ring1 node (the pairing node of logic interface R1) that breaks down, thereby, can send corresponding discharge to website S2 and website S3 simultaneously smoothly, because there is fault in the node in the looped network among website S2 and the website S3, so, under the situation of the malfunctioning node of having avoided these two websites, can send corresponding discharge by all websites in looped network by L1.3, can think that promptly L1.3 is simultaneously corresponding with all websites, can be used for sending multicast.
In the learning process of MAC Address list item and ARP list item, the outgoing interface of MAC Address list item and ARP list item is provided with rule and is specially: if the received study MAC Address of website S1 and the message of ARP list item are come from website S2, then the outgoing interface of website S1 corresponding M AC address and ARP list item is set to L1.1; If the study MAC Address that website S1 is received and the message of ARP list item are come from website S3, then the outgoing interface of website S1 corresponding M AC address and ARP list item is set to L1.2; If the study MAC Address that website S1 is received and the message of ARP list item are come from website S4, then the outgoing interface of website S1 corresponding M AC address and ARP list item is set to L1; Because the ring among the L1.3 is complete ring, can arrive any website on the ring, so website S1 is provided with broadcasting packet and transmits from L1.3.
(2) because node (the pairing node of the logic interface R3) fault of self, website S2 deletes logic interface R3 in L1, only logic interface R1 and logic interface R2 are carried out gating, in addition, website S2 also need create 1 virtual polymerization sub-interface L1.1, member interface among the L1.1 is logic interface R2, when avoiding the malfunctioning node of self (the pairing node of logic interface R3), the malfunctioning node (the pairing node of logic interface R1) on the website S3 is avoided in assurance, thereby, can send corresponding discharge to website S3 simultaneously smoothly, therefore, can think that L1.1 is corresponding with website S3, it is the interface of website S2 in order to be provided with to website S3 transmission message specially, and, owing to have only the node on website S2 and the website S3 to have fault in the looped network, so, under the situation of the malfunctioning node of having avoided these two websites, be equivalent to send corresponding discharge by all websites in looped network, can think that promptly the L1.1 among the website S2 is simultaneously corresponding with all websites, can be used for sending multicast by L1.1.
In the learning process of MAC Address list item and ARP list item, the outgoing interface of MAC Address list item and ARP list item is provided with rule and is specially: if the received study MAC Address of website S2 and the message of ARP list item are to come from website S1 and website S4, then the outgoing interface of website S2 corresponding M AC address and ARP list item is set to L1; If the study MAC Address that website S2 is received and the message of ARP list item are to come from website S3, then the outgoing interface of website S2 corresponding M AC address and ARP list item is set to L1.1; Because the ring among the L1.1 is complete ring, can arrive any website on the ring, so website S2 is provided with broadcasting packet and transmits from L1.1.
(3) situation on the website S3 is with website S2, owing to self node (the pairing node of logic interface R1) fault, website S3 deletes logic interface R1 in L1, only logic interface R2 and logic interface R3 are carried out gating, in addition, website S3 also need create 1 virtual polymerization sub-interface L1.1, member interface among the L1.1 is logic interface R2, when avoiding the malfunctioning node of self (the pairing node of logic interface R1), the malfunctioning node (the pairing node of logic interface R3) on the website S2 is avoided in assurance, thereby, can send corresponding discharge to website S2 simultaneously smoothly, therefore, can think that L1.1 is corresponding with website S3, it is the interface of website S3 in order to be provided with to website S2 transmission message specially, and, owing to have only the node on website S2 and the website S3 to have fault in the looped network, so, under the situation of the malfunctioning node of having avoided these two websites, be equivalent to send corresponding discharge by all websites in looped network by L1.1, can think that promptly the L1.1 among the website S3 is simultaneously corresponding with all websites, can be used for sending multicast.
In the learning process of MAC Address list item and ARP list item, the outgoing interface of MAC Address list item and ARP list item is provided with rule and is specially: if the received study MAC Address of website S3 and the message of ARP list item are to come from website S1 and website S4, then the outgoing interface of website S3 corresponding M AC address and ARP list item is set to L1; If the study MAC Address that website S3 is received and the message of ARP list item are to come from website S2, then the outgoing interface of website S3 corresponding M AC address and ARP list item is set to L1.1; Because the ring among the L1.1 is complete ring, can arrive any website on the ring, so website S3 is provided with broadcasting packet and transmits from L1.1.
(4) the same S1 of the situation on the S4 creates three each and every one virtual polymerization sub-interface L1.1, L1.2 and L1.3, specifies as follows:
The member interface that L1.1 comprises is logic interface R1 and logic interface R2, the node (the pairing node of logic interface R3) that website S2 breaks down is avoided in assurance on ring3, thereby, can send corresponding discharge to website S2 smoothly, can think that L1.1 is corresponding with website S2, be the interface of website S4 in order to be provided with to website S2 transmission message specially.
The member interface that L1.2 comprises is logic interface R2 and logic interface R3, the interface node (the pairing node of logic interface R1) that breaks down in the node on the website S3 is avoided in assurance, thereby, can send corresponding discharge to website S3 smoothly, can think that L1.2 is corresponding with website S3, be the interface of website S4 in order to be provided with to website S3 transmission message specially.
The member interface that L1.3 comprises is logic interface R2, guarantee to avoid simultaneously website S2 at the node that breaks down on the ring3 (the pairing node of logic interface R3) and the website S3 node (the pairing node of logic interface R1) that on ring1, breaks down, thereby, can send corresponding discharge to website S2 and website S3 simultaneously smoothly.Owing to have only the node among website S2 and the website S3 to have fault in the looped network, so, under the situation of the malfunctioning node of having avoided these two websites, be equivalent to send corresponding discharge by all websites in looped network by L1.3, can think that promptly L113 is simultaneously corresponding with all websites, can be used for sending multicast.
In the learning process of MAC Address list item and ARP list item, the outgoing interface of MAC Address list item and ARP list item is provided with rule and is specially: if the received study MAC Address of website S4 and the message of ARP list item are come from website S2, then the outgoing interface of website S4 corresponding M AC address and ARP list item is set to L1.1; If the study MAC Address that website S4 is received and the message of ARP list item are come from website S3, then the outgoing interface of website S4 corresponding M AC address and ARP list item is set to L1.2; If the study MAC Address that website S4 is received and the message of ARP list item are come from website S1, then the outgoing interface of website S4 corresponding M AC address and ARP list item is set to L1; Because the ring among the L1.3 is complete ring, can arrive any website on the ring, so website S4 is provided with broadcasting packet and transmits from L1.3.
Wherein, when the fault recovery of the node (logic interface R3 pairing node) of website S2 on ring3, deletion is provided with self among website S1 and the website S4 L1.1 and L1.3, the member interface that website S2 adjusts the L1 of self is logic interface R1, logic interface R2 and logic interface R3, and the member interface of virtual polymerization sub-interface L1.1 is adjusted into logic interface R2 and logic interface R3, the virtual polymerization sub-interface L1.1 of deletion is (because except the malfunctioning node of website S3 self among the website S3, no longer there have been other malfunctioning nodes in other websites in the looped network, no longer keep virtual polymerization sub-interface L1.1).
When the fault recovery of the node on the website S3 (the pairing node of logic interface R1), deletion is provided with self among website S1 and the website S4 virtual polymerization sub-interface L1.2 and L1.3, the member interface that website S3 adjusts the L1 of self is logic interface R1, logic interface R2 and logic interface R3, and the member interface of L1.1 is adjusted into logic interface R1 and logic interface R2, delete L1.1 among the website S2 (because except the malfunctioning node of website S2 self, no longer there have been other malfunctioning nodes in other websites in the looped network, no longer keep virtual polymerization sub-interface L1.1).
In concrete application scenarios, if on the ring more node failure is arranged, then can adopt the method in the aforementioned flow process to analogize processing, just the situation of fault is too complicated at this moment, has 2 at most nPlant situation (n is the fault number of ports).
The probability of considering the fault that occurs so a plurality of nodes simultaneously is very little, therefore, can the failure condition more than 2 not handled.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention, solved when realizing the interface converging operation in the RPR system, when a node on certain annular link breaks down, cause the full annular link unavailable, influence the problem of network service, by set up the mode of corresponding virtual polymerization sub-interface according to malfunctioning node, in minute faulty link, carry out network service, improve the reliability of RPR link.
In order to realize technical scheme of the present invention, the invention allows for a kind of RPR looped network website, its structural representation specifically comprises as shown in Figure 7:
Acquisition module 71, whether each website that is used for detecting looped network exists malfunctioning node, and when breaking down node, obtains the information of malfunctioning node.
Determination module 72 is connected with acquisition module 71, is used for the information of the malfunctioning node that obtained according to acquisition module 71, determines the quantity and the position of malfunctioning node.
Module 73 is set, is connected, be used for quantity and position, polymerization interface and virtual polymerization sub-interface are set according to determination module 72 determined malfunctioning nodes with determination module 72.
Communication module 74 and is provided with module 73 and is connected, and is used for transmitting messages by the set polymerization interface of module 73 and other websites of virtual polymerization sub-interface and looped network are set.
Wherein, in conjunction with concrete application scenarios, module 73 is set to be used for when determination module 72 determines that looped networks have only a malfunctioning node and are arranged on the ring of another website of looped network, polymerization interface and virtual polymerization sub-interface are set, wherein, the polymerization interface comprises the logic interface of all these end nodes, and virtual polymerization sub-interface comprises the logic interface that is positioned at this end node of different rings with malfunctioning node;
Communication module 74, be used for transmitting unicast message by module 73 polymerization interface that is provided with and the website that does not comprise malfunctioning node are set, and by virtual polymerization sub-interface and the website that comprises malfunctioning node transmit unicast message and with looped network in all websites transmit multicast message or broadcasting packets.
In the another kind of application scenarios, module 73 is set, be used for when determination module 72 determines that looped networks have two above malfunctioning nodes and are arranged on the different rings of another website of looped network, polymerization interface and virtual polymerization sub-interface are set, wherein, the polymerization interface comprises the logic interface of all these end nodes, and virtual polymerization sub-interface comprises the logic interface that is positioned at this end node of different rings with malfunctioning node;
Communication module 74 transmits unicast message by polymerization interface and the website that does not comprise malfunctioning node, and by virtual polymerization sub-interface and the website that comprises malfunctioning node transmit unicast message and with looped network in all websites transmit multicast message or broadcasting packets.
In the another kind of application scenarios, module 73 is set, be used for when determination module 72 determines that looped networks have two malfunctioning nodes and are arranged on the different rings of two websites of looped network, module 73 is set the polymerization interface is set, the first polymerization sub-interface, second polymerization sub-interface and the trimerization sub-interface, wherein, the polymerization interface comprises the logic interface of all these end nodes, the first polymerization sub-interface comprises the logic interface that is positioned at this end node of different rings with a malfunctioning node, the second polymerization sub-interface comprises the logic interface that is positioned at this end node of different rings with another malfunctioning node, and the trimerization sub-interface comprises the logic interface that all is positioned at this end node of different rings with two malfunctioning nodes;
Communication module 74, transmit unicast message by polymerization interface and other websites that does not comprise malfunctioning node, transmit unicast message with the different websites that comprise malfunctioning node respectively by the first polymerization sub-interface or the second polymerization sub-interface, and transmit multicast message or broadcasting packet by all websites in trimerization sub-interface and the looped network.
In the another kind of application scenarios, module 73 is set, be used for when determination module 72 determines that looped networks have a malfunctioning node and are positioned on the more than one ring of website local terminal the polymerization interface being set, the polymerization interface comprises the logic interface that is positioned at this end node of different rings with malfunctioning node;
Communication module 74 transmits unicast message, multicast message or broadcasting packet by polymerization interface and other websites that does not comprise malfunctioning node.
In the another kind of application scenarios, module 73 is set, be used for when determination module 72 determines that looped networks have two malfunctioning nodes and are positioned on the different rings of website local terminal and another website, polymerization interface and virtual polymerization sub-interface are set, wherein, the polymerization interface comprises the logic interface that is positioned at this end node on the different rings with the local terminal malfunctioning node, and virtual polymerization sub-interface comprises the logic interface that is positioned at this end node on the different rings with two malfunctioning nodes
Communication module 74, the website that does not comprise malfunctioning node by polymerization interface and other transmits unicast message, by virtual polymerization sub-interface and the website that comprises another malfunctioning node transmit unicast message and with looped network in all websites transmit multicast message or broadcasting packets.
By above-mentioned processing, corresponding polymerization interface and virtual sub-interface have been set up in the looped network, can carry out the transmission of clean culture, multicast or broadcasting packet by such interface between each website, and can not be subjected to the influence of malfunctioning node, RPR looped network website proposed by the invention further can be realized the fault recovery processing procedure afterwards of malfunctioning node, and concrete processing procedure is as follows:
Acquisition module 71 also is used to obtain the malfunctioning node recovering information.
Determination module 72 also is used for the malfunctioning node recovering information obtained according to acquisition module 71, determines to recover the position and the quantity of normal malfunctioning node.
On this basis, RPR looped network website also comprises interpolation module 75, judge module 76 and removing module 77.
Add module 75, be connected with determination module 72, be used for when determination module 72 determines to recover normal malfunctioning node for this end node, the logic interface that recovers on the ring of normal this end node place is keyed in the polymerization interface, or be used for when determination module 72 determines to recover normal malfunctioning node for the node of other websites, with recover the logic interface that normal node is positioned at this end node on the identical ring and add corresponding virtual subnet polymerization interface to.
Judge module 76 is connected with interpolation module 75, is used to judge whether the virtual polymerization sub-interface that adds after module 75 is added comprises identical logic interface with polymerization interface or other un-added virtual polymerization sub-interfaces.
Removing module 77, with determination module 72, module 73 be set be connected with judge module 76, be used for determining that at determination module 72 all malfunctioning nodes recover just often, deletion is provided with the set virtual polymerization sub-interface of module 73, or when judge module 76 judges that virtual polymerization sub-interface after adding comprises identical logic interface with polymerization interface or other un-added virtual polymerization sub-interfaces, the virtual polymerization sub-interface after the deletion interpolation.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention, solved when realizing the interface converging operation in the RPR system, when a node on certain annular link breaks down, cause the full annular link unavailable, influence the problem of network service, by set up the mode of corresponding virtual polymerization sub-interface according to malfunctioning node, in minute faulty link, carry out network service, improve the reliability of RPR link.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) each implements the described method of scene to carry out the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is a preferred schematic diagram of implementing scene, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device of implementing in the scene can be distributed in the device of implementing scene according to implementing scene description, also can carry out respective change and be arranged in the one or more devices that are different from this enforcement scene.The module of above-mentioned enforcement scene can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of implementing scene just to description.
More than disclosed only be several concrete enforcement scene 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 (17)

1. the communication means of a RPR looped network is characterized in that, described method may further comprise the steps at least:
Website is determined according to the malfunctioning node information obtained on the ring of another website of having only a malfunctioning node in the described looped network and being arranged in described looped network;
Described website is provided with polymerization interface and virtual polymerization sub-interface, and wherein, described polymerization interface comprises the logic interface of all these end nodes, and described virtual polymerization sub-interface comprises the logic interface that is positioned at this end node of different rings with described malfunctioning node;
Described website transmits unicast message by described polymerization interface and the website that does not comprise described malfunctioning node, and by described virtual polymerization sub-interface and the website that comprises described malfunctioning node transmit unicast message and with looped network in all websites transmit multicast message or broadcasting packets.
2. the method for claim 1 is characterized in that, when on the different rings that described website is determined two above malfunctioning nodes to be arranged in the described looped network and be arranged in described another website of looped network according to the malfunctioning node information of obtaining, described method also comprises:
Described website is provided with polymerization interface and virtual polymerization sub-interface, and wherein, described polymerization interface comprises the logic interface of all these end nodes, and described virtual polymerization sub-interface comprises the logic interface that is positioned at other these end nodes of different rings with described malfunctioning node;
Described website transmits unicast message by described polymerization interface and the website that does not comprise described malfunctioning node, and by described virtual polymerization sub-interface and the website that comprises described malfunctioning node transmit unicast message and with looped network in all websites transmit multicast message or broadcasting packets.
3. the method for claim 1 is characterized in that, when described website was determined on the different rings of two websites two malfunctioning nodes being arranged in the described looped network and be arranged in described looped network according to the malfunctioning node information of obtaining, described method also comprised:
Described website is provided with polymerization interface, the first polymerization sub-interface, second polymerization sub-interface and the trimerization sub-interface, wherein, described polymerization interface comprises the logic interface of all these end nodes, the described first polymerization sub-interface comprises the logic interface that is positioned at this end node of different rings with a malfunctioning node, the described second polymerization sub-interface comprises the logic interface that is positioned at this end node of different rings with another malfunctioning node, and described trimerization sub-interface comprises the logic interface that all is positioned at this end node of different rings with two malfunctioning nodes;
Described website transmits unicast message by described polymerization interface and other websites that does not comprise described malfunctioning node, transmit unicast message with the different websites that comprise malfunctioning node respectively by described first polymerization sub-interface or the described second polymerization sub-interface, and transmit multicast message or broadcasting packet by all websites in described trimerization sub-interface and the looped network.
4. the method for claim 1 is characterized in that, when on the more than one ring that described website is determined a malfunctioning node to be arranged in the described looped network and be positioned at described website local terminal according to the malfunctioning node information of obtaining, described method also comprises:
Described website is provided with the polymerization interface, and described polymerization interface comprises the logic interface that is positioned at this end node of different rings with described malfunctioning node;
Described website transmits unicast message, multicast message or broadcasting packet by described polymerization interface and other websites that does not comprise malfunctioning node.
5. the method for claim 1 is characterized in that, when described website determined in the described looped network two malfunctioning nodes are arranged according to the fault logic message breath that obtains and be positioned on the different rings of described website local terminal and another website, described method also comprised:
Described website is provided with polymerization interface and virtual polymerization sub-interface, wherein, described polymerization interface comprises the logic interface that is positioned at this end node on the different rings with the local terminal malfunctioning node, and described virtual polymerization sub-interface comprises the logic interface that is positioned at this end node on the different rings with two malfunctioning nodes;
Described website transmits unicast message by the website that described polymerization interface and other do not comprise malfunctioning node, by described virtual polymerization sub-interface and the website that comprises another malfunctioning node transmit unicast message and with looped network in all websites transmit multicast message or broadcasting packets.
6. as any described method in the claim 1 to 5, it is characterized in that described method further comprises:
Described website determines that according to the malfunctioning node recovering information of obtaining all malfunctioning nodes recover normal;
Described website is deleted described virtual polymerization sub-interface.
7. as claim 2 or 3 described methods, it is characterized in that described method further comprises,
Described website determines that according to the malfunctioning node recovering information of obtaining an above node in all malfunctioning nodes recovers normal;
Described website will be positioned at the logic interface of this end node of identical ring with the normal node of recovery, add corresponding virtual subnet polymerization interface to;
Described website judges whether the virtual polymerization sub-interface after adding comprises identical this end node logic interface with polymerization interface or other un-added virtual polymerization sub-interfaces, if judged result is for being, then delete the virtual polymerization sub-interface after the described interpolation, if judged result, then keeps the virtual polymerization sub-interface after the described interpolation for not.
8. method as claimed in claim 4 is characterized in that, described method further comprises,
Described website determines that according to the malfunctioning node recovering information of obtaining an above node in the local terminal malfunctioning node recovers normal;
Described website adds the logic interface that recovers normal node to described polymerization interface.
9. method as claimed in claim 5 is characterized in that, described method further comprises,
Described website determines that according to the malfunctioning node recovering information of obtaining the malfunctioning node of local terminal malfunctioning node and/or other websites recovers normal;
Described website will recover the logic interface of normal node with local terminal, add described polymerization interface to, and/or will recover the logic interface that normal node is positioned at this end node on the identical ring with other websites, add described virtual polymerization sub-interface to;
Described website is judged the logic interface of this identical the end node whether virtual polymerization sub-interface after polymerization interface and the interpolation after adding comprises, if judged result is for being, then delete the virtual polymerization sub-interface after the described interpolation, if judged result, then keeps the virtual polymerization sub-interface after the described interpolation for not.
10. a RPR looped network website is characterized in that, comprising:
Acquisition module, whether each website that is used for detecting looped network exists malfunctioning node, and when breaking down node, obtains the information of described malfunctioning node;
Determination module is connected with described acquisition module, is used for the information of the malfunctioning node that obtains according to described acquisition module, determines the quantity and the position of described malfunctioning node;
Module is set, is connected, be used for quantity and position, polymerization interface and virtual polymerization sub-interface are set according to the determined described malfunctioning node of described determination module with described determination module;
Communication module is connected with the described module that is provided with, and is used for transmitting message by described other websites that the set polymerization interface of module and virtual polymerization sub-interface and looped network are set.
11. RPR looped network website as claimed in claim 10, it is characterized in that, the described module that is provided with, be used for when described determination module determines that described looped network has only a malfunctioning node and is arranged on the ring of another website of described looped network, polymerization interface and virtual polymerization sub-interface are set, wherein, described polymerization interface comprises the logic interface of all these end nodes, and described virtual polymerization sub-interface comprises the logic interface that is positioned at this end node of different rings with described malfunctioning node;
Described communication module, be used for transmitting unicast message by described polymerization interface that the module setting is set and the website that does not comprise described malfunctioning node, and by described virtual polymerization sub-interface and the website that comprises described malfunctioning node transmit unicast message and with looped network in all websites transmit multicast message or broadcasting packets.
12. RPR looped network website as claimed in claim 10, it is characterized in that, the described module that is provided with, be used for when described determination module determines that described looped network has two above malfunctioning nodes and is arranged on the different rings of described another website of looped network, polymerization interface and virtual polymerization sub-interface are set, wherein, the polymerization interface comprises the logic interface of all these end nodes, and described virtual polymerization sub-interface comprises the logic interface that is positioned at this end node of different rings with described malfunctioning node;
Described communication module, transmit unicast message by described polymerization interface and the website that does not comprise described malfunctioning node, and by described virtual polymerization sub-interface and the website that comprises described malfunctioning node transmit unicast message and with looped network in all websites transmit multicast message or broadcasting packets.
13. RPR looped network website as claimed in claim 10, it is characterized in that, the described module that is provided with, be used for when described determination module determines that described looped network has two malfunctioning nodes and is arranged on the different rings of two websites of described looped network, the described module that is provided with is provided with the polymerization interface, the first polymerization sub-interface, second polymerization sub-interface and the trimerization sub-interface, wherein, described polymerization interface comprises the logic interface of all these end nodes, the described first polymerization sub-interface comprises the logic interface that is positioned at this end node of different rings with a malfunctioning node, the described second polymerization sub-interface comprises the logic interface that is positioned at this end node of different rings with another malfunctioning node, and described trimerization sub-interface comprises the logic interface that all is positioned at this end node of different rings with two malfunctioning nodes;
Described communication module, transmit unicast message by described polymerization interface and other websites that does not comprise described malfunctioning node, transmit unicast message with the different websites that comprise malfunctioning node respectively by described first polymerization sub-interface or the described second polymerization sub-interface, and transmit multicast message or broadcasting packet by all websites in described trimerization sub-interface and the looped network.
14. RPR looped network website as claimed in claim 10, it is characterized in that, the described module that is provided with, be used for when described determination module determines that described looped network has a malfunctioning node and is positioned on the more than one ring of described website local terminal, the polymerization interface is set, and described polymerization interface comprises the logic interface that is positioned at this end node of different rings with described malfunctioning node;
Described communication module transmits unicast message, multicast message or broadcasting packet by described polymerization interface and other websites that does not comprise malfunctioning node.
15. RPR looped network website as claimed in claim 10, it is characterized in that, the described module that is provided with, be used for when described determination module determines that described looped network has two malfunctioning nodes and is positioned on the different rings of described website local terminal and another website, polymerization interface and virtual polymerization sub-interface are set, wherein, described polymerization interface comprises the logic interface that is positioned at this end node on the different rings with the local terminal malfunctioning node, and described virtual polymerization sub-interface comprises the logic interface that is positioned at this end node on the different rings with two malfunctioning nodes
Described communication module, the website that does not comprise malfunctioning node by described polymerization interface and other transmits unicast message, by described virtual polymerization sub-interface and the website that comprises another malfunctioning node transmit unicast message and with looped network in all websites transmit multicast message or broadcasting packets.
16. RPR looped network website as claimed in claim 10 is characterized in that,
Described acquisition module also is used to obtain the malfunctioning node recovering information;
Described determination module also is used for the malfunctioning node recovering information obtained according to described acquisition module, determines to recover the position and the quantity of normal malfunctioning node.
17. RPR looped network website as claimed in claim 10 is characterized in that, also comprises adding module, judge module and removing module:
Described interpolation module, be connected with described determination module, be used for when described determination module determines to recover normal malfunctioning node for this end node, the logic interface that recovers on the ring of normal this end node place is keyed in the polymerization interface, or be used for when described determination module determine to recover normal malfunctioning node for the node of other websites, with recover the logic interface that normal node is positioned at this end node on the identical ring and add corresponding virtual subnet polymerization interface to;
Described judge module is connected with described interpolation module, is used to judge whether the virtual polymerization sub-interface after described interpolation module is added comprises identical logic interface with polymerization interface or other un-added virtual polymerization sub-interfaces;
Described removing module, be connected with described judge module with described determination module, the described module that is provided with, be used for determining that at described determination module all malfunctioning nodes recover just often, delete the described set virtual polymerization sub-interface of module that is provided with, or when described judge module judges that virtual polymerization sub-interface after adding comprises identical logic interface with polymerization interface or other un-added virtual polymerization sub-interfaces, delete the virtual polymerization sub-interface after the described interpolation.
CN2010101884497A 2010-06-01 2010-06-01 Communication method and equipment of RPR (Resilient Packet Ring) looped network Active CN101854283B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101884497A CN101854283B (en) 2010-06-01 2010-06-01 Communication method and equipment of RPR (Resilient Packet Ring) looped network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101884497A CN101854283B (en) 2010-06-01 2010-06-01 Communication method and equipment of RPR (Resilient Packet Ring) looped network

Publications (2)

Publication Number Publication Date
CN101854283A true CN101854283A (en) 2010-10-06
CN101854283B CN101854283B (en) 2013-06-05

Family

ID=42805561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101884497A Active CN101854283B (en) 2010-06-01 2010-06-01 Communication method and equipment of RPR (Resilient Packet Ring) looped network

Country Status (1)

Country Link
CN (1) CN101854283B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104009903A (en) * 2014-06-05 2014-08-27 杭州华三通信技术有限公司 Flow forwarding method and device for RPR network
CN104125148A (en) * 2014-08-12 2014-10-29 烽火通信科技股份有限公司 Defect sensing and route entry refreshing method for three-layer Ethernet ring
CN104348730A (en) * 2014-11-28 2015-02-11 杭州华三通信技术有限公司 Message forwarding method and system in RPR (resilient packet ring) network
CN106533769A (en) * 2016-11-24 2017-03-22 华为技术有限公司 Fault recovery method and device
CN107548101A (en) * 2017-06-20 2018-01-05 新华三技术有限公司 Message processing method and device, AP and computer-readable storage medium
CN107659496A (en) * 2016-07-26 2018-02-02 新华三技术有限公司 A kind of data processing method and device
CN108259289A (en) * 2016-12-29 2018-07-06 华为技术有限公司 A kind of looped network abnormal protection method and device
CN109194386A (en) * 2018-09-20 2019-01-11 新华三技术有限公司 A kind of data message forwarding method and device
CN106789520B (en) * 2016-12-26 2019-11-22 中核控制系统工程有限公司 A kind of high speed failure safe multi-node communication networks
WO2024066775A1 (en) * 2022-09-27 2024-04-04 华为技术有限公司 Message transmission method and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060209681A1 (en) * 2005-03-18 2006-09-21 Fujitsu Limited Communication system, communication card, and communication method
CN1852086A (en) * 2006-03-03 2006-10-25 华为技术有限公司 Binding interface in RPR and its realizing method and apparatus
CN101051983A (en) * 2007-05-11 2007-10-10 杭州华三通信技术有限公司 Construction method for reliable RPR circular net and relative RPR station device
CN101188539A (en) * 2006-11-21 2008-05-28 日本电气株式会社 Resilient packet ring (RPR) network system, RPR node device, and redundancy method for the same
JP2009044562A (en) * 2007-08-09 2009-02-26 Mitsubishi Electric Corp Multi-ring rpr node device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060209681A1 (en) * 2005-03-18 2006-09-21 Fujitsu Limited Communication system, communication card, and communication method
CN1852086A (en) * 2006-03-03 2006-10-25 华为技术有限公司 Binding interface in RPR and its realizing method and apparatus
CN101188539A (en) * 2006-11-21 2008-05-28 日本电气株式会社 Resilient packet ring (RPR) network system, RPR node device, and redundancy method for the same
CN101051983A (en) * 2007-05-11 2007-10-10 杭州华三通信技术有限公司 Construction method for reliable RPR circular net and relative RPR station device
JP2009044562A (en) * 2007-08-09 2009-02-26 Mitsubishi Electric Corp Multi-ring rpr node device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104009903A (en) * 2014-06-05 2014-08-27 杭州华三通信技术有限公司 Flow forwarding method and device for RPR network
CN104125148A (en) * 2014-08-12 2014-10-29 烽火通信科技股份有限公司 Defect sensing and route entry refreshing method for three-layer Ethernet ring
CN104348730A (en) * 2014-11-28 2015-02-11 杭州华三通信技术有限公司 Message forwarding method and system in RPR (resilient packet ring) network
CN107659496A (en) * 2016-07-26 2018-02-02 新华三技术有限公司 A kind of data processing method and device
CN107659496B (en) * 2016-07-26 2021-02-19 新华三技术有限公司 Data processing method and device
CN106533769B (en) * 2016-11-24 2019-12-13 华为技术有限公司 fault recovery method and device
CN106533769A (en) * 2016-11-24 2017-03-22 华为技术有限公司 Fault recovery method and device
CN106789520B (en) * 2016-12-26 2019-11-22 中核控制系统工程有限公司 A kind of high speed failure safe multi-node communication networks
CN108259289A (en) * 2016-12-29 2018-07-06 华为技术有限公司 A kind of looped network abnormal protection method and device
CN108259289B (en) * 2016-12-29 2021-01-15 华为技术有限公司 Loop network abnormity protection method and device
CN107548101A (en) * 2017-06-20 2018-01-05 新华三技术有限公司 Message processing method and device, AP and computer-readable storage medium
CN107548101B (en) * 2017-06-20 2020-12-04 新华三技术有限公司 Message processing method and device, AP and computer storage medium
CN109194386A (en) * 2018-09-20 2019-01-11 新华三技术有限公司 A kind of data message forwarding method and device
CN109194386B (en) * 2018-09-20 2020-06-19 新华三技术有限公司 Data message forwarding method and device
WO2024066775A1 (en) * 2022-09-27 2024-04-04 华为技术有限公司 Message transmission method and apparatus

Also Published As

Publication number Publication date
CN101854283B (en) 2013-06-05

Similar Documents

Publication Publication Date Title
CN101854283B (en) Communication method and equipment of RPR (Resilient Packet Ring) looped network
US8588060B2 (en) E-spring (G.8032) interworking to provide access protection
CN101640644B (en) Method and equipment for flow equilibrium based on flexible link group
CN101652963B (en) Method for reconfiguring a communications network
CN103607293B (en) A kind of flow rate protecting method and equipment
US20080068985A1 (en) Network redundancy method and middle switch apparatus
CN101873244B (en) Automatic multi-loop protection method
CN109525445B (en) Link switching method, link redundancy backup network and computer readable storage medium
EP1841111B1 (en) RPR ring network, communication device and method.
US20130177021A1 (en) Communication device, communication system and communication method
CN101252503B (en) Method and apparatus for switching traffic of looped network
CN102055658B (en) Method and equipment for realizing failure protection in rapid ring protection protocol single-ring networking
CN113328916B (en) BFD detection mode switching method, device and equipment
JP2008167315A (en) Redundant line connecting method and wide-area communication network node device
CN104009903A (en) Flow forwarding method and device for RPR network
CN102916862B (en) Intelligent looped network dynamic protection method of industrial Ethernet switch
CN101771705B (en) Processing method based on RRPP and device
CN101483571A (en) RRPP configuring method, system and device
US20090103554A1 (en) Data transfer device for ring protocol high speed switching and method for the same
CN112995002B (en) Switch ring network design method, switch and storage medium
CN102932249B (en) A kind of transmission method of VRRP message and device
CN103746912B (en) Data message transmission method and equipment based on subring link
CN109194592A (en) A kind of method and system solving islanding problem in multi-link network
WO2020016901A1 (en) A method in an ethernet ring protection switching (erps) network of handling a sub-ring link failure
CN101641915A (en) Method for reconfiguring a communication 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
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