CN105141520A - Protection switching method, device and system - Google Patents

Protection switching method, device and system Download PDF

Info

Publication number
CN105141520A
CN105141520A CN201410231452.0A CN201410231452A CN105141520A CN 105141520 A CN105141520 A CN 105141520A CN 201410231452 A CN201410231452 A CN 201410231452A CN 105141520 A CN105141520 A CN 105141520A
Authority
CN
China
Prior art keywords
local device
opposite equip
path
state
operating path
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.)
Withdrawn
Application number
CN201410231452.0A
Other languages
Chinese (zh)
Inventor
许�鹏
耿忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201410231452.0A priority Critical patent/CN105141520A/en
Priority to PCT/CN2014/089019 priority patent/WO2015180379A1/en
Publication of CN105141520A publication Critical patent/CN105141520A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention discloses a protection switching method, a device and a system. After the working path between local end equipment and opposite end equipment is restored to be normal, the method also comprises a step of maintaining the service flows of the local end equipment and opposite end equipment to be transmitted on the protection path between the local end equipment and the opposite end equipment after the timeout of a timer to be recovered of the local end equipment and the opposite end equipment is detected, and opening the receiving port of the local end equipment on the working path and the receiving port of the opposite end equipment on the working path, and a step of switching the service flows of the local end equipment and the opposite end equipment to the working path from the protection path to be transmitted. According to the method, the problem of packet loss caused by the asynchronization of the sending port and the receiving port in the process of switching the service flows to the working path from the protection path after a WTR timer is time out is solved.

Description

A kind of pretection switch method, Apparatus and system
Technical field
The present invention relates to communication technical field, particularly relate to a kind of pretection switch method, Apparatus and system.
Background technology
PTN (packettransmissionnetwork, group transmission network) technology is one of mainstream technology of the current communications field, and transmission network typical feature is that it can provide quick protective switch end to end.According to the demand of different business, as speech business, private special line etc., the time requirement of protection switching is usually within 50ms.Ethernet cable protection is switched and can be met such requirement, it provides a kind of quick and simple survivability mechanism.Ethernet cable protection has switched two kinds of structures, and linear 1+1 and linear 1:1 pretection switch structure, in existing network, 1:1 pretection switch structure Application comparison is many.In 1:1 pretection switch structure, protection transmission path and working traffic path are associated together, and when working traffic path is destroyed, the service traffics of local terminal and remote equipment will be switched to protection transmission path from working traffic path.Working traffic path is based on predefined criterion with the selection of protection transmission path, as work or Signal Fail and the signal attenuation alarm of protecting transmission path.In 1:1 linear protection structure; normal flow or transmit on working traffic path; protection transmission path transmits, and this needs to be selected by a selection bridge of protected field source, and the path of carrying normal discharge selected by the selector of protected field egress.Because it is same path that source and egress need to coordinate to ensure that the selector of source and the selector of egress select, therefore need the negotiation mechanism of APS agreement.
APS (automaticprotectionswitching, APS) protocol package is transmitted all the time on Protection path, and it carries the state of local device, and notice opposite equip. makes the adjustment of corresponding state.APS utilizes 4 bytes to carry the distinctive information of APS, and as shown in Figure 1, table one gives APS customizing messages form.Wherein:
--Request/State
These 4 bits represent protection handover request type
--ProtectionType(Pr.type)
These 4 bits represent protect types:
A: reservation bit, default setting is 1
B: value is 0 expression 1+1 protection architecture, value is 1 expression 1:1 operator guards
D: value is 0 expression unidirectional handover, value is the two-way switching of 1 expression
R: value is the nonreversible pattern of 0 expression, and value is 1 expression reversing mode
--RequestedSignal
Whether this byte is used to refer to local device and asks to receive flow from Protection path.Value is that 0 expression does not receive flow from Protection path, and value is that 1 expression request receives flow from Protection path, and other value is retention.
--BridgeSignal
Whether this byte is used to refer to local device and is sent from Protection path by flow.Value be 0 expression not from Protection path transmitted traffic, value be 1 expression from Protection path transmitted traffic, other value is retention.
--Reserved
This territory default setting is 0
For ease of illustrating, introduce the expression method that some are succinct below, the different field representing APS customizing messages form as SF (0,1) respectively value is: Request/State=SF, RequestedSignal=0, BridgedSignal=1.W (A->Z) and P (A->Z) represent by A respectively to the work of Z-direction and Protection path.
Switch in reversing mode at 1:1 bidirectional protective; namely operating path Signal Fail state enters WTR state after removing; after WTR (Wait-to-Restore) timer expiry; flow is just switched to operating path from Protection path; send APS message notifying remote equipment rapidly to switch, this is the mechanism of 1 section of APS protocol switching simultaneously.The moment carrying out at local device switching receives APS protocol massages to remote equipment and does the moment of corresponding switching, and can produce packet loss during this period of time, reason is that the transmit port of local device cannot be accomplished synchronous with the receiving port of far-end.
Summary of the invention
The main technical problem to be solved in the present invention is; a kind of pretection switch method, Apparatus and system are provided; can solve after WTR timer expiry, service traffics are switched to from Protection path the packet loss problem caused because transmit port is asynchronous with receiving port the process of operating path transmission.
For solving the problems of the technologies described above, the invention provides a kind of pretection switch method, the operating path between local device and opposite equip. is further comprising the steps of after recovering normally:
When after the timer expiry to be restored local device and/or opposite equip. being detected, keep the Protection path of the service traffics of described local device and described opposite equip. between local device and opposite equip. transmits;
Open the receiving port of local device on described operating path and the receiving port of opposite equip. on described operating path;
The service traffics of described local device and described opposite equip. are switched to operating path from described Protection path transmit.
Further, describedly the service traffics of described local device and described opposite equip. are switched to from described Protection path the step that operating path transmits comprise: described local device and described opposite equip. carry out state to be consulted that the service traffics of described local device and described opposite equip. are switched to operating path from described Protection path and transmit.
Further, when after the timer expiry to be restored described local device being detected, described in open the receiving port of local device on operating path and the receiving port of opposite equip. on operating path process comprise:
Open the receiving port of described local device on operating path, and give described opposite equip. by the first current for local device state notifying;
Know at described opposite equip. and open the receiving port of described opposite equip. on operating path after described local device is in described first state;
Described local device and described opposite equip. carry out state to be consulted that the service traffics of described local device and described opposite equip. are switched to from described Protection path the step that operating path transmits and comprises:
Know at described opposite equip., after described local device is in described first state, the transmit port of described opposite equip. is switched to operating path, and give described local device by the second current for described opposite equip. state notifying;
Know at described local device, after described opposite equip. is in the second state, the transmit port of described local device is switched to operating path, close the receiving port of described local device on Protection path, and the third state current for described local device is informed to described opposite equip.;
Know at described opposite equip. and close the receiving port of described opposite equip. on Protection path after described local device is in the described third state.
Further, after the timer expiry to be restored local device and opposite equip. simultaneously being detected, described in open the receiving port of local device on operating path and the receiving port of opposite equip. on operating path process comprise: open the receiving port of local device on operating path and the receiving port of opposite equip. on operating path simultaneously;
Described local device and described opposite equip. carry out state to be consulted that the service traffics of described local device and described opposite equip. are switched to from described Protection path the step that operating path transmits and comprises:
Give described opposite equip. by the first current for described local device state notifying, give described local device by the second current for described opposite equip. state notifying;
Know at described opposite equip., after described local device is in described first state, the transmit port of described opposite equip. is switched to operating path, and the third state current for described opposite equip. is informed to described local device;
Know at described local device, after described opposite equip. is in described second state, the transmit port of described local device is switched to operating path, and by the 4th current for described local device state;
Know at described local device and close the receiving port of described local device on described Protection path after opposite equip. is in the described third state;
Know at described opposite equip. and close the receiving port of opposite equip. on described Protection path after described local device is in the 4th state.
Further, after the timer expiry to be restored local device being detected, described in open the receiving port of local device on operating path and the receiving port of opposite equip. on operating path process comprise:
First open the receiving port of described local device on operating path, and give described opposite equip. by the first current for described local device state notifying;
When the priority of described opposite equip. Wait-to-Restore timer is higher than local device Wait-to-Restore timer, described opposite equip. ignores the first state notifying of local device, after the timer expiry to be restored of described opposite equip. by the time, open the receiving port of described opposite equip. on operating path;
Described local device and described opposite equip. carry out state to be consulted that the service traffics of described local device and described opposite equip. are switched to from described Protection path the step that operating path transmits and comprises:
Described local device is given by the second current for described opposite equip. state notifying;
After described local device knows that described opposite equip. is in described second state, the transmit port of described local device is switched to operating path, and the third state current for described local device is informed to described opposite equip.;
After described opposite equip. knows that described local device is in the described third state, the transmit port of described opposite equip. is switched to operating path and closes the receiving port of described opposite equip. on Protection path, and by the 4th current for described opposite equip. state notifying to local device;
After described local device knows that described opposite equip. is in described 4th state, close the receiving port of described local device on Protection path.
Further, the state of described local device informs described opposite equip. by APS protocol massages, and the state of described opposite equip. informs described local device by APS protocol massages.
Further, the state notification information that described local device or the opposite equip. receiving port on operating path has been opened is carried at the Reserved field in APS protocol massages structure.
Also for ease of and solve above-mentioned technical problem, present invention also offers a kind of pretection switch device, be applied to the process after the operating path recovery normally between local device and opposite equip., comprise: path clustering module and port control modules;
Described path clustering module is used for when after the timer expiry to be restored local device and/or opposite equip. being detected, keeps the Protection path of the service traffics of described local device and described opposite equip. between local device and opposite equip. transmits; And after described port control modules opens local device and the receiving port of opposite equip. on described operating path, the service traffics of described local device and described opposite equip. are switched to operating path from described Protection path and transmit
Described port control modules is for opening the receiving port of local device on described operating path and the receiving port of opposite equip. on described operating path.
Further, described path clustering module is provided for described local device and described opposite equip. and carries out state and consult that the service traffics of described local device and described opposite equip. are switched to operating path from described Protection path and transmit.
Further, described port control modules is used for when after the timer expiry to be restored described local device being detected, opens the receiving port of described local device on operating path, and gives described opposite equip. by the first current for local device state notifying; Know at described opposite equip. and open the receiving port of described opposite equip. on operating path after described local device is in described first state;
Described path clustering module is used for:
Know at described opposite equip., after described local device is in described first state, the transmit port of described opposite equip. is switched to operating path, and give described local device by the second current for described opposite equip. state notifying;
Know at described local device, after described opposite equip. is in the second state, the transmit port of described local device is switched to operating path, close the receiving port of described local device on Protection path, and the third state current for described local device is informed to described opposite equip.;
Know at described opposite equip. and close the receiving port of described opposite equip. on Protection path after described local device is in the described third state.
Further, described port control modules is used for after the timer expiry to be restored local device and opposite equip. simultaneously being detected, opens the receiving port of local device on operating path and the receiving port of opposite equip. on operating path simultaneously;
Described path handover module is used for:
Give described opposite equip. by the first current for described local device state notifying, give described local device by the second current for described opposite equip. state notifying;
Know at described opposite equip., after described local device is in described first state, the transmit port of described opposite equip. is switched to operating path, and the third state current for described opposite equip. is informed to described local device;
Know at described local device, after described opposite equip. is in described second state, the transmit port of described local device is switched to operating path, and by the 4th current for described local device state;
Know at described local device and close the receiving port of described local device on described Protection path after opposite equip. is in the described third state;
Know at described opposite equip. and close the receiving port of opposite equip. on described Protection path after described local device is in the 4th state.
Further, described port control modules is used for after the timer expiry to be restored local device being detected, first open the receiving port of described local device on operating path, and give described opposite equip. by the first current for described local device state notifying; When the priority of described opposite equip. Wait-to-Restore timer is higher than local device Wait-to-Restore timer, described opposite equip. ignores the first state notifying of local device, after the timer expiry to be restored of described opposite equip. by the time, open the receiving port of described opposite equip. on operating path;
Described path handover module is used for:
Described local device is given by the second current for described opposite equip. state notifying;
After described local device knows that described opposite equip. is in described second state, the transmit port of described local device is switched to operating path, and the third state current for described local device is informed to described opposite equip.;
After described opposite equip. knows that described local device is in the described third state, the transmit port of described opposite equip. is switched to operating path and closes the receiving port of described opposite equip. on Protection path, and by the 4th current for described opposite equip. state notifying to local device;
After described local device knows that described opposite equip. is in described 4th state, close the receiving port of described local device on Protection path.
Further, the state of described local device informs described opposite equip. by APS protocol massages, and the state of described opposite equip. informs described local device by APS protocol massages.
Further, the state notification information that described local device or the opposite equip. receiving port on operating path has been opened is carried at the Reserved field in APS protocol massages structure.
Also for ease of and solve above-mentioned technical problem, present invention also offers a kind of pretection switch system, be applied to the process after the operating path recovery normally between local device and opposite equip., comprise: local device and opposite equip.; Described local device comprises: the first port control modules and the first path control module; Described opposite equip. comprises: the second port control modules and the second path clustering module;
Described first port control modules is used for when after the timer expiry to be restored described local device and/or opposite equip. being detected, keep the Protection path of the service traffics of described local device between local device and opposite equip. transmits, open the receiving port of local device on described operating path;
Described second port control modules is used for when after the timer expiry to be restored described local device and/or opposite equip. being detected, opens the receiving port of local device on described operating path;
Described first path control module is for after opening local device and the receiving port of opposite equip. on described operating path, keep the Protection path of the service traffics of described opposite equip. between local device and opposite equip. transmits, the service traffics of described local device are switched to described operating path from described Protection path and transmit;
The service traffics of described opposite equip., for after opening local device and the receiving port of opposite equip. on described operating path, are switched to described operating path from described Protection path and transmit by described second path clustering module.
Further, described first path control module is consulted that the service traffics of described local device are switched to described operating path from described Protection path transmit for being carried out state with described opposite equip.;
Described second path clustering module is consulted that the service traffics of described opposite equip. are switched to described operating path from described Protection path transmit for being carried out state with described local device.
The invention has the beneficial effects as follows:
The invention provides a kind of pretection switch method, Apparatus and system, can solve after WTR timer expiry, service traffics are switched to from Protection path the packet loss problem caused because transmit port is asynchronous with receiving port the process of operating path transmission; Pretection switch method of the present invention, operating path between local device and opposite equip. also comprises after recovering normally: when after the timer expiry to be restored local device and/or opposite equip. being detected, keep the Protection path of the service traffics of described local device and described opposite equip. between local device and opposite equip. transmits, open the receiving port of local device on described operating path and the receiving port of opposite equip. on described operating path; The service traffics of described local device and described opposite equip. are switched to operating path from described Protection path transmit; Flow, after the WTR timer expiry of end equipment, is not switched to operating path from Protection path at once transmits by method of the present invention, but still keeps flow by Protection path transmission before; Then the receiving port opening local device and opposite equip. guarantees that the receiving port on operating path is in running order in advance, finally flow is switched to operating path from Protection path and transmits; Because method of the present invention has opened receiving port on operating path before handover, not packet loss when can ensure to switch in path; Compared with prior art, improve the integrality of traffic transport, improve service quality.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of a kind of APS customizing messages form in prior art;
The schematic flow sheet of the first pretection switch method that Fig. 2 provides for the embodiment of the present invention one;
The schematic flow sheet of the second pretection switch method that Fig. 3 provides for the embodiment of the present invention one;
The schematic flow sheet of the third pretection switch method that Fig. 4 provides for the embodiment of the present invention one;
The schematic flow sheet of the 4th kind of pretection switch method that Fig. 5 provides for the embodiment of the present invention one;
What Fig. 6 provided for the embodiment of the present invention two switches (reversing mode) at 1:1 bidirectional protective, the schematic flow sheet that when unidirectional SF, realizing route switches;
What Fig. 7 provided for the embodiment of the present invention two switches (reversing mode) at 1:1 bidirectional protective, the schematic flow sheet that when two-way SF, realizing route switches;
Fig. 8 for the embodiment of the present invention two provide 1:1 bidirectional protective switch (reversing mode), two-way SF and WTR Time Inconsistency when realizing route switch schematic flow sheet;
A kind of APS Status Change table that Fig. 9 provides for the embodiment of the present invention two;
The structural representation of a kind of pretection switch device that Figure 10 provides for the embodiment of the present invention three;
The structural representation of a kind of pretection switch system that Figure 11 provides for the embodiment of the present invention three.
Embodiment
By reference to the accompanying drawings the present invention is described in further detail below by embodiment.
Embodiment one:
As shown in Figure 2, present embodiments provide a kind of pretection switch method, the present embodiment method goes for 1:1 bidirectional protective and switches reversing mode, and the operating path between local device and opposite equip. also comprises the steps: after recovering normally
Step 201: when after the timer expiry to be restored local device and/or opposite equip. being detected, keeps the Protection path of the service traffics of described local device and described opposite equip. between local device and opposite equip. transmits.
Whether the operating path detected in the present embodiment between local device and opposite equip. recovers normally can comprise: whether the Signal Fail state in testing path is eliminated; When the Signal Fail state on operating path is eliminated and operating path recover normal.
The present embodiment method is after the WTR timer expiry of end equipment, and not toggle path immediately, flow is is still received and dispatched by Protection path, and the business that ensure that normally circulates process.
Step 202: open the receiving port of local device on described operating path and the receiving port of opposite equip. on described operating path.
The packet loss problem of the present embodiment method in order to avoid causing because transmit port is asynchronous with receiving port afterwards, before toggle path, by local device and opposite equip., the receiving port on operating path is opened, and prepares for receiving flow.
The executive agent opening the receiving port of local device on operating path in the present embodiment method can be local device itself; Also can be third party device; In like manner opening the executive agent that opposite equip. is delivering to the receiving port on path can for opposite equip. itself, also can be third party device.
The process opening local device and the receiving port of opposite equip. on operating path in the present embodiment method can comprise:
When after WTR time-out local device and opposite equip. being detected simultaneously, directly open local device and the receiving port of opposite equip. on operating path;
When after the WTR time-out a certain equipment in terminal device being detected, first open the receiving port of WTR time-out equipment on operating path, and then open the receiving port of another equipment on operating path.
Process can be particularly: its state notifying is given another equipment by the equipment formerly opening receiving port, and another equipment opens its receiving port on operating path after knowing the state of the equipment formerly opening receiving port;
Also can be: terminal device waits for that respective WTR time-out is opened afterwards separately from the receiving port on operating path.
Step 203: the service traffics of described local device and described opposite equip. are switched to operating path from described Protection path and transmit.
The equipment of the present embodiment method at two ends has all been carried out and have been received after flow prepares on operating path, the service traffics of the equipment at two ends is switched on operating path and transmits; Now because the receiving port of terminal device is opened, so the transmit port packet loss problem that cause asynchronous with receiving port when path switches can not be occurred in, improve the integrality of traffic transport, improve service quality.
The service traffics of described local device and described opposite equip. are switched to from described Protection path the process that operating path transmits by the present embodiment: the transmit port of local device and opposite equip. is switched to operating path; and the receiving port of closing on each comfortable Protection path, now just completes and the service traffics of terminal device are switched to operating path from Protection path transmit.
Should be understood that: the main body that the present embodiment execution route switches can be local device and opposite equip. self, also can by third party device.Such as after the receiving port of terminal device on operating path is all opened, its service traffics are switched to operating path by local device, and its service traffics are switched to operating path by opposite equip..
On the basis of such scheme, another improvement project of the present embodiment method is:
Describedly the service traffics of described local device and described opposite equip. are switched to from described Protection path the step that operating path transmits can comprise: described local device and described opposite equip. carry out state to be consulted that the service traffics of described local device and described opposite equip. are switched to operating path from described Protection path and transmit.
The present embodiment method can be in the process of toggle path: local device and opposite equip. inform state current separately mutually, and then local device and opposite equip. perform corresponding operation and respective service traffics switched on operating path and transmit after knowing the state that counterpart device is current.Such as after local device and opposite equip. know that counterpart device has carried out reception preparation on operating path, the transmit port on each comfortable operating path is opened, then mutually informs current state information, finally complete path and switch.
Introduce the specific implementation process of the present embodiment method in different scene below:
1, when the timer expiry to be restored of local device being detected, as shown in Figure 3, the pretection switch method of the present embodiment can comprise:
Step 301: keep the Protection path of the service traffics of described local device and described opposite equip. between local device and opposite equip. transmits; then open the receiving port of described local device on operating path, and give described opposite equip. by the first current for local device state notifying.
Before this step, owing to detecting that opposite equip. occurs abnormal to the operating path on local device direction, can normal transmission so need the flow switch of local device and opposite end to transmit to Protection path guaranteed flow; When detecting that the path in this direction is recovered normal afterwards; local device will enter WTR state; after local device WTR timer expiry, flow directly can be switched to operating path from Protection path and transmit by prior art; packet loss problem will be caused like this; the present embodiment step 301 changes existing way; step 301 still keeps flow to transmit on Protection path, and to open local device and the receiving port of opposite equip. on operating path be that path switches and prepares.
APS protocol massages preferentially be passed through by the first state notifying of local device to opposite equip. in the present embodiment; Now the first state of local device comprises: flow is received and dispatched on Protection path and receiving port on operating path is opened; This state can inform opposite equip. by APS protocol massages, such as we can use NR (1,1, R) the APS protocol massages sent is represented, NR (1,1, R) different field representing APS customizing messages form respectively value is: Request/State=NR, RequestedSignal=1, BridgedSignal=1, Reserved=R, wherein R represents that the receiving port of operating path is opened, and R can be carried in the Reserved field in APS customizing messages structure.Opposite equip. will know that local device is in after receiving NR (1,1, R) message: the state that flow is received and dispatched on Protection path and receiving port on operating path has been opened.
Step 302: know at described opposite equip. and open the receiving port of described opposite equip. on operating path after described local device is in described first state.
Such as opposite equip. receives NR (1; 1; R) will know after message that local device is in: the state that flow is received and dispatched on Protection path and receiving port on operating path has been opened, the receiving port of opposite equip. on operating path will be opened.
Step 301-302 is the process opening local device and the receiving port of opposite equip. on operating path.
Step 303: know at described opposite equip., after described local device is in described first state, the transmit port of described opposite equip. is switched to operating path, and give described local device by the second current for described opposite equip. state notifying.
Now the state of opposite equip. is: the receiving port that transmit port has been switched on operating path and operating path is opened, and namely on operating path, transmitted traffic receives flow on Protection path.Local device can be sent to by APS protocol massages with the second state information in sample embodiment; such as NR (1 can be used; 0) APS protocol massages is represented; NR (1; 0) different field representing APS customizing messages form respectively value is: Request/State=NR; RequestedSignal=1; BridgedSignal=0; so NR (1; 0) opposite equip. that in fact represents of message is by operating path transmitted traffic, receives flow by Protection path.
Step 304: know at described local device, after described opposite equip. is in the second state, the transmit port of described local device is switched to operating path; close the receiving port of described local device on Protection path, and the third state current for described local device is informed to described opposite equip..
Opposite equip. can be known after now local device receives the second state information transmit port to be switched on operating path and receiving port on operating path is opened; transmitting terminal can be switched to operating path by local device; and the receiving port of closing on Protection path, the path completing local device switches.Now the state of local device is: on operating path, receive and dispatch flow.What in the present embodiment, third state information represented is exactly this state.We can utilize APS protocol massages third state information to be sent to opposite equip. to inform state residing for opposite equip. local device equally; Such as may be used for NR (0,0) and represent APS protocol massages, the different field that NR (0,0) represents APS customizing messages form respectively value is: Request/State=NR, RequestedSignal=0, BridgedSignal=0.
Step 305: know at described opposite equip. and close the receiving port of described opposite equip. on Protection path after described local device is in the described third state.
Step 303-305 completes and the service traffics of described local device and described opposite equip. is switched to from described Protection path the process that operating path transmits.
Pretection switch method shown in Fig. 3 can be applied in the process after opposite equip. to the operating path recovery normally on local device direction.
2, when the timer expiry to be restored of local device and opposite equip. to be detected simultaneously, as shown in Figure 4, the pretection switch method of the present embodiment can comprise the steps:
Step 401: the Protection path of the service traffics of preserving described local device and described opposite equip. between local device and opposite equip. transmits, then opens the receiving port of local device on operating path and the receiving port of opposite equip. on operating path simultaneously.
Before this step, owing to detecting that opposite equip. occurs abnormal to local device direction and local terminal to the operating path on opposite equip. direction, can normal transmission so need the flow switch of local device and opposite end to transmit to Protection path guaranteed flow; When detecting that operating path in this both direction recovers normal afterwards; local device and opposite equip. will enter WTR state; after local device and opposite equip. WTR timer expiry, flow directly can be switched to operating path from Protection path and transmit by prior art; packet loss problem will be caused like this; the present embodiment step 401 changes existing way; step 401 still keeps flow to transmit on Protection path, and to open local device and the receiving port of opposite equip. on operating path be that path switches and prepares.
Step 402: give described opposite equip. by the first current for described local device state notifying, gives described local device by the second current for described opposite equip. state notifying.
Now the first state of local device comprises: on Protection path, receive and dispatch flow and receiving port on operating path is opened; Now the second state of opposite equip. comprises: on Protection path, receive and dispatch flow and receiving port on operating path is opened; We can utilize APS protocol massages by the state notifying of local device to opposite equip. equally, utilize APS protocol massages by the state notifying of opposite equip. to local device.Such as we can use NR (1,1, R) the APS protocol massages sent is represented, NR (1,1, R) different field representing APS customizing messages form respectively value is: Request/State=NR, RequestedSignal=1, BridgedSignal=1, Reserved=R, wherein R represents that the receiving port of operating path is opened, and R can be carried in the Reserved field in APS customizing messages structure.Opposite equip. will know that local device and opposite equip. are in after receiving NR (1,1, R) message: the state that flow is received and dispatched on Protection path and receiving port on operating path has been opened.
Step 403: know at described opposite equip., after described local device is in described first state, the transmit port of described opposite equip. is switched to operating path, and the third state current for described opposite equip. is informed to described local device.
The third state of opposite equip. comprises: opposite equip. is transmitted traffic on operating path, and Protection path receives flow.The third state can be carried out with APS protocol massages equally in the present embodiment and inform local device; Such as NR (1 can be used; 0) APS protocol massages is represented; NR (1; 0) different field representing APS customizing messages form respectively value is: Request/State=NR; RequestedSignal=1, BridgedSignal=0, so NR (1; 0) opposite equip. that in fact represents of message is by operating path transmitted traffic, receives flow by Protection path.
Step 404: know at described local device, after described opposite equip. is in described second state, the transmit port of described local device is switched to operating path, and by the 4th current for described local device state.
Now the 4th state of local device comprises: local device is transmitted traffic on operating path, and Protection path receives flow.The 4th state notifying can be carried out to local device with APS protocol massages equally in the present embodiment; Such as NR (1 can be used; 0) APS protocol massages is represented; NR (1; 0) different field representing APS customizing messages form respectively value is: Request/State=NR; RequestedSignal=1, BridgedSignal=0, so NR (1; 0) local device that in fact represents of message is by operating path transmitted traffic, receives flow by Protection path
Step 405: know at described local device and close the receiving port of described local device on described Protection path after opposite equip. is in the described third state.
Step 406: know at described opposite equip. and close the receiving port of opposite equip. on described Protection path after described local device is in the 4th state.
Step 402-406 completes and the service traffics of described local device and described opposite equip. are switched to operating path from described Protection path transmit.
Pretection switch method is as shown in Figure 4 applicable to 1:1 bidirectional protective and switches reversing mode, the situation of two-way SF.Pretection switch method shown in Fig. 4 specifically can be applied in detect simultaneously opposite equip. on local device direction, local device is to the operating path on opposite equip. direction from abnormal restoring to the scene after normal.
3, in the situation of timer expiry to be restored local device being detected, be that the WTR timer expiry of local device is before the WTR timer expiry of opposite equip. here; The pretection switch method of the present embodiment, as shown in Figure 5, comprises the steps:
Step 501: keep the Protection path of the service traffics of described local device and described opposite equip. between local device and opposite equip. transmits; first open the receiving port of described local device on operating path, and give described opposite equip. by the first current for described local device state notifying.
Before this step, owing to detecting that opposite equip. occurs abnormal to local device direction and local terminal to the operating path on opposite equip. direction, can normal transmission so need the flow switch of local device and opposite end to transmit to Protection path guaranteed flow; When detecting that operating path in this both direction recovers normal afterwards, local device and opposite equip. will enter WTR state,, before local device WTR timer expiry occurs in opposite equip. WTR timer expiry, in this scene, first open the receiving port of local device on operating path in this scene.Now the first state comprises: local device is received and dispatched flow and opened the receiving port on operating path on Protection path.
With APS protocol massages can be utilized in sample embodiment equally by the first state notifying to opposite equip., specifically can with reference to the description about APS after above-mentioned steps 401.
The present embodiment still keeps flow to transmit on Protection path after local device WTR timer expiry, and to open local device and the receiving port of opposite equip. on operating path be that path switches and prepares.
Step 502: when the priority of described opposite equip. Wait-to-Restore timer is higher than local device Wait-to-Restore timer, described opposite equip. ignores the first state notifying of local device, after the timer expiry to be restored of described opposite equip. by the time, open the receiving port of described opposite equip. on operating path.
In the present embodiment when opposite equip. WTR timer priority is higher than local device WTR timer priority, opposite equip. can ignore the state of local device, but after waiting until the WTR timer expiry of oneself, opens the receiving port on operating path.
If when opposite equip. WTR timer priority is lower than local device WTR timer priority, oneself receiving port on operating path can be opened immediately after receiving the state notifying of local device.Its follow-up process can the step of reference diagram 3.
Step 503: give described local device by the second current for described opposite equip. state notifying.
Now the second state of opposite equip. comprises: on Protection path, receive and dispatch flow and receiving port is opened on operating path; This state can inform local device by APS protocol massages.The description of concrete APS protocol massages is with reference to the associated description in above-mentioned scene 1,2.
Step 504: after described local device knows that described opposite equip. is in described second state, the transmit port of described local device is switched to operating path, and the third state current for described local device is informed to described opposite equip..
Now the third state comprises: send on operating path and receiving port on operating path is opened.
Step 505: after described opposite equip. knows that described local device is in the described third state; the transmit port of described opposite equip. is switched to operating path and closes the receiving port of described opposite equip. on Protection path, and by the 4th current for described opposite equip. state notifying to local device.
Now, the 4th state comprises: opposite equip. receives and dispatches flow on operating path;
Step 506: after described local device knows that described opposite equip. is in described 4th state, close the receiving port of described local device on Protection path.
Step 503-506 completes and flow is switched to operating path from Protection path transmits.
Pretection switch method shown in Fig. 5 is applicable to 1:1 bidirectional protective and switches reversing mode, two-way SF and the situation of WTR Time Inconsistency.Particularly, the pretection switch method shown in Fig. 5 can be applied in detect simultaneously opposite equip. on local device direction, local device is to the operating path on opposite equip. direction from abnormal restoring to the scene after normal.
In the present embodiment, method can by the improvement to APS negotiation mechanism; switch in reversing mode at 1:1 bidirectional protective, when switching to operating path from Protection path, guarantee that the receiving port on operating path is in running order in advance; not packet loss when ensureing to switch, improves service quality.
State in addition after the present embodiment method change local terminal and opposite end WTR timer expiry, the namely state that represents of the state that represents of above-mentioned NR (1,1, R) and NR (1,0), but do not affect the interoperability test with other products.Due to R information in NR in the present embodiment (1,1, R) transmission be Reserved field, can not by other products identification, whole message can be taken as NR (1,1) process.For NR (1,0), in 1 end APS, there is no this state, will be left in the basket if therefore receive this APS message.
Embodiment two:
The present embodiment will be introduced 1:1 bidirectional protective respectively and switch (reversing mode) unidirectional SF, two-way SF and two-way SF and the detailed process applying pretection switch method realizing route of the present invention switching in these three kinds of situations of WTR Time Inconsistency.
Be illustrated in figure 6: switch (reversing mode) at 1:1 bidirectional protective, when unidirectional SF, the detailed process that application the inventive method realizing route switches:
Step 601: protected field does not detect Signal Fail state, and flow sends on operating path, node A and Z sends NR (0,0) message mutually.。
Step 602: Signal Fail occurs in Z to the A direction of operating path, the transmission of node A selects Protection path with reception, and sends SF (1,1) message.
The different field that SF (0,1) represents APS customizing messages form respectively value is: Request/State=SF, RequestedSignal=1, BridgedSignal=1.
Step 603: after node Z receives SF (1,1), sends and is switched to Protection path with receiving port.Because node Z does not have local request, node Z sends NR (1,1) message.
The different field that NR (1,1) represents APS customizing messages form respectively value is: Request/State=NR, RequestedSignal=1, BridgedSignal=1.
Step 604: node A confirms that remote equipment has been switched to Protection path.
Step 605: node A detects Signal Fail state and removes, starts WTR timer, and sends WTR (1,1) message.
Step 606: after the local WTR timer expiry of node A, opens operating path receiving port and prepares to switch, send NR (1,1, R) message.
Step 607: after node Z receives NR (1,1, R) message, know that remote equipment operating path receiving port is opened, so transmit port is switched to operating path, and open the receiving port of operating path, send NR (1,0) message
Step 608: after node A receives NR (1,0) message, confirms that opposite end transmit port is switched to operating path, therefore closes the receiving port of Protection path, send NR (0,0) message.
Step 609: node Z receives NR (0,0) message, confirms that opposite end transmit port is switched to operating path, therefore closes the receiving port of Protection path, send NR (0,0) message.
As shown in Figure 7, for switching (reversing mode) at 1:1 bidirectional protective, the process that pretection switch method realizing route of the present invention switches when two-way SF, is applied:
Step 701: operating path does not have Signal Fail state, flow is carried on operating path
Step 702: node A and Z detects local operating path Signal Fail state, is switched to Protection path, sends SF (1,1) message simultaneously.After receiving SF (1,1) message, terminal device all confirms that far-end has been switched to Protection path.
Step 703: terminal device all detects that operating path SF state is removed, sends NR (1,1)
Step 704: after receiving NR (1,1) message, each node starts local WTR timer and sends WTR (1,1) message.
Step 705: after local timer expiry, each node sends NR (1,1, R) message, opens the receiving port of operating path.
Step 706: after receiving NR (1,1, R) message, confirms that opposite end operating path has been ready to receive flow, therefore transmit port is switched to operating path, sends NR (1,0) message simultaneously.
Step 707: after receiving NR (1,0) message, confirms that opposite end transmit port is switched to operating path, so close the receiving port of Protection path, sends NR (0,0) message simultaneously.
Be illustrated in figure 8: 1:1 bidirectional protective switch (reversing mode), two-way SF and WTR Time Inconsistency when apply pretection switch method realizing route of the present invention switch detailed process:
Step 801: operating path does not detect Signal Fail, flow is carried on operating path.
Step 802: node A and Z detects operating path Signal Fail, is switched on Protection path, sends SF (1,1) message simultaneously.
Step 803: after receiving SF (1,1) message, confirms that remote equipment is switched to Protection path.Each nodal test is removed to Signal Fail state, sends NR (1,1) message.
Step 804: after receiving NR (1,1) message, each node starts local WTR timer, sends WTR (1,1) message simultaneously.
Step 805: after the WTR timer expiry of node A, sends NR (1,1, R) message.
Step 806: after node Z receives NR (1,1, R) message, because local state is that WTR has higher priority and will ignore this message.After the WTR timer expiry of node Z, open operating path receiving port and send NR (1,1, R) message.
Step 807: after node A receives NR (1,1, R) message, confirms that remote equipment operating path has been ready to receive flow, therefore transmit port is switched to operating path, sends NR (1,0) message simultaneously.
Step 808: after node Z receives NR (1,0) message, confirms that far-end transmit port is switched to operating path, so close the receiving port of Protection path, sends NR (0,0) message simultaneously.
Step 809: after node A receives NR (0,0) message, confirms that far-end transmit port is switched to operating path, so close the receiving port of Protection path, sends NR (0,0) message simultaneously.
The present embodiment can change to be applicable to enforcement of the present invention to APS message protocol.The present embodiment utilizes the APS message protocol improved mutually to notify respective state; Particularly, the content improved APS message protocol can reference diagram 9, is illustrated in figure 9 the list of modification of the present embodiment to APS state.
Embodiment three:
As shown in Figure 10, present embodiments provide a kind of pretection switch device, be applied to the process after the operating path recovery normally between local device and opposite equip., comprise: path clustering module and port control modules;
Described path clustering module is used for when after the timer expiry to be restored local device and/or opposite equip. being detected, keeps the Protection path of the service traffics of described local device and described opposite equip. between local device and opposite equip. transmits; And after described port control modules opens local device and the receiving port of opposite equip. on described operating path, the service traffics of described local device and described opposite equip. are switched to operating path from described Protection path and transmit
Described port control modules is for opening the receiving port of local device on described operating path and the receiving port of opposite equip. on described operating path.
The pretection switch device of the present embodiment; can after operating path recovers normally; still remain on Protection path and transmit service traffics; and be that path switching is prepared at the receiving port of front opening terminal device on operating path of path switching; avoid the packet loss problem that cause asynchronous with receiving port of transmit port when switching in path; improve the integrality of traffic transport, improve service quality.
On the basis of technique scheme, the one of the present embodiment pretection switch device is improved to: described path clustering module is provided for described local device and described opposite equip. and carries out state and consult that the service traffics of described local device and described opposite equip. are switched to operating path from described Protection path and transmit.
The present embodiment pretection switch device can adopt the mode toggle path of local device and the mutual negotiation state of opposite equip., ensure that the accuracy of switching.
On the basis of technique scheme, preferentially, port control modules described in the present embodiment pretection switch device is used for when after the timer expiry to be restored described local device being detected, open the receiving port of described local device on operating path, and give described opposite equip. by the first current for local device state notifying; Know at described opposite equip. and open the receiving port of described opposite equip. on operating path after described local device is in described first state;
Described path clustering module is used for:
Know at described opposite equip., after described local device is in described first state, the transmit port of described opposite equip. is switched to operating path, and give described local device by the second current for described opposite equip. state notifying;
Know at described local device, after described opposite equip. is in the second state, the transmit port of described local device is switched to operating path, close the receiving port of described local device on Protection path, and the third state current for described local device is informed to described opposite equip.;
Know at described opposite equip. and close the receiving port of described opposite equip. on Protection path after described local device is in the described third state.
On the basis of technique scheme, preferentially, port control modules described in the present embodiment pretection switch device is used for after the timer expiry to be restored local device and opposite equip. simultaneously being detected, opens the receiving port of local device on operating path and the receiving port of opposite equip. on operating path simultaneously; Described path handover module is used for:
Give described opposite equip. by the first current for described local device state notifying, give described local device by the second current for described opposite equip. state notifying;
Know at described opposite equip., after described local device is in described first state, the transmit port of described opposite equip. is switched to operating path, and the third state current for described opposite equip. is informed to described local device;
Know at described local device, after described opposite equip. is in described second state, the transmit port of described local device is switched to operating path, and by the 4th current for described local device state;
Know at described local device and close the receiving port of described local device on described Protection path after opposite equip. is in the described third state;
Know at described opposite equip. and close the receiving port of opposite equip. on described Protection path after described local device is in the 4th state.
On the basis of technique scheme, preferentially, port control modules described in the present embodiment pretection switch device is used for after the timer expiry to be restored local device being detected, first open the receiving port of described local device on operating path, and give described opposite equip. by the first current for described local device state notifying; When the priority of described opposite equip. Wait-to-Restore timer is higher than local device Wait-to-Restore timer, described opposite equip. ignores the first state notifying of local device, after the timer expiry to be restored of described opposite equip. by the time, open the receiving port of described opposite equip. on operating path;
Described path handover module is used for:
Described local device is given by the second current for described opposite equip. state notifying;
After described local device knows that described opposite equip. is in described second state, the transmit port of described local device is switched to operating path, and the third state current for described local device is informed to described opposite equip.;
After described opposite equip. knows that described local device is in the described third state, the transmit port of described opposite equip. is switched to operating path and closes the receiving port of described opposite equip. on Protection path, and by the 4th current for described opposite equip. state notifying to local device;
After described local device knows that described opposite equip. is in described 4th state, close the receiving port of described local device on Protection path.
Preferably, the state of described local device informs described opposite equip. by APS protocol massages, and the state of described opposite equip. informs described local device by APS protocol massages.
Further, the state notification information that described local device or the opposite equip. receiving port on operating path has been opened is carried at the Reserved field in APS protocol massages structure.
As shown in figure 11, present embodiments provide a kind of pretection switch system, be applied to the process after the operating path recovery normally between local device and opposite equip., comprise: local device and opposite equip.; Described local device comprises: the first port control modules and the first path control module; Described opposite equip. comprises: the second port control modules and the second path clustering module;
Described first port control modules is used for when after the timer expiry to be restored described local device and/or opposite equip. being detected, keep the Protection path of the service traffics of described local device between local device and opposite equip. transmits, open the receiving port of local device on described operating path;
Described second port control modules is used for when after the timer expiry to be restored described local device and/or opposite equip. being detected, opens the receiving port of local device on described operating path;
Described first path control module is for after opening local device and the receiving port of opposite equip. on described operating path, keep the Protection path of the service traffics of described opposite equip. between local device and opposite equip. transmits, the service traffics of described local device are switched to described operating path from described Protection path and transmit;
The service traffics of described opposite equip., for after opening local device and the receiving port of opposite equip. on described operating path, are switched to described operating path from described Protection path and transmit by described second path clustering module.
The pretection switch system of the present embodiment; can after operating path recovers normally; still remain on Protection path and transmit service traffics; and be that path switching is prepared at the receiving port of front opening terminal device on operating path of path switching; avoid the packet loss problem that cause asynchronous with receiving port of transmit port when switching in path; improve the integrality of traffic transport, improve service quality.
On the basis of technique scheme, the one of the present embodiment pretection switch system is improved to:
Described first path control module is consulted that the service traffics of described local device are switched to described operating path from described Protection path transmit for being carried out state with described opposite equip.;
Described second path clustering module is consulted that the service traffics of described opposite equip. are switched to described operating path from described Protection path transmit for being carried out state with described local device.
Above content is in conjunction with concrete execution mode further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, some simple deduction or replace can also be made, all should be considered as belonging to protection scope of the present invention.

