CN106301852B - Method and device for pseudo wire dual-homing protection of packet transport network equipment - Google Patents

Method and device for pseudo wire dual-homing protection of packet transport network equipment Download PDF

Info

Publication number
CN106301852B
CN106301852B CN201510303988.3A CN201510303988A CN106301852B CN 106301852 B CN106301852 B CN 106301852B CN 201510303988 A CN201510303988 A CN 201510303988A CN 106301852 B CN106301852 B CN 106301852B
Authority
CN
China
Prior art keywords
edge device
operator
dni
pwn
service 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.)
Active
Application number
CN201510303988.3A
Other languages
Chinese (zh)
Other versions
CN106301852A (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.)
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 CN201510303988.3A priority Critical patent/CN106301852B/en
Priority to PCT/CN2015/092328 priority patent/WO2016192269A1/en
Publication of CN106301852A publication Critical patent/CN106301852A/en
Application granted granted Critical
Publication of CN106301852B publication Critical patent/CN106301852B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method and a device for pseudo wire dual-homing protection of packet transport network equipment, wherein the method comprises the following steps: setting the label value of a dual-node interconnection pseudo wire DNI-pw as a working pseudo wire label value or a protection pseudo wire label value according to the relation among the fault type in the service message transmission, the transmission direction of the data stream in the service message and the preset protection group members; and transmitting the service message according to the set working pseudo wire label value or the set protection pseudo wire label value, a pre-established service message forwarding state mechanism between the protection group members between the edge equipment of the main operator and the edge equipment of the standby operator and a preset relationship between the protection group members so as to realize the communication between the customer network element and the PTN. Aiming at the engineering scene of bearing more services, the OAM configuration workload of the equipment node can be simplified, the equipment resource is saved, and the complexity of operation is reduced.

Description

Method and device for pseudo wire dual-homing protection of packet transport network equipment
Technical Field
The invention relates to the technical field of packet transport networks, in particular to a method and a device for pseudo wire dual-homing protection of packet transport network equipment.
Background
The requirement of pseudo wire dual-homing protection for Packet Transport Network (PTN) equipment deployed in the existing engineering comes from the requirement of dual-homing protection in the national standard PTN general technical requirement. For the needs of the industry, the industry sets a Dual node interconnection pseudowire (DNI-PW) at two aggregation nodes (primary and standby operator edge devices) to carry the data stream of the two aggregation nodes. The data flow path change caused by the internal and client side faults of the PTN is classified, and the following two modes are provided: 1. for a failure of a primary access link or a failure of an edge device of a primary operator, as shown in fig. 1a, each working service uplink data flow is a working link (carried by a working pseudowire) in the PTN, and on the edge device of the primary operator, a DNI-PW is changed. As shown in fig. 1b, and flows out through the alternate carrier edge device. The downstream data flow is consistent with the upstream data flow path and has opposite direction. 2. For a failure of a working path (including a P node) in the PTN, as shown in fig. 1c, each working service downlink data stream enters the edge device of the primary operator through the primary access link, and the DNI-PW is changed. As shown in fig. 1d, and flows into the PTN through the spare carrier edge device. The upstream data flow is in accordance with the downstream data flow path and in the opposite direction.
The existing DNI-PW has the disadvantages that for each service, separate DNI-PWs are respectively established between the edge equipment of the primary operator and the edge equipment of the standby operator, and the DNI-PWs on the edge equipment of the primary operator are configured in a one-to-one correspondence manner with working pseudo wires and primary access links; on the edge equipment of the standby operator, DNI-PW is configured corresponding to the protection pseudo-wire and the standby access link one by one. For an engineering scene actually bearing more services, configuration workload of OAM (Operation, Administration and Maintenance) of DNI-PW (DNI-PW on two nodes is large, errors are prone to occur, and equipment resources are consumed.
Disclosure of Invention
The embodiment of the invention aims to provide a method and a device for pseudo wire dual-homing protection of packet transport network equipment, aiming at an engineering scene bearing more services, the OAM configuration workload of equipment nodes can be simplified, equipment resources are saved, and the complexity of operation is reduced.
The embodiment of the invention provides a method for pseudo wire dual-homing protection of Packet Transport Network (PTN) equipment, which is applied to an edge equipment side of a primary operator or an edge equipment side of a standby operator, and comprises the following steps:
setting the label value of a dual-node interconnection pseudo wire DNI-pw as a working pseudo wire label value or a protection pseudo wire label value according to the relation among the fault type in the service message transmission, the transmission direction of the data stream in the service message and the preset protection group members;
and transmitting the service message according to the set working pseudo wire label value or protection pseudo wire label value, a pre-established service message forwarding state mechanism between the protection group members between the primary operator edge device and the standby operator edge device and a preset relationship between the protection group members so as to realize the communication between the customer network element and the PTN.
Wherein the method further comprises:
pre-configuring a plurality of protection groups between the active provider edge device and the standby provider edge device, wherein the protection group members in the protection groups at least include: working pseudowire pwN, protection pseudowire pwN', primary access link gei1-N, and backup access link gei2-N, each protection group shares one DNI-pw, and the label value of DNI-pw is null.
Wherein the fault type is gei1-N failure, and correspondingly, the label value of the dual-node interconnection pseudo wire DNI-pw is set to a working pseudo wire label value according to the fault type in service message transmission, the transmission direction of the data stream in the service message, and the relationship between preset protection group members, specifically:
if the data flow is an uplink data flow, the edge device of the primary operator transmits the service message through pwN between the edge device of the primary operator and a third edge device of an access side landing point operator, so that a DNI-PW between the edge device of the primary operator and the edge device of the standby operator bears the service message, and configures a working pseudo wire label value on pwN for the DNI-PW; or
If the data stream is a downlink data stream, the standby operator edge device transmits the service packet through gei2-N between the standby operator edge device and a customer network element, so that the DNI-PW between the standby operator edge device and the primary operator edge device carries the service packet, and configures a working pseudo wire label value on pwN corresponding to gei2-N for the DNI-PW according to a relationship between preset protection group members.
Wherein the failure type is pwN failure, and correspondingly, the label value of the dual-node interconnection pseudo wire DNI-pw is set to a protection pseudo wire label value according to the relationship among the failure type in service message transmission, the transmission direction of the data stream in the service message, and the preset protection group members, specifically:
if the data stream is a downlink data stream, the edge device of the primary operator transmits the service message through gei1-N between the edge device of the primary operator and a customer network element, so that a DNI-PW between the edge device of the primary operator and the edge device of the standby operator bears the service message, and a protection pseudo wire label value on pwN' corresponding to gei1-N is configured for the DNI-PW according to a preset protection group member relationship; or
If the data flow is an uplink data flow, the standby operator edge device transmits the service message through pwN 'between the standby operator edge device and a third edge device of an access side site operator, so that a DNI-PW between the standby operator edge device and the primary operator edge device bears the service message, and configures a protection pseudo wire label value on the pwN' for the DNI-PW.
Wherein, the transmitting of the service packet is performed according to the set working pseudo wire label value, a pre-established service packet forwarding state mechanism between the protection group members between the primary operator edge device and the standby operator edge device, and a preset relationship between the protection group members, so as to implement communication between the customer network element and the PTN, specifically:
if the data flow is an uplink data flow, when the service message reaches the spare operator edge device through pwN and DNI-pw, the spare operator edge device finds gei2-N matched with pwN according to a relationship between preset protection group members, and sends the service message to a customer network element through gei2-N according to a service message forwarding state mechanism between the protection group members; or
If the data stream is a downlink data stream, when the service packet reaches the edge device of the primary operator through the gei2-N and the DNI-pw, the edge device of the primary operator finds pwN matched with the gei2-N according to a relationship between preset protection group members, and sends the service packet to the PTN through the pwN according to a service packet forwarding state mechanism between the protection group members.
Wherein, the transmitting of the service packet is performed according to the set value of the pseudo-wire protection label, a pre-established service packet forwarding state mechanism between the edge devices of the primary operator and the edge devices of the standby operator, and a preset relationship between the protection packet members, so as to implement communication between the customer network element and the PTN, and specifically:
if the data stream is a downlink data stream, when the service message reaches the spare operator edge device through gei1-N and DNI-pw, the spare operator edge device finds pwN 'matched with gei1-N according to a preset relation between protection group members, and sends the service message to a PTN through pwN' according to a service message forwarding state mechanism between the protection group members; or
If the data flow is an uplink data flow, when the service packet reaches the edge device of the primary operator through pwN 'and the DNI-pw, the edge device of the primary operator finds gei1-N matching with pwN' according to a preset relationship between protection group members, and sends the service packet to a customer network element through gei1-N according to a service packet forwarding state mechanism between the protection group members.
The embodiment of the invention also provides a device for the pseudo wire dual-homing protection of the packet transport network PTN equipment, which is applied to the edge equipment side of the main operator or the edge equipment side of the standby operator, and the device comprises:
the device comprises a setting module, a setting module and a protection module, wherein the setting module is used for setting a label value of a dual-node interconnection pseudo wire DNI-pw to a working pseudo wire label value or a protection pseudo wire label value according to the fault type in service message transmission, the transmission direction of data flow in service message and the relationship among preset protection group members;
and the transmission module is used for transmitting the service message according to the set working pseudo wire label value or the set protection pseudo wire label value, a pre-established service message forwarding state mechanism between the protection group members between the main operator edge device and the standby operator edge device and a preset relationship between the protection group members so as to realize the communication between the customer network element and the PTN.
Wherein the apparatus further comprises:
a configuration module, configured to pre-configure a plurality of protection groups between the active provider edge device and the standby provider edge device, where a protection group member in a protection group at least includes: working pseudowire pwN, protection pseudowire pwN', primary access link gei1-N, and backup access link gei2-N, each protection group shares one DNI-pw, and the label value of DNI-pw is null.
Wherein, when the failure type in the setup module is gei1-N failure, the setup module is further to:
if the data flow is an uplink data flow, transmitting the service message through pwN between the edge device of the primary operator and a third edge device of an access side landing point operator, so that a DNI-PW between the edge device of the primary operator and the edge device of the standby operator bears the service message, and configuring a working pseudo wire label value on pwN for the DNI-PW; or
If the data stream is a downlink data stream, transmitting the service message through gei2-N between the backup operator edge device and a customer network element, so that the DNI-PW between the backup operator edge device and the primary operator edge device carries the service message, and configuring a working pseudo wire label value on pwN corresponding to gei2-N for the DNI-PW according to a relationship between preset protection group members.
Wherein, when the failure type in the setup module is gei1-N failure, the setup module is further to:
if the data stream is a downlink data stream, transmitting the service message through gei1-N between the edge device of the primary operator and a customer network element, so that a DNI-PW between the edge device of the primary operator and the edge device of the standby operator bears the service message, and configuring a protection pseudo wire label value on pwN' corresponding to gei1-N for the DNI-PW according to a preset protection group member relationship; or
If the data flow is an uplink data flow, transmitting the service message through pwN 'between the edge device of the standby operator and a third edge device of an access side landing point operator, so that a DNI-PW between the edge device of the standby operator and the edge device of the main operator bears the service message, and configuring a protection pseudo wire label value on pwN' for the DNI-PW.
Wherein the transmission module is further configured to:
if the data flow is an uplink data flow, when the service message reaches the spare operator edge device through pwN and DNI-pw, finding gei2-N matched with pwN according to a relation between preset protection group members, and sending the service message to a customer network element through gei2-N according to a service message forwarding state mechanism between the protection group members; or
If the data stream is a downlink data stream, when the service packet reaches the edge device of the primary operator through the gei2-N and the DNI-pw, finding pwN matched with the gei2-N according to a relationship between preset protection group members, and sending the service packet to the PTN through the pwN according to a service packet forwarding state mechanism between the protection group members.
Wherein the transmission module is further configured to:
if the data stream is a downlink data stream, when the service message reaches the spare operator edge device through gei1-N and DNI-pw, finding pwN 'matched with gei1-N according to the relationship of preset protection group members, and sending the service message to a PTN through pwN' according to a service message forwarding state mechanism among the protection group members; or
If the data flow is an uplink data flow, when the service message reaches the edge device of the primary operator through pwN 'and the DNI-pw, finding gei1-N matched with pwN' according to the relationship of preset protection group members, and sending the service message to a customer network element through gei1-N according to a service message forwarding state mechanism among the protection group members.
The technical scheme of the embodiment of the invention has the following beneficial effects:
the method comprises the steps of establishing a public DNI-PW, setting different label values for the DNI-PW, and transmitting service messages according to the set different label values, a pre-established service message forwarding state mechanism between protection group members between the edge equipment of the main operator and the edge equipment of the standby operator and a preset relationship between the protection group members so as to realize the communication between a customer network element and a PTN. The single public DNI-PW created by the invention can simplify the OAM configuration workload of the equipment node, save equipment resources and reduce the complexity of operation aiming at the engineering scene bearing more services.
Drawings
FIGS. 1a to 1d are schematic diagrams of the dual-return protection requirement in the PTN general technical requirement of the national standard;
FIG. 2 is a schematic diagram of the method steps of pseudo wire dual homing protection of a packet transport network device according to an embodiment of the present invention;
fig. 3 is a general block diagram of service packet forwarding according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a service packet forwarding state mechanism between protection group members according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating group membership protection according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a DNI-PW bearer uplink service packet when a primary access link fails according to the embodiment of the present invention;
fig. 7 is a schematic diagram illustrating forwarding of an uplink service packet when a primary access link fails according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a DNI-PW bearer downlink service packet when a primary access link fails in the embodiment of the present invention;
fig. 9 is a schematic diagram illustrating forwarding of a downlink service packet when a primary access link fails according to an embodiment of the present invention;
fig. 10 is a schematic diagram of a DNI-PW bearer downlink service packet when a PTN working link fails according to the embodiment of the present invention;
fig. 11 is a schematic diagram illustrating forwarding of a downlink service packet when a PTN working link fails according to an embodiment of the present invention;
fig. 12 is a schematic diagram illustrating that a DNI-PW carries an uplink service packet when a PTN working link fails according to an embodiment of the present invention;
fig. 13 is a schematic diagram illustrating forwarding of an uplink service packet when a PTN working link fails according to an embodiment of the present invention;
fig. 14 is a block diagram of a device for pseudowire dual-homing protection of a packet transport network device according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
Aiming at each service in the prior art, the invention respectively establishes a separate DNI-PW between the edge equipment of the main operator and the edge equipment of the standby operator, and the DNI-PW is configured with a working pseudo wire and a main access link in a one-to-one correspondence manner on the edge equipment of the main operator; the method and the device for the double-homing protection of the pseudo wires of the packet transport network equipment can simplify the OAM configuration workload of the equipment nodes, save the equipment resources and reduce the complexity of operation aiming at the engineering scene bearing more services.
The embodiment of the invention provides a method for protecting a pseudo wire dual-homing of Packet Transport Network (PTN) equipment, which is applied to an edge equipment side of a primary operator or an edge equipment side of a standby operator, and as shown in figure 2, the method comprises the following steps:
step S100, setting a label value of a dual-node interconnection pseudo wire DNI-pw as a working pseudo wire label value or a protection pseudo wire label value according to a fault type in service message transmission, a transmission direction of a data stream in the service message and a relation between preset protection group members;
step S200, according to the set working pseudo wire label value or protection pseudo wire label value, a pre-established service message forwarding state mechanism between the protection group members between the primary operator edge device and the standby operator edge device and a preset relationship between the protection group members, the service message is transmitted, so as to realize the communication between the customer network element and the PTN.
The method for the pseudo wire dual-homing protection of the packet transport network equipment can simplify the OAM configuration workload of the equipment node, save equipment resources and reduce the complexity of operation aiming at the engineering scene bearing more services.
Specifically, different tag values are set for the DNI-pw according to the type of the fault, the transmission direction of the data stream in the service message when the fault occurs, and the relationship between the pre-configured protection group members. A relationship diagram between the primary operator edge device PE1, the backup operator edge device PE2, the third edge device PE0 of the access side floorpoint operator, and the customer side CE is shown in fig. 3, where a plurality of working pseudo wires, such as pw1, pw2.... pwN, are arranged between the PE0 and the PE1, and outgoing label values of the working pseudo wires on the PE1 are set to 5001, 5002.... 500N, respectively; between PE0 and PE2, there are a plurality of corresponding protection pseudowires, such as pw1', pw2.. pwN', and the label output values of these protection pseudowires on PE2 are 6001, 6002.... 600N, respectively.
After different label values are set for DNI-pw, according to the set working pseudo-wire label value or protection pseudo-wire label value, a pre-established service message forwarding state mechanism between the protection group members between the edge device of the primary operator and the edge device of the standby operator and the relationship between the preset protection group members, the service message is transmitted, so as to realize the communication between the customer network element and the PTN.
A service message forwarding state mechanism between protection group members is established on PE1 and PE2, as shown in fig. 4, in which two sequences of upstream/downstream data flow path protection group members (where the sequence of the service message flowing through a member is represented by an arabic number from small to large, and a "no" word represents that the service message does not flow through the member) are enumerated. When the fault type is gei1-N failure, the transmission path of the upstream data flow is as follows: the DNI-pw is transmitted to the PTN through pwN, then the DNI-pw is transmitted to gei2-N, and finally the DNI-pw is transmitted to a customer network element; the transmission path of the downlink data stream is as follows: the DNI-pw is transmitted from the client network element via gei2-N, then transmitted from DNI-pw to pwN, and finally enters PTN. When the fault type is pwN failure, the transmission route of the upstream data flow is as follows: the DNI-pw is transmitted to the PTN through pwN', and then is transmitted to gei1-N through the DNI-pw, and finally enters a customer network element; the transmission path of the downlink data stream is as follows: the DNI-pw is transmitted to the client network element through gei1-N, and then transmitted to pwN' through the DNI-pw, and finally enters the PTN.
In the above embodiment of the present invention, the method further includes:
pre-configuring a plurality of protection groups between the active provider edge device and the standby provider edge device, wherein the protection group members in the protection groups at least include: working pseudowire pwN, protection pseudowire pwN', primary access link gei1-N, and backup access link gei2-N, each protection group shares one DNI-pw, and the label value of DNI-pw is null.
Specifically, the edge device of the primary operator and the edge device of the standby operator are used as a node, a protection group is uniformly configured on the node, the protection group members comprise a working pseudo wire, a protection pseudo wire, a primary access link, a standby access link and a DNI-PW, the DNI-PW is the only public member of each default protection group, and the label value of the DNI-PW is initially null. The relationship between the members of the protection group is shown in fig. 5. The label value on the working pseudowire pw1 in protection group 1 is 5001, the label value on the protection pseudowire pw1' is 6001, the primary access link in protection group 1 is gei1-1, and the backup access link in protection group 1 is gei 2-1. It should be noted that the outgoing label value m of pw1 on the edge device of the primary operator is not equal to the outgoing label value n of pw1' on the edge device of the backup operator (according to the pseudowire dual homing principle, the outgoing label value of a working pseudowire at the primary PE node is different from the outgoing label value of a protection pseudowire at the backup PE node).
In the above embodiment of the present invention, the fault type is gei1-N failure, and accordingly, step S100 sets the label value of the dual-node interconnection pseudo wire DNI-pw to the working pseudo wire label value according to the relation between the fault type in service packet transmission, the transmission direction of the data stream in the service packet, and the preset protection group members, specifically:
if the data flow is an uplink data flow, the edge device of the primary operator transmits the service message through pwN between the edge device of the primary operator and a third edge device of an access side landing point operator, so that a DNI-PW between the edge device of the primary operator and the edge device of the standby operator bears the service message, and configures a working pseudo wire label value on pwN for the DNI-PW; or
If the data stream is a downlink data stream, the standby operator edge device transmits the service packet through gei2-N between the standby operator edge device and a customer network element, so that the DNI-PW between the standby operator edge device and the primary operator edge device carries the service packet, and configures a working pseudo wire label value on pwN corresponding to gei2-N for the DNI-PW according to a relationship between preset protection group members.
Specifically, when gei1-N fails, as shown in fig. 6, after an upstream data flow reaches PE1 through a working pseudo wire pwN whose outgoing label value is 500N, a DNI-PW between PE1 and PE2 is entered, so that the DNI-PW carries a service packet, and 500N working pseudo wire label values are marked for both outgoing and incoming labels of the DNI-PW through PE 1.
As shown in fig. 8, since the customer-side device senses gei1-N failure, after a downstream data stream reaches PE2 through gei2-N transmission, a DNI-PW between PE2 and PE1 is entered, so that the DNI-PW carries a service packet, and finds a working pseudowire label value 500N on pwN corresponding to gei2-N according to a relationship between preset protection group members through PE2, and sets a working pseudowire label value of 500N for both outgoing and incoming labels of the DNI-PW.
In the above embodiment of the present invention, the fault type is pwN failure, and accordingly, step S100 sets the label value of the dual-node interconnection pseudo wire DNI-pw to the protection pseudo wire label value according to the fault type in service packet transmission, the transmission direction of the data stream in the service packet, and the relationship between preset protection group members, specifically:
if the data stream is a downlink data stream, the edge device of the primary operator transmits the service message through gei1-N between the edge device of the primary operator and a customer network element, so that a DNI-PW between the edge device of the primary operator and the edge device of the standby operator bears the service message, and a protection pseudo wire label value on pwN' corresponding to gei1-N is configured for the DNI-PW according to a preset protection group member relationship; or
If the data flow is an uplink data flow, the standby operator edge device transmits the service message through pwN 'between the standby operator edge device and a third edge device of an access side site operator, so that a DNI-PW between the standby operator edge device and the primary operator edge device bears the service message, and configures a protection pseudo wire label value on the pwN' for the DNI-PW.
Specifically, as shown in fig. 10, when pwN fails, a downlink data stream reaches PE1 through gei1-N, enters a DNI-PW between PE1 and PE2, so that the DNI-PW carries a service packet, and searches for a protection pseudowire label value 600N on pwN' corresponding to gei1-N according to a relationship between preset protection group members through PE1, and sets a protection pseudowire label value of 600N for both outgoing and incoming labels of the DNI-PW.
As shown in fig. 12, after an upstream data flow reaches PE2 through a protection pseudowire pwN' whose outgoing label value is 600N, the upstream data flow enters a DNI-PW between PE2 and PE1, so that the DNI-PW carries a service packet, and 600N protection pseudowire label values are marked on both the outgoing label and the incoming label of the DNI-PW through PE 2.
In the above embodiment of the present invention, step S200 is to transmit the service packet according to the set working pseudo wire label value, a pre-established service packet forwarding state mechanism between the protection group members between the primary operator edge device and the standby operator edge device, and a preset relationship between the protection group members, so as to implement communication between the customer network element and the PTN, and specifically includes:
if the data flow is an uplink data flow, when the service message reaches the spare operator edge device through pwN and DNI-pw, the spare operator edge device finds gei2-N matched with pwN according to a relationship between preset protection group members, and sends the service message to a customer network element through gei2-N according to a service message forwarding state mechanism between the protection group members; or
If the data stream is a downlink data stream, when the service packet reaches the edge device of the primary operator through the gei2-N and the DNI-pw, the edge device of the primary operator finds pwN matched with the gei2-N according to a relationship between preset protection group members, and sends the service packet to the PTN through the pwN according to a service packet forwarding state mechanism between the protection group members.
Specifically, as shown in fig. 6 and 7, when the data flow in the service packet is an uplink data flow, that is, the service packet is sent to the customer network element by the PTN, the service packet reaches PE2 through pwN and DNI-pw, and at this time, the label value on the DNI-pw is the working pseudo-wire label value on pwN. The PE2 finds gei2-N matched with pwN according to the relationship between preset protection group members, and sends the service packet to the client network element through gei2-N according to the service packet forwarding state mechanism between the protection group members.
As shown in fig. 8 and fig. 9, when the data flow in the service packet is a downstream data flow, that is, the service packet is sent from the customer network element to the PTN, the service packet reaches PE1 through gei2-N, DNI-pw, and the label value on the DNI-pw is the working pseudo-wire label value on pwN that matches gei 2-N. The PE1 finds pwN matched with gei2-N according to the relationship between preset protection group members, and sends the service packet to the PTN through pwN according to a service packet forwarding state mechanism between the protection group members.
In the above embodiment of the present invention, step S200 is to transmit the service packet according to the set value of the pseudowire protection label, a pre-established service packet forwarding state mechanism between the edge devices of the primary operator and the edge devices of the standby operator, and a preset relationship between the protection group members, so as to implement communication between the customer network element and the PTN, and specifically:
if the data stream is a downlink data stream, when the service message reaches the spare operator edge device through gei1-N and DNI-pw, the spare operator edge device finds pwN 'matched with gei1-N according to a preset relation between protection group members, and sends the service message to a PTN through pwN' according to a service message forwarding state mechanism between the protection group members; or
If the data flow is an uplink data flow, when the service packet reaches the edge device of the primary operator through pwN 'and the DNI-pw, the edge device of the primary operator finds gei1-N matching with pwN' according to a preset relationship between protection group members, and sends the service packet to a customer network element through gei1-N according to a service packet forwarding state mechanism between the protection group members.
Specifically, as shown in fig. 10 and 11, when the data flow in the service packet is a downstream data flow, that is, the service packet is sent from the customer network element to the PTN, the service packet reaches PE2 through gei1-N, DNI-pw, and at this time, the label value on the DNI-pw is the protection pseudo-wire label value on pwN' that matches gei 1-N. The PE2 finds pwN 'matched with gei1-N according to the preset relationship between the protection group members, and sends the service message to the PTN through pwN' according to the service message forwarding state mechanism between the protection group members.
As shown in fig. 12 and 13, when the data flow in the service packet is an upstream data flow, that is, the service packet is sent from the PTN to the customer network element, the service packet arrives at PE1 through pwN 'and DNI-pw, and at this time, the label value on the DNI-pw is the protection pseudo-wire label value on pwN'. The PE1 finds gei1-N matched with pwN' according to the relationship between preset protection group members, and sends the service packet to the client network element through gei1-N according to the service packet forwarding state mechanism between the protection group members.
An embodiment of the present invention provides a device for protecting a pseudo wire dual-homing of a packet transport network PTN device, which is applied to an edge device side of a primary operator or an edge device side of a standby operator, and as shown in fig. 14, the device includes:
a setting module 10, configured to set a label value of a dual-node interconnection pseudo wire DNI-pw as a working pseudo wire label value or a protection pseudo wire label value according to a fault type in service packet transmission, a transmission direction of a data stream in a service packet, and a relationship between preset protection group members;
a transmitting module 20, configured to transmit the service packet according to the set working pseudo wire label value or protection pseudo wire label value, a pre-established service packet forwarding state mechanism between the protection group members between the primary operator edge device and the standby operator edge device, and a preset relationship between the protection group members, so as to implement communication between the customer network element and the PTN.
In the above embodiment of the present invention, the apparatus further includes:
a configuration module 30, configured to pre-configure a plurality of protection groups between the active provider edge device and the standby provider edge device, where a protection group member in a protection group at least includes: working pseudowire pwN, protection pseudowire pwN', primary access link gei1-N, and backup access link gei2-N, each protection group shares one DNI-pw, and the label value of DNI-pw is null.
In the above embodiment of the present invention, when the failure type in the setup module 10 is gei1-N failure, the setup module 10 is further configured to:
if the data flow is an uplink data flow, transmitting the service message through pwN between the edge device of the primary operator and a third edge device of an access side landing point operator, so that a DNI-PW between the edge device of the primary operator and the edge device of the standby operator bears the service message, and configuring a working pseudo wire label value on pwN for the DNI-PW; or
If the data stream is a downlink data stream, transmitting the service message through gei2-N between the backup operator edge device and a customer network element, so that the DNI-PW between the backup operator edge device and the primary operator edge device carries the service message, and configuring a working pseudo wire label value on pwN corresponding to gei2-N for the DNI-PW according to a relationship between preset protection group members.
In the above embodiment of the present invention, when the failure type in the setup module 10 is gei1-N failure, the setup module 10 is further configured to:
if the data stream is a downlink data stream, transmitting the service message through gei1-N between the edge device of the primary operator and a customer network element, so that a DNI-PW between the edge device of the primary operator and the edge device of the standby operator bears the service message, and configuring a protection pseudo wire label value on pwN' corresponding to gei1-N for the DNI-PW according to a preset protection group member relationship; or
If the data flow is an uplink data flow, transmitting the service message through pwN 'between the edge device of the standby operator and a third edge device of an access side landing point operator, so that a DNI-PW between the edge device of the standby operator and the edge device of the main operator bears the service message, and configuring a protection pseudo wire label value on pwN' for the DNI-PW.
In the above embodiment of the present invention, the transmission module 20 is further configured to:
if the data flow is an uplink data flow, when the service message reaches the spare operator edge device through pwN and DNI-pw, finding gei2-N matched with pwN according to a relation between preset protection group members, and sending the service message to a customer network element through gei2-N according to a service message forwarding state mechanism between the protection group members; or
If the data stream is a downlink data stream, when the service packet reaches the edge device of the primary operator through the gei2-N and the DNI-pw, finding pwN matched with the gei2-N according to a relationship between preset protection group members, and sending the service packet to the PTN through the pwN according to a service packet forwarding state mechanism between the protection group members.
In the above embodiment of the present invention, the transmission module 20 is further configured to:
if the data stream is a downlink data stream, when the service message reaches the spare operator edge device through gei1-N and DNI-pw, finding pwN 'matched with gei1-N according to the relationship of preset protection group members, and sending the service message to a PTN through pwN' according to a service message forwarding state mechanism among the protection group members; or
If the data flow is an uplink data flow, when the service message reaches the edge device of the primary operator through pwN 'and the DNI-pw, finding gei1-N matched with pwN' according to the relationship of preset protection group members, and sending the service message to a customer network element through gei1-N according to a service message forwarding state mechanism among the protection group members.
The method for protecting the pseudo wire dual homing of the packet transport network equipment provided by the embodiment of the invention sets different label values for the DNI-PW by establishing a public DNI-PW, and transmits a service message according to the set different label values, a pre-established service message forwarding state mechanism between the edge equipment of the main operator and the edge equipment of the standby operator and the relationship between the preset protection group members so as to realize the communication between a customer network element and the PTN. The single public DNI-PW created by the invention can simplify the OAM configuration workload of the equipment node, save equipment resources and reduce the complexity of operation aiming at the engineering scene bearing more services.
It should be noted that the apparatus for pseudowire dual homing protection of packet transport network devices provided by the present invention is an apparatus applying the above method, and all embodiments of the above method are applicable to the apparatus and can achieve the same or similar beneficial effects.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. A method for pseudo wire dual-homing protection of packet transport network PTN equipment is applied to an edge equipment side of a primary operator or an edge equipment of a standby operator, and is characterized by comprising the following steps:
setting the label value of a dual-node interconnection pseudo wire DNI-pw as a working pseudo wire label value or a protection pseudo wire label value according to the relation among the fault type in the service message transmission, the transmission direction of the data stream in the service message and the preset protection group members; the double-node interconnection pseudowire DNI-pw is a public DNI-pw;
and transmitting the service message according to the set working pseudo wire label value or protection pseudo wire label value, a pre-established service message forwarding state mechanism between the protection group members between the primary operator edge device and the standby operator edge device and a preset relationship between the protection group members so as to realize the communication between the customer network element and the PTN.
2. The method of claim 1, wherein the method further comprises:
pre-configuring a plurality of protection groups between the active provider edge device and the standby provider edge device, wherein the protection group members in the protection groups at least include: working pseudowire pwN, protection pseudowire pwN', primary access link gei1-N, and backup access link gei2-N, each protection group shares one DNI-pw, and the label value of DNI-pw is null.
3. The method according to claim 2, wherein the failure type is gei1-N failure, and accordingly, the setting of the label value of the dual-node interconnection pseudo wire DNI-pw to the working pseudo wire label value according to the relationship between the failure type in service packet transmission, the transmission direction of the data stream in the service packet, and preset protection group members specifically comprises:
if the data flow is an uplink data flow, the edge device of the primary operator transmits the service message through pwN between the edge device of the primary operator and a third edge device of an access side landing point operator, so that a DNI-PW between the edge device of the primary operator and the edge device of the standby operator bears the service message, and configures a working pseudo wire label value on pwN for the DNI-PW; or
If the data stream is a downlink data stream, the standby operator edge device transmits the service packet through gei2-N between the standby operator edge device and a customer network element, so that the DNI-PW between the standby operator edge device and the primary operator edge device carries the service packet, and configures a working pseudo wire label value on pwN corresponding to gei2-N for the DNI-PW according to a relationship between preset protection group members.
4. The method according to claim 2, wherein the failure type is pwN failure, and accordingly, the setting of the label value of the dual-node interconnection pseudo wire DNI-pw to the protection pseudo wire label value according to the relationship between the failure type in service packet transmission, the transmission direction of the data stream in the service packet, and preset protection group members specifically comprises:
if the data stream is a downlink data stream, the edge device of the primary operator transmits the service message through gei1-N between the edge device of the primary operator and a customer network element, so that a DNI-PW between the edge device of the primary operator and the edge device of the standby operator bears the service message, and a protection pseudo wire label value on pwN' corresponding to gei1-N is configured for the DNI-PW according to a preset protection group member relationship; or
If the data flow is an uplink data flow, the standby operator edge device transmits the service message through pwN 'between the standby operator edge device and a third edge device of an access side site operator, so that a DNI-PW between the standby operator edge device and the primary operator edge device bears the service message, and configures a protection pseudo wire label value on the pwN' for the DNI-PW.
5. The method according to claim 2, wherein the transmitting of the service packet is performed according to the set working pseudo wire label value, a pre-established service packet forwarding state mechanism between the protection group members between the primary operator edge device and the backup operator edge device, and a preset relationship between the protection group members, so as to implement communication between a customer network element and a PTN, and specifically includes:
if the data flow is an uplink data flow, when the service message reaches the spare operator edge device through pwN and DNI-pw, the spare operator edge device finds gei2-N matched with pwN according to a relationship between preset protection group members, and sends the service message to a customer network element through gei2-N according to a service message forwarding state mechanism between the protection group members; or
If the data stream is a downlink data stream, when the service packet reaches the edge device of the primary operator through the gei2-N and the DNI-pw, the edge device of the primary operator finds pwN matched with the gei2-N according to a relationship between preset protection group members, and sends the service packet to the PTN through the pwN according to a service packet forwarding state mechanism between the protection group members.
6. The method according to claim 2, wherein the transmitting the service packet is performed according to the set value of the pseudowire protection label, a pre-established service packet forwarding state mechanism between the protection group members between the primary operator edge device and the backup operator edge device, and a preset relationship between the protection group members, so as to implement communication between a customer network element and a PTN, specifically:
if the data stream is a downlink data stream, when the service message reaches the spare operator edge device through gei1-N and DNI-pw, the spare operator edge device finds pwN 'matched with gei1-N according to a preset relation between protection group members, and sends the service message to a PTN through pwN' according to a service message forwarding state mechanism between the protection group members; or
If the data flow is an uplink data flow, when the service packet reaches the edge device of the primary operator through pwN 'and the DNI-pw, the edge device of the primary operator finds gei1-N matching with pwN' according to a preset relationship between protection group members, and sends the service packet to a customer network element through gei1-N according to a service packet forwarding state mechanism between the protection group members.
7. A device for pseudo wire dual-homing protection of packet transport network PTN equipment is applied to an edge equipment side of a primary operator or an edge equipment of a standby operator, and is characterized by comprising the following steps:
the device comprises a setting module, a setting module and a protection module, wherein the setting module is used for setting a label value of a dual-node interconnection pseudo wire DNI-pw to a working pseudo wire label value or a protection pseudo wire label value according to the fault type in service message transmission, the transmission direction of data flow in service message and the relationship among preset protection group members; the double-node interconnection pseudowire DNI-pw is a public DNI-pw;
and the transmission module is used for transmitting the service message according to the set working pseudo wire label value or the set protection pseudo wire label value, a pre-established service message forwarding state mechanism between the protection group members between the main operator edge device and the standby operator edge device and a preset relationship between the protection group members so as to realize the communication between the customer network element and the PTN.
8. The apparatus of claim 7, wherein the apparatus further comprises:
a configuration module, configured to pre-configure a plurality of protection groups between the active provider edge device and the standby provider edge device, where a protection group member in a protection group at least includes: working pseudowire pwN, protection pseudowire pwN', primary access link gei1-N, and backup access link gei2-N, each protection group shares one DNI-pw, and the label value of DNI-pw is null.
9. The apparatus of claim 8, wherein when the failure type in the setup module is gei1-N failure, the setup module is further to:
if the data flow is an uplink data flow, transmitting the service message through pwN between the edge device of the primary operator and a third edge device of an access side landing point operator, so that a DNI-PW between the edge device of the primary operator and the edge device of the standby operator bears the service message, and configuring a working pseudo wire label value on pwN for the DNI-PW; or
If the data stream is a downlink data stream, transmitting the service message through gei2-N between the backup operator edge device and a customer network element, so that the DNI-PW between the backup operator edge device and the primary operator edge device carries the service message, and configuring a working pseudo wire label value on pwN corresponding to gei2-N for the DNI-PW according to a relationship between preset protection group members.
10. The apparatus of claim 8, wherein when the failure type in the setup module is gei1-N failure, the setup module is further to:
if the data stream is a downlink data stream, transmitting the service message through gei1-N between the edge device of the primary operator and a customer network element, so that a DNI-PW between the edge device of the primary operator and the edge device of the standby operator bears the service message, and configuring a protection pseudo wire label value on pwN' corresponding to gei1-N for the DNI-PW according to a preset protection group member relationship; or
If the data flow is an uplink data flow, transmitting the service message through pwN 'between the edge device of the standby operator and a third edge device of an access side landing point operator, so that a DNI-PW between the edge device of the standby operator and the edge device of the main operator bears the service message, and configuring a protection pseudo wire label value on pwN' for the DNI-PW.
11. The apparatus of claim 8, wherein the transmission module is further to:
if the data flow is an uplink data flow, when the service message reaches the spare operator edge device through pwN and DNI-pw, finding gei2-N matched with pwN according to a relation between preset protection group members, and sending the service message to a customer network element through gei2-N according to a service message forwarding state mechanism between the protection group members; or
If the data stream is a downlink data stream, when the service packet reaches the edge device of the primary operator through the gei2-N and the DNI-pw, finding pwN matched with the gei2-N according to a relationship between preset protection group members, and sending the service packet to the PTN through the pwN according to a service packet forwarding state mechanism between the protection group members.
12. The apparatus of claim 8, wherein the transmission module is further to:
if the data stream is a downlink data stream, when the service message reaches the spare operator edge device through gei1-N and DNI-pw, finding pwN 'matched with gei1-N according to the relationship of preset protection group members, and sending the service message to a PTN through pwN' according to a service message forwarding state mechanism among the protection group members; or
If the data flow is an uplink data flow, when the service message reaches the edge device of the primary operator through pwN 'and the DNI-pw, finding gei1-N matched with pwN' according to the relationship of preset protection group members, and sending the service message to a customer network element through gei1-N according to a service message forwarding state mechanism among the protection group members.
CN201510303988.3A 2015-06-04 2015-06-04 Method and device for pseudo wire dual-homing protection of packet transport network equipment Active CN106301852B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510303988.3A CN106301852B (en) 2015-06-04 2015-06-04 Method and device for pseudo wire dual-homing protection of packet transport network equipment
PCT/CN2015/092328 WO2016192269A1 (en) 2015-06-04 2015-10-20 Method and apparatus for pseudo wire dual-homing protection of packet transport network device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510303988.3A CN106301852B (en) 2015-06-04 2015-06-04 Method and device for pseudo wire dual-homing protection of packet transport network equipment

Publications (2)

Publication Number Publication Date
CN106301852A CN106301852A (en) 2017-01-04
CN106301852B true CN106301852B (en) 2020-04-03

Family

ID=57440031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510303988.3A Active CN106301852B (en) 2015-06-04 2015-06-04 Method and device for pseudo wire dual-homing protection of packet transport network equipment

Country Status (2)

Country Link
CN (1) CN106301852B (en)
WO (1) WO2016192269A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110661666B (en) * 2019-09-29 2022-02-18 中国联合网络通信集团有限公司 Method and device for establishing ring network resources of packet transport network
CN113179458B (en) * 2021-04-26 2022-11-11 中国电信集团工会上海市委员会 Signal routing management system with end-to-end protection

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE602007008686D1 (en) * 2007-04-17 2010-10-07 Alcatel Lucent Method and apparatus for reserving network resources for a point-to-point pseudo-connection
CN102142975B (en) * 2010-02-01 2015-05-13 中兴通讯股份有限公司 Method and system for service protection based on dual node interconnection protection structure in transmission network
IL218899A0 (en) * 2012-03-27 2012-06-28 Eci Telecom Ltd Mpls tunnel for bw sharing
CN102710523A (en) * 2012-06-14 2012-10-03 中兴通讯股份有限公司 Method and system for switching path
CN104270231B (en) * 2014-09-05 2018-02-16 烽火通信科技股份有限公司 A kind of system and method for realizing binode interconnection pseudo-wire

Also Published As

Publication number Publication date
CN106301852A (en) 2017-01-04
WO2016192269A1 (en) 2016-12-08

Similar Documents

Publication Publication Date Title
EP2314022B1 (en) Establishing pseudowires in packet switching networks
US9755957B2 (en) Pseudowire control channel for signaling events
CN102724118B (en) Label distribution method and device
CN102571426B (en) Double-homing protection method and device
CN101610535B (en) Method, system and device for ensuring BFD conversation stability on the scene of multilink direct connection
US9210037B2 (en) Method, apparatus and system for interconnected ring protection
CN103178971A (en) Passive optical network (PON) protecting method and device
CN101141330A (en) Method, system and equipment to establish BFD detection for LSP tunnel
CN102282805B (en) Method for service protection and access device
EP3323227B1 (en) Restoring an mpls ring network
CN105591800A (en) Traffic protection method and device
CN106301852B (en) Method and device for pseudo wire dual-homing protection of packet transport network equipment
EP3681112A1 (en) Method, apparatus and system for transmitting multicast message
CN102224709A (en) Method and apparatus of monitoring on ip bearing net performance
Babarczi et al. Optimal dedicated protection approach to shared risk link group failures using network coding
CN104753754A (en) Method and apparatus for transmitting messages
EP2573977A1 (en) Subnet protection method and device for transport multi-protocol label switching (tmpls) network
CN109361605B (en) Dual-IP deployment service protection method and system for transmission network system
US20130003759A1 (en) Technique for bandwidth effective traffic protection in communication networks
CN102780587B (en) The method of looped network protection is realized in MPLS-TP
CN116261842A (en) High availability software defined wide area network
CN102136945B (en) Method for establishing label switch path (LSP) protection and node
WO2017118008A1 (en) Packet transmission method and device
CN102413043A (en) Heartbeat setting method, device and heartbeat system
CN103580884A (en) Protection configuration method, protection configuration system, transmitting-end equipment and receiving-end equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant