The present invention relates to a Client Signal Fail (CSF) indication technology in an Optical Transport Network (OTN), and particularly, to a method and apparatus for indicating client signal fail in an optical transport network.
With the development of the OTN and the continue improvement of the OTN related standards, an idea is recently put forward that the CSF indication overhead needs to be added into the OTN. Wherein, the client signal fail refers to the fail appearing when client signals enter into the source-end OTN network.
In the existing OTN network, the client signals are transmitted in the frame format of multiframe, and except for a few client signals, the destination-end OTN network management cannot detect the fail states when the source-side client signals enter into the OTN network. The destination-end OTN management function would like to know the states of the received client signals, but not all the client signals have the CSF indication, therefore, it is necessary to add the CSF indication in the OTN frame.
The aforementioned solution of CSF indication has the following advantages: (1) occupying a few amount of OPUk overhead, only 1 bit; (2) conveniently indicating all client signal fails in the OPUk, and the implementation being simple. However, since the OPUk is a multiframe structure, each multiframe structure contains 256 OPUk frames. When only the PSI[2][1] bit is selected in the OPUk multiframe as the CSF overhead indication, each multiframe structure, that is, every 256 OPUk frames, has only one CSF indication. When a client signal is failed, the case of the client signal fail can only be detected after a period of 256 OPUk frames. The time delay of the current client signal fail detection is shown as Table 1:
In Table 1, for the ODUO, the maximum time delay required for detecting a client signal fail indication reaches 25 ms, while at the destination end, it is generally determined that the source end has the client signal fail by continuously receiving 3-5 CSF indications. Therefore, the time needed by the destination end to determine that the source end has the client signal fail reaches 75 to 125 ms. In the Automatic Protection Switch (APS), the time delay required by the protection switch is within 50 ms, and in this case, the solution of only using the PSI[2][1] to indicate the CSF is difficult to meet the requirements.
In view of that, the main purpose of the present invention is to provide a method and apparatus for indicating client signal fail in an optical transport network, and to reduce the time delay of detecting the client signal fail by adding client signal fail indication bits in an OPU multiframe.
To achieve the aforementioned purpose, the technical solution of the present invention is accomplished as follows.
A method for indicating client signal fail in an optical transport network comprises:
adding client signal fail indication bits in an OPUk or/and OPUk-Xv multiframe to indicate whether a client signal is failed.
Preferably, said method further comprises:
detecting the client signal fail indication bits of a PSI in the received OPUk or/and OPUk-Xv multiframe, and when the number of continuously detected client signal fail indications exceeds a preset threshold, indicating to perform a link protection switch.
Preferably, the added client signal fail indication bits are located in PSI bytes in the OPUk or/and OPUk-Xv multiframe.
Preferably, the client signal fail indication bits are located in the PSI[x][y], wherein, x is a serial number of an OPUk or/and OPUk-Xv frame where the client signal fail indication bit is located in the OPUk or/and OPUk-Xv multiframe, and y is a bit number of the client signal fail indication bit in the PSI byte, and wherein, the serial number x starts from 0, a range of the maximum value of x is 2≦x≦255, and 1≦y≦8.
Preferably, the client signal fail indication bits are evenly distributed in the OPUk or/and OPUk-Xv multiframe.
Preferably, the client signal fail indication bits are located in PSI[2+(n−1)×j][1], wherein, [2+(n−1)×j] is a serial number of an OPUk or/and OPUk-Xv frame where the client signal fail indication bit is located in the OPUk or/and OPUk-Xv multiframe, and [1] is the first bit of the client signal fail indication bit in the PSI byte, and wherein, n=1, 2, . . . , 256/j, and j is an interval number between the OPUk or/and OPUk-Xv frames of two adjacent client signal fail indication bits.
Preferably, the selection of j meets a requirement of a protection switch on time delay.
Preferably, the j is a natural number exactly divisible by 256.
An apparatus for indicating client signal fail in an optical transport network comprises:
a setting unit, configured to add client signal fail indication bits in an Optical Channel Payload Unit (OPU)k or/and OPUk-Xv multiframe to indicate whether a client signal is failed.
Preferably, said apparatus also comprises:
a detection unit, configured to detect the client signal fail indication bits of a Payload Structure Identifier (PSI) in the received OPUk or/and OPUk-Xv multiframe;
a determination unit, configured to determine whether the number of continuously detected client signal fail indications exceeds a preset threshold, and if the number of continuously detected client signal fail indications exceeds the preset threshold, trigger the indication unit; and
an indication unit, configured to indicate to perform a link protection switch.
Preferably, the client signal fail indication bits added by the setting unit are located in PSI bytes in the OPUk or/and OPUk-Xv multiframe.
Preferably, the client signal fail indication bits are located in PSI[x][y], wherein, x is a serial number of an OPUk or/and OPUk-Xv frame where the client signal fail indication bit is located in the OPUk or/and OPUk-Xv multiframe, and y is a bit number of the client signal fail indication bit in the PSI byte, and wherein, the serial number x starts from 0, a range of the maximum value of x is 2≦x≦255, and 1≦y≦8.
Preferably, the client signal fail indication bits are evenly distributed in the OPUk or/and OPUk-Xv multiframe.
Preferably, the client signal fail indication bits are located in PSI[2+(n−1)×j][1], wherein, [2+(n−1)×j] is a serial number of an OPUk or/and OPUk-Xv frame where the client signal fail indication bit is located in the OPUk or/and OPUk-Xv multiframe, and [1] is the first bit of the client signal fail indication bit in the PSI byte, and wherein, n=1, 2, . . . , 256/j, and j is an interval number between the OPUk or/and OPUk-Xv frames of two adjacent client signal fail indication bits.
Preferably, the selection of j meets a requirement of a protection switch on time delay.
Preferably, the j is a natural number exactly divisible by 256.
In the present invention, by adding client signal fail indication bits into the OPUk or/and OPUk-Xv multiframe to indicate whether a client signal is failed, when the client signal carried in the OPUk or/and OPUk-Xv multiframe is failed, the destination end can quickly realize the detection for the client signal fail, and the detection time delay is relatively small. Thus, when the destination end confirms that the client signal is failed, it can inform the source end in time to perform a protection switch, so as to make the time delay required by the protection switch achieve a preset requirement. The present invention can avoid the APS failure because of too long CSF time delay; the indication method is simple and the implementation is convenient; a plurality of CSF indications are used in the multiframe, thus the indication is more flexible.
The basic idea of the present invention is: adding client signal fail indication bits into the OPUk or/and OPUk-Xv multiframe to indicate whether a client signal is failed, so that, when the client signal carried in the OPUk or/and OPUk-Xv multiframe is failed, the destination end can quickly realize the detection for the client signal fail, and the detection time delay is relatively small. Thus, when the destination end confirms that the client signal is failed, it can inform the source end in time to perform a protection switch, so as to make the time delay required by the protection switch achieve a preset requirement. The present invention can avoid the APS failure because of too long CSF time delay; the indication method is simple and the implementation is convenient; a plurality of CSF indications are used in the multiframe, thus the indication is more flexible.
To make the purpose, technical solution and advantages of the present invention more clear, the present invention will be further described in detail in combination with the specific embodiments and the accompanying drawings in the following.
The present invention is adding the client signal fail indication bits in the OPUk or/and OPUk-Xv multiframe to reduce the time delay needed for detecting the client signal fail by the destination end. Specifically, the client signal fail indication bits are located in PSI[x][y], wherein, x is the serial number of the OPUk or/and OPUk-Xv frame where the client signal fail indication bit is located in the OPUk or/and OPUk-Xv multiframe, and this serial number starts from 0, y is the bit number of the client signal fail indication bit in the PSI byte, wherein, the range of the maximum value of x is 2≦x≦255, and 1≦y≦8. That is, the client signal fail indication bit can be set in the PSI byte in each OPU frame, and the client signal fail indication bit can be set in any bit in the PSI byte. In the present invention, the case of processing the OPUk multiframe is the same as the method for processing the OPUk-Xv multiframe, and the present invention does not separately provide the method for processing the OPUk-Xv multiframe, and only takes the OPUk multiframe for example to illustrate.
Taking the detection convenience into account, it is desirable that the client signal fail indication bits are evenly distributed in the OPUk multiframe.
The positions of the CSF indication bits might be: PSI [2+(n−1)×j][1] (n=1, 2, . . . , 256/j), wherein, j is the fixed frames interval number between two CSF indication bits, and the interval number is better to be a number exactly divisible by 256; and if the interval number cannot be exactly divisible by 256, 256/j should be selected by round down. The selection of j needs to meet the requirement of the protection switch on time delay, and in order to control the CSF time delay within a certain range, j can be selected as 8, 16, and so on.
When j is respectively selected as 8, 12 and 16, the positions of the CSF indication in the PSI are respectively:
PSI[2+(n−1)×8][1], where, n=1, 2, . . . , 32.
PSI[2+(n−1)×12][1], where, n=1, 2, . . . , 21.
PSI[2+(n−1)×16][1], where, n=1, 2, . . . , 16.
In the present invention, the selection of j must meet the requirement of the protection switch on time delay. As shown in Table 2, it shows the time duration of each frame in the OPUk frame given in the standards ITU-T G.709, and the APS time delay requirement is 50 ms that the entire protection switch requires, so, the time delay of a plurality of detections for finally determining the client signal fail cannot exceed 10 ms (or the operator/client has special requirements).
Taking the OPUO for example, the algorithm is: the time of the number of interval frames multiplying one frame of OPUO is 98.354 μs, therefore, if the interval is 256 frames, the multiframe time duration is 256×98.354 μs≈25 ms; in general, the client signal fail will be confirmed till 3-5 CSFs are detected, so 25 ms×3=75 ms again, which obviously cannot meet the requirement of protection switch.
With the same algorithm method, it can be calculated out that:
if the interval is 8 frames, the delay is 8×98.354 μs×3=2.36 ms; 8×98.354 μs×5=3.93 ms;
if the interval is 12 frames, the delay is 12×98.354 μs×3=3.54 ms; 8×98.354 μs×5=5.90 ms;
if the interval is 16 frames, the delay is 16×98.354 μs×3=4.72 ms; 16×98.354 μs×5=7.868 ms.
The aforementioned time is far less than 50 ms, and adds the time duration needed to notify the switching device to switch, then the total time will not exceed 50 ms, thus it can meet the corresponding switch time delay.
As shown in
It should be illustrated that, the present invention only takes the OPUO multiframe for example to illustrate the CSF indication bits, the technical solution of the present invention is applicable to the case of the client signal fail indication of the OPUk in the same way.
Using such indication method can shorten the time delay for acquiring the client signal fail indication by the destination end. Table 3 shows the client signal fail of the OPUk and the CSF indication time delay when the j is selected as 8. Table 4 shows the client signal fail of the OPUk and the CSF indication time delay when the j is selected as 16. As shown in the Table 3 and Table 4:
Therefore, the destination end detects the client signal fail indication bits of the PSI in the received OPUk multiframe, and when the number of continuously detected client signal fail indications exceeds the preset threshold (such as 3 to 5), indicates to perform a link protection switch. From the time delay value shown in Table 3 and Table 4, it can be seen that, the maximum time delay value needed for detecting 3 to 5 continuous CSF indications is 3×1.57 ms to 5×1.57 ms, significantly less than the 50 ms required by the system switch. Therefore, when determining that the client signal in the OPUk multiframe is failed, it is all right to indicate to perform the link protection switch.
As shown in
Those skilled in the art should understand that the apparatus for indicating the client signal fail in the optical transport network shown in
The above description is only the preferred embodiments of the present invention, and is not intended to limit the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
200910091989.0 | Sep 2009 | CN | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/CN2010/076484 | 8/31/2010 | WO | 00 | 2/29/2012 |