Claims (16)

1. a pretection switch method, is characterized in that, the operating path between local device and opposite equip. is further comprising the steps of after recovering normally:
When after the timer expiry to be restored local device and/or opposite equip. being detected, keep the Protection path of the service traffics of described local device and described opposite equip. between local device and opposite equip. transmits;
Open the receiving port of local device on described operating path and the receiving port of opposite equip. on described operating path;
The service traffics of described local device and described opposite equip. are switched to operating path from described Protection path transmit.
2. pretection switch method as claimed in claim 1; it is characterized in that, describedly the service traffics of described local device and described opposite equip. are switched to from described Protection path the step that operating path transmits comprise: described local device and described opposite equip. carry out state to be consulted that the service traffics of described local device and described opposite equip. are switched to operating path from described Protection path and transmit.
3. pretection switch method as claimed in claim 2; it is characterized in that; when after the timer expiry to be restored described local device being detected, described in open the receiving port of local device on operating path and the receiving port of opposite equip. on operating path process comprise:
Open the receiving port of described local device on operating path, and give described opposite equip. by the first current for local device state notifying;
Know at described opposite equip. and open the receiving port of described opposite equip. on operating path after described local device is in described first state;
Described local device and described opposite equip. carry out state to be consulted that the service traffics of described local device and described opposite equip. are switched to from described Protection path the step that operating path transmits and comprises:
Know at described opposite equip., after described local device is in described first state, the transmit port of described opposite equip. is switched to operating path, and give described local device by the second current for described opposite equip. state notifying;
Know at described local device, after described opposite equip. is in the second state, the transmit port of described local device is switched to operating path, close the receiving port of described local device on Protection path, and the third state current for described local device is informed to described opposite equip.;
Know at described opposite equip. and close the receiving port of described opposite equip. on Protection path after described local device is in the described third state.
4. pretection switch method as claimed in claim 2, it is characterized in that, after the timer expiry to be restored local device and opposite equip. simultaneously being detected, described in open the receiving port of local device on operating path and the receiving port of opposite equip. on operating path process comprise: open the receiving port of local device on operating path and the receiving port of opposite equip. on operating path simultaneously;
Described local device and described opposite equip. carry out state to be consulted that the service traffics of described local device and described opposite equip. are switched to from described Protection path the step that operating path transmits and comprises:
Give described opposite equip. by the first current for described local device state notifying, give described local device by the second current for described opposite equip. state notifying;
Know at described opposite equip., after described local device is in described first state, the transmit port of described opposite equip. is switched to operating path, and the third state current for described opposite equip. is informed to described local device;
Know at described local device, after described opposite equip. is in described second state, the transmit port of described local device is switched to operating path, and by the 4th current for described local device state;
Know at described local device and close the receiving port of described local device on described Protection path after opposite equip. is in the described third state;
Know at described opposite equip. and close the receiving port of opposite equip. on described Protection path after described local device is in the 4th state.
5. pretection switch method as claimed in claim 2; it is characterized in that; after the timer expiry to be restored local device being detected, described in open the receiving port of local device on operating path and the receiving port of opposite equip. on operating path process comprise:
First open the receiving port of described local device on operating path, and give described opposite equip. by the first current for described local device state notifying;
When the priority of described opposite equip. Wait-to-Restore timer is higher than local device Wait-to-Restore timer, described opposite equip. ignores the first state notifying of local device, after the timer expiry to be restored of described opposite equip. by the time, open the receiving port of described opposite equip. on operating path;
Described local device and described opposite equip. carry out state to be consulted that the service traffics of described local device and described opposite equip. are switched to from described Protection path the step that operating path transmits and comprises:
Described local device is given by the second current for described opposite equip. state notifying;
After described local device knows that described opposite equip. is in described second state, the transmit port of described local device is switched to operating path, and the third state current for described local device is informed to described opposite equip.;
After described opposite equip. knows that described local device is in the described third state, the transmit port of described opposite equip. is switched to operating path and closes the receiving port of described opposite equip. on Protection path, and by the 4th current for described opposite equip. state notifying to local device;
After described local device knows that described opposite equip. is in described 4th state, close the receiving port of described local device on Protection path.
6. the pretection switch method as described in any one of claim 3-5, is characterized in that, the state of described local device informs described opposite equip. by APS protocol massages, and the state of described opposite equip. informs described local device by APS protocol massages.
7. pretection switch method as claimed in claim 6, it is characterized in that, the state notification information that described local device or the opposite equip. receiving port on operating path has been opened is carried at the Reserved field in APS protocol massages structure.
8. a pretection switch device, is characterized in that, is applied to the process after the operating path recovery normally between local device and opposite equip., comprises: path clustering module and port control modules;
Described path clustering module is used for when after the timer expiry to be restored local device and/or opposite equip. being detected, keeps the Protection path of the service traffics of described local device and described opposite equip. between local device and opposite equip. transmits; And after described port control modules opens local device and the receiving interface of opposite equip. on described operating path, the service traffics of described local device and described opposite equip. are switched to operating path from described Protection path and transmit
Described port control modules is for opening the receiving port of local device on described operating path and the receiving port of opposite equip. on described operating path.
9. pretection switch device as claimed in claim 8; it is characterized in that, described path clustering module is provided for described local device and described opposite equip. and carries out state and consult that the service traffics of described local device and described opposite equip. are switched to operating path from described Protection path and transmit.
10. pretection switch device as claimed in claim 9, it is characterized in that, described port control modules is used for when after the timer expiry to be restored described local device being detected, open the receiving port of described local device on operating path, and give described opposite equip. by the first current for local device state notifying; Know at described opposite equip. and open the receiving port of described opposite equip. on operating path after described local device is in described first state;
Described path clustering module is used for:
Know at described opposite equip., after described local device is in described first state, the transmit port of described opposite equip. is switched to operating path, and give described local device by the second current for described opposite equip. state notifying;
Know at described local device, after described opposite equip. is in the second state, the transmit port of described local device is switched to operating path, close the receiving port of described local device on Protection path, and the third state current for described local device is informed to described opposite equip.;
Know at described opposite equip. and close the receiving port of described opposite equip. on Protection path after described local device is in the described third state.
11. pretection switch devices as claimed in claim 9, it is characterized in that, described port control modules is used for after the timer expiry to be restored local device and opposite equip. simultaneously being detected, opens the receiving port of local device on operating path and the receiving port of opposite equip. on operating path simultaneously;
Described path handover module is used for:
Give described opposite equip. by the first current for described local device state notifying, give described local device by the second current for described opposite equip. state notifying;
Know at described opposite equip., after described local device is in described first state, the transmit port of described opposite equip. is switched to operating path, and the third state current for described opposite equip. is informed to described local device;
Know at described local device, after described opposite equip. is in described second state, the transmit port of described local device is switched to operating path, and by the 4th current for described local device state;
Know at described local device and close the receiving port of described local device on described Protection path after opposite equip. is in the described third state;
Know at described opposite equip. and close the receiving port of opposite equip. on described Protection path after described local device is in the 4th state.
12. pretection switch devices as claimed in claim 9, it is characterized in that, described port control modules is used for after the timer expiry to be restored local device being detected, first open the receiving port of described local device on operating path, and give described opposite equip. by the first current for described local device state notifying; When the priority of described opposite equip. Wait-to-Restore timer is higher than local device Wait-to-Restore timer, described opposite equip. ignores the first state notifying of local device, after the timer expiry to be restored of described opposite equip. by the time, open the receiving port of described opposite equip. on operating path;
Described path handover module is used for:
Described local device is given by the second current for described opposite equip. state notifying;
After described local device knows that described opposite equip. is in described second state, the transmit port of described local device is switched to operating path, and the third state current for described local device is informed to described opposite equip.;
After described opposite equip. knows that described local device is in the described third state, the transmit port of described opposite equip. is switched to operating path and closes the receiving port of described opposite equip. on Protection path, and by the 4th current for described opposite equip. state notifying to local device;
After described local device knows that described opposite equip. is in described 4th state, close the receiving port of described local device on Protection path.
13. pretection switch devices as described in any one of claim 9-12, it is characterized in that, the state of described local device informs described opposite equip. by APS protocol massages, and the state of described opposite equip. informs described local device by APS protocol massages.
14. pretection switch devices as claimed in claim 11, it is characterized in that, the state notification information that described local device or the opposite equip. receiving port on operating path has been opened is carried at the Reserved field in APS protocol massages structure.
15. 1 kinds of pretection switch systems, is characterized in that, are applied to the process after the operating path recovery normally between local device and opposite equip., comprise: local device and opposite equip.; Described local device comprises: the first port control modules and the first path control module; Described opposite equip. comprises: the second port control modules and the second path clustering module;
Described first port control modules is used for when after the timer expiry to be restored described local device and/or opposite equip. being detected, keep the Protection path of the service traffics of described local device between local device and opposite equip. transmits, open the receiving port of local device on described operating path;
Described second port control modules is used for when after the timer expiry to be restored described local device and/or opposite equip. being detected, opens the receiving port of local device on described operating path;
Described first path control module is for after opening local device and the receiving interface of opposite equip. on described operating path, keep the Protection path of the service traffics of described opposite equip. between local device and opposite equip. transmits, the service traffics of described local device are switched to described operating path from described Protection path and transmit;
The service traffics of described opposite equip., for after opening local device and the receiving interface of opposite equip. on described operating path, are switched to described operating path from described Protection path and transmit by described second path clustering module.
16. pretection switch systems as claimed in claim 15, it is characterized in that, described first path control module is consulted that the service traffics of described local device are switched to described operating path from described Protection path transmit for being carried out state with described opposite equip.;
Described second path clustering module is consulted that the service traffics of described opposite equip. are switched to described operating path from described Protection path transmit for being carried out state with described local device.
CN201410231452.0A 2014-05-28 2014-05-28 Protection switching method, device and system Withdrawn CN105141520A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410231452.0A CN105141520A (en) 2014-05-28 2014-05-28 Protection switching method, device and system
PCT/CN2014/089019 WO2015180379A1 (en) 2014-05-28 2014-10-21 Protection switching method, apparatus, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410231452.0A CN105141520A (en) 2014-05-28 2014-05-28 Protection switching method, device and system

