CN104022890A - Fast switching control method and device for pseudo-wire redundancy protection - Google Patents

Fast switching control method and device for pseudo-wire redundancy protection Download PDF

Info

Publication number
CN104022890A
CN104022890A CN201310063192.6A CN201310063192A CN104022890A CN 104022890 A CN104022890 A CN 104022890A CN 201310063192 A CN201310063192 A CN 201310063192A CN 104022890 A CN104022890 A CN 104022890A
Authority
CN
China
Prior art keywords
forwarding
decision
making
unit
notice message
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.)
Pending
Application number
CN201310063192.6A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201310063192.6A priority Critical patent/CN104022890A/en
Publication of CN104022890A publication Critical patent/CN104022890A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a fast switching control method and a device for a pseudo-wire redundancy protection; the method comprises the following steps: arranging business adaption on a network processor; a forwarding surface of the network processor sends a received LDP note message to the business adaption; the business adaption parses and processes the LDP note message, determines a present forwarding PW, and triggers PW switching. The device comprises the following elements: an arranging unit used for arranging the business adaption unit on the network processor; a receiving unit used for sending the LDP note message received by the forwarding surface of the network processor to the business adaption unit; the business adaption unit used for parsing and processing the LDP note message, determining the present forwarding PW, and triggering PW switching. The method and device employ the business adaption to parse and process the LDP note message, and to determine the present forwarding PW so as to fast carry out PW switching; a control panel of a physics link is not needed for determination and PW switching, thereby greatly saving PW switching time.

Description

