CN106301852A - A kind of method and device of Packet Transport Network equipment pseudo-wire dual-homing protection - Google Patents
A kind of method and device of Packet Transport Network equipment pseudo-wire dual-homing protection Download PDFInfo
- Publication number
- CN106301852A CN106301852A CN201510303988.3A CN201510303988A CN106301852A CN 106301852 A CN106301852 A CN 106301852A CN 201510303988 A CN201510303988 A CN 201510303988A CN 106301852 A CN106301852 A CN 106301852A
- Authority
- CN
- China
- Prior art keywords
- service message
- provider edge
- dni
- edge equipment
- pwn
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
Abstract
The present invention provides the method and device of a kind of Packet Transport Network equipment pseudo-wire dual-homing protection; wherein method includes: according to the relation transmitted between direction and default protection group membership of data stream in the fault type in service message transmission, service message, the label value that binode interconnects pseudo-wire DNI-pw is set to work pseudo line tag value or protection pseudo line tag value;According to the described work pseudo line tag value arranged or protection pseudo line tag value, between the primary provider edge equipment pre-build and standby provider edge equipment, protect the service message forwarding state mechanism between group membership and the relation between default protection group membership; carry out the transmission of described service message, to realize the communication between client's network element and PTN.The present invention is directed to carry more multiple services project scenarios, device node OAM can be simplified and configure workload, save device resource, alleviate the complexity of operation.
Description
Technical field
The present invention relates to Packet Transport Network technical field, particularly relate to a kind of Packet Transport Network equipment pseudo-wire dual homed
The method and device of protection.
Background technology
Packet Transport Network (PTN, Packet Transport Network) the equipment pseudo-wire of project plan now
Dual-homing protection requirement source in GB " requirement of PTN general technical " to dual-homing protection requirement.For industry
Boundary's demand, uses in the industry and arranges binode at two aggregation nodes (primary and backup provider edge equipment)
Interconnection pseudo-wire (DNI-pw, Dual Node Interconnection PW), carries the two aggregation node
The data stream of intercommunication.Shift gears classification according to the data flow path that PTN is internal and customer side fault causes,
There is following two ways: 1. for main access link fault or primary provider edge equipment fault, such as figure
Shown in 1a, each working service upstream is to walk active link (by work pseudo-wire carrying) in PTN,
On primary provider edge equipment, change and walk DNI-PW.As shown in Figure 1 b, and by standby operator
Edge device flows out.Wherein, downstream data flow is consistent with upstream data flow path, in opposite direction.2. pair
Operating path (comprising P node) fault in PTN, as illustrated in figure 1 c, each working service downlink data
Flow and enter primary provider edge equipment by main access link, change and walk DNI-PW.As shown in Figure 1 d,
And flowed in PTN by standby provider edge equipment.Upstream is consistent with downlink data flow path,
In opposite direction.
The shortcoming of existing DNI-PW is, for each business, at primary and backup provider edge equipment
Between will be respectively created independent DNI-PW, on primary provider edge equipment DNI-PW will with work puppet
Line, main access link one_to_one corresponding configure;On standby provider edge equipment, DNI-PW will be with protection
Pseudo-wire, standby access link one_to_one corresponding configure.Project scenarios more multiple services for actual bearer, causes
On two nodes, the OAM to DNI-PW (operates Operation, management Administration and maintenance
Maintenance) configuration workload is relatively big, easily makes mistakes, and consumes device resource.
Summary of the invention
A kind of method that the purpose of the embodiment of the present invention is to provide Packet Transport Network equipment pseudo-wire dual-homing protection
And device, for carrying more multiple services project scenarios, device node OAM can be simplified and configure workload,
Save device resource, alleviate the complexity of operation.
The embodiment of the present invention provides a kind of method of Packet Transport Network PTN device pseudo-wire dual-homing protection, application
In primary provider edge equipment side or standby provider edge equipment side, described method includes:
Fault type in transmitting according to service message, the transmission direction of data stream and presetting in service message
Protection group membership between relation, binode interconnects the label value of pseudo-wire DNI-pw, and to be set to work pseudo-
Line label value or protection pseudo line tag value;
According to arrange described work pseudo line tag value or protection pseudo line tag value, pre-build described primary
The service message between group membership is protected between provider edge equipment and described standby provider edge equipment
Relation between forwarding state mechanism and default protection group membership, carries out the transmission of described service message,
To realize the communication between client's network element and PTN.
Wherein, described method also includes:
It is pre-configured with between described primary provider edge equipment and described standby provider edge equipment many
Individual protection group, the protection group membership in wherein protection group at least includes: work pseudo-wire pwN, protection pseudo-wire
PwN', main access link gei1-N and standby access link gei2-N, each protection group shares a DNI-pw,
And the label value of described DNI-pw is empty.
Wherein, described fault type is that gei1-N lost efficacy, correspondingly, described according in service message transmission
Fault type, relation between transmission direction and the default protection group membership of data stream in service message,
The label value that binode interconnects pseudo-wire DNI-pw is set to work pseudo line tag value, particularly as follows:
If described data stream is upstream, described primary provider edge equipment is by falling with access side
PwN between 3rd edge device of place operator transmits described service message so that described primary fortune
DNI-pw between battalion's business's edge device and described standby provider edge equipment carries described service message,
And be the work pseudo line tag value on the described DNI-PW described pwN of configuration;Or
If described data stream is downstream data flow, described standby provider edge equipment by with client's network element
Between gei2-N transmit described service message so that described standby provider edge equipment is primary with described
DNI-PW between provider edge equipment carries described service message, according to default protection group membership it
Between relation be the work pseudo line tag value on the described DNI-PW configuration pwN corresponding with described gei2-N.
Wherein, described fault type is that pwN lost efficacy, correspondingly, described according in service message transmission
The relation transmitted between direction and default protection group membership of data stream in fault type, service message,
The label value that binode interconnects pseudo-wire DNI-pw is set to protect pseudo line tag value, particularly as follows:
If described data stream is downstream data flow, described primary provider edge equipment by with client's network element
Between gei1-N transmit described service message so that described primary provider edge equipment is standby with described
DNI-PW between provider edge equipment carries described service message, and according to default protection group membership
Relation be the protection pseudo line tag value on the described DNI-PW configuration pwN' corresponding with described gei1-N;
Or
If described data stream is upstream, described standby provider edge equipment is by falling with access side
PwN' between 3rd edge device of place operator transmits described service message so that described standby fortune
DNI-PW between battalion's business's edge device and described primary provider edge equipment carries described service message,
The protection pseudo line tag value on described pwN' is configured for described DNI-PW.
Wherein, described according to the described work pseudo line tag value arranged, the described primary operator pre-build
The service message between group membership is protected to forward shape between edge device and described standby provider edge equipment
Relation between state mechanism and default protection group membership, carries out the transmission of described service message, to realize
Communication between client's network element and PTN, particularly as follows:
If described data stream is upstream, when described service message is by described pwN, described
DNI-pw arrives described standby provider edge equipment, described standby provider edge equipment according to preset
Relation between protection group membership, finds the gei2-N mated with described pwN, and according to protection composition
Described service message is sent to client by the service message forwarding state mechanism between Yuan by described gei2-N
Network element;Or
If described data stream is downstream data flow, when described service message is by described gei2-N, described
DNI-pw arrives described primary provider edge equipment, described primary provider edge equipment according to preset
Relation between protection group membership, finds the pwN mated with described gei2-N, and according to protection composition
Described service message is sent to PTN by the service message forwarding state mechanism between Yuan by described pwN.
Wherein, described according to the described protection pseudo line tag value arranged, the described primary operator pre-build
The service message between group membership is protected to forward shape between edge device and described standby provider edge equipment
Relation between state mechanism and default protection group membership, carries out the transmission of described service message, to realize
Communication between client's network element and PTN, particularly as follows:
If described data stream is downstream data flow, when described service message is by described gei1-N, described
DNI-pw arrives described standby provider edge equipment, described standby provider edge equipment according to preset
The relation of protection group membership, finds the pwN' mated with described gei1-N, and according to protection group membership it
Between service message forwarding state mechanism described service message is sent to PTN by described pwN';Or
If described data stream is upstream, when described service message is by described pwN', described
DNI-pw arrives described primary provider edge equipment, described primary provider edge equipment according to preset
The relation of protection group membership, finds the gei1-N mated with described pwN', and according to protection group membership it
Between service message forwarding state mechanism by described service message by described gei1-N send to client's network element.
The embodiment of the present invention also provides for the device of a kind of Packet Transport Network PTN device pseudo-wire dual-homing protection, should
For primary provider edge equipment side or standby provider edge equipment side, described device includes:
Module is set, for according to the biography of data stream in the fault type in service message transmission, service message
Relation between defeated direction and default protection group membership, interconnects the label of pseudo-wire DNI-pw by binode
Value is set to work pseudo line tag value or protection pseudo line tag value;
Delivery module, for according to the described work pseudo line tag value arranged or protection pseudo line tag value, in advance
Group membership is protected between described primary provider edge equipment and the described standby provider edge equipment set up
Between service message forwarding state mechanism and preset protection group membership between relation, carry out described industry
The transmission of business message, to realize the communication between client's network element and PTN.
Wherein, described device also includes:
Configuration module, is used for being pre-configured with described primary provider edge equipment and described standby Provider Edge
Multiple protection groups between equipment, the protection group membership in wherein protection group at least includes: work pseudo-wire pwN,
Protection pseudo-wire pwN', main access link gei1-N and standby access link gei2-N, each protection group shares one
Bar DNI-pw, and the label value of described DNI-pw is empty.
Wherein, when the described described fault type arranged in module be gei1-N lost efficacy time, described mould is set
Block is further used for:
If described data stream is upstream, fallen with accessing side by described primary provider edge equipment
PwN between 3rd edge device of place operator transmits described service message so that described primary fortune
DNI-pw between battalion's business's edge device and described standby provider edge equipment carries described service message,
And be the work pseudo line tag value on the described DNI-PW described pwN of configuration;Or
If described data stream is downstream data flow, by described standby provider edge equipment and client's network element
Between gei2-N transmit described service message so that described standby provider edge equipment is primary with described
DNI-PW between provider edge equipment carries described service message, according to default protection group membership it
Between relation be the work pseudo line tag value on the described DNI-PW configuration pwN corresponding with described gei2-N.
Wherein, when the described described fault type arranged in module be gei1-N lost efficacy time, described mould is set
Block is further used for:
If described data stream is downstream data flow, by described primary provider edge equipment and client's network element
Between gei1-N transmit described service message so that described primary provider edge equipment is standby with described
DNI-PW between provider edge equipment carries described service message, and according to default protection group membership
Relation be the protection pseudo line tag value on the described DNI-PW configuration pwN' corresponding with described gei1-N;
Or
If described data stream is upstream, fallen with accessing side by described standby provider edge equipment
PwN' between 3rd edge device of place operator transmits described service message so that described standby fortune
DNI-PW between battalion's business's edge device and described primary provider edge equipment carries described service message,
The protection pseudo line tag value on described pwN' is configured for described DNI-PW.
Wherein, described delivery module is further used for:
If described data stream is upstream, when described service message is by described pwN, described
DNI-pw arrives described standby provider edge equipment, according to the relation between default protection group membership,
Find the gei2-N mated with described pwN, and forward shape according to the service message between protection group membership
Described service message is sent to client's network element by state mechanism by described gei2-N;Or
If described data stream is downstream data flow, when described service message is by described gei2-N, described
DNI-pw arrives described primary provider edge equipment, according to the relation between default protection group membership,
Find the pwN mated with described gei2-N, and forward shape according to the service message between protection group membership
Described service message is sent to PTN by state mechanism by described pwN.
Wherein, described delivery module is further used for:
If described data stream is downstream data flow, when described service message is by described gei1-N, described
DNI-pw arrives described standby provider edge equipment, according to the relation of default protection group membership, searches
To the pwN' mated with described gei1-N, and according to the service message forwarding state machine between protection group membership
Make and described service message is sent to PTN by described pwN';Or
If described data stream is upstream, when described service message is by described pwN', described
DNI-pw arrives described primary provider edge equipment, according to the relation of default protection group membership, searches
To the gei1-N mated with described pwN', and according to the service message forwarding state machine between protection group membership
Make and described service message is sent to client's network element by described gei1-N.
Having the beneficial effect that of the technique scheme of the embodiment of the present invention:
By creating a public DNI-PW, different label values is set for DNI-PW, and according to setting
The different label values put, between the primary provider edge equipment pre-build and standby provider edge equipment
The relation between service message forwarding state mechanism and default protection group membership between protection group membership,
Carry out the transmission of service message, to realize the communication between client's network element and PTN.The list that the present invention creates
The public DNI-PW of bar, for carrying more multiple services project scenarios, can simplify device node OAM and join
Put workload, save device resource, alleviate the complexity of operation.
Accompanying drawing explanation
Fig. 1 a-Fig. 1 d is, in GB " requirement of PTN general technical ", dual-homing protection is required schematic diagram;
Fig. 2 is the method step schematic diagram of embodiment of the present invention Packet Transport Network equipment pseudo-wire dual-homing protection;
Fig. 3 is that embodiment of the present invention service message forwards the general frame;
Fig. 4 is service message forwarding state schematic diagram of mechanism between embodiment of the present invention protection group membership;
Fig. 5 is that the embodiment of the present invention protects group membership's relation schematic diagram;
When Fig. 6 is the embodiment of the present invention main access link fault, DNI-PW carries uplink service message schematic diagram;
When Fig. 7 is the embodiment of the present invention main access link fault, uplink service message forwards schematic diagram;
DNI-PW bearing downlink service message schematic diagram when Fig. 8 is the embodiment of the present invention main access link fault;
When Fig. 9 is the embodiment of the present invention main access link fault, downlink business message forwards schematic diagram;
When Figure 10 is embodiment of the present invention PTN active link fault, DNI-PW bearing downlink service message shows
It is intended to;
When Figure 11 is embodiment of the present invention PTN active link fault, downlink business message forwards schematic diagram;
When Figure 12 is embodiment of the present invention PTN active link fault, DNI-PW carrying uplink service message shows
It is intended to;
When Figure 13 is embodiment of the present invention PTN active link fault, uplink service message forwards schematic diagram;
Figure 14 is the device block diagram of embodiment of the present invention Packet Transport Network equipment pseudo-wire dual-homing protection.
Detailed description of the invention
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with attached
Figure and specific embodiment are described in detail.
The present invention is directed to for each business in prior art, in primary provider edge equipment and standby fortune
Independent DNI-PW will be respectively created between battalion's business's edge device, on primary provider edge equipment,
DNI-PW will be with work pseudo-wire, the configuration of main access link one_to_one corresponding;On standby provider edge equipment,
DNI-PW is more multiple services in actual bearer with protection pseudo-wire, the configuration of standby access link one_to_one corresponding
Project scenarios, causes on two nodes relatively big to the OAM configuration workload of DNI-PW, easily makes mistakes,
And the problem consuming device resource, it is provided that a kind of method of Packet Transport Network equipment pseudo-wire dual-homing protection and dress
Put, for carrying more multiple services project scenarios, device node OAM can be simplified and configure workload, joint
Save device resource, alleviate the complexity of operation.
The embodiment of the present invention provides a kind of method of Packet Transport Network PTN device pseudo-wire dual-homing protection, application
In primary provider edge equipment side or standby provider edge equipment side, as in figure 2 it is shown, include:
Step S100, transmit according to service message in fault type, the transmission of data stream in service message
Relation between direction and default protection group membership, interconnects the label value of pseudo-wire DNI-pw by binode
It is set to work pseudo line tag value or protection pseudo line tag value;
Step S200, according to arrange described work pseudo line tag value or protection pseudo line tag value, build in advance
Protect between vertical described primary provider edge equipment and described standby provider edge equipment group membership it
Between service message forwarding state mechanism and preset protection group membership between relation, carry out described business
The transmission of message, to realize the communication between client's network element and PTN.
The method of embodiment of the present invention Packet Transport Network equipment pseudo-wire dual-homing protection, more multiple services for carrying
Project scenarios, can simplify device node OAM and configure workload, save device resource, alleviate operation
Complexity.
Concrete, the transmission direction of data stream in service message when occurring according to the type broken down, fault
And the relation between the protection group membership being pre-configured with, for DNI-pw, different label values is set.Primary
Provider edge equipment PE1, standby provider edge equipment PE2, access pick-up point, side operator the 3rd
Graph of a relation between edge device PE0 and customer side CE is as it is shown on figure 3, have between PE0 and PE1
The a plurality of work pseudo-wire such as pw1, pw2......pwN, arrange they outgoing label values on PE1 be respectively 5001,
5002......500N;The a plurality of corresponding guarantor such as pw1', pw2'......pwN' is had between PE0 with PE2
Protect pseudo-wire, arrange they outgoing label values on PE2 be respectively 6001,6002......600N.
After arranging different label values for DNI-pw, according to the work pseudo line tag value arranged or protection pseudo-wire
Label value, between the primary provider edge equipment pre-build and standby provider edge equipment protection composition
The relation between service message forwarding state mechanism and default protection group membership between Yuan, carries out business
The transmission of message, to realize the communication between client's network element and PTN.
PE1 and PE2 sets up the service message forwarding state mechanism between protection group membership, such as Fig. 4
Shown in, wherein list under two kinds of fault conditions, order (its of uplink/downlink data stream approach protection group membership
The ascending service message that represents of middle Arabic numerals flows through the order of member, and "None" word represents and do not flows through
This member).When fault type is gei1-N inefficacy, the delivering path of upstream: by PTN through pwN
Transmission is to DNI-pw, then is transmitted to gei2-N by DNI-pw, finally transmits to client's network element;Lower line number
According to stream delivering path: by client's network element through gei2-N transmit to DNI-pw, then by DNI-pw transmit to
PwN, finally enters PTN.When fault type is pwN inefficacy, the delivering path of upstream: by
PTN transmits to DNI-pw through pwN', then is transmitted to gei1-N by DNI-pw, finally enters client's net
Unit;The delivering path of downstream data flow: transmitted to DNI-pw through gei1-N by client's network element, then by DNI-pw
Transmission, to pwN', finally enters PTN.
In the above embodiment of the present invention, described method also includes:
It is pre-configured with between described primary provider edge equipment and described standby provider edge equipment many
Individual protection group, the protection group membership in wherein protection group at least includes: work pseudo-wire pwN, protection pseudo-wire
PwN', main access link gei1-N and standby access link gei2-N, each protection group shares a DNI-pw,
And the label value of described DNI-pw is empty.
Concrete, primary provider edge equipment and standby provider edge equipment are treated as a node, system
One pair of its configuration protection group, protection group membership includes work pseudo-wire, protection pseudo-wire, main access link, standby connects
Incoming link and DNI-PW, DNI-PW is the acquiescence unique public member of each protection group, and the mark of DNI-pw
Label value is initially empty.Relation between each protection group membership is as shown in Figure 5.Work pseudo-wire in protection group 1
Label value on pw1 is 5001, and the label value in protection pseudo-wire pw1' is 6001, the master in protection group 1
Access link is gei1-1, standby access link is gei2-1.It should be noted that pw1 is in primary operator
Outgoing label value m on edge device and the pw1' outgoing label value n not phase on standby provider edge equipment
Deng (according to pseudo-wire dual homed principle, work pseudo-wire protects pseudo-wire standby in the outgoing label value of main PE node with it
The outgoing label value of PE node is different).
In the above embodiment of the present invention, described fault type is that gei1-N lost efficacy, correspondingly, and step S100
Fault type in transmitting according to service message, the transmission direction of data stream and default guarantor in service message
Protecting the relation between group membership, the label value that binode interconnects pseudo-wire DNI-pw is set to work pseudo-wire mark
Label value, particularly as follows:
If described data stream is upstream, described primary provider edge equipment is by falling with access side
PwN between 3rd edge device of place operator transmits described service message so that described primary fortune
DNI-pw between battalion's business's edge device and described standby provider edge equipment carries described service message,
And be the work pseudo line tag value on the described DNI-PW described pwN of configuration;Or
If described data stream is downstream data flow, described standby provider edge equipment by with client's network element
Between gei2-N transmit described service message so that described standby provider edge equipment is primary with described
DNI-PW between provider edge equipment carries described service message, according to default protection group membership it
Between relation be the work pseudo line tag value on the described DNI-PW configuration pwN corresponding with described gei2-N.
Concrete, when gei1-N lost efficacy, as shown in Figure 6, upstream is 500N by outgoing label value
Work pseudo-wire pwN arrive after PE1, enter the DNI-PW between PE1 and PE2 so that DNI-PW
Carrying service message, and be the going out of DNI-PW by PE1, enter label and all stamp the work pseudo-wire of 500N
Label value.
As shown in Figure 8, due to client-side device perception gei1-N fault, downstream data flow passes through gei2-N
After transmission arrives PE2, enter the DNI-PW between PE2 and PE1 so that DNI-PW carries business
Message, and find corresponding with gei2-N by PE2 according to the relation between the protection group membership preset
Work pseudo line tag value 500N on pwN, for the going out of DNI-PW, enters label and all stamps the work of 500N
Make pseudo-wire label value.
In the above embodiment of the present invention, described fault type is that pwN lost efficacy, correspondingly, and step S100
Fault type in transmitting according to service message, the transmission direction of data stream and default guarantor in service message
Protecting the relation between group membership, the label value that binode interconnects pseudo-wire DNI-pw is set to protect pseudo-wire mark
Label value, particularly as follows:
If described data stream is downstream data flow, described primary provider edge equipment by with client's network element
Between gei1-N transmit described service message so that described primary provider edge equipment is standby with described
DNI-PW between provider edge equipment carries described service message, and according to default protection group membership
Relation be the protection pseudo line tag value on the described DNI-PW configuration pwN' corresponding with described gei1-N;
Or
If described data stream is upstream, described standby provider edge equipment is by falling with access side
PwN' between 3rd edge device of place operator transmits described service message so that described standby fortune
DNI-PW between battalion's business's edge device and described primary provider edge equipment carries described service message,
The protection pseudo line tag value on described pwN' is configured for described DNI-PW.
Concrete, as shown in Figure 10, when pwN lost efficacy, downstream data flow arrives PE1 by gei1-N,
Enter the DNI-PW between PE1 and PE2 so that DNI-PW carries service message, and passes through PE1
The protection pseudo-wire on the pwN' corresponding with gei1-N is found according to the relation between default protection group membership
Label value 600N, for the going out of DNI-PW, enters label and all stamps the protection pseudo line tag value of 600N.
As shown in figure 12, upstream is arrived by protection pseudo-wire pwN' that outgoing label value is 600N
After PE2, enter the DNI-PW between PE2 and PE1 so that DNI-PW carries service message, and
It is the going out of DNI-PW by PE2, enters label and all stamp the protection pseudo line tag value of 600N.
In the above embodiment of the present invention, step S200 is according to the described work pseudo line tag value arranged, pre-
Protection composition between described primary provider edge equipment and the described standby provider edge equipment first set up
The relation between service message forwarding state mechanism and default protection group membership between Yuan, carries out described
The transmission of service message, to realize the communication between client's network element and PTN, particularly as follows:
If described data stream is upstream, when described service message is by described pwN, described
DNI-pw arrives described standby provider edge equipment, described standby provider edge equipment according to preset
Relation between protection group membership, finds the gei2-N mated with described pwN, and according to protection composition
Described service message is sent to client by the service message forwarding state mechanism between Yuan by described gei2-N
Network element;Or
If described data stream is downstream data flow, when described service message is by described gei2-N, described
DNI-pw arrives described primary provider edge equipment, described primary provider edge equipment according to preset
Relation between protection group membership, finds the pwN mated with described gei2-N, and according to protection composition
Described service message is sent to PTN by the service message forwarding state mechanism between Yuan by described pwN.
Concrete, as shown in Figure 6 and Figure 7, when the data stream in service message is upstream, i.e. industry
When business message is sent to client's network element by PTN, service message arrives PE2 through pwN, DNI-pw, now
Label value on DNI-pw is the work pseudo line tag value on pwN.PE2 is according to the protection group membership preset
Between relation, find the gei2-N mated with pwN, and according to the business report between protection group membership
Service message is sent to client's network element by literary composition forwarding state mechanism by gei2-N.
As shown in Figure 8 and Figure 9, when the data stream in service message be downstream data flow, i.e. service message by
When client's network element sends to PTN, service message arrives PE1, now DNI-pw through gei2-N, DNI-pw
On label value be the work pseudo line tag value on the pwN mated with gei2-N.PE1 is according to the guarantor preset
Protect the relation between group membership, find the pwN mated with gei2-N, and according to protecting between group membership
Service message forwarding state mechanism service message is sent to PTN by pwN.
In the above embodiment of the present invention, step S200 is according to the described protection pseudo line tag value arranged, pre-
Protection composition between described primary provider edge equipment and the described standby provider edge equipment first set up
The relation between service message forwarding state mechanism and default protection group membership between Yuan, carries out described
The transmission of service message, to realize the communication between client's network element and PTN, particularly as follows:
If described data stream is downstream data flow, when described service message is by described gei1-N, described
DNI-pw arrives described standby provider edge equipment, described standby provider edge equipment according to preset
The relation of protection group membership, finds the pwN' mated with described gei1-N, and according to protection group membership it
Between service message forwarding state mechanism described service message is sent to PTN by described pwN';Or
If described data stream is upstream, when described service message is by described pwN', described
DNI-pw arrives described primary provider edge equipment, described primary provider edge equipment according to preset
The relation of protection group membership, finds the gei1-N mated with described pwN', and according to protection group membership it
Between service message forwarding state mechanism by described service message by described gei1-N send to client's network element.
Concrete, as shown in Figure 10 and Figure 11, when the data stream in service message is downstream data flow, i.e.
When service message is sent to PTN by client's network element, service message arrives PE2 through gei1-N, DNI-pw,
Now the label value on DNI-pw is the protection pseudo line tag value on the pwN' mated with gei1-N.PE2
According to the relation between default protection group membership, find the pwN' mated with gei1-N, and according to guarantor
Service message is sent to PTN by the service message forwarding state mechanism protected between group membership by pwN'.
As shown in Figure 12 and Figure 13, it is upstream, i.e. service message when the data stream in service message
When being sent to client's network element by PTN, service message arrives PE1, now DNI-pw through pwN', DNI-pw
On label value be the protection pseudo line tag value on pwN'.Between PE1 is according to the protection group membership preset
Relation, finds the gei1-N mated with pwN', and forwards according to the service message between protection group membership
Service message is sent to client's network element by status mechanism by gei1-N.
The embodiment of the present invention provides the device of a kind of Packet Transport Network PTN device pseudo-wire dual-homing protection, application
In primary provider edge equipment side or standby provider edge equipment side, as shown in figure 14, described device
Including:
Module 10 is set, for according to data stream in the fault type in service message transmission, service message
Transmission direction and default protection group membership between relation, binode is interconnected pseudo-wire DNI-pw
Label value is set to work pseudo line tag value or protection pseudo line tag value;
Delivery module 20, for according to arrange described work pseudo line tag value or protection pseudo line tag value,
Protection group between the described primary provider edge equipment and the described standby provider edge equipment that pre-build
The relation between service message forwarding state mechanism and default protection group membership between member, carries out institute
State the transmission of service message, to realize the communication between client's network element and PTN.
In the above embodiment of the present invention, described device also includes:
Configuration module 30, is used for being pre-configured with described primary provider edge equipment and described standby operator
Multiple protection groups between edge device, the protection group membership in wherein protection group at least includes: work pseudo-wire
PwN, protection pseudo-wire pwN', main access link gei1-N and standby access link gei2-N, each protection group
Share a DNI-pw, and the label value of described DNI-pw is empty.
In the above embodiment of the present invention, when the described described fault type arranged in module 10 is gei1-N
During inefficacy, the described module 10 that arranges is further used for:
If described data stream is upstream, fallen with accessing side by described primary provider edge equipment
PwN between 3rd edge device of place operator transmits described service message so that described primary fortune
DNI-pw between battalion's business's edge device and described standby provider edge equipment carries described service message,
And be the work pseudo line tag value on the described DNI-PW described pwN of configuration;Or
If described data stream is downstream data flow, by described standby provider edge equipment and client's network element
Between gei2-N transmit described service message so that described standby provider edge equipment is primary with described
DNI-PW between provider edge equipment carries described service message, according to default protection group membership it
Between relation be the work pseudo line tag value on the described DNI-PW configuration pwN corresponding with described gei2-N.
In the above embodiment of the present invention, when the described described fault type arranged in module 10 is gei1-N
During inefficacy, the described module 10 that arranges is further used for:
If described data stream is downstream data flow, by described primary provider edge equipment and client's network element
Between gei1-N transmit described service message so that described primary provider edge equipment is standby with described
DNI-PW between provider edge equipment carries described service message, and according to default protection group membership
Relation be the protection pseudo line tag value on the described DNI-PW configuration pwN' corresponding with described gei1-N;
Or
If described data stream is upstream, fallen with accessing side by described standby provider edge equipment
PwN' between 3rd edge device of place operator transmits described service message so that described standby fortune
DNI-PW between battalion's business's edge device and described primary provider edge equipment carries described service message,
The protection pseudo line tag value on described pwN' is configured for described DNI-PW.
In the above embodiment of the present invention, described delivery module 20 is further used for:
If described data stream is upstream, when described service message is by described pwN, described
DNI-pw arrives described standby provider edge equipment, according to the relation between default protection group membership,
Find the gei2-N mated with described pwN, and forward shape according to the service message between protection group membership
Described service message is sent to client's network element by state mechanism by described gei2-N;Or
If described data stream is downstream data flow, when described service message is by described gei2-N, described
DNI-pw arrives described primary provider edge equipment, according to the relation between default protection group membership,
Find the pwN mated with described gei2-N, and forward shape according to the service message between protection group membership
Described service message is sent to PTN by state mechanism by described pwN.
In the above embodiment of the present invention, described delivery module 20 is further used for:
If described data stream is downstream data flow, when described service message is by described gei1-N, described
DNI-pw arrives described standby provider edge equipment, according to the relation of default protection group membership, searches
To the pwN' mated with described gei1-N, and according to the service message forwarding state machine between protection group membership
Make and described service message is sent to PTN by described pwN';Or
If described data stream is upstream, when described service message is by described pwN', described
DNI-pw arrives described primary provider edge equipment, according to the relation of default protection group membership, searches
To the gei1-N mated with described pwN', and according to the service message forwarding state machine between protection group membership
Make and described service message is sent to client's network element by described gei1-N.
The method of the Packet Transport Network equipment pseudo-wire dual-homing protection that the embodiment of the present invention provides, by creating one
Public DNI-PW, arranges different label values for DNI-PW, and according to the different label values arranged,
Protect between group membership between the primary provider edge equipment and the standby provider edge equipment that pre-build
Service message forwarding state mechanism and preset protection group membership between relation, carry out service message
Transmit, to realize the communication between client's network element and PTN.The public DNI-PW of wall scroll that the present invention creates,
For carrying more multiple services project scenarios, can simplify device node OAM and configure workload, saving sets
Standby resource, alleviates the complexity of operation.
It should be noted that the device of the Packet Transport Network equipment pseudo-wire dual-homing protection of present invention offer is application
The device of said method, then all embodiments of said method are all applicable to this device, and all can reach identical
Or similar beneficial effect.
The above is the preferred embodiment of the present invention, it is noted that for the common skill of the art
For art personnel, on the premise of without departing from principle of the present invention, it is also possible to make some improvements and modifications,
These improvements and modifications also should be regarded as protection scope of the present invention.
Claims (12)
1. a method for Packet Transport Network PTN device pseudo-wire dual-homing protection, is applied to primary operator limit
Edge equipment side or standby provider edge equipment side, it is characterised in that described method includes:
Fault type in transmitting according to service message, the transmission direction of data stream and presetting in service message
Protection group membership between relation, binode interconnects the label value of pseudo-wire DNI-pw, and to be set to work pseudo-
Line label value or protection pseudo line tag value;
According to arrange described work pseudo line tag value or protection pseudo line tag value, pre-build described primary
The service message between group membership is protected between provider edge equipment and described standby provider edge equipment
Relation between forwarding state mechanism and default protection group membership, carries out the transmission of described service message,
To realize the communication between client's network element and PTN.
2. the method for claim 1, it is characterised in that described method also includes:
It is pre-configured with between described primary provider edge equipment and described standby provider edge equipment many
Individual protection group, the protection group membership in wherein protection group at least includes: work pseudo-wire pwN, protection pseudo-wire
PwN', main access link gei1-N and standby access link gei2-N, each protection group shares a DNI-pw,
And the label value of described DNI-pw is empty.
3. method as claimed in claim 2, it is characterised in that described fault type is that gei1-N lost efficacy,
Correspondingly, described according to the transmission direction of data stream in the fault type in service message transmission, service message
And the relation between the protection group membership preset, the label value that binode interconnects pseudo-wire DNI-pw is arranged
For work pseudo line tag value, particularly as follows:
If described data stream is upstream, described primary provider edge equipment is by falling with access side
PwN between 3rd edge device of place operator transmits described service message so that described primary fortune
DNI-pw between battalion's business's edge device and described standby provider edge equipment carries described service message,
And be the work pseudo line tag value on the described DNI-PW described pwN of configuration;Or
If described data stream is downstream data flow, described standby provider edge equipment by with client's network element
Between gei2-N transmit described service message so that described standby provider edge equipment is primary with described
DNI-PW between provider edge equipment carries described service message, according to default protection group membership it
Between relation be the work pseudo line tag value on the described DNI-PW configuration pwN corresponding with described gei2-N.
4. method as claimed in claim 2, it is characterised in that described fault type is that pwN lost efficacy,
Correspondingly, described according to the transmission direction of data stream in the fault type in service message transmission, service message
And the relation between the protection group membership preset, the label value that binode interconnects pseudo-wire DNI-pw is arranged
For protecting pseudo line tag value, particularly as follows:
If described data stream is downstream data flow, described primary provider edge equipment by with client's network element
Between gei1-N transmit described service message so that described primary provider edge equipment is standby with described
DNI-PW between provider edge equipment carries described service message, and according to default protection group membership
Relation be the protection pseudo line tag value on the described DNI-PW configuration pwN' corresponding with described gei1-N;
Or
If described data stream is upstream, described standby provider edge equipment is by falling with access side
PwN' between 3rd edge device of place operator transmits described service message so that described standby fortune
DNI-PW between battalion's business's edge device and described primary provider edge equipment carries described service message,
The protection pseudo line tag value on described pwN' is configured for described DNI-PW.
5. method as claimed in claim 2, it is characterised in that described according to the described work pseudo-wire arranged
Between label value, the described primary provider edge equipment pre-build and described standby provider edge equipment
The relation between service message forwarding state mechanism and default protection group membership between protection group membership,
Carry out the transmission of described service message, to realize the communication between client's network element and PTN, particularly as follows:
If described data stream is upstream, when described service message is by described pwN, described
DNI-pw arrives described standby provider edge equipment, described standby provider edge equipment according to preset
Relation between protection group membership, finds the gei2-N mated with described pwN, and according to protection composition
Described service message is sent to client by the service message forwarding state mechanism between Yuan by described gei2-N
Network element;Or
If described data stream is downstream data flow, when described service message is by described gei2-N, described
DNI-pw arrives described primary provider edge equipment, described primary provider edge equipment according to preset
Relation between protection group membership, finds the pwN mated with described gei2-N, and according to protection composition
Described service message is sent to PTN by the service message forwarding state mechanism between Yuan by described pwN.
6. method as claimed in claim 2, it is characterised in that described according to the described protection pseudo-wire arranged
Between label value, the described primary provider edge equipment pre-build and described standby provider edge equipment
The relation between service message forwarding state mechanism and default protection group membership between protection group membership,
Carry out the transmission of described service message, to realize the communication between client's network element and PTN, particularly as follows:
If described data stream is downstream data flow, when described service message is by described gei1-N, described
DNI-pw arrives described standby provider edge equipment, described standby provider edge equipment according to preset
The relation of protection group membership, finds the pwN' mated with described gei1-N, and according to protection group membership it
Between service message forwarding state mechanism described service message is sent to PTN by described pwN';Or
If described data stream is upstream, when described service message is by described pwN', described
DNI-pw arrives described primary provider edge equipment, described primary provider edge equipment according to preset
The relation of protection group membership, finds the gei1-N mated with described pwN', and according to protection group membership it
Between service message forwarding state mechanism by described service message by described gei1-N send to client's network element.
7. a device for Packet Transport Network PTN device pseudo-wire dual-homing protection, is applied to primary operator limit
Edge equipment side or standby provider edge equipment side, it is characterised in that described device includes:
Module is set, for according to the biography of data stream in the fault type in service message transmission, service message
Relation between defeated direction and default protection group membership, interconnects the label of pseudo-wire DNI-pw by binode
Value is set to work pseudo line tag value or protection pseudo line tag value;
Delivery module, for according to the described work pseudo line tag value arranged or protection pseudo line tag value, in advance
Group membership is protected between described primary provider edge equipment and the described standby provider edge equipment set up
Between service message forwarding state mechanism and preset protection group membership between relation, carry out described industry
The transmission of business message, to realize the communication between client's network element and PTN.
8. device as claimed in claim 7, it is characterised in that described device also includes:
Configuration module, is used for being pre-configured with described primary provider edge equipment and described standby Provider Edge
Multiple protection groups between equipment, the protection group membership in wherein protection group at least includes: work pseudo-wire pwN,
Protection pseudo-wire pwN', main access link gei1-N and standby access link gei2-N, each protection group shares one
Bar DNI-pw, and the label value of described DNI-pw is empty.
9. device as claimed in claim 8, it is characterised in that when the described described fault arranged in module
When type is gei1-N inefficacy, the described module that arranges is further used for:
If described data stream is upstream, fallen with accessing side by described primary provider edge equipment
PwN between 3rd edge device of place operator transmits described service message so that described primary fortune
DNI-pw between battalion's business's edge device and described standby provider edge equipment carries described service message,
And be the work pseudo line tag value on the described DNI-PW described pwN of configuration;Or
If described data stream is downstream data flow, by described standby provider edge equipment and client's network element
Between gei2-N transmit described service message so that described standby provider edge equipment is primary with described
DNI-PW between provider edge equipment carries described service message, according to default protection group membership it
Between relation be the work pseudo line tag value on the described DNI-PW configuration pwN corresponding with described gei2-N.
10. device as claimed in claim 8, it is characterised in that when the described described event arranged in module
When barrier type is gei1-N inefficacy, the described module that arranges is further used for:
If described data stream is downstream data flow, by described primary provider edge equipment and client's network element
Between gei1-N transmit described service message so that described primary provider edge equipment is standby with described
DNI-PW between provider edge equipment carries described service message, and according to default protection group membership
Relation be the protection pseudo line tag value on the described DNI-PW configuration pwN' corresponding with described gei1-N;
Or
If described data stream is upstream, fallen with accessing side by described standby provider edge equipment
PwN' between 3rd edge device of place operator transmits described service message so that described standby fortune
DNI-PW between battalion's business's edge device and described primary provider edge equipment carries described service message,
The protection pseudo line tag value on described pwN' is configured for described DNI-PW.
11. devices as claimed in claim 8, it is characterised in that described delivery module is further used for:
If described data stream is upstream, when described service message is by described pwN, described
DNI-pw arrives described standby provider edge equipment, according to the relation between default protection group membership,
Find the gei2-N mated with described pwN, and forward shape according to the service message between protection group membership
Described service message is sent to client's network element by state mechanism by described gei2-N;Or
If described data stream is downstream data flow, when described service message is by described gei2-N, described
DNI-pw arrives described primary provider edge equipment, according to the relation between default protection group membership,
Find the pwN mated with described gei2-N, and forward shape according to the service message between protection group membership
Described service message is sent to PTN by state mechanism by described pwN.
12. devices as claimed in claim 8, it is characterised in that described delivery module is further used for:
If described data stream is downstream data flow, when described service message is by described gei1-N, described
DNI-pw arrives described standby provider edge equipment, according to the relation of default protection group membership, searches
To the pwN' mated with described gei1-N, and according to the service message forwarding state machine between protection group membership
Make and described service message is sent to PTN by described pwN';Or
If described data stream is upstream, when described service message is by described pwN', described
DNI-pw arrives described primary provider edge equipment, according to the relation of default protection group membership, searches
To the gei1-N mated with described pwN', and according to the service message forwarding state machine between protection group membership
Make and described service message is sent to client's network element by described gei1-N.
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 true CN106301852A (en) | 2017-01-04 |
CN106301852B 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) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110661666A (en) * | 2019-09-29 | 2020-01-07 | 中国联合网络通信集团有限公司 | Method and device for establishing ring network resources of packet transport network |
CN113179458A (en) * | 2021-04-26 | 2021-07-27 | 中国电信集团工会上海市委员会 | Signal routing management system with end-to-end protection |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101291288A (en) * | 2007-04-17 | 2008-10-22 | 阿尔卡特朗讯公司 | Method and apparatus for reserving network resources for pseudo point-to-point connection |
CN102377637A (en) * | 2010-08-05 | 2012-03-14 | 中兴通讯股份有限公司 | Multi-segment pseudo wire shared bandwidth method, system thereof and provider edge node |
US20130259067A1 (en) * | 2012-03-27 | 2013-10-03 | Eci Telecom Ltd. | Method for Providing an MPLS Tunnel with Shared Bandwidth |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102142975B (en) * | 2010-02-01 | 2015-05-13 | 中兴通讯股份有限公司 | Method and system for service protection based on dual node interconnection protection structure in transmission network |
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 |
-
2015
- 2015-06-04 CN CN201510303988.3A patent/CN106301852B/en active Active
- 2015-10-20 WO PCT/CN2015/092328 patent/WO2016192269A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101291288A (en) * | 2007-04-17 | 2008-10-22 | 阿尔卡特朗讯公司 | Method and apparatus for reserving network resources for pseudo point-to-point connection |
CN102377637A (en) * | 2010-08-05 | 2012-03-14 | 中兴通讯股份有限公司 | Multi-segment pseudo wire shared bandwidth method, system thereof and provider edge node |
US20130259067A1 (en) * | 2012-03-27 | 2013-10-03 | Eci Telecom Ltd. | Method for Providing an MPLS Tunnel with Shared Bandwidth |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110661666A (en) * | 2019-09-29 | 2020-01-07 | 中国联合网络通信集团有限公司 | Method and device for establishing ring network resources of packet transport network |
CN110661666B (en) * | 2019-09-29 | 2022-02-18 | 中国联合网络通信集团有限公司 | Method and device for establishing ring network resources of packet transport network |
CN113179458A (en) * | 2021-04-26 | 2021-07-27 | 中国电信集团工会上海市委员会 | Signal routing management system with end-to-end protection |
CN113179458B (en) * | 2021-04-26 | 2022-11-11 | 中国电信集团工会上海市委员会 | Signal routing management system with end-to-end protection |
Also Published As
Publication number | Publication date |
---|---|
CN106301852B (en) | 2020-04-03 |
WO2016192269A1 (en) | 2016-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100459531C (en) | Method for notifying pseudo-lines fault based on bidirectional transmission detecting protocol | |
EP3654664B1 (en) | Method for interconnected ring protection, computer-readable storage medium and computer program product | |
CN102571426B (en) | Double-homing protection method and device | |
CN103475655B (en) | A kind of method realizing IPSecVPN main/slave link switching at runtime | |
CN101090355B (en) | Label exchange route setting method, system and equipment of virtual special network channel | |
EP3323227B1 (en) | Restoring an mpls ring network | |
CN102244609B (en) | Solve VPLS and access method and the router that L3 failover causes stopping | |
CN102484608A (en) | Method and device for conveying traffic in network | |
CN102469019B (en) | Device and method for allocating aggregated link bandwidth in packet-switched network | |
CN102724118A (en) | Label distribution method and device | |
CN102857420B (en) | The method and system of cross-line card protection method, relevant apparatus and line card service access PTN | |
CN104618150B (en) | A kind of bis- layers of PTN turns business collocation method and system under three layer service scenes | |
CN103997436B (en) | Link keeping method and gateway in a kind of elevator Internet of Things | |
CN106301852A (en) | A kind of method and device of Packet Transport Network equipment pseudo-wire dual-homing protection | |
JP6408615B2 (en) | Double connection ring network protection method and apparatus | |
CN103457851B (en) | PTN (packet transfer network) organization architecture and service bearing method thereof | |
CN102123080A (en) | Data forwarding device and cable fastener plate and data forwarding method | |
CN101997751B (en) | Realization method and device of protection switching in Ethernet | |
CN101692654A (en) | Method, system and equipment for HUB-Spoken networking | |
CN102594580A (en) | Method for raising service reliability in virtual private network, system thereof and access apparatus | |
CN102437957A (en) | Method and device for processing intersected ring of multi-protocol label switching | |
US20130003759A1 (en) | Technique for bandwidth effective traffic protection in communication networks | |
WO2018196349A1 (en) | Sdn-based system and method for realizing static routing tunnel | |
CN102404176B (en) | A kind of method of transmitting service flows in looped network and device | |
CN103973536A (en) | Device and method for protection of point-to-multipoint looped network |
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 |