Publications (1)

Publication Number Publication Date
CN105141520A true CN105141520A (en) 2015-12-09

Family

ID=54698003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410231452.0A Withdrawn CN105141520A (en) 2014-05-28 2014-05-28 Protection switching method, device and system

Country Status (2)

Country Link
CN (1) CN105141520A (en)
WO (1) WO2015180379A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136789A (en) * 2006-08-30 2008-03-05 华为技术有限公司 Method and device for implementing terminal-to-terminal link detection, routing strategy rearrangement
CN100454875C (en) * 2006-08-24 2009-01-21 华为技术有限公司 Method and system for realizing dual attachment or multiple attachment of user network boundary device
CN101599853A (en) * 2008-06-03 2009-12-09 中兴通讯股份有限公司 A kind of Ethernet dual homed connects the implementation method of irrevocable pattern in the protection
CN101682660A (en) * 2007-05-10 2010-03-24 北电网络有限公司 Facilitating automatic protection switching for provider backbone network
CN101795232A (en) * 2010-03-08 2010-08-04 杭州华三通信技术有限公司 Network failure treating method and device
CN102833774A (en) * 2012-08-29 2012-12-19 华为技术有限公司 IP (internet protocol) radio access network system and processing method for faults of primary pseudo wires

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047440A (en) * 2006-05-10 2007-10-03 华为技术有限公司 Method of service route return
CN102271058A (en) * 2011-08-09 2011-12-07 中兴通讯股份有限公司 Multi-path service protecting method and device
CN102347859B (en) * 2011-09-26 2013-04-10 杭州华三通信技术有限公司 Link rapidly recovering method and device
CN102571598B (en) * 2012-02-06 2015-02-11 杭州华三通信技术有限公司 VRRP group flow synchronous switching method and route equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100454875C (en) * 2006-08-24 2009-01-21 华为技术有限公司 Method and system for realizing dual attachment or multiple attachment of user network boundary device
CN101136789A (en) * 2006-08-30 2008-03-05 华为技术有限公司 Method and device for implementing terminal-to-terminal link detection, routing strategy rearrangement
CN101682660A (en) * 2007-05-10 2010-03-24 北电网络有限公司 Facilitating automatic protection switching for provider backbone network
CN101599853A (en) * 2008-06-03 2009-12-09 中兴通讯股份有限公司 A kind of Ethernet dual homed connects the implementation method of irrevocable pattern in the protection
CN101795232A (en) * 2010-03-08 2010-08-04 杭州华三通信技术有限公司 Network failure treating method and device
CN102833774A (en) * 2012-08-29 2012-12-19 华为技术有限公司 IP (internet protocol) radio access network system and processing method for faults of primary pseudo wires