Quick switching-over control and the device of pseudo-line redundancy protecting
Technical field
The present invention relates to communication technical field, relate in particular to a kind of quick switching-over control and device of pseudo-line redundancy protecting.
Background technology
PWE3 redundancy protecting technology, is a kind of redundancy backup technology for PW business datum, and in the time of main PW link occurs fault, customer traffic is switched to rapidly PW link for subsequent use by PE, reduces user data loss., be illustrated in figure 1 the networking of existing PW redundancy protecting business, between PE1 and PE2, set up expansion LDP session, create main pseudo-line pw1, PE1 and PE3 set up respectively expansion LDP session, create standby pseudo-line pw2.In the time of PW link occurs fault between PE1 and PE2, PE1 protects handoff technique to trigger L2VPN data flow by PW and switches to PW2 from PW1.
At present, the problem that the method that triggering PW protection is switched exists is that processing speed is slow, and general PW switches in level second, is switching to present problem demanding prompt solution so how to shorten PW protection.
Summary of the invention
In view of above-mentioned analysis, the present invention aims to provide a kind of quick switching-over control and device of pseudo-line redundancy protecting, the time of switching in order to further shortening PW protection.
Object of the present invention is mainly achieved through the following technical solutions:
The quick switching-over control that the invention provides a kind of pseudo-line redundancy protecting, comprising:
Business adaptation is set on network processing unit, the LDP notice message of receiving is sent to described business adaptation by the forwarding face of described network processing unit, described business adaptation is carried out dissection process to described LDP notice message, and decision-making goes out current forwarding PW, and triggers PW switching.
Preferably, in the time comprising two network processing units, described LDP notice message is copied the forwarding face that sends to another network processing unit by the forwarding face that receives the described network processing unit of described LDP notice message.
Preferably, also comprise:
The forwarding face of described network processing unit sends to described LDP notice message the chain of command of physical link simultaneously, and described chain of command carries out dissection process to described LDP notice message, and decision-making goes out current forwarding PW, and sends to described business adaptation;
Described business adaptation compares the current forwarding PW of the current forwarding PW of described chain of command decision-making and himself decision-making, if inconsistent, resets forwarding face according to the current forwarding PW of described chain of command decision-making.
Preferably, the adaptive decision-making of described business goes out after current forwarding PW, decision-making is gone out to current forwarding PW and put into timer queue, when timer queue overtime, again the current forwarding PW of the current forwarding PW of described chain of command decision-making and the adaptive decision-making of described business is compared, if inconsistent, reset forwarding face according to the current forwarding PW of described chain of command decision-making.
Preferably, described LDP notice message is PW state negotiation packet.
The present invention also provides a kind of rapid switching control device of pseudo-line redundancy protecting, comprising:
Setting unit, for arranging business adaptation unit on network processing unit;
Receiving element, sends to described business adaptation unit for the LDP notice message that the forwarding face of network processing unit is received;
Described business adaptation unit, for described LDP notice message is carried out to dissection process, decision-making goes out current forwarding PW, and triggers PW switching.
Preferably, also comprise copied cells;
Described copied cells, in the time comprising two network processing units, copies by described LDP notice message the forwarding face that sends to another network processing unit.
Preferably, also comprise: physical link chain of command unit and comparing unit;
Described copied cells also for, described LDP notice message is copied and sends to described physical link chain of command unit;
Described physical link chain of command unit, carries out dissection process for the described LDP notice message that described receiving element is sent, and decision-making goes out current forwarding PW, and sends to described comparing unit;
Comparing unit, for the current forwarding PW of more described business adaptation unit and described physical link chain of command unit decision-making, if inconsistent, resets forwarding face according to the current forwarding PW of physical link chain of command unit decision-making.
Preferably, also comprise: timing unit, carry out timing for the current forwarding PW that decision-making goes out to described business adaptation unit, when arriving after default timing time, trigger described comparing unit.
Preferably, described LDP notice message is PW state negotiation packet.
Beneficial effect of the present invention is as follows:
The invention provides a kind of quick switching-over control and device of pseudo-line redundancy protecting, by business adaptation is set on network processing unit, and by business adaptation, described LDP notice message is carried out to dissection process, decision-making goes out current forwarding PW, thereby carry out fast PW switching, needn't wait the chain of command of physical link to enter decision-making and carry out again PW switching, greatly save the time that PW switches, and the present invention also notifies LDP message to send to the chain of command of physical link simultaneously, the chain of command of physical link carries out dissection process to described LDP notice message, decision-making goes out current forwarding PW, by being gone out to result, the two decision-making compares again, if inconsistent, current forwarding PW according to described chain of command decision-making resets forwarding face, thereby ensure the reliability that PW switches.
Other features and advantages of the present invention will be set forth in the following description, and, part from specification, become apparent, or by implement the present invention understand.Object of the present invention and other advantages can be realized and be obtained by specifically noted structure in write specification, claims and accompanying drawing.
Brief description of the drawings
Fig. 1 is existing PW protection business networking diagram;
Fig. 2 is the flow chart of the quick switching-over control of the pseudo-line redundancy protecting of the embodiment of the present invention 1;
Fig. 3 is the rapid switching control device schematic diagram of the pseudo-line redundancy protecting of the embodiment of the present invention 2.
Embodiment
Specifically describe the preferred embodiments of the present invention below in conjunction with accompanying drawing, wherein, accompanying drawing forms the application's part, and together with embodiments of the present invention for explaining principle of the present invention.For purpose of clarity and simplification, in the time that it may make theme of the present invention smudgy, by illustrating in detail of known function and structure in omission device described herein.
The embodiment of the present invention comprises interconnective network processing unit (Network Processor is called for short NP) and physical link (Multi-Link PPP, MP), and business adaptation is set on network processing unit.
Embodiment 1
The embodiment of the present invention provides a kind of quick switching-over control of pseudo-line redundancy protecting, referring to Fig. 2, specifically comprises:
The forwarding face of S201, network processing unit copies the LDP notice message of receiving, and sends to the business adaptation of himself and the chain of command of physical link;
In the time comprising two network processing units, the forwarding face that receives the described network processing unit of described LDP notice message copies described LDP notice message, and sends to the forwarding face of another network processing unit.
S202, business adaptation are carried out dissection process to described LDP notice message, and decision-making goes out current forwarding PW, triggers PW and switches;
Business adaptation by network processing unit is carried out dissection process to described LDP notice message, decision-making goes out current forwarding PW, switches thereby trigger PW, has saved and has notified message to enter the step of decision-making at the chain of command that is transmitted to physical link LDP, greatly save the time that PW switches
The chain of command of S203, physical link carries out dissection process to described LDP notice message, and decision-making goes out current forwarding PW, and current forwarding PW is sent to described business adaptation;
S204, business adaptation compare the current forwarding PW of the current forwarding PW of described chain of command decision-making and himself decision-making, if inconsistent, reset forwarding face according to the current forwarding PW of described chain of command decision-making.
Ensure by this step the reliability that PW switches.
Cause shake in order to prevent S202 and S204 from carrying out PW switching frequently, the embodiment of the present invention goes out after current forwarding PW in the adaptive decision-making of described business, decision-making is gone out to current forwarding PW and put into timer queue, when timer queue overtime, again the current forwarding PW of the current forwarding PW of described chain of command decision-making and the adaptive decision-making of described business is compared, if inconsistent, current forwarding PW according to described chain of command decision-making resets forwarding face, switches thereby effectively reduced PW the shake that causes.
Described LDP notice message in the embodiment of the present invention comprises PW state negotiation packet.
The embodiment of the present invention provides a kind of quick switching-over control of pseudo-line redundancy protecting, by business adaptation is set on network processing unit, and by business adaptation, described LDP notice message is carried out to dissection process, decision-making goes out current forwarding PW, thereby carry out fast PW switching, needn't wait the chain of command of physical link to enter decision-making and carry out again PW switching, greatly save the time that PW switches, and the embodiment of the present invention also notifies LDP message to send to the chain of command of physical link simultaneously, the chain of command of physical link carries out dissection process to described LDP notice message, decision-making goes out current forwarding PW, by being gone out to result, the two decision-making compares again, if inconsistent, current forwarding PW according to described chain of command decision-making resets forwarding face, thereby ensure the reliability that PW switches.
Embodiment 2
The embodiment of the present invention provides a kind of rapid switching control device of pseudo-line redundancy protecting, referring to Fig. 3, comprising:
Setting unit, for arranging business adaptation unit on network processing unit;
Receiving element, sends to described business adaptation unit for the LDP notice message that the forwarding face of network processing unit is received;
Business adaptation unit, for described LDP notice message is carried out to dissection process, decision-making goes out current forwarding PW, and triggers PW switching;
Copied cells, in the time comprising two network processing units, copies described LDP notice message, and sends to forwarding face and the physical link chain of command unit of another network processing unit;
Physical link chain of command unit, carries out dissection process for the described LDP notice message that described receiving element is sent, and decision-making goes out current forwarding PW, and the current forwarding PW of decision-making is sent to described comparing unit;
Timing unit, carries out timing for the current forwarding PW that decision-making goes out to described business adaptation unit, when arriving after default timing time, triggers described comparing unit;
Comparing unit, for the current forwarding PW of more described business adaptation unit and described physical link chain of command unit decision-making, if inconsistent, resets forwarding face according to the current forwarding PW of physical link chain of command unit decision-making.
In sum, the embodiment of the present invention provides a kind of quick switching-over control and device of pseudo-line redundancy protecting, by business adaptation is set on network processing unit, and by business adaptation, described LDP notice message is carried out to dissection process, decision-making goes out current forwarding PW, thereby carry out fast PW switching, needn't wait the chain of command of physical link to enter decision-making and carry out again PW switching, greatly save the time that PW switches, and the embodiment of the present invention also notifies LDP message to send to the chain of command of physical link simultaneously, the chain of command of physical link carries out dissection process to described LDP notice message, decision-making goes out current forwarding PW, by being gone out to result, the two decision-making compares again, if inconsistent, current forwarding PW according to described chain of command decision-making resets forwarding face, thereby ensure the reliability that PW switches.
The above; only for preferably embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with in technical scope that those skilled in the art disclose in the present invention; the variation that can expect easily or replacement, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claims.

Claims (10)

1. a quick switching-over control for pseudo-line redundancy protecting, is characterized in that, comprising:
Business adaptation is set on network processing unit, the LDP notice message of receiving is sent to described business adaptation by the forwarding face of described network processing unit, described business adaptation is carried out dissection process to described LDP notice message, and decision-making goes out current forwarding PW, and triggers PW switching.
2. method according to claim 1, it is characterized in that, in the time comprising two network processing units, described LDP notice message is copied the forwarding face that sends to another network processing unit by the forwarding face that receives the described network processing unit of described LDP notice message.
3. method according to claim 1 and 2, is characterized in that, also comprises:
The forwarding face of described network processing unit sends to described LDP notice message the chain of command of physical link simultaneously, and described chain of command carries out dissection process to described LDP notice message, and decision-making goes out current forwarding PW, and sends to described business adaptation;
Described business adaptation compares the current forwarding PW of the current forwarding PW of described chain of command decision-making and himself decision-making, if inconsistent, resets forwarding face according to the current forwarding PW of described chain of command decision-making.
4. method according to claim 3, it is characterized in that, the adaptive decision-making of described business goes out after current forwarding PW, decision-making is gone out to current forwarding PW and put into timer queue, when timer queue overtime, again the current forwarding PW of the current forwarding PW of described chain of command decision-making and the adaptive decision-making of described business is compared, if inconsistent, reset forwarding face according to the current forwarding PW of described chain of command decision-making.
5. method according to claim 1 and 2, is characterized in that, described LDP notice message is PW state negotiation packet.
6. a rapid switching control device for pseudo-line redundancy protecting, is characterized in that, comprising:
Setting unit, for arranging business adaptation unit on network processing unit;
Receiving element, sends to described business adaptation unit for the LDP notice message that the forwarding face of network processing unit is received;
Described business adaptation unit, for described LDP notice message is carried out to dissection process, decision-making goes out current forwarding PW, and triggers PW switching.
7. device according to claim 6, is characterized in that, also comprises copied cells;
Described copied cells, in the time comprising two network processing units, copies by described LDP notice message the forwarding face that sends to another network processing unit.
8. device according to claim 7, is characterized in that, also comprises: physical link chain of command unit and comparing unit;
Described copied cells also for, described LDP notice message is copied and sends to described physical link chain of command unit;
Described physical link chain of command unit, carries out dissection process for the described LDP notice message that described receiving element is sent, and decision-making goes out current forwarding PW, and sends to described comparing unit;
Comparing unit, for the current forwarding PW of more described business adaptation unit and described physical link chain of command unit decision-making, if inconsistent, resets forwarding face according to the current forwarding PW of physical link chain of command unit decision-making.
9. device according to claim 8, is characterized in that, also comprises:
Timing unit, carries out timing for the current forwarding PW that decision-making goes out to described business adaptation unit, when arriving after default timing time, triggers described comparing unit.
10. according to the device described in claim 6 or 7, it is characterized in that, described LDP notice message is PW state negotiation packet.
CN201310063192.6A 2013-02-28 2013-02-28 Fast switching control method and device for pseudo-wire redundancy protection Pending CN104022890A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310063192.6A CN104022890A (en) 2013-02-28 2013-02-28 Fast switching control method and device for pseudo-wire redundancy protection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310063192.6A CN104022890A (en) 2013-02-28 2013-02-28 Fast switching control method and device for pseudo-wire redundancy protection

Publications (1)

Publication Number Publication Date
CN104022890A true CN104022890A (en) 2014-09-03

Family

ID=51439474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310063192.6A Pending CN104022890A (en) 2013-02-28 2013-02-28 Fast switching control method and device for pseudo-wire redundancy protection

Country Status (1)

Country Link
CN (1) CN104022890A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106941414A (en) * 2016-01-04 2017-07-11 中兴通讯股份有限公司 The synchronous method and device and link protection system of the link protection result of decision
CN110071830A (en) * 2019-04-15 2019-07-30 北京华三通信技术有限公司 Pseudo-wire switchback method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025646A (en) * 2011-01-05 2011-04-20 杭州华三通信技术有限公司 Link switching method and device thereof
CN102143060A (en) * 2010-12-23 2011-08-03 华为数字技术有限公司 Method and device for building primary pseudowire and spare pseudowire
CN102223660A (en) * 2011-08-02 2011-10-19 华为技术有限公司 Method and device for controlling switching of active/standby pseudo wires
US20120236868A1 (en) * 2011-03-18 2012-09-20 Yan Neng Method for fast switching traffic in h-vpls

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143060A (en) * 2010-12-23 2011-08-03 华为数字技术有限公司 Method and device for building primary pseudowire and spare pseudowire
CN102025646A (en) * 2011-01-05 2011-04-20 杭州华三通信技术有限公司 Link switching method and device thereof
US20120236868A1 (en) * 2011-03-18 2012-09-20 Yan Neng Method for fast switching traffic in h-vpls
CN102223660A (en) * 2011-08-02 2011-10-19 华为技术有限公司 Method and device for controlling switching of active/standby pseudo wires

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106941414A (en) * 2016-01-04 2017-07-11 中兴通讯股份有限公司 The synchronous method and device and link protection system of the link protection result of decision
CN110071830A (en) * 2019-04-15 2019-07-30 北京华三通信技术有限公司 Pseudo-wire switchback method and device
CN110071830B (en) * 2019-04-15 2020-03-06 北京华三通信技术有限公司 Pseudo wire back switching method and device

