CN1852211A - Method and apparatus for eliminating ring ID error report message on ring network - Google Patents
Method and apparatus for eliminating ring ID error report message on ring network Download PDFInfo
- Publication number
- CN1852211A CN1852211A CNA2006100727863A CN200610072786A CN1852211A CN 1852211 A CN1852211 A CN 1852211A CN A2006100727863 A CNA2006100727863 A CN A2006100727863A CN 200610072786 A CN200610072786 A CN 200610072786A CN 1852211 A CN1852211 A CN 1852211A
- Authority
- CN
- China
- Prior art keywords
- ring
- functional switch
- message
- looped network
- described functional
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/42—Loop networks
- H04L12/437—Ring fault isolation or reconfiguration
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
Belonging to technical area of second layer of ring net, the invention solves issues that a few piece of message of ring ID error occurs when RPR ring net is changed from open loop to close loop; and looping on ring net, the said message can not be stripped so as to tie up lots of bandwidth. At each node on the ring net, the invention installs functional switch controlled by software program for deleting message of ring ID error. The program executes following two steps: (1) when ring net is changed from open loop to close loop, turning on functional switch to delete message of ring ID error; and after delaying a pointed time period, closing the functional switch; (2) when ring net is in close loop, turning on functional switch in every fixed time period to delete message of ring ID error; and after delaying a pointed time period, closing the functional switch. The invention guarantees that message of ring ID error is deleted in time without influence on efficiency.
Description
Technical field
The present invention relates to a kind of method and apparatus of removing the ring ID error message that occurs on the looped network, belong to two layers of looped network technical field.
Background technology
RPR (Resilient Packet Ring; Resilient Packet Ring) agreement is medium access control (MAC) agreement that is operated in the osi protocol stack second layer; RPR has defined a dicyclo topological structure; RPR provides the protection handoff functionality of 50ms; in the time of node fails or link occurs fault; safeguard measure can be provided, guarantee the connectedness of looped network.
Protection mechanism comprises two kinds fast: Wrapping (loopback is around mode) and Steering (round about manner), and wherein Steering must support, Wrapping then is optionally, but the node in the same ring should adopt identical switchover mode.
Introduce below and introduce the quick protection mechanism of Wrapping (loopback is around mode).The RPR looped network is a dicyclo reversal topological structure, be divided into 0 ring and (be also referred to as outer shroud, clockwise direction) and 1 the ring (be also referred to as interior ring, two hoops counterclockwise), when breaking down somewhere on the loop, then near the automatic loopback in node place breaking down promptly overlaps interior ring and outer shroud, and loopback carries out between adjacent failure node by agreement.
Under the Wrapping mode, when message was looped back to another ring by marginal point after, the RI of RPR heading (Ring ID, ring ID) field information and residing ring ID did not match; When message by the marginal point loopback around to another ring, and by behind the source node, the PS field value of RPR heading is identified as 1; Specify below with reference to Fig. 1:
As shown in Figure 1, when looped network is in the closed loop state, what node 5 transmitted messages that literary composition walks to node 1 is the route that 0 ring clockwise direction dotted line is indicated, but fault has appearred in the link between node 6 and the node 7, looped network has become open loop situations, this moment, node 6 and node 7 became the wrap state simultaneously, 0 ring and 1 ring are snapped into together at these two intra-nodes, thereby at node 6, flow has been looped back to 1 ring (ring promptly) from 0 ring (being outer shroud), the route of solid line as shown in Figure 1, the ring id field in the RPR control head of the message on 1 ring itself remain 0 original ring ID, have so just produced the message of so-called ring ID mistake, the message of this ring ID mistake can not correctly be received or from encircling deletion, they need arrive node 7 to such shown in the figure always, are looped back to 0 ring once more, at this moment, these messages have just been got back on the correct hoop once more, then when message arrival node 1, and will be by correct reception and deletion.
On the RPR looped network of a quick protection mechanism of employing Wrapping, when having and having only a fault point on a certain moment ring, the stable back of ring-network topology (this moment, looped network was open), message can be by wrap to another hoop in the fault point.In the time of fault recovery, after the fault point becomes normally, still can exist part not got back on the correct hoop on the ring, that is be encircled by wrap to 1, perhaps the message that is encircled by wrap to 0 from 1 ring from 0 ring by the flow of wrap, at this moment looped network has reverted to a closed loop, the message of these ring ID mistakes chance is never again got back to correct hoop, and the result causes this part flow encircling going around in circles deletion that can't be correct always, take massive band width, had a strong impact on the performance of looped network.
Though in the prior art, can peel off the message of ring ID mistake at destination address, solid line as shown in Figure 1, when being arrived destination node from interior ring by the flow of loopback, though the ring ID of this moment is unmatched, but still allow message to receive and deletion, this method is relevant with the specific implementation of certain chip, be not RPR agreement defined, this can cause can't intercommunication between the product of different vendor.
Summary of the invention
Spin at looped network in order to solve a small amount of ring ID error message that the RPR looped network occurs under the situation that is become closed loop by open loop, can't peel off, take the problem of massive band width, the present invention proposes a kind of method of removing the ring ID error message that occurs on the looped network, functional switch by the deletion ring ID error message of software program control promptly all is installed on each node of looped network, and described software program is carried out following two operating procedures:
The first, when looped network becomes closed loop by open loop, open described functional switch, the message of deletion ring ID mistake after the time-delay fixed time, is closed described functional switch;
The second, be at looped network under the situation of closed loop, open once described functional switch every the set time, the message of deletion ring ID mistake after the time-delay fixed time, is closed described functional switch.
Because agreement regulation; the message of ring ID mistake is under the open loop situations and can not deletes at looped network; this also is to guarantee that this quick Switchover mechanism of wrapping is necessary; so the present invention must guarantee only just to encircle from the looped network deletion message of ID mistake under the closed loop state; and when looped network is in the quick protection mechanism state of Wrapping, can not delete the message of the ring ID mistake that is in the wrap state.The present invention mainly contains the action that triggers deletion ring ID error message two opportunitys, and one is when looped network becomes closed loop by open loop, and this moment, looped network became closed loop, so deletion ring ID error message can not have any influence to the quick Switchover mechanism of wrapping; Another is when looped network is in closed loop, and the message of deletion of per set time (as 5s) one secondary ring ID mistake is because looped network has been in closed loop, so also can be not influential to wrapping mechanism.Therefore, the present invention has realized when not influencing efficient, guarantees that to greatest extent ring ID error message can in time be deleted, and has solved the occupied problem of massive band width.
In addition, the present invention also provides a kind of apparatus for network node of realizing said method, described apparatus for network node is equipped with the functional switch of deletion ring ID error message, and the short cycle timer module and the long period timer module that are respectively applied for the described functional switch of control;
The short cycle timer module is used for sending the described functional switch of instruction unpack when looped network becomes closed loop by open loop, and the message of deletion ring ID mistake after the time-delay fixed time, sends instruction and closes described functional switch;
The long period timer module is used for being under the situation of closed loop at looped network, sends the once described functional switch of instruction unpack every the set time, and the message of deletion ring ID mistake after the time-delay fixed time, sends instruction and closes described functional switch.
On looped network, adopt apparatus for network node of the present invention, can guarantee to encircle the ID error message to greatest extent can in time be deleted, and has solved the occupied problem of massive band width.
Description of drawings
Fig. 1 is RPR looped network wrap (loopback protection) schematic diagram, has 7 nodes on the looped network, forms dicyclo reversal topological structure, and 0 ring (being outer shroud) is a clockwise direction, and 1 ring (ring promptly) is counterclockwise, and 0 ring and 1 ring all can E-Packet simultaneously.
Fig. 2 is the flow chart of described software program execution in step when looped network becomes closed loop by open loop.
Fig. 3 is that described software program is at the flow chart that is in execution in step under the situation of closed loop.
Embodiment
The invention provides a kind of method of removing the ring ID error message that occurs on the looped network.Below exemplary embodiments of the present invention is done detailed explanation.
At first, functional switch by the deletion ring ID error message of software program control all is installed on each node of looped network, when this functional switch is opened, the message of ring ID mistake will be deleted on the looped network, after this functional switch cuts out, the message of the ring ID mistake on the looped network will be transmitted normally, and not deleted, this functional switch is controlled by software program.Thereby realized by the message of passage (being message priority) deletion through the ring ID mistake of this node (promptly transmitting among the buffer).This functional switch adopts existing chip, and the function of above-mentioned deletion ring ID error message is provided by chip.
The software program of described controlled function switch provides two timer functions, starts the deletion action of described functional switch respectively under different situations.
One, described software program provides a short cycle timer function, carry out following steps: as shown in Figure 2, when looped network becomes closed loop by open loop, open described functional switch, the message of deletion ring ID mistake, time-delay 10ms (millisecond) afterwards, close this functional switch, no longer deletion encircles the message of ID mistake, to guarantee the message of deletion ring ID mistake in the shortest time.
They are two years old, described software program also provides a long period timer function, carry out following steps: as shown in Figure 3, be at looped network under the situation of closed loop, every 5s (second) opens once described functional switch, the message of deletion ring ID mistake, and time-delay 10ms (millisecond) is afterwards, close this functional switch, can thoroughly be deleted at the ring ID error message of not removed when becoming closed loop when looped network guaranteeing by functional switch by open loop.
The exemplary embodiments of apparatus for network node of the present invention hereinafter will be described.Apparatus for network node of the present invention also is equipped with the functional switch of deletion ring ID error message on the basis of existing node device, and the short cycle timer module and the long period timer module that are respectively applied for the described functional switch of control; The short cycle timer module is used for sending the described functional switch of instruction unpack when looped network becomes closed loop by open loop, and the message of deletion ring ID mistake behind the time-delay 10ms, sends instruction and closes described functional switch; The long period timer module is used for being under the situation of closed loop at looped network, sends the once described functional switch of instruction unpack every 5s, and the message of deletion ring ID mistake behind the time-delay 10ms, sends instruction and closes described functional switch.
Though exemplary embodiments of the present invention has been described, those skilled in the art can make change and not break away from the claimed scope of the present invention.For example, in the method for the invention, after described functional switch was opened, the fixed time of time-delay can be at 10~50ms.In addition, be at looped network under the situation of closed loop, can open once described functional switch every 1~10s.For apparatus for network node of the present invention; it is 10ms that the time of short cycle timer module time-delay does not limit; also can be set between 10~50ms; perhaps short cycle timer module set time of being separated by is not defined as 5s; also can be set between 1~10s; these times can determine according to actual needs that this is that the present invention is required for protection equally.
Claims (6)
1. the method for the ring ID error message that occurs on the removal looped network is characterized in that: the functional switch by the deletion ring ID error message of software program control all is installed on each node of looped network, and described software program is carried out following two operating procedures:
The first, when looped network becomes closed loop by open loop, open described functional switch, the message of deletion ring ID mistake after the time-delay fixed time, is closed described functional switch;
The second, be at looped network under the situation of closed loop, open once described functional switch every the set time, the message of deletion ring ID mistake after the time-delay fixed time, is closed described functional switch.
2. the method for the ring ID error message that occurs on the removal looped network according to claim 1 is characterized in that: after described functional switch was opened, the fixed time of time-delay was 10~50ms.
3. the method for the ring ID error message that occurs on the removal looped network according to claim 1 is characterized in that: be at looped network under the situation of closed loop, open once described functional switch every 1~10s.
4. the method for the ring ID error message that occurs on the removal looped network according to claim 1 is characterized in that: after described functional switch was opened, the fixed time of time-delay was 10ms.
5. the method for the ring ID error message that occurs on the removal looped network according to claim 1 is characterized in that: be at looped network under the situation of closed loop, open once described functional switch every 5s.
6. realize the apparatus for network node of the described method of claim 1, it is characterized in that: described apparatus for network node is equipped with the functional switch of deletion ring ID error message, and the short cycle timer module and the long period timer module that are respectively applied for the described functional switch of control;
The short cycle timer module is used for sending the described functional switch of instruction unpack when looped network becomes closed loop by open loop, and the message of deletion ring ID mistake after the time-delay fixed time, sends instruction and closes described functional switch;
The long period timer module is used for being under the situation of closed loop at looped network, sends the once described functional switch of instruction unpack every the set time, and the message of deletion ring ID mistake after the time-delay fixed time, sends instruction and closes described functional switch.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006100727863A CN1852211B (en) | 2006-04-11 | 2006-04-11 | Method and apparatus for eliminating ring ID error report message on ring network |
PCT/CN2006/003640 WO2007115456A1 (en) | 2006-04-11 | 2006-12-28 | Method, device and ring network system for eliminating the ring id error message of the ring network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006100727863A CN1852211B (en) | 2006-04-11 | 2006-04-11 | Method and apparatus for eliminating ring ID error report message on ring network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1852211A true CN1852211A (en) | 2006-10-25 |
CN1852211B CN1852211B (en) | 2010-04-07 |
Family
ID=37133681
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2006100727863A Expired - Fee Related CN1852211B (en) | 2006-04-11 | 2006-04-11 | Method and apparatus for eliminating ring ID error report message on ring network |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN1852211B (en) |
WO (1) | WO2007115456A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101841453B (en) * | 2009-03-20 | 2012-09-05 | 华为技术有限公司 | Method and system for processing network error source and network node |
CN106452874A (en) * | 2016-10-18 | 2017-02-22 | 北京东土科技股份有限公司 | Loop ID (Identity) generation method and network system |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11313095A (en) * | 1998-04-28 | 1999-11-09 | Nec Corp | Ring network system, protection method and protection processing program recording medium |
US20030031126A1 (en) * | 2001-03-12 | 2003-02-13 | Mayweather Derek T. | Bandwidth reservation reuse in dynamically allocated ring protection and restoration technique |
ITMI20012088A1 (en) * | 2001-10-10 | 2003-04-10 | Cit Alcatel | METHOD FOR PROPAGING FAULT INFORMATION IN A RPR NETWORK AND RELATED TYPE OF RPR PACKAGE |
WO2005015851A1 (en) * | 2003-08-06 | 2005-02-17 | Fujitsu Limited | Node, rpr interface card, and optical network system |
JP4447385B2 (en) * | 2004-06-22 | 2010-04-07 | 三菱電機株式会社 | RPR node apparatus and forwarding path control method for RPR network |
CN100571181C (en) * | 2004-07-07 | 2009-12-16 | 华为技术有限公司 | Remove the method and apparatus of strict data frame in a kind of RPR looped network |
CN1645834A (en) * | 2005-02-02 | 2005-07-27 | 周旭扬 | Method and device for loop discovery, space reuse and protection conversion in MAC bridge connecting network |
CN100387017C (en) * | 2005-09-01 | 2008-05-07 | 西安交通大学 | High usable self-healing Logic box fault detecting and tolerating method for constituting multi-machine system |
-
2006
- 2006-04-11 CN CN2006100727863A patent/CN1852211B/en not_active Expired - Fee Related
- 2006-12-28 WO PCT/CN2006/003640 patent/WO2007115456A1/en active Application Filing
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101841453B (en) * | 2009-03-20 | 2012-09-05 | 华为技术有限公司 | Method and system for processing network error source and network node |
CN106452874A (en) * | 2016-10-18 | 2017-02-22 | 北京东土科技股份有限公司 | Loop ID (Identity) generation method and network system |
CN106452874B (en) * | 2016-10-18 | 2019-09-24 | 北京东土科技股份有限公司 | Ring ID generation method and network system |
Also Published As
Publication number | Publication date |
---|---|
CN1852211B (en) | 2010-04-07 |
WO2007115456A1 (en) | 2007-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3373519B1 (en) | Active/static path redundancy | |
CN101702663B (en) | Method and device for updating ring network topology information | |
CN100550715C (en) | On Ethernet, support synchronous digital hierarchy/synchronous optical network to protect the method for exchange automatically | |
CN100401712C (en) | Fault treating method for phase switching loop of automatic protection system of Ethernet | |
CN101741670B (en) | Method for protecting multi-ring Ethernet | |
CN101072154B (en) | Loop Ethernet switching method | |
CN101316235B (en) | Replay apparatus capable of preventing mistaken learning of MAC addresses learning table | |
WO2014026512A1 (en) | Processing method for applying rapid spanning tree protocol to single ring network topology | |
EP2469770B1 (en) | Method and system for preventing repeated updating of address table in ethernet ring network protection | |
CN106789521B (en) | A kind of ring network fault reverse method and link point | |
WO2008141567A1 (en) | Multi-protocol label switching network flow switch method and equipment | |
WO2010022576A1 (en) | A control packet transmission method and apparatus based on multi-ring ethernet | |
CN103053139A (en) | Message processing method and system | |
CN102035710B (en) | Method and system for updating blocked port information | |
EP2533470B1 (en) | Method and equipment for preventing repeated refreshing of ethernet ring node address table | |
CN102857316B (en) | A kind of method and system realizing source looped network protection | |
WO2008080311A1 (en) | A linkage method of links and a communication device | |
CN1852211B (en) | Method and apparatus for eliminating ring ID error report message on ring network | |
JP2006033124A (en) | Tunnel fault notification device and method | |
CN101895455A (en) | Method for fast protecting ring network based on multi-protocol label switching transport profile (MPLS-TP) | |
US20050237943A1 (en) | Transmission device | |
CN102724096A (en) | Mixed ring network protection method and network equipment | |
WO2011076012A1 (en) | Methods, system and apparatus for protecting control virtual local network in ethernet ring network | |
US20140192633A1 (en) | System and method for providing fast and efficient flushing of a forwarding database in a network processor | |
CN103840965B (en) | Method for enhancing quick fault convergence in RSTP |
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100407 Termination date: 20120411 |