Also Published As

Publication number Publication date
WO2015180379A1 (en) 2015-12-03

Similar Documents

Publication Publication Date Title
CN102571426B (en) Double-homing protection method and device
CN101702658B (en) Implement method of ring network protection and system thereof
US20080068988A1 (en) Packet communication method and packet communication device
CN104980372A (en) Relay System And Switching Device
CN100525301C (en) Multi-protocol label exchange-network protection switching-over method
CN102035714B (en) A kind of crossing tangent ring networks guard method and system
JP5521663B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD
CN103490921B (en) Network protection method, device, lower link point and system
CN101662398A (en) Method for transferring alarm of client access link in transmission system
CN102904632A (en) Automatic switching transport network self-healing recovery method based on break before make
CN102480409A (en) Method for realizing rapid ring protection protocol (RRPP) loop shunting uplink, RRPP loop and device
CN106033994B (en) A kind of optical transmission method, device and optical transmission device
CN101621443B (en) Failure recovery method of Ethernet ring protection system
CN102238067A (en) Switching method and device on Rapid Ring Protection Protocol (RRPP) ring
CN105681149B (en) Looped network protecting method and device
JP2008104144A (en) Packet communication method and packet communication device
CN105264799B (en) Method, node and the control equipment of pretection switch
CN106161232A (en) A kind of method and apparatus of protecting tunnel switching
WO2013091576A1 (en) Ring network protection realizing method and system
CN102487348A (en) Method and system for realizing looped network uplink protection
WO2012000329A1 (en) Subnet protection method and device for transport multi-protocol label switching (tmpls) network
CN105141520A (en) Protection switching method, device and system
CN104954248A (en) Message transmission protection switching method, equipment and system
CN109039728B (en) BFD-based flow congestion detection method and system
CN104184639B (en) A kind of processing method and equipment of ERPS loops multipoint fault

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20151209