KR101304092B1 - Method and apparatus for buffering and decoding received data in a receiver of digital video broadcasting system - Google Patents

Method and apparatus for buffering and decoding received data in a receiver of digital video broadcasting system Download PDF

Info

Publication number
KR101304092B1
KR101304092B1 KR1020060106927A KR20060106927A KR101304092B1 KR 101304092 B1 KR101304092 B1 KR 101304092B1 KR 1020060106927 A KR1020060106927 A KR 1020060106927A KR 20060106927 A KR20060106927 A KR 20060106927A KR 101304092 B1 KR101304092 B1 KR 101304092B1
Authority
KR
South Korea
Prior art keywords
packet
information
error
section
decoding
Prior art date
Application number
KR1020060106927A
Other languages
Korean (ko)
Other versions
KR20080008928A (en
Inventor
박성진
노희진
이상진
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Publication of KR20080008928A publication Critical patent/KR20080008928A/en
Application granted granted Critical
Publication of KR101304092B1 publication Critical patent/KR101304092B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/89Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving methods or arrangements for detection of transmission errors at the decoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/025Systems for the transmission of digital non-picture data, e.g. of text during the active part of a television frame
    • H04N7/035Circuits for the digital non-picture data signal, e.g. for slicing of the data signal, for regeneration of the data-clock signal, for error detection or correction of the data signal
    • H04N7/0357Circuits for the digital non-picture data signal, e.g. for slicing of the data signal, for regeneration of the data-clock signal, for error detection or correction of the data signal for error detection or correction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

본 발명은 디지털 방송 시스템의 수신기에서 수신 데이터를 버퍼링하고 복호화하는 방법 및 장치에 대한 것으로서, TS(Transport Stream) 패킷을 전송하는 디지털 방송 시스템의 수신기에서 수신 데이터를 버퍼링하는 방법은 상기 TS 패킷의 오류 검출 플래그를 확인하여 상기 TS 패킷의 오류 여부를 확인하는 과정과, 동일한 섹션에 속하는 적어도 하나의 TS 패킷을 검출하는 과정과, 상기 동일한 섹션에 속하는 적어도 하나의 TS 패킷의 헤더 정보로부터 연속 카운터 정보를 이용하여 정상적인 TS 패킷의 버퍼링 위치를 계산하여 버퍼링하는 과정을 포함함을 특징으로 한다. 또한 본 발명에서 상기 버피링된 데이터를 복호하는 방법은 상기 TS 패킷의 오류 검출 결과 오류가 발생하였을 때, 상기 TS 패킷의 해더정보에 대한 상관을 수행하여 유사성 또는 신뢰도의 조건을 만족하면 상기 TS 패킷을 오류가 발생하지 않은 것으로 판단하고 반복 복호화를 수행한다.The present invention relates to a method and an apparatus for buffering and decoding received data at a receiver of a digital broadcasting system, and a method of buffering received data at a receiver of a digital broadcasting system transmitting a transport stream (TS) packet includes an error in the TS packet. Checking the detection flag to determine whether the TS packet is in an error state; detecting at least one TS packet belonging to the same section; and continuous counter information from header information of at least one TS packet belonging to the same section; And calculating and buffering a buffering position of a normal TS packet using the buffer. In the present invention, the method for decoding the buffered data, when an error occurs as a result of the error detection of the TS packet, performs a correlation on the header information of the TS packet to satisfy the condition of similarity or reliability, the TS packet It is determined that the error does not occur and performs repeated decoding.

따라서 본 발명에 의하면, MPE-FEC 디코딩 시 섹션 데이터의 버퍼링을 TS 패킷 단위로 수행하고, 오류가 발생된 TS 패킷의 데이터만을 삭제 처리하여 디코딩을 수행하므로 MPE-FEC 디코딩의 성능을 향상시킬 수 있으며, 오류가 발생된 TS 패킷의 데이터에 대해 조건에 따라, 반복 복호를 수행함으로써, MPE-FEC 디코딩 성능을 추가적으로 향상시킬 수 있다.Therefore, according to the present invention, MPE-FEC decoding can improve the performance of MPE-FEC decoding because buffering of section data is performed in units of TS packets, and decoding is performed by deleting only data of an errored TS packet. By performing iterative decoding on the data of the TS packet in which the error occurs, the MPE-FEC decoding performance can be further improved.

TS 패킷, DVB-H, 버퍼링, 섹션, MPE-FEC, RS decoding TS packet, DVB-H, buffering, section, MPE-FEC, RS decoding

Description

디지털 방송 시스템의 수신기에서 수신 데이터의 버퍼링 및 복호 방법 및 장치{METHOD AND APPARATUS FOR BUFFERING AND DECODING RECEIVED DATA IN A RECEIVER OF DIGITAL VIDEO BROADCASTING SYSTEM}Method and apparatus for buffering and decoding received data in a receiver of a digital broadcasting system {METHOD AND APPARATUS FOR BUFFERING AND DECODING RECEIVED DATA IN A RECEIVER OF DIGITAL VIDEO BROADCASTING SYSTEM}

도 1은 전송 단위로 TS 패킷을 이용하는 일반적인 디지털 방송 시스템에서 수신기의 구성을 나타낸 블록도1 is a block diagram showing a configuration of a receiver in a general digital broadcasting system using a TS packet as a transmission unit

도 2는 도 1의 수신기에 구비되는 종래 섹션 검출 및 버퍼링 장치의 구성을 나타낸 블록도FIG. 2 is a block diagram illustrating a configuration of a conventional section detection and buffering device included in the receiver of FIG. 1.

도 3은 종래 오류가 발생된 TS 패킷이 포함된 섹션의 검출 및 버퍼링 과정을 나타낸 도면3 is a diagram illustrating a detection and buffering process of a section including a TS packet in which a conventional error occurs;

도 4는 종래 섹션 검출 및 버퍼링 방법을 나타낸 순서도4 is a flowchart illustrating a conventional section detection and buffering method.

도 5는 본 발명의 제1 실시 예에 따른 디지털 방송 시스템에서 섹션 검출 및 버퍼링 장치의 구성을 나타낸 블록도5 is a block diagram illustrating a configuration of a section detection and buffering apparatus in a digital broadcasting system according to a first embodiment of the present invention.

도 6은 본 발명의 제1 실시 예에 따라 오류가 발생된 TS 패킷이 포함된 섹션의 검출 및 버퍼링 과정을 나타낸 도면6 is a diagram illustrating a detection and buffering process of a section including an error TS packet according to the first embodiment of the present invention.

도 7은 본 발명의 제1 실시 예에 따른 섹션 검출 및 버퍼링 방법을 나타낸 순서도7 is a flowchart illustrating a section detection and buffering method according to a first embodiment of the present invention.

도 8은 일반적인 DVB-H 시스템에서 TS 패킷의 헤더 구조를 나타낸 도면8 is a diagram illustrating a header structure of a TS packet in a general DVB-H system.

도 9는 본 발명의 제2 실시예에 따른 TS 패킷 헤더의 상관 장치를 나타낸 도면9 illustrates a correlation apparatus of a TS packet header according to a second embodiment of the present invention.

도 10은 본 발명의 제2 실시예에 따른 반복 복호 방법에서 첫번째 복호화 과정을 나타낸 도면10 is a diagram illustrating a first decoding process in an iterative decoding method according to a second embodiment of the present invention.

도 11은 본 발명의 제2 실시예에 따른 반복 복호 방법에서 두번째 복호화 과정을 나타낸 도면11 is a diagram illustrating a second decoding process in an iterative decoding method according to a second embodiment of the present invention.

도 12는 본 발명의 제2 실시예에 따라 반복 복호 방법에서 섹션의 검출 및 버퍼링 과정을 나타낸 도면12 is a diagram illustrating a detection and buffering process of a section in an iterative decoding method according to a second embodiment of the present invention.

도 13은 본 발명의 제2 실시예에 따른 반복 복호 방법을 나타낸 순서도13 is a flowchart showing an iterative decoding method according to a second embodiment of the present invention.

본 발명은 디지털 방송 시스템에서 전송 스트림(Transport Stream : 이하 "TS"라 함) 패킷을 수신하는 방법 및 장치에 대한 것으로서, 특히 휴대 디지털 비디오 방송(Digital Video Broadcasting-Handheld : DVB-H) 시스템의 수신기에서 수신 데이터의복호 방법 및 장치에 대한 것이다.The present invention relates to a method and apparatus for receiving a transport stream (hereinafter referred to as "TS") packet in a digital broadcasting system, and in particular, a receiver of a digital video broadcasting-handheld (DVB-H) system. The present invention relates to a method and apparatus for decoding received data.

근래 음성(audio), 영상(video) 등의 데이터 압축기술과 통신 기술의 발달에 힘입어 고품질의 음성 및 영상 서비스를 고정 또는 이동 단말을 통해 어디서나 제공할 수 있는 디지털 방송이 실현되고 있다. 이러한 디지털 방송의 예로는 디지털 오디오 방송(Digital Audio Broadcasting : DAB), 디지털 라디오 방송(Digital Radio Broadcasting : DRS), 디지털 오디오 라디오 시스템(Digital Audio Radio System) 그리고, 오디오, 비디오, 데이터 서비스를 모두 포괄하는 이른바 디지털 멀티미디어 방송(Digital Multimedia Broadcasting : DMB) 시스템 등이 있다. 또한 유럽 지역의 디지털 오디오 방송 시스템인 Eureka 147(European Research Coordination Agency project-147) 시스템과 디지털 방송 규격의 하나인 DVB-T(Terrestrial) 시스템의 이동성, 휴대성을 강화한 DVB-H 시스템이 최근 주목받고 있다.Recently, with the development of data compression technologies such as audio and video and communication technologies, digital broadcasting, which can provide high quality voice and video services anywhere through a fixed or mobile terminal, has been realized. Examples of such digital broadcasting include digital audio broadcasting (DAB), digital radio broadcasting (DRS), digital audio radio system, and audio, video, and data services. So-called digital multimedia broadcasting (DMB) systems. In addition, the DVB-H system, which enhances the mobility and portability of the European digital audio broadcasting system Eureka 147 (European Research Coordination Agency project-147) system and the DVB-T (Terrestrial) system, which is one of the digital broadcasting standards, has recently received attention. have.

상기 DVB-H 시스템의 물리 계층 규격은 상기 DVB-T 시스템의 사양(spec)을 대부분 따르며 이동 중에도 수신기에서 데이터의 안정적인 수신을 보장하기 위해 다중 프로토콜 캡슐화-순방향 오류 정정(Multi-Protocol Encapsulation-Forward Error Correction : MPE-FEC)과 같은 추가적인 오류 정정 부호화 기술을 지원한다. 즉 유럽향 모바일 방송 시스템인 DVB-H 시스템은 고정형 방송 수신 기술인 상기 DVB-T 시스템에서 채널 디코딩 성능을 향상시키기 위해 MPE-FEC 기술을 사용하고 있다. 상기 MPE-FEC 기술은 IP 데이터그램으로 버스트를 구성하고 각 행 성분에 대하여 (255, 191) 리드-솔로몬(Reed_Solomon : 이하 "RS"라 함) coding을 추가함으로써 채널 코딩 이득을 더 얻을 수 있도록 제안된 기술이다.The physical layer specification of the DVB-H system follows most of the specifications of the DVB-T system and multi-protocol encapsulation-forward error to ensure stable reception of data at the receiver while moving. Additional error correction coding techniques such as Correction (MPE-FEC) are supported. That is, the DVB-H system, which is a mobile broadcasting system for Europe, uses MPE-FEC technology to improve channel decoding performance in the DVB-T system, which is a fixed broadcast reception technology. The MPE-FEC technique proposes to obtain more channel coding gains by forming bursts with IP datagrams and adding (255, 191) Reed-Solomon (RS) coding for each row component. Technology has become.

상기 MPE-FEC 기술을 이용하는 DVB-H 시스템에서 방송 데이터는 IP 데이터그램(datagram)으로 만들어지고, 적어도 하나의 IP 데이터그램은 하나의 버스트를 구성한다. 그런 후 상술한 바와 같이 구성된 버스트들은 (255, 191) RS 부호화된다. 섹션 데이터는 IP 데이터그램을 전달하는 MPE 섹션과, 상기 RS 부호화에 의해 생성되는 패리티 데이터(parity data)를 전달하는 MPE-FEC 섹션으로 구분된다. 이하에서는 설명의 편의상 MPE 섹션과 MPE-FEC 섹션을 구분하지 않고 섹션으로 통칭하기로 한다.In the DVB-H system using the MPE-FEC technology, broadcast data is made into an IP datagram, and at least one IP datagram constitutes one burst. The bursts configured as described above are then (255, 191) RS encoded. The section data is divided into an MPE section carrying an IP datagram and an MPE-FEC section carrying parity data generated by the RS encoding. Hereinafter, for convenience of description, the MPE section and the MPE-FEC section will be referred to as sections without distinguishing them.

상기 섹션 데이터는 DVB-H 시스템의 전송 단위인 TS 패킷의 페이로드(payload)에 실려 물리 계층을 통해 전송된다. 그리고 상기 TS 패킷은 예컨대, 188 바이트의 고정된 길이를 갖으며 (204,188) RS 부호화된 후 길쌈부호화(Convolutional coding)되어 전송된다. 하나의 섹션은 하나 또는 복수의 TS 패킷을 통해 전송된다.The section data is carried in a payload of a TS packet, which is a transmission unit of a DVB-H system, and transmitted through a physical layer. The TS packet has a fixed length of, for example, 188 bytes and is (204, 188) RS encoded, then convolutionally coded and transmitted. One section is transmitted through one or more TS packets.

이하 TS 패킷을 전송하는 일반적인 DVB-H 시스템에서 MPE-FEC RS 디코딩을 위해 섹션 데이터를 검출하고 복호를 수행하는 수신기의 동작을 설명하기로 한다.Hereinafter, an operation of a receiver for detecting section data and performing decoding for MPE-FEC RS decoding in a general DVB-H system transmitting a TS packet will be described.

도 1은 전송 단위로 TS 패킷을 이용하는 일반적인 디지털 방송 시스템에서 수신기의 구성을 나타낸 블록도이다.1 is a block diagram illustrating a configuration of a receiver in a general digital broadcasting system using a TS packet as a transmission unit.

도 1에서 무선망으로부터 수신된 TS 패킷은 안테나(101)를 통해 RF 복조기(103)로 수신되고, RF 복조기(103)를 통해 주파수 하향 변환 및 복조되어 디지털 신호로 변환된다. 이렇게 변환된 디지털 신호는 OFDM 심볼들이 되며, FFT(Fast Fourier Transform) 처리기(105)에서 주파수 영역의 신호로 변환된다. 심볼 디인터리버(107)는 주파수 영역의 신호로 변환된 신호를 심볼 단위로 디인터리빙을 수행하여 출력한다. 심볼 디매핑기(109)는 디인터리빙된 신호를 QPSK, 16-QAM 혹은 64-QAM 등의 정해진 변조 방식에 의거하여 심볼을 디매핑하고, 비트 디인터리버(111) 로 출력한다. 그러면 비트 디인터리버(111)는 비트 단위의 디인터리빙을 각각 수행한다.In FIG. 1, the TS packet received from the wireless network is received by the RF demodulator 103 through the antenna 101, and down-converted and demodulated by the RF demodulator 103 and converted into a digital signal. The converted digital signals are OFDM symbols, and are converted into signals in the frequency domain by the fast fourier transform (FFT) processor 105. The symbol deinterleaver 107 deinterleaves the signal converted into the signal in the frequency domain in units of symbols and outputs the deinterleaving unit. The symbol demapper 109 demaps the deinterleaved signal based on a predetermined modulation scheme such as QPSK, 16-QAM, or 64-QAM, and outputs the deinterleaved signal to the bit deinterleaver 111. Then, the bit deinterleaver 111 performs deinterleaving in units of bits, respectively.

그리고 도 1에서 채널 디코더(113)는 도시되지 않은 비터비 디코더(viterbi decoder)와 (204, 188) RS 디코더를 포함하며, 채널 디코딩 및 (204, 188) RS 디코딩을 수행한다. 디코딩된 신호는 TS 패킷 동기부(115)를 통해 동기가 맞추어지고, 디스크램블러(117)에서 디스크램블링된다. 이후 도 1에서 MPE-FEC 디코더(119)는 디스크램블된 신호에 대해 패킷 식별자(Packet Identifier : 이하 "PID"라 칭함) 필터링을 수행하고, TS 패킷의 헤더 정보를 분석하여 섹션을 검출하고, 검출한 섹션에 대해 버퍼링과 MPE-FEC 복호 및 RS 복호를 수행하여 원래 방송 데이터를 복원한다.In addition, in FIG. 1, the channel decoder 113 includes a Viterbi decoder (not shown) and an RS decoder (204, 188), and performs channel decoding and (204, 188) RS decoding. The decoded signal is synchronized with the TS packet synchronizer 115 and descrambled by the descrambler 117. In FIG. 1, the MPE-FEC decoder 119 performs packet identifier filtering on the descrambled signal, analyzes header information of the TS packet, and detects a section by detecting the packet. The original broadcast data is restored by performing buffering, MPE-FEC decoding, and RS decoding for one section.

이하 도 2 를 참조하여 종래 MPE-FEC 디코딩을 위한 섹션 검출 및 버퍼링 과정을 설명하기로 한다.Hereinafter, a section detection and buffering process for conventional MPE-FEC decoding will be described with reference to FIG. 2.

종래 기술은 섹션을 검출하는데 CRC(Cyclic Redundancy Check) 결과를 사용한다. 도 1에서 디스크램블러(117)까지는 188 바이트의 TS 패킷 단위의 전송이 이루어진다. TS 패킷에는 섹션의 시작점을 알리는 정보와, PID 정보가 포함되어 있으며, 상기 PID는 패킷식별자(Packet Identifier) 라고 하여 각기 다른 서비스 프로그램 정보를 분류하는데 사용된다. 하나의 섹션에는 헤더 정보와 데이터 정보, 그리고 CRC 정보가 포함된다. 그런데 섹션에서 헤더의 시작점은 TS 패킷 내에서 불규칙하게 존재한다. 따라서 TS 패킷의 헤더 정보에 섹션의 헤더 시작점을 알려주는 정보가 존재한다. 그리고 TS 패킷 내에 섹션의 헤더 정보가 있는지 데이터 정보가 있는지도 알려주게 된다.The prior art uses cyclic redundancy check (CRC) results to detect sections. In FIG. 1, the descrambler 117 transmits TS packets of 188 bytes. The TS packet includes information indicating the starting point of a section and PID information. The PID is called a packet identifier and is used to classify different service program information. One section includes header information, data information, and CRC information. However, the starting point of the header in the section is irregular in the TS packet. Therefore, information indicating the header start point of the section exists in the header information of the TS packet. It also tells whether there is header information or section information in the TS packet.

도 2는 도 1의 수신기에 구비되는 종래 섹션 검출 및 버퍼링 장치(200)의 구성을 나타낸 블록도이다.2 is a block diagram illustrating a configuration of a conventional section detection and buffering device 200 provided in the receiver of FIG. 1.

TS 패킷들로부터 섹션을 추출해 내는 동작을 섹션 검출이라 정의하였을 때 도 2에서 TS 패킷 헤더 분석기(201)는 섹션의 검출을 위해서 TS 패킷의 헤더 정보를 추출하여 제1 레지스터(203)로 전달하고, TS 패킷의 데이터가 실린 페이로드는 섹션 헤더 분석기(205)로 전달한다. 그리고 섹션 헤더 분석기(205)는 TS 패킷의 헤더 정보가 저장된 제1 레지스터(203)로부터 정보를 수신하여, TS 패킷의 페이로드에섹션의 헤더 정보와 섹션의 페이로드 정보를 구분하며, 상기 TS 패킷의 페이로드에 섹션의 헤더 정보가 포함된 경우 상기 섹션의 헤더 정보를 추출하여 제2 레지스터(207)로 전달하고, 상기 TS 패킷의 페이로드에 섹션의 데이터가 실린 경우 상기 TS 패킷의 페이로드는 섹션 버퍼 및 CRC 블록(209)으로 전달한다.When the operation of extracting sections from TS packets is defined as section detection, in FIG. 2, the TS packet header analyzer 201 extracts the header information of the TS packet and transmits the header information of the TS packet to the first register 203. The payload carrying the data of the TS packet is delivered to the section header analyzer 205. The section header analyzer 205 receives the information from the first register 203 in which the header information of the TS packet is stored, and distinguishes the header information of the section from the payload section of the TS packet and the payload information of the section. If the payload of the section includes the header information of the section, the header information of the section is extracted and transferred to the second register 207. If the payload of the TS packet contains the section data, the payload of the TS packet is Pass to section buffer and CRC block 209.

도 2에서 섹션 버퍼 및 CRC 블록(209)은 섹션의 페이로드를 버퍼링하며, 버퍼링된 섹션 데이터의 유효성 테스트(valid test)를 위한 CRC 검사를 수행한다. 섹션 버퍼 및 CRC 블록(209)은 섹션 데이터의 유효성 테스트가 완료된 섹션 데이터 및 유효성 결과 정보를 MPE-FEC 버퍼(211)로 전달한다. 또한 섹션 버퍼 및 CRC 블록(209)은 제2레지스터(207)로부터 섹션의 크기 정보를 수신하여, MPE-FEC RS 디코더(213)로 복호 시작(decoding start) 신호를 출력한다. 이에 따라 MPE-FEC RS 디코더(213)는 MPE-FEC 버퍼(211)로부터 전달된 유효성 결과 정보를 근거로 섹션 데이터에 대한 RS 디코딩을 수행하여 원래 방송 데이터를 복원한다. 상기한 동작에서 섹션 버퍼 및 CRC 블록(209)은 버퍼링된 섹션 데이터의 CRC 검사 결과를 근거로 MPE-FEC 버퍼(211)로의 버퍼링 여부를 결정한다.In FIG. 2, the section buffer and CRC block 209 buffer the payload of the section and perform a CRC check for validity test of the buffered section data. The section buffer and the CRC block 209 transfer the section data and the validity result information on which the validity of the section data has been tested to the MPE-FEC buffer 211. In addition, the section buffer and the CRC block 209 receives the size information of the section from the second register 207, and outputs a decoding start signal to the MPE-FEC RS decoder 213. Accordingly, the MPE-FEC RS decoder 213 restores the original broadcast data by performing RS decoding on the section data based on the validity result information transmitted from the MPE-FEC buffer 211. In the above operation, the section buffer and the CRC block 209 determine whether to buffer the MPE-FEC buffer 211 based on the CRC check result of the buffered section data.

일반적으로 상기 삭제 정보가 포함된 MPE-FEC erasure RS decoding의 경우 유효한 섹션 데이터가 많거나 상기 유효성 결과(Erasure) 정보를 많이 알수록 섹션 데이터의 RS 디코딩이 성공할 확률이 높아진다. 상기 유효성 결과 정보는 MPE-FEC 버퍼(211)로부터 MPE-FEC RS 디코더(213)로 입력되며, 상기 삭제 정보는 섹션 데이터의 어느 위치에 오류가 존재한다는 것을 나타낸다. 상기 오류의 위치를 아는 것만으로도 오류를 정정할 수 있는 능력이 두 배 정도 향상된다. 그런데 실제 섹션의 검출 및 버퍼링 과정을 살펴보면, 하나의 섹션이 다수의 TS 패킷으로 구성될 수 있으므로 하나의 섹션에 포함된 TS 패킷들 중 하나만 오류가 나더라도 해당 섹션에 대한 CRC 검사는 "fail"의 결과를 얻게 된다. 결국 섹션이 둘 이상의 TS 패킷으로 구성되는 경우 다수의 TS 패킷들 중 하나의 TS 패킷에만 오류가 존재하여도 오류가 전혀 없는 TS 패킷(들)도 함께 버려지게 되므로 종래 섹션 검출 및 버퍼링 방법은 비효율적이라고 할 수 있다. 즉 섹션의 길이가 길면 길수록 TS 패킷 하나만 오류가 발생해도 해당 섹션에 포함된 나머지 TS 패킷의 데이터들이 모두 유효성이 없음(erasure)으로 처리된다. 따라서 종래 섹션 검출 및 버퍼링 방법은 정상적인 TS 패킷에 대해서도 유효성이 없음으로 처리를 하는 경우가 발생되므로 실질적으로 MPE-FEC 디코딩의 오류 정정 능력이 떨어지게 된다.In general, in the case of MPE-FEC erasure RS decoding including the deletion information, the more valid section data or the more information of the erasure result, the more likely the RS decoding of the section data is successful. The validity result information is input from the MPE-FEC buffer 211 to the MPE-FEC RS decoder 213, and the deletion information indicates that an error exists at any position of the section data. Knowing the location of the error doubles the ability to correct the error. However, looking at the process of detecting and buffering the actual section, since one section may be composed of multiple TS packets, even if only one of the TS packets included in one section fails, the CRC check for the section fails. You get a result. As a result, when a section is composed of two or more TS packets, even if an error exists in only one TS packet among a plurality of TS packets, the TS packet (s) without any error are discarded together. Therefore, the conventional section detection and buffering method is inefficient. can do. That is, the longer the length of a section is, even if only one TS packet fails, all data of the remaining TS packets included in the section are treated as invalid. Therefore, in the conventional section detection and buffering method, processing occurs due to ineffectiveness even for a normal TS packet, thereby substantially reducing error correction capability of MPE-FEC decoding.

도 3은 종래 오류가 발생된 TS 패킷이 포함된 섹션의 검출 및 버퍼링 과정을 나타낸 도면으로서, 도 3에서 참조번호 310은 수신된 TS 패킷들의 시퀀스를 나타낸 것이고, 330은 수신된 TS 패킷들의 시퀀스를 섹션 단위로 재구성한 것이다. 그리고 참조번호 350은 도 2의 MPE-FEC 버퍼(211)에서 오류가 발생된 섹션의 유효성 없음으로 처리하여 버퍼링하는 과정을 나타낸 것이다. 도 3의 TS 패킷들의 시퀀스(310)에서 우측 상단에 "O"으로 표시된 TS 패킷은 정상적으로 수신된 TS 패킷(311)을 나타낸 것이고, "X"로 표시된 TS 패킷은 오류가 발생된 TS 패킷(313)을 나타낸 것이다. TS 패킷들을 섹션 단위로 재구성하는 과정에서 오류가 발생된 TS 패킷(313)이 포함되어 있는 경우 섹션 버퍼 및 CRC 블록(209)은 도 3의 참조번호 351과 같이 해당 섹션 데이터의 전체를 유효성이 없음으로 처리하고, 353과 같이 오류가 발생되지 않은 섹션 데이터만을 버퍼링한다.3 is a diagram illustrating a detection and buffering process of a section including a TS packet in which a conventional error occurs. In FIG. 3, reference numeral 310 denotes a sequence of received TS packets, and 330 denotes a sequence of received TS packets. Reorganized into sections. In addition, reference numeral 350 denotes a process of buffering by treating the invalid section in the MPE-FEC buffer 211 of FIG. 2 as invalid. In the sequence 310 of TS packets of FIG. 3, a TS packet indicated by "O" in the upper right corner shows a TS packet 311 that is normally received, and a TS packet indicated by "X" indicates a TS packet 313 in which an error has occurred. ). When the TS packet 313, which has an error in the process of reconstructing the TS packets in the unit of section, is included, the section buffer and the CRC block 209 are invalid in the entire section data as shown by reference numeral 351 of FIG. And only the section data where no error occurred, such as 353, is buffered.

도 4는 종래 수신기에서 섹션 검출 및 버퍼링 방법을 나타낸 순서도로서, 401 단계에서 수신기는 TS 패킷의 오류 여부를 확인한 후 403 단계에서 PID 필터링을 수행하여 원하는 프로그램의 TS 패킷을 검출한다. 이후 405 단계에서 수신기는 TS 패킷의 헤더 정보를 분석하여 섹션 데이터의 헤더 시작 위치를 찾은 후, 407 단계에서 섹션의 헤더 정보를 분석하고, 409 단계에서 수신기는 해당하는 섹션 데이터를 섹션 버퍼에 버퍼링한다. 그리고 411 단계에서 수신기는 버퍼링된 섹션에서 CRC 검사를 수행하고, 413 단계에서 CRC 검사 결과가 "Good"인 섹션의 데이터를 MPE-FEC 버퍼(211)에 버퍼링하고, 오류가 발생된 섹션의 데이터는 모두 유효성 없음으로 처리한다. 이후 415 단계에서 수신기는 하나의 버스트를 모두 수신한 경우 MPE-FEC RS 디코딩을 수행하여 오류 정정을 수행한다. 상기한 바와 같이 종래 섹션의 검출 및 디코딩 방법은 도 3에서 설명한 것처럼 둘 이상의 TS 패킷으로 구성되 는 하나의 섹션에서 정상적으로 수신된 TS 패킷들을 포함하고 있다 하더라도 하나라도 오류가 발생된 TS 패킷의 데이터가 존재하는 경우 해당 섹션의 데이터 전체를 유효성 없음으로 처리하여야 한다. 따라서 비효율적인 MPE-FEC 디코딩을 수행함을 알 수 있다.4 is a flowchart illustrating a method of detecting and buffering a section in a conventional receiver. In step 401, the receiver checks whether an error occurs in a TS packet and then performs PID filtering in step 403 to detect a TS packet of a desired program. Thereafter, in step 405, the receiver analyzes the header information of the TS packet to find the header start position of the section data. In step 407, the receiver analyzes the header information of the section, and in step 409, the receiver buffers the corresponding section data in the section buffer. . In step 411, the receiver performs a CRC check on the buffered section. In step 413, the receiver buffers the data of the section having the CRC check result as “Good” in the MPE-FEC buffer 211. Treat all as invalid. Thereafter, in step 415, when the receiver receives all of the bursts, the receiver performs MPE-FEC RS decoding to perform error correction. As described above, the detection and decoding method of the conventional section includes TS packets that are normally received in one section that is composed of two or more TS packets. If present, the entire data of the section shall be treated as invalid. Therefore, it can be seen that inefficient MPE-FEC decoding is performed.

따라서 본 발명은 디지털 방송 시스템의 수신기에서 MPE-FEC 디코딩 성능을 향상시킬 수 있는 수신 데이터의 복호 방법 및 장치를 제공한다.Accordingly, the present invention provides a method and apparatus for decoding received data capable of improving MPE-FEC decoding performance in a receiver of a digital broadcasting system.

본 발명은 디지털 방송 시스템의 수신기에서 TS 패킷의 오류 검출 플래그를 이용한 섹션 데이터의 복호 방법 및 장치를 제공한다.The present invention provides a method and apparatus for decoding section data using an error detection flag of a TS packet in a receiver of a digital broadcasting system.

본 발명은 디지털 방송 시스템의 수신기에서 오류 정보가 포함된 섹션 데이터의 복호 방법 및 장치를 제공한다.The present invention provides a method and apparatus for decoding section data including error information in a receiver of a digital broadcasting system.

본 발명에 따른 TS(Transport Stream) 패킷을 전송하는 디지털 방송 시스템의 수신기에서 섹션 데이터를 버퍼링하고 복호화하는 방법은 상기 TS 패킷의 헤더 정보로부터 오류 검출 플래그를 확인하여 상기 TS 패킷의 오류 여부를 확인하는 과정과, 상기 TS 패킷의 헤더 정보를 분석하여 상기 섹션의 헤더 시작 위치를 찾은 후, 동일한 섹션에 속하는 적어도 하나의 TS 패킷을 검출하는 과정과, 상기 동일한 섹션에 속하는 적어도 하나의 TS 패킷의 헤더 정보로부터 연속 카운터 정보를 이용하여 오류가 발생된 TS 패킷의 개수를 체크하는 과정과, 상기 오류가 발생된 TS 패킷의 데이터를 제외한 나머지 정상적인 TS 패킷의 데이터의 버퍼링 위치를 계산하 여 버퍼링하는 과정과, 상기 버퍼링된 데이터와 삭제 정보를 이용하여 MPE-FEC 복호화 과정을 포함함을 특징으로 한다.In a method of buffering and decoding section data in a receiver of a digital broadcasting system transmitting a transport stream (TS) packet according to the present invention, checking whether an error of the TS packet is confirmed by checking an error detection flag from header information of the TS packet. Analyzing the header information of the TS packet to find the header start position of the section, and then detecting at least one TS packet belonging to the same section, and header information of at least one TS packet belonging to the same section Checking the number of TS packets in error by using the continuous counter information, and calculating and buffering buffering positions of the data of the remaining TS packets except the data of the TS packets in error; MPE-FEC decoding process using the buffered data and the erase information All.

본 발명에 따른 TS(Transport Stream) 패킷을 전송하는 디지털 방송 시스템의 수신기에서 섹션 데이터를 버퍼링하고 복호화하는 장치는 상기 TS 패킷의 헤더 정보를 추출하는 TS 패킷 헤더 분석기와, 상기 섹션의 헤더 정보를 추출하는 섹션 헤더 분석기와, 상기 TS 패킷 및 상기 섹션의 헤더 정보를 저장하는 레지스터와, 상기 섹션의 데이터를 버퍼링하는 버퍼와, 상기 레지스터에 저장된 상기 TS 패킷의 헤더 정보로부터 오류 검출 플래그를 확인하여 해당 TS 패킷의 오류 여부를 확인하고, 상기 섹션의 헤더 시작 위치를 찾은 후, 상기 오류가 발생된 TS 패킷의 개수를 체크하며 상기 오류가 발생된 TS 패킷의 데이터를 제외한 나머지 정상적인 TS 패킷의 버퍼링 위치를 계산하여 상기 섹션의 데이터를 상기 버퍼에 버퍼링하는 섹션 버퍼 및 오류 검사 블록과, 상기 버퍼링된 데이터와 삭제 정보를 이용하여 MPE-FEC 복호화를 수행하는 MPE-FEC 복호화 블록을 포함함을 특징으로 한다.An apparatus for buffering and decoding section data in a receiver of a digital broadcasting system for transmitting a transport stream (TS) packet according to the present invention includes a TS packet header analyzer for extracting header information of the TS packet, and extracts header information of the section. An error detection flag by checking a section header analyzer, a register for storing the TS packet and header information of the section, a buffer for buffering the data of the section, and header information of the TS packet stored in the register to check the corresponding TS. After checking whether there is an error of the packet, finding the header start position of the section, checking the number of TS packets in which the error occurred, and calculating buffering positions of the normal TS packets except the data of the TS packet in which the error occurred. A section buffer and an error checking block for buffering data of the section in the buffer; Using the buffered data and the erasure information is characterized in that it comprises an MPE-FEC decoding block for performing MPE-FEC decoding.

본 발명에 따른 복호 방법은 전송 스트림(Transport Stream : TS) 패킷을 전송하는 시스템의 수신기에서 수신 데이터를 복호 방법으로, 상기 수신된 TS 패킷의 오류 여부를 판단하고, 오류 여부를 나타내는 오류 정보를 생성하는 과정과, 상기 수신된 TS 패킷과 유효 정보를 이용하여 RS 복호화를 수행하는 과정과, 상기 RS 복호화 결과 복호화를 실패하면, 오류가 발생한 TS 패킷에 대하여 TS 패킷의 헤더 정보 중 동기 정보 필드, 패킷 아이디 필드, 연속 카운터 정보를 이용하여 헤더의 상관도 검사를 수행하는 과정과, 상기 헤더의 상관도 검사 결과를 이용하여 상기 오류 정보를 갱신하는 과정과, 상기 수신된 TS 패킷과 상기 갱신된 오류 정보를 이용하여 RS 복호를 수행하는 과정을 포함한다.The decoding method according to the present invention is a method of decoding received data in a receiver of a system for transmitting a transport stream (TS) packet, and determines whether the received TS packet is an error, and generates error information indicating whether the error is an error. And a process of performing RS decoding using the received TS packet and valid information; and if the RS decoding fails as a result of the RS decoding, a synchronization information field and a packet of header information of a TS packet with respect to an errored TS packet. Performing a correlation check of the header using an ID field and continuous counter information, updating the error information using a result of the correlation check of the header, and receiving the received TS packet and the updated error information. It includes the process of performing RS decoding using.

본 발명에 따른 복호 장치는 TS(Transport Stream) 패킷을 전송하는 디지털 방송 시스템의 수신기에서 섹션 데이터를 버퍼링하고 복호화하는 장치는 사용자 정보를 섹션으로 구분하고, 상기 각 섹션들은 둘 이상의 패킷으로 구분하여 전송되며, 상기 섹션들은 섹션 헤더를 가지고, 상기 패킷은 미리 결정된 고정 값과 상기 정보의 종류를 지시하는 값 및 상기 정보의 연속성을 지시하는 식별자를 헤더로 가지며, 상기 전송할 정보를 채널 부호화 및 리드-솔로몬(RS) 부호화하고, 오류 검출 비트를 포함하여 전송하는 시스템의 수신기에서 수신 패킷의 복호 장치로, 상기 패킷의 헤더 정보를 추출하는 패킷 헤더 분석기와, 상기 상기 섹션의 헤더 정보를 추출하는 섹션 헤더 분석기와, 상기 패킷 및 상기 섹션의 헤더 정보를 저장하는 레지스터와, 상기 패킷에 포함된 사용자 정보를 버퍼링하는 버퍼와, 상기 패킷 헤더의 상관도를 검사하여 유효성 값을 제공하는 상관기와, 상기 레지스터에 저장된 상기 패킷의 헤더 정보로부터 오류 검출 플래그로부터 패킷의 오류 정보와, 상기 섹션의 헤더 시작 위치부터 오류가 발생된 패킷의 개수에 따라 버퍼링 위치를 결정하며, 반복 복호 시 유효성 값에 따라 상기 오류 정보를 갱신하는 섹션 버퍼 및 오류 검사 블록과, 상기 버퍼와 상기 섹션 버퍼 및 오류 검사 블록으로부터 수신된 정보를 이용하여 RS 복호를 수행하는 복호기를 포함한다.In the decoding apparatus according to the present invention, a device for buffering and decoding section data in a receiver of a digital broadcasting system transmitting a TS (Transport Stream) packet divides user information into sections, and each section is divided into two or more packets for transmission. Wherein the sections have a section header, the packet has a predetermined fixed value, a value indicating the type of the information, and an identifier indicating the continuity of the information, and the channel information and the Reed-Solomon (RS) An apparatus for decoding a received packet from a receiver of a system for encoding and including an error detection bit, the packet header analyzer extracting header information of the packet, and the section header analyzer extracting header information of the section. And a register for storing header information of the packet and the section, and included in the packet. A buffer buffering user information, a correlator for checking a correlation of the packet header and providing a validity value, error information of a packet from an error detection flag from header information of the packet stored in the register, and header start of the section From the position, the buffering position is determined according to the number of packets in which an error is generated, and is received from the section buffer and the error checking block for updating the error information according to the validity value during repeated decoding, and from the buffer and the section buffer and the error checking block. And a decoder that performs RS decoding using the received information.

