KR100916702B1 - Channel decoding device in transport stream packet, and method thereof - Google Patents

Channel decoding device in transport stream packet, and method thereof Download PDF

Info

Publication number
KR100916702B1
KR100916702B1 KR1020070090087A KR20070090087A KR100916702B1 KR 100916702 B1 KR100916702 B1 KR 100916702B1 KR 1020070090087 A KR1020070090087 A KR 1020070090087A KR 20070090087 A KR20070090087 A KR 20070090087A KR 100916702 B1 KR100916702 B1 KR 100916702B1
Authority
KR
South Korea
Prior art keywords
transport stream
error
header
packet
stream packet
Prior art date
Application number
KR1020070090087A
Other languages
Korean (ko)
Other versions
KR20090025048A (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 에스케이 텔레콤주식회사
Priority to KR1020070090087A priority Critical patent/KR100916702B1/en
Publication of KR20090025048A publication Critical patent/KR20090025048A/en
Application granted granted Critical
Publication of KR100916702B1 publication Critical patent/KR100916702B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/24Systems for the transmission of television signals using pulse code modulation
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, 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/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error 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/13Linear codes
    • H03M13/15Cyclic codes, i.e. cyclic shifts of codewords produce other codewords, e.g. codes defined by a generator polynomial, Bose-Chaudhuri-Hocquenghem [BCH] codes
    • H03M13/151Cyclic codes, i.e. cyclic shifts of codewords produce other codewords, e.g. codes defined by a generator polynomial, Bose-Chaudhuri-Hocquenghem [BCH] codes using error location or error correction polynomials
    • H03M13/1515Reed-Solomon codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0009Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Algebra (AREA)
  • General Physics & Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Quality & Reliability (AREA)
  • Error Detection And Correction (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

본 발명은 전송 스트림 패킷의 채널 디코딩 장치 및 그 방법에 관한 것으로서, 이동통신 시스템이나 방송 시스템으로부터 제공된 전송 스트림 패킷에 대하여, 리드 솔로몬 방식에 따라 디코딩한 후 전송 스트림 패킷의 헤더에 오류가 존재하는 여부를 확인하여, 오류가 있는 헤더 정보를 정정한 전송 스트림 패킷을 생성하여 출력하게 됨으로써, 채널 디코딩(channel decoding)의 효율을 높일 수 있고, 통신 시스템이나 방송 시스템으로부터 전송 스트림 패킷을 수신할 때에 에러 복구 능력을 향상시킬 수 있으며, 또한 에러 능력 복구의 향상에 따라 수신 영상의 품질을 개선할 수 있다.The present invention relates to an apparatus and method for decoding a transport stream packet, wherein an error exists in a header of a transport stream packet after decoding the transport stream packet provided from a mobile communication system or a broadcasting system according to the Reed Solomon method. By generating the transport stream packet correcting the header information with error, the output stream can be improved, and the efficiency of channel decoding can be improved, and the error recovery when the transport stream packet is received from the communication system or the broadcast system can be improved. The capability can be improved, and the quality of the received image can be improved by improving the error capability recovery.

전송 스트림, 패킷, 채널 디코딩, 리드 솔로몬, 디인터리빙, 스트림 배열, 헤더, 오류 Transport stream, packet, channel decoding, reed solomon, deinterleaving, stream array, header, error

Description

전송 스트림 패킷의 채널 디코딩 장치 및 그 방법{Channel decoding device in transport stream packet, and method thereof}Channel decoding device in transport stream packet, and method thereof

본 발명은 이동통신 시스템이나 방송 시스템에서 제공되는 전송 스트림 패킷의 채널 디코딩 장치 및 방법에 관한 것이다.The present invention relates to a channel decoding apparatus and method for transport stream packets provided in a mobile communication system or a broadcast system.

기존의 방송이나 통신 시스템에서 오디오나 비디오, 데이터 등에 관한 디지털 정보를 전송하는 일반적인 방식은 오디오나 동영상에 대해서 AAC+나 H.264와 같은 코덱을 통하여 소스 코딩(source coding)을 하고 압축하여 정보량을 줄인 후에 전송을 수행한다. The conventional method of transmitting digital information about audio, video, data, etc. in a conventional broadcasting or communication system is to reduce the amount of information by source coding and compressing audio or video through a codec such as AAC + or H.264. Perform the transfer later.

그리고, 이를 유/무선 전송망을 통하여 다른 리던던시(redundancy)가 없이 전송할 때는 채널 상에서 발생하는 잡음(noise)으로 인하여 수신측에서 정보를 제대로 수신할 수 없으므로, 채널 잡음을 제거하기 위하여 리드 솔로몬 코드(Reed-solomon code)나 길쌈 코드(convolutional code)와 같은 순방향 에러 정정(FEC:forward error correction) 과정을 소스 코딩(source coding)된 정보에 적 용하게 된다. And, when it is transmitted through the wired / wireless network without any other redundancy, the receiver cannot receive the information properly due to noise occurring on the channel. Therefore, the Reed Solomon code (Reed) is used to remove the channel noise. Forward error correction (FEC), such as -solomon code or convolutional code, is applied to the source coded information.

기존의 전송 방식에서 이러한 소스 코딩(source coding)과 채널 코딩(channel coding)은 별개의 분야로 발전하여 왔고, 그 분야가 상이하여 서로 간의 정보를 활용하는 방안이 제안되지 않고 있다.In the conventional transmission schemes, such source coding and channel coding have been developed into separate fields, and since the fields are different from each other, a method of utilizing information between them has not been proposed.

전술한 문제점을 해결하기 위한 본 발명은, 이동통신 시스템이나 방송 시스템으로부터 제공된 전송 스트림 패킷에 대하여, 리드 솔로몬 방식에 따라 디코딩한 후 전송 스트림 패킷의 헤더에 오류가 존재하는 여부를 확인하여, 오류가 있는 헤더 정보를 정정한 전송 스트림 패킷을 생성하여 출력함으로써, 채널 디코딩(channel decoding)의 효율을 높일 수 있도록 하는, 전송 스트림 패킷의 채널 디코딩 장치 및 그 방법을 제공함에 목적이 있다. The present invention for solving the above-described problems, after decoding the transport stream packet provided from a mobile communication system or a broadcast system according to the Reed Solomon method, and confirms whether an error exists in the header of the transport stream packet, It is an object of the present invention to provide a channel decoding apparatus and a method for transport stream packet, which can improve the efficiency of channel decoding by generating and outputting a transport stream packet having corrected header information.

전술한 목적을 달성하기 위한 본 발명에 따른 전송 스트림 패킷의 채널 디코딩 장치는, 전송 스트림 패킷에 대하여 오류를 검사하고, 상기 전송 스트림 패킷의 헤더에 오류가 존재하는 경우 오류 알림(Error Notification)을 발생시키는 제1 리드솔로몬 디코더; 상기 오류 알림을 근거로 상기 전송 스트림 패킷의 헤더에 존재하는 오류를 정정하여 정정 전송 스트림 패킷을 생성하는 헤더 오류 정정부; 상기 정정 전송 스트림 패킷을 리드 솔로몬 방식에 따라 디코딩하는 제2 리드솔로몬 디코더; 및 상기 제1 리드솔로몬 디코더 및 상기 제2 리드솔로몬 디코더로부터 전달받은 상기 전송 스트림 패킷 및 상기 정정 전송 스트림 패킷을 전송 순서에 따라 배열하여 출력하는 스트림 배열부;를 포함한다.According to an aspect of the present invention, a channel decoding apparatus for a transport stream packet checks an error for the transport stream packet, and generates an error notification when an error exists in a header of the transport stream packet. A first ReedSolomon decoder; A header error correcting unit generating a corrected transport stream packet by correcting an error in the header of the transport stream packet based on the error notification; A second Reed Solomon decoder for decoding the corrected transport stream packet according to a Reed Solomon scheme; And a stream arranging unit for arranging and outputting the transport stream packet and the corrected transport stream packet received from the first ReedSolomon decoder and the second ReedSolomon decoder in a transmission order.

또한, 상기 헤더 오류 정정부는, 상기 오류 알림을 근거로 상기 전송 스트림 패킷에 오류가 있음을 알리는 알림 메시지를 상기 스트림 배열부로 전달하게 된다.The header error correcting unit may transmit a notification message indicating that there is an error in the transport stream packet to the stream arrangement unit based on the error notification.

또한, 상기 스트림 배열부는, 상기 헤더 오류 정정부로부터 전달받은 상기 알림 메시지를 근거로 해당 전송 스트림 패킷을 삭제하고, 삭제된 전송 스트림 패킷 대신에 상기 정정 전송 스트림 패킷을 배열하게 된다.The stream arranging unit deletes the transport stream packet based on the notification message received from the header error correcting unit, and arranges the corrected transport stream packet in place of the deleted transport stream packet.

또한, 상기 헤더 오류 정정부는, 상기 전송 스트림 패킷의 헤더값에 대한 정보를 저장하고 있는 전송 스트림 헤더 셋트 룩업 테이블을 구비하고, 상기 전송 스트림 헤더 셋트 룩업 테이블에 저장되어 있는 헤더값에 대한 정보를 근거로 상기 전송 스트림 패킷의 헤더에 존재하는 오류를 정정하게 된다.The header error correcting unit may include a transport stream header set lookup table that stores information about the header value of the transport stream packet, and is based on information about the header value stored in the transport stream header set lookup table. The error present in the header of the transport stream packet is corrected.

그리고, 상기 헤더 오류 정정부는, 상기 전송 스트림 패킷의 헤더 중 싱크(Sync) 정보 또는 패킷 아이디(PID) 정보를 정정하게 된다.The header error correction unit corrects sync information or packet ID information in the header of the transport stream packet.

한편, 전술한 목적을 달성하기 위한 본 발명에 따른 전송 스트림 패킷의 채널 디코딩 장치는, 전송 스트림 패킷과 하기 헤더 오류 정정부로부터 전달받은 정정 전송 스트림 패킷을 버퍼링하는 버퍼링부; 버퍼링된 상기 전송 스트림 패킷에 대하여 오류를 검사하고, 상기 전송 스트림 패킷의 헤더에 오류가 존재하는 경우 오류 알림(Error Notification)을 발생시키며, 오류가 정정된 정정 전송 스트림 패킷을 리드 솔로몬 방식에 따라 디코딩하는 리드솔로몬 디코더; 상기 오류 알림을 근거로 상기 전송 스트림 패킷의 헤더에 존재하는 오류를 정정하여 상기 정정 전송 스트림 패킷을 생성하고 상기 버퍼링부로 출력하는 헤더 오류 정정부; 및 상기 버퍼링부로부터 전달받은 상기 전송 스트림 패킷 및 상기 정정 전송 스트림 패킷을 전송 순서에 따라 배열하여 출력하는 스트림 배열부;를 포함한다.On the other hand, the channel decoding apparatus of the transport stream packet according to the present invention for achieving the above object, the buffering unit for buffering the transport stream packet and the corrected transport stream packet received from the following header error correction unit; An error is checked for the buffered transport stream packet, an error notification is generated when an error exists in the header of the transport stream packet, and decoding of the corrected transport stream packet in which the error is corrected according to the Reed Solomon method. Reed Solomon decoder; A header error correcting unit configured to correct an error in the header of the transport stream packet based on the error notification, to generate the corrected transport stream packet, and output the corrected transport stream packet to the buffering unit; And a stream arranging unit arranged to output the transport stream packet and the corrected transport stream packet received from the buffering unit in a transmission order.

또한, 상기 리드솔로몬 디코더는, 상기 리드솔로몬 디코더로부터 상기 전송 스트림 패킷의 헤더에 오류가 존재하는 것을 알리는 상기 오류 알림을 수신하면, 오류가 존재하는 상기 전송 스트림 패킷을 삭제하도록 알리는 알림 메시지를 상기 스트림 배열부로 전달하게 된다.In addition, when the Reed Solomon decoder receives the error notification indicating that an error exists in the header of the transport stream packet from the Reed Solomon decoder, the Reed Solomon decoder sends a notification message notifying the deletion of the transport stream packet in which the error exists. Pass it to the array.

또한, 상기 스트림 배열부는, 상기 알림 메시지를 근거로 배열하고 있는 스트림 패킷 중 오류가 존재하는 상기 전송 스트림 패킷을 삭제하여 재배열하게 된다.The stream arranging unit deletes and rearranges the transport stream packet having an error among the stream packets arranged based on the notification message.

또한, 상기 헤더 오류 정정부는, 상기 전송 스트림 패킷의 헤더값에 대한 정보를 저장하고 있는 전송 스트림 헤더 셋트 룩업 테이블을 구비하고, 상기 전송 스트림 헤더 셋트 룩업 테이블에 저장되어 있는 헤더값에 대한 정보를 근거로 상기 전송 스트림 패킷의 헤더에 존재하는 오류를 정정하게 된다.The header error correcting unit may include a transport stream header set lookup table that stores information about the header value of the transport stream packet, and is based on information about the header value stored in the transport stream header set lookup table. The error present in the header of the transport stream packet is corrected.

그리고, 상기 헤더 오류 정정부는, 상기 전송 스트림 패킷의 헤더 중 싱크(Sync) 정보 또는 패킷 아이디(PID) 정보를 정정하여 상기 정정 전송 스트림 패킷을 생성하게 된다.The header error corrector generates the corrected transport stream packet by correcting sync information or packet ID information in the header of the transport stream packet.

한편, 전술한 목적을 달성하기 위한 본 발명에 따른 이동통신 단말기는, 이동통신 네트워크로부터 전송 스트림 패킷을 수신하고, 수신된 상기 전송 스트림 패킷을 디인터리빙(De-interleaving)하는 이동통신 단말기에 있어서, 디인터리빙된 상기 전송 스트림 패킷에 대하여 오류를 검사하고, 상기 전송 스트림 패킷의 헤더 에 오류가 존재하는 경우 오류 알림(Error Notification)을 발생시키는 제1 리드솔로몬 디코더; 상기 오류 알림을 근거로 상기 전송 스트림 패킷의 헤더에 존재하는 오류를 정정하여 정정 전송 스트림 패킷을 생성하는 헤더 오류 정정부; 상기 정정 전송 스트림 패킷을 리드 솔로몬 방식에 따라 디코딩하는 제2 리드솔로몬 디코더; 및 상기 제1 리드솔로몬 디코더 및 상기 제2 리드솔로몬 디코더로부터 전달받은 상기 전송 스트림 패킷 및 상기 정정 전송 스트림 패킷을 전송 순서에 따라 배열하여 출력하는 스트림 배열부;를 포함한다.On the other hand, the mobile communication terminal according to the present invention for achieving the above object, in the mobile communication terminal that receives the transport stream packet from the mobile communication network, and de-interleaving the received transport stream packet, A first ReedSolomon decoder for checking an error on the deinterleaved transport stream packet and generating an error notification when an error exists in a header of the transport stream packet; A header error correcting unit generating a corrected transport stream packet by correcting an error in the header of the transport stream packet based on the error notification; A second Reed Solomon decoder for decoding the corrected transport stream packet according to a Reed Solomon scheme; And a stream arranging unit for arranging and outputting the transport stream packet and the corrected transport stream packet received from the first ReedSolomon decoder and the second ReedSolomon decoder in a transmission order.

다른 한편, 전술한 목적을 달성하기 위한 본 발명에 따른 방송 수신 장치는, 방송 스트림 패킷에 대하여 오류를 검사하고, 상기 방송 스트림 패킷의 헤더에 오류가 존재하는 경우 오류 알림(Error Notification)을 발생시키는 제1 리드솔로몬 디코더; 상기 오류 알림을 근거로 상기 방송 스트림 패킷의 헤더에 존재하는 오류를 정정하여 정정 방송 스트림 패킷을 생성하는 헤더 오류 정정부; 상기 정정 방송 스트림 패킷을 리드 솔로몬 방식에 따라 디코딩하는 제2 리드솔로몬 디코더; 및 상기 제1 리드솔로몬 디코더 및 상기 제2 리드솔로몬 디코더로부터 전달받은 상기 방송 스트림 패킷 및 상기 정정 방송 스트림 패킷을 전송 순서에 따라 배열하여 출력하는 방송 스트림 배열부;를 포함한다.On the other hand, the broadcast receiving device according to the present invention for achieving the above object, and checks the error for the broadcast stream packet, and generates an error notification (error notification) when there is an error in the header of the broadcast stream packet A first Reed Solomon decoder; A header error correction unit for correcting an error in the header of the broadcast stream packet based on the error notification to generate a corrected broadcast stream packet; A second Reed Solomon decoder for decoding the corrected broadcast stream packet according to a Reed Solomon scheme; And a broadcast stream arranging unit for arranging and outputting the broadcast stream packet and the corrected broadcast stream packet received from the first Reed Solomon decoder and the second Reed Solomon decoder in a transmission order.

또한, 전술한 목적을 달성하기 위한 본 발명에 따른 방송 수신 장치는, 방송 스트림 패킷과 하기 헤더 오류 정정부로부터 전달받은 정정 방송 스트림 패킷을 버퍼링하는 버퍼링부; 버퍼링된 상기 방송 스트림 패킷에 대하여 오류를 검사하고, 상기 방송 스트림 패킷의 헤더에 오류가 존재하는 경우 오류 알림(Error Notification)을 발생시키며, 오류가 정정된 상기 정정 방송 스트림 패킷을 리드 솔로몬 방식에 따라 디코딩하는 리드솔로몬 디코더; 상기 오류 알림을 근거로 상기 방송 스트림 패킷의 헤더에 존재하는 오류를 정정하여 상기 정정 방송 스트림 패킷을 생성하고 상기 버퍼링부로 출력하는 헤더 오류 정정부; 및 상기 버퍼링부로부터 전달받은 상기 방송 스트림 패킷 및 상기 정정 방송 스트림 패킷을 전송 순서에 따라 배열하여 출력하는 스트림 배열부;를 포함한다.In addition, the broadcast receiving apparatus according to the present invention for achieving the above object includes a buffering unit for buffering the broadcast stream packet and the correction broadcast stream packet received from the following header error correction unit; An error is checked for the buffered broadcast stream packet, an error notification is generated when an error exists in the header of the broadcast stream packet, and the corrected broadcast stream packet with the error corrected is read according to the Reed Solomon method. A Reed Solomon decoder for decoding; A header error correcting unit configured to correct an error in the header of the broadcast stream packet based on the error notification, to generate the corrected broadcast stream packet, and output the corrected broadcast stream packet to the buffering unit; And a stream arranging unit for arranging and outputting the broadcast stream packet received from the buffering unit and the corrected broadcast stream packet in a transmission order.

또한, 상기 헤더 오류 정정부는, 상기 방송 스트림 패킷의 헤더값에 대한 정보를 저장하고 있는 방송 스트림 헤더 셋트 룩업 테이블을 구비하고, 상기 방송 스트림 헤더 셋트 룩업 테이블에 저장되어 있는 헤더값에 대한 정보를 근거로 상기 방송 스트림 패킷의 헤더에 존재하는 오류를 정정하게 된다.The header error correcting unit may include a broadcast stream header set lookup table that stores information on the header value of the broadcast stream packet, and is based on information on the header value stored in the broadcast stream header set lookup table. The error present in the header of the broadcast stream packet is corrected.

또한, 상기 헤더 오류 정정부는, 상기 제1 리드솔로몬 디코더 또는 상기 리드솔로몬 디코더로부터 상기 방송 스트림 패킷의 헤더에 오류가 존재하는 것을 알리는 상기 오류 알림을 수신하면, 오류가 존재하는 상기 방송 스트림 패킷을 삭제하도록 알리는 알림 메시지를 상기 방송 스트림 배열부로 전달하게 된다.The header error correcting unit deletes the broadcast stream packet in which an error exists when the error notification indicating that an error exists in a header of the broadcast stream packet is received from the first Reed Solomon decoder or the Reed Solomon decoder. A notification message for notifying the user to be delivered to the broadcast stream arrangement.

그리고, 상기 방송 스트림 배열부는, 상기 알림 메시지를 근거로 배열하고 있는 스트림 패킷 중 오류가 존재하는 상기 방송 스트림 패킷을 삭제하여 재배열하게 된다.The broadcast stream arranging unit deletes and rearranges the broadcast stream packet having an error among the stream packets arranged based on the notification message.

또다른 한편, 전술한 목적을 달성하기 위한 본 발명에 따른 전송 스트림 패 킷의 채널 디코딩 방법은, (a) 전송 스트림 패킷에 대하여 오류를 검사하고, 상기 전송 스트림 패킷의 헤더에 오류가 존재하는 경우 오류 알림(Error Notification)을 발생시키는 단계; (b) 상기 오류 알림을 근거로 상기 전송 스트림 패킷의 헤더에 존재하는 오류를 정정하여 정정 전송 스트림 패킷을 생성하는 단계; (c) 상기 정정 전송 스트림 패킷을 리드 솔로몬 방식에 따라 디코딩하는 단계; 및 (d) 상기 전송 스트림 패킷 및 상기 정정 전송 스트림 패킷을 전송 순서에 따라 배열하여 출력하는 단계;를 포함한다.On the other hand, the channel decoding method of the transport stream packet according to the present invention for achieving the above object, (a) when the error is checked for the transport stream packet, if there is an error in the header of the transport stream packet Generating an error notification; (b) generating a corrected transport stream packet by correcting an error in the header of the transport stream packet based on the error notification; (c) decoding the corrected transport stream packet according to a Reed Solomon scheme; And (d) arranging and outputting the transport stream packet and the corrected transport stream packet in a transmission order.

또한, 전술한 목적을 달성하기 위한 본 발명에 따른 전송 스트림 패킷의 채널 디코딩 방법은, (a) 전송 스트림 패킷을 버퍼링함과 더불어 상기 전송 스트림 패킷에 대하여 오류를 검사하고, 상기 전송 스트림 패킷의 헤더에 오류가 존재하는 경우 오류 알림(Error Notification)을 발생시키는 단계; (b) 상기 오류 알림을 근거로 상기 전송 스트림 패킷의 헤더에 존재하는 오류를 정정하여 상기 정정 전송 스트림 패킷을 생성하는 단계; (c) 오류가 정정된 상기 정정 전송 스트림 패킷을 리드 솔로몬 방식에 따라 디코딩하고 버퍼링하는 단계; 및 (d) 버퍼링된 상기 전송 스트림 패킷 및 상기 정정 전송 스트림 패킷을 전송 순서에 따라 배열하여 출력하는 단계;를 포함한다.In addition, the channel decoding method of a transport stream packet according to the present invention for achieving the above object, (a) buffering the transport stream packet, and checks the error for the transport stream packet, and the header of the transport stream packet Generating an error notification when an error exists in the memory; (b) generating the corrected transport stream packet by correcting an error in the header of the transport stream packet based on the error notification; (c) decoding and buffering the corrected transport stream packet with error correction according to a Reed Solomon scheme; And (d) arranging and outputting the buffered transport stream packet and the corrected transport stream packet in a transmission order.

또한, 상기 (d) 단계는, 상기 알림 메시지를 근거로 오류가 존재하는 해당 전송 스트림 패킷을 삭제하고, 삭제된 전송 스트림 패킷 대신에 상기 정정 전송 스트림 패킷을 배열하게 된다.In the step (d), the transport stream packet having an error is deleted based on the notification message, and the corrected transport stream packet is arranged in place of the deleted transport stream packet.

또한, 상기 (b) 단계는, 상기 전송 스트림 패킷의 헤더값에 대한 정보를 저 장하고 있는 전송 스트림 헤더 셋트 룩업 테이블에 저장되어 있는 헤더값에 대한 정보를 근거로 상기 전송 스트림 패킷의 헤더에 존재하는 오류를 정정하여 상기 정정 전송 스트림 패킷을 생성하게 된다.In addition, the step (b) is present in the header of the transport stream packet based on the information on the header value stored in the transport stream header set lookup table storing the information on the header value of the transport stream packet. The error is corrected to generate the corrected transport stream packet.

그리고, 상기 (b) 단계는, 상기 전송 스트림 패킷의 헤더 중 싱크(Sync) 정보 또는 패킷 아이디(PID) 정보를 정정하여 상기 정정 전송 스트림 패킷을 생성하게 된다.In the step (b), the corrected transport stream packet is generated by correcting sync information or packet ID information in the header of the transport stream packet.

또다른 한편, 전술한 목적을 달성하기 위한 본 발명에 따른 패킷 스트림의 채널 디코딩 방법은, 미리 지정된 패턴의 헤더가 포함된 패킷을 순방향 에러 정정(forward error correction, 이하 FEC) 방식으로 채널 코딩하여 생성한 패킷 스트림의 채널 디코딩 방법으로서, (a) 상기 패킷 스트림에 FEC 에러가 존재하는지를 검출하는 단계; (b) 상기 패킷 스트림에 FEC 에러가 존재하면, 상기 미리 지정된 패턴에 기초하여 상기 패킷 스트림 중에서 패킷 헤더를 정정하여 정정 패킷 스트림을 생성하는 단계; 및 (c) 상기 정정 패킷 스트림을 FEC 디코딩하는 단계;를 포함한다.On the other hand, the channel decoding method of a packet stream according to the present invention for achieving the above object is generated by channel coding a packet including a header of a predetermined pattern by a forward error correction (FEC) method CLAIMS 1. A method of channel decoding of a packet stream, comprising: (a) detecting whether there is an FEC error in the packet stream; (b) if there is an FEC error in the packet stream, generating a corrected packet stream by correcting a packet header among the packet streams based on the predetermined pattern; And (c) FEC decoding the correction packet stream.

또한, 상기 (a) 단계는, 상기 패킷 스트림의 헤더에 미리 지정된 패턴에 에러가 있는지를 검사하여 상기 FEC 에러가 존재하는지를 검출하게 된다.In the step (a), it is determined whether there is an error in a predetermined pattern in the header of the packet stream to detect whether the FEC error exists.

또한, 상기 (b) 단계는, 상기 패킷 스트림 중에서 에러가 있는 상기 패킷 헤더를 상기 미리 지정된 패턴으로 정정하여, 상기 정정 패킷 스트림을 생성하게 된다.In the step (b), the corrected packet header of the packet stream is corrected in the predetermined pattern to generate the corrected packet stream.

그리고, 상기 (c) 단계는, 에러가 존재하지 않은 패킷 스트림과 에러가 정정된 상기 정정 패킷 스트림을 전송 순서에 따라 배열하여 출력하게 된다.In the step (c), the packet stream in which there is no error and the correction packet stream in which the error is corrected are arranged and output in the order of transmission.

본 발명에 의하면, 통신 시스템이나 방송 시스템으로부터 전송 스트림 패킷을 수신할 때에 에러 복구 능력을 향상시킬 수 있다.According to the present invention, the error recovery capability can be improved when receiving a transport stream packet from a communication system or a broadcast system.

또한, 에러 능력 복구의 향상에 따라 수신 영상의 품질을 개선할 수 있다.In addition, the quality of the received image may be improved by improving the error capability recovery.

또한, 수신하는 전송 스트림 패킷의 채널 디코딩(channel decoding)의 효율을 높일 수 있다.In addition, efficiency of channel decoding of a received transport stream packet can be improved.

그리고, 소스 코딩을 이용하여 채널 디코딩을 수행하게 됨으로써 소스 코딩과 채널 코딩 간의 정보를 활용하는 방안을 제공할 수 있다.In addition, since channel decoding is performed using source coding, a method of utilizing information between source coding and channel coding may be provided.

본 발명의 목적과 기술적 구성 및 그에 따른 작용 효과에 관한 자세한 사항은 본 발명의 명세서에 첨부된 도면에 의거한 이하 상세한 설명에 의해 보다 명확하게 이해될 것이다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 실시예를 상세하게 설명한다.Details of the object and technical configuration of the present invention and the resulting effects thereof will be more clearly understood by the following detailed description based on the accompanying drawings. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 실시예에 따라 전송 스트림 패킷을 제공하는 방송 송신 장치의 내부 구성을 개략적으로 나타낸 구성도이다.1 is a configuration diagram schematically showing an internal configuration of a broadcast transmission apparatus providing a transport stream packet according to an embodiment of the present invention.

도 1을 참조하면, 방송 송신 장치는 엠펙(MPEG) 인코더(Encoder, 110), 엠펙 다중화부(MUX:Multiplexer, 120), 리드 솔로몬(RS) 인코더(Reed Solomon Encoder, 130), 인터리버(Interleaver, 140), 길쌈 인코더(Convolution Encoder, 150) 및 송신부(160)를 포함한다.Referring to FIG. 1, the apparatus for transmitting a broadcast includes an MPEG encoder 110, an MUX multiplexer 120, a Reed Solomon encoder 130, an interleaver, and an interleaver. 140, a convolutional encoder 150, and a transmitter 160.

엠펙 인코더(110)는 입력되는 오디오/비디오/데이터 신호에 대하여 압축 부호화를 수행한다.The MPEG encoder 110 performs compression encoding on the input audio / video / data signal.

엠펙 다중화부(120)는 ISO/IEC 13818-1(MPEG-2 System) 표준에 따라 다수의 입력을 받아 다중화하는 기능을 수행한다. 또한, 엠펙 다중화부(120)는 엠펙 인코더(110)에서 압축 부호화된 후 출력되는 전송 스트림 패킷, 즉 패킷 스트림에 대해 PES(Packetized Elementary Stream) 패킷화 과정을 수행한다.The MPEG multiplexer 120 receives and multiplexes multiple inputs according to the ISO / IEC 13818-1 (MPEG-2 System) standard. Also, the MPEG multiplexer 120 performs a packetized elementary stream (PES) packetization process on a transport stream packet, that is, a packet stream, which is compressed and output by the MPEG encoder 110.

리드 솔로몬 인코더(130)는 엠펙(MPEG) 트랜스포트 스트림(Transport Stream) 패킷에 대한 채널 부호화를 수행하며, 군집 오류를 정정하는 기능을 수행한다. 예컨대, RS(n, k)로 표시되는 RS(204, 188)에 대한 리드 솔로몬 부호는 입력이 188 바이트(Byte)일 때 16 바이트를 붙여 전송하면 8 바이트의 오류를 완벽하게 정정함을 나타낸다.The Reed Solomon encoder 130 performs channel encoding on MPEG transport stream packets and corrects clustering errors. For example, the Reed Solomon code for RS 204, 188, denoted by RS (n, k), indicates that 8 bytes of error is completely corrected when 16 bytes are transmitted when the input is 188 bytes.

인터리버(140)는 전송 스트림 패킷에 대해 일정 간격을 갖도록 인터리빙을 수행한다.The interleaver 140 performs interleaving so that the transport stream packet has a predetermined interval.

길쌈 인코더(150)는 전송 스트림 패킷에 대한 랜덤 오류(Random error)를 정정하는 기능을 수행한다.The convolutional encoder 150 performs a function of correcting a random error for a transport stream packet.

송신부(160)는 랜덤 오류를 정정한 전송 스트림 패킷에 대해 변조를 수행하여 통신 네트워크로 송출하는 기능을 수행한다. 여기서, 통신 네트워크는 유선 또 는 무선 네트워크를 포함한다.The transmitter 160 performs a function of modulating a transport stream packet correcting a random error and transmitting the modulation to a communication network. Here, the communication network includes a wired or wireless network.

본 발명의 실시예에서 "전송 스트림 패킷"은 패킷 형태의 스트림 데이터일 수 있으므로 "패킷 스트림"이란 용어로 혼용할 수 있다.In the embodiment of the present invention, since the "transport stream packet" may be stream data in the form of a packet, the term "packet stream" may be used interchangeably.

도 2는 일반적인 방송 수신 장치의 구성을 나타낸 구성도이다.2 is a block diagram showing the configuration of a general broadcast receiving apparatus.

도 2를 참조하면, 방송 수신 장치는 수신부(210), 길쌈 디코더(Convolution Decoder, 220), 디인터리버(De-interleaver, 230), 리드 솔로몬 디코더(RS Decoder, 240), 엠펙 역다중화부(MPEG De-MUX, 250) 및 엠펙 디코더(MPEG Decoder, 260)를 포함한다.Referring to FIG. 2, the broadcast receiving apparatus includes a receiver 210, a convolution decoder 220, a de-interleaver 230, a reed solomon decoder RS 220, and an MPEG demultiplexer. De-MUX, 250) and MPEG Decoder 260.

수신부(210)는 방송 네트워크 또는 이동통신 네트워크로부터 전송 스트림 패킷 반송파를 수신하고, 예컨대, QPSK(Quadrature Phase Shift Keying) 복조(Demodulation)를 통해 전송 스트림 패킷을 분리한다.The receiver 210 receives a transport stream packet carrier from a broadcast network or a mobile communication network, and separates the transport stream packet through, for example, Quadrature Phase Shift Keying (QPSK) demodulation.

길쌈 디코더(220)는 전송 스트림 패킷 반송파로부터 분리된 전송 스트림 패킷에 대해 콘볼루션 디코딩(Convolution decoding)을 수행한다.The convolutional decoder 220 performs convolution decoding on the transport stream packet separated from the transport stream packet carrier.

디인터리버(230)는 콘볼루션 디코딩된 전송 스트림 패킷에 대해 디인터리빙을 수행한다.The deinterleaver 230 performs deinterleaving on the convolutionally decoded transport stream packet.

리드 솔로몬 디코더(240)는 디인터리빙된 전송 스트림 패킷을 리드 솔로몬 방식에 따라 디코딩한다.The Reed Solomon decoder 240 decodes the deinterleaved transport stream packet according to the Reed Solomon method.

엠펙 역다중화부(250)는 리드 솔로몬 방식에 따라 디코딩된 전송 스트림 패킷을 비디오와 오디오 및 데이터로 역다중화한다.The MPEG demultiplexer 250 demultiplexes the transport stream packet decoded according to the Reed Solomon method into video, audio, and data.

엠펙 디코더(260)는 역다중화된 비디오 데이터 및 오디오 데이터를 디코딩한다.MPEG decoder 260 decodes the demultiplexed video data and audio data.

도 3은 본 발명의 일 실시예에 따른 전송 스트림 패킷의 채널 디코딩 장치를 포함하는 수신 장치의 구성을 개략적으로 나타낸 구성도이다.3 is a block diagram schematically illustrating a configuration of a receiving apparatus including a channel decoding apparatus of a transport stream packet according to an embodiment of the present invention.

도 3을 참조하면, 채널 디코딩 장치가 포함된 수신 장치는 제1 리드 솔로몬 디코더(310), 헤더 오류 정정부(TS Packet Header Decision)(320), 제2 리드 솔로몬 디코더(330), 스트림 배열부(340) 및 역다중화부(250)를 포함한다.Referring to FIG. 3, a reception apparatus including a channel decoding apparatus includes a first Reed Solomon decoder 310, a TS Packet Header Decision 320, a second Reed Solomon decoder 330, and a stream arrangement unit. 340 and the demultiplexer 250.

물론, 도 3에 도시하지 않았지만 도 2의 구성에서 도시한 수신부(210), 길쌈 디코더(220), 디인터리버(230) 및 엠펙 디코더(260)를 포함한다.Of course, although not shown in FIG. 3, the receiver 210, the convolutional decoder 220, the deinterleaver 230, and the MPEG decoder 260 illustrated in the configuration of FIG. 2 are included.

제1 리드 솔로몬 디코더(310)는 디인터리버(230)로부터 전달받은 전송 스트림 패킷을 리드 솔로몬 방식에 따라 디코딩하여 스트림 배열부(340)로 전달함과 더불어, 디인터리빙된 전송 스트림 패킷에 대하여 오류를 검사하고, 전송 스트림 패킷의 헤더에 오류가 존재하는 경우 오류 알림(Error Notification) 메시지를 발생시켜 헤더 오류 정정부(320)로 전달한다.The first Reed Solomon decoder 310 decodes the transport stream packet received from the deinterleaver 230 according to the Reed Solomon method, delivers the decoded transport stream packet to the stream arranging unit 340, and detects an error with respect to the deinterleaved transport stream packet. If an error exists in the header of the transport stream packet, an error notification message is generated and transmitted to the header error correction unit 320.

헤더 오류 정정부(320)는 디인터리버(230)로부터 전송 스트림 패킷을 전달받음과 더불어, 제1 리드 솔로몬 디코더(310)로부터 전달받은 오류 알림 메시지를 근거로 전송 스트림 패킷의 헤더에 존재하는 오류를 정정하여 정정 전송 스트림 패킷을 생성하고, 생성한 정정 전송 스트림 패킷을 제2 리드 솔로몬 디코더(330)로 전달한다.The header error correcting unit 320 receives the transport stream packet from the deinterleaver 230 and detects an error in the header of the transport stream packet based on the error notification message received from the first Reed Solomon decoder 310. Correcting generates a corrected transport stream packet, and delivers the generated corrected transport stream packet to the second Reed Solomon decoder 330.

제2 리드 솔로몬 디코더(330)는 헤더 오류 정정부(320)로부터 전달받은 정정 전송 스트림 패킷을 리드 솔로몬 방식에 따라 디코딩하여 스트림 배열부(340)로 전달한다.The second Reed Solomon decoder 330 decodes the corrected transport stream packet received from the header error correcting unit 320 according to the Reed Solomon method and transmits the decoded transport stream packet to the stream arranging unit 340.

스트림 배열부(340)는 제1 리드 솔로몬 디코더(310)로부터 전달받은 전송 스트림 패킷 및 제2 리드 솔로몬 디코더(330)로부터 전달받은 정정 전송 스트림 패킷을 전송 순서에 따라 배열하여 역다중화부(340)로 출력한다.The stream arranging unit 340 arranges the transport stream packet received from the first Reed Solomon decoder 310 and the corrected transport stream packet received from the second Reed Solomon decoder 330 in the transmission order, thereby demultiplexing the unit 340. Will output

역다중화부(340)는 스트림 배열부(340)로부터 전달받은 배열된 스트림 패킷으로부터 비디오와 오디오 데이터를 분리하여 역다중화한다.The demultiplexer 340 demultiplexes video and audio data from the arranged stream packets received from the stream arranging unit 340.

도 3의 구성에서, 헤더 오류 정정부(320)는, 제1 리드 솔로몬 디코더(310)로부터 전달받은 오류 알림(Error Notification) 메시지를 근거로 오류가 있는 전송 스트림 패킷을 삭제하도록 알리는 알림 메시지를 스트림 배열부(340)로 전달한다.In the configuration of FIG. 3, the header error correcting unit 320 streams a notification message for notifying that the transport stream packet having an error is deleted based on an error notification message received from the first Reed Solomon decoder 310. Transfer to the array unit 340.

스트림 배열부(340)는, 헤더 오류 정정부(320)로부터 전달받은 알림 메시지를 근거로 오류가 있는 해당 전송 스트림 패킷(R(x))을 삭제하고, 삭제된 전송 스트림 패킷 대신에 오류가 수정된 정정 전송 스트림 패킷(R'(x))을 배열하게 된다.The stream arrangement unit 340 deletes the corresponding transport stream packet R (x) having an error based on the notification message received from the header error correction unit 320, and corrects the error instead of the deleted transport stream packet. The corrected transport stream packet R ' (x ) is arranged.

또한, 헤더 오류 정정부(320)는, 전송 스트림 패킷의 헤더값에 대한 정보를 저장하고 있는 전송 스트림 헤더 셋트 룩업 테이블을 구비하고, 전송 스트림 헤더 셋트 룩업 테이블에 저장되어 있는 헤더값에 대한 정보를 근거로 전송 스트림 패킷의 헤더에 존재하는 오류를 정정하게 된다.In addition, the header error correction unit 320 includes a transport stream header set lookup table that stores information on the header value of the transport stream packet, and the header error correction unit 320 stores information on the header value stored in the transport stream header set lookup table. On the basis of this, errors in the header of the transport stream packet are corrected.

본 발명의 실시예에 따른 전술한 구성의 채널 디코딩 장치는 방송 네트워크 로부터 전송 스트림 패킷을 수신하는 방송 수신 장치일 수 있으며, 이동통신 네트워크로부터 전송 스트림 패킷을 수신하는 이동통신 단말기일 수 있다.The channel decoding apparatus having the above-described configuration according to an embodiment of the present invention may be a broadcast receiving device that receives a transport stream packet from a broadcast network, or may be a mobile communication terminal that receives a transport stream packet from a mobile communication network.

도 4는 본 발명의 다른 실시예에 따른 전송 스트림 패킷의 채널 디코딩 장치를 포함하는 수신 장치의 구성을 개략적으로 나타낸 구성도이다.4 is a block diagram schematically illustrating a configuration of a receiving apparatus including a channel decoding apparatus of a transport stream packet according to another embodiment of the present invention.

도 4를 참조하면, 채널 디코딩 장치를 포함하는 수신 장치는 버퍼링부(410), 리드 솔로몬 디코더(420), 헤더 오류 정정부(TS Packet Header Decision)(430), 스트림 배열부(440) 및 역다중화부(250)를 포함한다.Referring to FIG. 4, a receiving apparatus including a channel decoding apparatus includes a buffering unit 410, a Reed Solomon decoder 420, a TS Packet Header Decision unit 430, a stream arranging unit 440, and an inverting unit. The multiplexer 250 is included.

물론, 도 4에 도시하지 않았지만 도 2의 구성에서 도시한 수신부(210), 길쌈 디코더(220), 디인터리버(230) 및 엠펙 디코더(260)를 포함한다.Of course, although not illustrated in FIG. 4, the receiver 210, the convolutional decoder 220, the deinterleaver 230, and the MPEG decoder 260 illustrated in the configuration of FIG. 2 are included.

버퍼링부(410)는 디인터리버(230)로부터 전달받은 디인터리빙된 전송 스트림 패킷과, 헤더 오류 정정부(430)로부터 전달받은 정정 전송 스트림 패킷을 버퍼링하여 배열시키게 된다.The buffering unit 410 buffers and arranges the deinterleaved transport stream packet received from the deinterleaver 230 and the corrected transport stream packet received from the header error correction unit 430.

리드 솔로몬 디코더(420)는 버퍼링부(410)로부터 전달받은 오류가 없는 전송 스트림 패킷은 리드 솔로몬 방식에 따라 디코딩하여 스트림 배열부(440)로 전달하고, 버퍼링부(410)에 버퍼링된 전송 스트림 패킷에 대하여 오류를 검사하여, 전송 스트림 패킷의 헤더에 오류가 존재하는 경우, 오류 알림(Error Notification) 메시지를 발생시켜, 헤더 오류 정정부(430)로 전달하며, 헤더 오류 정정부(430)로부터 전달받은 오류가 정정된 정정 전송 스트림 패킷(R'(x))을 리드 솔로몬 방식에 따라 디코딩한 후 스트림 배열부(440)로 전달한다.The Reed Solomon decoder 420 decodes the transport stream packet received without error from the buffering unit 410 to the stream arranging unit 440 by decoding according to the Reed Solomon method, and the transport stream packet buffered in the buffering unit 410. If an error exists in the header of the transport stream packet, an error notification message is generated, delivered to the header error correcting unit 430, and transmitted from the header error correcting unit 430. The corrected transport stream packet (R ' (x) ) having received the corrected error is decoded according to the Reed Solomon method and then transmitted to the stream arrangement unit 440.

헤더 오류 정정부(430)는 리드 솔로몬 디코더(420)로부터 전달받은 오류 알림 메시지를 근거로 전송 스트림 패킷(R(x))의 헤더에 존재하는 오류를 정정하여 정정 전송 스트림 패킷(R'(x))을 생성하고, 생성된 정정 전송 스트림 패킷(R'(x))을 버퍼링부(410)로 출력하게 된다.The header error correcting unit 430 corrects an error in the header of the transport stream packet R (x) based on the error notification message received from the Reed Solomon decoder 420 to correct the transport stream packet R ' (x ) ), And output the generated corrected transport stream packet R ' (x ) to the buffering unit 410.

스트림 배열부(440)는 버퍼링부(410)로부터 전달받은 전송 스트림 패킷 및 정정 전송 스트림 패킷을 전송 순서에 따라 배열하여 역다중화부(250)로 출력한다.The stream arranging unit 440 arranges the transport stream packet and the corrected transport stream packet received from the buffering unit 410 according to the transmission order, and outputs the transport stream packet to the demultiplexer 250.

역다중화부(250)는 배열된 스트림 패킷으로부터 비디오와 오디오 데이터를 분리하여 역다중화하게 된다.The demultiplexer 250 separates video and audio data from the arranged stream packets and demultiplexes them.

도 4의 구성에서, 헤더 오류 정정부(430)는, 리드 솔로몬 디코더(420)로부터 전달받은 오류 알림(Error Notification) 메시지를 근거로 오류가 있는 전송 스트림 패킷(R(x))을 삭제하도록 알리는 알림 메시지를 스트림 배열부(440)로 전달한다.In the configuration of FIG. 4, the header error correcting unit 430 notifies the deleted transport stream packet R (x) based on an error notification message received from the Reed Solomon decoder 420. The notification message is transmitted to the stream arrangement unit 440.

스트림 배열부(440)는, 헤더 오류 정정부(430)로부터 전달받은 알림 메시지를 근거로 오류가 있는 해당 전송 스트림 패킷(R(x))을 삭제하고, 삭제된 전송 스트림 패킷 대신에 오류가 수정된 정정 전송 스트림 패킷(R'(x))을 배열하게 된다.The stream arrangement unit 440 deletes the corresponding transport stream packet R (x) having an error based on the notification message received from the header error correction unit 430, and corrects the error instead of the deleted transport stream packet. The corrected transport stream packet R ' (x ) is arranged.

또한, 헤더 오류 정정부(430)는, 전송 스트림 패킷의 헤더값에 대한 정보를 저장하고 있는 전송 스트림 헤더 셋트 룩업 테이블을 구비하고, 전송 스트림 헤더 셋트 룩업 테이블에 저장되어 있는 헤더값에 대한 정보를 근거로 전송 스트림 패킷 의 헤더에 존재하는 오류를 정정하게 된다.In addition, the header error correction unit 430 includes a transport stream header set lookup table that stores information on the header value of the transport stream packet, and includes information on the header value stored in the transport stream header set lookup table. Based on this, errors in the header of the transport stream packet are corrected.

본 발명의 실시예에 따른 전술한 구성의 채널 디코딩 장치는 방송 네트워크로부터 전송 스트림 패킷을 수신하는 방송 수신 장치일 수 있으며, 이동통신 네트워크로부터 전송 스트림 패킷을 수신하는 이동통신 단말기일 수 있다.The channel decoding apparatus of the above-described configuration according to an embodiment of the present invention may be a broadcast receiving device receiving a transport stream packet from a broadcast network, or may be a mobile communication terminal receiving a transport stream packet from a mobile communication network.

도 5는 본 발명이 적용된 전송 스트림 패킷의 구성을 나타낸 구성도이다.5 is a diagram showing the configuration of a transport stream packet to which the present invention is applied.

도 5를 참조하면, 전송 스트림 패킷은 188 바이트로 구성되고, 크게 해당 전송 스트림 패킷에 대한 사전 정보를 제공하는 헤더(Header)와, 실제 데이터가 기록되는 부분인 페이로드(Payload)로 구성된다. Referring to FIG. 5, a transport stream packet is composed of 188 bytes. The transport stream packet is largely composed of a header that provides advance information on the transport stream packet, and a payload, which is a portion in which actual data is recorded.

헤더는 싱크 바이트(Sync Byte), 전송 에러 표시자(transport error indicator), 시작 표시자(start indicator), 전송 우선 순위(transport priority), 패킷 식별자(PID:Packet Identification), 스크램블링 제어(scrambling control), 적응 필드 제어(adaptation field control), 연속성 카운터(continuity counter), 적응 필드(adaptation field)마다 각각 소정 비트가 할당되어 이에 대한 관련 정보를 제공한다.Headers include Sync Byte, Transport Error Indicator, Start Indicator, Transport Priority, Packet Identification (PID), Scrambling Control A predetermined bit is allocated to each of the adaptation field control, the continuity counter, and the adaptation field to provide related information.

일례로, 전술한 바와 같은 MPEG-2 TS 헤더를 구성하는 정보들 중에서 스크램블링 제어 비트(scrambling control bit)와 적응 필드 제어 비트(adaptation field control bit) 및 패킷 식별자(PID)의 역할 및 비트 조합에 따른 지시 사항은 다음과 같다.For example, among scrambling control bits, adaptation field control bits, packet identifiers (PID), and bit combinations among the information constituting the MPEG-2 TS header as described above. Instructions follow.

2 비트의 스크램블링 제어 비트는 페이로드의 스크램블링 여부를 나타내는 비트로써, 그 비트 조합이 '00'인 경우에는 페이로드가 스크램블되지 않음을 나타내며, 반면에 나머지 비트 조합, 즉, '01', '10', '11'은 통상 페이로드가 스크램블링되어 있음을 의미하는 것으로 사용자 정의(user-defined)에 의해 설정될 수 있다.The 2-bit scrambling control bit is a bit indicating whether the payload is scrambled, and when the bit combination is '00', the payload is not scrambled, while the remaining bit combinations, that is, '01' and '10'. '11' means that the payload is scrambled and can be set by user-defined.

2 비트의 적응 필드 제어 비트는 적응 필드 사용 여부를 나타내는 비트로써, 그 비트 조합이 '01'인 경우는 적응 필드는 없으나 페이로드가 존재함을 나타내며, 반면에 '10'인 경우는 페이로드는 없으나 적응 필드가 존재함을 나타내고, '11'인 경우는 페이로드 및 적응 필드가 모두 존재함을 나타내는 비트이다.The 2-bit adaptation field control bit is a bit indicating whether to use the adaptation field. If the bit combination is '01', it indicates that there is no adaptation field but the payload exists, whereas in case of '10', the payload is None, but indicates that the adaptation field exists, '11' is a bit indicating that both the payload and the adaptation field is present.

한편, 패킷 식별자(PID)는 패킷의 종류를 나타내는 비트로 13 비트가 할당되어 있음에 따라 8192(즉, 213=8192) 가지의 서로 다른 패킷에 대한 식별성을 제공한다.On the other hand, the packet identifier (PID) is a bit indicating the type of packet, and 13 bits are allocated, thereby providing identification of 8192 (ie, 213 = 8192) different packets.

이와 같이, 헤더를 구성하는 각각의 정보 비트들이 고유한 의미를 가짐에 따라, MPEG-2 TS 방식의 경우, 전송 스트림 패킷의 에러 검출 시에 예컨대, 1 바이트의 '0x47'이라는 고유한 값을 갖는 싱크 바이트의 값을 확인함으로써 헤더의 오류를 검출할 수 있다.As such, since each information bit constituting the header has a unique meaning, in the MPEG-2 TS scheme, when an error of a transport stream packet is detected, for example, a unique value of '0x47' of 1 byte is used. The error in the header can be detected by checking the value of the sync byte.

또한, 리드 솔로몬 기법에 의한 순방향 에러 정정은 기설정된 에러 검출 능력과 에러 정정 능력을 갖고 있는데, 이는 정보장과 검색장의 합으로 구성된 부호장에서 검색장의 길이가 길수록 에러 검출 능력과 에러 정정 능력이 증가한다. 특히, 에러 정정 능력에 비해 에러 검출 능력이 더 뛰어나다. 여기서, 에러 검출 능력과 에러 정정 능력이란 에러가 발생할 경우, 각각 동시에 발생한 몇 비트의 에러 를 검출할 수 있는가와 정정할 수 있는가에 대한 능력을 말한다.In addition, the forward error correction by the Reed Solomon technique has a predetermined error detection capability and an error correction capability. The longer the length of the search field is, the more the error detection capability and the error correction capability are increased in the code field composed of the sum of the information field and the search field. do. In particular, the error detection capability is superior to the error correction capability. Here, the error detecting capability and the error correcting capability refer to the capability of detecting and correcting how many bits of errors occurred at the same time when an error occurs.

따라서, 기 설정된 에러 검출 능력 내에서 에러가 발생한 패킷과 에러가 발생하지 않은 패킷을 식별할 수 있으며 이때의 에러 검출 단위는 바이트가 된다.Therefore, an error packet and an error free packet can be identified within the preset error detection capability, and the error detection unit is byte.

도 6은 본 발명의 실시예에 따른 8 비트 심볼의 데이터 구조를 나타낸 구성도이다.6 is a block diagram showing a data structure of an 8-bit symbol according to an embodiment of the present invention.

도 6을 참조하면, 각 코드워드(Codeword) C(x)는 255 개의 코드 워드 바이트를 포함하고, 이 중 233 바이트는 데이터이고, 32 바이트는 리던던시 패리티(Redundancy parity)이다.Referring to FIG. 6, each codeword C (x) includes 255 codeword bytes, 233 bytes of data, and 32 bytes of redundancy parity.

심볼 사이즈(Symbol size) s에 따라 최대 코드워드 길이(maximum codeword length) n은 2s-1로써 s가 8이므로 255를 갖는다. n이 255이면 데이터로써 k는 223, 패리티 2t는 32 바이트를 갖는다.According to the symbol size s, the maximum codeword length n is 2 s −1 and s is 8 because s is 8. If n is 255, k has 223 as data and parity 2t has 32 bytes.

한편, 심볼 사이즈 S가 8이고 t가 8이면, 코드워드 길이 n은 204 바이트, 데이터로써의 k는 188 바이트, 패리티 2t는 16 바이트가 된다.On the other hand, if the symbol size S is 8 and t is 8, the codeword length n is 204 bytes, k as data is 188 bytes, and parity 2t is 16 bytes.

도 7은 본 발명의 일 실시예에 따른 전송 스트림 패킷의 채널 디코딩 방법을 설명하기 위한 동작 흐름도이다.7 is a flowchart illustrating a channel decoding method of a transport stream packet according to an embodiment of the present invention.

도 3 및 도 7을 참조하면, 방송 수신 장치나 이동통신 단말기에 적용된 본 발명에 따른 채널 디코딩 장치는, 통신 네트워크로부터 전송 스트림 패킷을 수신하 면, 수신된 전송 스트림 패킷을 복조하고 길쌈 디코딩한 후 디인터리버(230)를 통해 디인터리빙(De-interleaving)을 수행한다(S702).3 and 7, when a channel decoding apparatus according to the present invention applied to a broadcast receiving apparatus or a mobile communication terminal receives a transport stream packet from a communication network, demodulates and convolutionally decodes the received transport stream packet. De-interleaving is performed through the deinterleaver 230 (S702).

채널 디코딩 장치는, 디인터리빙된 전송 스트림 패킷을 스트림 배열부(340)로 전달함과 더불어, 전송 스트림 패킷에 대하여 제1 리드 솔로몬 디코더(310)를 통해 전송 스트림 패킷의 헤더 오류를 검사한다(S704).The channel decoding apparatus transmits the deinterleaved transport stream packet to the stream arranging unit 340 and checks a header error of the transport stream packet through the first Reed Solomon decoder 310 with respect to the transport stream packet (S704). ).

예컨대, 도 5의 전송 스트림 패킷의 구성에서 헤더에 있는 싱크 바이트나 패킷 식별자(PID)의 값이 전송 스트림 헤더 셋트 룩업 테이블에 저장되어 있는 값과 비교하여 일치하는지를 확인하여 헤더의 오류를 검사하게 된다.For example, in the configuration of the transport stream packet of FIG. 5, a header error is checked by comparing a value of a sync byte or a packet identifier (PID) in the header with a value stored in a transport stream header set lookup table. .

채널 디코딩 장치는, 제1 리드 솔로몬 디코더(310)를 통해 스트림 배열부(340)로 전달하는 전송 스트림 패킷의 오류를 검사하여 전송 스트림 패킷의 헤더에 오류가 존재하는 경우, 제1 리드 솔로몬 디코더(310)를 통해 오류 알림(Error Notification) 메시지를 발생시켜 헤더 오류 정정부(320)로 전달한다(S706).The channel decoding apparatus checks an error of a transport stream packet delivered to the stream arranging unit 340 through the first Reed Solomon decoder 310, and if an error exists in the header of the transport stream packet, An error notification message is generated through 310 and transmitted to the header error correction unit 320 (S706).

채널 디코딩 장치에서, 헤더 오류 정정부(320)는 오류 알림 메시지를 근거로 전송 스트림 패킷의 헤더에 존재하는 오류를 정정하여 제2 리드 솔로몬 디코더(330)로 전달한다(S708).In the channel decoding apparatus, the header error correction unit 320 corrects an error existing in the header of the transport stream packet based on the error notification message and transmits the error to the second Reed Solomon decoder 330 (S708).

예컨대, 헤더 오류 정정부(320)는 전송 스트림 패킷의 헤더에 있는 싱크 바이트가 오류인 경우 싱크 바이트의 값을 전송 스트림 헤더 셋트 룩업 테이블에 저장되어 있는 값으로 정정하여, 헤더에 있는 싱크 바이트의 오류를 수정하게 되는 것이다.For example, if the sync byte in the header of the transport stream packet is an error, the header error correction unit 320 corrects the value of the sync byte to a value stored in the transport stream header set lookup table, thereby causing an error in the sync byte in the header. Will be modified.

헤더 오류 정정부(320)로부터 오류가 수정된 정정 전송 스트림 패킷을 전달 받은 제2 리드 솔로몬 디코더(330)는 리드 솔로몬 방식에 따라 정정 전송 스트림 패킷을 디코딩하여 스트림 배열부(340)로 전달한다(S710).The second Reed Solomon decoder 330 receiving the corrected transport stream packet from which the error has been corrected by the header error correction unit 320 decodes the corrected transport stream packet according to the Reed Solomon method, and delivers the corrected transport stream packet to the stream arranging unit 340 ( S710).

또한, 헤더 오류 정정부(320)는 오류가 있는 전송 스트림 패킷을 삭제하도록 하는 알림 메시지를 스트림 배열부(340)로 전달하고, 스트림 배열부(340)는 헤더 오류 정정부(320)로부터 전달받은 알림 메시지를 근거로 오류가 있는 전송 스트림 패킷을 삭제하고, 삭제한 전송 스트림 패킷 대신에 오류가 수정된 정정 전송 스트림 패킷을 배열하게 된다.In addition, the header error correction unit 320 transmits a notification message to delete the transport stream packet in error to the stream arrangement unit 340, the stream arrangement unit 340 received from the header error correction unit 320 On the basis of the notification message, an errored transport stream packet is deleted, and a corrected transport stream packet in which an error is corrected is arranged in place of the deleted transport stream packet.

채널 디코딩 장치에서 스트림 배열부(340)는 제1 리드 솔로몬 디코더(310)로부터 전달받은 오류가 없는 전송 스트림 패킷과, 제2 리드 솔로몬 디코더(330)로부터 전달받은 오류가 수정된 정정 전송 스트림 패킷을 전송 순서에 따라 배열하여 역다중화부(250)로 출력한다(S712).In the channel decoding apparatus, the stream arrangement unit 340 may store a transport stream packet without an error received from the first Reed Solomon decoder 310 and a corrected transport stream packet with an error corrected from the second Reed Solomon decoder 330. Arranged according to the transmission order and output to the demultiplexer 250 (S712).

채널 디코딩 장치는, 배열된 스트림 패킷으로부터 역다중화부(250)를 통해 비디오와 오디오 데이터를 분리하여 역다중화한다(S714).The channel decoding apparatus separates and demultiplexes video and audio data through the demultiplexer 250 from the arranged stream packets (S714).

도 8은 본 발명의 다른 실시예에 따른 전송 스트림 패킷의 채널 디코딩 방법을 설명하기 위한 동작 흐름도이다.8 is a flowchart illustrating a channel decoding method of a transport stream packet according to another embodiment of the present invention.

도 4 및 도 8을 참조하면, 방송 수신 장치나 이동통신 단말기에 적용된 본 발명에 따른 채널 디코딩 장치는, 통신 네트워크로부터 전송 스트림 패킷을 수신하면, 수신된 전송 스트림 패킷을 복조하고 길쌈 디코딩한 후 디인터리버(230)를 통해 디인터리빙(De-interleaving)을 수행한다(S802).4 and 8, when a channel decoding apparatus according to the present invention applied to a broadcast receiving apparatus or a mobile communication terminal receives a transport stream packet from a communication network, the channel decoding apparatus demodulates, convolutionally decodes the received transport stream packet and then decodes the decode. De-interleaving is performed through the interleaver 230 (S802).

디인터리빙된 전송 스트림 패킷은 버퍼링부(410)로 전달됨과 더불어 헤더 오류 정정부(430)로 전달된다. 버퍼링부(410)는 전송 스트림 패킷을 리드 솔로몬 디코더(420)로 전달한다.The deinterleaved transport stream packet is delivered to the buffering unit 410 and to the header error correcting unit 430. The buffering unit 410 transfers the transport stream packet to the Reed Solomon decoder 420.

리드 솔로몬 디코더(420)는 버퍼링부(410)로부터 전달받은 전송 스트림 패킷을 리드 솔로몬 방식에 따라 디코딩하여 스트림 배열부(440)로 전달함과 더불어, 전송 스트림 패킷에 대하여 그 헤더 값에 오류가 있는지를 검사한다(S804).The Reed Solomon decoder 420 decodes the transport stream packet received from the buffering unit 410 according to the Reed Solomon method and delivers it to the stream arranging unit 440. Also, there is an error in the header value of the transport stream packet. Check (S804).

리드 솔로몬 디코더(420)는 전송 스트림 패킷의 헤더에 오류가 있는 경우, 오류 알림 메시지를 헤더 오류 정정부(430)로 전달한다(S806).When there is an error in the header of the transport stream packet, the Reed Solomon decoder 420 transmits an error notification message to the header error correcting unit 430 (S806).

헤더 오류 정정부(430)는 리드 솔로몬 디코더(420)로부터 전달받은 오류 알림 메시지를 근거로 버퍼링부(410)로부터 전달받은 전송 스트림 패킷의 헤더 값을 전송 스트림 헤더 셋트 룩업 테이블에 저장되어 있는 값과 비교하여 일치하지 않는 값이 존재하는 경우, 그 값을 전송 스트림 헤더 셋트 룩업 테이블에 저장되어 있는 값으로 정정한다(S808).The header error correcting unit 430 may compare the header value of the transport stream packet received from the buffering unit 410 with the value stored in the transport stream header set lookup table based on the error notification message received from the Reed Solomon decoder 420. If there is a mismatch in comparison, the value is corrected to a value stored in the transport stream header set lookup table (S808).

예컨대, 헤더 오류 정정부(430)는 전송 스트림 패킷의 헤더에 있는 패킷 식별자(PID)의 값이 전송 스트림 헤더 셋트 룩업 테이블에 저장되어 있는 패킷 식별자 값과 다를 경우에, 해당 패킷 식별자(PID)의 값을 전송 스트림 헤더 셋트 룩업 테이블에 있는 패킷 식별자의 값으로 정정하여, 그 헤더 값을 수정하는 것이다.For example, the header error correcting unit 430 may determine that the value of the packet identifier (PID) in the header of the transport stream packet is different from the packet identifier value stored in the transport stream header set lookup table. The value is corrected to the value of the packet identifier in the transport stream header set lookup table, and the header value is modified.

헤더 오류 정정부(430)는 오류가 수정된 정정 전송 스트림 패킷을 버퍼링부(410)로 전달하고, 버퍼링부(410)는 정정 전송 스트림 패킷을 버퍼링하여 배열한 후 리드 솔로몬 디코더(420)로 전달하며, 리드 솔로몬 디코더(420)는 정정 전송 스 트림 패킷을 리드 솔로몬 방식에 따라 디코딩하여 스트림 배열부(440)로 전달한다(S810). The header error correction unit 430 transfers the corrected transport stream packet in which the error is corrected to the buffering unit 410, and the buffering unit 410 buffers and arranges the correction transport stream packet, and then delivers the correction transport stream packet to the Reed Solomon decoder 420. The Reed Solomon decoder 420 decodes the corrected transmission stream packet according to the Reed Solomon method and transmits the decoded transmission stream packet to the stream arranging unit 440 (S810).

스트림 배열부(440)는 리드 솔로몬 디코더(420)로부터 전달받은 오류가 없는 전송 스트림 패킷과 오류가 수정된 정정 전송 스트림 패킷을 전송 순서에 따라 배열하여 역다중화부(250)로 출력한다(S812).The stream arranging unit 440 arranges the error-free transport stream packet received from the Reed Solomon decoder 420 and the corrected transport stream packet in which the error is corrected in the transmission order, and outputs the transport stream packet to the demultiplexer 250 (S812). .

채널 디코딩 장치는, 배열된 스트림 패킷으로부터 역다중화부(250)를 통해 비디오와 오디오 데이터를 분리하여 역다중화한다(S814).The channel decoding apparatus separates and demultiplexes video and audio data through the demultiplexer 250 from the arranged stream packets (S814).

또한, 헤더 오류 정정부(430)는 오류가 있는 전송 스트림 패킷의 헤더를 정정할 때 오류를 수정하는 대상의 전송 스트림 패킷을 삭제하도록 하는 알림 메시지를 스트림 배열부(440)로 전달하고, 스트림 배열부(440)는 알림 메시지를 근거로 오류가 있는 전송 스트림 패킷을 삭제한 후, 삭제한 전송 스트림 패킷 대신에 정정 전송 스트림 패킷을 재배열하게 된다.In addition, the header error correcting unit 430 transmits a notification message to the stream arranging unit 440 to delete the transport stream packet of which the error is corrected when correcting the header of the transport stream packet in error. The unit 440 deletes the transport packet in error based on the notification message, and then rearranges the correct transport stream packet in place of the deleted transport stream packet.

전술한 바와 같이 본 발명에 의하면, 이동통신 시스템이나 방송 시스템으로부터 제공된 전송 스트림 패킷에 대하여, 리드 솔로몬 방식에 따라 디코딩한 후 전송 스트림 패킷의 헤더에 오류가 존재하는 여부를 확인하여, 오류가 있는 헤더 정보를 정정한 전송 스트림 패킷을 생성하여 출력함으로써, 채널 디코딩(channel decoding)의 효율을 높일 수 있도록 하는, 전송 스트림 패킷의 채널 디코딩 장치 및 그 방법을 실현할 수 있다.As described above, according to the present invention, after decoding a transport stream packet provided from a mobile communication system or a broadcasting system according to the Reed Solomon method, it is checked whether an error exists in the header of the transport stream packet, and thus the header having an error. By generating and outputting a transport stream packet having corrected information, a channel decoding apparatus and method of the transport stream packet can be realized so as to increase the efficiency of channel decoding.

본 발명이 속하는 기술분야의 당업자는 본 발명이 그 기술적 사상이나 필수적 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있으므로, 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적인 것이 아닌 것으로서 이해해야만 한다. 본 발명의 범위는 상기 상세한 설명보다는 후술하는 특허청구범위에 의하여 나타내어지며, 특허청구범위의 의미 및 범위 그리고 그 등가개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.As those skilled in the art to which the present invention pertains may implement the present invention in other specific forms without changing the technical spirit or essential features, the embodiments described above should be understood as illustrative and not restrictive in all aspects. Should be. The scope of the present invention is shown by the following claims rather than the detailed description, and all changes or modifications derived from the meaning and scope of the claims and their equivalents should be construed as being included in the scope of the present invention. do.

본 발명에 따른 채널 디코딩 장치는, 방송 네트워크로부터 전송 스트림 패킷을 수신하는 방송 수신 장치에 적용할 수 있으며, 이동통신 네트워크로부터 전송 스트림 패킷을 수신하는 이동통신 단말기에도 적용할 수 있다.The channel decoding apparatus according to the present invention can be applied to a broadcast receiving device that receives a transport stream packet from a broadcast network, and can be applied to a mobile communication terminal that receives a transport stream packet from a mobile communication network.

도 1은 본 발명의 실시예에 따라 전송 스트림 패킷을 제공하는 방송 송신 장치의 내부 구성을 개략적으로 나타낸 구성도,1 is a configuration diagram schematically showing an internal configuration of a broadcast transmitting device for providing a transport stream packet according to an embodiment of the present invention;

도 2는 일반적인 방송 수신 장치의 구성을 나타낸 구성도,2 is a block diagram showing the configuration of a general broadcast receiving apparatus;

도 3은 본 발명의 일 실시예에 따른 전송 스트림 패킷의 채널 디코딩 장치를 포함하는 수신 장치의 구성을 개략적으로 나타낸 구성도,3 is a block diagram schematically illustrating a configuration of a receiving apparatus including a channel decoding apparatus of a transport stream packet according to an embodiment of the present invention;

도 4는 본 발명의 다른 실시예에 따른 전송 스트림 패킷의 채널 디코딩 장치를 포함하는 수신 장치의 구성을 개략적으로 나타낸 구성도,4 is a configuration diagram schematically showing a configuration of a receiving apparatus including a channel decoding apparatus of a transport stream packet according to another embodiment of the present invention;

도 5는 본 발명이 적용된 전송 스트림 패킷의 구성을 나타낸 구성도,5 is a block diagram showing the configuration of a transport stream packet to which the present invention is applied;

도 6은 본 발명의 실시예에 따른 8 비트 심볼의 데이터 구조를 나타낸 구성도,6 is a block diagram showing a data structure of an 8-bit symbol according to an embodiment of the present invention;

도 7은 본 발명의 일 실시예에 따른 전송 스트림 패킷의 채널 디코딩 방법을 설명하기 위한 동작 흐름도, 그리고7 is an operation flowchart for explaining a channel decoding method of a transport stream packet according to an embodiment of the present invention;

도 8은 본 발명의 다른 실시예에 따른 전송 스트림 패킷의 채널 디코딩 방법을 설명하기 위한 동작 흐름도이다.8 is a flowchart illustrating a channel decoding method of a transport stream packet according to another embodiment of the present invention.

< 도면의 주요 부분에 대한 부호의 설명 ><Description of Symbols for Main Parts of Drawings>

110 : 엠펙 인코더 120 : 엠펙 다중화부110: MPEG encoder 120: MPEG multiplexer

130 : 리드 솔로몬 인코더 140 : 인터리버130: Reed Solomon Encoder 140: Interleaver

150 : 길쌈 인코더 160 : 송신부150: convolutional encoder 160: transmitter

210 : 수신부 220 : 길쌈 디코더210: receiver 220: convolutional decoder

230 : 디인터리버 240 : 리드 솔로몬 디코더230: deinterleaver 240: Reed Solomon decoder

250 : 엠펙 역다중화부 260 : 엠펙 디코더250: MPEG demultiplexer 260: MPEG decoder

310 : 제1 리드 솔로몬 디코더 320 : 헤더 오류 정정부310: first Reed Solomon decoder 320: header error correction unit

330 : 제2 리드 솔로몬 디코더 340 : 스트림 배열부330: second Reed Solomon decoder 340: stream array unit

410 : 버퍼링부 420 : 리드 솔로몬 디코더410: buffering unit 420: Reed Solomon decoder

430 : 헤더 오류 정정부 440 : 스트림 배열부430: header error correction unit 440: stream arrangement unit

Claims (25)

삭제delete 삭제delete 삭제delete 전송 스트림 패킷에 대하여 오류를 검사하고, 상기 전송 스트림 패킷의 헤더에 오류가 존재하는 경우 오류 알림(Error Notification)을 발생시키는 제1 리드솔로몬 디코더; A first ReedSolomon decoder for checking an error on a transport stream packet and generating an error notification when an error exists in a header of the transport stream packet; 상기 오류 알림을 근거로 상기 전송 스트림 패킷의 헤더에 존재하는 오류를 정정하여 정정 전송 스트림 패킷을 생성하는 헤더 오류 정정부; A header error correcting unit generating a corrected transport stream packet by correcting an error in the header of the transport stream packet based on the error notification; 상기 정정 전송 스트림 패킷을 리드 솔로몬 방식에 따라 디코딩하는 제2 리드솔로몬 디코더; 및A second Reed Solomon decoder for decoding the corrected transport stream packet according to a Reed Solomon scheme; And 상기 제1 리드솔로몬 디코더 및 상기 제2 리드솔로몬 디코더로부터 전달받은 상기 전송 스트림 패킷 및 상기 정정 전송 스트림 패킷을 전송 순서에 따라 배열하여 출력하는 스트림 배열부;를 포함하되,And a stream arranging unit for arranging and outputting the transport stream packet and the corrected transport stream packet received from the first ReedSolomon decoder and the second ReedSolomon decoder in a transmission order. 상기 헤더 오류 정정부는, 상기 전송 스트림 패킷의 헤더값에 대한 정보를 저장하고 있는 전송 스트림 헤더 셋트 룩업 테이블을 구비하고, 상기 전송 스트림 헤더 셋트 룩업 테이블에 저장되어 있는 헤더값에 대한 정보를 근거로 상기 전송 스트림 패킷의 헤더에 존재하는 오류를 정정하는 것을 특징으로 하는 전송 스트림 패킷의 채널 디코딩 장치.The header error correcting unit includes a transport stream header set lookup table that stores information about the header value of the transport stream packet, and based on the information about the header value stored in the transport stream header set lookup table. An apparatus for decoding a channel of a transport stream packet, comprising correcting an error existing in a header of the transport stream packet. 전송 스트림 패킷에 대하여 오류를 검사하고, 상기 전송 스트림 패킷의 헤더에 오류가 존재하는 경우 오류 알림(Error Notification)을 발생시키는 제1 리드솔로몬 디코더; A first ReedSolomon decoder for checking an error on a transport stream packet and generating an error notification when an error exists in a header of the transport stream packet; 상기 오류 알림을 근거로 상기 전송 스트림 패킷의 헤더에 존재하는 오류를 정정하여 정정 전송 스트림 패킷을 생성하는 헤더 오류 정정부; A header error correcting unit generating a corrected transport stream packet by correcting an error in the header of the transport stream packet based on the error notification; 상기 정정 전송 스트림 패킷을 리드 솔로몬 방식에 따라 디코딩하는 제2 리드솔로몬 디코더; 및A second Reed Solomon decoder for decoding the corrected transport stream packet according to a Reed Solomon scheme; And 상기 제1 리드솔로몬 디코더 및 상기 제2 리드솔로몬 디코더로부터 전달받은 상기 전송 스트림 패킷 및 상기 정정 전송 스트림 패킷을 전송 순서에 따라 배열하여 출력하는 스트림 배열부;를 포함하되,And a stream arranging unit for arranging and outputting the transport stream packet and the corrected transport stream packet received from the first ReedSolomon decoder and the second ReedSolomon decoder in a transmission order. 상기 헤더 오류 정정부는, 상기 전송 스트림 패킷의 헤더 중 싱크(Sync) 정보 또는 패킷 아이디(PID) 정보를 정정하는 것을 특징으로 하는 전송 스트림 패킷의 채널 디코딩 장치.And the header error correcting unit corrects sync information or packet ID information in headers of the transport stream packet. 전송 스트림 패킷과 하기 헤더 오류 정정부로부터 전달받은 정정 전송 스트림 패킷을 버퍼링하는 버퍼링부;A buffering unit for buffering the transport stream packet and the corrected transport stream packet received from the following header error correcting unit; 버퍼링된 상기 전송 스트림 패킷에 대하여 오류를 검사하고, 상기 전송 스트림 패킷의 헤더에 오류가 존재하는 경우 오류 알림(Error Notification)을 발생시키며, 오류가 정정된 상기 정정 전송 스트림 패킷을 리드 솔로몬 방식에 따라 디코딩하는 리드솔로몬 디코더; An error is checked for the buffered transport stream packet, an error notification is generated when an error exists in the header of the transport stream packet, and the corrected transport stream packet having the error corrected is read according to the Reed Solomon method. A Reed Solomon decoder for decoding; 상기 오류 알림을 근거로 상기 전송 스트림 패킷의 헤더에 존재하는 오류를 정정하여 상기 정정 전송 스트림 패킷을 생성하고 상기 버퍼링부로 출력하는 헤더 오류 정정부; 및A header error correcting unit configured to correct an error in the header of the transport stream packet based on the error notification, to generate the corrected transport stream packet, and output the corrected transport stream packet to the buffering unit; And 상기 버퍼링부로부터 전달받은 상기 전송 스트림 패킷 및 상기 정정 전송 스트림 패킷을 전송 순서에 따라 배열하여 출력하는 스트림 배열부;를 포함하는 전송 스트림 패킷의 채널 디코딩 장치.And a stream arranging unit for arranging and outputting the transport stream packet and the corrected transport stream packet received from the buffering unit in a transmission order. 제 6 항에 있어서,The method of claim 6, 상기 리드솔로몬 디코더는, 상기 리드솔로몬 디코더로부터 상기 전송 스트림 패킷의 헤더에 오류가 존재하는 것을 알리는 상기 오류 알림을 수신하면, 오류가 존재하는 상기 전송 스트림 패킷을 삭제하도록 알리는 알림 메시지를 상기 스트림 배열부로 전달하는 것을 특징으로 하는 전송 스트림 패킷의 채널 디코딩 장치.When the Reed Solomon decoder receives the error notification indicating that an error exists in the header of the transport stream packet, the Reed Solomon decoder sends a notification message to the stream arrangement unit to delete the transport stream packet in which the error exists. Channel decoding apparatus of a transport stream packet, characterized in that for transmitting. 제 7 항에 있어서,The method of claim 7, wherein 상기 스트림 배열부는, 상기 알림 메시지를 근거로 배열하고 있는 스트림 패킷 중 오류가 존재하는 상기 전송 스트림 패킷을 삭제하여 재배열하는 것을 특징으로 하는 전송 스트림 패킷의 채널 디코딩 장치.And the stream arranging unit deletes and rearranges the transport stream packet having an error among the stream packets arranged based on the notification message and rearranges the transport stream packet. 제 6 항에 있어서,The method of claim 6, 상기 헤더 오류 정정부는, 상기 전송 스트림 패킷의 헤더값에 대한 정보를 저장하고 있는 전송 스트림 헤더 셋트 룩업 테이블을 구비하고, 상기 전송 스트림 헤더 셋트 룩업 테이블에 저장되어 있는 헤더값에 대한 정보를 근거로 상기 전송 스트림 패킷의 헤더에 존재하는 오류를 정정하는 것을 특징으로 하는 전송 스트림 패킷의 채널 디코딩 장치.The header error correcting unit includes a transport stream header set lookup table that stores information about the header value of the transport stream packet, and based on the information about the header value stored in the transport stream header set lookup table. An apparatus for decoding a channel of a transport stream packet, comprising correcting an error existing in a header of the transport stream packet. 제 6 항에 있어서,The method of claim 6, 상기 헤더 오류 정정부는, 상기 전송 스트림 패킷의 헤더 중 싱크(Sync) 정보 또는 패킷 아이디(PID) 정보를 정정하여 상기 정정 전송 스트림 패킷을 생성하는 것을 특징으로 하는 전송 스트림 패킷의 채널 디코딩 장치.And the header error correcting unit corrects sync information or packet ID information in the header of the transport stream packet to generate the corrected transport stream packet. 삭제delete 삭제delete 방송 스트림 패킷과 하기 헤더 오류 정정부로부터 전달받은 정정 방송 스트림 패킷을 버퍼링하는 버퍼링부;A buffering unit configured to buffer the broadcast stream packet and the corrected broadcast stream packet received from the following header error correcting unit; 버퍼링된 상기 방송 스트림 패킷에 대하여 오류를 검사하고, 상기 방송 스트림 패킷의 헤더에 오류가 존재하는 경우 오류 알림(Error Notification)을 발생시키며, 오류가 정정된 상기 정정 방송 스트림 패킷을 리드 솔로몬 방식에 따라 디코딩하는 리드솔로몬 디코더; An error is checked for the buffered broadcast stream packet, an error notification is generated when an error exists in the header of the broadcast stream packet, and the corrected broadcast stream packet with the error corrected is read according to the Reed Solomon method. A Reed Solomon decoder for decoding; 상기 오류 알림을 근거로 상기 방송 스트림 패킷의 헤더에 존재하는 오류를 정정하여 상기 정정 방송 스트림 패킷을 생성하고 상기 버퍼링부로 출력하는 헤더 오류 정정부; 및A header error correcting unit configured to correct an error in the header of the broadcast stream packet based on the error notification, to generate the corrected broadcast stream packet, and output the corrected broadcast stream packet to the buffering unit; And 상기 버퍼링부로부터 전달받은 상기 방송 스트림 패킷 및 상기 정정 방송 스 트림 패킷을 전송 순서에 따라 배열하여 출력하는 스트림 배열부;A stream arranging unit for arranging and outputting the broadcast stream packet and the corrected broadcast stream packet received from the buffering unit in a transmission order; 를 포함하는 방송 수신 장치.Broadcast receiving device comprising a. 제 13 항에 있어서,The method of claim 13, 상기 헤더 오류 정정부는, 상기 방송 스트림 패킷의 헤더값에 대한 정보를 저장하고 있는 방송 스트림 헤더 셋트 룩업 테이블을 구비하고, 상기 방송 스트림 헤더 셋트 룩업 테이블에 저장되어 있는 헤더값에 대한 정보를 근거로 상기 방송 스트림 패킷의 헤더에 존재하는 오류를 정정하는 것을 특징으로 하는 방송 수신 장치.The header error correcting unit includes a broadcast stream header set lookup table that stores information on the header value of the broadcast stream packet, and based on the information on the header value stored in the broadcast stream header set lookup table. A broadcast receiving device, characterized in that for correcting errors in the header of a broadcast stream packet. 제 13 항에 있어서,The method of claim 13, 상기 헤더 오류 정정부는, 상기 제1 리드솔로몬 디코더 또는 상기 리드솔로몬 디코더로부터 상기 방송 스트림 패킷의 헤더에 오류가 존재하는 것을 알리는 상기 오류 알림을 수신하면, 오류가 존재하는 상기 방송 스트림 패킷을 삭제하도록 알리는 알림 메시지를 상기 방송 스트림 배열부로 전달하는 것을 특징으로 하는 방송 수신 장치.The header error correcting unit, upon receiving the error notification indicating that an error exists in the header of the broadcast stream packet from the first ReedSolomon decoder or the ReedSolomon decoder, notifies the controller to delete the broadcast stream packet in which the error exists. And transmitting a notification message to the broadcast stream arrangement. 제 15 항에 있어서,The method of claim 15, 상기 방송 스트림 배열부는, 상기 알림 메시지를 근거로 배열하고 있는 스트림 패킷 중 오류가 존재하는 상기 방송 스트림 패킷을 삭제하여 재배열하는 것을 특징으로 하는 방송 수신 장치.And the broadcast stream arranging unit deletes and rearranges the broadcast stream packet having an error among the stream packets arranged on the basis of the notification message. 삭제delete (a) 전송 스트림 패킷을 버퍼링함과 더불어 상기 전송 스트림 패킷에 대하여 오류를 검사하고, 상기 전송 스트림 패킷의 헤더에 오류가 존재하는 경우 오류 알림(Error Notification)을 발생시키는 단계;(a) buffering a transport stream packet and checking an error for the transport stream packet, and generating an error notification when an error exists in a header of the transport stream packet; (b) 상기 오류 알림을 근거로 상기 전송 스트림 패킷의 헤더에 존재하는 오 류를 정정하여 상기 정정 전송 스트림 패킷을 생성하는 단계; (b) generating the corrected transport stream packet by correcting an error in the header of the transport stream packet based on the error notification; (c) 오류가 정정된 상기 정정 전송 스트림 패킷을 리드 솔로몬 방식에 따라 디코딩하고 버퍼링하는 단계; 및(c) decoding and buffering the corrected transport stream packet with error correction according to a Reed Solomon scheme; And (d) 버퍼링된 상기 전송 스트림 패킷 및 상기 정정 전송 스트림 패킷을 전송 순서에 따라 배열하여 출력하는 단계;를 포함하는 전송 스트림 패킷의 채널 디코딩 방법.(d) arranging and outputting the buffered transport stream packet and the corrected transport stream packet in a transmission order. 제 18 항에 있어서,The method of claim 18, 상기 (d) 단계는, 상기 알림 메시지를 근거로 오류가 존재하는 해당 전송 스트림 패킷을 삭제하고, 삭제된 전송 스트림 패킷 대신에 상기 정정 전송 스트림 패킷을 배열하는 것을 특징으로 하는 전송 스트림 패킷의 채널 디코딩 방법.In step (d), the transport stream packet is decoded based on the notification message, and the corrected transport stream packet is arranged in place of the deleted transport stream packet. Way. 제 18 항에 있어서,The method of claim 18, 상기 (b) 단계는, 상기 전송 스트림 패킷의 헤더값에 대한 정보를 저장하고 있는 전송 스트림 헤더 셋트 룩업 테이블에 저장되어 있는 헤더값에 대한 정보를 근거로 상기 전송 스트림 패킷의 헤더에 존재하는 오류를 정정하여 상기 정정 전송 스트림 패킷을 생성하는 것을 특징으로 하는 전송 스트림 패킷의 채널 디코딩 방법.Step (b) is based on the information on the header value stored in the transport stream header set lookup table that stores the information on the header value of the transport stream packet to determine the error present in the header of the transport stream packet. And correcting to generate the corrected transport stream packet. 제 18 항에 있어서,The method of claim 18, 상기 (b) 단계는, 상기 전송 스트림 패킷의 헤더 중 싱크(Sync) 정보 또는 패킷 아이디(PID) 정보를 정정하여 상기 정정 전송 스트림 패킷을 생성하는 것을 특징으로 하는 전송 스트림 패킷의 채널 디코딩 방법.In the step (b), the corrected transport stream packet is generated by correcting sync information or packet ID information in the header of the transport stream packet. 미리 지정된 패턴의 헤더가 포함된 패킷을 순방향 에러 정정(forward error correction, 이하 FEC) 방식으로 채널 코딩하여 생성한 패킷 스트림의 채널 디코딩 방법으로서,A channel decoding method of a packet stream generated by channel coding a packet including a header of a predetermined pattern using forward error correction (FEC). (a) 상기 패킷 스트림에 FEC 에러가 존재하는지를 검출하는 단계;(a) detecting whether there is an FEC error in the packet stream; (b) 상기 패킷 스트림에 FEC 에러가 존재하면, 상기 미리 지정된 패턴에 기초하여 상기 패킷 스트림 중에서 패킷 헤더를 정정하여 정정 패킷 스트림을 생성하는 단계; 및(b) if there is an FEC error in the packet stream, generating a corrected packet stream by correcting a packet header among the packet streams based on the predetermined pattern; And (c) 상기 정정 패킷 스트림을 FEC 디코딩하는 단계;(c) FEC decoding the correction packet stream; 를 포함하는 패킷 스트림의 채널 디코딩 방법.Channel decoding method of a packet stream comprising a. 제 22 항에 있어서,The method of claim 22, 상기 (a) 단계는, 상기 패킷 스트림의 헤더에 미리 지정된 패턴에 에러가 있는지를 검사하여 상기 FEC 에러가 존재하는지를 검출하는 것을 특징으로 하는 패킷 스트림의 채널 디코딩 방법.In the step (a), it is determined whether there is an error in a predetermined pattern in the header of the packet stream to detect whether the FEC error exists. 제 22 항에 있어서,The method of claim 22, 상기 (b) 단계는, 상기 패킷 스트림 중에서 에러가 있는 상기 패킷 헤더를 상기 미리 지정된 패턴으로 정정하여, 상기 정정 패킷 스트림을 생성하는 것을 특징으로 하는 패킷 스트림의 채널 디코딩 방법.In the step (b), the corrected packet stream is generated by correcting the packet header having an error in the packet stream in the predetermined pattern to generate the corrected packet stream. 제 22 항에 있어서,The method of claim 22, 상기 (c) 단계는, 에러가 존재하지 않은 패킷 스트림과 에러가 정정된 상기 정정 패킷 스트림을 전송 순서에 따라 배열하여 출력하는 것을 특징으로 하는 패킷 스트림의 채널 디코딩 방법.In the step (c), the packet stream having no error and the corrected packet stream having the error corrected are arranged and output in a transmission order.
KR1020070090087A 2007-09-05 2007-09-05 Channel decoding device in transport stream packet, and method thereof KR100916702B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070090087A KR100916702B1 (en) 2007-09-05 2007-09-05 Channel decoding device in transport stream packet, and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070090087A KR100916702B1 (en) 2007-09-05 2007-09-05 Channel decoding device in transport stream packet, and method thereof

Publications (2)

Publication Number Publication Date
KR20090025048A KR20090025048A (en) 2009-03-10
KR100916702B1 true KR100916702B1 (en) 2009-09-11

Family

ID=40693633

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070090087A KR100916702B1 (en) 2007-09-05 2007-09-05 Channel decoding device in transport stream packet, and method thereof

Country Status (1)

Country Link
KR (1) KR100916702B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11967330B2 (en) 2019-08-15 2024-04-23 Dolby International Ab Methods and devices for generation and processing of modified audio bitstreams

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101982273B1 (en) * 2012-12-17 2019-05-24 삼성전자주식회사 Broadcast transmit apparatus, broadcast receive apparatus, and the method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040057873A (en) * 2002-12-23 2004-07-02 삼성전자주식회사 Concatenated code decoder via parity bit recycling and method thereof
KR20040108314A (en) * 2003-06-16 2004-12-23 삼성전자주식회사 Digital transmitter/receiver system having a robust error correction coding/decoding apparatus and a method error correction coding/decoding therof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040057873A (en) * 2002-12-23 2004-07-02 삼성전자주식회사 Concatenated code decoder via parity bit recycling and method thereof
KR20040108314A (en) * 2003-06-16 2004-12-23 삼성전자주식회사 Digital transmitter/receiver system having a robust error correction coding/decoding apparatus and a method error correction coding/decoding therof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11967330B2 (en) 2019-08-15 2024-04-23 Dolby International Ab Methods and devices for generation and processing of modified audio bitstreams

Also Published As

Publication number Publication date
KR20090025048A (en) 2009-03-10

Similar Documents

Publication Publication Date Title
KR100560712B1 (en) Information data multiplexing transmission system, multiplexer and demultiplexer used therefor, and error correcting encoder and decoder
US8824543B2 (en) Multilayer decoding using persistent bits
KR101198935B1 (en) Digital broadcast transmitter, digital broadcast receiver and stream processing methods thereof
KR100806863B1 (en) Digital broadcasting transmission/reception devices capable of improving a receiving performance and signal processing method thereof
KR101147759B1 (en) Transmitting/receiving system of digital broadcasting
AU2009244223B2 (en) Fast channel zapping and high quality streaming protection over a broadcast channel
US8069388B2 (en) Distributed block coding (DBC)
KR100811184B1 (en) Outer encoder, and, method thereof
US20040136455A1 (en) Efficient bit stream synchronization
KR20070055671A (en) Digital broadcasting system and processing method
CN1954605B (en) Digital broadcasting transmission/reception devices and signal processing method thereof
US8458569B2 (en) Apparatus and method for improving error correction capability using stuffing byte
US8238484B2 (en) Digital transmission and reception devices for transmitting and receiving streams, and processing methods thereof
WO2008102215A1 (en) Data communication unit, data communication network and method of decoding
KR101486318B1 (en) Device for generating transmit stream, digital broadcast transmitter comprising the device, and methods thereof
KR100916702B1 (en) Channel decoding device in transport stream packet, and method thereof
KR101227507B1 (en) An apparatus and a method for tranmitting a digital broadcasting signal
WO2008069375A1 (en) Trellis encoder and trellis encoding device having the same
KR100891693B1 (en) Mapping arrangement for digital communication system
KR101198936B1 (en) Digital broadcast transmitter and transmission method thereof
KR100949973B1 (en) Broadcasting transmitter/receiver and method of processing broadcasting signal
KR101085916B1 (en) Digital broadcasting receiver and stream processing method thereof
KR101086309B1 (en) Digital broadcasting receiver and stream processing method thereof
KR101086310B1 (en) Digital broadcasting receiver and stream processing method thereof
JP2011109316A (en) Transmitter

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: 20120821

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20130828

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20140901

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20150831

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20160830

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20170829

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20180829

Year of fee payment: 10