The invention is based on a priority application EP07290521.9 which is hereby incorporated by reference.
The present invention generally relates to a method for decoding an information word from a coded word. More specifically, the present invention concerns a device using the method and to a network element for telecommunications networks including the device.
In the field of telecommunications networks, coding and decoding of information to be first transmitted and after received is known. A lot of research was carried out in the past on coding and decoding algorithms and methods aimed at detecting and/or correcting errors. In different environments, different coding and decoding algorithms and methods are useful or necessary.
As it is known, GFP [Generic Framing Procedure] provides a generic mechanism to adapt traffic from higher-layer client signals over a transport network. Client signals may be PDU-oriented (such as IP/PPP or Ethernet MAC) or block-code oriented constant bit rate stream (such as Fibre Channel or ESCON/SBCON).
GFP was defined by the International Telecommunication Union (ITU) in ITU-T G.7041/Y.1303 (08/2005). This recommendation defines a generic framing procedure to encapsulate variable length payload of various client signals for subsequent transport over SDH, PDH or OTN networks and includes:
The framing procedure described in this recommendation can be applied to both the encapsulation of entire client frames (frame mapped GFP), in which a single client frame is mapped into a single GFP frame, and to character mapped transport (transparent GFP) in which a number of client data characters are mapped into efficient block codes for transport within a GFP frame.
The format for GFP frames is shown in enclosed
The Core header consists of four bytes corresponding to a 16-bit Payload length indicator [PLI] field and a 16-bit core Header Error Check [cHEC] field. The Core header allows GFP frame delineation independent on the content of the higher layer PDUs.
The two-bytes PLI field includes a binary number representing the number of bytes in the Payload area. The absolute minimum value of the PLI field in a GFP client frame is 4 bytes. PLI values 0-3 are reserved for GFP control frame usage.
The two-bytes core Header Error Control field includes a CRC-16 error control code that protects the integrity of the contents of the Core header by enabling both single-bit error correction and multi-bit error detection. The value of the core Header Error Check field is calculated taking into account the bytes of the Core header as defined in the above mentioned standard. Additionally, the Core header is scrambled as defined in the above mentioned standard.
The Payload area, which consists of the bytes in the GFP frame after the Core header, is used to carry higher layer specific protocol information. This variable length area may include from 4 to 65535 bytes.
The payload header for a frame with a Null Extension Header applies to a logical point-to-point configuration. It is intended for scenarios where the transport path is dedicated to one client signal. At the reception side the GFP sink adaptation process shall perform single-bit error correction on the Type field, which is protected by the type Header Error Check field. The GFP sink adaptation process shall discard any of those GFP frames where multi-bit errors are detected.
The Payload Information field includes the framed PDU for frame mapped GFP or, in the case of transparent GFP, a group of client signal characters. This variable length field may include from 0 to 65535-X bytes, where X is the size of the Payload Header. This field may include an optional Payload FCS field. The client PDU/signal is mapped into the Payload information field as an byte-aligned packet stream.
The Payload FCS is an optional, four-byte long, Frame Check Sequence. It includes a CRC-32 sequence that protects the contents of the Payload information field. The Payload FCS is generated as defined in the above mentioned standard.
According to the above mentioned standard, scrambling of the Payload area is required and is carried out according to a defined scrambling method.
Two types of GFP client frames are currently defined: Client Data frames and Client Management frames. Client Data frames are used to transport data from the client signal. Client Management frames are used to transport information associated with the management of the client signal or GFP connection. Both Client Data frames and Client Management frames are GFP client frames consisting of a Core header and a Payload Area. The content of the Type field is defined by the above mentioned standard.
GFP control frames are used in the management of the GFP connection. The only control frame specified at this time is the GFP Idle frame. The GFP Idle frame is a special four-byte GFP control frame consisting of only a Core header with the PLI and core Header Error Check fields set to 0 and no Payload Area. The Idle frame is intended e.g. for use as a filler frame for the GFP source adaptation process to facilitate the adaptation of the GFP byte stream to any given transport medium where the transport medium channel has a higher capacity than required by the client signal. Control frames with PLI=1, 2 or 3 are for further and future study.
GFP frame delineation is performed based on the correlation between the first two bytes of the GFP frame, i.e. the PLI field of the Core header, and the two-byte core Header Error Check field. The above mentioned standard specifies the frame delineation method and a state diagram (see
Basically three states are defined:
Typical transitions are:
If multiple bit errors are detected in the Core header when in the SYNC state, a state transition from the SYNC state to the HUNT state occurs.
As already said, GFP specifies also the encapsulation aspect, in particular the adaptation of client signals using a frame-by-frame mapping of different client signals, including Digital Video Broadcasting [DVB] standard. The data in the DVB standard is transmitted in Transport Stream [TS] packets; the format of the TS packets is defined by ETSI [European Telecommunication Standard Institute] as either 188 bytes or 204 bytes, the latter being referred to as Reed-Solomon [RS] coded TS packets. There is a one-to-one mapping between a TS packet (either RS coded or not) and a GFP PDU.
When data packets are mapped into GFP frames and are transmitted over a noisy medium, e.g. a radio link, the GFP mechanism reveals not to be very robust, in particular it is not robust enough against bursts of errors. In fact, the Core header of the GFP frame is coded (according to the above mentioned standard) in such a way as to enable the correction of a single-bit error in the Core header and, when more than a single-bit error occurs in the Core header of the GFP frame, the frame delineation state machine goes unlocked and a number of GFP frames (and therefore client data) are lost.
A similar problem may arise in other situations (e.g. information transport protocols different from GFP) where a code to be used for coding the whole or a part of a data packet was designed for a certain telecommunication environment and then it is or must be used in a different telecommunication environment more demanding in terms of error detection and/or correction.
It is the general object of the present invention to overcome the drawbacks of the prior art and in particular to use a code in a telecommunication environment more demanding than originally expected in terms of error detection and/or correction.
It is a specific object of the present invention to reliably use GFP for a noisy medium, in particular a radio link.
These and other objects are achieved through the decoding method, the device and the network element having the features set out in the enclosed claims.
The basic idea behind the present invention is to use only a sub-set (typically a small sub-set) of possible coded words at the transmission side and to take advantage of this at the reception side when decoding the received coded word. In this way, a number of errors can be detected and/or corrected higher than the number provided for by the code used for coding data.
Advantageously, this method is applied only to one or few of the fields of the received data packet; in particular, this field indicates the length of the whole or part of the data packet. In this way, no severe limitations are introduced to transmitted data packets at the transmission side.
This method can be advantageously applied to GFP, in particular to the Core header of the GFP frame, i.e. to the payload length indicator that is essential for frame delineation.
According to certain advantageous embodiments, this method implies that only one or few kinds of traffic are carried by the data packets, in particular video data traffic, compressed or not compressed.
Preferably, this method may be applied to video data traffic for broadcasting or point-to-point transmission.
According to a first aspect, the present invention provides a method for decoding an information word from a set of coded words. The method comprises the steps of receiving a coded word, of selecting a coded word having the minimum distance from the received coded word from a pre-configured sub-set of the set of the coded words, wherein the sub-set is configured to at least two coded words having each other a distance higher than the minimum distance between the coded words of the set, and of decoding the information word from the selected coded word.
Preferably, the step of receiving the coded word includes the steps of receiving a data packet, the data packet including an header field carrying the received coded word and including a payload field, the received coded word indicating the coded length of the payload field of the received data packet, and of extracting the coded word from the received data packet.
Preferably, the payload field carries a video signal.
Preferably, said sub-set consists of two coded words.
Preferably, the method further includes the step of generating a signal indicating if the decoded information word is valid.
Preferably, one of the two coded words of the sub-set indicates that the data packet has a zero-length payload and the other of the two coded words of the sub-set indicates the coded length of the payload field carrying the video signal.
Preferably, the received data packet further includes another header field carrying another coded word indicating that the type of the payload field is the video signal, wherein the other header field is configured to the type indicating the video signal. The method further including the steps of extracting the other coded word from the received data packet, of detecting the number of errors affecting the other received coded word, of discarding the other received coded word in case the number of errors is greater than a pre-defined number, and of assigning the other header field to the configured type indicating the video signal.
Preferably, the received data packet is arranged into a Generic Framing Procedure frame and wherein the received coded word is the core header of the received GFP frame.
Preferably, the other header field is the payload header of the Generic Framing Procedure frame.
Preferably, the data packet is receveid from a radio link.
According to a second aspect, the present invention provides a device to decode an information word from a set of coded words. The device includes first means for configuring a sub-set of the set of the coded words to at least two coded words having each other a distance higher than the minimum distance between the coded words of the set and includes second means for selecting from the configured sub-set a coded word having the minimum distance from a received coded word and for decoding the information word from the selected coded word.
Preferably, the second means include a first sub-circuit for calculating the distances between the received coded word and the at least two coded words of the configured sub-set, a second sub-circuit for comparing each other the calculated distances, and a third sub-circuit for selecting from the at least two coded words the coded word having the minimum calculated distance.
Preferably, the device further including third means for comparing the calculated distances respect to a pre-determined distance, in case at least one of the calculated distances is greater than the pre-determined distance for generating a signal for indicating that the decoded information word is not valid, in case the calculated distances are smaller or equal to the pre-determined distance for generating the signal (Val) for indicating that the decoded information word is valid.
Preferably, the payload field carries a video signal.
Preferably, the sub-set consists of two coded words.
According to a third aspect, the present invention provides a network element including processing means adapted to receive a data packet, the processing means including a device according to the second aspect, the data packet including an header field carrying the received coded word and including a payload field, the received coded word indicating the coded length of the payload field of the received data packet, wherein the processing module is further adapted to extract the coded word from the received data packet.
According to a fourth aspect, the present invention provides a computer program comprising computer program code means adapted to perform all the steps of the method according to the first aspect when the program is run on a hardware of a network element.
The present invention will become more clear from the following description to be considered in conjunction with the enclosed drawings, wherein:
It is to be understood that the following description and the enclosed drawings are not to be interpreted as limitations of the present invention but simply as exemplifications.
In
In the following, the present invention will be described with reference to the following particular situation (which is anyway quite typical for an application of the present invention):
It is also assumed that only two types of GFP frames will be encapsulated into SDH frames, transmitted by network element NE-TX, received by network element NE-RX and decapsulated: a first type IP1 of GFP frames and a second type IP2 of GFP frames, which are shown in
First type frames IP1 are “idle frames”, i.e. GFP control frames used for management of the GFP connection. Such frames have no payload area (in other terms zero-length payload area) and only the Core header which is composed of four bytes, two bytes for the payload length indicator [PLI] field and two bytes for the core Header Error Check field.
Second type frames IP2 are GFP frames carrying the video data. Such frames have both the Core header and the payload area; the Core header is composed of four bytes, two bytes for the payload length indicator [PLI] field and two bytes for the core Header Error Check field; the Payload area is composed of 208 bytes, including two bytes for the Type field of the payload header, two bytes for the type Header Error Check field of the payload header, 188 bytes for the Transport Stream [TS] data of the payload information field and 16 bytes for the Reed-Solomon [RS] data of the payload information field.
Referring to
Receiving module M1 comprises a radio receiver RRX connected to the input of module M1 and therefore to the antenna, a demodulator DEMOD connected to the output of radio receiver RRX, and an SDH deframer SDHD connected to the output of demodulator DEMOD; the output of module M1 is connected to the output of deframer SDHD.
Processing module M2 comprises a GFP deframer GFPD having the input connected to the input of module M1 and having the output connected to the output of module M2. Deframer GFPD is adapted to process GFP frames and in particular the two mentioned types IP1 and IP2 of GFP frames; to this purpose, it comprises (among other electronic circuits) a device DECOD, also indicated with decoder.
Device DECOD is adapted to decode the Core header (i.e. combination of the PLI field and the core Header Error Check field) of the GFP frames. Such decoding serves for identifying the length of the various GFP frames received by deframer GFPD.
According to the particular situation considered in this embodiment, only two lengths are possible: zero (corresponding to frame type IP1) and 208 (corresponding to frame type IP2). Anyway, due to transmission errors e.g. over the radio link, received GFP frames may appear to have several lengths which does not correspond to the actually transmitted GFP frames.
If no assumption is made on the possible values of the PLI field (i.e. any kind of GFP frame can be received and processed), according to the core Header Error Check field and its standardized code, it is possible to correct only 1-bit error in the PLI field and to detect multiple errors.
On the contrary, the present invention makes an assumption on the possible values of the PLI field (that is on the possible lengths of the received GFP frames). In particular, the present embodiment assumes that are managed only GFP frames having a payload with length equal to zero bytes and GFP frames having a payload with length equal to 208 bytes.
Preferably, the present embodiment assumes that that only one kind of data traffic is managed, i.e. length=0 corresponds to an idle frame and length=208 corresponds to video data frame.
The code used in the present embodiment is the usual and standardized code; in this way, no compatibility problems exist between the network element at the transmitting side and the network element at the receiving side. In this case, the Core header for length=0 and the Core header for length=208 differ by 14 bits (i.e. 14-bit distance) and therefore it is possible to correct 6-bit errors in a 32-bit word. In fact, the correcting power is given by the following formula:
P=D/2−1
wherein P is the correcting power and D is the minimum distance (in terms of bits) between the various coded words.
Device DECOD transmits as output a coded word “Lout” indicating the coded length (in terms of bytes) of the received GFP frame.
Preferably, device DECOD also generates as output a logic value “Val” (i.e. 1/0 or true/false) indicating whether the output coded word “Lout” is to be considered valid or not; this concept will be better clarified in the following and is to be considered only an optional and advantageous feature of the present invention.
Device DECOD comprises:
Additionally and optionally, device DECOD further comprises a sub-circuit ERR for calculating a threshold comparison of the calculated distances D1 and D2 with a predetermined distance N and for issuing a validity signal Val based the such threshold comparison, the validity signal Val indicating whether the selected coded word Lout is valid.
Sub-circuit DIST comprises a first distance calculator DE-1 and a second distance calculator DE-2; calculator DE-1 receives as inputs words Lin and L1, calculates and outputs the distance D1 between the received coded word Lin and coded word L1; calculator DE-2 receives as inputs words Lin and L2, calculates and outputs the distance D1 between the received coded word Lin and coded word L2.
Sub-circuit COMP comprises a first comparator CE-1 that receives as inputs the distances D1 and D2, calculates and outputs the comparison “D1<D2” (a logic value, i.e. 1/0 or true/false) between the distances D1 and D2.
Sub-circuit SEL comprises a selector that receives as inputs the coded words L1 and L2 and as control input comparison “D1<D2”; the selector outputs L1 if comparison “D1<D2” is “true” and L2 if comparison “D1<D2” is “false”.
Sub-circuit ERR comprises a second comparator CE-2, a third comparator CE-3 and an AND gate. Comparator CE-2 receives as inputs the distance D1 and the pre-determined distance N, calculates and generates the comparison “D1<N” (a logic value, i.e. 0/1 or true/false) between distance D1 and pre-determined distance N. Comparator CE-3 receives as inputs the distance D2 and the pre-determined distance N calculates and generates the comparison “D2<N” (a logic value, i.e. 1/0 or true/false) between distance D2 and the pre-determined distance N. Gate AND generates the logic value Val being the and logic operation between comparison “D1<N” and comparison “D2<N”.
The function of sub-circuit ERR is to check if the received coded length has not too many errors. In the above example, preferably it may be decided that, even if it would be possible to correct up to six bits in the received 32-bit coded word, the device signals an “error condition” if more than four bits are erroneous.
The method for decoding according to the invention can be advantageously implemented in a network element of a telecommunication network, like an SDH network, a Sonet network or an OTN network.
The method is implemented in the network element on an hardware device, like into part of an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), an Electrically Programmable Logical Device (EPLD) or through a microprocessor.
The method according to the invention can be advantageously implemented through a software program like VHDL (Very High speed integrated circuit Description Language), mapped into an ASIC, FPGA or EPLD; alternatevely, the method according to the invention can be advantageously implemented thorugh a software program (like C) running on a microprocessor.
In case the method is implemented into an ASIC, FPGA or EPLD, the sub-set of the set of coded words is configured by writing statically the values of the coded words of the sub-set into the ASIC, FPGA or EPLD; alternatively, the sub-set is configured before the startup (that is, before the ASIC, FPGA or EPLD is working for the first time) of the ASIC, FPGA or EPLD, by writing the values of the coded words of the sub-set into registers of the ASIC, FPGA or EPLD. In this case the first means for configuring the sub-set are part of the ASIC, FPGA or EPLD and the registers of the ASIC, FGPA or EPLD store the values of the coded words of the sub-set.
In case the method is implemented through a microprocessor, the sub-set is configured before the startup of the microprocessor, by writing the values of the coded words of the sub-set into registers which are read by the microprocessor. In this case the first means for configuring the sub-set is the microprocessor and the registers of the microprocessor store the values of the coded words of the sub-set.
Number | Date | Country | Kind |
---|---|---|---|
07290521.9 | Apr 2007 | EP | regional |