이하 본 발명에 따른 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 하기의 설명에서는 본 발명에 따른 동작을 이해하는데 필요한 부분만이 설명되며 그 이외 부분의 설명은 본 발명의 요지를 흩트리지 않도록 생략될 것이라는 것을 유의하여야 한다.본 발명의 제 1 실시 예를 설명하기에 앞서 본 발명의 제 1 실시예의 기본 개념을 설명하면, 본 발명은 TS 패킷의 오류 검출 플래그(error detection flag)를 이용하여 MPE-FEC 디코딩의 성능을 향상시키도록 제안된 것이다. 즉 기존의 복호 방법에서 섹션 검출 및 버퍼링 방식은 섹션 데이터의 CRC 검사 결과를 근거로 버퍼링 여부를 결정지었다. 본 발명에서 제안하는 섹션 검출 및 버퍼링 방식은 TS 패킷의 오류 검출 플래그, 즉 채널 디코더에서 수행되는 RS 디코딩에 의한 결과 값과 TS 패킷들 간의 후술할 연속(continuity) 카운터 정보를 근거로 해당 섹션 데이터의 버퍼링 여부를 결정짓게 된다. DVB-H 시스템의 수신기에서 섹션의 검출 및 버퍼링과 RS 디코딩이 수행되는 블록의 전단에 위치된 채널 디코더는 전술한 것처럼 비터비 디코더와 예컨대, (204, 188) 규격의 다른 RS 디코더를 구비한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that in the following description, only parts necessary for understanding the operation according to the present invention will be described, and descriptions of other parts will be omitted so as not to distract from the gist of the present invention. Prior to explaining the basic concept of the first embodiment of the present invention, the present invention is proposed to improve the performance of MPE-FEC decoding by using the error detection flag of the TS packet. That is, in the conventional decoding method, the section detection and buffering method determines whether to buffer based on the CRC test result of the section data. The section detection and buffering scheme proposed by the present invention is based on the error detection flag of the TS packet, that is, the result value of the RS decoding performed by the channel decoder and the continuity counter information to be described later between the TS packets. You decide whether to buffer. The channel decoder located at the front of the block where the detection and buffering of the section and the RS decoding in the receiver of the DVB-H system is performed includes a Viterbi decoder as described above and other RS decoders of the (204, 188) standard, for example.

본 발명의 제1 실시예에서는 상기 채널 디코더에서 수행되는 RS 디코딩의 1 비트 결과 값을 TS 패킷의 오류 검출 플래그로 설정하며, 상기 오류 검출 플래그는 채널 디코더로부터 출력되는 TS 패킷 헤더에 포함되어 MPE-FEC 버퍼링 과정에 사용되어 MPE-FEC 복호 시에 활용된다. 따라서 본 발명에서 제안하는 제 1 실시 예에서는 TS 패킷의 오류 검출 플래그를 MPE-FEC 복호를 위한 TS 패킷 단위의 섹션 검출 및 버퍼링에 이용한다.In the first embodiment of the present invention, the 1-bit result value of RS decoding performed in the channel decoder is set as an error detection flag of a TS packet, and the error detection flag is included in a TS packet header output from the channel decoder to provide MPE-. It is used in the FEC buffering process and used for MPE-FEC decoding. Therefore, in the first embodiment proposed by the present invention, an error detection flag of a TS packet is used for section detection and buffering of a TS packet unit for MPE-FEC decoding.

본 출원인의 실험에 의하면, 본 발명에 따른 제 1 실시 예를 적용하면, 채널 디코더에서 수행되는 (204,188) RS 디코딩 결과 디코딩의 정확도는 매우 높아서 오판할 확률이 10-6 정도로 매우 낮음을 확인할 수 있었다. 그리고 본 발명에 따라 TS 패킷 단위로 섹션 데이터를 버퍼링하는 경우 오류가 발생된 TS 패킷의 개수를 파악하여야 하며, 이는 TS 패킷의 헤더 정보에 포함된 연속 카운터(continuity counter) 정보를 이용하여 판별할 수 있다. 따라서 본 발명의 섹션 데이터 검출 방법을 이용하면, 정상적인 섹션 데이터의 손실을 방지할 수 있으므로 MPE-FEC 디코딩의 성능을 향상시킬 수 있다.According to the experiments of the present applicant, applying the first embodiment according to the present invention, it was confirmed that the decoding accuracy of the (204,188) RS decoding performed in the channel decoder is very high, so that the probability of misjudgment is very low, such as 10-6. . When buffering section data in units of TS packets according to the present invention, the number of TS packets having an error must be determined, which can be determined using continuity counter information included in header information of a TS packet. have. Therefore, by using the section data detection method of the present invention, it is possible to prevent the loss of the normal section data, thereby improving the performance of MPE-FEC decoding.

이하에서는 하기 <표 1> 및 도 8을 참조하여 상기 오류 검출 플래그와 연속 카운터(continuity counter) 정보가 포함된 TS 패킷의 헤더 구조를 설명한 후, 도 5 내지 도 7을 참조하여 본 발명의 제 1 실시 예를 상세하게 설명하기로 한다.Hereinafter, the header structure of the TS packet including the error detection flag and the continuity counter information will be described with reference to Table 1 and FIG. 8, and then the first embodiment of the present invention will be described with reference to FIGS. 5 to 7. An embodiment will be described in detail.

Figure 112006079897875-pat00001
Figure 112006079897875-pat00001

도 8은 일반적인 DVB-H 시스템에서 TS 패킷의 헤더 구조를 나타낸 도면으로서, TS 패킷(801)의 헤더(803) 구조를 살펴보면, TS 패킷의 헤더는 동기를 맞추기 위한 "sync byte" 필드(805)(이하 "동기 정보 필드"라 칭함)와, 상기 오류 검출 플래그를 지시하는 "transport error indicator" 필드(807)와, 해당 TS 패킷에 섹션의 헤더가 실려 있는지를 지시하는 "payload unit start indicator" 필드(809)와, 해당 TS 패킷을 통해 전송되는 프로그램의 식별자를 나타내는 "PID" 필드(811)와, TS 패킷의 스트림에서 예컨대, 0부터 15까지 순환되는 TS 패킷의 일련 번호를 나타내는 "연속성 카운터(continuity counter)" 필드(813)와, 섹션의 헤더 정보의 위치를 나타내는 pointer byte가 포함된 "adaption field" 필드(815)를 포함한다. 여기서 상기 pointer byte는 상기 "adaption field" 필드(815)내 "adaption field length" 필드(817)에 실려있다.8 is a diagram illustrating a header structure of a TS packet in a general DVB-H system. Referring to the header 803 structure of the TS packet 801, the header of the TS packet is a "sync byte" field 805 for synchronization. (Hereinafter referred to as a "synchronous information field"), a "transport error indicator" field 807 indicating the error detection flag, and a "payload unit start indicator" field indicating whether a section header is included in the TS packet. 809, a " PID " field 811 indicating an identifier of a program transmitted through the TS packet, and a " continuity counter " indicating a serial number of TS packets circulated from 0 to 15 in the stream of TS packets, for example. continuity counter) field 813 and an "adaption field" field 815 including a pointer byte indicating the location of the section header information. The pointer byte is contained in the "adaption field length" field 817 in the "adaption field" field 815.

상기한 헤더 구조를 갖는 TS 패킷을 수신하는 본 발명의 수신기는 도 1의 수신기와 동일한 구성을 가지며, 다만 본 발명의 제 1 실시 예에 따라 복호를 위한섹션 데이터 검출 및 버퍼링 장치는 도 1의 MPE-FEC 디코더(119)에 구비된다. 따라서 도 1과 동일한 구성에 대한 상세한 설명은 생략하기로 하며, 본 발명의 제 1 실시 예에 따른 복호기는 아래에서 살피기로 한다.The receiver of the present invention for receiving the TS packet having the header structure has the same configuration as the receiver of FIG. 1 except that the section data detection and buffering apparatus for decoding according to the first embodiment of the present invention is the MPE of FIG. 1. Is provided in the FEC decoder 119. Therefore, a detailed description of the same configuration as in FIG. 1 will be omitted, and the decoder according to the first embodiment of the present invention will be described below.

도 5는 본 발명의 제 1 실시 예에 따른 디지털 방송 시스템의 수신기에서 복호기의 상세 구성을 나타낸 블록도이다.5 is a block diagram showing a detailed configuration of a decoder in a receiver of a digital broadcasting system according to the first embodiment of the present invention.

도 5에서 TS 패킷 헤더 분석기(501)는 섹션의 검출을 위해서 TS 패킷의 헤더 정보를 추출하여 제1 레지스터(503)로 전달하고, TS 패킷의 데이터가 실린 페이로드는 섹션 헤더 분석기(505)로 전달한다. 그리고 섹션 헤더 분석기(505)는 TS 패킷의 헤더 정보가 저장된 제1 레지스터(203)로부터 정보를 수신하여, TS 패킷의 페이로드에 섹션의 헤더 정보와 섹션의 페이로드 정보를 구분하며, 상기 TS 패킷의 페이로드에 섹션의 헤더 정보가 포함된 경우 상기 섹션의 헤더 정보를 추출하여 제2 레지스터(507)로 전달하고, 상기 TS 패킷의 페이로드에 섹션의 데이터가 실린 경우 상기 TS 패킷의 페이로드는 섹션 버퍼 및 오류 검사 블록(509)으로 전달한다. 상기 섹션 버퍼 및 오류 검사 블록(509)은 TS 패킷 단위로 섹션 데이터 버퍼링한다. 상기 제1레지스터(503)는 본 발명에 따라 TS 패킷의 헤더 정보로부터 상기 오류 검출 플래그 및 연속 카운터 정보를 상기 섹션 버퍼 및 오류 검사 블록(509)으로 제공한다. 따라서 본 발명에 따른 상기 섹션 버퍼 및 오류 검사 블록(509)은 상기 오류 검출 플래그를 확인하여 해당 TS 패킷의 오류 발생 여부를 검사함과 아울러 상기 연속 카운터 정보를 확인하여 연속적으로 수신되는 TS 패킷의 스트림 중에서 오류가 발생된 TS 패킷의 개수를 체크한다. 상기와 같이 섹션 버퍼 및 오류 검사 블록(509)은 오류가 발생된 TS 패킷의 개수를 확인한 후 나머지 정상적인 TS 패킷의 버퍼링 위치를 계산한다.In FIG. 5, the TS packet header analyzer 501 extracts the header information of the TS packet and transmits the header information of the TS packet to the first register 503, and the payload including the TS packet data is transferred to the section header analyzer 505. To pass. The section header analyzer 505 receives information from the first register 203 in which the header information of the TS packet is stored, and divides the header information of the section and the payload information of the section into the payload of the TS packet. If the payload of the section includes the header information of the section, the header information of the section is extracted and transferred to the second register 507. If the payload of the TS packet contains the section data, the payload of the TS packet is Pass to section buffer and error checking block 509. The section buffer and error check block 509 buffers section data in units of TS packets. The first register 503 provides the error detection flag and continuous counter information to the section buffer and error check block 509 from header information of a TS packet in accordance with the present invention. Accordingly, the section buffer and error check block 509 according to the present invention checks the error detection flag to check whether an error occurs in the corresponding TS packet, and checks the continuous counter information to continuously receive the TS packet stream. The number of TS packets having an error is checked. As described above, the section buffer and error check block 509 checks the number of TS packets in which an error has occurred, and then calculates buffering positions of the remaining normal TS packets.

도 5에서 섹션 버퍼 및 오류 검사 블록(509)은 제2레지스터(507)로부터 섹션의 크기 정보를 수신하여, MPE-FEC RS 디코더(513)로 복호 시작(decoding start) 신호를 출력하고, 오류 검사가 완료된 섹션 데이터 및 유효성 여부를 알리는 오류 정보를 MPE-FEC 버퍼(511)로 전달한다. 상기 MPE-FEC 버퍼(511)에 저장되는 섹션 데이터는 TS 패킷 단위로 버퍼링된다. 그리고 MPE-FEC RS 디코더(513)는 MPE-FEC 버퍼(511)로부터 전달된 오류 정보를 근거로 섹션 데이터에 대한 MPE-FEC RS 디코딩을 수행하여 원래 방송 데이터를 복원한다. 이와 같이 본 발명에 따른 섹션 버퍼 및 오류 검사 블록(509)은 종래 기술에서와 같이 버퍼링된 섹션 데이터의 CRC 검사 결과를 근거로 MPE-FEC 버퍼(211)로의 버퍼링 여부를 결정하지 않고, TS 패킷의 오류 검출 플래그와 연속 카운터 정보를 근거로 TS 패킷의 오류 발생 여부와 오류가 발생된 TS 패킷의 개수를 확인하고, 오류가 발생된 TS 패킷을 제외한 정상적인 TS 패킷의 버퍼링 위치를 계산한다. 따라서 본 발명에서는 MPE-FEC RS 디코딩을 할 때 종래 기술에 비해 버퍼링된 섹션 데이터의 양이 많아지므로 정확한 디코딩을 수행하여 MPE-FEC RS 디코딩의 성능을 향상시킬 수 있다.In FIG. 5, the section buffer and error checking block 509 receives the size information of the section from the second register 507, outputs a decoding start signal to the MPE-FEC RS decoder 513, and checks for errors. The MPE-FEC buffer 511 transfers the completed section data and error information indicating whether or not the data is valid. Section data stored in the MPE-FEC buffer 511 is buffered in units of TS packets. The MPE-FEC RS decoder 513 restores the original broadcast data by performing MPE-FEC RS decoding on the section data based on the error information transmitted from the MPE-FEC buffer 511. As described above, the section buffer and error check block 509 according to the present invention does not determine whether to buffer the MPE-FEC buffer 211 based on the CRC check result of the buffered section data as in the prior art. Based on the error detection flag and the continuous counter information, whether or not an error occurs in the TS packet and the number of TS packets in which an error has occurred is determined, and a buffering position of a normal TS packet except for the TS packet in which an error occurs is calculated. Therefore, in the present invention, when the MPE-FEC RS decoding, the amount of the buffered section data is increased compared to the prior art, so that the performance of the MPE-FEC RS decoding can be improved by performing accurate decoding.

도 6은 본 발명의 제 1 실시 예에 따라 오류가 발생된 TS 패킷이 포함된 섹션의 검출 및 버퍼링 과정을 나타낸 것으로서, 도 6에서 도 3과 동일한 구성(설명)에 대해서는 동일한 참조번호를 붙이고, 그 상세한 설명은 생략하기로 한다.FIG. 6 is a diagram illustrating a detection and buffering process of a section including an error TS packet according to the first embodiment of the present invention. In FIG. The detailed description thereof will be omitted.

도 6에서 참조번호 610은 도 5의 MPE-FEC 버퍼(511)에서 오류가 발생된 TS 패킷과 정상적으로 수신된 TS 패킷을 본 발명에 따른 오류 정보를 이용하여 구분한 경우의 버퍼링 과정을 나타낸 것이다. 도 6의 TS 패킷들의 시퀀스(310)에서 우측 상단에 "O"으로 표시된 TS 패킷은 정상적으로 수신된 TS 패킷(311)을 나타낸 것이고, "X"로 표시된 TS 패킷은 오류가 발생된 TS 패킷(313)을 나타낸 것이다. TS 패킷 단위로 섹션 데이터를 재구성하는 과정에서 오류가 발생된 TS 패킷(313)이 포함되어 있는 경우 섹션 버퍼 및 오류 검사 블록(509)은 도 6의 참조번호 611과 같이 오류가 발생된 TS 패킷의 데이터만을 오류로 처리하고, 참조번호 613, 615와 같이 정상적으로 수신된 TS 패킷의 데이터는 동일한 섹션 내에서 버퍼링한다. 이와 같이 실제로 오류가 발생한 TS 패킷의 페이로드만을 오류로 처리함으로써 전체 섹션의 복호에 대한 성능이 향상되는 것이다.In FIG. 6, reference numeral 610 illustrates a buffering process when a TS packet in which an error occurs in the MPE-FEC buffer 511 of FIG. 5 and a normally received TS packet are divided by using error information according to the present invention. In the sequence 310 of TS packets of FIG. 6, a TS packet indicated by "O" in the upper right corner shows a TS packet 311 that is normally received, and a TS packet indicated by "X" indicates a TS packet 313 in which an error has occurred. ). When the TS packet 313 having an error is included in the process of reconstructing the section data in units of TS packets, the section buffer and the error checking block 509 may be configured as shown by reference numeral 611 of FIG. 6. Only data is treated as an error, and data of normally received TS packets as shown by reference numerals 613 and 615 are buffered within the same section. As such, only the payload of the TS packet having an error is treated as an error, thereby improving the performance of decoding the entire section.

도 7은 본 발명의 제 1 실시 예에 따른 섹션 검출 및 버퍼링 방법을 나타낸 순서도로서, 701 단계에서 수신기는 TS 패킷의 헤더 정보로부터 상기 <표 1>에서 설명한 오류 검출 플래그를 확인하여 TS 패킷의 오류 여부를 확인한 후 703 단계에서 PID 필터링을 수행하여 원하는 프로그램의 TS 패킷을 검출한다. 이후 705 단계에서 수신기는 TS 패킷의 헤더 정보를 분석하여 섹션의 헤더 시작 위치를 찾은 후, 707 단계에서 동일한 섹션에 속하는 적어도 하나의 TS 패킷의 헤더 정보로부터 상기 <표 1>에서 설명한 연속 카운터 정보를 확인하여 연속적으로 수신되는 TS 패킷의 스트림에서 오류가 발생된 TS 패킷의 개수를 체크한다. 그리고 수신기는 709 단계에서 상기 오류가 발생된 TS 패킷의 개수 정보와 섹션의 헤더 정보를 분석하여 711 단계에서 오류가 발생된 TS 패킷을 제외한 나머지 정상적인 TS 패킷의 버퍼링 위치를 계산한다. 713 단계에서 수신기는 상기 711 단계에서 계산된 버퍼링 위치에 따라 섹션 데이터를 TS 패킷 단위로 버퍼링한다. 그리고 715 단계에서 수신기는 한 버스트의 섹션 데이터를 버퍼링한 경우 MPE-FEC RS 디코딩을 수행하여 원래 방송 데이터를 복원한다. 이와 같이 본 발명에 의하면, MPE-FEC 디코딩 시 섹션 데이터의 버퍼링을 TS 패킷 단위로 수행하고, 오류가 발생된 TS 패킷의 데이터만을 삭제 처리하여 디코딩을 수행하므로 MPE-FEC 디코딩의 성능을 향상시킬 수 있다.FIG. 7 is a flowchart illustrating a section detection and buffering method according to a first embodiment of the present invention. In step 701, a receiver checks an error detection flag described in Table 1 above from header information of a TS packet to determine an error of a TS packet. After checking whether or not, in step 703, PID filtering is performed to detect TS packets of a desired program. Thereafter, in step 705, the receiver analyzes the header information of the TS packet to find the header start position of the section, and then in step 707, the receiver obtains the continuous counter information described in Table 1 from the header information of the at least one TS packet belonging to the same section. The number of TS packets having an error in the stream of TS packets continuously received is checked. In operation 709, the receiver analyzes the number information of the TS packet in which the error occurs and the header information of the section, and calculates buffering positions of the normal TS packets except for the TS packet in which the error occurs in step 711. In step 713, the receiver buffers section data in units of TS packets according to the buffering position calculated in step 711. In step 715, the receiver restores the original broadcast data by performing MPE-FEC RS decoding when buffering section data of one burst. As described above, the MPE-FEC decoding can improve the performance of MPE-FEC decoding because buffering of section data is performed in units of TS packets and decoding is performed by deleting only data of an errored TS packet. have.

< 제 2 실시 예 >Second Embodiment

본 발명의 제 2 실시 예를 설명하기에 앞서 본 발명의 제 2 실시예의 기본 개념을 설명한다. 본 발명의 제 1 실시 예에서는 채널 디코더에서 수행되는 (204,188) RS 디코딩의 결과값을 이용하여 TS 패킷 단위로 MPE-FEC 버퍼링을 수행한다. (204, 188) RS 디코딩의 경우는 8byte까지의 오류에 대하여 오류 정정이 가능하며, 그 이상의 오류에 대하여는 오류가 발생한 것으로 설정한다. 이것은 실제 TS 패킷 188byte중 8byte를 조금 상회하는 에러 상황에 대해서도 오류가 발생한 것으로 설정되어 MPE-FEC 복호화 과정에서 활용되지 못하고 버려지게 되지만, 188byte의 많은 데이터 부분은 오류가 없는 데이터로 가정할 수 있다.Before explaining the second embodiment of the present invention, the basic concept of the second embodiment of the present invention will be described. In the first embodiment of the present invention, MPE-FEC buffering is performed in units of TS packets by using a result value of (204,188) RS decoding performed in a channel decoder. (204, 188) In the case of RS decoding, error correction is possible for an error of up to 8 bytes, and an error has been set for more errors. Although this error is set to occur even in an error situation slightly larger than 8 bytes of the 188 bytes of the TS packet, it cannot be utilized during the MPE-FEC decoding process, but many data portions of 188 bytes can be assumed to be data without errors.

따라서 본 발명의 제 2 실시 예에서는 우선 본 발명의 제 1 실시 예에 따라 MPE-FEC 복호화를 수행한다. 앞서 언급했듯이 제 1 실시 예에 따른 MPE-FEC 복호화 과정에서는 오류가 검출된 TS 패킷은 사용되지 않는다. 이 후 오류가 검출된 TS 패킷에 대하여 헤더 부분을 이전 또는 이후 TS 패킷의 헤더 부분과 상관(correlation)을 취하여 유사성 또는 신뢰도를 판단하고, 유사성 또는 신뢰도 조건을 만족할 때 상기 TS 패킷을 오류가 검출되지 않은 것으로 판단하여 MPE-FEC 복호화를 한번 더 수행한다. 상기와 같이 오류가 검출된 TS 패킷에 대하여 오류가 있는 경우와 없는 경우 두 가지에 대하여 MPE-FEC RS 복호를 반복적으로 수행함으로써 오류 정정 확률을 추가적으로 향상시킬 수 있다.Therefore, in the second embodiment of the present invention, first, MPE-FEC decoding is performed according to the first embodiment of the present invention. As mentioned above, in the MPE-FEC decoding process according to the first embodiment, a TS packet in which an error is detected is not used. Thereafter, the header part is correlated with the header part of the TS packet before or after the error is detected, and the similarity or reliability is determined, and when the similarity or reliability condition is satisfied, the TS packet is not detected. If not, MPE-FEC decoding is performed once more. As described above, MPE-FEC RS decoding may be repeatedly performed on two cases in which there is an error in the TS packet in which an error is detected, and the probability of error correction may be further improved.

도 9는 본 발명의 제 2 실시 예에 따른 TS 패킷 헤더의 상관 장치를 나타낸 도면으로서, 도 9에서 도 8과 동일한 구성(설명)에 대해서는 동일한 참조번호를 붙이고, 그 상세한 설명은 생략하기로 한다.FIG. 9 is a diagram illustrating a correlation apparatus of a TS packet header according to a second embodiment of the present invention. In FIG. 9, the same elements as in FIG. 8 are denoted by the same reference numerals, and detailed description thereof will be omitted. .

도 9에서 연속된 TS 패킷의 시퀀스에 대하여 쉽게 검출해 낼 수 있는 부분들은 동기 정보 필드(805), "PID" 필드(811), "연속성 카운터(continuity counter)" 필드(813)에 대한 정보이다.만약, TS 패킷이 오류가 발생하여 오류 검출 플래그가 "1"로 설정되어도 상기 동기 정보 필드(805), "PID" 필드(811), "연속성 카운터(continuity counter)" 필드(813) 총 25bit의 정보를 비교해 보면 수신기가 수신해야 할 TS 패킷인지 아닌지를 대략적으로 판단할 수 있다.In FIG. 9, parts that can be easily detected for a sequence of consecutive TS packets are information on a synchronization information field 805, a "PID" field 811, and a "continuity counter" field 813. .25 bits of the synchronization information field 805, the "PID" field 811, and the "continuity counter" field 813, even if the TS packet has an error and the error detection flag is set to "1". Comparing the information, the receiver can roughly determine whether or not it is a TS packet to be received.

도 9에서는 상기 설명한 헤더 정보의 유사성 또는 신뢰도를 판단하기 위하여 입력되는 헤더의 정보를 보여주고 있다. 동기 정보 필드 필드(805)는 미리 정해져 있는 값이므로 수신된 값과 미리 정해진 값이 일치하는지 여부를 판단하여 수신된 TS 패킷의 유사성 또는 신뢰도를 판정할 수 있다. 또한 "PID" 필드(811)는 방송 정보를 포함하고 있으므로, 수신기가 수신하려고 하는 방송의 PID 인지를 판정할 수 있다. 그리고 "previous continuity counter" 필드(901)는 이전 수신한 TS 패킷의 연속성 카운터(continuity counter) 필드값이다. 즉, "연속성 카운터(continuity counter)" 필드(813)와 "previous continuity counter" 필드(901)를 비교함으로써 패킷의 연속성을 검사하기 위한 것이다. 이를 좀 더 상술하면, 연속성 카운터(continuity counter)의 순환 반복 특성에 따라 이전 연속성 카운터 값을 이용하여 현재 수신한 패킷의 연속성을 검사할 수 있다. 따라서 이를 통해 현재 오류가 발생한 TS 패킷이 원래 수신되어야 할 패킷인지를 판정할 수 있다.9 shows information of a header input for determining similarity or reliability of the above-described header information. Since the synchronization information field field 805 is a predetermined value, it may be determined whether the received value and the predetermined value match to determine similarity or reliability of the received TS packet. In addition, since the "PID" field 811 includes broadcast information, it is possible to determine whether the receiver is a PID of a broadcast to be received. The "previous continuity counter" field 901 is a value of the continuity counter field of the previously received TS packet. That is, to check the continuity of the packet by comparing the "continuity counter" field 813 and the "previous continuity counter" field 901. In more detail, the continuity of the currently received packet may be checked using a previous continuity counter value according to the cyclic repetition characteristic of the continuity counter. Therefore, through this, it is possible to determine whether the TS packet in which the current error has occurred is a packet to be originally received.

상기 TS 패킷 헤더 상관기(903)는 본 발명에 따라 구비되는 것이며, 본 발명의 제 1 실시 예에 적용하면, 도 5의 제1레지스터(503)로부터 정보를 수신하여 상관도를 취하고, 그 결과 값을 섹션 버퍼 및 오류 검사 블록(509) 또는/및 MPE-FEC 버퍼(511)로 제공할 수 있다. 따라서 본 발명에 따른 반복 복호 시에 MPE-FEC RS 복호기(513)에서 상기 상관기(903)에서 상관도가 검사된 결과 값을 이용하여 반복 복호를 수행할 수 있다.The TS packet header correlator 903 is provided according to the present invention. When applied to the first embodiment of the present invention, the TS packet header correlator 903 receives information from the first register 503 of FIG. May be provided to the section buffer and error check block 509 or / and the MPE-FEC buffer 511. Therefore, in the iterative decoding according to the present invention, the MPE-FEC RS decoder 513 can perform the iterative decoding using the result of the correlation checked in the correlator 903.

도 10은 본 발명의 제 2 실시 예에 따른 반복 복호 방법에서 첫 번째 복호화 과정을 나타낸 도면이다.10 is a diagram illustrating a first decoding process in an iterative decoding method according to a second embodiment of the present invention.

상기 도 10에 도시한 데이터들은 신뢰할 수 있는 데이터와, 오류가 존재하는 데이터로 구분된다. 따라서 신뢰할 수 있는 데이터의 경우 상기 도 10에서 "reliable"로 표시하였고, 오류가 존재하는 즉, 신뢰할 수 없는 데이터의 경우 도 10에서 "erasure"로 표시하였다. 이러한 정보들은 각 TS 패킷들에 대하여 각각 설정되는 것으로, 오류 검사 결과에 따라 검출된 정보가 되며, 이에 대응하여 MPE-REC 버퍼(511)에 상기 도 10에 도시한 바와 같은 형태로 데이터가 저장되어 있다. 그리고 상기 도 10에 도시한 "reliable" 및 "erasure" 정보는 데이터와 별도로 저장되어 상기 MPE-FEC RS 복호기(513)로 입력된다.The data shown in FIG. 10 are divided into reliable data and data in which an error exists. Therefore, in the case of reliable data, it is indicated as "reliable" in FIG. 10, and an error exists, that is, in the case of unreliable data, it is indicated as "erasure" in FIG. Such information is set for each TS packet, which is information detected according to an error check result, and correspondingly, data is stored in the MPE-REC buffer 511 in the form shown in FIG. 10. have. The "reliable" and "erasure" information shown in FIG. 10 are stored separately from the data and input to the MPE-FEC RS decoder 513.

수신기에서 수신한 TS 패킷들은 상기 MPE-FEC 버퍼(511)에 세로축 256, 512 또는 1024byte 크기, 가로축 255byte 크기의 하나의 버스트(1001) 단위로 버퍼링된다. 이때, MPE-FEC 버퍼(511)에 TS 패킷들이 저장되는 순서는 버스트의 오른쪽 상단으로부터 아래쪽으로 저장되며, 하나의 열이 모두 저장되면, 그 다음 열에 저장한다. 이러한 방식으로 각 열들을 모두 저장하고 나면, RS 복호가 이루어진다. RS 복호는 잘 알려진 바와 같이 저장되어 있는 데이터들을 행 단위로 읽어 복호를 수행하는 것이다. 따라서 상기 도 10에서 191로 표시된 부분은 방송에 필요한 정보가 되며, 64로 표기된 부분은 RS 부호화 시에 생성된 패리티 정보가 된다. 상기 정보들은 가로축으로 데이터를 읽어들여 (255, 191) 유효성 결과 정보를 이용하여 RS 복호를 수행한다. 즉, 상기 도 10에서 "reliable"로 표시된 TS 패킷들은 오류 검출 플래그가 "0"으로 설정된 오류가 없는 패킷이며, "erasure"로 표시된 TS 패킷은 오류 검출 플래그가 "1"로 설정된 오류가 발생한 패킷이다. 따라서 상기 정보들을 이용하여 "erasure"로 표기된 부분의 정보들의 오류를 정정할 수 있다.TS packets received by the receiver are buffered in the MPE-FEC buffer 511 in units of one burst 1001 having a vertical axis of 256, 512, or 1024 bytes and a horizontal axis of 255 bytes. At this time, the order in which the TS packets are stored in the MPE-FEC buffer 511 is stored from the upper right side of the burst to the lower side. When one row is all stored, the TS packets are stored in the next row. After each row has been stored in this manner, RS decoding is performed. As is well known, RS decoding reads stored data row by row and performs decoding. Accordingly, the portion indicated by 191 in FIG. 10 becomes information necessary for broadcasting, and the portion indicated by 64 becomes parity information generated during RS encoding. The information is read on the horizontal axis and RS decoding is performed using the validity result information (255, 191). That is, TS packets marked as "reliable" in FIG. 10 are packets without errors in which an error detection flag is set to "0", and TS packets marked as "erasure" are packets in which an error is set with an error detection flag set to "1". to be. Therefore, the above information can be used to correct an error of information of the portion marked "erasure".

그러면, 하나의 행으로부터 데이터를 읽어들여 (255, 191) 유효성 결과 정보를 이용하여 RS 복호를 수행하는 과정(1003)을 좀 더 상세히 살펴보기로 한다. RS 복호 시에 MPE-FEC 버퍼(511)로부터 TS 패킷의 데이터 뿐만 아니라 reliable/erasure 정보(1005)도 같이 읽어들여 복호화를 수행하게 된다. 따라서 도 10에서는 본 발명의 제 1 실시 예에 따라서 오류 검출 플래그를 그대로 사용하여 복호화를 수행한 것을 나타낸 것이다. 상기 첫 번째 복호 과정에서 오류 정정이 되지 않는 경우 본 발명의 제 2 실시 예에 따라 두 번째 복호 과정을 수행한다. 이와 같이 1차 RS 복호를 수행한 이후에도 섹션에 오류가 존재하면 본 발명이 제 2 실시 예에 따른 2차 RS 복호를 수행한다.Next, a process 1003 of reading data from one row and performing RS decoding using the validity result information (255, 191) will be described in more detail. During RS decoding, not only the data of the TS packet but also the reliable / erasure information 1005 are read from the MPE-FEC buffer 511 to perform decoding. Accordingly, FIG. 10 illustrates decoding performed using the error detection flag as it is according to the first embodiment of the present invention. If error correction is not performed in the first decoding process, a second decoding process is performed according to the second embodiment of the present invention. As described above, if there is an error in the section even after performing the primary RS decoding, the present invention performs the secondary RS decoding according to the second embodiment.

도 11은 본 발명의 제 2 실시 예에 따른 반복 복호 방법에서 두 번째 복호 과정을 나타낸 도면이다.11 is a diagram illustrating a second decoding process in an iterative decoding method according to a second embodiment of the present invention.

도 11에서는 오류가 발생한 TS 패킷에 대하여 도 9에서 설명한 TS 패킷 헤더의 상관도 검사를 수행하여 유사성 또는 신뢰도를 판단하고, 그 결과를 이용하여 버퍼링 과정에서 reliable/erasure 정보를 갱신 한다. 이러한 갱신 과정을 살펴보면, 도 9에서 상술한 바와 같이 TS 패킷의 CRC 검사결과 오류가 존재하더라도 TS 패킷의 헤더 정보를 이용하여 수신된 패킷의 오류 여부를 다시 설정하는 것이다. 즉, 1차 RS 복호 시에 erasure로 표시되어 있는 패킷들의 헤더를 도 9에서 설명한 방법으로 상관도를 검사한다. 상기 상관도의 검사 결과 헤더에 오류가 없는 것으로 검사되면, 실제 TS 패킷의 페이로드에 오류도 없는 것으로 가정하는 것이다. 이는 실제로 TS 패킷의 페이로드에 오류가 존재하더라도 극미한 양만 오류가 존재하므로, 세션 전체에 미치는 영향이 매우 작다는 점을 이용하는 것이다. 그러므로, 2차 RS 복호 시에는 TS 패킷의 헤더를 이용하여 오류가 존재하는 정보들에 대하여만 다시 상관도를 검사한 후 "erasure" 및 "relable"을 새롭게 결정한다. 따라서 상기 도 11에서 erasure로 표시된 TS 패킷(1107)은 헤더 상관도를 검사한 결과 여전히 오류가 있는 것이며, 기존에 오류가 발생한 패킷들 중 일부 패킷(1109-a, 1109-b, 1109-c)은 헤더 상관 수행 결과 유사성 또는 신뢰도가 있는 것으로 판단되어 유효한 데이터로 추정할 수 있게 된 것이다. 따라서 2차 RS 복호 과정에서는 상기 도 11에 도시한 바와 같이 RS 복호가 이루어진다. 즉, 도 11에서 (255, 191) RS 복호 과정(1103)을 살펴보면, 도 9에서 설명한 바와 같은 방법으로 유효성이 없는 TS 패킷들에 대하여 갱신된 reliable/erasure 정보(1105)가 사용됨을 알 수 있다.In FIG. 11, a similarity or reliability is determined by performing a correlation test of the TS packet header described with reference to FIG. 9 with respect to a TS packet in which an error occurs. Referring to this update process, as described above with reference to FIG. 9, even if an error exists as a result of CRC check of the TS packet, the received packet is set again using the header information of the TS packet. That is, the correlation of the headers of the packets marked as erasure at the first RS decoding is checked by the method described with reference to FIG. 9. If the result of the correlation check is that there is no error in the header, it is assumed that there is no error in the payload of the actual TS packet. This is to take advantage of the fact that even if there is an error in the payload of the TS packet, only a small amount of error exists, so the effect on the whole session is very small. Therefore, in the second RS decoding, the correlation is checked again only for information in which an error exists using the header of the TS packet, and then newly determined "erasure" and "relable". Accordingly, the TS packet 1107 indicated by erasure in FIG. 11 is still in error as a result of checking the header correlation, and some packets 1109-a, 1109-b, and 1109-c of the existing packets have an error. As a result of performing header correlation, it is determined that there is similarity or reliability and can be estimated as valid data. Accordingly, RS decoding is performed in the secondary RS decoding process as shown in FIG. 11. That is, referring to (255, 191) RS decoding process 1103 in FIG. 11, it can be seen that updated reliable / erasure information 1105 is used for TS packets that are not valid in the same manner as described in FIG. 9. .

도 12는 본 발명의 제 2 실시 예에 따른 반복 복호 방법에서 섹션의 검출 및 버퍼링 과정을 나타낸 것으로서, 도 12에서 도 3과 동일한 구성(설명)에 대해서는 동일한 참조번호를 붙이고, 그 상세한 설명은 생략하기로 한다.FIG. 12 illustrates a process of detecting and buffering a section in an iterative decoding method according to a second embodiment of the present invention. In FIG. 12, the same components as in FIG. 3 are denoted by the same reference numerals, and detailed description thereof is omitted. Let's do it.

도 12에서 erasure & reliable 로 표시된 TS 패킷(1211)은 본 발명의 제 2 실시 예에서 서술한 것처럼, 오류 검출 플래그는 "1"로 표시되었으나 헤더의 상관을 수행하여 유사성 또는 신뢰성이 있는 것으로 판단한 TS 패킷이다. 상기 패킷에 대하여 MPE-FEC (255, 191) RS 복호화 과정을 수행함에 있어 유효성이 없는(erasure) 패킷으로 판단하고 첫 번째 복호화 과정을 수행하고, 세션의 복호에 실패한 경우 헤더의 상관도 검사를 통과한 경우 신뢰성이 있는(reliable) 패킷으로 판단하고 두 번째 복호화 과정을 수행한다.In the TS packet 1211 denoted as erasure & reliable in FIG. 12, as described in the second embodiment of the present invention, an error detection flag is indicated by “1”, but TS is determined to have similarity or reliability by performing correlation of headers. Packet. In performing the MPE-FEC (255, 191) RS decoding process on the packet, the packet is determined to be an invalid packet and the first decoding process is performed. If the decoding of the session fails, the header correlation check is passed. In one case, it is determined as a reliable packet and a second decoding process is performed.

도 13은 본 발명의 제 2 실시 예에 따른 반복 복호 방법을 나타낸 순서도이다.13 is a flowchart illustrating a iterative decoding method according to a second embodiment of the present invention.

수신기는 수신된 패킷을 복호할 시 1301 단계에서 TS 패킷 단위로 저장된 MPE-FEC 버퍼로부터 페이로드 데이터와 유효성 정보를 독취하고, 1303 단계에서 상기 독취된 정보들을 이용하여 MPE-FEC RS 복호를 수행한다. 이러한 복호 방법은 앞에서 설명한 제 1 실시 예에 따른 복호 방법을 의미한다. 이와 같이 복호를 수행한 이후에 수신기는 1305 단계에서 상기 MPE-FEC RS 복호의 성공 여부를 검사한다. 상기 1305 단계의 검사결과 복호가 성공하였으면, 복호 과정을 종료한다. 만약 1305 단계의 검사결과 복호를 성공하지 못하면 수신기는 1307 단계로 이동하여 본 발명의 제 2 실시 예에서 설명한 바와 같은 2차 복호를 수행한다. 따라서 수신기는 1307 단계로 진행하면, 1차 복호 시에 오류가 발생한 것으로 판정한 TS 패킷(들)의 패킷의 헤더 정보를 이용하여 상관도를 계산한다. 그런 후 수신기는 1309 단계에서 계산된 상관도의 결과가 유사성 또는 신뢰도가 있는지를 판정한다. 이와 같이 판정된 값을 이용하여 유효성 여부를 알리는 오류 정보를 갱신한다. 이때, 판정 결과 유효성이 없는 모든 TS 패킷들에 대하여 유사성 또는 신뢰도가 없다고 판정되면 복호 과정을 종료한다. 그러나 만일 1차 복호 과정에서 유효성이 없는 것으로 판정된 TS 패킷들 중 하나의 TS 패킷이라도 유사성 또는 신뢰도가 있다고 판정되면, 수신기는 311단계로 진행하여 제2오류 정보를 갱신한다. 여기서 제2오류 정보란, 1307 단계에서 상관도 검사를 통해 갱신된 오류 정보를 의미한다. 그런 후 수신기는 1311 단계로 진행하여 상기 갱신된오류 정보를 이용하여 MPE-FEC RS 복호화 과정을 다시 한번 수행한다.When decoding the received packet, the receiver reads payload data and validity information from the MPE-FEC buffer stored in units of TS packets in step 1301, and performs MPE-FEC RS decoding using the read information in step 1303. . This decoding method means a decoding method according to the first embodiment described above. After performing the decoding as described above, the receiver checks whether the MPE-FEC RS decoding succeeds in step 1305. If the decoding succeeds in step 1305, the decoding process ends. If the decoding of the test result of step 1305 is not successful, the receiver moves to step 1307 to perform the second decoding as described in the second embodiment of the present invention. Therefore, when the receiver proceeds to step 1307, the receiver calculates the correlation using the header information of the packet of the TS packet (s) determined to have an error in the first decoding. The receiver then determines whether the result of the correlation calculated in step 1309 is similar or reliable. The error information indicating the validity is updated using the value determined as described above. At this time, if it is determined that there is no similarity or reliability for all TS packets that are not valid, the decoding process ends. However, if one TS packet among TS packets determined to be invalid in the first decoding process has similarity or reliability, the receiver proceeds to step 311 to update the second error information. In this case, the second error information refers to error information updated through correlation checking in step 1307. Thereafter, the receiver proceeds to step 1311 to perform the MPE-FEC RS decoding process once again using the updated error information.

상기와 같이 오류가 검출된 TS 패킷에 대하여 오류가 있는 경우와 없는 경우 두 가지에 대하여 MPE-FEC 복호를 반복적으로 수행함으로써 오류 정정 확률을 추가적으로 향상시킬 수 있다.As described above, MPE-FEC decoding may be repeatedly performed on two cases in which there is an error in the TS packet in which an error is detected, and the probability of error correction may be further improved.

이상 설명한 바와 같이 본 발명에 의하면, MPE-FEC 디코딩 시 섹션 데이터의 버퍼링을 TS 패킷 단위로 수행하고, 오류가 발생된 TS 패킷의 데이터만을 오류가 존재하는 것으로 처리하여 디코딩을 수행하므로 MPE-FEC 디코딩의 성능을 향상시킬 수 있다.As described above, according to the present invention, MPE-FEC decoding is performed because buffering of section data is performed in units of TS packets during MPE-FEC decoding, and decoding is performed by processing only data of TS packets in which an error occurs as an error exists. Can improve the performance.

또한, 오류가 검출된 TS 패킷에 대하여 TS 패킷의 헤더의 상관도를 취하여 MPE-FEC RS 복호를 반복적으로 수행함으로써 오류 정정 확률을 추가적으로 향상시 킬 수 있는 이점이 있다.또한 본 발명에 의하면, MPE-FEC 디코딩의 성능 향상으로 방송 데이터의 수신율을 높일 수 있으며, 결과적으로 방송 커버리지를 확장할 수 있는 이점이 있다.In addition, it is possible to further improve the error correction probability by repeatedly performing MPE-FEC RS decoding by taking the correlation of the header of the TS packet with respect to the TS packet in which the error is detected. Further, according to the present invention, the MPE The performance improvement of FEC decoding can increase the reception rate of broadcast data, and as a result, broadcast coverage can be extended.

Claims (15)

전송 스트림(Transport Stream : TS) 패킷을 전송하는 디지털 방송 시스템의 수신기에서 섹션을 검출하고 버퍼링하는 방법에 있어서,A method for detecting and buffering a section in a receiver of a digital broadcasting system transmitting a transport stream (TS) packet, 상기 TS 패킷의 헤더 정보로부터 오류 검출 플래그를 확인하여 상기 TS 패킷의 오류 여부를 확인하는 과정과,Checking an error detection flag from header information of the TS packet to determine whether the TS packet is in error; 상기 TS 패킷의 헤더 정보를 분석하여 상기 TS 패킷이 속하는 섹션의 헤더 시작 위치를 찾은 후, 상기 섹션에 속하는 적어도 하나의 TS 패킷을 검출하는 과정과,Analyzing header information of the TS packet to find a header start position of a section to which the TS packet belongs, and then detecting at least one TS packet belonging to the section; 상기 섹션에 속하는 적어도 하나의 TS 패킷의 헤더 정보로부터 연속 카운터 정보를 확인하여 오류가 발생된 TS 패킷의 개수를 체크하는 과정과,Checking the number of TS packets having an error by checking continuous counter information from header information of at least one TS packet belonging to the section; 상기 오류가 발생된 TS 패킷의 데이터를 제외한 나머지 정상적인 TS 패킷의 데이터의 버퍼링 위치를 계산하여 상기 섹션에 속하는 섹션 데이터를 버퍼링하는 과정을 포함함을 특징으로 하는 섹션의 검출 및 버퍼링 방법.And calculating the buffering position of the data of the normal TS packet except for the data of the TS packet in which the error occurs, and buffering the section data belonging to the section. 제 1 항에 있어서,The method of claim 1, 상기 버퍼링 위치는 상기 오류가 발생된 TS 패킷의 개수 정보와 상기 섹션의 헤더 정보를 기반으로 계산됨을 특징으로 하는 섹션의 검출 및 버퍼링 방법.And the buffering position is calculated based on the information on the number of TS packets having an error and the header information of the section. 제 1 항에 있어서,The method of claim 1, 상기 버퍼링은 상기 TS 패킷 단위로 수행됨을 특징으로 하는 섹션의 검출 및 버퍼링 방법.And the buffering is performed in units of TS packets. 제 1 항에 있어서,The method of claim 1, 상기 디지털 방송 시스템은 휴대 디지털 비디오 방송(Digital Video Broadcasting-Handheld : DVB-H) 시스템임을 특징으로 하는 섹션의 검출 및 버퍼링 방법.And the digital broadcasting system is a digital video broadcasting-handheld (DVB-H) system. 제 1 항에 있어서,The method of claim 1, 상기 섹션의 복호가 실패할 시 상기 TS 패킷의 헤더 정보를 이용하여 상관도를 검사하는 과정과,Checking the correlation using the header information of the TS packet when decoding of the section fails; 상기 상관도 검사 결과에 따라 오류 정보를 갱신하고 상기 오류가 존재하는 TS 패킷의 데이터를 버퍼링하는 과정을 더 포함함을 특징으로 하는 섹션의 검출 빛 버퍼링 방법.And updating the error information according to the correlation test result and buffering data of the TS packet in which the error exists. 제 5 항에 있어서, 상기 상관도를 검사하는 과정은,The method of claim 5, wherein the checking of the correlation comprises: 상기 TS 패킷의 헤더 중 동기 정보 필드와 패킷 식별자 필드가 미리 설정된 값과 일치하고, 이전에 수신된 TS 패킷의 연속성 카운터 값과 현재 수신된 TS 패킷의 연속성 카운터 값의 상관도가 존재할 경우 신뢰도가 있는 것으로 판정하여 상기 오류 정보를 갱신함을 특징으로 하는 섹션의 검출 및 버퍼링 방법.If the synchronization information field and the packet identifier field in the header of the TS packet match a preset value, and there is a correlation between the continuity counter value of the previously received TS packet and the continuity counter value of the currently received TS packet, the reliability is reliable. And determine that the error information is updated. 전송 스트림(Transport Stream : TS) 패킷을 전송하는 디지털 방송 시스템의 수신기에서 섹션을 검출하고 버퍼링하는 장치에 있어서,An apparatus for detecting and buffering a section in a receiver of a digital broadcasting system for transmitting a transport stream (TS) packet, 상기 TS 패킷의 헤더 정보를 추출하는 TS 패킷 헤더 분석기와,A TS packet header analyzer for extracting header information of the TS packet; 상기 섹션의 헤더 정보를 추출하는 섹션 헤더 분석기와,A section header analyzer for extracting header information of the section; 상기 TS 패킷의 헤더 정보 및 상기 섹션의 헤더 정보를 저장하는 레지스터와,A register for storing header information of the TS packet and header information of the section; 상기 섹션의 데이터를 버퍼링하는 버퍼와,A buffer for buffering the data in the section; 상기 레지스터에 저장된 상기 TS 패킷의 헤더 정보로부터 오류 검출 플래그를 확인하여 해당 TS 패킷의 오류 여부를 확인하고, 상기 TS 패킷이 속하는 섹션의 헤더 시작 위치를 찾은 후, 상기 섹션에 속하는 적어도 하나의 TS 패킷을 검출하고, 상기 섹션에 속하는 적어도 하나의 TS 패킷의 헤더 정보로부터 연속 카운터 정보를 확인하여 오류가 발생된 TS 패킷의 개수를 체크하며 상기 오류가 발생된 TS 패킷의 데이터를 제외한 나머지 정상적인 TS 패킷의 버퍼링 위치를 계산하여 상기 섹션에 속하는 섹션 데이터를 상기 버퍼에 버퍼링하는 섹션 버퍼 및 오류 검사 블록을 포함함을 특징으로 하는 섹션의 검출 및 버퍼링 장치.Check the error detection flag from the header information of the TS packet stored in the register to determine whether the corresponding TS packet is error, find the header start position of the section to which the TS packet belongs, and then at least one TS packet belonging to the section. To check the number of TS packets in error by checking the continuous counter information from the header information of at least one TS packet belonging to the section. And a section buffer and an error check block for calculating a buffering position to buffer section data belonging to the section in the buffer. 제 7 항에 있어서,The method of claim 7, wherein 상기 섹션 버퍼 및 오류 검사 블록은 상기 오류가 발생된 TS 패킷의 개수 정보와 상기 섹션의 헤더 정보를 분석하여 상기 버퍼링 위치를 계산함을 특징으로 하는 섹션의 검출 및 버퍼링 장치.And the section buffer and the error checking block calculate the buffering position by analyzing information about the number of TS packets in which an error occurs and header information of the section. 제 7 항에 있어서,The method of claim 7, wherein 상기 섹션 버퍼 및 오류 검사 블록은 상기 TS 패킷 단위로 상기 섹션의 버퍼링을 수행함을 특징으로 하는 섹션의 검출 및 버퍼링 장치.And the section buffer and the error check block perform buffering of the section on a TS packet basis. 제 7 항에 있어서,The method of claim 7, wherein 상기 디지털 방송 시스템은 휴대 디지털 비디오 방송(Digital Video Broadcasting-Handheld : DVB-H) 시스템임을 특징으로 하는 섹션의 검출 및 버퍼링 장치.And the digital broadcasting system is a digital video broadcasting-handheld (DVB-H) system. 제 7 항에 있어서,The method of claim 7, wherein 상기 섹션의 복호가 실패할 시 상기 TS 패킷의 헤더 정보를 이용하여 상관도를 검사하는 TS 패킷 헤더 상관기를 더 포함하며,A TS packet header correlator for checking a correlation using header information of the TS packet when decoding of the section fails; 상기 섹션 버퍼 및 오류 검사 블록은, 상기 상관도 검사 결과에 따라 오류 정보를 갱신하고 상기 오류가 존재하는 TS 패킷의 데이터의 위치를 계산하여 버퍼링 하도록 함을 특징으로 하는 섹션의 검출 빛 버퍼링 장치.And the section buffer and the error check block update the error information according to the correlation check result and calculate and buffer the data of the TS packet in which the error exists. 제 11 항에 있어서, 상기 상관도 검사는,The method of claim 11, wherein the correlation test, 상기 TS 패킷의 헤더 중 동기 정보 필드와 패킷 식별자 필드가 미리 설정된 값과 일치하고, 이전에 수신된 TS 패킷의 연속성 카운터 값과 현재 수신된 TS 패킷의 연속성 카운터 값의 상관도가 존재할 경우 신뢰도가 있는 것으로 판정하여 상기 오류 정보를 갱신함을 특징으로 하는 섹션의 검출 및 버퍼링 장치.If the synchronization information field and the packet identifier field in the header of the TS packet match a preset value, and there is a correlation between the continuity counter value of the previously received TS packet and the continuity counter value of the currently received TS packet, the reliability is reliable. And determine to update the error information. 전송 스트림(Transport Stream : TS) 패킷을 전송하는 시스템의 수신기에서 수신 데이터를 복호 방법에 있어서,A method of decoding received data in a receiver of a system for transmitting a transport stream (TS) packet, 수신된 TS 패킷의 오류 여부를 판단하고, 상기 오류 여부를 나타내는 오류 정보를 생성하는 과정과,Determining whether the received TS packet is in error and generating error information indicating the error; 상기 수신된 TS 패킷과 상기 오류 정보를 이용하여 RS 복호화를 수행하는 과정과,Performing RS decoding by using the received TS packet and the error information; 상기 RS 복호화가 실패하면, 오류가 발생한 TS 패킷에 대하여 해당 TS 패킷의 헤더 정보 중 동기 정보 필드, 패킷 아이디 필드 및 연속 카운터 정보를 이용하여 헤더의 상관도 검사를 수행하는 과정과,If the RS decoding fails, performing a header correlation check on a TS packet having an error by using a synchronization information field, a packet ID field, and continuous counter information among header information of the TS packet; 상기 헤더의 상관도 검사 결과를 이용하여 상기 오류 정보를 갱신하는 과정과,Updating the error information by using a correlation test result of the header; 상기 수신된 TS 패킷과 상기 갱신된 오류 정보를 이용하여 RS 복호를 수행하는 과정을 포함함을 특징으로 하는 복호 방법.And performing RS decoding by using the received TS packet and the updated error information. 전송 정보가 둘 이상의 패킷으로 구분되고, 상기 패킷은 미리 결정된 고정 값과 상기 전송 정보의 종류를 지시하는 값 및 상기 전송 정보의 연속성을 지시하는 식별자를 패킷 헤더로 가지며, 상기 구분된 전송 정보를 채널 부호화 및 리드-솔로몬(RS) 부호화하여 전송하는 시스템의 수신기에서 수신 패킷을 복호하는 방법에 있어서,Transmission information is divided into two or more packets, the packet has a predetermined fixed value, a value indicating the type of the transmission information, an identifier indicating the continuity of the transmission information as a packet header, and the divided transmission information as a channel. In a method of decoding a received packet in a receiver of a system for encoding and transmitting Reed-Solomon (RS) encoding, 수신된 패킷의 복호를 수행한 후 오류를 검사하여 오류 정보를 생성하고, 상기 오류 정보와 상기 패킷에 포함된 상기 전송 정보를 순차적으로 저장하는 과정과,Generating error information by checking an error after decoding the received packet, and sequentially storing the error information and the transmission information included in the packet; 상기 저장된 정보가 RS 복호 단위로 저장될 시 상기 오류 정보를 이용하여 RS 복호를 수행하는 과정과,Performing RS decoding using the error information when the stored information is stored in an RS decoding unit; 상기 RS 복호가 실패하면, 상기 패킷 헤더의 정보를 이용하여 상관도를 검사하는 과정과,If the RS decoding fails, checking a correlation using information of the packet header; 상기 상관도 검사 결과 상관도가 존재하는 패킷을 유효한 패킷으로 판정하여 상기 오류 정보를 갱신하는 과정과,Determining that a packet having correlation exists as a valid packet to update the error information; 상기 갱신된 오류 정보를 이용하여 RS 복호를 수행하는 과정을 포함함을 특징으로 하는 복호 방법.And performing RS decoding by using the updated error information. 전송 정보가 섹션으로 구분되고, 상기 각 섹션들은 둘 이상의 패킷으로 구분되어 전송되며, 상기 섹션들은 섹션 헤더를 가지고, 상기 패킷은 미리 결정된 고정 값과 상기 전송 정보의 종류를 지시하는 값 및 상기 전송 정보의 연속성을 지시하는 식별자를 패킷 헤더로 가지며, 상기 전송할 정보를 채널 부호화 및 리드-솔로몬(RS) 부호화하고, 오류 검출 비트를 포함하여 전송하는 시스템의 수신기에서 수신 패킷을 복호하는 장치에 있어서,Transmission information is divided into sections, and each of the sections is divided into two or more packets and transmitted, the sections have a section header, the packet has a predetermined fixed value and a value indicating the type of the transmission information, and the transmission information. An apparatus for decoding a received packet in a receiver of a system having an identifier indicating a continuity of the packet header, channel encoding and Reed-Solomon (RS) encoding the information to be transmitted, and including an error detection bit, 상기 패킷의 헤더 정보를 추출하는 패킷 헤더 분석기와,A packet header analyzer for extracting header information of the packet; 상기 섹션의 헤더 정보를 추출하는 섹션 헤더 분석기와,A section header analyzer for extracting header information of the section; 상기 패킷의 헤더 정보 및 상기 섹션의 헤더 정보를 저장하는 레지스터와,A register for storing header information of the packet and header information of the section; 상기 패킷에 포함된 전송 정보를 버퍼링하는 패킷 버퍼와,A packet buffer for buffering transmission information included in the packet; 상기 패킷 헤더의 상관도를 검사하여 유효성 값을 제공하는 상관기와,A correlator for checking a correlation of the packet header and providing a validity value; 상기 레지스터에 저장된 상기 패킷의 헤더 정보로부터 패킷의 오류 정보와, 오류가 발생된 패킷의 개수를 확인하고, 확인된 결과에 따라 버퍼링 위치를 결정하며, 반복 복호 시 상기 유효성 값에 따라 상기 오류 정보를 갱신하는 섹션 버퍼 및 오류 검사 블록과,From the header information of the packet stored in the register, the error information of the packet and the number of packets in which an error has occurred are determined, and a buffering position is determined according to the confirmed result, and the error information is determined according to the validity value during repeated decoding. The section buffer and error check block to update, 상기 패킷 버퍼와 상기 섹션 버퍼 및 오류 검사 블록으로부터 수신된 정보를 이용하여 RS 복호를 수행하는 복호기를 포함함을 특징으로 하는 복호 장치.And a decoder for performing RS decoding using information received from the packet buffer, the section buffer, and the error check block.
KR1020060106927A 2006-07-20 2006-10-31 Method and apparatus for buffering and decoding received data in a receiver of digital video broadcasting system KR101304092B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20060068171 2006-07-20
KR1020060068171 2006-07-20

Publications (2)

Publication Number Publication Date
KR20080008928A KR20080008928A (en) 2008-01-24
KR101304092B1 true KR101304092B1 (en) 2013-09-05

Family

ID=39221667

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060106927A KR101304092B1 (en) 2006-07-20 2006-10-31 Method and apparatus for buffering and decoding received data in a receiver of digital video broadcasting system

Country Status (1)

Country Link
KR (1) KR101304092B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101357645B1 (en) 2009-07-10 2014-02-05 한국전자통신연구원 Forward error correction encoding/decoding method and apparatus, digital broadcasting reception apparatus and decoding method thereof
KR20140033256A (en) 2012-07-11 2014-03-18 삼성전자주식회사 Transport stream packet generating device and transport stream packet generating method thereof
WO2019132119A1 (en) 2017-12-28 2019-07-04 주식회사 디에스브로드캐스트 Multiplexing method and device for broadcast signal transmission

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990031929A (en) * 1997-10-15 1999-05-06 윤종용 An error correction method of a digital satellite broadcast receiving system
KR20020014958A (en) * 2000-08-19 2002-02-27 박종섭 PSI data filtering device for MPEG-2 system and control method thereof
KR20050040448A (en) * 2003-10-28 2005-05-03 삼성전자주식회사 Method for video decording with error detection, and apparatus for the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990031929A (en) * 1997-10-15 1999-05-06 윤종용 An error correction method of a digital satellite broadcast receiving system
KR20020014958A (en) * 2000-08-19 2002-02-27 박종섭 PSI data filtering device for MPEG-2 system and control method thereof
KR20050040448A (en) * 2003-10-28 2005-05-03 삼성전자주식회사 Method for video decording with error detection, and apparatus for the same

Also Published As

Publication number Publication date
KR20080008928A (en) 2008-01-24

Similar Documents

Publication Publication Date Title
KR100735276B1 (en) Method and apparatus for decoding a mpe-fec frame in a dvb-h system
KR100724891B1 (en) Device and method of multi-cyclic redundancy checking for acquiring section detection and reliability information in dvb-h system
US8166355B2 (en) System and method for mitigating memory requirements
TWI501579B (en) Receiver and receiving method for receiving data in a broadcast system using incremental redundancy received through a unicast system
US7804835B2 (en) IP datagram de-encapsulation
US8145969B2 (en) Quality manager and method for use in a digital content delivery system
TW200926800A (en) TS packet grooming
EP1981201A2 (en) Method and apparatus for decoding data in receiver of a digital broadcasting system
US8929444B2 (en) Data communication unit, data communication network and method of decoding
US8514886B2 (en) Method and user device for receiving digital transmissions
KR101304092B1 (en) Method and apparatus for buffering and decoding received data in a receiver of digital video broadcasting system
KR100724890B1 (en) Frame boundary detection method and apparatus for reed-solomon decoding in a dvb-h receiver and method for decoding multi protocol encapsulation -forward error correction frame using the same
JP4814809B2 (en) Data transmission apparatus and program thereof
US7624418B2 (en) Apparatus and method for receiving broadcasting data in digital video broadcasting receiver
KR20070081907A (en) Method and apparatus for decoding a mpe-fec frame in a dvb-h system
KR100871206B1 (en) Apparatus and method for decoding of reed-solomon symbols
US20080298468A1 (en) Error tagging for decoder
JP4839386B2 (en) Data receiving apparatus and program thereof
Joki et al. Analysis of Reed-Solomon coding combined with cyclic redundancy check in DVB-H link layer
KR101288762B1 (en) Error correcting apparatus and method in digital audio broadcasting receiver
Jokela et al. Performance analysis of different Reed-Solomon erasure decoding strategies at the DVB-H link layer
Nguyen Investigation of a Correlation Based Technique for Rapid Phase Synchronization in the DVB-S Standard

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20160728

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20180727

Year of fee payment: 6