KR101507849B1 - Digital broadcasting receiver and method for processing data - Google Patents
Digital broadcasting receiver and method for processing data Download PDFInfo
- Publication number
- KR101507849B1 KR101507849B1 KR20090012635A KR20090012635A KR101507849B1 KR 101507849 B1 KR101507849 B1 KR 101507849B1 KR 20090012635 A KR20090012635 A KR 20090012635A KR 20090012635 A KR20090012635 A KR 20090012635A KR 101507849 B1 KR101507849 B1 KR 101507849B1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- service data
- packet
- pcr
- main service
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/434—Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
- H04N21/4343—Extraction or processing of packetized elementary streams [PES]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/146—Data rate or code amount at the encoder output
- H04N19/152—Data rate or code amount at the encoder output by measuring the fullness of the transmission buffer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/44—Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
본 명세서에는 디지털 방송 시스템 및 데이터 처리 방법이 개시된다. 본 발명의 일실시예에 따른 디지털 방송 전송 시스템의 데이터 처리 방법은, 메인 서비스 데이터와 모바일 서비스 데이터를 포함하는 방송 신호를 처리하는 경우, 상기 모바일 서비스 데이터의 크기에 기초하여 PCR (Program Clock Reference)의 기준 시간을 지연 시키는 단계와, 상기 지연된 기준시간의 PCR에 근거하여, T-STD (Transport stream System Target Decoder) 모델을 인증(verify) 하는 단계와, 그리고 상기 T-STD 모델의 인증 결과에 따라, 상기 메인 서비스 데이터의 전송을 제어하는 단계를 포함한다.Disclosed herein are a digital broadcasting system and a data processing method. A data processing method of a digital broadcast transmission system according to an embodiment of the present invention is a method of processing a broadcast signal including main service data and mobile service data, STD (Transport Stream System Target Decoder) model based on the PCR of the delayed reference time, and transmitting the T-STD model according to the authentication result of the T-STD model , And controlling transmission of the main service data.
디지털 방송, PCR Digital broadcasting, PCR
Description
본 발명은 디지털 방송 시스템에 관한 것으로, 보다 상세하게는 디지털 방송 전송 시스템, 디지털 방송 수신기, 그리고 상기 디지털 방송 전송 시스템 및 디지털 방송 수신기의 데이터 처리 방법에 관한 것이다. The present invention relates to a digital broadcasting system, and more particularly, to a digital broadcasting transmission system, a digital broadcasting receiver, and a data processing method for the digital broadcasting transmission system and the digital broadcasting receiver.
디지털 방송 시스템은, 디지털 방송 송신기와 디지털 방송 수신기 등으로 이루어 질 수 있다. 또한, 상기 디지털 방송 송신기는, 방송 프로그램 등의 데이터를 디지털 방식으로 처리하여, 상기 디지털 방송 수신기 측으로 전송한다. 이와 같은 디지털 방송 시스템은, 데이터 전송의 효율성 등의 다양한 장점으로 인하여, 점차 아날로그 방송 시스템을 대체하고 있다.The digital broadcasting system may include a digital broadcasting transmitter and a digital broadcasting receiver. Also, the digital broadcast transmitter processes data such as a broadcast program in a digital manner and transmits the processed data to the digital broadcast receiver. Such digital broadcasting systems are gradually replacing analog broadcasting systems due to various advantages such as efficiency of data transmission.
나아가, 최근에 있어서는 이동 중에도 방송 신호를 수신할 수 있는 디지털 방송 수신기에 대한 연구가 이루어 지고 있다. 따라서, 디지털 방송 전송 시스템은, 고정형 디지털 방송 수신 시스템을 위한 방송 신호 및 이동형 디지털 방송 수신 시스템을 위한 방송 신호를 모두 전송할 수가 있다.In recent years, studies have been made on a digital broadcast receiver capable of receiving broadcast signals even on the move. Therefore, the digital broadcasting transmission system can transmit both the broadcasting signal for the fixed digital broadcasting reception system and the broadcasting signal for the mobile digital broadcasting reception system.
그러나, 종래 기술에 의하면, 상기 고정형 디지털 방송 수신 시스템을 위한 방송 신호에 상기 이동형 디지털 방송 수신 시스템을 위한 방송 신호를 단순 추가하는 경우, 예상할 수 없는 버퍼의 오버플로우(overflow) 또는 언더플로우(underflow) 등의 문제가 수시로 발생하게 된다.However, according to the related art, when a broadcasting signal for the mobile digital broadcasting receiving system is simply added to a broadcasting signal for the fixed digital broadcasting receiving system, an unexpected buffer overflow or underflow ) And the like occur frequently.
본 발명의 일실시예는, 상기 고정형 디지털 방송 수신 시스템을 위한 방송 신호와 상기 이동형 디지털 방송 수신 시스템을 위한 방송 신호를 모두 처리하는 과정에서도, 버퍼의 오버플로우(overflow) 또는 언더플로우(underflow) 등의 문제가 전혀 발생하지 않을 수 있는 디지털 방송 시스템 및 데이터 처리 방법을 제공하고자 한다.In an exemplary embodiment of the present invention, even in the process of processing both the broadcasting signal for the fixed digital broadcasting receiving system and the broadcasting signal for the mobile digital broadcasting receiving system, the overflow or underflow of the buffer A digital broadcasting system, and a data processing method in which a problem of a digital broadcasting system and a data processing method may not occur at all.
본 발명의 일실시예에 따른 디지털 방송 전송 시스템의 데이터 처리 방법은, 메인 서비스 데이터와 모바일 서비스 데이터를 포함하는 방송 신호를 처리하는 경우, 상기 모바일 서비스 데이터의 크기에 기초하여 PCR (Program Clock Reference)의 기준 시간을 지연 시키는 단계와, 상기 지연된 기준시간의 PCR에 근거하여, T-STD (Transport stream System Target Decoder) 모델을 인증(verify) 하는 단계와, 그리고 상기 T-STD 모델의 인증 결과에 따라, 상기 메인 서비스 데이터의 전송을 제어하는 단계를 포함한다.A data processing method of a digital broadcast transmission system according to an embodiment of the present invention is a method of processing a broadcast signal including main service data and mobile service data, STD (Transport Stream System Target Decoder) model based on the PCR of the delayed reference time, and transmitting the T-STD model according to the authentication result of the T-STD model , And controlling transmission of the main service data.
또한, 본 발명의 일실시예에 따른 디지털 방송 수신기의 데이터 처리 방법은, 메인 서비스 데이터 패킷, 모바일 서비스 데이터 패킷, 그리고 기준 시간이 지연된 PCR (Program Clock Reference) 을 포함하는 방송 신호를 수신하는 단계와, 상기 수신된 방송 신호를 역다중화 하는 단계와, 그리고 상기 PCR에 따라, 역다중화된 메인 서비스 데이터 패킷을 디코딩 하는 단계를 포함한다.Also, a data processing method of a digital broadcast receiver according to an embodiment of the present invention includes receiving a broadcast signal including a main service data packet, a mobile service data packet, and a PCR (Program Clock Reference) delayed by a reference time Demultiplexing the received broadcast signal, and decoding the demultiplexed main service data packet according to the PCR.
또한, 본 발명의 일실시예에 따른 디지털 방송 전송 시스템은, 메인 서비스 데이터와 모바일 서비스 데이터를 포함하는 방송 신호를 처리하는 경우, 상기 모바일 서비스 데이터의 크기에 기초하여 PCR (Program Clock Reference)의 기준 시간을 지연 시키는 지연부와, 상기 지연된 기준시간의 PCR에 근거하여, T-STD (Transport stream System Target Decoder) 모델을 인증(verify) 하는 인증부와, 그리고 상기 T-STD 모델의 인증 결과에 따라, 상기 메인 서비스 데이터의 전송을 제어하는 제어부를 포함한다.In addition, in the case of processing a broadcast signal including main service data and mobile service data, the digital broadcast transmission system according to an embodiment of the present invention may further include: a reference of a PCR (Program Clock Reference) based on the size of the mobile service data; An authentication unit for verifying a T-STD (Transport Stream System Target Decoder) model based on the PCR of the delayed reference time, And a control unit for controlling transmission of the main service data.
그리고, 본 발명의 일실시예에 따른 디지털 방송 수신기는, 메인 서비스 데이터 패킷, 모바일 서비스 데이터 패킷, 그리고 기준 시간이 지연된 PCR (Program Clock Reference) 을 포함하는 방송 신호를 수신하는 수신부와, 상기 수신된 방송 신호를 역다중화 하는 역다중화부와, 그리고 상기 PCR에 따라, 역다중화된 메인 서비스 데이터 패킷을 디코딩 하는디코더를 포함한다.A digital broadcast receiver according to an embodiment of the present invention includes a receiver for receiving a main service data packet, a mobile service data packet, and a broadcast signal including a PCR (Program Clock Reference) delayed by a reference time, A demultiplexer for demultiplexing the broadcast signal, and a decoder for decoding the demultiplexed main service data packet according to the PCR.
본 발명의 일실시예에 의하면, T-STD를 만족하는 TS 스트림에 MH 데이터를 추가함으로써 발생할 수 있는 T-STD 모델의 오버플로우 및 언더플로우를 방지할 수가 있다.According to the embodiment of the present invention, overflow and underflow of the T-STD model, which may occur by adding MH data to the TS stream satisfying the T-STD, can be prevented.
이하 첨부 도면들 및 첨부 도면들에 기재된 내용들을 참조하여 본 발명의 실시예를 상세하게 설명하지만, 본 발명이 실시예들에 의해 제한되거나 한정되는 것은 아니다. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and accompanying drawings, but the present invention is not limited to or limited by the embodiments.
본 명세서에서 사용되는 용어는 본 발명에서의 기능을 고려하면서 가능한 현재 널리 사용되는 일반적인 용어를 선택하였으나, 이는 당분야에 종사하는 기술자의 의도 또는 관례 또는 새로운 기술의 출현 등에 따라 달라질 수 있다. 또한 특정한 경우는 출원인이 임의로 선정한 용어도 있으며, 이 경우 해당되는 발명의 설명 부분에서 그 의미를 기재할 것이다. 따라서 본 명세서에서 사용되는 용어는, 단순한 용어의 명칭이 아닌 그 용어가 가지는 실질적인 의미와 본 명세서의 전반에 걸친 내용을 토대로 해석되어야 함을 밝혀두고자 한다.As used herein, terms used in the present invention are selected from general terms that are widely used in the present invention while taking into account the functions of the present invention, but these may vary depending on the intention or custom of a person skilled in the art or the emergence of new technologies. Also, in certain cases, there may be a term chosen arbitrarily by the applicant, in which case the meaning thereof will be described in the description of the corresponding invention. Therefore, it is intended that the terminology used herein should be interpreted based on the meaning of the term rather than on the name of the term, and on the entire contents of the specification.
본 발명에서 사용되는 용어 중 메인 서비스 데이터는 고정형 수신 시스템에서 수신할 수 있는 데이터로서, 오디오/비디오(A/V) 데이터를 포함할 수 있다. 즉, 상기 메인 서비스 데이터에는 HD(High Definition) 또는 SD(Standard Definition)급의 A/V 데이터가 포함될 수 있으며, 데이터 방송을 위한 각종 데이터가 포함될 수도 있다. 그리고 기지(Known) 데이터는 송/수신측의 약속에 의해 미리 알고 있는 데이터이다. Among the terms used in the present invention, main service data may include audio / video (A / V) data as data that can be received by a fixed receiving system. That is, the main service data may include HD (High Definition) or SD (Standard Definition) A / V data, and various data for data broadcasting may be included. The known data is previously known data by the promise of the transmitting / receiving side.
본 발명에서 사용되는 용어 중 MH는 모바일(Mobile), 핸드헬드(Handheld) 각각의 첫 글자이며, 고정형 에 반대되는 개념이다. 그리고 MH 서비스 데이터는 모바일(Mobile) 서비스 데이터, 핸드헬드(Handheld) 서비스 데이터 중 적어도 하나를 포함하며, 설명의 편의를 위해 본 발명에서는 MH 서비스 데이터를 모바일 서비스 데이터라 하기도 한다. 이때 상기 모바일 서비스 데이터에는 MH 서비스 데이터뿐만 아니라, 이동이나 휴대를 의미하는 서비스 데이터는 어느 것이나 포함될 수 있으며, 따라서 상기 모바일 서비스 데이터는 상기 MH 서비스 데이터로 제한되지 않을 것이다. Among the terms used in the present invention, MH is the first letter of each of a mobile and a handheld, and is a concept opposite to a fixed type. The MH service data includes at least one of mobile service data and handheld service data. For convenience of explanation, the MH service data is also referred to as mobile service data in the present invention. In this case, the mobile service data may include not only MH service data but also service data indicating movement or carrying, so that the mobile service data will not be limited to the MH service data.
상기와 같이 정의된 모바일 서비스 데이터는 프로그램 실행 파일, 주식 정보 등과 같이 정보를 갖는 데이터일 수도 있고, A/V 데이터일 수도 있다. 특히 상기 모바일 서비스 데이터는 휴대용이나 이동형 단말기(또는 방송 수신기)를 위한 서비스 데이터로서 메인 서비스 데이터에 비해서 작은 해상도와 작은 데이터 율을 가지는 A/V 데이터가 될 수도 있다. 예를 들어, 기존 메인 서비스를 위해 사용하는 A/V 코덱(Codec)이 MPEG-2 코덱(Codec)이라면, 모바일 서비스를 위한 A/V 코덱(Codec)으로는 보다 영상 압축 효율이 좋은 MPEG-4 AVC(Advanced Video Coding), SVC(Scalable Video Coding) 등의 방식이 사용될 수도 있다. 또한 상기 모바일 서비스 데이터로 어떠한 종류의 데이터라도 전송될 수 있다. 일례로 실시간으로 교통 정보를 방송하기 위한 TPEG(Transport Protocol Expert Group) 데이터가 모바일 서비스 데이터로 전송될 수 있다. The mobile service data defined above may be data having information such as a program executable file, stock information, etc., or A / V data. In particular, the mobile service data may be service data for a portable or mobile terminal (or broadcast receiver), and may be A / V data having a smaller resolution and smaller data rate than the main service data. For example, if the A / V codec used for the existing main service is an MPEG-2 codec, the A / V codec for mobile service may be MPEG-4 Advanced Video Coding (AVC), and Scalable Video Coding (SVC). Also, any kind of data can be transmitted with the mobile service data. For example, TPEG (Transport Protocol Expert Group) data for broadcasting traffic information in real time can be transmitted as mobile service data.
또한 상기 모바일 서비스 데이터를 이용한 데이터 서비스로는 날씨 서비스, 교통 서비스, 증권 서비스, 시청자 참여 퀴즈 프로그램, 실시간 여론 조사, 대화형 교육 방송, 게임 서비스, 드라마의 줄거리, 등장인물, 배경음악, 촬영장소 등에 대한 정보 제공 서비스, 스포츠의 과거 경기 전적, 선수의 프로필 및 성적에 대한 정보 제공 서비스, 상품 정보 및 이에 대한 주문 등이 가능하도록 하는 서비스별, 매체별, 시간별, 또는 주제별로 프로그램에 대한 정보 제공 서비스 등이 될 수 있으며, 본 발명은 이에 한정하지는 않는다. The data service using the mobile service data may include a weather service, a traffic service, a securities service, a viewer participation quiz program, a real-time opinion survey, an interactive education broadcast, a game service, a plot of a drama, Providing information on programs by service, media, hourly, or topic that enables information service for information, information on past competitions of sports, profiles and grades of athletes, and product information and orders Or the like, and the present invention is not limited thereto.
본 발명의 전송 시스템은 기존 수신 시스템에서 메인 서비스 데이터를 수신 하는데 전혀 영향을 주지 않으면서(backward compatible), 동일한 물리적 채널에 메인 서비스 데이터와 모바일 서비스 데이터를 다중화하여 전송할 수 있도록 한다. The transmission system according to the present invention is capable of multiplexing the main service data and the mobile service data on the same physical channel without any influence on receiving the main service data in the existing receiving system.
도 1은 디지털 방송 전송 시스템 중 하나인, T-STD의 구성을 도시한 블록도이다. 다만, 상기 T-STD는, 예를 들어 MPEG2 (Moving Picture Experts Group 2) T-STD에 대응될 수도 있다.1 is a block diagram showing a configuration of a T-STD, which is one of digital broadcasting transmission systems. However, the T-STD may correspond to, for example, MPEG2 (Moving Picture Experts Group 2) T-STD.
상기 T-STD는 디지털 방송 수신기를 모델링 하고, 상기 모델링 결과를 이용하여 디지털 방송 송신 시스템의 엔코더를 조정한다. 도 1에 도시된 t(i)는, 트랜스포트 스트림(transport stream)의 i 번째 바이트(byte)가 입력되는 시간을 의미하고, 상기 시간의 bitrate은 예를 들어, 약 19.39Mbps가 된다.The T-STD models a digital broadcast receiver and adjusts the encoder of the digital broadcast transmission system using the modeling result. In FIG. 1, t (i) denotes the time when the i-th byte of the transport stream is input, and the bitrate of the time is, for example, about 19.39 Mbps.
한편, 입력되는 TS 패킷들은, PID에 따라 이동하는 경로(path)가 결정되는데, 비디오 패킷의 경우 도 1에 도시된 가장 윗쪽 경로(예를 들어, 도 1의 TB1)로 이동한다. 또한, 오디오 패킷의 경우 도 1에 도시된 중간 경로(예를 들어, 도 1의 TBn)로 이동하며, 시스템을 제어하는 패킷의 경우 도 1에 도시된 가장 아랫쪽 경로(예를 들어, 도 1의 TBsys)로 이동한다.On the other hand, the path of the TS packets to be moved according to the PID is determined. In the case of the video packet, the TS packet moves to the uppermost path (e.g., TB1 in FIG. 1) shown in FIG. In the case of an audio packet, the intermediate path shown in Fig. 1 (for example, TBn in Fig. 1) is shifted to the lowest path shown in Fig. 1 (for example, TBsys.
다만, 본 발명의 명세서에서는 오디오 패킷을 예를 들어 설명하도록 하겠으나, 상기 비디오 패킷이나, 상기 시스템을 제어하는 패킷에도 모두 적용될 수가 있다. 따라서, 본 발명의 권리범위는 원칙적으로 특허청구범위에 기재된 내용에 따라 정해져야 하며, 일실시예인 오디오 패킷으로 권리범위가 한정되는 것은 아니다.However, although audio packets are described in the specification of the present invention, the present invention can be applied to both video packets and packets controlling the system. Accordingly, the scope of the present invention should be determined in accordance with the contents of the claims, and the scope of the present invention is not limited to audio packets.
도 1에 도시된 TBn(110)은 트랜스포트(transport) 버퍼를 의미하고, Bn(120)은 메인 버퍼를 의미하며, 그리고 Dn(130)은 디코더를 의미한다.TBn 110 shown in FIG. 1 denotes a transport buffer,
상기 TBn(110)은 예를 들어, 512 bytes의 크기를 가질 수 있으며, 상기 TBn(110)으로 들어온 데이터는 RXn의 레이트(rate)로 상기 Bn(120)으로 이동된다. 그리고, 상기 Bn(120)으로의 이동 속도는, 상기 TBn(110)에 데이터가 있을 경우 2Mbps의 레이트가 되며, 상기 TBn(110)에 데이터가 없을 경우에는 0Mbps의 레이트가 된다. 또한, 상기 TBn(110)에서는 오버플로우가 발생하면 안된다. 다만, 모바일 서비스 데이터와 메인 서비스 데이터를 모두 처리하는 경우, 상기 TBn(110)에서의 오버플로우가 문제되며, 이를 해결하는 방법에 대해서는 이하 다른 도면을 참조하여 보다 상세히 설명하도록 하겠다.The
한편, 상기 Bn(120)의 크기는 예를 들어 3584 bytes 또는 2592 bytes가 될 수 있으며, RXn의 속도로 인풋(input)된 비트 스트림은 tdn(j)의 시간에 상기 Dn(130)으로 전송된다. 상기 tdn(j)는, 비트스트림을 통해 전달되는 DTS (Decoding Time Stamp)에 의해 결정된다. 또한, PCR을 이용해서 STC를 복원(recover)하고, 상기 복원된 STC가 DTS와 일치하는 시점에, 상기 Bn(120)에 있던 데이터가 상기 Dn(130)으로 전달된다. 또한, 상기 Bn(120)에서는 오버플로우 및 언더플로우가 발생하면 안된다. 다만, 모바일 서비스 데이터와 메인 서비스 데이터를 모두 처리하는 경우, 상기 Bn(120)에서의 오버플로우가 특히 문제되며, 이를 해결하는 방법에 대해서는 이하 다른 도면을 참조하여 보다 상세히 설명하도록 하겠다.The size of the
도 2는 본 발명의 일실시예에 따른 디지털 방송 전송 시스템의 구성을 도시한 블록도이다. 도 2에 도시된 바와 같이, 본 발명의 일실시예에 따른 디지털 방 송 전송 시스템(200)은, MH 프레임 컨트롤러(MH frame controller)(201), 패킷 타이밍/PCR 조정부(packet timing/PCR adjustment Unit)(202), 패킷 먹스(packet mux)(210), MH 프레임 인코더(MH frame encoder)(205), 블록 프로세서(Block processor)(206), 시그널링 인코더(signaling encoder)(207), 그룹 포맷터(Group formatter)(208), 패킷 포맷터(Packet formatter)(209), 모디파이드 데이터 랜더마이즈(Modified data randomizer)(212), 시스템/논시스템 RS 인코더(Systematic/non-systematic RS encoder)(213), 데이터 인터리버(Data interleaver)(214), 패리티 리플레이서(Parity replacer)(215), 논시스템 RS 인코더(Non-systematic RS encoder)(217), 모디파이드 트렐리스 인코더(Modified trellis encoder)(216), 싱크 먹스(Sync mux)(218), 파일럿 인서터(Pilot-inserter)(219), 모듈레이터(modulator)(220), RF 업-컨터버(RF up-converter)(221), 그리고 보조 버퍼(auxiliary buffer)(203) 등을 포함하여 이루어 진다.2 is a block diagram illustrating a configuration of a digital broadcasting transmission system according to an embodiment of the present invention. 2, the digital
참고적으로, 상기 MH 프레임 인코더(MH frame encoder)(205), 블록 프로세서(Block processor)(206), 시그널링 인코더(signaling encoder)(207), 그룹 포맷터(Group formatter)(208), 그리고 패킷 포맷터(Packet formatter)(209)를 모두 포함하는 모듈을, pre-processor(204) 라고 명명할 수도 있다.For reference, the
또한, 참고적으로, 상기 모디파이드 데이터 랜더마이즈(Modified data randomizer)(212), 시스템/논시스템 RS 인코더(Systematic/non-systematic RS encoder)(213), 데이터 인터리버(Data interleaver)(214), 패리티 리플레이 서(Parity replacer)(215), 논시스템 RS 인코더(Non-systematic RS encoder)(217), 그리고 모디파이드 트렐리스 인코더(Modified trellis encoder)(216)를 포함하는 모듈을, post-processor(211) 라고 명명할 수도 있다.For reference, the modified
상기 패킷 먹스(210)는, 메인 서비스 데이터 패킷과 상기 패킷 포맷터(209)에서 출력되는 188 바이트 단위의 모바일 서비스 데이터 패킷을 기정의된 다중화 방법에 따라 다중화하여 상기 모디파이드 데이터 랜더마이저(212)에 출력한다. 상기 다중화 방법은 시스템 설계의 여러 변수들에 의해서 조정이 가능하다. The
한편, 상기 MH 프레임 인코더(205)는 입력되는 모바일 서비스 데이터에 대해 에러 정정 부호화(encoding) 과정, 에러 검출 부호화 과정 중 적어도 하나의 과정을 수행한다. 이렇게 함으로써, 모바일 서비스 데이터에 강건성을 부여하면서 전파 환경 변화에 의해서 발생할 수 있는 군집 에러를 흐트림으로써 극심하게 열악하고 빠르게 변화는 전파 환경에도 대응할 수 있도록 한다. 상기 MH 프레임 인코더(205)는 일정 크기의 모바일 서비스 데이터들을 로우(row) 단위로 섞는 과정을 포함할 수도 있다. Meanwhile, the
이때, 상기 에러 정정 부호화는 RS 부호화를 적용하고, 에러 검출 부호화는 CRC(Cyclic Redundancy Check) 부호화를 적용하는 것을 일 실시예로 한다. 상기 RS 부호화를 수행하면 에러 정정을 위해 사용될 패리티 데이터가 생성되고, CRC 부호화를 수행하면 에러 검출을 위해 사용될 CRC 데이터가 생성된다. At this time, the RS is applied to the error correction coding and the CRC (Cyclic Redundancy Check) coding is applied to the error detection coding. When the RS coding is performed, parity data to be used for error correction is generated, and CRC coding is performed to generate CRC data to be used for error detection.
상기 RS 부호화는 FEC(Forward Error Correction) 구조를 사용하는 것을 일 실시예로 한다. 상기 FEC는 전송 과정에서 발생하는 에러를 보정하기 위한 기술을 말한다. 상기 CRC 부호화에 의해 생성된 CRC 데이터는 모바일 서비스 데이터가 채널을 통해 전송되면서 에러에 의해서 손상되었는지 여부를 알려주기 위해 사용될 수 있다. 본 발명은 CRC 부호화 이외에 다른 에러 검출 부호화 방법들을 사용할 수도 있고, 또는 에러 정정 부호화 방법을 사용하여 수신측에서의 전체적인 에러 정정 능력을 높일 수도 있다.The RS encoding uses an FEC (Forward Error Correction) structure. The FEC refers to a technique for correcting an error occurring in a transmission process. The CRC data generated by the CRC encoding can be used to indicate whether the mobile service data is transmitted through the channel and is damaged by an error. The present invention may use other error detection coding methods other than CRC coding, or may improve the overall error correction capability on the receiving side by using an error correction coding method.
상기와 같이 MH 프레임 인코더(205)에서 부호화된 모바일 서비스 데이터는 블록 프로세서(206)로 입력된다. 상기 블록 프로세서(206)는 입력되는 모바일 서비스 데이터를 다시 G/H(여기서 G<H 임) 부호율로 부호화하여 그룹 포맷터(208)로 출력한다. 다만, 상기 MH 프레임 인코더(205)와 별도로, 상기 시그널링 인코더(207)는, 시그널링 데이터를 인코딩하여, 상기 그룹 포맷터(208)에 전송할 수도 있다.The mobile service data encoded by the
즉 상기 블록 프로세서(206)는 바이트 단위로 입력되는 모바일 서비스 데이터를 비트로 구분하고, 구분된 G 비트를 H 비트로 부호화한 후 바이트 단위로 변환하여 출력한다. 일 예로 입력 데이터 1비트를 2비트로 부호화하여 출력한다면 G=1, H=2가 되고, 입력 데이터 1비트를 4비트로 부호화하여 출력한다면 G=1, H=4가 된다. 본 발명에서는 설명의 편의를 위해 전자를 1/2 부호율의 부호화(또는 1/2 부호화라 하기도 함)라 하고, 후자를 1/4 부호율의 부호화(또는 1/4 부호화라 하기도 함)라 한다. That is, the
여기서 1/4 부호화를 사용하는 경우는 1/2 부호화에 비해서 높은 부호율 때문에 높은 에러 정정 능력을 가질 수가 있기 때문이다. 이런 이유 때문에 후단의 그룹 포맷터(208)에서 1/4 부호율로 부호화된 데이터는 수신 성능이 떨어질 수 있는 영역에 할당을 하고, 1/2 부호율로 부호화된 데이터는 더 우수한 성능을 가질 수 있는 영역에 할당을 한다고 가정하면, 그 성능의 차이를 줄이는 효과를 얻을 수가 있게 된다. This is because, when 1/4 encoding is used, a higher error correction capability can be obtained because of a higher code rate than a 1/2 encoding. For this reason, the data encoded at the 1/4 code rate in the
이때 상기 블록 프로세서(206)는 시스템의 정보 등을 담고 있는 시그널링(signaling)과 같은 부가 정보 데이터들도 시그널링 인코더(207)로부터 입력받을 수 있는데, 이 부가 정보 데이터들도 모바일 서비스 데이터 처리 과정과 동일하게 1/2 부호화 또는 1/4 부호화를 수행한다. 이후 상기 시그널링과 같은 부가 정보 데이터들도 모바일 서비스 데이터로 간주되어 처리된다. 상기 시그널링 정보는 수신 시스템에서 데이터 그룹에 포함되는 데이터를 수신하여 처리하는데 필요한 정보들로서, 데이터 그룹 정보, 다중화 정보 등을 포함할 수 있다. At this time, the
한편 상기 그룹 포맷터(208)는 상기 블록 프로세서(206)에서 출력되는 모바일 서비스 데이터를 기 정의된 규칙에 따라 형성되는 데이터 그룹 내 해당 영역에 삽입하고, 또한 데이터 디인터리빙과 관련하여 각종 위치 홀더나 기지 데이터도 상기 데이터 그룹 내 해당 영역에 삽입한 후, 디인터리빙을 수행한다. Meanwhile, the
이때 상기 데이터 그룹은 적어도 하나 이상의 계층화된 영역으로 구분할 수 있고, 계층화된 각 영역의 특성에 따라 각 영역에 삽입되는 모바일 서비스 데이터 종류가 달라질 수 있다. 그리고 각 영역은 일 예로 데이터 그룹 내에서 수신 성능을 기준으로 분류할 수 있다. At this time, the data group can be divided into at least one layered area, and the type of mobile service data inserted in each area can be changed according to characteristics of each layered area. And each area can be categorized based on the reception performance in the data group as an example.
여기서, 상기 데이터 그룹을 다수개의 영역으로 구분하여 사용하는 이유는 각각의 용도를 달리하기 위해서이다. 즉, 메인 서비스 데이터의 간섭이 없거나 적은 영역은 그렇지 않은 영역보다 강인한 수신 성능을 보일 수 있기 때문이다. 또한, 기지 데이터를 데이터 그룹에 삽입하여 전송하는 시스템을 적용하는 경우, 모바일 서비스 데이터에 연속적으로 긴 기지 데이터를 주기적으로 삽입하고자 할 때, 메인 서비스 데이터의 간섭이 없는 영역에는 일정 길이의 기지 데이터를 주기적으로 삽입하는 것이 가능하다. 그러나 메인 서비스 데이터의 간섭이 있는 영역에는 메인 서비스 데이터의 간섭으로 기지 데이터를 주기적으로 삽입하는 것이 곤란하고 연속적으로 긴 기지 데이터를 삽입하는 것도 곤란하다. The reason why the data group is divided into a plurality of regions is to differentiate each use. That is, a region where there is no interference of the main service data or a region where there is no interference can show robust reception performance than the region where no interference occurs. In addition, when a system for inserting and transmitting known data into a data group is applied, when it is desired to periodically insert long consecutive known data into mobile service data, a certain length of known data is stored in an area free of interference from the main service data It is possible to insert it periodically. However, it is difficult to periodically insert the known data due to the interference of the main service data in the area where interference of the main service data exists, and it is also difficult to continuously insert the known data.
또한 상기 그룹 포맷터(208)에서는 모바일 서비스 데이터와는 별도로 전체적인 송신 정보를 알려주는 시그널링(signaling)과 같은 부가 정보 데이터도 상기 데이터 그룹 내에 삽입한다.In addition, in the
그리고 상기 그룹 포맷터(208)에서는 블록 프로세서(206)에서 출력된 부호화된 모바일 서비스 데이터들 외에도 후단의 데이터 디인터리빙과 관련하여 MPEG 헤더 위치 홀더, 비체계적 RS 패리티 위치 홀더, 메인 서비스 데이터 위치 홀더를 삽입한다. 여기서 메인 서비스 데이터 위치 홀더를 삽입하는 이유는 데이터 인터리빙 후의 데이터를 기준으로 모바일 서비스 데이터와 메인 서비스 데이터가 사이사이에 섞이는 영역이 존재하기 때문이다. 일 예로 상기 MPEG 헤더를 위한 위치 홀더는 상기 데이터 디인터리빙 후의 출력 데이터를 기준으로 볼 때, 각 패킷의 제일 앞에 할당된다. In addition to the encoded mobile service data output from the
또한 상기 그룹 포맷터(208)에서는 기 정해진 방법에 의해서 발생된 기지 데 이터를 삽입하거나 기지 데이터를 추후에 삽입하기 위한 기지 데이터 위치 홀더를 삽입한다. 더불어서 모디파이드 트렐리스 인코더(216)의 초기화를 위한 위치 홀더를 해당 영역에 삽입한다. 일 실시예로, 상기 초기화 데이터 위치 홀더는 상기 기지 데이터 열의 앞에 삽입할 수 있다.In addition, the
이때 하나의 데이터 그룹에 삽입 가능한 모바일 서비스 데이터 크기는 해당 데이터 그룹에 삽입되는 트렐리스 초기화나 기지 데이터, MPEG 헤더, RS 패리티 등의 크기에 의해 달라질 수 있다.At this time, the size of the mobile service data that can be inserted into one data group may vary depending on the size of the trellis initialization, known data, MPEG header, and RS parity inserted in the corresponding data group.
상기 그룹 포맷터(208)의 출력은 패킷 포맷터(209)로 전송되고, 상기 패킷 포맷터(209)는 디인터리빙되어 입력된 데이터 중에서 디인터리빙을 위해 할당되었던 메인 서비스 데이터 위치 홀더와 RS 패리티 위치 홀더를 제거하고, 나머지 부분들을 모은 후, 4바이트의 MPEG 헤더 위치 홀더에 MPEG 헤더를 삽입한다. The output of the
또한 상기 패킷 포맷터(209)는 상기 그룹 포맷터(208)에서 기지 데이터 위치 홀더를 삽입한 경우 상기 기지 데이터 위치 홀더에 실제 기지 데이터를 삽입할 수도 있고, 또는 나중에 대체 삽입하기 위하여 상기 기지 데이터 위치 홀더를 조정없이 그대로 출력할 수도 있다. The
그리고 나서 상기 패킷 포맷터(209)는 상기와 같이 패킷 포맷팅된 데이터 그룹 내 데이터들을 188바이트 단위의 모바일 서비스 데이터 패킷(즉, MPEG TS 패킷)으로 구분하여 상기 패킷 먹스(210)에 제공한다.Then, the
한편, 상기 모디파이드 데이터 랜더마이저(212)는 입력된 데이터가 메인 서비스 데이터 패킷이면 기존의 랜더마이저와 동일하게 랜더마이징을 수행한다. 즉, 메인 서비스 데이터 패킷 내 동기 바이트를 버리고 나머지 187 바이트를 내부에서 발생시킨 의사랜덤(pseudo random) 바이트를 사용하여 랜덤하게 만든 후 시스템/논-시스템 RS 인코더(213)로 출력한다.If the input data is a main service data packet, the modified
그러나 입력된 데이터가 모바일 서비스 데이터 패킷이면, 상기 모바일 서비스 데이터 패킷에 포함된 4바이트의 MPEG 헤더 중 동기 바이트를 버리고 나머지 3바이트에 대해서만 랜더마이징을 수행하고, 상기 MPEG 헤더를 제외한 나머지 모바일 서비스 데이터에 대해서는 랜더마이징을 수행하지 않고 상기 시스템/논-시스템 RS 인코더(213)로 출력한다. However, if the input data is a mobile service data packet, the synchronization byte of the 4-byte MPEG header included in the mobile service data packet is discarded and the remaining 3 bytes are subjected to rendering, and the remaining mobile service data excluding the MPEG header
상기 시스템/논-시스템 RS 인코더(213)는 상기 모디파이드 데이터 랜더마이저(212)에서 랜더마이징되는 데이터 또는 바이패스되는 데이터에 대해 RS 부호화를 수행하여 20바이트의 RS 패리티를 부가한 후 데이터 인터리버(214)로 출력한다. 이때 상기 시스템/논-시스템 RE 인코더(213)는 입력된 데이터가 메인 서비스 데이터 패킷인 경우 기존 ATSC VSB 시스템과 동일하게 체계적 RS 부호화를 수행하여 20바이트의 RS 패리티를 187바이트의 데이터 뒤에 부가한다. 그리고 모바일 서비스 데이터 패킷이면 패킷 내에 정해진 패리티 바이트 위치에는 비체계적 RS 부호화를 수행하여 얻은 20바이트의 RS 패리티를 삽입한다. The system /
상기 데이터 인터리버(214)는 바이트 단위의 길쌈(convolutional) 인터리버이다.The data interleaver 214 is a convolutional interleaver on a byte basis.
상기 데이터 인터리버(214)의 출력은 패리티 리플레이서(215)와 논-시스템 RS 인코더(217)로 입력된다. The output of the data interleaver 214 is input to a
한편 상기 패리티 리플레이서(215)의 후단에 위치한 모디파이드 트렐리스 인코더(216)의 출력 데이터를 송/수신측에서 약속에 의해 정의한 기지 데이터로 하기 위해 먼저 모디파이드 트렐리스 인코더(216) 내의 메모리의 초기화가 필요하다. 즉 입력되는 기지 데이터 열이 트렐리스 부호화되기 전에 먼저 모디파이드 트렐리스 인코더(216)의 메모리를 초기화시켜야 한다. Meanwhile, in order to convert the output data of the modulated
이때 입력되는 기지 데이터 열의 시작 부분은 실제 기지 데이터가 아니라 그룹 포맷터(208)에서 삽입된 초기화 데이터 위치 홀더이다. 따라서 입력되는 기지 데이터 열이 트렐리스 부호화되기 직전에 초기화 데이터를 생성하여 해당 트렐리스 메모리 초기화 데이터 위치 홀더와 치환하는 과정이 필요하다.At this time, the beginning of the inputted known data sequence is not an actual known data but an initialization data position holder inserted in the
그리고 상기 트렐리스 메모리 초기화 데이터는 상기 모디파이드 트렐리스 인코더(216)의 메모리 상태에 따라 그 값이 결정되어 생성된다. 또한 치환된 초기화 데이터에 의한 영향으로 RS 패리티를 다시 계산하여 상기 데이터 인터리버(214)에서 출력되는 RS 패리티와 치환하는 과정이 필요하다.The value of the initialization data of the trellis memory is determined according to the memory state of the modulated
따라서 상기 논-시스템 RS 인코더(217)에서는 상기 데이터 인터리버(214)로부터 초기화 데이터로 치환될 초기화 데이터 위치 홀더가 포함된 모바일 서비스 데이터 패킷을 입력받고, 모디파이드 트렐리스 인코더(216)로부터 초기화 데이터를 입력받는다. Therefore, the
그리고 입력된 모바일 서비스 데이터 패킷 중 초기화 데이터 위치 홀더를 초기화 데이터로 치환하고 상기 모바일 서비스 데이터 패킷에 부가된 RS 패리티 데이터를 제거한 후 새로운 비체계적인 RS 패리티를 계산하여 상기 패리티 리플레이 서(215)로 출력한다. 그러면 상기 패리티 리플레이서(215)는 모바일 서비스 데이터 패킷 내 데이터는 상기 데이터 인터리버(214)의 출력을 선택하고, RS 패리티는 논-시스템 RS 인코더(217)의 출력을 선택하여 상기 모디파이드 트렐리스 인코더(216)로 출력한다. Then, the initialization data location holder of the input mobile service data packet is replaced with the initialization data, the RS parity data added to the mobile service data packet is removed, and the new unstructured RS parity is calculated and output to the
한편 상기 패리티 리플레이서(215)는 메인 서비스 데이터 패킷이 입력되거나 또는 치환될 초기화 데이터 위치 홀더가 포함되지 않은 모바일 서비스 데이터 패킷이 입력되면 상기 데이터 인터리버(214)에서 출력되는 데이터와 RS 패리티를 선택하여 그대로 상기 모디파이드 트렐리스 인코더(216)로 출력한다. Meanwhile, the
상기 모디파이드 트렐리스 인코더(216)는 바이트 단위의 데이터를 심볼 단위로 바꾸고 12-way 인터리빙하여 트렐리스 부호화한 후 싱크 먹스(218)로 출력한다. The modulated
상기 싱크 먹스(218)는 상기 모디파이드 트렐리스 인코더(216)의 출력에 필드 동기와 세그먼트 동기를 삽입하여 파일롯 인서터(219)로 출력한다. The
상기 파일롯 인서터(219)에서 파일롯이 삽입된 데이터는 모듈레이터(220)에서 VSB 변조된 후 RF 업-컨버터(221)를 통해 각 방송 수신 시스템 또는 디지털 방송 수신기로 전송된다. The pilot inserted data in the
특히, 패킷으로 인한 버퍼의 언더플로우 및 오버플로우 등의 현상을 방지하기 위하여, 본 발명의 일실시예는 도 2와 같이, 패킷 타이밍/PCR 조정부(202), 보조 버퍼(203), MH 프레임 컨트롤러(201) 등을 추가하여 구현할 수가 있다.2, the packet timing /
예컨대, MH 프레임이 968 msec의 크기를 가진다고 가정하고, 상기 MH 프레임을 다섯개의 서브 프레임(Sub frame)으로 나눌 수 있다. 각각의 서브 프레임은 16 개의 slot으로 구분되며, 각 slot은 연속하는 156개의 TS 패킷으로 구성된다. 상기 156개의 TS 패킷 중에, 118개의 TS 패킷이 MH 데이터 영역으로 할당될 수 있다. 다만, 상기 MH 데이터 영역이라 함은, MH 서비스 데이터가 할당되는 영역을 의미할 수가 있다. 물론, MH 데이터가 많은 경우에는, 더 많은 슬롯에 MH 데이터가 할당된다. 참고적으로, MH 데이터는, 모바일 서비스 데이터와 대응될 수도 있다.For example, it is assumed that the MH frame has a size of 968 msec, and the MH frame can be divided into five subframes. Each subframe is divided into 16 slots, and each slot consists of 156 consecutive TS packets. Of the 156 TS packets, 118 TS packets can be allocated to the MH data area. However, the MH data area may refer to an area to which MH service data is allocated. Of course, when there are many MH data, MH data is allocated to more slots. For reference, the MH data may correspond to the mobile service data.
한편, 전술한 바와 같이 MH 데이터 영역이 할당되어 모바일 서비스 데이터가 전송되는 경우, 데이터 패킷은, 그 순간 바로 전송할 수가 없다. 따라서, 전송하지 못한 메인 서비스 데이터 패킷을, 모바일 서비스 데이터를 전송하는 영역 이외의 영역에서 전송되도록, 메인 서비스 데이터 패킷의 전송 순서를 변경해야 한다. 이와 같은 기능을, 도 2의 패킷 타이밍/PCR 조정부(202)에서 담당하도록 설계한다.On the other hand, when the MH data area is allocated and the mobile service data is transmitted as described above, the data packet can not be transmitted immediately. Accordingly, the transmission order of the main service data packet must be changed so that the main service data packet that can not be transmitted is transmitted in an area other than the area where the mobile service data is transmitted. This function is designed to be handled by the packet timing /
상기 패킷 타이밍/PCR 조정부(202)는, PCR을 포함하는 메인 서비스 데이터 패킷의 시간적인 위치가 변경됨에 따라 변경되는 시간 정보들을 보정하는 역할을 담당한다. 또한, 버퍼의 오버플로우를 방지하기 위하여 오디오 패킷의 위치를 변경한다. 그리고, 상기 오디오 패킷의 위치 변경에 따라 발생되는 상기 버퍼의 언더플로우를 방지하기 위하여, PCR의 기준 시간을 delay 한다.The packet timing /
다른 한편, 도 1에 도시된 버퍼들에서 언더플로우가 발생하는지 여부를 체크하기 위하여, 다음과 같이 가정해 보도록 하겠다.On the other hand, in order to check whether an underflow occurs in the buffers shown in FIG. 1, the following assumption is made.
오디오 패킷을 약 32kHz로 샘플링 하고, 384kbps로 엔코딩 할 경우, 하나의 프레임은 48ms가 되고, 데이터의 크기는 13개의 TS 패킷에 해당한다. 또한, 상기 오디오 패킷이 가급적이면 빨리 전송되고, 전송이 완료되는 대로 디코딩이 이루어 지도록 DTS (Decoding Time Stamp)가 설정되었다고 가정해 보겠다. 이와 같이 가정하면, TBn(110)에 포함되어 있는 데이터의 크기는 도 3과 같이 도시된다.When an audio packet is sampled at about 32 kHz and encoded at 384 kbps, one frame is 48 ms, and the size of the data corresponds to 13 TS packets. It is also assumed that a decoding time stamp (DTS) is set so that the audio packet is transmitted as soon as possible and decoding is performed when the transmission is completed. Assuming such a case, the size of the data included in the
도 3의 가로축은 TS 패킷의 인덱스(index)에 해당하며, 세로축은 TBn에 포함되어 있는 데이터의 크기를 나타낸다. 상기 TBn(110)에 데이터가 쌓이기 시작하다가 비는 순간이, 하나의 오디오 프레임이 TBn에서 Bn으로 다 이동하는 순간이다.The horizontal axis in FIG. 3 corresponds to an index of a TS packet, and the vertical axis represents the size of data included in TBn. The moment when the data starts to accumulate in the
도 3에 도시된 바와 같이, 첫번째 오디오 TS 패킷이 들어온 다음 9.91msec가 지나면, TBn(110)은 다시 빈 상태로 된다. 이 때부터, Dn(130) 등의 오디오 디코더는, 오디오 프레임을 디코딩할 수가 있다. 즉, 첫번째 TS 패킷에 포함된 오디오 PES 패킷 헤더의 DTS 값이, 상기 9.91msec가 지난 시점 이후의 STC 값에 해당하면, 언더플로우는 발생하지 않는다. 즉, 도 3에 도시된 “a” 영역에서 디코딩이 이루어 지면, 언더플로우는 발생하지 않게 된다.As shown in FIG. 3, after 9.91 msec after the first audio TS packet is received, the
이제, 메인 서비스 데이터가 엔코딩된 스트림에, 모바일 서비스 데이터가 함께 전송되는 경우, 발생되는 현상을 살펴 보도록 하겠다. 모바일 서비스 데이터, 즉 MH 데이터를 최대한 전송하는 경우를, 도 4에 도시하였다. 전술한 바와 같이, MH 데이터는 118개의 TS 패킷이 연속적으로 전송된다. MH 데이터가 전송되는 구간 내지는 슬롯 사이에, 메인 서비스 데이터 패킷을 전송해야 한다. 이와 같이 전송하는 경우, 도 4에 도시된 바와 같이, TBn이 비는 순간은 34.05msec가 되며, 상기 34.05msec의 수치는, MH 데이터가 존재하지 않는 도 3과 비교하였을 때, 약 24.14msec가 지연된다.Hereinafter, a phenomenon that occurs when mobile service data is transmitted together with a stream in which main service data is encoded will be described. The case of transmitting the mobile service data, that is, the MH data as much as possible is shown in FIG. As described above, in the MH data, 118 TS packets are continuously transmitted. The main service data packet must be transmitted between the slots or slots in which the MH data is transmitted. In the case of such transmission, as shown in FIG. 4, the instant when the TBn rises is 34.05 msec, and the value of 34.05 msec is about 24.14 msec when compared with FIG. 3 in which the MH data does not exist do.
만약, MH 데이터 등을 전송하고 있음에도 불구하고, 상기 MH 데이터 또는 모 바일 서비스 데이터를 고려하지 않고, 도 3에 도시된 “a”영역 중 임의의 시점(특히, “a” 영역 중에서도 이른 시점)에서 과거와 동일하게 디코딩이 이루어 진다면, 언더플로우가 발생할 가능성이 크다. 왜냐하면, Bn(120)에 데이터가 다 차지 않은 상태에서, 데이터 패킷이 오디오 버퍼에서 오디오 디코더로 이동하기 때문이다.Even if MH data or the like is being transmitted, the MH data or the mobile service data are not considered, and at any time point among the " a " areas shown in FIG. 3 If decoding is performed in the same way as in the past, underflow is likely to occur. This is because the data packet is moved from the audio buffer to the audio decoder in a state in which the
한편, 참고적으로, 도 4 내지 도 6의 “b”, “c”, “d”, “e”, “f”, “g”, 그리고 “h” 영역은, 메인 서비스 데이터 패킷이 입력되지 않는 타임에 대응될 수 있다.For reference, the areas "b", "c", "d", "e", "f", "g", and "h" The time can be corresponding to the time.
따라서, 본 발명의 일실시예에 의하면, 이와 같은 언더플로우 현상을 방지하기 위하여, PCR을 조정하도록 설계한다. 즉, 실험적으로 얻어진 도 3과 도 4의 도면을 비교하여, 도 3과 도 4의 시간 차이(34.05msec-9.91msec = 24.14msec) 인 24.14msec 이상의 값을 가지도록, PCR 기준 시간을 지연시킨다. 즉, 디코더가 동작하는 시계를 보다 딜레이 시킴으로써, 메인 버퍼들이 충분히 찰 수 있도록 하는 것이 가능하다. 물론, 상기 24.14msec의 수치는 실험적으로 얻어진 바람직한 값이며, 경우에 따라 24 내지 25msec 사이의 수치를 적용하여도, 언더플로우 현상을 어느 정도 제거할 수가 있다.Therefore, according to an embodiment of the present invention, PCR is designed to adjust to prevent such an underflow phenomenon. That is, the experimentally obtained diagram of FIG. 3 is compared with the diagram of FIG. 4, and the PCR reference time is delayed so as to have a value of 24.14 msec or more, which is the time difference (34.05 msec-9.91 msec = 24.14 msec) shown in FIGS. That is, it is possible to delay the clock in which the decoder operates, so that the main buffers can be sufficiently full. Of course, the value of 24.14 msec is an experimentally obtained preferable value, and even if a value between 24 and 25 msec is applied in some cases, the underflow phenomenon can be removed to some extent.
한편, 본 발명의 또 다른 실시예에 의하면, 버퍼, 예를 들어 TBn(110), Bn(120)의 언더플로우 현상 뿐만 아니라, 오버플로우 현상도 원천적으로 제거하고자 한다.According to another embodiment of the present invention, not only the underflow phenomenon of the buffers, for example, the
전술한 케이스는, 오디오 패킷을 가급적 빨리 전송하고, 상기 오디오 패킷을 가급적 신속하게 디코딩 하도록 설계된 경우로서, 이와 같은 케이스에서는 언더플로우가 문제된다. 반면, 오디오 패킷은 빨리 전송하되, 오디오 메인 버퍼(Bn)(120)에 가급적 많은 데이터 패킷을 쌓아 놓도록 설계된 경우에는, 오버플로우 문제가 발생하게 된다.The case described above is designed to transmit an audio packet as soon as possible and to decode the audio packet as quickly as possible. In such a case, underflow is a problem. On the other hand, if the audio packet is designed to be transmitted as fast as possible and to stack as many data packets as possible in the audio main buffer (Bn) 120, an overflow problem will occur.
도 5는 도 3 및 도 4와 달리, 오디오의 메인 버퍼에 대한 그래프를 도시하였다. 도 5의 가로축은, TS 패킷의 인덱스에 해당하며, 세로축은 Bn에 포함되어 있는 데이터의 크기를 나타낸다. 한편, 도 5는 오디오 메인 버퍼에 가급적 많은 데이터를 쌓아 두었다가 디코딩이 이루어 지도록 설계된 경우를 도시하고 있으며, 메인 서비스 데이터와 함께 모바일 서비스 데이터(또는 MH 데이터)도 전송되는 경우를 나타낸 도면이다.FIG. 5 shows a graph for the main buffer of audio, unlike FIG. 3 and FIG. The horizontal axis in FIG. 5 corresponds to the index of the TS packet, and the vertical axis represents the size of data included in Bn. FIG. 5 illustrates a case where as much data as possible is stored in the audio main buffer and decoding is performed, and mobile service data (or MH data) is also transmitted along with main service data.
도 5에 도시된 바와 같이, 오디오 패킷 데이터가 전송되면, Bn(120)에 오디오 패킷 데이터가 쌓이게 되고, DTS(i) 시점에 쌓인 오디오 패킷 데이터가 오디오 디코더(130)로 넘어가면, 상기 Bn(120)에는 아주 작은 데이터만 남게 된다. 다시 다른 프레임들이 연속하여 입력되면, DTS(i) 시점 이후에 다시 Bn에 오디오 패킷 데이터가 쌓이게 된다. 그러나, 전술한 바와 같이 TBn(110)의 언더플로우를 방지하기 위하여, PCR의 기준 시간을 딜레이 시키게 되면, 도 6에 도시된 바와 같이, Bn에 보다 많은 데이터가 쌓이게 된다. 즉, PCR의 기준 시간이 지연되었기 때문에, 실질적인 디코딩 시간도 지연되고, 그로 인하여 Bn(120)에는 예상치 못하게 데이터가 더 많이 쌓이게 된다. 이와 같은 현상이, Bn(120)의 오버플로우 현상이다.5, when audio packet data is transmitted, audio packet data is accumulated in
상기 Bn(120)의 오버플로우 현상을 제거하기 위하여, 본 발명의 일실시예에 의하면, 도 2에 도시된 바와 같이, MH 프레임 컨트롤러(201), 패킷 타이밍/PCR 조정부(202), 그리고 보조 버퍼(203) 등을 새롭게 정의한다.2, the
상기 패킷 타이밍/PCR 조정부(202)는, 상기 디지털 방송 전송 시스템(200)이 메인 서비스 데이터와 모바일 서비스 데이터를 포함하는 방송 신호를 처리하는 경우, 상기 모바일 서비스 데이터의 크기에 기초하여 PCR (Program Clock Reference)의 기준 시간을 지연 시킨다. When the digital
보다 구체적으로 예를 들면, 상기 패킷 타이밍/PCR 조정부(202)는, 메인 서비스 데이터를 포함하는 방송 신호를 처리하는 경우와 메인 서비스 데이터 및 모바일 서비스 데이터를 모두 포함하는 방송 신호를 처리하는 경우를 비교하여, PCR의 기준 시간을 24 내지 25 ms (milli second) 사이의 시간 만큼 지연시킨다. 따라서, 상기 패킷 타이밍/PCR 조정부(202)가 PCR 기준 시간을 지연시키는 프로세스를 통해, 도 1의 T-STD 모델(100)를 만족하는 TS 패킷을 전송하는 경우, 트랜스포트 버퍼(110)에서 언더 플로우 현상이 발생하는 경우를 방지할 수가 있다. 참고적으로, 도 1에 도시된 상기 T-STD 모델(100)은, MPEG2 (Moving Picture Experts Group 2) T-STD에 대응될 수도 있다.More specifically, for example, the packet timing /
또한, 상기 패킷 타이밍/PCR 조정부(202) 또는 별도의 모듈은, 상기 방송 신호를 전송하기 전에, 상기 지연된 기준시간의 PCR에 근거하여, 도 1에 도시된 T-STD (Transport stream System Target Decoder) 모델(100)을 인증(verify) 한다. 나아가, 상기 T-STD 모델(100)의 인증 결과, 상기 T-STD 모델(100)의 메인 버퍼(main buffer)(120)에서 오버플로우가 예측되는지 여부를 판단한다.In addition, the packet timing /
그리고, 상기 패킷 타이밍/PCR 조정부(202) 또는 별도의 모듈은, 상기 판단 결과를 이용하여 상기 메인 버퍼(120)에 오버플로우(overfolw)가 발생하지 않도록 제어한다. 이와 같은 동작은, PCR 기준 시간이 지연됨에 따라, 도 1의 Bn(120)에서 나타날 수 있는 오버플로우 현상을 방지하기 위한 프로세스 이다.The packet timing /
다만, 상기 패킷 타이밍/PCR 조정부(202) 또는 별도의 모듈의 제어 프로세스를 보다 구체적으로 설명하면 다음과 같다.The control process of the packet timing /
상기 패킷 타이밍/PCR 조정부(202) 또는 별도의 모듈은, 상기 판단 결과 오버플로우가 예측되면, 상기 메인 버퍼(120)에 수신된 패킷을 보조 버퍼(auxiliary buffer)(203)에 저장시킨다. 나아가, 상기 수신된 패킷을 널(null) 패킷으로 교체하고, 상기 교체된 널 패킷을 포함하는 방송 신호가 전송되도록 제어한다.The packet timing /
나아가, 상기 패킷 타이밍/PCR 조정부(202) 또는 별도의 모듈은, 상기 교체하는 과정에서 교체의 순서가 저장되도록 제어하고, 그리고 상기 방송 신호를 전송시, 상기 저장된 교체의 순서를 이용함으로써 전송할 패킷의 순서를 오리지날(original) 순서로 보정한다.In addition, the packet timing /
반면, 상기 패킷 타이밍/PCR 조정부(202) 또는 별도의 모듈은, 상기 판단 결과 오버플로우가 예측되지 않는 경우, 상기 메인 버퍼(120)에 수신된 패킷이 널 패킷인지 여부를 식별한다. 나아가, 상기 식별 결과 널 패킷인 경우, 상기 널 패킷을 상기 보조 버퍼(203)에 기저장된 패킷으로 교체하고, 다시 상기 인증 하는 과정으로 복귀(return)가 이루어 지도록 제어한다.On the other hand, if the overflow is not predicted as a result of the determination, the packet timing /
도 7은 본 발명의 일실시예에 따른 디지털 방송 전송 시스템의 데이터 처리 방법을 도시한 플로우 차트이다.7 is a flowchart illustrating a data processing method of a digital broadcast transmission system according to an embodiment of the present invention.
우선, 상기 디지털 방송 전송 시스템은, 패킷이 PCR 정보를 포함하는 PCR 패킷에 해당하는지 여부를 판단한다(S700). 상기 판단 결과(S700), PCR 패킷에 해당하는 경우, PCR의 기준 시간을 지연시킨다(S701). 다만, 상기 지연의 정도는, 모바일 서비스 데이터의 크기에 비례하여 결정될 수 있으며, 예를 들어 24 내지 25 ms범위에 속하는 타임 딜레이가 된다. 보다 구체적으로는, 상기 타임 딜레이는 24.14 ms가 될 수도 있다.First, the digital broadcasting transmission system determines whether the packet corresponds to a PCR packet including PCR information (S700). If it is determined in step S700 that the packet is a PCR packet, the reference time of the PCR is delayed in step S701. However, the degree of the delay can be determined in proportion to the size of the mobile service data, for example, a time delay belonging to the range of 24 to 25 ms. More specifically, the time delay may be 24.14 ms.
상기 디지털 방송 전송 시스템은, 방송 신호를 전송하기 전에, 상기 지연된 기준 시간의 PCR에 근거하여 T-STD 모델을 인증(verify) 한다(S702). 또한, 상기 디지털 방송 전송 시스템은, 상기 T-STD 모델의 인증 결과(S702), 상기 T-STD 모델의 메인 버퍼(main buffer)가 풀(full) 상태인지 여부를 판단한다(S703). 다만, 상기 풀 상태는, 상기 메인 버퍼가 완벽하게 찬 경우를 의미할 수도 있고, 또는 거의 찬(almost full) 상태를 의미할 수도 있다.The digital broadcasting transmission system verifies the T-STD model based on the PCR of the delayed reference time before transmitting the broadcasting signal (S702). Also, the digital broadcasting transmission system determines whether the main buffer of the T-STD model is full (S703), the authentication result of the T-STD model (S702), and the main buffer of the T-STD model is full. However, the full state may mean that the main buffer is completely empty, or may be almost full state.
상기 디지털 방송 전송 시스템은, 상기 판단 결과를 이용하여 상기 메인 버퍼에 오버플로우(overflow)가 발생하지 않도록 제어한다. 다만, 이와 같은 제어 프로세스는, 도 7에 도시된 S704 내지 S711 단계 중 일부 또는 전부를 이용함으로써 구현할 수가 있다.The digital broadcasting transmission system controls the main buffer to prevent an overflow from occurring using the determination result. However, such a control process can be implemented by using some or all of steps S704 to S711 shown in Fig.
상기 디지털 방송 전송 시스템은, 상기 판단 결과 풀 상태인 경우(S703), 상기 메인 버퍼에 수신된 패킷을 상기 메인 버퍼의 보조 버퍼(auxiliary buffer)에 저장하고(S704), 상기 수신된 패킷을 널(null) 패킷으로 교체한다(S705).In step S703, the digital broadcasting transmission system stores the packet received in the main buffer in an auxiliary buffer of the main buffer in step S704, and transmits the received packet to the null buffer null) packet (S705).
또한, 상기 디지털 방송 전송 시스템은, 새로운 패킷이 PCR 정보를 포함하는 PCR 패킷에 해당하는지 여부를 판단한다(S706). 상기 판단 결과(S706), PCR 패킷에 해당하지 않는 경우, 상기 교체된 널 패킷을 포함하는 방송 신호를 전송한다(S708). 반면, 상기 판단 결과(S706), PCR 패킷에 해당하는 경우, 패킷의 변경 순서에 따라 PCR을 재조정(restamp) 한다(S707).In addition, the digital broadcasting transmission system determines whether a new packet corresponds to a PCR packet including PCR information (S706). If it is determined that the packet does not correspond to the PCR packet (S706), the broadcast signal including the replaced null packet is transmitted (S708). On the other hand, if the determination result (S706) corresponds to the PCR packet, the PCR is restored according to the change order of the packet (S707).
다만, 상기 S707, S708 단계들을 구현하는 또 다른 일실시예로는, 전술한 S704, S705 단계들에서의 패킷 교체 순서를 저장하는 단계와, 그리고 상기 방송 신호를 전송시, 상기 저장된 교체의 순서를 이용함으로써 전송할 패킷의 순서를 오리지날(original) 순서로 보정하는 단계를 더 포함할 수가 있다.Yet another embodiment of the steps S707 and S708 may include storing the packet replacement order in the steps S704 and S705 described above, and transmitting the replacement order of the broadcast signal, And correcting the order of the packets to be transmitted by using the packets in the original order.
한편, 상기 디지털 방송 전송 시스템은, 상기 판단 결과(S703) 풀 상태가 아닌 경우, 상기 메인 버퍼에 수신된 패킷이 널 패킷인지 여부를 식별한다(S709). 상기 식별 결과(S709) 널 패킷인 경우에는, 보조 버퍼에 이미 다른 패킷이 저장되어 있는지 여부를 판단한다(S710).If the determination result in step S703 is NO, the digital broadcast transmission system determines whether the packet received in the main buffer is a null packet in step S709. If the result of the identification (S709) is a null packet, it is determined whether another packet is already stored in the auxiliary buffer (S710).
상기 판단 결과(S710) 다른 패킷이 저장되어 있는 경우, 상기 널 패킷을 상기 보조 버퍼에 기저장된 패킷으로 교체하고(S711), 다시 S702 단계로 리턴 한다.If it is determined in step S710 that another packet is stored, the null packet is replaced with the packet stored in the auxiliary buffer in step S711, and the process returns to step S702.
도 8은 본 발명에 따른 디지털 방송 수신기의 일 실시예를 보인 구성 블록도이다. 도 8의 디지털 방송 수신기에서는 전송 시스템에서 모바일 서비스 데이터 구간에 삽입하여 전송하는 기지 데이터 정보를 이용하여 반송파 동기 복원, 프레임 동기 복원 및 채널 등화 등을 수행함으로써, 수신 성능을 향상시킬 수 있다. FIG. 8 is a block diagram of a digital broadcast receiver according to an embodiment of the present invention. Referring to FIG. In the digital broadcast receiver of FIG. 8, the reception performance can be improved by performing carrier synchronization recovery, frame synchronization recovery, and channel equalization using the known data information inserted in the mobile service data interval in the transmission system.
이를 위한 본 발명에 따른 디지털 방송 수신기는 튜너(801), 복조부(802), 등화기(803), 기지 데이터 검출부(804), 블록 복호기(805), RS 프레임 복호기(807), 디랜더마이저(808), 데이터 디인터리버(809), RS 복호기(810), 및 데이터 디랜더마이저(811)를 포함하여 구성된다. 본 발명은 설명의 편의를 위해 RS 프레임 복호기(807), 및 디랜더마이저(808)를 모바일 서비스 데이터 처리부라 하고, 데이터 디인터리버(809), RS 복호기(810), 및 데이터 디랜더마이저(811)를 메인 서비스 데이터 처리부라 하기로 한다.The digital broadcast receiver according to the present invention includes a
즉, 상기 튜너(801)는 특정 채널의 주파수를 튜닝하여 중간 주파수(IF) 신호로 다운 컨버전한 후 복조부(802)와 기지 데이터 검출부(804)로 출력한다.That is, the
상기 복조부(802)는 입력되는 IF 신호에 대해 자동 이득 제어, 반송파 복구 및 타이밍 복구 등을 수행하여 기저대역 신호로 만든 후 등화기(803)와 기지 데이터 검출부(804)로 출력한다. The
상기 등화기(803)는 상기 복조된 신호에 포함된 채널 상의 왜곡을 보상한 후 블록 복호기(805)로 출력한다. The
이때 상기 기지 데이터 검출부(804)는 상기 복조부(802)의 입/출력 데이터 즉, 복조가 이루어지기 전의 데이터 또는 복조가 이루어진 후의 데이터로부터 송신측에서 삽입한 기지 데이터 위치를 검출하고 위치 정보와 함께 그 위치에서 발생시킨 기지 데이터의 심볼 열(sequence)을 복조부(802)와 등화기(803)로 출력한다. 또한 상기 기지 데이터 검출부(804)는 송신측에서 추가적인 부호화를 거친 모바일 서비스 데이터와 추가적인 부호화를 거치지 않은 메인 서비스 데이터를 상기 블록 복호기(805)에 의해서 구분할 수 있도록 하기 위한 정보를 상기 블록 복호기(805)로 출력한다. 그리고 도 8의 도면에서 연결 상태를 도시하지는 않았지만 상기 기지 데이터 검출부(804)에서 검출된 정보는 수신 시스템에 전반적으로 사용이 가능하며, RS 프레임 복호기(807) 등에서 사용할 수도 있다.At this time, the known
상기 복조부(802)는 타이밍 복원이나 반송파 복구시에 상기 기지 데이터 심볼열을 이용함으로써, 복조 성능을 향상시킬 수 있고, 등화기(803)에서도 마찬가지로 상기 기지 데이터를 사용하여 등화 성능을 향상시킬 수 있다. 또한 상기 블록 복호기(805)의 복호 결과를 상기 등화기(803)로 피드백하여 등화 성능을 향상시킬 수도 있다. The
한편, 상기 등화기(803)에서 채널 등화된 후 블록 복호기(805)로 입력되는 데이터가 송신 측에서 블록 부호화와 트렐리스 부호화가 모두 수행된 데이터(예를 들어, RS 프레임 내 데이터)이면, 송신측의 역으로 트렐리스 복호 및 블록 복호가 수행되고, 블록 부호화는 수행되지 않고, 트렐리스 부호화만 수행된 데이터(예를 들어, 메인 서비스 데이터)이면 트렐리스 복호만 수행된다.If the data input to the
상기 블록 복호기(805)에서 트렐리스 복호 및 블록 복호된 데이터는 RS 프레임 복호기(807)로 출력된다. 즉, 상기 블록 복호기(805)는, 데이터 그룹 내 데이터들 중 기지 데이터, 트렐리스 초기화에 이용된 데이터, 시그널링 정보 데이터, MPEG 헤더, 그리고 전송 시스템의 RS 부호기/비체계적 RS 부호기 또는 비체계적 RS 부호기에서 부가된 RS 패리티 데이터들을 제거하고, RS 프레임 복호기(807)로 출력한다. 나아가, 데이터 제거는, 블록 복호 전에 이루어질 수도 있고, 또는 블록 복호 중이나 블록 복호 후에 이루어질 수도 있다.The trellis-decoded and block-decoded data in the
한편, 상기 블록 복호기(805)에서 트렐리스 복호된 데이터는 메인 서비스 데이터 처리부로 출력된다. 이 때, 상기 블록 복호기(805)에서 트렐리스 복호되어 메인 데이터 처리부로 출력되는 데이터는 메인 서비스 데이터 뿐만 아니라 RS 프레임 내 데이터, 시그널링 정보도 포함될 수 있다. 또한, 송신 측에서 전처리기 이후에 부가되는 RS 패리티 데이터도 상기 메인 서비스 데이터 처리부로 출력되는 데이터에 포함될 수 있다.On the other hand, the trellis-decoded data in the
다른 실시예로, 송신 측에서 블록 부호화는 수행되지 않고, 트렐리스 부호화만 수행된 데이터는 상기 블록 복호기(805)에서 그대로 바이패스 되어, 메인 서비스 데이터 처리부로 출력될 수도 있다. 이 경우 상기 메인 서비스 데이터 처리부 전단에 트렐리스 복호기를 더 구비해야 한다. 한편, 상기 메인 서비스 데이터 처리부는, 도 8의 블록 디코더(805)로부터 신호를 수신할 수 있는 위치에 위치하도록 설계할 수 있다.In another embodiment, the block coding is not performed on the transmitting side, and the data on which only the trellis coding has been performed may be bypassed as it is in the
상기 블록 복호기(805)는, 입력되는 데이터가 송신 측에서 블록 부호화는 수행되지 않고, 트렐리스 부호화만 수행된 데이터라면, 입력 데이터에 대해 비터비(또는 트렐리스) 복호를 수행하여 하드 판정값을 출력하거나, 또는 소프트 판정값을 하드 판정하고, 그 결과를 출력할 수도 있다.The
상기 블록 복호기(805)는, 입력되는 데이터가 송신 측에서 블록 부호화와 트렐리스 부호화가 모두 수행된 데이터라면, 입력 데이터에 대해 소프트 판정값을 출력한다.The
즉, 상기 블록 복호기(805)는, 입력되는 데이터가 송신측의 블록 처리기에서 블록 부호화가 수행되고, 트렐리스 부호화부에서 트렐리스 부호화가 수행된 데이터라면, 송신측의 역으로 트렐리스 복호와 블록 복호를 수행한다. 이 때, 송신 측의 블록 처리기는 외부 부호기일 수 있으며, 트렐리스 부호화부는 내부 부호기일 수 있다.That is, if the input data is block-coded by the block processor on the transmission side and the data is Trellis-coded by the trellis encoder, the
이러한 연접 부호의 복호시에 외부 부호의 성능을 최대한 발휘하기 위해서는 내부 부호의 복호기에서 소프트 판정값을 출력해 주어야 한다. In order to maximize the performance of the outer code at the time of decoding the concatenated code, a soft decision value should be outputted from the inner code decoder.
따라서 상기 블록 복호기(805)는 모바일 서비스 데이터에 대해 하드 판정(hard decision) 값을 출력할 수도 있으나, 필요한 경우 소프트 판정값을 출력하는 것이 더 좋을 수 있다. Accordingly, the
한편 상기 데이터 디인터리버(809), RS 복호기(810), 및 디랜더마이저(811)는 메인 서비스 데이터를 수신하기 위해 필요한 블록들로서, 오직 모바일 서비스 데이터만을 수신하기 위한 수신 시스템 구조에서는 필요하지 않을 수도 있다. The data deinterleaver 809, the
상기 데이터 디인터리버(809)는 송신측의 데이터 인터리버의 역과정으로 상기 블록 복호기(805)에서 출력되는 메인 서비스 데이터를 디인터리빙하여 RS 복호기(810)로 출력한다. The data deinterleaver 809 deinterleaves the main service data output from the
상기 RS 복호기(810)는 디인터리빙된 데이터에 대해 체계적 RS 복호를 수행하여 디랜더마이저(811)로 출력한다. The
상기 디랜더마이저(811)는 RS 복호기(810)의 출력을 입력받아서 송신기의 랜더마이저와 동일한 의사 랜덤(pseudo random) 바이트를 발생시켜 이를 bitwise XOR(exclusive OR)한 후 MPEG 동기 바이트를 매 패킷의 앞에 삽입하여 188 바이트 메인 서비스 데이터 패킷 단위로 출력한다. The
상기 RS 프레임 복호기(807)는 상기 블록 복호기(805)로부터 RS 부호화 및/또는 CRC 부호화된 모바일 서비스 데이터만을 입력받는다. The
상기 RS 프레임 복호기(807)에서는 전송 시스템의 RS 프레임 부호기에서의 역과정을 수행하여 RS 프레임 내 에러들을 정정한 후, 에러 정정된 모바일 서비스 데이터 패킷에 RS 프레임 부호화 과정에서 제거되었던 1 바이트의 MPEG 동기 바이트를 부가하여 디랜더마이저(808)로 출력한다. The
상기 디랜더마이저(808)는 입력받은 모바일 서비스 데이터에 대해서 전송 시스템의 랜더마이저의 역과정에 해당하는 디랜더마이징을 수행하여 출력함으로써, 전송 시스템에서 송신한 모바일 서비스 데이터를 얻을 수가 있게 된다.The
특히, 본 발명의 일실시예에 따라, 언더플로우나 오버플로우가 발생하지 않는 패킷을 포함하는 방송 신호를, 상기 디지털 방송 수신기가 처리할 수 있다.In particular, according to an embodiment of the present invention, the digital broadcast receiver can process a broadcast signal including a packet in which an underflow or an overflow does not occur.
상기 튜너(801)는, 메인 서비스 데이터 패킷, 모바일 서비스 데이터 패킷, 그리고 기준 시간이 지연된 PCR (Program Clock Reference)을 포함하는 방송 신호를 수신한다. 물론, 상기 튜너의 기능을 담당하는 모듈을, 수신부라고 명명할 수도 있다.The
나아가, 본 발명의 일실시예에 따르면, 상기 튜너(801)는, 디지털 방송 전송 시스템으로부터, T-STD (Transport stream System Target Decoder)모델의 인증 프로세스 결과에 따라, 상기 메인 서비스 데이터 패킷 대신 널 데이터 패킷이 포함된 방송 신호를 수신한다.In accordance with an embodiment of the present invention, the
상기 블록 디코더(805)는, 상기 수신된 방송 신호를 역다중화 하며, 상기 블록 디코더(805)의 기능을 담당하는 모듈을, 역다중화부라고 명명할 수도 있다.The
그리고, 상기 데이터 인터리버(809), 상기 RS 디코더(810), 그리고 상기 데이터 디랜더마이저(811)는, 상기 역다중화 결과를 이용하여, 즉 상기 PCR에 따라 역다중화된 메인 서비스 데이터 패킷을 디코딩한다. 물론, 이와 같은 기능을 담당하는 모듈을 디코더라고 명명할 수도 있다.The data interleaver 809, the
따라서, 본 발명의 일실시예에 따르면, 기존 메인 서비스 데이터에 모바일 서비스 데이터를 추가함으로써 예상되는 언더플로우 및 오버플로우 문제를 모두 해결할 수가 있다. 예를 들어, 1차적으로 PCR 기준 시간을 일정 범위로 딜레이 시킴으로써 T-STD 모델의 버퍼에서 언더플로우 현상이 발생하는 것을 원천적으로 제거할 수 있고, 2차적으로는 보조 버퍼를 부가하고 또한 T-STD 모델에 대한 인증(verify) 프로세스를 통해, T-STD 모델의 메인 버퍼에서 오버플로우 현상이 발생하는 것을 원천적으로 제거할 수가 있다.Therefore, according to an embodiment of the present invention, it is possible to solve all the underflow and overflow problems expected by adding mobile service data to existing main service data. For example, it is possible to originally eliminate the occurrence of an underflow phenomenon in the buffer of the T-STD model by first delaying the PCR reference time within a certain range, and additionally, an auxiliary buffer is added to the T-STD model, Through the verification process for the model, it is possible to essentially eliminate the occurrence of an overflow phenomenon in the main buffer of the T-STD model.
나아가, 본 발명의 일실시예에 의하면, T-STD를 만족하는 TS 스트림에 MH 데이터를 추가함으로써 발생할 수 있는 T-STD 모델의 오버플로우 및 언더플로우를 방지할 수가 있다.Furthermore, according to an embodiment of the present invention, overflow and underflow of the T-STD model that can occur by adding MH data to a TS stream that satisfies T-STD can be prevented.
그리고, 본 발명의 일실시예에 의하면, 디지털 방송 전송 시스템이 미리 버퍼의 언더플로우 및 오버플로우를 체크하므로, 디지털 방송 수신기의 버퍼에서 언더플로우 및 오버플로우 현상이 발생하지 않게 된다.According to an embodiment of the present invention, the digital broadcast transmission system checks the underflow and the overflow of the buffer in advance, so that the underflow and the overflow phenomenon do not occur in the buffer of the digital broadcast receiver.
한편, 당해 명세서에서는 물건 발명과 방법 발명을 모두 설명하고 있으며, 전술한 물건 발명과 방법 발명은 모두 유사한 기술적 사상을 포함하고 있는 바, 물건 발명에 대한 설명이 방법 발명에 적용될 수도 있고, 반대로 방법 발명에 대한 설명이 물건 발명에 적용될 수도 있다.On the other hand, in this specification, both the article invention and the method invention are described, and since the article invention and the method invention described above all include similar technical ideas, description of the article invention may be applied to the method invention, May be applied to the invention.
본 발명에 따른 방법 발명은 모두 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다. The method inventions according to the present invention can all be implemented in the form of program instructions that can be executed through various computer means and recorded on a computer readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions recorded on the medium may be those specially designed and constructed for the present invention or may be available to those skilled in the art of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape; optical media such as CD-ROMs and DVDs; magnetic media such as floppy disks; Magneto-optical media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine language code such as those produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa.
이상과 같이 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. While the invention has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. This is possible.
그러므로, 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined by the equivalents of the claims, as well as the claims.
도 1은 디지털 방송 전송 시스템 중 하나인, T-STD의 구성을 도시한 블록도이다. 1 is a block diagram showing a configuration of a T-STD, which is one of digital broadcasting transmission systems.
도 2는 본 발명의 일실시예에 따른 디지털 방송 전송 시스템의 구성을 도시한 블록도이다.2 is a block diagram illustrating a configuration of a digital broadcasting transmission system according to an embodiment of the present invention.
도 3은 모바일 서비스 데이터는 없고, 메인 서비스 데이터만 처리하는 경우, 도 1의 T-STD의 트랜스포트 버퍼에 저장되는 데이터의 fullness를 도시한 도면이다.FIG. 3 is a diagram showing fullness of data stored in the transport buffer of the T-STD of FIG. 1 when there is no mobile service data and only main service data is processed.
도 4는 모바일 서비스 데이터와, 메인 서비스 데이터를 모두 처리하는 경우, 도 1의 T-STD 의 트랜스포트 버퍼에 저장되는 데이터의 fullness를 도시한 도면이다.FIG. 4 is a diagram showing fullness of data stored in the transport buffer of the T-STD of FIG. 1 when both mobile service data and main service data are processed.
도 5는 모바일 서비스 데이터와, 메인 서비스 데이터를 모두 처리하는 경우, PCR을 보정하기 전 도 1의 T-STD의 메인 버퍼에 저장되는 데이터의 fullness를 도시한 도면이다.FIG. 5 is a diagram showing fullness of data stored in the main buffer of the T-STD of FIG. 1 before PCR is corrected when both mobile service data and main service data are processed.
도 6은 모바일 서비스 데이터와, 메인 서비스 데이터를 모두 처리하는 경우, PCR을 보정한 후 도 1의 T-STD의 메인 버퍼에 저장되는 데이터의 fullness를 도시한 도면이다.FIG. 6 is a diagram showing fullness of data stored in the main buffer of the T-STD of FIG. 1 after correcting PCR when both mobile service data and main service data are processed.
도 7은 본 발명의 일실시예에 따른 디지털 방송 전송 시스템의 데이터 처리 방법을 도시한 플로우 차트이다.7 is a flowchart illustrating a data processing method of a digital broadcast transmission system according to an embodiment of the present invention.
그리고, 도 8은 본 발명에 따른 디지털 방송 수신기의 일 실시예를 보인 구 성 블록도이다.FIG. 8 is a block diagram illustrating a digital broadcast receiver according to an embodiment of the present invention. Referring to FIG.
Claims (15)
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US12/372,694 US8199811B2 (en) | 2008-02-18 | 2009-02-17 | Digital broadcast system and data processing method |
US13/365,177 US8374235B2 (en) | 2008-02-18 | 2012-02-02 | Digital broadcast system and data processing method |
US13/371,283 US8385410B2 (en) | 2008-02-18 | 2012-02-10 | Digital broadcast system and data processing method |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US2955008P | 2008-02-18 | 2008-02-18 | |
US61/029,550 | 2008-02-18 |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20090089261A KR20090089261A (en) | 2009-08-21 |
KR101507849B1 true KR101507849B1 (en) | 2015-04-06 |
Family
ID=41207589
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR20090012635A KR101507849B1 (en) | 2008-02-18 | 2009-02-16 | Digital broadcasting receiver and method for processing data |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101507849B1 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070076954A (en) * | 2006-01-20 | 2007-07-25 | 엘지전자 주식회사 | Digital broadcasting system and processing method |
-
2009
- 2009-02-16 KR KR20090012635A patent/KR101507849B1/en active IP Right Grant
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070076954A (en) * | 2006-01-20 | 2007-07-25 | 엘지전자 주식회사 | Digital broadcasting system and processing method |
Also Published As
Publication number | Publication date |
---|---|
KR20090089261A (en) | 2009-08-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9918113B2 (en) | Digital broadcasting system and method of processing data | |
KR101221914B1 (en) | Apparatus and method for transmitting Digital broadcasting signal | |
US8340569B2 (en) | Method of controlling and apparatus of receiving mobile service data | |
KR101253187B1 (en) | Digital broadcasting system and method of processing data in digital broadcasting system | |
KR101253186B1 (en) | Digital broadcasting system and method of processing data in digital broadcasting system | |
USRE45920E1 (en) | Digital broadcasting system and method of processing data | |
US8385410B2 (en) | Digital broadcast system and data processing method | |
US9887853B2 (en) | Digital broadcasting system and method of processing data | |
KR101723416B1 (en) | Apparatus and Method for transmitting/receiving Digital broadcasting signal | |
US20070208987A1 (en) | Apparatus And Method For Receiving Digital Television Signal With Backward Compatibility Byte | |
KR101507849B1 (en) | Digital broadcasting receiver and method for processing data | |
KR20070120790A (en) | Digital broadcasting system and processing method | |
KR101227506B1 (en) | Digital broadcasting system and processing method | |
KR101314614B1 (en) | Digital broadcasting system and method of processing data | |
KR100913107B1 (en) | Digital broadcasting system and data processing method | |
CA2671537C (en) | Digital broadcasting system and method of processing data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
FPAY | Annual fee payment |
Payment date: 20190214 Year of fee payment: 5 |