KR20100007468A - Method and apparatus for handling an error on data during channel decoding - Google Patents
Method and apparatus for handling an error on data during channel decoding Download PDFInfo
- Publication number
- KR20100007468A KR20100007468A KR1020080068112A KR20080068112A KR20100007468A KR 20100007468 A KR20100007468 A KR 20100007468A KR 1020080068112 A KR1020080068112 A KR 1020080068112A KR 20080068112 A KR20080068112 A KR 20080068112A KR 20100007468 A KR20100007468 A KR 20100007468A
- Authority
- KR
- South Korea
- Prior art keywords
- packet
- error
- frame
- mpeg2
- decoding
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/03—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
- H03M13/05—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
- H03M13/11—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits using multiple parity bits
- H03M13/1102—Codes on graphs and decoding on graphs, e.g. low-density parity check [LDPC] codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0078—Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
Abstract
The present invention relates to error processing in channel decoding, and more particularly, to a method and apparatus for processing an error in channel decoding when the size of a channel coded data and a packet size are different. An error processing method for data when decoding a channel of the present invention includes decoding a frame including at least one constant size packet using a predetermined decoding code, checking whether an error exists in the decoded frame; Setting a value indicating an error occurrence in the decoded frame when the error exists, and transmitting a decoded packet for all packets among the at least one packet included in the frame to a packetizer. And, among the at least one packet includes a process of storing the decoded packets for all the packets in the buffer.
Description
The present invention relates to error processing in channel decoding, and more particularly, to a method and apparatus for processing an error in channel decoding when the size of a channel coded data and a packet size are different.
In a digital communication system, in order to improve the efficiency of data transmission, a transmitter performs source coding and channel coding and then transmits data. Source coding is a technique for improving transmission efficiency by converting an analog signal into a digital signal and compressing and encoding the signal to overcome channel capacity limitations in data transmission, and channel coding eliminates errors that may occur during data transmission. It is a technique of inserting an additional code to increase reliability by correcting. The receiving side receiving the source coded and channel coded data restores the original data by performing channel decoding and source decoding on the received data as opposed to the transmitting side.
The receiving side corrects an error caused by channel noise or the like during data transmission by channel decoding the channel coded data. However, there is a case that can not be corrected even by channel decoding. If such an error is present, error processing for informing that an error has occurred can reduce resource waste for later data processing. For example, in case of data for digital broadcasting, a packet (Moving Picture Experts Group2 Transport Stream, hereinafter referred to as 'MPEG2 TS') as a data format (hereinafter referred to as 'MPEG2 TS packet)' 'Reed' may be used, and a Reed-Solomon code (hereinafter, referred to as an 'RS code') may be used as a code for channel coding. The packet size of the MPEG2 TS is 188 bytes, and the size of data coded by the RS code is also performed in units of 188 bytes. In this case, since the packet size and the channel coded data have the same size, when an uncorrected error exists in one packet during channel decoding, an error may be indicated in the channel decoded packet. By doing so, the error marked data does not perform unnecessary processing on the error marked data in the process after channel decoding.
On the other hand, the Low Density Parity Check (LDPC) code proposed by Gallagher in the early 1960s as a channel coding code has recently come to the attention again due to advantages such as simple decoding and low frame error rate. I am getting it. However, unlike the above-described RS code, the LDPC code does not perform channel coded data in units of 188 bytes. That is, the packet size and the channel coded data are not the same. In this case, one frame to be channel decoded may include one or more packets. If there is an error that cannot be corrected, there is no way to handle the error. Therefore, there is a need for a method of handling an error in the presence of an uncorrectable error when the size of the packet is different from the size of the channel coded data or the channel coding is not performed by an integer multiple of the packet size.
Accordingly, the present invention provides a method and apparatus for handling an error in channel decoding.
In addition, the present invention provides a method and apparatus for handling an error when the size of a packet and the size of data to be channel coded are different or channel coding is not performed by an integer multiple of the packet size.
According to an aspect of the preferred embodiment of the present invention, an error processing method for data when decoding a channel of the present invention includes decoding a frame including at least one constant size packet using a predetermined decoding code, and decoding Checking whether there is an error in the decoded frame, setting a value indicating an error occurrence in the decoded frame when the error exists, and all of the packets among the at least one packet included in the frame. And transmitting the decoded packet to the packetizer.
According to another aspect of the preferred embodiment of the present invention, an error processing apparatus for data when decoding a channel of the present invention performs decoding using a predetermined decoding code on a frame including at least one constant size packet, and the frame A decoder for transmitting a decoded packet to all packets among the at least one packet included in a packet; and checking whether an error exists in the decoded frame, and if the error exists, an error in the decoded frame. And a controller configured to set a value indicating occurrence, and a buffer to store a packet in which decoding is not completed for all packets among the at least one packet.
The foregoing has outlined rather broadly the features and technical advantages of the present invention in order that those skilled in the art may better understand it from the following detailed description of the invention. In addition to these features and advantages, further features and advantages of the present invention which form the subject of the claims of the present invention will be better understood from the following detailed description of the invention.
According to the present invention, when the size of the source coded packet and the size of the channel coded data are different, there is an advantage in that an error for the packet can be processed in the presence of an error after channel decoding. If the decoding of all parts of the packet is not completed after the channel decoding, the packet is stored in the buffer and the decoded packets of all parts of the packet are transferred to the next step, so that the size of the packet and the size of the channel decoded data In other cases, error handling of packets is possible. In the case of including an uncorrectable error for a frame in which an error occurs due to a channel environment, error handling may be performed on all TS packets, thereby preventing a problem that may occur in later systems.
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In this case, it should be noted that like elements are denoted by like reference numerals as much as possible. In addition, detailed descriptions of well-known functions and configurations that may blur the gist of the present invention will be omitted.
A system used as a standard for transmitting or transmitting a video bit stream and an audio bit stream together is a moving picture expert group (hereinafter referred to as a 'MPEG') system. There are various MPEG systems depending on the field of use. Among MPEG systems, a transport stream (hereinafter referred to as 'MPEG2 TS' (Transport Stream)) of an MPEG2 system is used to multiplex and transmit a plurality of programs in an error channel environment of a wide range of applications such as broadcasting, communication, and storage media. It is used a lot. In particular, since MPEG2 TS is multiplexed into a single bit string in a channel environment in which an error occurs, an MPEG2 TS has an advantage in transmitting data in a multimedia service, for example, a digital broadcasting service. Hereinafter, the present invention will be described taking an MPEG2 TS packet encoded in an MPEG2 TS format in which data has the above advantages. However, the present invention is not only limited to the MPEG2 TS packet but can also be applied to packets encoded by other methods.
1 is a diagram illustrating an MPEG2 TS packet structure according to an embodiment of the present invention.
Referring to FIG. 1, one
Encoders to correct errors caused by channel environment, such as signal attenuation, attenuation distortion, delay distortion, and noise, may be performed on the MPEG2 TS packet. have. This encoding is called channel coding. The channel coding scheme may be divided into a channel coding scheme having a size equal to 188 bytes, which is the size of an MPEG2 TS packet, and a channel coding scheme having a size different from that of the 188 bytes. An example of a channel coding scheme having a size different from that of the 188 byte includes a low density parity check, which is a channel coding scheme used in a terrestrial-mobile multimedia broadcasting (T-MMB) system, which is one of the standards of a digital multimedia broadcasting system. (Hereinafter referred to as 'LDPC') is a method of encoding using. The channel coding method using the LDPC code is a method of encoding in units of frames having a size different from that of 188 bytes. Specifically, the LDPC code, which was proposed by Gallagher in the early 1960s and rediscovered after 1996, is defined as a code having a significantly smaller number of non-zero elements in the parity check matrix than the length of the code. It is an error correcting code with the advantage that the complexity does not increase significantly even though iterative decoding is used.
According to the present invention, in order to explain a method of error processing when a packet size and a channel coded data are different, a source coded using an MPEG2 TS and a channel coded using an LCPD code, as in the T-MMB system described above. Take for example. In other words, the error processing procedure of the present invention will be described using an MPEG2 TS packet source coded to a size of 188 bytes and an LDPC frame channel coded to a size different from the size of the MPEG2 TS packet. For convenience of explanation, it is assumed that the size of a frame coded using LDPC code is 288 bytes (2304 bits). A frame (hereinafter, referred to as an 'LDPC frame') encoded by the LDPC code with a size of 288 bytes may include two or more MPEG2 TS packets. This will be described in detail with reference to FIG. 2.
2 is a diagram illustrating a packet structure of data by an LDPC code and MPEG2 TS according to an embodiment of the present invention. The LDPC frame may include a plurality of MPEG2 TS packets. Since the size of the LDPC frame is assumed to be 288 bytes, one LDPC frame may include up to three MPEG2 TS packets. 2 shows an example in which an LDPC frame includes three MPEG2 TS packets, and only three LDPC frames and three MPEG2 TS packets are shown for convenience of description.
Referring to FIG. 2, assuming that K-1 th LDPC frame, K th LDPC frame, and K + 1 th LDPC frame, each of which is 288 bytes in size, the K th LDPC frame includes up to three MPEG2 TS packets having a size of 188 bytes. Can include up to. That is, the K-th LDPC frame may include an N-1 th MPEG2 TS packet, an N th MPEG2 TS packet, and an N + 1 th MPEG2 TS packet. Since the LDPC frame is assumed to be encoded by the LDPC code, decoding is performed on each LDPC frame using the LDPC code during channel decoding. The decoding process for the LDPC frame corrects errors caused by the channel environment. However, if an uncorrected error exists even after channel decoding, the original packet recovery is impossible, and error processing should be performed on the packet so as not to perform unnecessary processing in subsequent processing. For example, when an error exists in the K-th LDPC frame after decoding the K-th LDPC frame, a value indicating an error occurrence is set in the MPEG2 TS packets included in the K-th LDPC frame. As illustrated in FIG. 2, the MPEG-2 TS packets included in the K-th LDPC frame include an N-1 th MPEG2 TS packet, an N th MPEG2 TS packet, and an N + 1 th MPEG2 TS packet. Accordingly, it is not known which MPEG2 TS packet has an error among three MPEG2 TS packets included in the decoded LDPC frame. In this case, error processing is performed on all MPEG2 TS packets, that is, N-1 th MPEG2 TS packet, N th MPEG2 TS packet, and N + 1 th MPEG2 TS packet. In other words, a value indicating an error occurrence is set for all MPEG2 TS packets included in the decoded LDPC frame. In this case, the value setting indicating the error occurrence for the MPEG2 TS packet may be performed by setting the value of the transmission error indicator field of the
On the other hand, as shown in Figure 2, the N + 1 st MPEG2 TS packet is included in the K th LDPC frame and K + 1 th LDPC frame. Therefore, channel decoding for the N + 1 th MPEG2 TS packet is completed only when the channel decoding for the K + 1 th LDPC frame as well as the K th LDPC frame is completed. The N + 1 th MPEG2 TS packet is stored in the buffer when the channel decoding for the K th LDPC frame is completed, and the block for the subsequent step, that is, the TS packetizer (packetizer) when the channel decoding for the K + 1 th LDPC frame is completed. Is sent). Detailed description thereof will be described later. In this way, when the size of the TS packet and the size of the channel coded data are different, the present invention processes an error generated during channel decoding so that unnecessary processing is not performed on packets having errors in subsequent processes.
3 is a block diagram illustrating a configuration of processing an error in channel decoding in a receiver according to an exemplary embodiment of the present invention.
Referring to FIG. 3, when the packet size and the size of channel coded data are different, the
The
The
For example, assume that the K-1 th LDPC frame of FIG. 2 is composed of three MPEG2 TS packets, that is, an N-3 th MPEG2 TS packet, an N-2 th MPEG2 TS packet, and an N-1 th MPEG2 TS packet. It is assumed that channel decoding is performed on the K−1 th LDPC frame. At this time, when the channel decoding is completed for the K-1 th LDPC frame, the N-3 th MPEG2 TS packet and the N-2 th MPEG2 TS packet, which have completed channel decoding for all parts of the MPEG2 TS packet, are transferred to the
Referring to the drawings, a process of processing an error in channel decoding when a packet size and a channel coded data are different is described in detail.
4 is a flowchart illustrating an error processing process in channel decoding according to an embodiment of the present invention.
Referring to FIG. 4, the
In
For example, assuming that the K-th LDPC frame is decoded in FIG. 2, the N-th MPEG2 TS packet, the N-th MPEG2 TS packet, and the N + 1-th MPEG2 TS packet included in the K-th LDPC frame will be described. The MPEG2 TS packet, which has been decoded for all parts of the MPEG2 TS packet, becomes an N-1 th MPEG2 TS packet and an N th MPEG2 TS packet. The MPEG2 TS packet, in which channel decoding is not completed for all parts of the MPEG2 TS packet, becomes an N + 1th MPEG2 TS packet. Accordingly, after decoding the K th LDPC frame, the
On the other hand, the embodiments of the present invention disclosed in the specification and drawings are merely presented specific examples to easily explain the technical contents of the present invention and help the understanding of the present invention, and are not intended to limit the scope of the present invention. It will be apparent to those skilled in the art that other modifications based on the technical idea of the present invention can be carried out in addition to the embodiments disclosed herein.
1 is a diagram illustrating an MPEG2 TS packet structure according to an embodiment of the present invention.
2 is a diagram showing a packet structure of data by LDPC code and MPEG2 TS according to an embodiment of the present invention;
3 is a block diagram illustrating a configuration of processing an error in channel decoding in a receiver according to a preferred embodiment of the present invention.
4 is a flowchart illustrating an error processing procedure in channel decoding according to an embodiment of the present invention.
Claims (19)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080068112A KR20100007468A (en) | 2008-07-14 | 2008-07-14 | Method and apparatus for handling an error on data during channel decoding |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080068112A KR20100007468A (en) | 2008-07-14 | 2008-07-14 | Method and apparatus for handling an error on data during channel decoding |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20100007468A true KR20100007468A (en) | 2010-01-22 |
Family
ID=41816446
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020080068112A KR20100007468A (en) | 2008-07-14 | 2008-07-14 | Method and apparatus for handling an error on data during channel decoding |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20100007468A (en) |
-
2008
- 2008-07-14 KR KR1020080068112A patent/KR20100007468A/en not_active Application Discontinuation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100692596B1 (en) | Digital broadcasting transmission/reception capable of improving receiving performance and signal processing method thereof | |
KR101147759B1 (en) | Transmitting/receiving system of digital broadcasting | |
KR100360622B1 (en) | MPEG Data frame structure and transmitting and receiving system using the same | |
JP4283104B2 (en) | Hierarchical block coding for packet-based communication systems. | |
KR100757469B1 (en) | Digital broadcasting transmission/reception system utilizing null packet and TRS code to improve receiving performance and signal processing method thereof | |
WO1998058468A1 (en) | Information data multiplexing transmission system, multiplexer and demultiplexer used therefor, and error correcting encoder and decoder | |
JP4848274B2 (en) | Method and apparatus for handling null packets in a digital media receiver | |
TWI246841B (en) | Digital transmission system and method for transmitting digital signals | |
WO2007046669A1 (en) | Turbo stream processing device and method | |
WO2007046665A1 (en) | Outer encoder and outer encoding method thereof | |
JP4719740B2 (en) | Interleaver mode detection in digital video based receivers | |
US8046667B2 (en) | Synchronization loss resilient digital communication system using forward erasure correction | |
US20080040647A1 (en) | Apparatus and method for improving error correction capability using stuffing byte | |
KR101813051B1 (en) | Apparatus and method for indicating error of transport packet in video and audio commnication system | |
JP4803752B2 (en) | Error correction coding apparatus and program thereof, and error correction decoding apparatus and program thereof | |
US8369418B2 (en) | Digital data receiver | |
JP6104044B2 (en) | Video data transmission apparatus and video data transmission method | |
KR20100007468A (en) | Method and apparatus for handling an error on data during channel decoding | |
JP4558617B2 (en) | Error correction processing method and transmission apparatus | |
KR100916702B1 (en) | Channel decoding device in transport stream packet, and method thereof | |
KR100996619B1 (en) | Synchronization loss resilient digital communication system using forward erasure correction | |
WO2010065100A2 (en) | Method and apparatus for transmitting and receiving fec frame headers | |
KR100949973B1 (en) | Broadcasting transmitter/receiver and method of processing broadcasting signal | |
JP2011109316A (en) | Transmitter | |
JP2004254084A (en) | Digital broadcast receiver and receiving method as well as reproducer and reproducing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |