CN102255759A - Method and device for transmitting data message based on PW (Packet Writing) redundant backup - Google Patents

Method and device for transmitting data message based on PW (Packet Writing) redundant backup Download PDF

Info

Publication number
CN102255759A
CN102255759A CN2011102341238A CN201110234123A CN102255759A CN 102255759 A CN102255759 A CN 102255759A CN 2011102341238 A CN2011102341238 A CN 2011102341238A CN 201110234123 A CN201110234123 A CN 201110234123A CN 102255759 A CN102255759 A CN 102255759A
Authority
CN
China
Prior art keywords
label
equipment
link
data message
standby
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
CN2011102341238A
Other languages
Chinese (zh)
Other versions
CN102255759B (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 CN201110234123.8A priority Critical patent/CN102255759B/en
Publication of CN102255759A publication Critical patent/CN102255759A/en
Application granted granted Critical
Publication of CN102255759B publication Critical patent/CN102255759B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for transmitting data message based on PW (Packet Writing) redundant backup, wherein the method comprises the following steps that: a local terminal PE (Provider Edge) device distributes a same VC (Visual C) tag to an active PW link and a standby PW link, and sends the VC tag to an opposite terminal PE device; and the local terminal PE device receives a data message form the opposite terminal PE device via the active PW link or the standby PW link, and sends the data message via the VC tag carried in the data message. In the invention, the error discarding of the data message can be avoided.

Description

A kind of data message transmission method and equipment based on the PW redundancy backup
Technical field
The present invention relates to communication technical field, particularly relate to a kind of data message transmission method and equipment based on the PW redundancy backup.
Background technology
MPLS (Multiprotocol Label Switching, multiprotocol label switching) L2VPN (Layer 2 Virtual Private Network, Layer 2 virtual private network) provides a kind of two-layer VPN service based on the MPLS network, make operator on unified MPLS network, to provide the two-layer VPN based on the different pieces of information link layer (as ATM, FR, VLAN, Ethernet, PPP etc.).For MPLS L2VPN, its sorting technique is: VPWS (the Virtual Private Wire Services that MPLS L2VPN is divided into point-to-point mode, virtual dedicated line service) and the VPLS (Virtual Private LAN Services, virtual special local area network service) of point-to-multipoint.
MPLS L2VPN can be on the MPLS network transparent transmission Layer 2 data, from user's angle, the MPLS network is two layers of switching network, can set up two layers of connection between different nodes.With ATM (Asynchronous Transfer Mode, asynchronous transfer mode) is example, each CE (Customer Edge, the user border) equipment (can be router or switch, also can be a main frame) configuration ATM VC (Virtual Circuit, virtual circuit), link to each other with far-end CE by the MPLS network.
It should be noted that, the service provider need be at two PE (Provider Edge of specific user's network, operator edge) disposes PW (the Pseudo Wire that connects between the equipment, virtual link), thus make from the message of a CE equipment can be directly by the PW transparent transmission to another CE equipment.Further,, then when this PW breaks down, can't continue communication between the CE equipment, therefore introduce PW redundancy backup mechanism if having only a PW between two CE equipment.
The dual homed place PW redundancy backup networking schematic diagram of a kind of MPLS L2VPN PW as shown in Figure 1 has two PW links between CE1 and the CE2, under the normal condition, use primary link (as the link of PE1-PE2) to communicate between the ce1 and ce2; After primary link breaks down, use reserve link (as the link of PE1-P-PE3) to communicate between the ce1 and ce2.Wherein, PE reaches the purpose of redundancy backup by setting up different PW (set up main PW link, PE1 and PE3 as PE1 and PE2 and set up standby PW link) with different opposite ends.
The chummage PW redundancy backup networking schematic diagram of a kind of MPLS L2VPN PW as shown in Figure 2, two PW links are arranged between CE1 and the CE2, what chummage PW redundancy backup was different with dual homed place PW redundancy backup is, PE sets up different PW (as setting up different PW by different paths between PE1 and the PE2) with same opposite end, thereby reaches the purpose of redundancy backup.
In the prior art, during as shown in Figure 3 dual homed place PW redundancy backup networking, the schematic diagram that the message of primary link and reserve link sends, PE1 and PE2 set up main PW link, and PE1 and PE3 set up standby PW link.Under the situation that main PW link can be used, the last packet sending and receiving strategy of PE1 is: PE1 only and PE2 carry out the transmitting-receiving of data message, not to P equipment sending data message, do not receive the data message of coming from P equipment yet.
But, for PE2 and PE3, and do not know the above-mentioned strategy of PE1, set up the PW link with PE1 after, PE2 and PE3 think that all the link of self can receive, send datagram; Therefore, if CE2 sends datagram to CE1 by PE3, then the data message of this direction can be dropped on PE1.
During as shown in Figure 4 chummage PW redundancy backup networking, the schematic diagram that the message of primary link and reserve link sends, PE1 and PE2 mutually with the other side as the active and standby peer of chummage (opposite end), set up the PW redundancy backup.When the tunnel of carrying PW be folk prescription to the time (on main PW, have the tunnel to the direction of PE2 as PE1, there is the tunnel to the direction of PE1 in PE2 on standby PW), if PE2 uses standby PW chain road direction CE1 to send datagram, then the data message of this direction can be dropped on PE1.
In sum, in the prior art,, can cause data message by abandon (as the data message that receives from standby PW link that abandons of PE1 mistake) of mistake at chummage PW redundancy backup and dual homed place PW redundancy backup.
Summary of the invention
The invention provides a kind of data message transmission method and equipment based on the PW redundancy backup, can wrong not being dropped to guarantee data message.
In order to achieve the above object, the invention provides a kind of data message transmission method based on virtual link PW redundancy backup, be applied in the multiprotocol label switching Multiprotocol Label Switching Virtual Private Network VPN network, and establish main PW link and standby PW link between local terminal operator edge PE equipment in this network and the opposite end PE equipment; This method may further comprise the steps:
Described local end PE equipment is the described main PW link virtual circuit VC label identical with standby PW link assignment, and described VC label is sent to described opposite end PE equipment;
Described local end PE equipment receives the data message that carries described VC label from described opposite end PE equipment by described main PW link or described standby PW link;
Described local end PE equipment is determined the user border CE equipment of described VC label correspondence, and described data message is sent to described CE equipment.
Described local end PE equipment is the described main PW link virtual circuit VC label identical with standby PW link assignment, also comprises afterwards:
The described VC label of described local end PE equipment utilization is set up the local label list item, the corresponding relation of the VPN of described VC label of record and described CE equipment in the described local label list item;
Described local end PE equipment is determined the user border CE equipment of described VC label correspondence, specifically comprise: the described local label list item of the described VC label lookup of described local end PE equipment utilization, determine and the corresponding VPN of described VC label by described local label list item, and determine described CE equipment by described VPN.
Described method further comprises: when described main PW link or described standby PW link generated, if the current local label list item that does not have described VC label correspondence, the described VC label of described local end PE equipment utilization was set up described local label list item;
When described main PW link and described standby PW link were all deleted, described local end PE equipment discharged the described local label list item of described VC label correspondence.
Described method further comprises: when from the data message of described opposite end PE equipment during from described main PW link switchover to described standby PW link, described local end PE equipment receives the data message that carries described VC label from described opposite end PE equipment by described standby PW link, and utilizes the described local label list item of described VC label lookup; Perhaps,
When from the data message of described opposite end PE equipment during from described standby PW link switchover to described main PW link, described local end PE equipment receives the data message that carries described VC label from described opposite end PE equipment by described main PW link, and utilizes the described local label list item of described VC label lookup.
Described method further comprises: described local end PE equipment receive from opposite end PE equipment for the VC label of described main PW link assignment and be the VC label of described standby PW link assignment;
The VC label that described local end PE equipment utilization is described main PW link assignment is set up the far-end label list item of main PW link correspondence, and the VC label that is utilized as described standby PW link assignment is set up the far-end label list item of standby PW link correspondence;
When needs during by described main PW chain road direction opposite end PE equipment sending data message, described local end PE equipment sends to described opposite end PE equipment by the far-end label list item of described main PW link correspondence with described data message; Perhaps, when needs during by described standby PW chain road direction opposite end PE equipment sending data message, described local end PE equipment sends to described opposite end PE equipment by the far-end label list item of described standby PW link correspondence with described data message.
Described MPLS VPN network comprises: based on the network of chummage PW redundancy backup, based on the network of dual homed place PW redundancy backup.
A kind of local end PE equipment is applied in the MPLS VPN network, and establishes main PW link and standby PW link between described local end PE equipment and the opposite end PE equipment; Described local end PE equipment comprises:
VC label distribution module is used to the described main PW link VC label identical with standby PW link assignment;
VC label sending module is used for described VC label is sent to described opposite end PE equipment;
The data message receiver module is used for receiving the data message that carries described VC label from described opposite end PE equipment by described main PW link or described standby PW link;
Determination module is used for determining the user border CE equipment of described VC label correspondence;
The data message sending module is used for described data message is sent to described CE equipment.
Also comprise: the label list item is set up module, is used to utilize described VC label to set up the local label list item, the corresponding relation of the VPN of described VC label of record and described CE equipment in the described local label list item;
Described determination module specifically is used to utilize the described local label list item of described VC label lookup, determines and the corresponding VPN of described VC label by described local label list item, and determines described CE equipment by described VPN.
Described label list item is set up module, specifically is used for when described main PW link or described standby PW link generate, if the current local label list item that does not have described VC label correspondence then utilizes described VC label to set up described local label list item;
When described main PW link and described standby PW link are all deleted, discharge the described local label list item of described VC label correspondence.
Described data message receiver module, specifically be used for when from the data message of described opposite end PE equipment during, receive the data message that carries described VC label from described opposite end PE equipment by described standby PW link from described main PW link switchover to described standby PW link; When from the data message of described opposite end PE equipment during, receive the data message that carries described VC label from described opposite end PE equipment by described main PW link from described standby PW link switchover to described main PW link.
Also comprise: VC label receiver module and label list item are set up module;
Described VC label receiver module, be used to receive from opposite end PE equipment for the VC label of described main PW link assignment and be the VC label of described standby PW link assignment;
Described label list item is set up module, and the VC label that is used to be utilized as described main PW link assignment is set up the far-end label list item of main PW link correspondence, and the VC label that is utilized as described standby PW link assignment is set up the far-end label list item of standby PW link correspondence;
Described data message sending module also is used for when needs during by described main PW chain road direction opposite end PE equipment sending data message, and the far-end label list item by described main PW link correspondence sends to described opposite end PE equipment with described data message; Perhaps, when needs during by described standby PW chain road direction opposite end PE equipment sending data message, the far-end label list item by described standby PW link correspondence sends to described opposite end PE equipment with described data message.
Described MPLS VPN network comprises: based on the network of chummage PW redundancy backup, based on the network of dual homed place PW redundancy backup.
Compared with prior art, the present invention has the following advantages at least:
By being the main PW link VC label identical with standby PW link assignment, what can guarantee that data message can be not wrong is dropped, and the VC label that reduces system consumes; And can avoid state advertisement, reduce the equipment room Signalling exchange; When active and standby PW switches, can upgrade the label list item, especially under a large amount of PW list items, can accelerate the speed of switching, realize switching fast.
Description of drawings
Fig. 1 is the dual homed place PW redundancy backup networking schematic diagram of MPLS L2VPN PW in the prior art;
Fig. 2 is the chummage PW redundancy backup networking schematic diagram of MPLS L2VPN PW in the prior art;
Fig. 3 is in the prior art during networking of dual homed place PW redundancy backup, the schematic diagram that the message of primary link and reserve link sends;
Fig. 4 is in the prior art during networking of chummage PW redundancy backup, the schematic diagram that the message of primary link and reserve link sends;
Fig. 5 is a dual homed place PW redundancy backup networking schematic diagram in the prior art;
Fig. 6 is a kind of data message transmission method flow chart based on the PW redundancy backup provided by the invention;
Fig. 7 is that active and standby PW hinders when switching for some reason among the present invention, the schematic diagram of dual homed place PW redundancy backup;
Fig. 8 is that active and standby PW hinders when switching for some reason among the present invention, the schematic diagram of chummage PW redundancy backup;
Fig. 9 is the manual PW that carries out when switching among the present invention, the schematic diagram of dual homed place PW redundancy backup;
Figure 10 is the structure chart of a kind of PE equipment of proposing of the present invention.
Embodiment
In the prior art, at chummage PW redundancy backup and dual homed place PW redundancy backup, PE1 can be the main PW link VC label different with standby PW link assignment, when using main PW link to communicate, PE1 transmits from the data message of the VC label of the main PW link of carrying of opposite end correspondence and gives corresponding CE equipment, and abandons the data message from the VC label of the standby PW link of carrying of opposite end correspondence.
With dual homed place PW redundancy backup networking schematic diagram shown in Figure 5 is example, and PE1 and PE2 set up main PW link, and PE1 and PE3 set up standby PW link, and on the receive direction of PE1, PE1 can be main PW link assignment VC label 1, and is standby PW link assignment VC label 2; PE1 is notified to PE2 with VC label 1, and VC label 2 is notified to PE3.
In addition, PE1 can set up local label list item 1 based on VC label 1, and sets up local label list item 2 based on VC label 2; Record the corresponding relation of VC label 1 and VPN in the local label list item 1, record the corresponding relation of VC label 2 and VPN in the local label list item 2; VPN in above-mentioned local label list item 1 and the local label list item 2 is same VPN, and is used for the forward-path information that the specified data message sends to CE1.
When using main PW link to communicate, on receive direction, PE1 can carry out the forwarding (promptly being transmitted to corresponding C E equipment) of data message by local label list item 1, and refusal carries out the forwarding of data message by local label list item 2.In order to realize said process, local label list item 1 can be issued to forwarding chip, but not issue local label list item 2 to forwarding chip; Perhaps, local label list item 1 is issued to forwarding chip, local label list item 2 is issued to forwarding chip, but the sign (representing that this list item does not use) of specified type is set for local label list item 2; The corresponding realization do not repeat them here.
So that local label list item 1 is issued to forwarding chip, but not issuing local label list item 2 is example to forwarding chip, when switching to when using standby PW link to communicate, local label list item 2 is issued to forwarding chip, and the local label list item 1 on the deletion forwarding chip.
As shown in Figure 5, when CE2 need can send to data message PE2 or PE3 when CE1 sends datagram, this data message is L2PDU (Layer 2 Protocol Data Unit, a two-layer protocol data cell), is link layer message; On PE2 or PE3, can before L2PDU, add Tunnel (tunnel is abbreviated as T) label and VC label (being abbreviated as V), this T label is used for data message is transferred to PE1, and T ' expression repeating process ectomesoderm label is replaced; On PE2, the VC label is set to VC label 1; On PE3, the VC label is set to VC label 2.
After data message arrives PE1, PE1 is with the T label peeling, and obtain the VC label (in the practical application, can also be by an equipment before the PE1 with the T label peeling, this moment, PE1 can directly obtain the VC label), if the VC label is a VC label 1, then can inquire corresponding local label list item 1, obtain VPN information, and utilize this VPN that the L2PDU in the data message is sent to CE1; If the VC label is a VC label 2, then can not inquire corresponding local label list item, will abandon this data message this moment.
Therefore, can cause data message abandoning in the prior art by mistake.
At the problems referred to above, the present invention proposes a kind of data message transmission method based on the PW redundancy backup, and this method is applied in the MPLS VPN network, and establishes main PW link and standby PW link between local end PE equipment in this network and the opposite end PE equipment.Need to prove that method provided by the invention can be applicable to based in system of chummage PW redundancy backup (as shown in Figure 2) or the system's (as shown in Figure 1) based on dual homed place PW redundancy backup.Among the present invention, local end PE equipment is connected with a CE equipment, and opposite end PE equipment is connected with the 2nd CE equipment, and opposite end PE equipment is the main PE equipment that is connected with the 2nd CE equipment, or be connected with the 2nd CE equipment be equipped with PE equipment.
In Fig. 1, a CE equipment is CE1, and local end PE equipment is PE1, and the 2nd CE equipment is CE2, and opposite end PE equipment is PE2 and PE3; Be main PW link with the link between PE1 and the PE2 among the present invention, the link between PE1 and the PE3 is that standby PW link is that example describes, and then main PE equipment is PE2, and being equipped with PE equipment is PE3.In Fig. 2, a CE equipment is CE1, and local end PE equipment is PE1, and the 2nd CE equipment is CE2 (being CE2a and CE2b among the figure, is example with CE2), and opposite end PE equipment is PE2; Promptly under this networking situation, main PE equipment and be equipped with PE equipment and be PE2, the link with top between PE1 and the PE2 among the present invention is main PW link, the link of below is that standby PW link is that example describes between PE1 and the PE2.
Based on above-mentioned networking situation, as shown in Figure 6, should may further comprise the steps based on the data message transmission method of PW redundancy backup:
Step 601, PE1 is the main PW link VC label (as 1024) identical with standby PW link assignment.
Step 602, PE1 sends to opposite end PE equipment with the VC label; Be that PE1 sends to main PE equipment with the VC label, and the VC label is sent to PE equipment fully.
It should be noted that in order to realize the process of transmitting of VC label, between PE1 and main PE equipment, need to set up earlier the signaling session, and by this signaling session exchange VC label information, promptly PE1 sends to main PE equipment by the signaling session with the VC label; In like manner, PE1 sends to PE equipment fully by the signaling session with the VC label.
At networking situation shown in Figure 1, PE1 sends VC label at main PW link to PE2, and sends VC label at standby PW link to PE3; At networking situation shown in Figure 2, PE1 sends VC label at main PW link to PE2, and sends VC label at standby PW link to PE2.
Among the present invention, PE1 also needs to utilize this VC label to set up the local label list item, and the corresponding relation of the VPN of record this VC label (1024) and CE1 in this local label list item, this VPN can the specified data message send to the forward-path information of CE1.
Concrete, because this local label list item is that main PW link and standby PW link use jointly, therefore, when article one PW generates, need to generate this local label list item, during PW deletion in the end, need to discharge this local label list item.Promptly when main PW link or the generation of standby PW link, if the current not local label list item of these VC label 1024 correspondences, then PE1 utilizes this VC label to set up the local label list item; When main PW link and standby PW link were all deleted, PE1 discharged the local label list item of this VC label correspondence.
Step 603, PE1 receives the data message that carries the VC label from opposite end PE equipment by main PW link or standby PW link.
At networking situation shown in Figure 1, PE1 receives data message from PE2 (promptly from CE2 data message) by main PW link, and perhaps, PE1 receives data message from PE3 (promptly from CE2 data message) by standby PW link; At networking situation shown in Figure 2, PE1 receives data message from PE2 (promptly from CE2 data message) by main PW link, and perhaps, PE1 receives data message from PE2 (promptly from CE2 data message) by standby PW link.
Step 604, PE1 obtains the VC label that carries in this data message, determines the CE equipment (being CE1) of this VC label correspondence, and data message is sent to CE1.Wherein, PE1 can utilize this VC label lookup local label list item, and determines the VPN corresponding with this VC label by the local label list item, and by this VPN data message is sent to CE1.
Need to prove that when PE1 received data message from CE2 by main PW link, the VC label was that main PE equipment adds in the data message; When PE1 received data message from CE2 by standby PW link, the VC label added in the data message for being equipped with PE equipment.
Among the present invention, at networking situation shown in Figure 1, because PE1 sends to PE2 and PE3 respectively with identical VC label 1024, therefore, for data message from PE2 or PE3, the VC label that carries is 1024, and PE1 can 1024 find corresponding VPN by this in the label list item, thereby based on this VPN data message is sent to CE1.At networking situation shown in Figure 2, because PE1 sends to PE2 with identical VC label 1024 respectively by main PW link and standby PW link, therefore, for data message from PE2 by main PW link or standby PW link, the VC label that carries is 1024, PE1 can 1024 find corresponding VPN by this in the label list item, thereby based on this VPN data message is sent to CE1.
In sum, at the situation of PW redundancy backup since actual transmit have only wherein a PW, so PE can be the main PW link VC label identical with standby PW link assignment.On signaling was consulted, the distribution of VC label belonged to local behavior, and opposite equip. need not to be concerned about, therefore distributes same label can not influence signaling and consults; In the forwarding behavior, on main PW link and standby PW link, have only on the direction and can receive data message, because the VC label is identical, therefore no matter which direction to receive data message from, all can correctly handle, guarantee not obliterated data message, thus make can be wrong the data message that abandons.
Among the present invention, the process of switching at active and standby PW, when from the data message of opposite end PE equipment during from main PW link switchover to standby PW link, PE1 can be by the data message of standby PW link reception from opposite end PE equipment, perhaps, when from the data message of opposite end PE equipment during from standby PW link switchover to main PW link, PE1 can receive data message from opposite end PE equipment by main PW link; Therefore in the above-mentioned active and standby PW reversed process, PE1 all can determine the VPN corresponding with the VC label by above-mentioned label list item, and by VPN data message is sent to CE1.
Therefore, because main PW link uses identical VC label with standby PW link, after switching between main PW link and the standby PW link, the VC label can not change, do not need to upgrade corresponding list item, promptly can handle data message, thereby realize switching fast from the opposite end.
Further, when active and standby PW hinders when switching for some reason, dual homed place PW redundancy backup as shown in Figure 7, if main PW link occurs fault, after PE2 detected this fault, notice CE2 switched, and data message sends to PE1 from PE3, even this moment, PE1 switched, data message can not lost yet; And this time switch and do not need PE1 to PE3 transmit status announcement, do not need PE3 to the announcement of PE1 transmit status yet, reduced Signalling exchange and lost because of the data message of time effects alternately.
When active and standby PW hinders when switching for some reason, if chummage PW redundancy backup as shown in Figure 8 is main PW link occurs fault, after PE2 detects this fault, carry out PW and switch, data message sends to PE1 from standby PW link, even this moment, PE1 switched, data message can not lost yet; And this time switch and do not need PE1 to PE2 transmit status announcement, do not need PE2 to the announcement of PE1 transmit status yet, reduced Signalling exchange and lost because of the data message of time effects alternately.
In addition, in the manual reversed process of active and standby PW, as shown in Figure 9, PE1 is last to carry out PW and switches by hand, after switching, even CE2 still sends datagram by PE2, then since the label list item with switch preceding equally, data message can not lost.
Need to prove that said process is at the processing on the receive direction of PE1 (being local end PE equipment), on the sending direction of PE1, following steps can also be arranged:
Step 1, opposite end PE equipment are main PW link assignment VC label (follow-up is example with the VC label A), and are standby PW link assignment VC label (follow-up is example with the VC label B).
At networking situation shown in Figure 1, PE2 is main PW link assignment VC label A, and PE3 is standby PW link assignment VC label B, and it is independently to carry out that PE2 and PE3 distribute the process of VC label.At networking situation shown in Figure 2, PE2 is main PW link assignment VC label A, and is standby PW link assignment VC label B.
Step 2, PE1 receive VC label A and VC label B from opposite end PE equipment.
It should be noted that in order to realize the process of transmitting of VC label, between PE1 and main PE equipment, need to set up earlier the signaling session, and by this signaling session exchange VC label information, promptly main PE equipment sends to PE1 by the signaling session with the VC label A; In like manner, be equipped with PE equipment and the VC label B sent to PE1 by the signaling session.
Step 3, PE1 are utilized as the VC label A of main PW link assignment and set up the far-end label list item (follow-up is example with far-end label list item 1) of main PW link correspondence, and the VC label B that is utilized as standby PW link assignment is set up the far-end label list item (follow-up is example with far-end label list item 2) of standby PW link correspondence.In far-end label list item 1, record VC label A and corresponding tunnel identification information, this tunnel identification information is used for the tunnel that the specified data message sends to opposite end PE equipment; In far-end label list item 2, record VC label B and corresponding tunnel identification information.
When needs during by main PW chain road direction opposite end PE equipment sending data message, execution in step 4; When needs during by standby PW chain road direction opposite end PE equipment sending data message, execution in step 5.
Step 4, PE1 send to opposite end PE equipment by far-end label list item 1 with data message.
In the specific implementation process, when needs during by main PW chain road direction opposite end PE equipment sending data message, can only far-end label list item 1 be issued to forwarding chip, when needs send to opposite end PE equipment with data message, VC label A in the far-end label list item 1 is encapsulated in the data message (this process and process shown in Figure 5 are similar, no longer repeat at this), and the data message that will carry the VC label A sends to opposite end PE equipment.
Step 5, PE1 send to opposite end PE equipment by far-end label list item 2 with data message.
In the specific implementation process, can only far-end label list item 2 be issued to forwarding chip, when needs send to opposite end PE equipment with data message, the VC label B in the far-end label list item 2 is encapsulated in the data message, and the data message that will carry the VC label B sends to opposite end PE equipment.
Based on the inventive concept same with said method, the invention allows for a kind of local end PE equipment, be applied in the MPLS VPN network, and establish main PW link and standby PW link between described local end PE equipment and the opposite end PE equipment; As shown in figure 10, described local end PE equipment comprises:
VC label distribution module 11 is used to the described main PW link VC label identical with standby PW link assignment;
VC label sending module 12 is used for described VC label is sent to described opposite end PE equipment;
Data message receiver module 13 is used for receiving the data message that carries described VC label from described opposite end PE equipment by described main PW link or described standby PW link;
Determination module 14 is used for determining the user border CE equipment of described VC label correspondence;
Data message sending module 15 is used for described data message is sent to described CE equipment.
Described local end PE equipment also comprises:
The label list item is set up module 16, is used to utilize described VC label to set up the local label list item, the corresponding relation of the VPN of described VC label of record and described CE equipment in the described local label list item;
Described determination module 14 specifically is used to utilize the described local label list item of described VC label lookup, determines and the corresponding VPN of described VC label by described local label list item, and determines described CE equipment by described VPN.
Described label list item is set up module 16, specifically is used for when described main PW link or described standby PW link generate, if the current local label list item that does not have described VC label correspondence then utilizes described VC label to set up described local label list item; When described main PW link and described standby PW link are all deleted, discharge the described local label list item of described VC label correspondence.
Described data message receiver module 13, specifically be used for when from the data message of described opposite end PE equipment during, receive the data message that carries described VC label from described opposite end PE equipment by described standby PW link from described main PW link switchover to described standby PW link; When from the data message of described opposite end PE equipment during, receive the data message that carries described VC label from described opposite end PE equipment by described main PW link from described standby PW link switchover to described main PW link.
Described local end PE equipment also comprises:
VC label receiver module 17, be used to receive from opposite end PE equipment for the VC label of described main PW link assignment and be the VC label of described standby PW link assignment;
Described label list item is set up module 16, and the VC label that is used to be utilized as described main PW link assignment is set up the far-end label list item of main PW link correspondence, and the VC label that is utilized as described standby PW link assignment is set up the far-end label list item of standby PW link correspondence;
Described data message sending module 15 also is used for when needs during by described main PW chain road direction opposite end PE equipment sending data message, and the far-end label list item by described main PW link correspondence sends to described opposite end PE equipment with described data message; Perhaps, when needs during by described standby PW chain road direction opposite end PE equipment sending data message, the far-end label list item by described standby PW link correspondence sends to described opposite end PE equipment with described data message.
Among the present invention, described MPLS VPN network comprises: based on the network of chummage PW redundancy backup, based on the network of dual homed place PW redundancy backup.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
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.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, 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 among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description 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 embodiment just to description.
More than disclosed only be several specific embodiment 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 (12)

1. data message transmission method based on virtual link PW redundancy backup, be applied in the multiprotocol label switching Multiprotocol Label Switching Virtual Private Network VPN network, and establish main PW link and standby PW link between local terminal operator edge PE equipment in this network and the opposite end PE equipment; It is characterized in that this method may further comprise the steps:
Described local end PE equipment is the described main PW link virtual circuit VC label identical with standby PW link assignment, and described VC label is sent to described opposite end PE equipment;
Described local end PE equipment receives the data message that carries described VC label from described opposite end PE equipment by described main PW link or described standby PW link;
Described local end PE equipment is determined the user border CE equipment of described VC label correspondence, and described data message is sent to described CE equipment.
2. the method for claim 1 is characterized in that, described local end PE equipment is the described main PW link virtual circuit VC label identical with standby PW link assignment, also comprises afterwards:
The described VC label of described local end PE equipment utilization is set up the local label list item, the corresponding relation of the VPN of described VC label of record and described CE equipment in the described local label list item;
Described local end PE equipment is determined the user border CE equipment of described VC label correspondence, specifically comprise: the described local label list item of the described VC label lookup of described local end PE equipment utilization, determine and the corresponding VPN of described VC label by described local label list item, and determine described CE equipment by described VPN.
3. method as claimed in claim 2 is characterized in that, described method further comprises:
When described main PW link or described standby PW link generated, if the current local label list item that does not have described VC label correspondence, the described VC label of described local end PE equipment utilization was set up described local label list item;
When described main PW link and described standby PW link were all deleted, described local end PE equipment discharged the described local label list item of described VC label correspondence.
4. method as claimed in claim 2 is characterized in that, described method further comprises:
When from the data message of described opposite end PE equipment during from described main PW link switchover to described standby PW link, described local end PE equipment receives the data message that carries described VC label from described opposite end PE equipment by described standby PW link, and utilizes the described local label list item of described VC label lookup; Perhaps,
When from the data message of described opposite end PE equipment during from described standby PW link switchover to described main PW link, described local end PE equipment receives the data message that carries described VC label from described opposite end PE equipment by described main PW link, and utilizes the described local label list item of described VC label lookup.
5. the method for claim 1 is characterized in that, described method further comprises:
Described local end PE equipment receives being the VC label of described main PW link assignment and being the VC label of described standby PW link assignment from opposite end PE equipment;
The VC label that described local end PE equipment utilization is described main PW link assignment is set up the far-end label list item of main PW link correspondence, and the VC label that is utilized as described standby PW link assignment is set up the far-end label list item of standby PW link correspondence;
When needs during by described main PW chain road direction opposite end PE equipment sending data message, described local end PE equipment sends to described opposite end PE equipment by the far-end label list item of described main PW link correspondence with described data message; Perhaps, when needs during by described standby PW chain road direction opposite end PE equipment sending data message, described local end PE equipment sends to described opposite end PE equipment by the far-end label list item of described standby PW link correspondence with described data message.
6. as each described method of claim 1-5, it is characterized in that described MPLS VPN network comprises: based on the network of chummage PW redundancy backup, based on the network of dual homed place PW redundancy backup.
7. a local end PE equipment is applied in the MPLS VPN network, and establishes main PW link and standby PW link between described local end PE equipment and the opposite end PE equipment; It is characterized in that described local end PE equipment comprises:
VC label distribution module is used to the described main PW link VC label identical with standby PW link assignment;
VC label sending module is used for described VC label is sent to described opposite end PE equipment;
The data message receiver module is used for receiving the data message that carries described VC label from described opposite end PE equipment by described main PW link or described standby PW link;
Determination module is used for determining the user border CE equipment of described VC label correspondence;
The data message sending module is used for described data message is sent to described CE equipment.
8. equipment as claimed in claim 7 is characterized in that, also comprises:
The label list item is set up module, is used to utilize described VC label to set up the local label list item, the corresponding relation of the VPN of described VC label of record and described CE equipment in the described local label list item;
Described determination module specifically is used to utilize the described local label list item of described VC label lookup, determines and the corresponding VPN of described VC label by described local label list item, and determines described CE equipment by described VPN.
9. equipment as claimed in claim 8 is characterized in that,
Described label list item is set up module, specifically is used for when described main PW link or described standby PW link generate, if the current local label list item that does not have described VC label correspondence then utilizes described VC label to set up described local label list item;
When described main PW link and described standby PW link are all deleted, discharge the described local label list item of described VC label correspondence.
10. equipment as claimed in claim 8 is characterized in that,
Described data message receiver module, specifically be used for when from the data message of described opposite end PE equipment during, receive the data message that carries described VC label from described opposite end PE equipment by described standby PW link from described main PW link switchover to described standby PW link; When from the data message of described opposite end PE equipment during, receive the data message that carries described VC label from described opposite end PE equipment by described main PW link from described standby PW link switchover to described main PW link.
11. equipment as claimed in claim 8 is characterized in that, also comprises: VC label receiver module and label list item are set up module;
Described VC label receiver module, be used to receive from opposite end PE equipment for the VC label of described main PW link assignment and be the VC label of described standby PW link assignment;
Described label list item is set up module, and the VC label that is used to be utilized as described main PW link assignment is set up the far-end label list item of main PW link correspondence, and the VC label that is utilized as described standby PW link assignment is set up the far-end label list item of standby PW link correspondence;
Described data message sending module also is used for when needs during by described main PW chain road direction opposite end PE equipment sending data message, and the far-end label list item by described main PW link correspondence sends to described opposite end PE equipment with described data message; Perhaps, when needs during by described standby PW chain road direction opposite end PE equipment sending data message, the far-end label list item by described standby PW link correspondence sends to described opposite end PE equipment with described data message.
12., it is characterized in that described MPLS VPN network comprises as each described equipment of claim 7-11: based on the network of chummage PW redundancy backup, based on the network of dual homed place PW redundancy backup.
CN201110234123.8A 2011-08-16 2011-08-16 Method and device for transmitting data message based on PW (Packet Writing) redundant backup Active CN102255759B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110234123.8A CN102255759B (en) 2011-08-16 2011-08-16 Method and device for transmitting data message based on PW (Packet Writing) redundant backup

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110234123.8A CN102255759B (en) 2011-08-16 2011-08-16 Method and device for transmitting data message based on PW (Packet Writing) redundant backup

Publications (2)

Publication Number Publication Date
CN102255759A true CN102255759A (en) 2011-11-23
CN102255759B CN102255759B (en) 2015-05-20

Family

ID=44982764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110234123.8A Active CN102255759B (en) 2011-08-16 2011-08-16 Method and device for transmitting data message based on PW (Packet Writing) redundant backup

Country Status (1)

Country Link
CN (1) CN102255759B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685019A (en) * 2013-12-06 2014-03-26 杭州华三通信技术有限公司 Label distribution method and device
CN105119824A (en) * 2015-06-30 2015-12-02 华为技术有限公司 Packet transmitting method and device
CN108337169A (en) * 2017-12-29 2018-07-27 瑞斯康达科技发展股份有限公司 A kind of information query method and provider edge router
CN109873760A (en) * 2017-12-01 2019-06-11 华为技术有限公司 Handle the method and apparatus of routing and the method and apparatus of data transmission
CN110601882A (en) * 2019-09-04 2019-12-20 厦门网宿有限公司 Two-layer private network system and configuration method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316239A (en) * 2008-07-23 2008-12-03 中兴通讯股份有限公司 Method for controlling access and forwarding in virtual special LAN service network
CN101645836A (en) * 2009-08-25 2010-02-10 杭州华三通信技术有限公司 Packet transmission method and device in multi-protocol label switching network
CN102025541A (en) * 2010-12-08 2011-04-20 中兴通讯股份有限公司 Method and system for realizing multicast protection
CN102035681A (en) * 2010-12-17 2011-04-27 中兴通讯股份有限公司 Link protection method and system for virtual private network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316239A (en) * 2008-07-23 2008-12-03 中兴通讯股份有限公司 Method for controlling access and forwarding in virtual special LAN service network
CN101645836A (en) * 2009-08-25 2010-02-10 杭州华三通信技术有限公司 Packet transmission method and device in multi-protocol label switching network
CN102025541A (en) * 2010-12-08 2011-04-20 中兴通讯股份有限公司 Method and system for realizing multicast protection
CN102035681A (en) * 2010-12-17 2011-04-27 中兴通讯股份有限公司 Link protection method and system for virtual private network

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685019A (en) * 2013-12-06 2014-03-26 杭州华三通信技术有限公司 Label distribution method and device
CN103685019B (en) * 2013-12-06 2017-08-22 新华三技术有限公司 A kind of label distribution method and equipment
CN105119824A (en) * 2015-06-30 2015-12-02 华为技术有限公司 Packet transmitting method and device
CN105119824B (en) * 2015-06-30 2018-11-16 华为技术有限公司 A kind of message forwarding method and device
CN109873760A (en) * 2017-12-01 2019-06-11 华为技术有限公司 Handle the method and apparatus of routing and the method and apparatus of data transmission
CN109873760B (en) * 2017-12-01 2020-08-07 华为技术有限公司 Method and device for processing route, and method and device for data transmission
US11533249B2 (en) 2017-12-01 2022-12-20 Huawei Technologies Co., Ltd. Route processing method and apparatus, and data transmission method and apparatus
CN108337169A (en) * 2017-12-29 2018-07-27 瑞斯康达科技发展股份有限公司 A kind of information query method and provider edge router
CN110601882A (en) * 2019-09-04 2019-12-20 厦门网宿有限公司 Two-layer private network system and configuration method

Also Published As

Publication number Publication date
CN102255759B (en) 2015-05-20

Similar Documents

Publication Publication Date Title
CN101330424B (en) Method, system and apparatus for processing service fault of virtual special network
CN102025646B (en) Link switching method and device thereof
CN101257441B (en) Method, equipment and system for forwarding message as well as equipment for receiving message
CN102571426B (en) Double-homing protection method and device
CN102325037B (en) A kind of changing method of pseudo-line dual homed network, system and dual-homed Provider Equipment
CN101217470B (en) Method and device for forwarding message
CN101159690B (en) Multi-protocol label switch forwarding method, device and label switching path management module
CN102664788A (en) CE dual-homed link protection method in MPLS L3VPN and system thereof
CN101710877A (en) Method, device and system for processing traffic flow based on pseudowire
CN101267360B (en) Pseudo failure detection method and user boundary device
CN101517981A (en) Multi-chassis emulated switch
WO2014081766A1 (en) Bandwidth on-demand services in multiple layer networks
CN104270231B (en) A kind of system and method for realizing binode interconnection pseudo-wire
CN101820395A (en) Routing information configuration and private network label addition method and device based on MPLS (Multiple Protocol Label Switching)
CN101277245A (en) Method, system and apparatus for implementing L2VPN field across
CN101710875A (en) Method and device for realizing rapid re-routing
CN104426763A (en) Channel switching method and apparatus, and switch
CN111490933B (en) Bidirectional forwarding detection switching method and edge device
CN102316014B (en) Load sharing method and router under hierarchical virtual dedicated local area network service environment
CN102255759B (en) Method and device for transmitting data message based on PW (Packet Writing) redundant backup
CN101155076A (en) Method for checking pseudo wire trouble of two-layer special network
CN101719834B (en) Method and system for realizing virtual private multicast service protection
CN105591800A (en) Traffic protection method and device
EP3255838B1 (en) Method, switching device and network controller for protecting links in software-defined network (sdn)
CN103297338B (en) A kind of VPN route advertising method and equipment

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