The present disclosure relates to the field of optical communication technologies, and in particular to a method and device for unifying frame rates.
Existing optical channel transport units (Optical channel transport unit, OTU) which are of two service types and defined for a 40G wavelength division line are an OTU3 and an OTU3e2, rates of which are 43.01841356 Gbps and 44.58335558 Gbps, respectively. Two service rates differ greatly. At a receiving end, local crystal oscillators, namely voltage-controlled oscillators (Voltage-Controlled Oscillator, VCO), frequency points of which correspond to those of the OTU3 and the OTU3e2, need to be set, respectively. A wavelength division network needs a sampling clock of an ultrahigh frequency, where the sampling clock needs to have a certain proportional relationship with a service rate at a wavelength division side and is generated by a local crystal oscillator. Because multiple frequency points exist in an existing 40G wavelength division service rate, for example, two frequency points exist in the foregoing OTU3 and OTU3e2, multiple local crystal oscillators of high frequency points are needed to provide multiple high-frequency sampling clock signals, which increases the costs of a 40G wavelength division cable clip solution, layout difficulty, and cooperative processing difficulty of software and hardware.
Embodiments of the present disclosure provide a method and device for unifying frame rates, which may unify frame rates of existing wavelength division services to an almost same frame rate, and eliminate an existing problem of non-uniform frequency points of a receiving end caused by different frame rates, thereby reducing implementation difficulty and the costs.
An embodiment of the present disclosure provides a method for unifying frame rates, where the method includes: increasing rate on at least one of OTU frames that have different frame rates, so that the OTU frames can be processed at a receiving end by using a clock signal of a same frequency point; and after the rate increasing, sending, on a wavelength division line, the OTU frames that have different frame rates.
An embodiment of the present disclosure provides a method for unifying frame rates, where the method includes: providing a clock signal of a single frequency point for different received service data, where at least one type of the service data has undergone rate increasing at a sending end; performing DSP and CDR processing on the service data by using the clock signal of the single frequency point; determining a type of the received service data; decapsulating and deframing the service data that has undergone the rate increasing and has been processed by using the clock signal of the single frequency point; deframing service data that has not undergone the rate increasing and has been processed by using the clock signal of the single frequency point; and choosing, according to the determined type of the service data, to output the data that has been decapsulated and deframed or the data that has been deframed.
An embodiment of the present disclosure provides a sending device, including:
an encapsulating module, configured to increase rate on at least one of OTU frames that have different frame rates, so that the OTU frames can be processed at a receiving end by using a clock signal of a same frequency point; and a sending module, configured to: after the rate increasing, send, on a wavelength division line, the OTU frames that have different frame rates.
An embodiment of the present disclosure provides a receiving device, including:
a local crystal oscillator, configured to provide a clock signal of a single frequency point for different received service data, where at least one type of the service data has undergone rate increasing at a sending end, the service data obtained after rate increasing processing is an OTU frame obtained in a self-framing manner, and a structure of the OTU frame obtained after the rate increasing is different from that of an OTU frame before the rate increasing; a processor, configured to perform DSP and CDR processing on the service data by using the clock signal of the single frequency point; a determining module, configured to determine a type of the received service data according to a frame format by using hardware; a decapsulating and deframing module, configured to decapsulate and deframe the service data that has undergone the rate increasing and has been processed by using the clock signal of the single frequency point; a deframing module, configured to deframe service data that has not undergone the rate increasing and has been processed by using the clock signal of the single frequency point; and a choosing module, configured to choose, according to the type of the service data determined by the determining module, to output the data that has been decapsulated and deframed or the data that has been deframed.
It may be known from the foregoing solutions that, according to the embodiments of the present disclosure, the rate is increased on at least one of the OTU frames that have different frame rates, so that the receiving end can process the received OTU frames by using the clock signal of the same frequency point, which may implement frequency point normalization at the receiving end. Therefore, only one local crystal oscillator needs to be setset at the receiving end, which avoids a problem caused by separately settingsetting multiple local crystal oscillators in the prior art, reduces the costs of a wavelength division cable clip, and reduces layout difficulty.
To describe the solutions in the embodiments of the present disclosure more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments. Apparently, the accompanying drawings in the following description show some embodiments of the present disclosure, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
To make the objectives, solutions, and advantages of the present disclosure more comprehensible, the following clearly and completely describes the solutions in the embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are merely a part rather than all of the embodiments of the present disclosure. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without making creative efforts shall fall within the protection scope of the present disclosure.
In optical network communication, a client at one end may send data to a client at the other end through an optical fiber. In the optical network communication, there may be a customer side and a wavelength division side. The customer side includes a device configured to generate customer data, such as a terminal device. The wavelength division side includes a device which encapsulates the customer data into an OTN frame, and a device and an optical fiber for transmitting the OTN frame. Therefore, two customer sides may implement the optical network communication through the wavelength division side between them.
Step 11: A sending end performs rate increasing on at least one of OTU frames that have different frame rates, so that the OTU frames can be processed at a receiving end by using a clock signal of a same frequency point.
For example, frames to be sent by the sending end are an OTU3 frame and an OTU3e2 frame. Because frame rates of these two frames differ greatly, two VCOs needs to be setset at a receiving end in the prior art.
However, in this embodiment, rate increasing may be performed on the OTU3 frame at the sending end, so that a frame rate of the OTU3 frame obtained after the rate increasing is almost the same as a frame rate of the OTU3e2. In this way, a VCO may be setset at the receiving end to perform processing on the OTU3 frame obtained after the rate increasing and the OTU3e2 frame.
For example, a frame obtained after the rate increasing is performed on the OTU3 frame may be referred to as an OTU3 stuff frame, where a frame rate of the OTU3 stuff frame is 57/55 times of a frame rate of the OTU3 frame.
The frame rate of the OTU3 frame is 43.01841356 Gbps, and has a great difference with the frame rate of the OTU3e2 frame, 44.58335558 Gbps. However, the frame rate of the OTU3 stuff frame is 57/55 times of the frame rate of the OTU3 frame, so that the frame rate of the OTU3 stuff frame, 44.58271951 Gbps, is close to and almost the same as the frame rate of the OTU3e2 frame. Therefore, a same local crystal oscillator may be used at the receiving end to provide the clock signal for the OTU3 stuff frame and the OTU3e2 frame, and thereby the rates are unified and frequency points are normalized.
The OTU3 stuff frame is a self-framing frame. The self-framing frame refers to a frame that has a determined format, for example, that has a determined length and each component part of the frame has a determined length and position. Further, a format of the OTU3 stuff frame may be different from a structure of the OTU3 frame. However, according to an existing protocol, a format of the OTU3 frame is the same as that of the OTU3e2 frame, therefore, it may be directly determined, at the receiving end and according to a frame format, whether a received frame is the OTU3 stuff frame or the OTU3e2 frame.
Further, during encapsulation, a stuff bit may be inserted between OTU3 service data to reduce a jittering problem. For example, referring to
Step 12: After the rate increasing is performed, the sending end sends, on a wavelength division line, the OTU frames that have different frame rates.
For example, referring to
It may be understood that, the embodiment of the present disclosure is not limited to the OTU3 frame and the OTU3e2 frame, and may also be applied to an OTN frame at another rate level, so that different types of OTU frames at a same rate level have an almost same rate.
According to the embodiment of the present disclosure, the OTU3 frame is encapsulated into the OTU3 stuff frame, and the frame rate of the OTU3 stuff frame is 57/55 times of the frame rate of the OTU3 frame, so that the frame rate of the OTU3 stuff frame is almost the same as the frame rate of the OTU3e2 frame, which makes frame rates of 40G wavelength division services be unified, and therefore the same local crystal oscillator at the receiving end may be used to increase the clock signal for received 40G wavelength division service frames, avoiding a problem caused by using local crystal oscillators of two frequency points in the prior art, reducing the costs of a 40G wavelength division cable clip and reducing layout difficulty.
Step 41: A receiving end provides a clock signal of a single frequency point for different received service data, where at least one type of the service data has undergone rate increasing at a sending end.
For example, the received service data is an OTU3 stuff frame and an OTU3e2 frame, where the OTU3 stuff frame is an OTU frame obtained after rate increasing is performed on an OTU3 frame, and a frame rate of the OTU3 stuff frame is 57/55 times of a frame rate of the OTU3 frame.
Step 42: The receiving end performs digital signal processing (Digital Signal Processing, DSP) and clock data recovery (Clock Data Recovery, CDR) processing on the service data by using the clock signal of the single frequency point.
At the sending end, after the OTU3 frame is encapsulated into the OTU3 stuff frame, the frame rate of the OTU3 stuff frame is almost the same as that of the OTU3e2 frame, and therefore the clock signal of the single frequency point may be used at the receiving end. The clock signal of the single frequency point may be a clock signal for processing the OTU3e2 frame.
Referring to
However, in the prior art, two local crystal oscillators exist at the receiving end, and correspond to an OTU3 service and an OTU3e2 service, respectively. A choosing module further exists between the local crystal oscillators and the DSP and CDR processing apparatus, and is configured to: according to a service type determined by software, choose one from clock signals provided by the two local crystal oscillators and then provide the chosen clock signal for the DSP and CDR processing apparatus.
Step 43: The receiving end determines a type of the received service data.
Because a frame transmitted on a 40G wavelength division line may be an
OTU3 stuff frame or an OTU3e2 frame. Referring to
The determining process may be implemented independently by hardware, and does not need VCO interface configuration, and therefore does not need participation of software. Service detection and type determination processing are rapidly completed, which greatly reduces service activation time and eliminates hardware and software coupling design in an existing solution. However, in the prior art, a manner of an attempt to switch a rate by software polling is used to obtain a real service rate, where service stabilization time is long, service recovery performance is often affected and excess of time for switching is caused, board software is needed to participate in the configuration of service rate switching, a strong coupling relationship exists between hardware design and software design, and difficulty in system design is great.
Step 44: The receiving end decapsulates and deframes the service data that has undergone the rate increasing and has been processed by using the clock signal of the single frequency point.
For example, when the received service data is an OTU3 stuff frame, the OTU3 stuff frame that has undergone DSP and CDR processing is decapsulated and deframed to obtain an OTU3 frame. A payload part of the OTU3 stuff frame as shown in
Step 45: The receiving end deframes service data that has not undergone the rate increasing and has been processed by using the clock signal of the single frequency point.
For example, when the received service data is an OTU3e2, the receiving end may also obtain an OTU3e2 frame by deframing the OTU3e2 frame that has undergone the DSP and CDR processing.
Step 46: The receiving end chooses, according to the determined type of the service data, to output the data that has been decapsulated and deframed or the data that has been deframed.
For example, after it is determined that the service type is the OTU3 stuff frame, choose to output the OTU3 frame that has undergone the decapsulation and deframing processing. After it is determined that the service type is the OTU3e2 frame, choose to output the OTU3e2 frame that has undergone the deframing processing.
Further, after the type of the service data is determined, subsequent processing may be performed, which, for example, may also include:
The receiving end performs, according to the determined type of the service data, subsequent processing on the data that is chosen to be output.
For example, the receiving end performs subsequent processing on the OTU3 frame or the OTU3e2 frame according to the determined service type.
Similar to the prior art, in the prior art, after the deframing processing on the OTU3 frame and the OTU3e2 frame is completed, subsequent processing may be performed on the determined service type. Specific content of the subsequent processing, such as obtaining a communication overhead and collecting statistics about a bit error, may be the same as the processing performed after the type of an OTU frame is determined in the prior art.
According to the embodiment of the present disclosure, the OTU3 frame is encapsulated into the OTU3 stuff frame, and the frame rate of the OTU3 stuff frame is 57/55 times of the frame rate of the OTU3 frame, so that the frame rate of the OTU3 stuff frame is almost the same as the frame rate of the OTU3e2 frame, which makes frame rates of 40G wavelength division services be unified, and therefore the same local crystal oscillator at the receiving end may be used to increase the clock signal for received 40G wavelength division service frames, avoiding a problem caused by using local crystal oscillators of two frequency points in the prior art, reducing the costs of a 40G wavelength division cable clip and reducing layout difficulty and cooperative processing difficulty of software and hardware.
Optionally, the OTU frames that have different frame rates are an OTU3 frame and an OTU3e2 frame, and the encapsulating module is configured to perform rate increasing on the OTU3 frame, so that the OTU3 frame obtained after the rate increasing can be processed at the receiving end by using a clock signal which processes the OTU3e2 frame.
Optionally, the encapsulating module is configured to encapsulate the OTU3 frame into an OTU3 stuff frame, where a frame rate of the OTU3 stuff frame is 57/55 times of a frame rate of the OTU3 frame.
Optionally, the encapsulating module is configured to fill a part between a first bit part and a second bit part of the OTU3 frame with stuff bits, where the number of bits in the first bit part is 28*64, the number of bits in the second bit part is 27*64, and the number of bits of the stuff bits is 64.
Optionally, the OTU3 stuff frame obtained by the encapsulating module is a self-framing frame, and a structure of the OTU3 stuff frame is different from a structure of the OTU3 frame.
Optionally, the encapsulating module is configured to perform rate increasing on all the OTU frames that have different frame rates, so that the OTU frames can be processed at the receiving end by using the clock signal of the same frequency point.
According to the embodiment of the present disclosure, the OTU3 frame is encapsulated into the OTU3 stuff frame, and the frame rate of the OTU3 stuff frame is 57/55 times of the frame rate of the OTU3 frame, so that the frame rate of the OTU3 stuff frame is almost the same as a frame rate of the OTU3e2 frame, which makes frame rates of 40G wavelength division services be unified, and therefore a same local crystal oscillator at the receiving end may be used to increase the clock signal for received 40G wavelength division service frames, avoiding a problem caused by using local crystal oscillators of two frequency points in the prior art, reducing the costs of a 40G wavelength division cable clip and reducing layout difficulty.
A frequency point of the local crystal oscillator is the same as a frequency point of a clock signal that performs processing on an OTU3e2 frame.
According to the embodiment of the present disclosure, an OTU3 frame is encapsulated into an OTU3 stuff frame, and a frame rate of the OTU3 stuff frame is 57/55 times of a frame rate of the OTU3 frame, so that the frame rate of the OTU3 stuff frame is almost the same as a frame rate of the OTU3e2 frame, which makes frame rates of 40G wavelength division services be unified, and therefore a same local crystal oscillator at a receiving end may be used to increase the clock signal for received 40G wavelength division service frames, avoiding a problem caused by using local crystal oscillators of two frequency points in the prior art, reducing the costs of a 40G wavelength division cable clip and reducing layout difficulty and cooperative processing difficulty of software and hardware.
According to the embodiment of the present disclosure, extraction processing is performed on at least one of OTU frames that have different frame rates, so that a receiving end can process received OTU frames by using a clock signal of a same frequency point, which may implement frequency point normalization at the receiving end, and therefore only one local crystal oscillator needs to be set at the receiving end, thereby avoiding a problem caused by separately setting multiple local crystal oscillators in the prior art, reducing the costs of a wavelength division cable clip and reducing layout difficulty and cooperative processing difficulty of software and hardware.
A person of ordinary skill in the art may understand that, all or part of the steps of the foregoing method embodiments may be implemented by a program instructing relevant hardware. The program may be stored in a computer readable storage medium. When the program is executed, the steps of the foregoing method embodiments are performed. The storage medium may be any medium that is capable of storing program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
Finally, it should be noted that, the foregoing embodiments are merely intended for describing the solutions of the present disclosure other than limiting the present disclosure. Although the present disclosure is described in detail with reference to the foregoing embodiments, persons of ordinary skill in the art should understood that they may still make modifications to the solutions described in the foregoing embodiments, or make equivalent substitutions to part of the features; however, these modifications and substitutions do not make corresponding solutions depart from the scope of the solutions of the embodiments of the present disclosure.
This application is a continuation of International Application No. PCT/CN2012/074662, filed on Apr. 25, 2012, which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2012/074662 | Apr 2012 | US |
Child | 13904726 | US |