The present invention relates to the field of communication transport network technology, and in particular, to a method and device for cross protection.
The optical transport hierarchy (OTH) technology is a new generation of standardized digital transport hierarchy structure after the synchronous digital hierarchy (SDH)/synchronous optical network (SONET). The optical transport network (OTN) based on the OTH satisfies the development requirement of the data bandwidth, and is a kind of transparent transport technology formed by the development aiming at the scheduling requirement of high capacity and coarse particles in the backbone network layer. The appearance of the OTN makes the intelligent optical network come true step by step.
The OTN is respectively scheduled based on the optical data unit (ODUk), and the cross scheduling unit processes respectively to complete the connection scheduling function of the ODUk (k=1, 2, 3). In the related art, the cross scheduling function of the ODUk (k=1, 2, 3) levels can be implemented through various schemes.
The Chinese patent application with the application number 200410103304.7 provides a uniform scheduling system and method for synchronizing the optical network and the optical transport network, of which the specific implementation way is: asynchronously mapping the OTN signal to the synchronous transfer mode-17 (STM-17) bus which is provided with the frame synchronous byte and the error code monitoring byte, mapping the SDH signal to the same STM-17 bus, and then connecting the STM-17 bus to the cross connection unit with the uniform frame header indication signal for the uniform scheduling; and mapping the OTN signal into several virtual container 4 (VC4) particles, implementing the cross scheduling of the ODUk (k=1, 2, 3) levels through the combination cross scheduling of the several VC4 particles. That patent implements the cross scheduling of the ODUk (k=1, 2, 3) levels, however the mapping processing is complex and the minimum particle of the cross scheduling particles is ODU1, which certainly wastes a large number of resources and is inconvenient to use.
On that basis, the main objective of the present invention is to provide a method and device for cross protection, to solve the problems, such as the complex mapping processing, waste of resources and inconvenient use, of the current cross scheduling of ODUk (k=1, 2, 3) levels.
In order to achieve the above objective, the technical scheme of the present invention is implemented as follows:
The present invention provides an device for cross protection, comprising a service unit source end, a service unit destination end and a combination cross unit consisting of m+n cross units, wherein,
the service unit source end is configured to map optical data unit (ODUk) signals into same time slots of n line similar optical transport network (OTN) frame format (OTUxG) data buses, protectively code the n line OTUxG data, obtain m+n line OTUxG data and send to the combination cross unit;
the combination cross unit is configured to split and recombine the m+n line OTUxG data in the time slot and then send to the service unit destination end; and
the service unit destination end is configured to protectively decode the received m+n line OTUxG data, recover the n line OTUxG data, and extract corresponding ODUk signals from the same time slots of the n line OTUxG data.
The service unit source end comprises:
an ODUk−n line OTUxG mapping sub-unit, configured to map the ODUk signals into the same time slots of the n line OTUxG data buses;
an OTUxG protective coding sub-unit, configured to protectively code the n line OTUxG data and obtain m+n line OTUxG data;
a first overhead inserting sub-unit, configured to insert OTN overhead and time slot overhead to the m+n line OTUxG data before sending the m+n line OTUxG data obtained by protective coding to the combination cross unit.
The combination cross unit comprises:
a first overhead extracting sub-unit, configured to extract the overhead from the received m+n line OTUxG data;
a first frame header aligning sub-unit, configured to align frame headers of the m+n line OTUxG data from which the overhead has been extracted according to a frame header aligning clock;
a splitting and recombining sub-unit, configured to split and recombine the m+n line OTUxG data from which the overhead has been extracted in the time slot;
a second overhead inserting sub-unit, configured to regenerate and insert the overhead to the m+n line OTUxG data after being split and recombined in the time slot and send to the service unit destination end.
The service unit destination end comprises:
a second overhead extracting sub-unit, configured to extract the OTN overhead and the time slot overhead from the received m+n line OTUxG data;
a second frame header aligning sub-unit, configured to align the frame headers of the m+n line OTUxG data from which the overhead has been extracted according to a frame header aligning clock;
an OTUxG protective decoding sub-unit, configured to protectively decode the m+n line OTUxG data after aligning the frame headers and recover n line OTUxG data;
an n line OTUxG-ODUk mapping sub-unit, configured to extract corresponding ODUk signals from the same time slots of the n line OTUxG data.
The device further comprises a clock unit, configured to uniformly provide a uniform system clock and the frame header aligning clock for the service unit source end, the service unit destination end and the combination cross unit.
The present invention further provides a method for cross protection, comprising:
a service unit source end mapping optical data unit (ODUk) signals into same time slots of n line similar optical transport network (OTN) frame format (OTUxG) data buses, protectively coding the n line OTUxG data, obtaining m+n line OTUxG data and sending to a combination cross unit consisting of m+n cross units;
the combination cross unit splitting and recombining the m+n line OTUxG data in the time slot and then sending to a service unit destination end;
the service unit destination end protectively decoding the received m+n OTUxG data, recovering the n line OTUxG data, and extracting corresponding ODUk signals from the same time slots of the n line OTUxG data.
Before the service unit source end sends the m+n line OTUxG data obtained by protective coding to the combination cross unit, the method further comprises: the service unit source end inserting OTN overhead and time slot overhead to the m+n OTUxG data;
correspondingly, before the combination cross unit splits and recombines the m+n line OTUxG data in the time slot, the method further comprises: the combination cross unit extracting the overhead from the m+n line OTUxG data; and aligning frame headers of the OTUxG data using a frame header aligning clock generated by a clock unit after the overhead is extracted.
After the combination cross unit splits and recombines the m+n OTUxG data in the time slot, the method further comprises: the combination cross unit regenerating and inserting the overhead to the OTUxG data and sending to the service unit destination end;
correspondingly, after the service unit destination end receives the m+n OTUxG data, the method further comprises: the service unit destination end extracting the OTN overhead and the time slot overhead from the m+n OTUxG data.
After the service unit destination end extracts the OTN overhead and before extracts the time slot overhead, the method further comprises: the service unit destination end aligning frame headers of the OTUxG data using the frame header aligning clock generated by the clock unit.
The service unit source end, the service unit destination end and the combination cross unit work under an uniform system clock provided by the clock unit.
The method and device for cross protection provided by the present invention performs the centralized cross protection of ODUk (k=0, 1, 2, 3) levels by using OTUxG. For m+n OTUxG buses, when any, no bigger than m, OTUxG buses fails, the service unit can recover the normal ODUk (k=0, 1, 2, 3) signals by using the data of the remanent n OTUxG buses. The present invention improves the data processing efficiency, saves the resources, and also makes the use more flexible and convenient.
The technical scheme of the present invention is further described in detail with reference to the accompanying drawings and in combination with embodiments hereinafter.
In order to solve the problems, such as waste of recourses and inconvenient protection, of the current cross way of ODUk (k=1, 2, 3) levels, the present invention provides to perform the centralization cross scheduling of ODUk (k=1, 2, 3) levels by frame format similar to OTN (OTUxG). The frame structure of the OTUxG is shown in
L−16=3·T·N, H−L=T·A,
wherein, L<4080, and N is any integer; H<4080, and A is any positive integer; “·” represents multiplying.
An device for cross protection provided by the present invention, as shown in
The service unit, when acting as the service unit source end, is configured to map ODUk signals into same time slots of n line OTUxG data buses, wherein, that operation is implemented by ODUK−n line OTUxG mapping sub-unit; and protectively code the n line OTUxG data, wherein, that operation is implemented by the OTUxG protective coding sub-unit, obtain m+n line OTUxG data and send to the combination cross unit.
The combination cross unit is configured to split and recombine the m+n line OTUxG data in the time slot and then send to the service unit destination end.
The service unit, when acting as the service unit destination end, is configured to protectively decode the received m+n line OTUxG data, wherein, that operation is implemented by the OTUxG protective decoding sub-unit, recover the n line OTUxG data; and extract corresponding ODUk signals from the same time slots of the n line OTUxG data, wherein, that operation is implemented by the n line OTUxG-ODUk mapping sub-unit.
The clock unit is configured to provide a uniform system clock and the frame header aligning clock for the service unit source end, the service unit destination end and the combination cross unit.
A preferable device for cross protection according to an embodiment of the present invention, as shown in
Wherein, the service unit source end 10 specifically includes: an ODUk−n line OTUxG mapping sub-unit 11, an OTUxG protective coding sub-unit 12 and a first overhead inserting sub-unit 13. The ODUk−n line OTUxG mapping sub-unit 11 is configured to map the ODUk signals into the same time slots of n line OTUxG data buses. The OTUxG protective coding sub-unit 12 is configured to protectively code the n line OTUxG data and obtain m+n line OTUxG data. The first overhead inserting sub-unit 13 is configured to insert OTN overhead and time slot overhead to the m+n line OTUxG data obtained by protective coding, and then send m+n line OTUxG data into which the overhead has been inserted to the combination cross unit 20.
The combination cross unit 20 specifically includes: a first overhead extracting sub-unit 21, a first frame header aligning sub-unit 22, a splitting and recombining sub-unit 23 and a second overhead inserting sub-unit 24. The first overhead extracting sub-unit configured to extract the overhead from the received m+n line OTUxG data. The first frame header aligning sub-unit 22 is configured to align the frame headers of the m+n OTUxG data after extracting the overhead according to the frame header aligning clock. The splitting and recombining sub-unit 23 is configured to split and recombine the m+n line OTUxG data after aligning the frame headers in the time slot. The second overhead inserting sub-unit 24 is configured to regenerate and insert the overhead to the m+n line OTUxG data after splitting and recombining in the time slot and send to the service unit destination end 30.
The service unit destination end 30 specifically includes: a second overhead extracting sub-unit 31, a second frame header aligning sub-unit 32, an OTUxG protective decoding sub-unit 33 and an n line OTUxG-ODUk mapping sub-unit 34. The second overhead extracting sub-unit 31 is configured to extract the OTN overhead and the time slot overhead from the received m+n line OTUxG data. The second frame header aligning sub-unit 32 is configured to align the frame headers of the m+n line OTUxG data from which the overhead has been extracted according to the frame header aligning clock. The OTUxG protective decoding sub-unit 33 is configured to protectively decode the m+n line OTUxG data after the frame headers of which have been aligned and recover n line OTUxG data. The n line OTUxG-ODUk mapping sub-unit 34 is configured to extract the corresponding ODUk signals from the same time slots of the recovered n line OTUxG data.
The clock unit 40 is configured to provide a uniform system clock and the frame header aligning clock for the service unit source end 10, the service unit destination end 30 and the combination cross unit 20.
A method for cross protection implemented by the above device for cross protection, as shown in
Step 401, the service unit source end maps the ODUk (k=−1, 2, 3) signals to be sent to the cross unit into several the same time slots of n line OTUxG data buses.
The service unit source end encapsulates each line of received client signal into the ODUK (k=1, 2, 3) signal. The client signal can be a gigabit Ethernet (GE) signal, a fibre channel (FC) signal, an SDH signal, etc. and when the client signal is GE or FC, it requires to be mapped to a generic framing procedure transparent (GFP-T) code stream, and then is encapsulated into the ODUK (k=1, 2, 3) signal.
The OTUxG signal of the below backplane is authigenic in the service unit and works under the system clock, and the frame headers are aligned. When n=4, that is, there are 4 OTUxG buses, one OTUxG bus can act as a row in the OTUxG frame structure; as shown in
Step 402, the service unit source end protectively codes the n line OTUxG data, obtains m+n line OTUxG data and sends to the combination cross unit consisting of m+n cross units.
Step 403, the combination cross unit splits and recombines the m+n line OTUxG data in the time slot and then sends to the service unit destination end.
Step 404, the service unit destination end protectively decodes the received m+n line OTUxG data, recovers the n line OTUxG data, and extracts the corresponding ODUk signal from the same time slots of the n line OTUxG data.
It should be pointed out that considering the requirement of flexible protection the adjusting data are added when establishing the OTUxG. When protectively coding and decoding the m:n, not only the payload data participate in, but also the adjusting data participate in. The specific length of the adjusting data is related to the used protective coding and decoding algorithm, and its length can be 0. For example, when implementing the 1+1 backup protection or implementing the 1:n protection through XOR of each bus data, the adjusting data are not required; while implementing m:n (m>1, and m<n) protection by using the redundant array of independent disk (RAID 6) algorithm, it is required that the data to participate in coding and decoding and the time slot number T of the data have a certain relationship, and now the adjusting data are absolutely necessary.
The OTN customized overhead do not participate in the time slot cross and the protective coding and decoding; the adjusting data part participates in the time slot cross and the protective coding and decoding, therefore, the time slot overhead without the requirement of processing sequence can be placed in the adjusting data part; the time slot overhead participates in the time slot cross, while not participates in the protective coding and decoding. The time slot overhead and the payload data cross together, however, the overhead required to be processed before the protective coding should be placed in the time slot overhead.
Furthermore, the method of adding the proper adjusting data to assist completing the protective coding and decoding in the present invention may be also applied to the transforming of other frame structures to implement m:n protection, wherein, the values of m and n are integers larger than 1, and m<n.
The above method for cross protection is further described in detail taking the SDH signal as an example hereafter. The specific process of the cross protection is shown as
Step 1, the service unit source end encapsulates the received SDH signal into ODUk (k=0, 1, 2, 3) signal.
Step 2, the service unit source end splits each ODUk (k=0, 1, 2, 3) signal generated in step 1, and distributes to several same time slots of n line OTUxG signals.
Step 3, the service unit source end protectively codes the n line OTUxG data in step 2, and obtains m+n line OTUxG data.
It should be pointed out that both the payload data and the adjusting data are required to participate in the protective coding and decoding.
Step 4, the service unit source end inserts the OTN overhead and the time slot overhead to the m+n line OTUxG data generated in step 3, and then sends to the combination cross unit.
Wherein, the OTN overhead includes but not limited to a ready indication signal of the service unit, a ready indication signal of the cross unit, an alarm for signal loss/signal deterioration of the client signal, an alarm for signal loss/signal deterioration of the client signal sub layer, and a protective switching byte of the ODUk. The time slot overhead includes but not limited to the marking signal of each time slot.
Step 5, the combination cross unit extracts the overhead from the OTUxG data from the service unit source end.
Step 6, the combination cross unit aligns the frame headers of the OTUxG data after extracting the overhead using the uniform frame header aligning clock.
Step 7, the combination cross unit splits and recombines the OTUxG data after the frame headers of which have been aligned in the time slot, and implements the redistribution of the ODUk particles to each service unit destination end.
It should be pointed out that the time slot overhead are required to be split and recombined in the time slot together with the payload data and the adjusting data.
Step 8, the combination cross unit regenerates and then inserts or transparently transmits the OTN overhead for the OTUxG data having been split and recombined in the time slot, and then sends to the service unit destination end.
Step 9, the service unit destination end extracts the OTN overhead and the OTN customized overhead from the m+n line OTUxG signals from the combination cross unit.
Step 10, the service unit destination end aligns the frame headers of the m+n line OTUxG data from step 9 using the uniform frame header aligning clock.
Step 11, the service unit destination end extracts the overhead from the m+n line OTUxG data after aligning the frame headers in the time slot.
Step 12, according to the overhead processing results in step 9 and step 11, the service unit destination end determines the corresponding protective decoding policy, decodes the m+n line OTUxG data from which the overhead has been extracted, and recovers the n line OTUxG data.
It should be pointed out that the adjusting data is required to participate in the decoding together with the payload data.
Step 13, the service unit destination end extracts the corresponding ODUk (k=0, 1, 2, 3) signals from the several same time slots of the recovered n line OTUxG data.
It should be pointed out that now the adjusting data are not taken as part of the extracted data.
Step 14, the service unit destination end decapsulates the extracted ODUk (k=0, 1, 2, 3) signals, obtains the SDH signals and sends out.
The using of the adjusting data is further described in detail taking the 2:n (n=2, 3, 4, 5) protection as an example hereafter.
Using the RAID 6 algorithm, the principle of 2:n (n=2, 3, 4, 5) protection algorithm is as follows: the total number of data Dij (0<i<4, i<j<5) and Ps (0<s<5) is 21, wherein, 15 Dij are data, 6 Ps are the check codes of Dij, and the following equations exist:
P0=D01̂D02̂D03̂D04̂D05;
P1=D01̂D12̂D13̂D14̂D15;
P2=D02̂D12̂D23̂D24̂D25;
P3=D03̂D13̂D23̂D34̂D35;
P4=D04̂D14̂D24̂D34̂D45;
P5=D05̂D15̂D25̂D35̂D45.
Wherein, “̂” represents a logic XOR, the 21 data are divided into 7 groups of data, each up having 3 data, as shown in the following table:
In the above table, each column corresponds to a group of data respectively, and if any two columns of data in the 7 columns of data are lost, the lost two columns of data can be recovered through the remanent 5 columns of data. Since it is the 2:n (n=2, 3, 4, 5) protection and the value of n may be smaller than 5, now a virtual bus can be made and all the values of the virtual bus are made 0, in this way, 2:3 protection and 2:4 protection can be integrated to 2:5 protection.
For specific use, it can be operated as follows: each time slot particle on each OTUxG bus is named as OTUxGij, wherein, 1<i<T, representing the time slot i; 1<j<3, representing the time slot occurs for j times. The 3 continuous data whose i values are the same and j values vary from 1 to 3 are as 1 group, then n (n=2, 3, 4, 5) buses precisely have 3n data OTUxGij. The 3n particles are used as a group of Dij, and 6 redundant Ps (0<s<5) are added as 6 new Dij, and the 3n+6 ODUij particles are distributed into n+2 high speed buses according to a rule, and thus the n service buses are extended to n+2 service buses, thus implementing 2:n protection. For example, when n=5 and T=4, 3n=15 and 3n+6=21, and the corresponding bus data distribution is as shown in
It can be known from the above process that a certain relationship, L=3·T·Z, is required to exist between the length L of the data and the time slot number T participating in the coding and decoding in each row of the frame data, when using the above coding and decoding algorithm, wherein, Z is any positive integer, and “·” represents multiplying.
However the length of the OTUxG payload data part does not satisfy that relationship with the time slot number, therefore, now a part of redundant data is required to be added to participate in the protective coding and decoding, which is the function of the adjusting data. At the same time, since each time slot datum goes through the protective coding when the scheduling is performed in the cross board, the adjusting data are required to participate in the cross scheduling together with the data in the cross board.
in summary, the present invention performs the centralized cross protection of ODUk (k=0, 1, 2, 3) levels by using OTUxG. For m+n OTUxG buses, when any, no bigger than m, OTUxG buses fails, the service unit can recover the normal ODUk (k=0, 1, 2, 3) signal by using the remanent n OTUxG bus data. The present invention improves the data processing efficiency, saves the resources, and also makes the use more flexible and convenient.
The above description is only the preferable embodiments of the present invention and is no intended to limit protection scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
200910090340.7 | Aug 2009 | CN | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/CN09/75115 | 11/24/2009 | WO | 00 | 2/1/2012 |