Similar Documents

Publication Publication Date Title
US9853856B2 (en) Method and device for protecting service reliability and network virtualization system
US9401958B2 (en) Method, apparatus, and system for migrating user service
US8811154B2 (en) Packet forwarding system, packet forwarding device, proxy device, computer readable medium storing program, and control method of packet forwarding device
WO2009082923A1 (en) Link fault processing method and data forwarding device
WO2017092400A1 (en) Failure recovery method and device, controller, and software defined network
US9013977B2 (en) Method and system for reducing traffic disturbance in a communication network caused by intermittent failure
WO2012065435A1 (en) Path switch-back method and apparatus in transport network
CN101141364A (en) Method and device for implementing protection rearrangement in ring ethernet
WO2013017011A1 (en) Method and apparatus for controlling switching of active/standby pseudo wires
CN101984600A (en) Graceful restart method, equipment and system of routing protocol
US8948002B2 (en) Method and device for preventing repeated refreshing of address table of Ethernet ring network node
WO2008080311A1 (en) A linkage method of links and a communication device
CN106330699B (en) Multicast link switching method and device and routing equipment
WO2016169214A1 (en) Tunnel protection switching method and device
CN104022890A (en) Fast switching control method and device for pseudo-wire redundancy protection
CN102143032B (en) Method for eliminating residual link state protocol data unit fragments and route equipment
CN115801642B (en) RDMA communication management module, method, equipment and medium based on state control
CN111683160A (en) MAC address recovery method and device
KR20150104435A (en) Method of performing transition of operation mode for a routing processor
CN108337118B (en) Message forwarding method and device
CN110011819B (en) Method, device, equipment and system for generating SD (secure digital) alarm information
US20160020913A1 (en) Method for power saving in optical access network by using synchronized sleep cycle
US8731408B2 (en) Network system with energy efficient fiber port
WO2016134582A1 (en) Method and apparatus for realizing rsvp-te protocol message processing
CN103905571A (en) Method of updating address information, device 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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140903