This application is a National stage of International Application No. PCT/CN2013/070195, filed Jan. 8, 2013, which is hereby incorporated by reference.
The present invention generally relates to the technical field of network systems, and particularly, to a method and a networking device for handling inconsistency of Protection State Coordination (PSC) states between two ends.
For network survivability, a protection path, in addition to a working path, is usually reserved for traffic transmission between two ends of a communication tunnel, as shown in
In such a deployment as shown in
In some scenarios, however, even if the PSC state machine based solution is adopted, inconsistency of PSC states between two ends of a communication tunnel cannot be avoided or eliminated. Considering for example a scenario where both the working path and the protection path went down but revive simultaneously, due to independent negotiations for recovery of the working and protection paths, there will be a possibility that node A has the working path recovered first whereas node B has the protection path recovered first, and vice versa. As a result, if the PSC domain consisting of both ends and both paths is configured by the operator not to automatically revert to the Normal state, node A will enter the Normal state and transmits traffic on the working path whereas node B will enter the DNR state and transmits traffic on the protection path, and vice versa.
In view of the foregoing, there is needed a technique for handling the inconsistency of PSC states between two ends of a communication tunnel.
According to a first aspect of the invention, there is provided a networking device, comprising a transceiver, a state detecting unit, an inconsistency identifying unit and an inconsistency removing unit. The transceiver is configured to receive a PSC message from another networking device. The state detecting unit is configured to detect a local PSC state of the networking device. The inconsistency identifying unit is configured to determine whether the received PSC message is an NR message and the detected local PSC state is a DNR state. The inconsistency removing unit is configured to change the local PSC state from the DNR state to a Normal state, if the inconsistency identifying unit determines that the received PSC message is an NR message and the detected local PSC state is a DNR state.
According to a second aspect of the invention, there is provided a method for use in a networking device. The method comprises the steps of: receiving a PSC message from another networking device; detecting a local PSC state of the networking device; determining whether the received PSC message is an NR message and the detected local PSC state is a DNR state; and changing the local PSC state from the DNR state to a Normal state, if it is determined that the received PSC message is an NR message and the detected local PSC state is a DNR state.
By using the networking device and the method according to the first and second aspects of the present invention, any inconsistency of PSC states between two ends of a communication tunnel can be identified and removed.
The above and other objects, features, and advantages of the present invention will become apparent from the following descriptions on embodiments of the present invention with reference to the drawings, in which:
Hereinafter, the present invention is described with reference to embodiments shown in the attached drawings. However, it is to be understood that those descriptions are just provided for illustrative purpose, rather than limiting the present invention. Further, in the following, descriptions of known structures and techniques are omitted so as not to unnecessarily obscure the concept of the present invention.
As will be appreciated by those skilled in the art, the present invention is not limited to be applied for the unexpected scenario described in the background, but can be applied for any other scenario where an inconsistency of PSC states between two ends of a communication tunnel may occur. Further, it will be appreciated that the present invention is not limited to be applied to MPLS-TP networks described by way of example, but can be applied to any other network where protection path is reserved for traffic transmission between two ends of a communication tunnel as shown in
As illustrated in
For comparison,
As the same with the procedure shown in
As can be seen from the comparison, the procedure according to the present invention does not depart from the framework of the existing PSC protocol, but enables the identification and removal of PSC state inconsistency simply by assigning a remote NR message a higher priority than a local DNR state. Therefore, it can be conveniently and economically implemented and operated on legacy networking devices originally designed for running the existing PSC protocol.
It should be noted that, for the sake of simplicity, the procedures are described above on the assumption that node A has the working path recovered first and enters the Normal state whereas node B has the protection path recovered first and enters the DNR state. However, those skilled in the art would appreciate that the above described procedures still apply if the peer nodes A and B exchange their positions, i.e., if node B has the working path recovered first and enters the Normal state whereas node A has the protection path recovered first and enters the DNR state.
As illustrated in
If it is determined that the received PSC message is not an NR message or the detected local PSC state is not a DNR state (‘NO’ at S430), the steps S440 and S450 are bypassed.
With the above-described method performed at node A and node B in
Further, based on their respective local PSC states, both of nodes A and B will select the working path for transporting traffic to each other.
Moreover, with the method performed at both of nodes A and B, it is also possible to identify and remove PSC state inconsistency in case node B has the working path recovered first and enters the Normal state whereas node A has the protection path recovered first and enters the DNR state.
In the following, the structure of a networking device 500 according to the present invention will be given with reference to
As shown in
Preferably, the networking device 500 may further comprise a traffic path selecting unit 550 configured to select a working path for transporting traffic to the other networking device, if the local PSC state of the networking device is changed to the Normal state.
Preferably, the transceiver 510 may be further configured to send an NR message to the other networking device, if the inconsistency removing unit 540 changes the local PSC state from the DNR state to the Normal state.
Preferably, the inconsistency removing unit 540 may be further configured to maintain the local PSC state, if the inconsistency identifying unit 530 determines that the received PSC message is a DNR message and the detected local PSC state is a normal state.
Some, several or all of the previously described units, i.e., the transceiver 510, the state detecting unit 520, the inconsistency identifying unit 530, the inconsistency removing unit 540 and/or the traffic path selecting unit 550 may, according to some embodiments, be comprised within the same physical unit.
The present invention is described above with reference to the embodiments thereof. However, those embodiments are provided just for illustrative purpose, rather than limiting the present invention. The scope of the invention is defined by the attached claims as well as equivalents thereof. Those skilled in the art can make various alternations and modifications without departing from the scope of the invention, which all fall into the scope of the invention.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2013/070195 | 1/8/2013 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2014/107834 | 7/17/2014 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
20120127855 | Alon | May 2012 | A1 |
20120182861 | Ma | Jul 2012 | A1 |
20130003528 | Wu | Jan 2013 | A1 |
20140254353 | Ye | Sep 2014 | A1 |
Number | Date | Country |
---|---|---|
102223302 | Oct 2011 | CN |
1229677 | Aug 2002 | EP |
2011095101 | Aug 2011 | WO |
Entry |
---|
International Search Report and Written Opinion for International Application No. PCT/CN2013/070195, mailed Oct. 17, 2013, 12 pages. |
Weingarten et al., “MPLS Transport Profile (MPLS-TP) Linear Protection,” Internet Engineering Task Force, Request for Comments: 6378, Oct. 2011, pp. 1-53. |
International Preliminary Report on Patentability for International Application No. PCT/CN2013/070195, mailed Jul. 23, 2015, 7 pages. |
Supplementary European Search Report and Written Opinion for Application No. EP 13 871 074.4, mailed Jul. 4, 2016, 6 pages. |
“Ethernet linear protection switching; G.8031/Y.1342 (Jun. 2011)”, ITU-T Standard, International Telecommunication Union, Jun. 22, 2011, pp. 1-94. |
Number | Date | Country | |
---|---|---|---|
20150334013 A1 | Nov 2015 | US |