CN101047632B - Method and system for removing ring identification nonmatched message on RPR ring network - Google Patents

Method and system for removing ring identification nonmatched message on RPR ring network Download PDF

Info

Publication number
CN101047632B
CN101047632B CN2006100788265A CN200610078826A CN101047632B CN 101047632 B CN101047632 B CN 101047632B CN 2006100788265 A CN2006100788265 A CN 2006100788265A CN 200610078826 A CN200610078826 A CN 200610078826A CN 101047632 B CN101047632 B CN 101047632B
Authority
CN
China
Prior art keywords
message
ring
looped network
node
identification information
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.)
Expired - Fee Related
Application number
CN2006100788265A
Other languages
Chinese (zh)
Other versions
CN101047632A (en
Inventor
黄新宇
刘艳春
高游
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2006100788265A priority Critical patent/CN101047632B/en
Priority to PCT/CN2006/003507 priority patent/WO2007128178A1/en
Publication of CN101047632A publication Critical patent/CN101047632A/en
Application granted granted Critical
Publication of CN101047632B publication Critical patent/CN101047632B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration

Abstract

A method for separating message with non-matched ring identification from RPR ring network includes revising identification information of message with non-matched ring identification on ring network, carrying out judgment on identification information of said message first when node on ring network is passed by said message and directly lifting off said message from ring network if said message is in according with pre-confirmed lift-off condition. The system used for realizing said method is also disclosed.

Description

The method and system of removing ring identification nonmatched message on RPR ring network
Technical field
The present invention relates to the method for message and the system of ring sign different with the place hoop (promptly not matching) on a kind of RPR of peeling off looped network, belong to two layers of looped network technical field.
Background technology
RPR (Resilient Packet Ring, Resilient Packet Ring) technology is based on two layers looped network technology, adopts the bidirectional loop network topological structure, ring and outer shroud in being divided into (being also referred to as 0 ring and 1 ring).Interior ring and outer shroud can use simultaneously, compare the bandwidth availability ratio that has improved looped network with SDH.The RPR technology provides topology protection flexibly and has switched, and can finish in 50ms when looped network breaks down and switch, and guaranteeing has data path between two side gussets of fault point.
The RPR looped network can be supported 255 nodes at most.Message format is as follows:
Wherein, the value of message life duration (ttl) should be more than or equal to the jumping figure of destination node, or smaller or equal to maximum node number (255).Every through a node, ttl subtracts 1.Ttl is 0 o'clock, and message is peeled off from looped network.
For example shown in Figure 1,7 nodes are arranged in the looped network, node 2 arrives node 5 at outer shroud through node 3 and node 4 to the data of node 5.
When ring network fault, the topology of RPR has been switched two kinds of patterns: Wrap pattern and Steering pattern, i.e. wraparound pattern and copy plesiotype.
The Wrap pattern: as shown in Figure 2, when node 3 and 4 of nodes broke down, circuit two side gussets that break down carried out Wrap and switch, data arrive interior ring at node 3Wrap, through 3-〉2-1-7-6-5-4, again from node 4Wrap to the outer shroud direction, receive by node 5.In the time of fault recovery, message sends by the outer shroud direction again.In the protection reversed process, when message when interior ring direction is sent to node 2, the WS position 1 in the expansion control information of message shows that message has passed through source node the other way around.
The Steering pattern: as shown in Figure 3, when adopting the Steering Switch mode, node 2 will be delivered to node 5 by interior environment-development to the data of node 5.Data interior ring direction by node 2 on ring, through 1-〉7-6 to 5, receive by node 5 in interior ring direction.
In the prior art, there are two kinds of existing method of message of peeling off.
First kind: message carries out source address (sa) and peels off on looped network.When data message is got back to source node on looped network when, peeled off from looped network.The agreement regulation, message only carries out source address on the hoop of source peels off, and peels off and can not carry out source address on opposite hoop.Just can only on 0 ring, be peeled off, and can only on 1 ring, be peeled off by source address from the message of 1 ring ring by source address from the message of 0 ring ring.Therefore, can exist part when fault produces, to be rapped around to opposite hoop, and the message that when fault recovery, still on opposite hoop, transmits, these messages are because the ring sign is different with the hoop of current transmission, and can't be peeled off by source address, and on looped network, transmit, take the looped network bandwidth. always
Second kind: message is every on looped network, and ttl subtracts 1 through a node, and ttl reduces at 0 o'clock, and message is peeled off from looped network.The agreement regulation, when message was rapped around to opposite hoop, ttl did not do and subtracts 1 operation, only just did to subtract 1 operation on the hoop of source.Therefore, can exist part when fault produces, to be rapped around to opposite hoop, and the message that when fault recovery, still on opposite hoop, transmits, these messages are because the ring sign is different with the hoop of current transmission, ttl does not do and subtracts 1 operation, therefore can not be owing to ttl=0 be stripped from, and on looped network, transmit, take the looped network bandwidth. always
In sum, after ring network fault is eliminated, the last branch of looped network is rapped around to the message of another hoop also on opposite hoop, can not peel off from looped network because ring sign (Ring ID) is different with the hoop of current data transmission, these messages will take the looped network bandwidth always, cause the effective bandwidth on the looped network to diminish.
Summary of the invention
Therefore, in order to overcome the deficiencies in the prior art, the invention provides the method for removing ring identification nonmatched message on RPR ring network, it is steps A, ring sign on the looped network and current transfer ring are made amendment to the identification information of unmatched message, and the identification information of described message is to rap around to source node mode bit or message life duration in the extend information of message; Step B, when the node on the described message process looped network, identification information to described message is judged, if meet predetermined stripping conditions, then directly described message is peeled off from looped network, wherein, described predetermined stripping conditions is: in the current extend information of message rap around to the source node mode bit be 1 or message life duration equal 0.
In one aspect of the invention, the identification information of described message be in the expansion control information of message rap around to the source node mode bit time, the concrete mode of in the steps A ring sign on the looped network and current transfer ring being made amendment to the identification information of unmatched message is for to be initially set to 0 with the described source node mode bit that raps around to.
Predetermined stripping conditions described in the step B is: the source node mode bit that raps around in the current expansion control information of message is 1 o'clock, in step B, when the node on the described message process looped network, the concrete steps that the identification information of described message is judged are as follows:
After looped network returns to normal mode from the wraparound protected mode, when message passes through source node on opposite hoop, judge whether the source node mode bit that raps around in the current expansion control information of this message is 1,
If rapping around to the source node mode bit is not 1, rap around to the source node mode bit so and be set to 1, continue to transmit this message;
If rap around to the source node mode bit is 1, so directly this message is peeled off from looped network.
In another aspect of the present invention, when the identification information of described message was the message life duration of message, the concrete mode of in the steps A ring sign on the looped network and current transfer ring being made amendment to the identification information of the message that do not match was:
When message during through certain node of RPR looped network, if described node is the wraparound node, then the message life duration of this message is reset to 255 after, again this message is forwarded to opposite hoop next node; Whether if described node is not the wraparound node, it is identical with message ring sign then no matter to transmit hoop, all earlier the message life duration of this message is subtracted 1 after, be forwarded to next node again.
Predetermined stripping conditions described in the step B is: message life duration equals at 0 o'clock, and in step B, when the node on the described message process looped network, the concrete steps that the identification information of described message is judged are as follows:
When certain node of message process RPR looped network, judge whether the message life duration of this message equals 0,
If this message life duration is not equal to 0, then make amendment to encircling the message life duration that identifies the message that do not match on the looped network, continue to E-Packet;
If this message life duration equals 0, whether with message ring sign identical, directly this message is peeled off from looped network if then no matter transmitting hoop.
The present invention also provides a kind of system that realizes removing ring identification nonmatched message on RPR ring network method of the present invention, comprise mark module, be used for ring sign on the looped network and current transfer ring are made amendment to the identification information of unmatched message, the identification information of described message is to rap around to source node mode bit or message life duration in the extend information of message; Relatively judge module when being used for the node on described message process looped network, is judged the identification information of described message; And the message strip module, be used for the message that meets predetermined stripping conditions is peeled off from looped network; Wherein, described predetermined stripping conditions is: in the current expansion control information of message rap around to the source node mode bit be 1 or message life duration equal 0.
Adopt technical solutions according to the invention to save the looped network bandwidth, when the Ring ID of the Ring of message ID and place hoop is different, message is peeled off from looped network, and be unlikely to encircling to turn-take always.
Description of drawings
Fig. 1 is the schematic diagram of message pass-through mode under the normal mode;
Fig. 2 is the schematic diagram of message pass-through mode under the Wrap Switch mode;
Fig. 3 is the schematic diagram of message pass-through mode under the Steering Switch mode;
Fig. 4 is the flow chart of the described method of first embodiment of the invention;
Fig. 5 is the flow chart of the described method of second embodiment of the invention.
Embodiment
The invention will be further described below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
The invention discloses a kind of method of removing ring identification nonmatched message on RPR ring network, the technical scheme of this method is: the identification information to the unmatched message of ring sign on the looped network is made amendment, when the node on the described message process looped network, earlier the identification information of described message is judged, if meet predetermined stripping conditions, then directly described message is peeled off from looped network.
First embodiment
After looped network returns to normal mode from the wraparound protected mode, peel off on the RPR looped network ring sign and current transfer ring and can be compiled into software program to the method for message that do not match and be stored on the node or and realize by hardware, to carry out following operating procedure:
At first with the WS (being also referred to as PS) in the expansion control information of message on RPR looped network position, promptly message raps around to the source node mode bit, be initially set to 0 (0 expression message is by wraparound, if be 1 the sign message by wraparound, and passed through source node).
After looped network returned to normal mode from the wraparound protected mode, the message that still rests on the opposite hoop will pass through source node repeatedly.Therefore, as shown in Figure 4, during certain node of message process RPR looped network,, represent that then this message has passed through its source node, so just continue to judge that message RingID is identical with current hoop if message source address sa is identical with this node address; If message source address sa and this section point source address sa are inequality, then message continues to be passed to next node.
If message RingID is identical with current hoop, then can peel off message from looped network, if message RingID is different with current hoop, promptly this message is the message that do not match, and then continues to judge whether the WS position in the current expansion control information of this message that do not match is 1.
If the WS position is not 1, also be 0 promptly, the WS position of the message that do not match so was set to for 1 (representing that this message has passed through source node at opposite hoop), continued to E-Packet to next node; If the WS position is 1, illustrate that so message has for the second time passed through source node on opposite hoop, just message spins on looped network, and can directly peel off message this moment from looped network.
Second embodiment
Peel off on the RPR looped network ring sign and can be compiled into software program with current transfer ring to the method for message that do not match and be stored on the node, to carry out following operating procedure, as shown in Figure 5:
Do you when certain node of message process RPR looped network, judge that at first the message life duration (tt1) of this message equals 0?
If the tt1 of this message is not equal to 0, then continue to judge that described node is the wraparound node?
If described node is the wraparound node, then the tt1 of this message is reset to 255 after, again this message is forwarded to opposite hoop next node;
Whether if described node is not the wraparound node, it is identical with message ring sign then no matter to transmit hoop, all earlier the tt1 of this message is subtracted 1 after, be forwarded to next node again;
If the tt1 of this message equals 0, whether with message ring sign identical, directly this message is peeled off from looped network if then no matter transmitting hoop.
In the time of fault recovery, though some message can be stayed rightabout, but after employing the method for the invention, because the tt1 of message is every all to be needed to do through a node and subtracts 1 operation, the tt1 of message will be kept to 0 at short notice, this message can be peeled off from looped network like this, thereby has saved the looped network bandwidth.
The system of removing ring identification nonmatched message on RPR ring network of the present invention can be installed on the node, is used to peel off encircle on the looped network identify the message that do not match.Described system specifically comprises mark module, is used for the identification information of the unmatched message of ring sign on the looped network is made amendment; Relatively judge module when being used for the node on described message process looped network, is judged the identification information of described message; And the message strip module, be used for the message that meets predetermined stripping conditions is peeled off from looped network.
The embodiment of the above, the present invention embodiment a kind of more preferably just, common variation and replacement that those skilled in the art carries out in the technical solution of the present invention scope all should be included in protection scope of the present invention.

Claims (6)

1. the method for removing ring identification nonmatched message on RPR ring network is characterized in that, this method comprises the steps:
Steps A is made amendment to the identification information of unmatched message to ring sign on the looped network and current transfer ring, and the identification information of described message is to rap around to source node mode bit or message life duration in the extend information of message;
Step B when the node on the described message process looped network, judges the identification information of described message, if meet predetermined stripping conditions, then directly described message is peeled off from looped network; Wherein, described predetermined stripping conditions is: in the current extend information of message rap around to the source node mode bit be 1 or message life duration equal 0.
2. the method for removing ring identification nonmatched message on RPR ring network according to claim 1, it is characterized in that, the identification information of described message be in the extend information of message rap around to the source node mode bit time, the concrete mode of in the steps A ring sign on the looped network and current transfer ring being made amendment to the identification information of unmatched message is for to be initially set to 0 with the described source node mode bit that raps around to.
3. the method for removing ring identification nonmatched message on RPR ring network according to claim 2, it is characterized in that, described predetermined stripping conditions is: the source node mode bit that raps around in the current extend information of message is 1 o'clock, in step B, when the node on the described message process looped network, the concrete steps that the identification information of described message is judged are as follows:
After looped network returns to normal mode from the wraparound protected mode, when message passes through source node on opposite hoop, judge whether the source node mode bit that raps around in the current expansion control information of this message is 1,
If rapping around to the source node mode bit is not 1, rap around to the source node mode bit so and be set to 1, continue to transmit this message;
If rap around to the source node mode bit is 1, so directly this message is peeled off from looped network.
5. the method for removing ring identification nonmatched message on RPR ring network according to claim 1, it is characterized in that, when the identification information of described message was message life duration, the concrete mode of in the steps A ring sign on the looped network and current transfer ring being made amendment to the identification information of the message that do not match was:
When message during through certain node of RPR looped network, if described node is the wraparound node, then the message life duration of this message is reset to 255 after, again this message is forwarded to opposite hoop next node; Whether if described node is not the wraparound node, it is identical with message ring sign then no matter to transmit hoop, all earlier the message life duration of this message is subtracted 1 after, be forwarded to next node again.
6. the method for removing ring identification nonmatched message on RPR ring network according to claim 5, it is characterized in that, described predetermined stripping conditions is that message life duration equals at 0 o'clock, in step B, when the node on the described message process looped network, the concrete steps that the identification information of described message is judged are as follows:
When certain node of message process RPR looped network, judge whether the message life duration of this message equals 0;
If this message life duration is not equal to 0, then make amendment to encircling the message life duration that identifies the message that do not match on the looped network, continue to E-Packet;
If this message life duration equals 0, whether with message ring sign identical, directly this message is peeled off from looped network if then no matter transmitting hoop.
7. realize the system of the described removing ring identification nonmatched message on RPR ring network method of claim 1, it is characterized in that described system comprises:
Mark module is used for ring sign on the looped network and current transfer ring are made amendment to the identification information of unmatched message, and the identification information of described message is to rap around to source node mode bit or message life duration in the extend information of message;
Relatively judge module when being used for the node on described message process looped network, is judged the identification information of described message; And
The message strip module is used for the message that meets predetermined stripping conditions is peeled off from looped network; Wherein, described predetermined stripping conditions is: in the current expansion control information of message rap around to the source node mode bit be 1 or message life duration equal 0.
CN2006100788265A 2006-05-10 2006-05-10 Method and system for removing ring identification nonmatched message on RPR ring network Expired - Fee Related CN101047632B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2006100788265A CN101047632B (en) 2006-05-10 2006-05-10 Method and system for removing ring identification nonmatched message on RPR ring network
PCT/CN2006/003507 WO2007128178A1 (en) 2006-05-10 2006-12-20 A method and apparatus for separating the id unmatched message on the ring network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100788265A CN101047632B (en) 2006-05-10 2006-05-10 Method and system for removing ring identification nonmatched message on RPR ring network

Publications (2)

Publication Number Publication Date
CN101047632A CN101047632A (en) 2007-10-03
CN101047632B true CN101047632B (en) 2010-09-22

Family

ID=38667405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100788265A Expired - Fee Related CN101047632B (en) 2006-05-10 2006-05-10 Method and system for removing ring identification nonmatched message on RPR ring network

Country Status (2)

Country Link
CN (1) CN101047632B (en)
WO (1) WO2007128178A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763409B (en) * 2016-01-29 2019-04-09 新华三技术有限公司 A kind of flow forwarding method and device
CN106205110A (en) * 2016-09-07 2016-12-07 国网浙江省电力公司温州供电公司 A kind of power information acquisition system
CN108737238A (en) * 2018-05-28 2018-11-02 朱磊 Support the control looped network HardCnet chainlink control methods of distributed blackboard pattern interaction

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1722699A (en) * 2004-07-14 2006-01-18 港湾网络有限公司 A method of Ethernet transmission in a plurality of E1 channels
CN1728674A (en) * 2004-07-29 2006-02-01 中兴通讯股份有限公司 Method and device for implementing upper ring and lower ring of flexible gruoping ring
CN1731755A (en) * 2004-08-04 2006-02-08 杭州华为三康技术有限公司 Adapting device for resilient packet ring and method
CN1756222A (en) * 2004-09-27 2006-04-05 华为技术有限公司 Looped network and its service realizing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001041345A1 (en) * 1999-12-01 2001-06-07 The Trustees Of Columbia University In The City Of New York A method for operating a wavelength division multiplexed optical ring network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1722699A (en) * 2004-07-14 2006-01-18 港湾网络有限公司 A method of Ethernet transmission in a plurality of E1 channels
CN1728674A (en) * 2004-07-29 2006-02-01 中兴通讯股份有限公司 Method and device for implementing upper ring and lower ring of flexible gruoping ring
CN1731755A (en) * 2004-08-04 2006-02-08 杭州华为三康技术有限公司 Adapting device for resilient packet ring and method
CN1756222A (en) * 2004-09-27 2006-04-05 华为技术有限公司 Looped network and its service realizing method

Also Published As

Publication number Publication date
CN101047632A (en) 2007-10-03
WO2007128178A1 (en) 2007-11-15

Similar Documents

Publication Publication Date Title
CN101399697B (en) System and method for automatically protection switching
CN100490390C (en) Service failure recovery method
CN101317388B (en) Apparatus and method for multi-protocol label switching label-switched path protection switching
EP0146831B1 (en) Message stripping protocol for a ring communication network
CN101702663B (en) Method and device for updating ring network topology information
CN101335695B (en) Head node protection method, apparatus and device for point-to-multipoint label switching path
CN101771610B (en) Transport multiprotocol label switching network (T-MPLS) system and link protection method
CN102025646A (en) Link switching method and device thereof
CN101156394B (en) Service forwarding routing recovery method and system thereof
CN101599898B (en) Method for avoiding loop for routers adopting LFA mode in multilink fault environment
CN101577719B (en) A kind of double hot standby method, device and system
CN103780407A (en) Gateway dynamic switching method and apparatus in distributed resilient network interconnection (DRNI)
CN101931586B (en) Method and system for rapidly rerouting MPLS VPN (Multi-Protocol Label Switching Virtual Private Network)
CN101789879A (en) Dynamic maintenance method and device for related link circuits
CN101047632B (en) Method and system for removing ring identification nonmatched message on RPR ring network
CN102696203B (en) Bandwidth guaranteeing system, wireless node device, and bandwidth guaranteeing method
JP2003060681A (en) Transmission system and transmitter
CN103354521A (en) LDP-based optimization method and device for LSP update
CN101321133A (en) Method and apparatus for processing packet
CN101232453A (en) Heavy route method for fast searching path in T-MPLS network
CN102882757A (en) Point-to-multipoint service protecting method for ring network and upper ring node in ring network
WO2015154603A1 (en) Tunnel protecting method and device based on shared tunnel
CN101902396A (en) Method and system for protecting tunnel in multi-protocol label switching traffic engineering
CN102104521B (en) Ethernet ring network link failure recovery method, Ethernet ring network and node equipment
CN103179013A (en) Looped network protection achieving method and system

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: 20100922

Termination date: 20120510