KR20140092278A - Apparatus and Method for transmitting/receiving Digital broadcasting signal - Google Patents

Apparatus and Method for transmitting/receiving Digital broadcasting signal Download PDF

Info

Publication number
KR20140092278A
KR20140092278A KR1020140074878A KR20140074878A KR20140092278A KR 20140092278 A KR20140092278 A KR 20140092278A KR 1020140074878 A KR1020140074878 A KR 1020140074878A KR 20140074878 A KR20140074878 A KR 20140074878A KR 20140092278 A KR20140092278 A KR 20140092278A
Authority
KR
South Korea
Prior art keywords
data
mobile service
service data
packet
bytes
Prior art date
Application number
KR1020140074878A
Other languages
Korean (ko)
Other versions
KR101581365B1 (en
Inventor
김병길
최인환
김진우
김종문
송원규
이형곤
곽국연
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Publication of KR20140092278A publication Critical patent/KR20140092278A/en
Application granted granted Critical
Publication of KR101581365B1 publication Critical patent/KR101581365B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/015High-definition television systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H20/00Arrangements for broadcast or for distribution combined with broadcast
    • H04H20/65Arrangements characterised by transmission systems for broadcast
    • H04H20/71Wireless systems
    • H04H20/72Wireless systems of terrestrial networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2592Translation of Internet protocol [IP] addresses using tunnelling or encapsulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/23605Creation or processing of packetized elementary streams [PES]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/08Systems for the simultaneous or sequential transmission of more than one television signal, e.g. additional information signals, the signals occupying wholly or partially the same frequency band, e.g. by time division
    • H04N7/0803Systems for the simultaneous or sequential transmission of more than one television signal, e.g. additional information signals, the signals occupying wholly or partially the same frequency band, e.g. by time division using frequency interleaving, e.g. with precision offset
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets

Abstract

The present invention relates to a digital transmission system and a data processing method which can reduce errors in mobile service data transmission. Accordingly, the present invention performs additionally mobile service data encoding before transmitting the mobile service data. Therefore, the mobile service data acquires strong robustness and is capable of reliably coping with rapid channel variation.

Description

디지털 방송 신호 송수신 장치 및 방법{Apparatus and Method for transmitting/receiving Digital broadcasting signal}[0001] The present invention relates to a digital broadcasting signal transmitting and receiving apparatus and method,

본 발명은 디지털 방송 시스템에 관한 것으로, 특히 디지털 방송을 송신하고 수신하기 위한 장치 및 방법에 관한 것이다.The present invention relates to a digital broadcasting system, and more particularly, to an apparatus and method for transmitting and receiving digital broadcasting.

디지털 방송 중 북미 및 국내에서 디지털 방송 표준으로 채택된 VSB(Vestigial Sideband) 전송 방식은 싱글 캐리어 방식이므로 열악한 채널 환경에서는 수신 시스템의 수신 성능이 떨어질 수 있다. 특히 휴대용이나 이동형 방송 수신기의 경우에는 채널 변화 및 노이즈에 대한 강건성이 더욱 요구되므로, 상기 VSB 전송 방식으로 모바일 서비스 데이터를 전송하는 경우 수신 성능을 더욱 떨어지게 된다.VSB (Vestigial Sideband) transmission system adopted as a digital broadcasting standard in North America and Korea in digital broadcasting is a single carrier system, so reception performance of a receiving system may be deteriorated in a poor channel environment. Particularly, in the case of a portable or mobile broadcasting receiver, robustness against channel change and noise is further required, so that when the mobile service data is transmitted by the VSB transmission method, the reception performance is further deteriorated.

따라서 본 발명은 채널 변화 및 노이즈에 강한 디지털 방송 시스템 및 데이터 처리 방법을 제공함에 있다.Accordingly, the present invention provides a digital broadcasting system and a data processing method that are robust against channel variation and noise.

본 발명은 모바일 서비스 데이터에 대해 추가의 부호화를 수행하여 수신 시스템으로 전송함으로써, 수신 성능을 향상시키도록 하는 디지털 방송 시스템 및 데이터 처리 방법을 제공함에 있다.The present invention provides a digital broadcasting system and a data processing method for improving reception performance by performing additional coding on mobile service data and transmitting the same to a receiving system.

본 발명은 트랜스포트 스트림(Transport Stream ; TS) 패킷 형태가 아닌 모바일 서비스 데이터를 TS 패킷 형태로 인캡슐레이션함으로써, 기존 시스템과 호환성을 유지할 수 있도록 하는 디지털 방송 시스템 및 데이터 처리 방법을 제공함에 있다. The present invention provides a digital broadcasting system and a data processing method that can maintain compatibility with an existing system by encapsulating mobile service data in the form of a TS packet instead of a transport stream (TS) packet format.

상기 목적을 달성하기 위하여, 본 발명의 일 실시예에 따른 전송 시스템의 데이터 처리 방법은 모바일 서비스 데이터를 입력받아 트랜스포트 스트림(TS) 패킷 형태로 인캡슐레이션하여 모바일 서비스 데이터 패킷으로 출력하는 단계; 및 메인 서비스 데이터를 포함하는 메인 서비스 데이터 패킷과 인캡슐레이션된 모바일 서비스 데이터 패킷을 다중화하여 원격지에 위치한 적어도 하나의 송신기로 전송하는 단계를 포함할 수 있다. According to an aspect of the present invention, there is provided a method of processing data in a transmission system, the method comprising: receiving mobile service data and encapsulating the mobile service data into a transport stream (TS) packet; And multiplexing the main service data packet including the main service data and the encapsulated mobile service data packet and transmitting the multiplexed main service data packet to at least one transmitter located at a remote place.

상기 인캡슐레이션 단계는입력되는 모바일 서비스 데이터가 IP 형태이면, 입력되는 모바일 서비스 데이터를 어드레서블 섹션 형태로 캡슐화하는 단계; 및 상기 캡슐화된 섹션 형태의 모바일 서비스 데이터를 포함하는 기 정해진 단위의 모바일 서비스 데이터 패킷으로 생성하는 단계를 포함할 수 있다. Encapsulating the input mobile service data into an addressable section if the inputted mobile service data is in the IP format; And generating a predetermined unit of mobile service data packet including mobile service data in the form of the encapsulated section.

상기 인캡슐레이션 단계는 모바일 서비스 데이터 패킷 내 특정 영역에 상기 모바일 서비스 데이터의 서비스 관련 정보를 포함하는 전송 파라미터를 삽입할 수 있다.
The encapsulating step may insert a transmission parameter including service-related information of the mobile service data in a specific area in the mobile service data packet.

*상기 인캡슐레이션 단계는 모바일 서비스 데이터 패킷 내 특정 영역에 널 데이터를 삽입할 수 있다.The encapsulation step may insert null data into a specific area in the mobile service data packet.

본 발명의 다른 실시예에 따른 전송 시스템의 데이터 처리 방법은, 입력되는 모바일 서비스 데이터를 OM(Operations and Maintenance) 패킷 내 페이로드 영역의 적어도 일부에 삽입하여 출력하는 단계; 및 메인 서비스 데이터를 포함하는 메인 서비스 데이터 패킷과 상기 OM 패킷을 다중화하여 원격지에 위치한 적어도 하나의 송신기로 전송하는 단계를 포함할 수 있다.According to another aspect of the present invention, there is provided a data processing method of a transmission system, comprising: inputting mobile service data into at least a part of a payload area in an Operations and Maintenance (OM) packet and outputting the data; And multiplexing the main service data packet including the main service data and the OM packet and transmitting the multiplexed main service data packet to at least one transmitter located at a remote location.

상기 OM 패킷 출력 단계는 상기 OM 패킷의 페이로드의 적어도 일부에 모바일 서비스 데이터의 서비스 관련 정보를 포함하는 전송 파라미터를 삽입할 수 있다.The OM packet output step may insert a transmission parameter including service-related information of the mobile service data into at least a part of the payload of the OM packet.

상기 OM 패킷 출력 단계는 상기 OM 패킷의 페이로드의 적어도 일부에 널 데이터를 삽입할 수 있다.The OM packet output step may insert null data into at least a part of the payload of the OM packet.

본 발명의 일 실시예에 따른 전송 시스템의 서비스 다중화기는 패킷 인캡슐레이터 및 트랜스포트 다중화기를 포함할 수 있다.The service multiplexer of the transmission system according to an embodiment of the present invention may include a packet encapsulator and a transport multiplexer.

상기 패킷 인캡슐레이터는 모바일 서비스 데이터를 입력받아 트랜스포트 스트림(TS) 패킷 형태로 인캡슐레이션하여 모바일 서비스 데이터 패킷으로 출력할 수 있다. The packet encapsulator may receive the mobile service data and encapsulate it in the form of a transport stream (TS) packet and output it as a mobile service data packet.

상기 패킷 인캡슐레이터는 입력되는 모바일 서비스 데이터를 OM(Operations and Maintenance) 패킷 내 페이로드 영역의 적어도 일부에 삽입하여 모바일 서비스 데이터 패킷으로 출력할 수 있다.The packet encapsulator may insert the input mobile service data into at least a part of a payload area in an operations and maintenance (OM) packet and output it as a mobile service data packet.

상기 트랜스포트 다중화기는 메인 서비스 데이터를 포함하는 메인 서비스 데이터 패킷과 모바일 서비스 데이터 패킷을 다중화하여 원격지에 위치한 적어도 하나의 송신기로 전송할 수 있다.The transport multiplexer may multiplex the main service data packet including the main service data and the mobile service data packet and transmit the main service data packet and the mobile service data packet to at least one transmitter located at a remote place.

본 발명의 다른 목적, 특징 및 잇점들은 첨부한 도면을 참조한 실시예들의 상세한 설명을 통해 명백해질 것이다.Other objects, features and advantages of the present invention will become apparent from the detailed description of embodiments with reference to the accompanying drawings.

이하 상기의 목적을 구체적으로 실현할 수 있는 본 발명의 바람직한 실시예를 첨부한 도면을 참조하여 설명한다. 이때 도면에 도시되고 또 이것에 의해서 설명되는 본 발명의 구성과 작용은 적어도 하나의 실시예로서 설명되는 것이며, 이것에 의해서 본 발명의 기술적 사상과 그 핵심 구성 및 작용이 제한되지는 않는다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. The structure and operation of the present invention shown in the drawings and described by the drawings are described as at least one embodiment, and the technical ideas and the core structure and operation of the present invention are not limited thereby.

이상에서 설명한 바와 같이 본 발명에 따른 디지털 방송 시스템 및 데이터 처리 방법은 채널을 통하여 모바일 서비스 데이터를 송신할 때 에러에 강하고 또한 기존의 수신기와도 호환성이 가능한 이점이 있다. 더불어 기존의 시스템보다 고스트와 잡음이 심한 채널에서도 모바일 서비스 데이터를 에러없이 수신할 수 있는 이점이 있다. INDUSTRIAL APPLICABILITY As described above, the digital broadcasting system and the data processing method according to the present invention are advantageous in that they are robust against errors when transmitting mobile service data through a channel and compatible with existing receivers. In addition, there is an advantage that mobile service data can be received without error even in a channel with ghost and noise more than the existing system.

또한 본 발명은 모바일 서비스 데이터에 대해 에러 정정 부호화와 에러 검출 부호화를 수행하여 전송함으로써, 상기 모바일 서비스 데이터에 강건성을 부여하면서 빠른 채널 변화에 강력하게 대응할 수 있게 한다.Further, the present invention can provide robustness to the mobile service data and strongly cope with fast channel change by performing error correction coding and error detection coding on the mobile service data and transmitting the same.

그리고 본 발명은 버스트 구조로 메인 서비스 데이터와 모바일 서비스 데이터를 다중화할 때, 메인 서비스 데이터 패킷의 상대적인 위치를 재조정하여 다중화함으로써, 수신 시스템에서 상기 다중화된 메인 서비스 데이터 패킷을 수신할 때 발생할 수 있는 패킷 지터를 경감시킬 수 있다. When multiplexing the main service data and the mobile service data with the burst structure, the relative positions of the main service data packets are re-adjusted and multiplexed, thereby allowing a packet to be generated when the multiplexed main service data packet is received in the receiving system Jitter can be reduced.

특히 본 발명은 서비스 다중화기로 입력되는 모바일 서비스 데이터 형태가 TS 패킷 형태가 아니면 TS 패킷 형태로 인캡슐레이션하여 송신기로 전송함으로써, 기존 시스템과 호환성을 유지할 수 있다. In particular, according to the present invention, if the mobile service data format input to the service multiplexer is not a TS packet format, it is encapsulated in a TS packet format and transmitted to a transmitter, thereby maintaining compatibility with the existing system.

이러한 본 발명은 채널 변화가 심하고 노이즈에 대한 강건성이 요구되는 휴대용 및 이동 수신기에 적용하면 더욱 효과적이다. The present invention is more effective when applied to portable and mobile receivers where channel changes are severe and robustness against noise is required.

이상 설명한 내용을 통해 당업자라면 본 발명의 기술 사상을 일탈하지 아니하는 범위에서 다양한 변경 및 수정이 가능함을 알 수 있을 것이다.It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the invention.

따라서 본 발명의 기술적 범위는 실시예에 기재된 내용으로 한정되는 것이 아니라 특허 청구의 범위에 의하여 정해져야 한다. Therefore, the technical scope of the present invention should not be limited to the contents described in the embodiments but should be determined by the claims.

도 1은 본 발명의 일 실시예에 따른 디지털 전송 시스템의 개략적인 구성 블록도
도 2는 도 1의 서비스 다중화기의 일 실시예를 보인 구성 블록도
도 3은 도 2의 TS 패킷 인캡슐레이터에서 TS 패킷으로 인캡슐레이션되는 모바일 서비스 데이터 패킷에 대한 신택스 구조의 일 예를 보인 도면
도 4는 본 발명에 따른 Mobile_service_data()에 대한 신택스 구조의 일 예를 보인 도면
도 5는 본 발명에 따른 Tx_parameter()에 대한 신택스 구조의 일 예를 보인 도면
도 6, 도 7은 본 발명에 따른 전송 파라미터 내 RS 코드 모드의 예들을 보인 도면
도 8은 본 발명에 따른 전송 파라미터 내 터보 코드 모드의 예들을 보인 도면
도 9는 본 발명에 따른 OM 패킷에 대한 신택스 구조의 일 예를 보인 도면
도 10은 도 1의 송신기의 일 실시예를 보인 구성 블록도
도 11은 도 10의 전처리기의 일 실시예를 보인 구성 블록도
도 12a, 도 12b는 본 발명에 따른 데이터 디인터리버 전후단의 데이터 구성 예를 보인 도면
도 13은 본 발명의 일 실시예에 따른 수신 시스템의 구성 블록도
1 is a schematic block diagram of a digital transmission system according to an embodiment of the present invention;
Fig. 2 is a block diagram showing an embodiment of the service multiplexer of Fig. 1. Fig.
3 is a diagram showing an example of a syntax structure for a mobile service data packet that is encapsulated in a TS packet in an encapsulator as a TS packet of FIG.
4 is a diagram showing an example of a syntax structure for Mobile_service_data () according to the present invention.
5 is a diagram showing an example of a syntax structure for Tx_parameter () according to the present invention.
6 and 7 are diagrams showing examples of an RS code mode in a transmission parameter according to the present invention.
8 is a diagram showing examples of turbo code modes in transmission parameters according to the present invention;
9 is a diagram showing an example of a syntax structure for an OM packet according to the present invention.
10 is a block diagram showing an embodiment of the transmitter of FIG.
11 is a block diagram showing an embodiment of the preprocessor of FIG. 10
12A and 12B are diagrams showing examples of data structures before and after data deinterleavers according to the present invention;
13 is a block diagram of a receiving system according to an embodiment of the present invention

본 발명에서 사용되는 용어의 정의Definitions of terms used in the present invention

본 발명에서 사용되는 용어는 본 발명에서의 기능을 고려하면서 가능한 현재 널리 사용되는 일반적인 용어를 선택하였으나, 이는 당분야에 종사하는 기술자의 의도 또는 관례 또는 새로운 기술의 출현 등에 따라 달라질 수 있다. 또한 특정한 경우는 출원인이 임의로 선정한 용어도 있으며, 이 경우 해당되는 발명의 설명 부분에서 상세히 그 의미를 기재할 것이다. 따라서 본 발명에서 사용되는 용어는 단순한 용어의 명칭이 아닌 그 용어가 가지는 의미와 본 발명의 전반에 걸친 내용을 토대로 정의되어야 함을 밝혀두고자 한다. The terms used in the present invention are selected from general terms that are widely used in the present invention while considering the functions of the present invention. However, the terms may vary depending on the intention or custom of the artisan or the emergence of new technology. Also, in certain cases, there may be a term selected arbitrarily by the applicant, in which case the meaning thereof will be described in detail in the description of the corresponding invention. Therefore, it is to be understood that the term used in the present invention should be defined based on the meaning of the term rather than the name of the term, and on the contents of the present invention throughout.

본 발명에서 사용되는 용어 중 메인 서비스 데이터는 고정형 수신 시스템에서 수신할 수 있는 데이터로서, 오디오/비디오(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.

또한 본 발명에서 모바일(mobile) 서비스 데이터는 모바일(Mobile) 서비스 데이터, 퍼데스트리언(Pedestrian) 서비스 데이터, 핸드헬드(Handheld) 서비스 데이터 중 적어도 하나를 포함하며, 설명의 편의를 위해 본 발명에서는 모바일 서비스 데이터라 한다. 이때 상기 모바일 서비스 데이터는 M/P/H(Mobile/Pedestrian/Handheld) 서비스 데이터뿐만 아니라, 이동이나 휴대를 의미하는 서비스 데이터는 어느 것이나 포함될 수 있으며, 따라서 상기 모바일 서비스 데이터는 상기 M/P/H 서비스 데이터로 제한되지 않을 것이다. Also, in the present invention, the mobile service data includes at least one of mobile service data, pedestrian service data, and handheld service data. For convenience of description, Service data. At this time, the mobile service data may include not only M / P / H (Mobile / Pedestrian / Handheld) service data, but also service data indicating movement or carrying, 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 AVC (Advanced Video Coding), and SVC (Scalable Video Coding). Also, any kind of data can be transmitted as the mobile service data. For example, TPEG (Transport Protocol Expert Group) data for broadcasting traffic information in real time may be serviced.

또한 상기 모바일 서비스 데이터를 이용한 데이터 서비스로는 날씨 서비스, 교통 서비스, 증권 서비스, 시청자 참여 퀴즈 프로그램, 실시간 여론 조사, 대화형 교육 방송, 게임 서비스, 드라마의 줄거리, 등장인물, 배경음악, 촬영장소 등에 대한 정보 제공 서비스, 스포츠의 과거 경기 전적, 선수의 프로필 및 성적에 대한 정보 제공 서비스, 상품 정보 및 이에 대한 주문 등이 가능하도록 하는 서비스별, 매체별, 시간별, 또는 주제별로 프로그램에 대한 정보 제공 서비스 등이 될 수 있으며, 본 발명은 이에 한정하지는 않는다. 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. In particular, the present invention allows mobile service data to be multiplexed using a transport multiplexer used in an existing digital broadcasting system.

본 발명의 전송 시스템은 트랜스포트 스트림(TS) 패킷 형태가 아닌 모바일 서비스 데이터를 TS 패킷 형태로 인캡슐레이션(Encapsulation)하여 전송할 수 있도록 한다.The transmission system of the present invention enables mobile service data not encapsulated in a transport stream (TS) packet format to be encapsulated and transmitted in the form of a TS packet.

본 발명의 전송 시스템은 모바일 서비스 데이터에 대해 추가적인 부호화를 수행하고, 송/수신측 모두가 미리 알고 있는 데이터 즉, 기지(known) 데이터를 삽입하여 전송할 수 있도록 한다. The transmission system of the present invention performs additional coding on the mobile service data and inserts known data, that is, known data, into both the transmitting and receiving sides.

이러한 전송 시스템을 사용하면 수신 시스템에서는 모바일 서비스 데이터의 이동 수신이 가능하며, 또한 채널에서 발생하는 각종 왜곡과 노이즈에도 모바일 서비스 데이터의 안정적인 수신이 가능하다.With this transmission system, mobile service data can be received and received in the receiving system, and stable reception of mobile service data is possible even with various distortions and noises occurring in the channel.

도 1은 이러한 본 발명을 적용하기 위한 전송 시스템의 일 실시예를 보인 개략도로서, 서비스 다중화기(Service Multiplexer)(100)와 송신기(Transmitter)(200)를 포함할 수 있다.FIG. 1 is a schematic diagram illustrating an embodiment of a transmission system for applying the present invention. The transmission multiplexer 100 may include a service multiplexer 100 and a transmitter 200.

여기서 상기 서비스 다중화기(100)는 각 방송국의 스튜디오에 위치하고, 송신기(200)는 스튜디오로부터 거리가 떨어진 지역(site)에 위치한다. 이때 상기 송신기(200)는 복수개의 서로 다른 지역에 위치할 수도 있다. 그리고 일 실시예로, 상기 복수개의 송신기는 동일 채널에 대해 동일한 주파수를 공유할 수 있으며, 이 경우 복수개의 송신기는 모두 동일한 신호를 송신한다. 그러면 수신 시스템에서는 채널 등화기가 반사파로 인한 신호 왜곡을 보상하여 원 신호를 복원할 수가 있다. 다른 실시예로, 상기 복수개의 송신기는 동일 채널에 대해 서로 다른 주파수를 가질 수 있다. Here, the service multiplexer 100 is located in a studio of each broadcasting station, and the transmitter 200 is located in a site away from the studio. At this time, the transmitter 200 may be located in a plurality of different areas. In one embodiment, the plurality of transmitters may share the same frequency for the same channel, in which case the plurality of transmitters all transmit the same signal. Then, in the receiving system, the channel equalizer compensates the signal distortion due to the reflected wave to restore the original signal. In another embodiment, the plurality of transmitters may have different frequencies for the same channel.

상기 서비스 다중화기와 원격지에 위치한 각 송신기간의 데이터 통신은 여러 가지 방법이 이용될 수 있으며, 일 실시예로 SMPTE-310M(Synchronous Serial Interface for transport of MPEG-2 data)과 같은 인터페이스 규격이 사용될 수도 있다. 상기 SMPTE-310M 인터페이스 규격에서는 서비스 다중화기의 출력 데이터 율이 일정한 데이터 율로 정해져 있다. 예를 들어, 8VSB의 경우 19.39 Mbps로 정해져 있고, 16VSB의 경우 38.78 Mbps로 정해져 있다. 또한 기존 8VSB 방식의 전송 시스템에서는 한 개의 물리적인 채널에 데이터 율이 약 19.39 Mbps인 트랜스포트 스트림(Transport Stream ; TS) 패킷을 전송할 수 있다. 기존 전송 시스템과 역방향 호환성을 가지는 본 발명에 따른 송신기에서도, 상기 모바일 서비스 데이터에 대하여 추가의 부호화를 수행한 후 이를 메인 서비스 데이터와 TS 패킷 형태로 다중화하여 전송하는데, 이때에도 다중화된 TS 패킷의 데이터 율은 약 19.39 Mbps가 된다. Various methods may be used for the data communication between the service multiplexer and each remote transmission station, and an interface standard such as SMPTE-310M (Synchronous Serial Interface for transport of MPEG-2 data) may be used . In the SMPTE-310M interface standard, the output data rate of the service multiplexer is fixed at a constant data rate. For example, it is set at 19.39 Mbps for 8VSB and 38.78 Mbps for 16VSB. Also, in the conventional 8VSB transmission system, a transport stream (TS) packet having a data rate of about 19.39 Mbps can be transmitted to one physical channel. Even in the transmitter according to the present invention, which is backward compatible with the existing transmission system, the mobile service data is further encoded and then multiplexed with the main service data in the form of a TS packet. At this time, The rate is about 19.39 Mbps.

이때 상기 서비스 다중화기(100)는 적어도 한 종류의 메인 서비스 데이터와 각 메인 서비스를 위한 PSI(Program Specific Information)/PSIP(Program and System Information Protocol) 테이블 데이터를 입력받아 TS 패킷으로 인캡슐레이션(encapsulation)한다.At this time, the service multiplexer 100 receives at least one kind of main service data and PSI (Program Specific Information) / PSIP (table and program information) for each main service and encapsulates it into a TS packet )do.

또한 상기 서비스 다중화기(100)는 적어도 한 종류의 모바일 서비스 데이터를 입력받아 TS 패킷으로 인캡슐레이션한다. 이때 상기 서비스 다중화기(100)는 입력되는 데이터 형태에 따라 해당 모바일 서비스를 위한 PSI/PSIP 테이블을 입력받을 수도 있고, 입력받지 않을 수도 있다.The service multiplexer 100 receives at least one kind of mobile service data and encapsulates the mobile service data into a TS packet. At this time, the service multiplexer 100 may receive a PSI / PSIP table for the mobile service according to the input data format, or may not receive the PSI / PSIP table.

이어 상기 TS 패킷들을 기 설정된 다중화 규칙에 따라 다중화하여 송신기(200)로 출력한다.  And multiplexes the TS packets according to a preset multiplexing rule and outputs the multiplexed TS packets to the transmitter 200.

도 2는 상기 서비스 다중화기의 일 실시예를 보인 상세 블록도로서, 메인 서비스를 위한 PSI/PSIP 발생기(110), 트랜스포트 스트림(TS) 패킷 인캡슐레이터(Encapsulator)(120), 트랜스포트 다중화기(130), 및 서비스 다중화기의 전반적인 동작을 제어하는 제어기(Controller)(140)를 포함할 수 있다. FIG. 2 is a detailed block diagram illustrating an embodiment of the service multiplexer. The PSI / PSIP generator 110 for a main service, the encapsulator 120 for a transport stream (TS) packet, And a controller 140 that controls the overall operation of the service multiplexer.

상기 트랜스포트 다중화기(130)는 메인 서비스 다중화기(131), 및 트랜스포트 스트림(Transport Stream ; TS) 패킷 다중화기(132)를 포함할 수 있다.The transport multiplexer 130 may include a main service multiplexer 131 and a transport stream (TS) packet multiplexer 132.

도 2를 보면, 적어도 한 종류의 압축 부호화된 메인 서비스 데이터와 상기 메인 서비스를 위해 PSI/PSIP 발생기(110)에서 발생된 PSI/PSIP 테이블 데이터는 트랜스포트 다중화기(130)의 메인 서비스 다중화기(131)로 입력된다. 상기 메인 서비스 다중화기(131)는 입력되는 메인 서비스 데이터와 PSI/PSIP 테이블을 각각 MPEG-2 TS 패킷 형태로 인캡슐레이션(encapsulation)하고, 이러한 TS 패킷들을 다중화하여 TS 패킷 다중화기(132)로 출력한다. 상기 메인 서비스 다중화기(131)에서 출력되는 데이터 패킷은 설명의 편의를 위해 메인 서비스 데이터 패킷이라 하기로 한다.Referring to FIG. 2, at least one kind of compression-encoded main service data and PSI / PSIP table data generated by the PSI / PSIP generator 110 for the main service are transmitted to the main service multiplexer 130 of the transport multiplexer 130 131). The main service multiplexer 131 encapsulates the input main service data and the PSI / PSIP table in the form of MPEG-2 TS packets, multiplexes the TS packets and transmits them to a TS packet multiplexer 132 Output. The data packet output from the main service multiplexer 131 will be referred to as a main service data packet for convenience of explanation.

한편 STL로 전송되는 데이터의 포맷은 TS 패킷 형태로 정의되어 있기 때문에 서비스 다중화기(100)로 입력되는 모바일 서비스 데이터가 TS 패킷 형태가 아닌 경우, 상기 모바일 서비스 데이터를 기존의 STL을 이용하여 전송할 수 없다.Meanwhile, since the format of data transmitted to the STL is defined as a TS packet type, when the mobile service data input to the service multiplexer 100 is not a TS packet type, the mobile service data can be transmitted using the existing STL none.

본 발명은 TS 패킷 형태가 아닌 모바일 서비스 데이터를 STL을 이용하여 송신기로 전송하기 위한 것이다. 본 발명에서는 설명의 편의를 위해 TS 패킷 형태가 아닌 모바일 서비스 데이터를 Non-TS 패킷 형태의 모바일 서비스 데이터라 하기도 한다.The present invention is for transmitting mobile service data, not TS packet type, to a transmitter using STL. In the present invention, for convenience of description, the mobile service data other than the TS packet type is also referred to as the non-TS packet type mobile service data.

이를 위해 TS 패킷 인캡슐레이터(120)는 입력되는 Non-TS 패킷 형태의 모바일 서비스 데이터를 184 바이트 크기의 페이로드로 나누고, 이 페이로드에 4 바이트의 TS 패킷 헤더(또는 MPEG 헤더라 하기도 함)를 삽입하여 188 바이트의 TS 패킷으로 인캡슐레이션한다. To this end, the TS packet encapsulator 120 divides the input non-TS packet type mobile service data into a payload having a size of 184 bytes, and attaches a 4-byte TS packet header (or MPEG header) And encapsulates it into a TS packet of 188 bytes.

예를 들어, Non-TS 패킷 형태의 모바일 서비스 데이터가 IP 형태의 모바일 서비스 데이터라면, 상기 TS 패킷 인캡슐레이터(120)는 IP 형태의 모바일 서비스 데이터를 어드레서블 섹션 구조(예, ATSC T3/S13)로 캡슐화하고, 캡슐화된 섹션 형태의 모바일 서비스 데이터를 다시 MPEG-2 TS 형태로 구성하여 트랜스포트 다중화기(130)의 TS 패킷 다중화기(132)로 출력한다.For example, if the non-TS packet type mobile service data is an IP type mobile service data, the TS packet encapsulator 120 converts the IP type mobile service data into an addressable section structure (e.g., ATSC T3 / S13), and encapsulates the mobile service data in the form of an encapsulated section into an MPEG-2 TS format and outputs it to the TS packet multiplexer 132 of the transport multiplexer 130. [

즉, 상기 TS 패킷 인캡슐레이터(120)에서는 IP 형태의 모바일 서비스 데이터를 일정 크기의 IP 데이터그램(datagram)으로 나누고(fragments), 이 IP 데이터그램을 다시 어드레서블 섹션으로 캡슐화한다. 이어 상기 캡슐화된 섹션 형태의 모바일 서비스 데이터를 MPEG-2 TS(Transport Stream) 형태로 캡슐화한다. That is, the TS packet encapsulator 120 divides the IP-type mobile service data into IP datagrams of a predetermined size and encapsulates the IP datagrams into addressable sections. And then encapsulates the encapsulated section-type mobile service data in an MPEG-2 TS (Transport Stream) format.

하나의 어드레서블 섹션은 하나의 IP 데이터그램에 섹션 헤더와 첵섬(checksum) 및 CRC가 추가적으로 더해지는 형태를 가지게 된다. 이러한 어드레서블 섹션 구조의 형태는 프라이빗 데이터(private data) 전송을 위한 DSMCC(Digital Storage Media Command and Control) 섹션 포맷에 부합되는 구조로 되어 있을 수 있다. 그리고 TS 패킷은 어드레서블 섹션을 184 바이트의 페이로드로 쪼갠 후, 각 페이로드에 4바이트의 MPEG 헤더가 추가적으로 더해지는 형태를 가지게 된다. An addressable section has a form in which an IP datagram is added with a section header, a checksum, and a CRC. The form of such an addressable section structure may be structured to conform to a DSMCC (Digital Storage Media Command and Control) section format for private data transmission. The TS packet has a form in which an addressable section is divided into a payload of 184 bytes, and a 4-byte MPEG header is additionally added to each payload.

상기 TS 패킷 인캡슐레이터(120)는 전술한 바와 같이 Non-TS 패킷 형태의 모바일 서비스 데이터를 TS 패킷화하여 트랜스포트 다중화기(130)의 TS 패킷 다중화기(132)로 출력한다. 만일 상기 모바일 서비스 데이터를 위한 PSI/PSIP 테이블 데이터가 입력된다면 상기 모바일 서비스 데이터와 TS 패킷 단위로 다중화하여 트랜스포트 다중화기(130)의 TS 패킷 다중화기(132)로 출력한다. The TS packet encapsulator 120 TS packetizes the non-TS packet type mobile service data and outputs the TS packet to the TS packet multiplexer 132 of the transport multiplexer 130 as described above. If the PSI / PSIP table data for the mobile service data is inputted, the mobile service data and the PSI / PSIP table data for the mobile service data are multiplexed in units of TS packets and output to the TS packet multiplexer 132 of the transport multiplexer 130.

한편 상기 TS 패킷 인캡슐레이터(120)로 입력되는 모바일 서비스 데이터가 TS 패킷 형태라면, 상기 모바일 서비스 데이터를 TS 패킷으로 인캡슐레이션하는 과정없이 해당 PSI/PSIP 테이블 데이터와 다중화하여 트랜스포트 다중화기(130)의 TS 패킷 다중화기(132)로 출력할 수 있다.If the mobile service data input to the encapsulator 120 is a TS packet, the mobile service data is multiplexed with the corresponding PSI / PSIP table data without encapsulating the mobile service data into a TS packet, 130 to the TS packet multiplexer 132 of the base station.

이때 상기 PSI/PSIP 테이블 데이터가 섹션 형태라면 상기 섹션 형태의 PSI/PSIP 테이블 데이터는 TS 패킷으로 인캡슐레이션된 후 TS 패킷 형식의 모바일 서비스 데이터와 TS 패킷 단위로 다중화되어 트랜스포트 다중화기(130)의 TS 패킷 다중화기(132)로 출력된다. If the PSI / PSIP table data is in a section format, the PSI / PSIP table data of the section type is encapsulated into a TS packet, then multiplexed in units of TS packet and mobile service data in TS packet format, To the TS packet multiplexer 132 of FIG.

상기 TS 패킷 인캡슐레이터(120)에서 출력되는 데이터 패킷을 설명의 편의를 위해 모바일 서비스 데이터 패킷이라 하기로 한다.The data packet output from the encapsulator 120 as the TS packet will be referred to as a mobile service data packet for convenience of description.

상기 트랜스포트 다중화기(130)는 메인 서비스 다중화기(131)에서 출력되는 메인 서비스 데이터 패킷과 TS 패킷 인캡슐레이터(120)에서 출력되는 모바일 서비스 데이터 패킷을 다중화하여 19.39 Mbps 데이터 율로 송신기(200)로 전송한다. The transport multiplexer 130 multiplexes the main service data packet output from the main service multiplexer 131 and the mobile service data packet output from the encapsulator 120 as a TS packet and transmits the main service data packet to the transmitter 200 at a data rate of 19.39 Mbps. Lt; / RTI >

상기 제어기(140)는 상기 TS 패킷 인캡슐레이터(120)의 TS 패킷 인캡슐레이션, 메인 서비스 다중화기(131)와 TS 패킷 다중화기(132)의 다중화를 제어한다.The controller 140 controls the encapsulation of the TS packet of the TS packet encapsulator 120 and the multiplexing of the main service multiplexer 131 and the TS packet multiplexer 132.

도 3은 도 2의 TS 패킷 인캡슐레이터(120)에서 TS 패킷으로 인캡슐레이션되는 모바일 서비스 데이터 패킷에 대한 신택스 구조의 일 예를 보인 것이다. FIG. 3 shows an example of a syntax structure for a mobile service data packet encapsulated in a TS packet by the encapsulator 120, which is a TS packet of FIG.

상기 TS 패킷으로 인캡슐레이션된 모바일 서비스 데이터 패킷은 188바이트의 고정된 길이를 가지며, 크게 헤더(header)와 페이로드(payload)로 구성된다. 이때 상기 모바일 서비스 데이터 패킷에 적응 필드(Adaptation Field)가 포함되는지 유무에 따라 상기 페이로드는 0~184 바이트의 가변적인 길이를 가진다. 만일 적응 필드가 포함되지 않았다면 상기 모바일 서비스 데이터 패킷의 페이로드는 184 바이트로 고정된다. 상기 TS 패킷 인캡슐레이터(120)로 입력되는 모바일 서비스 데이터는 TS 패킷으로 인캡슐레이션되는 모바일 서비스 데이터 패킷의 페이로드에 삽입되어 전송된다.The mobile service data packet encapsulated in the TS packet has a fixed length of 188 bytes and is largely composed of a header and a payload. At this time, the payload has a variable length of 0 to 184 bytes depending on whether or not an adaptation field is included in the mobile service data packet. If the adaptation field is not included, the payload of the mobile service data packet is fixed to 184 bytes. The mobile service data input to the encapsulator 120, which is a TS packet, is inserted into a payload of a mobile service data packet encapsulated in a TS packet and transmitted.

도 3에서는 모바일 서비스 데이터 패킷에 Sync_byte 필드, Transport_error_indicator 필드, Payload_unit_start_indicator 필드, Transport_priority 필드, PID 필드, Transport_scrambling_control 필드, Adaptation_field_control 필드, Continuity_counter 필드, Adaptation_field(), 및/또는 Mobile_service_data() 필드를 할당한 예를 보이고 있다.3 shows an example in which a Sync_byte field, a Transport_error_indicator field, a Payload_unit_start_indicator field, a Transport_priority field, a PID field, a Transport_scrambling_control field, an Adaptation_field_control field, a Continuity_counter field, an Adaptation_field (), and / or a Mobile_service_data () field are allocated to a mobile service data packet .

이때 상기 Sync_byte 필드, Transport_error_indicator 필드, Payload_unit_start_indicator 필드, Transport_priority 필드, PID 필드, Adaptation_field_control 필드, Continuity_counter 필드는 4바이트의 헤더에 해당된다.At this time, the Sync_byte field, the Transport_error_indicator field, the Payload_unit_start_indicator field, the Transport_priority field, the PID field, the Adaptation_field_control field, and the Continuity_counter field correspond to a 4-byte header.

그리고 상기 모바일 서비스 데이터 패킷의 페이로드는 적응 필드(Adaptation Field)가 포함되는지 유무에 따라 그 길이가 결정되며, 페이로드에는 Mobile_service_data() 필드가 할당된다. 상기 Mobile_service_data() 필드에는 TS 패킷 인캡슐레이터(120)로 입력되는 Non-TS 패킷 형태의 모바일 서비스 데이터가 할당된다. The payload of the mobile service data packet is determined according to whether or not an adaptation field is included, and a payload field is assigned a Mobile_service_data () field. In the Mobile_service_data () field, non-TS packet type mobile service data input to the encapsulator 120, which is a TS packet, is allocated.

도 3에서, 상기 Sync_byte 필드는 일 실시예로 8비트가 할당되며, 해당 모바일 서비스 데이터 패킷의 동기 바이트를 표시한다. 상기 Sync_byte 필드 값은 일 예로, 0x47이 할당될 수 있다. In FIG. 3, the Sync_byte field is allocated 8 bits in one embodiment, and indicates a synchronization byte of the corresponding mobile service data packet. The Sync_byte field value may be assigned, for example, 0x47.

상기 Transport_error_indicator 필드는 일 실시예로 1비트가 할당되며, 해당 모바일 서비스 데이터 패킷에 에러가 발생하였는지 여부를 표시한다. 본 발명에서는 일 실시예로, 상기 Transport_error_indicator 필드 값을 모바일 서비스 데이터 패킷을 구분하는 식별 정보로 이용할 수 있다. 예를 들어, 모바일 서비스 데이터 패킷의 Transport_error_indicator 필드는 1로 셋팅하도록 서비스 다중화기(100)와 송신기(200) 간에 약속할 수 있다.The Transport_error_indicator field is assigned 1 bit in one embodiment and indicates whether an error has occurred in the corresponding mobile service data packet. In an embodiment of the present invention, the value of the Transport_error_indicator field may be used as identification information for identifying a mobile service data packet. For example, the Transport_error_indicator field of the mobile service data packet may be negotiated between the service multiplexer 100 and the transmitter 200 to set to 1.

상기 payload_unit_start_indicator 필드는 일 실시예로 1비트가 할당되며, 하나의 패킷의 시작을 알려주는데 이용된다. The payload_unit_start_indicator field is allocated 1 bit in one embodiment, and is used to notify the start of one packet.

상기 Transport_priority 필드는 일 실시예로 1비트가 할당되며, TS 전송경로에 같은 PID를 갖는 패킷들이 있을 경우 그 패킷들의 우선순위를 표시한다. 일 실시예로, 상기 Transport_priority 필드 값이 1이면 같은 PID를 갖는 패킷들 중에서 그 패킷이 transport_priority = 0인 패킷에 비해서 우선순위가 높음을 의미한다. The Transport_priority field is assigned 1 bit in one embodiment and indicates the priority of the packets when there are packets having the same PID in the TS transmission path. In one embodiment, if the value of the Transport_priority field is 1, it means that the packet having the same PID has higher priority than the packet having the transport_priority = 0.

상기 PID 필드는 일 실시예로 13비트가 할당되며, 각 패킷을 인식할 수 있는 고유의 값을 표시한다. 본 발명에서는 일 실시예로, 상기 PID 필드 값을 모바일 서비스 데이터 패킷을 구분하는 식별 정보로 이용할 수 있다.The PID field is assigned 13 bits in one embodiment and indicates a unique value for recognizing each packet. In an embodiment of the present invention, the PID field value may be used as identification information for identifying a mobile service data packet.

상기 Transport_scrambling_control 필드는 일 실시예로 2비트가 할당되며, 해당 모바일 서비스 데이터 패킷이 스크램블링(Scrambling) 되었는지 여부를 표시한다.
The Transport_scrambling_control field is assigned 2 bits in one embodiment and indicates whether the corresponding mobile service data packet has been scrambled.

*상기 Adaptation_field_control 필드는 일 실시예로 2비트가 할당되며, 해당 모바일 서비스 데이터 패킷의 페이로드 부분에 적응 필드(Adaptation Field)가 포함되어 있는지 여부를 표시한다. 상기 Adaptation field control 필드는 적응 필드(Adaptation Field)의 포함 여부를 표시한다. 예를 들어, 상기 Adaptation_field_ control 필드 값이 10이거나 11이면 해당 모바일 서비스 데이터 패킷에 적응 필드가 포함되어 있음을 나타낸다. 이때 상기 10이면 해당 모바일 서비스 데이터 패킷에 페이로드 영역이 존재하지 않음을 나타내고, 11이면 적응 필드의 길이에 따라 페이로드 영역의 길이가 달라짐을 나타낸다. 또한 상기 Adaptation_field_control 필드 값이 01이면 해당 모바일 서비스 데이터 패킷에 적응 필드가 포함되지 않음을 나타내고, 00은 사용되지 않는 값이다. The Adaptation_field_control field is allocated with 2 bits in one embodiment and indicates whether an adaptation field is included in the payload portion of the corresponding mobile service data packet. The Adaptation field control field indicates whether or not an Adaptation Field is included. For example, if the value of the Adaptation_field_control field is 10 or 11, it indicates that an adaptation field is included in the mobile service data packet. At this time, if the value is 10, it indicates that no payload area exists in the corresponding mobile service data packet, and if it is 11, the length of the payload area changes according to the length of the adaptation field. Also, if the Adaptation_field_control field value is 01, it indicates that the adaptation field is not included in the corresponding mobile service data packet, and 00 is an unused value.

상기 Continuity_counter 필드는 같은 PID를 갖는 패킷에 사용되며, 패킷 한개당 1씩 증가하지만 상기 adaptation_field_control 필드 값이 00 또는 10인 경우는 증가하지 않는다. 즉, 페이로드가 없는 경우에는 증가하지 않는다. 그리고 상기 adaptation_field_control 필드 값은 최대값인 15에 도달하면 그 다음 0으로 순환된다.The Continuity_counter field is used for a packet having the same PID and is incremented by 1 for each packet but does not increase when the adaptation_field_control field value is 00 or 10. That is, it does not increase when there is no payload. And the value of the adaptation_field_control field is rotated to 0 after the maximum value of 15 is reached.

상기 Continuity_counter 필드 다음에는 adaptation_field_control 필드 값에 따라 Adaptation_field() 필드 및/또는 Mobile_service_data() 필드가 포함된다. The Continuity_counter field is followed by an Adaptation_field () field and / or a Mobile_service_data () field according to an adaptation_field_control field value.

즉, 상기 adaptation_field_control 필드 값이 10이거나 11이면 해당 모바일 서비스 데이터 패킷에 Adaptation_field() 필드가 포함된다. 일 예로, 상기 adaptation_field_control 필드 값이 10이면 해당 모바일 서비스 데이터 패킷에는 페이로드가 할당되지 않으므로 해당 모바일 서비스 데이터 패킷을 통해 전송되는 모바일 서비스 데이터는 없다.That is, if the value of the adaptation_field_control field is 10 or 11, the Adaptation_field () field is included in the corresponding mobile service data packet. For example, if the value of the adaptation_field_control field is 10, no payload is allocated to the corresponding mobile service data packet, and thus no mobile service data is transmitted through the corresponding mobile service data packet.

상기 adaptation_field_control 필드 값이 01이거나 11이면 해당 모바일 서비스 데이터 패킷에 Mobile_service_data() 필드가 포함되고, 상기 Mobile_service_data() 필드를 통해 모바일 서비스 데이터가 전송된다. If the adaptation_field_control field value is 01 or 11, the mobile service data packet includes a Mobile_service_data () field, and the mobile service data is transmitted through the Mobile_service_data () field.

일 예로, 상기 adaptation_field_control 필드 값이 11이면 상기 Adaptation_field() 필드에 삽입되는 데이터 길이에 따라 해당 모바일 서비스 데이터 패킷의 페이로드 크기가 결정된다. 또한 상기 adaptation_field_control 필드 값이 01이면 해당 모바일 서비스 데이터 패킷에 적응 필드가 포함되지 않으므로, 페이로드가 184 바이트로 할당된다. For example, if the value of the adaptation_field_control field is 11, the payload size of the corresponding mobile service data packet is determined according to a data length inserted in the Adaptation_field () field. If the value of the adaptation_field_control field is 01, since the adaptation field is not included in the mobile service data packet, the payload is allocated to 184 bytes.

상기 Mobile_service_data() 필드는 일 실시예로 8비트가 할당되며, 상기 Mobile_service_data() 필드를 반복하는 값인 N1은 해당 모바일 서비스 데이터 패킷의 바이트 단위의 페이로드 길이(=188-4바이트의 헤더 길이-적응 필드의 길이)를 의미한다. 상기 Mobile_service_data() 필드는 N1만큼 반복 수행되어 모바일 서비스 데이터를 전송하게 된다. 상기 모바일 서비스 데이터는 전송 파라미터를 포함할 수도 있다. 즉, 상기 Mobile_service_data() 필드에 모바일 서비스 데이터뿐만 아니라, 송신기(200) 및/또는 수신 시스템에 전달할 부가 정보인 전송 파라미터를 삽입하여 전송할 수도 있다. The Mobile_service_data () field is allocated 8 bits in one embodiment, and N1, which is a value repeating the Mobile_service_data () field, is a payload length in bytes of the corresponding mobile service data packet (= Field length). The Mobile_service_data () field is repeatedly performed by N1 to transmit the mobile service data. The mobile service data may include transmission parameters. That is, not only the mobile service data but also a transmission parameter, which is additional information to be transmitted to the transmitter 200 and / or the receiving system, may be inserted and transmitted in the Mobile_service_data () field.

상기 도 3에서 모바일 서비스 데이터 패킷에 할당되는 필드의 순서, 위치, 의미는 본 발명의 이해를 돕기 위한 일 실시예일 뿐이며, 상기 모바일 서비스 데이터 패킷에 할당되는 필드의 순서, 위치, 의미, 추가 할당되는 필드의 수는 당업자에 의해 용이하게 변경될 수 있으므로 본 발명은 상기 실시예로 한정되지 않을 것이다. In FIG. 3, the order, location, and meaning of the fields allocated to the mobile service data packet are merely examples for facilitating understanding of the present invention, and the order, location, meaning of fields allocated to the mobile service data packet, The number of fields can be easily changed by a person skilled in the art, so the present invention is not limited to the above embodiment.

도 4는 도 3의 Mobile_service_data() 필드에 대한 신택스 구조의 일 예를 보인 것으로서, Mobile_service_data_length 필드, Tx_parameter() 필드 및/또는 Mobile_service_data_payloads 필드를 포함할 수 있다.FIG. 4 shows an example of a syntax structure for the Mobile_service_data () field of FIG. 3, and may include a Mobile_service_data_length field, a Tx_parameter () field, and / or a Mobile_service_data_payloads field.

상기 Mobile_service_data_length 필드는 일 실시예로 8비트가 할당되며, 상기 Mobile_service_data() 필드의 전체 길이를 표시한다. 여기서 상기 Mobile_service_data_length 필드에 표시되는 값은 해당 모바일 서비스 데이터 패킷의 페이로드 길이보다 작거나 같다. 예를 들어, 상기 Mobile_service_data_length 필드 값이 해당 모바일 서비스 데이터 패킷의 페이로드 길이 값보다 작으면, 페이로드의 나머지 부족한 부분을 널 데이터(스터핑 바이트(Stuffing byte) 또는 더미(dummy) 데이터라 하기도 함)로 채울 수 있다. The Mobile_service_data_length field is allocated 8 bits in one embodiment and indicates the total length of the Mobile_service_data () field. Here, the value indicated in the Mobile_service_data_length field is less than or equal to the payload length of the mobile service data packet. For example, if the value of the Mobile_service_data_length field is smaller than the payload length value of the corresponding mobile service data packet, the remaining shortage of the payload is referred to as null data (also referred to as a stuffing byte or dummy data) Can be filled.

그리고 상기 Tx_parameter() 필드를 통해 송신기 및/또는 수신 시스템에서 모바일 서비스 데이터를 처리하는데 필요한 전송 파라미터를 전송할 수 있다.And transmit the transmission parameters necessary for processing the mobile service data in the transmitter and / or receiver system via the Tx_parameter () field.

상기 Tx_parameter() 필드 다음에는 상기 Tx_parameter() 필드의 길이에 따라 Mobile_service_data_payloads 필드가 포함될 수 있다. Following the Tx_parameter () field, a Mobile_service_data_payloads field may be included according to the length of the Tx_parameter () field.

상기 Mobile_service_data_payloads 필드는 일 실시예로 8비트가 할당되며, 상기 Mobile_service_data_payloads 필드를 반복하는 값인 N2는 상기 Mobile_service_data() 필드의 전체 길이(=Mobile_service_data_length 필드 값)에서 상기 Tx_parameter() 필드의 길이를 뺀 값으로 결정된다. 상기 Mobile_service_data_payloads 필드가 N2만큼 반복 수행되어 순수한 모바일 서비스 데이터를 전송하게 된다.8 bits are allocated to the Mobile_service_data_payloads field, and N2, which is a value repeating the Mobile_service_data_payloads field, is determined as a value obtained by subtracting the length of the Tx_parameter () field from the total length (= Mobile_service_data_length field value) of the Mobile_service_data do. The Mobile_service_data_payloads field is repeated by N2 to transmit pure mobile service data.

상기 Tx_parameter() 필드로 전송되는 전송 파라미터는 송신기 및/또는 수신 시스템에서 모바일 서비스 데이터를 처리하는데 필요한 부가 정보들이다. 상기 전송 파라미터에는 예를 들면 상기 전송 파라미터에는 모바일 서비스 식별 정보, 데이터 그룹 정보, 데이터 그룹 내 영역(region) 정보, RS 프레임 정보, 수퍼 프레임 정보, 버스트 정보, 터보 코드 정보, RS 코드 정보 등이 포함될 수 있다. 또한 상기 버스트 정보에는 버스트 사이즈(size) 정보, 버스트 주기 정보, 다음 버스트까지의 시간 등이 포함될 수 있다. 상기 버스트 주기(period)는 동일한 종류의 모바일 서비스를 전송하는 버스트가 반복되는 주기(period)를 의미하고, 버스트 사이즈(size)는 하나의 버스트에 포함되는 데이터 그룹의 개수를 의미한다. 상기 데이터 그룹은 다수개의 모바일 서비스 데이터 패킷들을 포함하며, 이러한 데이터 그룹이 다수개 모여서 하나의 버스트를 형성한다. 그리고 버스트 구간(section)은 현재 버스트의 시작에서 다음 버스트의 시작까지를 의미하며, 데이터 그룹이 포함되는 구간(또는 버스트 온 구간이라 하기도 함)과 데이터 그룹이 포함되지 않는 구간(또는 버스트 오프 구간이라 하기도 함)으로 구분된다. 하나의 버스트 온 구간은 다수개의 필드들로 구성되는데, 하나의 필드는 하나의 데이터 그룹을 포함할 수 있다.
The transmission parameters sent to the Tx_parameter () field are additional information needed to process the mobile service data in the transmitter and / or receiver system. For example, the transmission parameters include mobile service identification information, data group information, region information within a data group, RS frame information, super frame information, burst information, turbo code information, and RS code information, . In addition, the burst information may include burst size information, burst period information, time until the next burst, and the like. The burst period refers to a period in which a burst for transmitting a mobile service of the same type is repeated and a burst size refers to the number of data groups included in one burst. The data group includes a plurality of mobile service data packets, and a plurality of such data groups are gathered to form one burst. A burst section means the period from the start of the current burst to the start of the next burst. The burst section (or burst-on section) in which the data group is included and the section in which the data group is not included ). One burst-on period is composed of a plurality of fields, and one field may include one data group.

*또한 상기 전송 파라미터에는 모바일 서비스 데이터를 전송하기 위해서 심볼 영역의 신호들이 어떤 방법으로 부호화되는지에 대한 정보, 메인 서비스 데이터와 모바일 서비스 데이터 또는 여러 종류의 모바일 서비스 데이터 간에 어떻게 다중화되는지에 대한 다중화 정보 등이 포함될 수도 있다.The transmission parameters include information on how signals in the symbol area are encoded in order to transmit the mobile service data, multiplex information on how the main service data is multiplexed with the mobile service data or various kinds of mobile service data May be included.

상기 전송 파라미터에 포함되는 정보들은 본 발명의 이해를 돕기 위한 일 실시예일 뿐이며, 상기 전송 파라미터에 포함되는 정보들의 추가 및 삭제는 당업자에 의해 용이하게 변경될 수 있으므로 본 발명은 상기 실시예로 한정되지 않을 것이다. The information included in the transmission parameter is merely an example for facilitating understanding of the present invention. Addition and deletion of information included in the transmission parameter can be easily changed by those skilled in the art. Therefore, the present invention is not limited to the above embodiment I will not.

도 5는 도 4의 Tx_parameter() 필드에 대한 신택스 구조의 일 예를 보인 것으로서, tx_parameter_length 필드, service_id 필드, super_frame_size 필드, burst_size 필드, burst_period 필드, RS_code_mode 필드, 및 turbo_code_mode 필드를 할당한 예를 보이고 있다. 또한 상기 Tx_parameter() 필드는 Additional_parameter() 필드를 더 포함할 수 있다.FIG. 5 shows an example of a syntax structure for the Tx_parameter () field of FIG. 4, and shows an example in which a tx_parameter_length field, a service_id field, a super_frame_size field, a burst_size field, a burst_period field, an RS_code_mode field, and a turbo_code_mode field are allocated. The Tx_parameter () field may further include an Additional_parameter () field.

상기 tx_parameter_length 필드는 일 실시예로 8비트가 할당되며, 해당 Tx_parameter( ) 필드의 전체 길이를 표시한다. The tx_parameter_length field is allocated 8 bits in one embodiment and indicates the total length of the corresponding Tx_parameter () field.

상기 service_id 필드는 일 실시예로 4비트가 할당되며, 각 모바일 서비스를 유일하게 구분할 수 있는 모바일 서비스 식별자, 즉 모바일 서비스 ID(identification)를 표시한다. The service_id field is assigned 4 bits in one embodiment and indicates a mobile service identifier, i.e., a mobile service ID, which can uniquely identify each mobile service.

상기 super_frame_size 필드는 일 실시예로 4비트가 할당되며, 수퍼 프레임의 사이즈를 표시한다. 즉, 상기 송신기(200)에서는 RS 프레임을 구성하여 에러 정정 부호화를 수행하고, 에러 정정 부호화된 RS 프레임을 다수개 모아 수퍼 프레임을 구성할 수 있다. 그리고 상기 수퍼 프레임 단위로 로우 섞음(permutation or interleaving)을 수행할 수 있다. 이 경우 상기 super_frame_size 필드는 하나의 수퍼 프레임을 구성하는 RS 프레임의 개수를 표시한다. 또한 상기 super_frame_size 필드는 송신기(200)에서 해당 모바일 서비스 데이터가 수신 시스템으로 전송되어질 때 함께 전송되는 전송 파라미터 중 하나이다. 상기 Super_frame_size 필드 다음에는 2비트의 미사용(reserved) 비트가 할당될 수 있다.The super_frame_size field is allocated 4 bits in one embodiment, and indicates the size of the superframe. That is, the transmitter 200 constructs an RS frame to perform error correction coding, and constructs a super frame by combining a plurality of error correction-coded RS frames. And perform permutation or interleaving on the super frame basis. In this case, the super_frame_size field indicates the number of RS frames constituting one super frame. The super_frame_size field is one of transmission parameters that are transmitted together when the corresponding mobile service data is transmitted from the transmitter 200 to the receiving system. The Super_frame_size field may be followed by a 2-bit reserved bit.

상기 burst_size 필드는 일 실시예로 6비트가 할당되며, 버스트의 사이즈를 표시한다. 즉, 상기 burst_size 필드는 상기 송신기(200)에서 모바일 서비스 데이터를 버스트 구조로 전송할 때 하나의 버스트를 구성하는 데이터 그룹의 개수를 표시한다. 상기 burst_size 필드도 마찬가지로, 송신기(200)에서 해당 모바일 서비스 데이터가 수신 시스템으로 전송되어질 때 함께 전송되는 전송 파라미터 중 하나이다. The burst_size field is allocated 6 bits in one embodiment and indicates the size of the burst. That is, the burst_size field indicates the number of data groups constituting one burst when the transmitter 200 transmits the mobile service data to the burst structure. The burst_size field is also one of the transmission parameters that are transmitted together when the corresponding mobile service data is transmitted from the transmitter 200 to the receiving system.

상기 burst_period 필드는 일 실시예로 8비트가 할당되며, 버스트의 주기를 표시한다. 즉, 상기 burst_period 필드는 상기 송신기(200)에서 모바일 서비스 데이터를 버스트 구조로 전송할 때 동일한 종류의 모바일 서비스를 전송하는 버스트가 반복되는 주기(period)로서, 데이터 필드의 개수를 표시한다. 상기 burst_period 필드도 마찬가지로, 송신기(200)에서 해당 모바일 서비스 데이터가 수신 시스템으로 전송되어질 때 함께 전송되는 전송 파라미터 중 하나이다. 상기 burst_period 필드 다음에는 1비트의 미사용(reserved) 비트가 할당될 수 있다.The burst_period field is allocated 8 bits in one embodiment, and indicates a period of a burst. That is, the burst_period field is a period in which bursts for transmitting the mobile service of the same type are repeated in the transmitter 200 when the transmitter 200 transmits the mobile service data to the burst structure. The burst_period field indicates the number of data fields. The burst_period field is also one of the transmission parameters that are transmitted together when the corresponding mobile service data is transmitted from the transmitter 200 to the receiving system. A 1-bit reserved bit may be allocated after the burst_period field.

상기 RS_code_mode 필드는 일 실시예로 4비트가 할당되며, 데이터 그룹 내 각 영역에 적용되는 RS 코드 모드를 표시한다. 일 예로, 복수개의 모바일 서비스 데이터 패킷이 모여서 데이터 그룹이 형성되고, 복수개의 데이터 그룹을 모여서 하나의 버스트를 형성한다. 이때 하나의 데이터 그룹은 도 12a, 도 12b에서와 같이 복수개의 영역 예를 들어, A,B,C 영역으로 구분된다. 상기 데이터 그룹의 영역 구분 및 각 영역에 대한 설명은 뒤에서 송신기(200)를 설명할 때 도 12a, 도 12b를 참조하여 상세하게 할 것이다.The RS_code_mode field is an RS code mode to which 4 bits are allocated and is applied to each region in the data group. For example, a plurality of mobile service data packets are gathered to form a data group, and a plurality of data groups are gathered to form one burst. At this time, one data group is divided into a plurality of areas, for example, areas A, B, and C as shown in FIGS. 12A and 12B. The area classification of the data group and the description of each area will be described later in detail with reference to FIGS. 12A and 12B when describing the transmitter 200. FIG.

하나의 데이터 그룹이 도 12a, 도 12b와 같이 A,B,C 영역으로 구분될 때, 도 6은 A/B 영역에 적용되는 RS 코드 모드의 일 예를 보이고 있고, 도 7은 C 영역에 적용되는 RS 코드 모드의 일 예를 보이고 있다. 예를 들어, 상기 RS_code_mode 필드 값이 1110이면, 송신기(200)에서는 A/B 영역에 할당될 RS 프레임에 대해서는 (235,187)-RS 부호화를 수행하여 48개의 패리티를 생성하고, C 영역에 할당될 RS 프레임에 대해서는 (223,187)-RS 부호화를 수행하여 36개의 패리티를 생성한다. When one data group is divided into A, B and C regions as shown in FIGS. 12A and 12B, FIG. 6 shows an example of an RS code mode applied to the A / B region, and FIG. An example of the RS code mode is shown. For example, if the value of the RS_code_mode field is 1110, the transmitter 200 performs (235, 187) -RS coding on the RS frame to be allocated to the A / B area to generate 48 parities, (223, 187) -RS coding is performed on the frame to generate 36 parities.

상기 Turbo_code_mode 필드는 일 실시예로 3비트가 할당되며, 데이터 그룹 내 각 영역에 적용되는 터보 코드의 모드를 표시한다. 도 8은 데이터 그룹 내 A/B 영역 및 C 영역에 적용되는 터보 코드 모드의 일 예를 보인 표이다. 예를 들어, 상기 Turbo_code_mode 필드 값이 001이면, 송신기(200)에서는 A/B 영역에 할당될 모바일 서비스 데이터는 1/2 부호율로 부호화하고, C 영역에 할당될 모바일 서비스 데이터는 1/4 부호율로 부호화한다. The Turbo_code_mode field is assigned 3 bits in one embodiment, and indicates a mode of a turbo code applied to each region in the data group. 8 is a table showing an example of the turbo code mode applied to the A / B area and the C area in the data group. For example, if the value of the Turbo_code_mode field is 001, the transmitter 200 encodes the mobile service data to be allocated to the A / B area at a 1/2 coding rate, and the mobile service data to be allocated to the C area is 1/4 .

상기 Additional_parameter() 필드는 미래에 사용하기 위한 예비 필드이며, 일 실시예로 8비트가 할당된다. 상기 Additional_parameter() 필드는 tx_parameter_length 필드 값에서 5바이트를 뺀 값만큼 반복 수행된다. 이는 도 5에서 tx_parameter_length 필드부터 Turbo_code_mode 필드까지 5바이트가 할당되어 있기 때문이다. 일 예로, 상기 Additional_parameter() 필드는 널 데이터로 채울 수 있다. The Additional_parameter () field is a reserved field for future use, and in one embodiment, 8 bits are allocated. The Additional_parameter () field is repeatedly executed by a value obtained by subtracting 5 bytes from the tx_parameter_length field value. This is because 5 bytes are allocated from the tx_parameter_length field to the Turbo_code_mode field in FIG. As an example, the Additional_parameter () field may be filled with null data.

이와 같이 서비스 다중화기(100)에서는 Non-TS 패킷 형태의 모바일 서비스 데이터를 TS 패킷 형태의 모바일 서비스 데이터로 인캡슐레이션하면서, 해당 모바일 서비스 데이터 패킷에 모바일 서비스 데이터 및/또는 전송 파라미터를 삽입하여 송신기(200)로 전송한다. 그러면 상기 송신기(200)에서는 전송 파라미터를 이용하여 모바일 서비스 데이터를 처리할 수 있게 된다.In this way, the service multiplexer 100 encapsulates the non-TS packet type mobile service data into the TS packet type mobile service data, inserts the mobile service data and / or the transmission parameter into the corresponding mobile service data packet, (200). Then, the transmitter 200 can process the mobile service data using transmission parameters.

상기 도 5에서 Tx_parameter() 필드에 할당되는 필드의 순서, 위치, 의미는 본 발명의 이해를 돕기 위한 일 실시예일 뿐이며, 상기 Tx_parameter() 필드에 할당되는 필드의 순서, 위치, 의미, 추가 할당되는 필드의 수는 당업자에 의해 용이하게 변경될 수 있으므로 본 발명은 상기 실시예로 한정되지 않을 것이다. The order, position, and meaning of fields allocated to the Tx_parameter () field in FIG. 5 are merely examples for facilitating understanding of the present invention, and the order, position, and meaning of fields allocated to the Tx_parameter The number of fields can be easily changed by a person skilled in the art, so the present invention is not limited to the above embodiment.

한편 상기 트랜스포트 다중화기(130)는 기존 디지털 방송 시스템에서 사용하는 트랜스포트 다중화기를 그대로 사용할 수 있다. 즉, 상기 메인 서비스 다중화기(131)에서 출력되는 메인 서비스의 데이터 율을 (19.39-K) Mbps의 데이터 율로 제한하고, 나머지 데이터 율에 해당하는 K Mbps를 TS 패킷 인캡슐레이터(120)에서 출력되는 모바일 서비스 데이터 패킷에 할당하는 것이다. 이렇게 하면, 이미 사용되고 있는 트랜스포트 다중화기를 변경하지 않고 그대로 사용할 수 있다. Meanwhile, the transport multiplexer 130 may use the transport multiplexer used in the existing digital broadcasting system as it is. That is, the data rate of the main service output from the main service multiplexer 131 is limited to a data rate of (19.39-K) Mbps, and the K Mbps corresponding to the remaining data rate is output from the TS packet encapsulator 120 To the mobile service data packet. By doing so, the already used transport multiplexer can be used without modification.

상기 트랜스포트 다중화기(130)는 메인 서비스 다중화기(131)에서 출력되는 메인 서비스 데이터 패킷과 TS 패킷 인캡슐레이터(120)에서 출력되는 모바일 서비스 데이터 패킷을 다중화하여 송신기(200)로 전송한다. The transport multiplexer 130 multiplexes the main service data packet output from the main service multiplexer 131 and the mobile service data packet output from the encapsulator 120, which is a TS packet, and transmits the multiplexed data to the transmitter 200.

상기 TS 패킷 인캡슐레이터(120)의 출력 데이터 율을 K Mbps로 할당할 때, 상기 TS 패킷 인캡슐레이터(120)로 입력되는 모바일 서비스 데이터의 데이터 율 L Mbps는 K Mbps의 1/2 이하가 된다. 이는 송신기의 전 처리기(pre-processor)에서 상기 모바일 서비스 데이터에 대해 추가의 부호화를 수행하여 데이터 량을 늘리기 때문이다. 이로 인해 TS 패킷 인캡슐레이터(120)로 입력될 수 있는 모바일 서비스 데이터의 데이터 율(data rate)이 작아지게 된다.When the output data rate of the TS packet encapsulator 120 is allocated to K Mbps, the data rate L Mbps of the mobile service data input to the TS packet encapsulator 120 is equal to or less than 1/2 K Mbps do. This is because a pre-processor of the transmitter performs additional encoding on the mobile service data to increase the amount of data. As a result, the data rate of the mobile service data that can be input to the encapsulator 120, which is a TS packet, becomes small.

일 예로, 상기 송신기의 전처리기에서는 모바일 서비스 데이터에 대해 RS 프레임 부호화 및 적어도 1/2 부호율의 부호화를 수행하여 모바일 서비스 데이터 량을 늘린다. 이러한 이유 때문에, 상기 TS 패킷 인캡슐레이터(120)로 입력되는 모바일 서비스 데이터에 대해서만 TS 패킷으로 인캡슐레이션하게 되면, 상기 TS 패킷 인캡슐레이터(120)의 출력 데이터 율은 K Mbps보다 작게 된다. For example, the preprocessor of the transmitter increases the amount of mobile service data by performing RS frame coding and coding with at least a 1/2 coding rate on the mobile service data. For this reason, when TS packets are encapsulated only in the mobile service data input to the TS encapsulator 120, the output data rate of the TS packet encapsulator 120 becomes smaller than K Mbps.

본 발명에서는 상기 TS 패킷 인캡슐레이터(120)의 출력 데이터 율을 K Mbps로 맞추기 위해 전술한 바와 같이 모바일 서비스 데이터 패킷에 모바일 서비스 데이터를 삽입할 때 전송 파라미터를 삽입할 수 있다. In the present invention, in order to set the output data rate of the TS packet encapsulator 120 to K Mbps, the transmission parameter may be inserted when the mobile service data is inserted into the mobile service data packet as described above.

하지만, 모바일 서비스 데이터 패킷에 전송 파라미터를 삽입하여도 TS 패킷 인캡슐레이터(120)의 출력 데이터 율이 K Mbps가 안되는 경우가 발생할 수 있다. However, even if the transmission parameter is inserted into the mobile service data packet, the output data rate of the TS packet encapsulator 120 may be lower than K Mbps.

이때 상기 TS 패킷 인캡슐레이터(120)는 적어도 하나의 방법을 이용하여 출력 데이터 율을 K Mbps로 맞출 수 있다.At this time, the TS packet encapsulator 120 can adjust the output data rate to K Mbps using at least one method.

일 실시예로, 모바일 서비스 데이터 패킷을 구성할 때, 특정 모바일 서비스 데이터 패킷에 대해서는 전송 파라미터만 삽입하고, 모바일 서비스 데이터는 삽입하지 않도록 구성할 수 있다. 이 경우 상기 모바일 서비스 데이터 패킷 내 모바일 서비스 데이터가 삽입될 영역에는 널 데이터를 삽입할 수 있다. In one embodiment, when configuring a mobile service data packet, it may be configured to insert only transmission parameters for a particular mobile service data packet and not insert mobile service data. In this case, null data may be inserted into a region where mobile service data is to be inserted in the mobile service data packet.

다른 실시예로, 상기 모바일 서비스 데이터 패킷에 모바일 서비스 데이터뿐만 아니라 전송 파라미터도 삽입되지 않도록 구성할 수 있다. 이 경우 상기 모바일 서비스 데이터 패킷 내 전송 파라미터가 삽입될 영역과 모바일 서비스 데이터가 삽입될 영역에는 널 데이터를 삽입할 수 있다. 또는 해당 모바일 서비스 데이터 패킷에서 tx_parameter_length 필드 값을 0으로 할당하여, 해당 모바일 서비스 데이터 패킷에 전송 파라미터를 위한 영역을 할당하지 않을 수도 있다. In another embodiment, the mobile service data packet may be configured not to include mobile service data as well as transmission parameters. In this case, null data may be inserted into the area where the transmission parameter in the mobile service data packet is inserted and the area where the mobile service data is inserted. Alternatively, the value of the tx_parameter_length field may be set to 0 in the corresponding mobile service data packet, so that the mobile service data packet may not be allocated an area for the transmission parameter.

상기 전송 파라미터와 모바일 서비스 데이터를 삽입하지 않는 모바일 서비스 데이터 패킷을 설명의 편의를 위해 널 데이터 패킷이라 하기도 한다. 이때 상기 모바일 서비스 데이터 패킷과 널 데이터 패킷을 구분할 수 있는 식별 정보를 해당 패킷에 포함하여 전송할 수도 있다. The transmission parameter and the mobile service data packet not inserting the mobile service data may be referred to as a null data packet for convenience of explanation. At this time, identification information for distinguishing the mobile service data packet and the null data packet may be included in the corresponding packet and transmitted.

또 다른 실시예로, 모바일 서비스 데이터 패킷 내 전송 파라미터가 삽입될 영역에 널 데이터를 삽입하여 출력함에 의해 상기 TS 패킷 인캡슐레이터(120)의 출력 데이터 율을 K Mbps로 맞출 수 있다. 그리고 상기 전송 파라미터 영역에 널 데이터가 삽입된 모바일 서비스 데이터 패킷을 구분하기 위한 식별 정보를 해당 패킷에 포함하여 전송할 수도 있다. 일 예로, 도 5와 같은 Tx_parameter() 필드 구조에서, tx_parameter_length 필드에 Tx_parameter() 필드 길이를 표시하고, service_id 필드에 전송 파라미터 영역에 널 데이터가 삽입된 모바일 서비스 데이터 패킷임을 식별할 수 있는 식별 정보를 표시할 수 있다. 이 경우 상기 service_id 필드 이후의 전송 파라미터 영역은 널 데이터로 채워진다. 즉, 상기 service_id 필드는 해당 모바일 서비스 데이터 패킷으로 전송되는 모바일 서비스 데이터의 종류를 구분할 수 있는 식별자로 이용할 수도 있고, 전송 파라미터 영역에 널 데이터가 삽입된 모바일 서비스 데이터 패킷을 구분할 수 있는 식별자로 이용할 수도 있다. 상기 전송 파라미터 영역에 널 데이터가 삽입된 모바일 서비스 데이터 패킷을 구분하기 위한 식별 정보는 상기된 실시예로 한정되지 않을 것이다. In another embodiment, the output data rate of the TS packet encapsulator 120 may be set to K Mbps by inserting null data into an area to be inserted with a transmission parameter in the mobile service data packet. In addition, identification information for identifying a mobile service data packet in which null data is inserted in the transmission parameter area may be included in the packet and transmitted. For example, in the Tx_parameter () field structure shown in FIG. 5, the Tx_parameter () field length is displayed in the tx_parameter_length field, and the service_id field includes identification information for identifying the mobile service data packet in which null data is inserted in the transmission parameter area Can be displayed. In this case, the transmission parameter area after the service_id field is filled with null data. That is, the service_id field may be used as an identifier for identifying the type of mobile service data transmitted in the corresponding mobile service data packet, or may be used as an identifier for identifying a mobile service data packet in which null data is inserted in the transmission parameter area have. The identification information for identifying the mobile service data packet in which the null data is inserted in the transmission parameter area is not limited to the above embodiment.

또 다른 실시예로, OM(Operations and Maintenance) 패킷(또는 OMP라 하기도 함.)의 페이로드에 널 데이터를 삽입하여 상기 TS 패킷 인캡슐레이터(120)의 출력 데이터 율을 K Mbps로 맞출 수 있다. In another embodiment, null data may be inserted into a payload of an Operations and Maintenance (OM) packet (or an OMP) to set the output data rate of the TS packet encapsulator 120 to K Mbps .

즉, 전송 시스템의 동작 및 관리를 위한 목적으로 OMP(Operations and Maintenance Packet) 라는 패킷이 정의되어 있다. 일 예로, 상기 OMP는 MPEG-2 TS 패킷의 형식을 따르며 해당 PID는 0x1FFA의 값을 가진다. 상기 OMP은 4바이트의 헤더와 184바이트의 페이로드로 구성된다. 상기 184 바이트 중 첫번째 바이트는 OM_type 필드로서 OM 패킷의 타입을 표시하고, 나머지 183 바이트는 OM_payload 필드로서 실제 데이터가 삽입된다. That is, a packet called an Operations and Maintenance Packet (OMP) is defined for the purpose of operation and management of the transmission system. For example, the OMP conforms to the format of the MPEG-2 TS packet and the corresponding PID has a value of 0x1FFA. The OMP consists of a header of 4 bytes and a payload of 184 bytes. The first byte of the 184 bytes indicates the type of the OM packet as the OM_type field, and the remaining 183 bytes are the actual data as the OM_payload field.

본 발명에서는 상기 OM_type 필드의 미사용 필드 값들 중에서 미리 약속된 값을 사용하여, 해당 OM 패킷이 데이터 율을 맞추기 위해 삽입된 패킷임을 구분할 수 있게 한다. 이 경우 상기 OM 패킷 내 OM_payload 필드를 널 데이터로 채울 수 있다. 그러면, 송신기(200)에서는 PID를 보고 OMP를 찾을 수 있으며, 상기 OMP 내 OM_type 필드를 파싱하여 해당 패킷의 OM_payload 필드에 널 데이터가 삽입되었는지 여부를 알 수 있다. 즉, 상기 송신기(200)에서는 OM 패킷이 입력되면, 입력된 OM 패킷이 데이터 율을 맞추기 위해 전송된 패킷인지를 알 수 있게 된다. According to the present invention, it is possible to distinguish the OM packet inserted to match the data rate by using a predetermined value among the unused field values of the OM_type field. In this case, the OM_payload field in the OM packet can be filled with null data. Then, the transmitter 200 can find the OMP by looking at the PID. The OM_type field in the OMP can be parsed to know whether null data is inserted in the OM_payload field of the corresponding packet. That is, when the OM packet is input in the transmitter 200, it is possible to know whether the input OM packet is a packet transmitted to match the data rate.

한편 상기 송신기(200)에서 메인 서비스 데이터 패킷과 모바일 서비스 데이터 패킷을 구분하여 처리하기 위해서는 식별 정보가 필요하다. 상기 식별 정보는 송/수신측의 약속에 의해 미리 정해진 값을 이용할 수도 있고, 별도의 데이터로 구성할 수도 있으며, 해당 데이터 패킷 내 기 설정된 위치의 값을 변형시켜 이용할 수도 있다.Meanwhile, identification information is necessary for the transmitter 200 to distinguish and process the main service data packet and the mobile service data packet. The identification information may be a predetermined value in accordance with the promise of the transmitting / receiving side, may be composed of separate data, or may be used by modifying a value of a predetermined position in the data packet.

일 실시예로, 메인 서비스 데이터 패킷과 모바일 서비스 데이터 패킷에 각기 서로 다른 PID(Packet Identifier)를 할당하여 메인 서비스 데이터 패킷과 모바일 서비스 데이터 패킷을 구분할 수 있다. In an embodiment, a different PID (Packet Identifier) may be assigned to the main service data packet and the mobile service data packet to distinguish the main service data packet from the mobile service data packet.

다른 실시예로, 모바일 서비스 데이터 패킷의 헤더 내 동기 바이트를 변형함에 의해, 메인 서비스 데이터 패킷과 모바일 서비스 데이터 패킷을 구분할 수 있다. 예를 들어, 메인 서비스 데이터 패킷의 동기 바이트는 ISO/IEC13818-1에서 규정한 값(예를 들어, 0x47)을 변형없이 그대로 출력하고, 모바일 서비스 데이터 패킷의 동기 바이트는 변형시켜 출력함에 의해 메인 서비스 데이터 패킷과 모바일 서비스 데이터 패킷을 구분할 수 있다. 반대로 메인 서비스 데이터 패킷의 동기 바이트를 변형하고, 모바일 서비스 데이터 패킷의 동기 바이트를 변형없이 그대로 출력함에 의해 메인 서비스 데이터 패킷과 모바일 서비스 데이터 패킷을 구분할 수 있다. 상기 동기 바이트를 변형하는 방법은 여러 가지가 있을 수 있다. 예를 들어, 동기 바이트를 비트별로 반전시키거나, 일부 비트만을 반전시킬 수도 있다. In another embodiment, the main service data packet and the mobile service data packet can be distinguished by modifying the synchronization byte in the header of the mobile service data packet. For example, the synchronous byte of the main service data packet is output without modification as it is defined in ISO / IEC13818-1 (for example, 0x47), and the synchronous byte of the mobile service data packet is transformed and output, It is possible to distinguish between the data packet and the mobile service data packet. Conversely, the main service data packet and the mobile service data packet can be distinguished by modifying the synchronization byte of the main service data packet and outputting the synchronization byte of the mobile service data packet without modification. There are various methods for modifying the sync byte. For example, the synchronization byte may be inverted bit by bit, or only some bits may be inverted.

또 다른 실시예로, 데이터 패킷의 헤더 내 transport_error_indicator 플래그(flag)를 식별 정보로 이용하여 메인 서비스 데이터 패킷과 모바일 서비스 데이터 패킷을 구분할 수 있다. 일 예로, 모바일 서비스 데이터 패킷의 transport_error_indicator 플래그는 1로 셋팅하고, 상기 모바일 서비스 데이터 패킷 이외의 모든 데이터 패킷들의 transport_error_indicator 플래그는 0으로 리셋시킴에 의해 상기 모바일 서비스 데이터 패킷을 구분할 수 있다. In another embodiment, the transport_error_indicator flag in the header of the data packet may be used as identification information to distinguish the main service data packet from the mobile service data packet. As an example, the transport_error_indicator flag of the mobile service data packet may be set to 1, and the transport_error_indicator flag of all data packets other than the mobile service data packet may be reset to zero to distinguish the mobile service data packet.

이와 같이 메인 서비스 데이터 패킷과 모바일 서비스 데이터 패킷을 구분할 수 있는 식별 정보는 어느 것이나 가능하므로, 본 발명은 상기된 실시예들로 한정되지 않을 것이다.As described above, any of the identification information that can distinguish the main service data packet and the mobile service data packet is possible, and thus the present invention is not limited to the above-described embodiments.

한편, 상기 TS 패킷 인캡슐레이터(120)에서는 Non-TS 패킷 형태로 입력되는 모바일 서비스 데이터를 OM 패킷 내 OM_payload 필드에 삽입하여 송신기(200)로 전송할 수도 있다. Meanwhile, in the TS packet encapsulator 120, the mobile service data input in the non-TS packet format may be inserted into the OM_payload field in the OM packet and transmitted to the transmitter 200.

도 9는 본 발명에 따른 OM 패킷의 신택스 구조를 보인 것으로서, 특히 4 바이트의 패킷 헤더를 제외한 184 바이트의 신택스 구성을 보여준다. 도 9에서는 OM_type 필드 다음에 도 4의 Mobile_service_data 필드가 삽입되어 모바일 서비스 데이터를 전송하는 예를 보이고 있다. FIG. 9 shows a syntax structure of an OM packet according to the present invention. In particular, FIG. 9 shows a syntax structure of 184 bytes excluding a 4-byte packet header. In FIG. 9, the Mobile_service_data field of FIG. 4 is inserted after the OM_type field to transmit mobile service data.

이때 상기 OM 패킷이 모바일 서비스 데이터가 삽입되어 전송되는 패킷임을 구분하기 위한 식별 정보가 필요하며, 일 실시예 해당 OM 패킷의 OM_type 필드를 식별자로 이용할 수 있다.At this time, the OM packet needs identification information for identifying that the mobile service data is inserted and transmitted, and an OM_type field of the corresponding OM packet may be used as an identifier.

본 발명에서는 상기 OM_type 필드의 미사용 필드 값들 중에서 미리 약속된 값을 사용하여, 해당 OM 패킷이 모바일 서비스 데이터를 전송하는 패킷임을 구분할 수 있게 한다. 그러면, 송신기(200)에서는 PID를 보고 OMP를 찾을 수 있으며, 상기 OMP 내 OM_type 필드를 파싱하여 해당 패킷에 모바일 서비스 데이터가 삽입되었는지 여부를 알 수 있다. In the present invention, it is possible to distinguish the OM packet from the unused field values of the OM_type field as a packet for transmitting mobile service data. Then, the transmitter 200 can find the OMP by looking at the PID, and can know whether or not the mobile service data is inserted in the corresponding packet by parsing the OM_type field in the OMP.

즉, OM 패킷 내 OM_payload 필드에 도 4와 같은 Mobile_service_data() 신택스 구조를 갖는 모바일 서비스 데이터를 포함시키고, 모바일 서비스 데이터 포함 여부를 상기 OM_type 필드에 표시할 수 있다. That is, mobile service data having a syntax structure of Mobile_service_data () as shown in FIG. 4 may be included in the OM_payload field of the OM packet, and whether the mobile service data is included may be displayed in the OM_type field.

또한 상기 도 4의 Mobile_service_data() 필드는 도 5와 같은 Tx_parameter() 신택스 구조를 포함하므로, 상기 OM 패킷에 전송 파라미터도 삽입할 수 있다. 그리고 전술한 바와 같이 상기 TS 패킷 인캡슐레이터(120)의 출력 데이터 율을 K Mbps로 맞추기 위해 상기 OM 패킷의 Mobile_service_data() 필드에 널 데이터를 삽입할 수도 있다. 이때에도 널 데이터가 삽입된 OM 패킷을 구분하기 위한 식별자로 OM_type 필드를 이용할 수 있다.The Mobile_service_data () field of FIG. 4 includes a Tx_parameter () syntax structure as shown in FIG. 5, so that a transmission parameter can also be inserted into the OM packet. As described above, the null data may be inserted into the Mobile_service_data () field of the OM packet to adjust the output data rate of the TS packet encapsulator 120 to K Mbps. At this time, the OM_type field can be used as an identifier for identifying the OM packet into which null data is inserted.

이와 같이 상기 TS 패킷 인캡슐레이터(120)는 출력 데이터 율을 K Mbps로 맞추면서, TS 패킷 형태의 모바일 서비스 데이터를 트랜스포트 다중화기(130)로 전송한다. As described above, the TS packet encapsulator 120 transmits the TS packet type mobile service data to the transport multiplexer 130 while setting the output data rate to K Mbps.

상기 트랜스포트 다중화기(130)는 메인 서비스 다중화기(131)에서 출력되는 메인 서비스 데이터 패킷과 TS 패킷 인캡슐레이터(120)에서 출력되는 모바일 서비스 데이터 패킷(또는 OM 패킷)을 다중화하여 19.39 Mbps 데이터 율로 송신기(200)로 전송한다. The transport multiplexer 130 multiplexes the main service data packet output from the main service multiplexer 131 and the mobile service data packet (or OM packet) output from the encapsulator 120, which is a TS packet, to generate 19.39 Mbps data To the transmitter (200).

도 10은 본 발명의 일 실시예에 따른 송신기(200)의 구성 블록도로서, 역다중화기(211), 패킷 지터 경감기(Packet jitter mitigator)(212), TS 패킷 디캡슐레이터(213), 전 처리기(Pre-Processor)(214), 패킷 다중화기(215), 후처리기(Post-Processor)(220), 동기(Sync) 다중화기(230), 및 송신부(transmission unit)(240)를 포함할 수 있다. FIG. 10 is a block diagram of a transmitter 200 according to an embodiment of the present invention. The transmitter 200 includes a demultiplexer 211, a packet jitter mitigator 212, a TS packet decipherer 213, A pre-processor 214, a packet multiplexer 215, a post-processor 220, a sync multiplexer 230, and a transmission unit 240 .

상기 서비스 다중화기(100)에서 전송되는 데이터 패킷은 송신기(200)의 역다중화기(211)로 입력된다.The data packet transmitted from the service multiplexer 100 is input to a demultiplexer 211 of the transmitter 200.

상기 역다중화기(211)는 입력되는 데이터 패킷이 메인 서비스 데이터 패킷인지, 모바일 서비스 데이터 패킷인지를 구분한다. The demultiplexer 211 distinguishes whether the incoming data packet is a main service data packet or a mobile service data packet.

상기 역다중화기(211)에서 구분된 메인 서비스 데이터 패킷은 패킷 지터 경감기(212)로 제공되고, 모바일 서비스 데이터 패킷은 TS 패킷 디캡슐레이터(213)를 거쳐 전처리기(214)로 제공된다.The main service data packet separated in the demultiplexer 211 is provided to the packet jitter separator 212 and the mobile service data packet is provided to the preprocessor 214 via the TS packet decipherer 213.

이때 상기 역다중화기(211)로 입력되는 데이터 패킷이 메인 서비스 데이터 패킷인지, 모바일 서비스 데이터 패킷인지를 구분하는 방법은 여러 가지가 있을 수 있다. There are various methods of distinguishing whether the data packet input to the demultiplexer 211 is a main service data packet or a mobile service data packet.

일 실시예로, 입력되는 데이터 패킷의 PID 값에 따라 모바일 서비스 데이터 패킷과 메인 서비스 데이터 패킷을 구분할 수 있다. 즉, 상기 역다중화기(211)는 모바일 서비스 데이터 패킷에 할당된 PID를 갖는 데이터 패킷은 TS 패킷 디캡슐레이터(213)로 제공하고, 그 이외의 PID를 갖는 데이터 패킷은 패킷 지터 경감기(212)로 제공한다. In one embodiment, the mobile service data packet and the main service data packet can be distinguished according to the PID value of the input data packet. That is, the demultiplexer 211 provides the data packet having the PID assigned to the mobile service data packet to the TS packet decapsulator 213, and the data packet having the other PIDs is provided to the packet jitter separator 212, .

다른 실시예로, 상기 역다중화기(211)는 입력되는 데이터 패킷 내 transport_error_indicator 플래그 값에 따라 입력되는 데이터 패킷이 모바일 서비스 데이터 패킷인지 메인 서비스 데이터 패킷인지를 구분할 수 있다.In another embodiment, the demultiplexer 211 can distinguish whether the data packet input according to the value of the transport_error_indicator flag in the input data packet is a mobile service data packet or a main service data packet.

또 다른 실시예로, 모바일 서비스 데이터가 OM 패킷에 삽입되어 전송되는 경우, 상기 역다중화기(211)는 PID를 보고 OMP를 찾을 수 있으며, 상기 OMP 내 OM_type 필드를 파싱하여 해당 패킷의 OM_payload 필드에 모바일 서비스 데이터가 삽입되었는지 여부를 알 수 있다. 만일 입력되는 데이터 패킷이 모바일 서비스 데이터가 삽입된 OM 패킷이라면 TS 패킷 디캡슐레이터(213)로 제공된다. In another embodiment, when mobile service data is inserted into an OM packet and then transmitted, the demultiplexer 211 can find the OMP by viewing the PID. The OM_type field in the OMP is parsed, and the OM_payload field of the corresponding mobile It is possible to know whether the service data is inserted or not. If the input data packet is an OM packet in which mobile service data is inserted, it is provided to the TS packet decapsulator 213.

상기 TS 패킷 디캡슐레이터(213)는 입력되는 모바일 서비스 데이터 패킷(또는 OM 패킷)으로부터 TS 패킷 인캡슐레이션 전의 모바일 서비스 데이터를 복원하여 전처리기(214)로 출력한다. 또한 상기 모바일 서비스 데이터 패킷(또는 OM 패킷)에 전송 파라미터가 삽입되어 있는 경우에는 전송 파라미터도 복원하여 필요한 블록들(예를 들어, 전처리기(214), 패킷 다중화기(215) 등)이 상기 전송 파라미터를 활용할 수 있도록 해당 블록들로 제공한다. The TS packet decipherer 213 restores the mobile service data before encapsulation, which is a TS packet, from the input mobile service data packet (or OM packet), and outputs the restored mobile service data to the preprocessor 214. In the case where the transmission parameter is inserted in the mobile service data packet (or OM packet), the transmission parameters are also restored and necessary blocks (for example, the preprocessor 214, the packet multiplexer 215, etc.) The parameters are provided in corresponding blocks so that they can be utilized.

일 예로, 상기 전송 파라미터에는 모바일 서비스 식별 정보, 수퍼 프레임 정보, 버스트 사이즈 정보, 버스트 주기 정보, 터보 코드 정보, RS 코드 정보 등이 포함될 수 있다. For example, the transmission parameters may include mobile service identification information, superframe information, burst size information, burst period information, turbo code information, RS code information, and the like.

상기 전송 파라미터에 포함되는 정보들은 본 발명의 이해를 돕기 위한 일 실시예일 뿐이며, 상기 전송 파라미터에 포함되는 정보들의 추가 및 삭제는 당업자에 의해 용이하게 변경될 수 있으므로 본 발명은 상기 실시예로 한정되지 않을 것이다. The information included in the transmission parameter is merely an example for facilitating understanding of the present invention. Addition and deletion of information included in the transmission parameter can be easily changed by those skilled in the art. Therefore, the present invention is not limited to the above embodiment I will not.

이때 상기 TS 패킷 디캡슐레이터(213)로 입력되는 모바일 서비스 데이터 패킷에 서비스 다중화기(100)의 출력 데이터 율을 맞추기 위해 널 데이터가 삽입되어 있다면, 상기 TS 패킷 디캡슐레이터(213)는 상기 널 데이터를 처리하지 않으며, 또한 다른 블록으로 제공하지도 않는다. 즉, 모바일 서비스 데이터 패킷에 삽입된 널 데이터는 처리되지 않고 버려진다. 일 예로, 상기 널 데이터는 입력되는 모바일 서비스 데이터 패킷 내 페이로드 영역에 모두 삽입되어 있을 수도 있고, 또는 페이로드 영역 중 전송 파라미터 영역에만 삽입되어 있을 수도 있으며, 또는 페이로드 영역 중 모바일 서비스 데이터 영역에만 삽입되어 있을 수도 있다. 또 다른 예로, 널 데이터는 OM 패킷의 OM_payload 필드에 삽입되어 있을 수도 있다. At this time, if null data is inserted to match the output data rate of the service multiplexer 100 to the mobile service data packet input to the TS packet decapsulator 213, the TS packet decapsulator 213 transmits the null It does not process the data and does not provide it as another block. That is, the null data inserted in the mobile service data packet is discarded without being processed. For example, the null data may be inserted into the payload area of the incoming mobile service data packet, inserted only into the transmission parameter area of the payload area, or inserted only into the mobile service data area of the payload area It may be inserted. As another example, the null data may be inserted in the OM_payload field of the OM packet.

상기 TS 패킷 디캡슐레이터(213)로 입력되는 모바일 서비스 데이터 패킷은 데이터를 포함하는 패킷인지를 구분할 수 있는 식별 정보를 포함할 수 있으며, 상기 TS 패킷 디캡슐레이터(213)는 상기 식별 정보를 이용하여 입력되는 데이터 패킷으로부터 널 데이터를 추출할 수 있다. The mobile service data packet input to the TS packet decapsulator 213 may include identification information for identifying whether the packet includes data, and the TS packet decapsulator 213 may use the identification information The null data can be extracted from the input data packet.

일 예로, 입력되는 데이터 패킷의 헤더 내 PID 필드를 이용하여 널 데이터를 추출할 수도 있고, 페이로드의 전송 파라미터 영역 내 service_id 필드를 이용하여 널 데이터를 추출할 수도 있다. 또한 널 데이터가 OM 패킷의 OM_payload 필드에 삽입되어 있다면, 상기 TS 패킷 디캡슐레이터(213)는 상기 OMP 내 OM_type 필드를 파싱하여 해당 패킷의 OM_payload 필드에 널 데이터가 삽입되었는지 여부를 알 수 있다. For example, it is possible to extract null data using the PID field in the header of an input data packet, or to extract null data using the service_id field in the transmission parameter area of the payload. Also, if NULL data is inserted in the OM_payload field of the OM packet, the TS packet decipherer 213 can determine whether null data is inserted in the OM_payload field of the corresponding packet by parsing the OM_type field in the OMP.

상기 전처리기(214)는 노이즈 및 채널 변화에 빠르고 강력하게 대응하도록 하기 위해 모바일 서비스 데이터에 대해 추가의 부호화를 수행한 후 패킷 다중화기(215)로 출력한다. The preprocessor 214 performs additional encoding on the mobile service data and outputs it to the packet multiplexer 215 in order to quickly and strongly respond to noise and channel changes.

도 11은 본 발명에 따른 전처리기(214)의 일 실시예를 보인 구성 블록도로서, 데이터 랜더마이저(401), RS 프레임 부호기(402), 블록 처리기(403), 그룹 포맷터(404), 데이터 디인터리버(405), 및 패킷 포맷터(406)를 포함할 수 있다. 11 is a block diagram showing an embodiment of the preprocessor 214 according to the present invention and includes a data renderer 401, an RS frame encoder 402, a block processor 403, a group formatter 404, A deinterleaver 405, and a packet formatter 406.

본 발명에 따른 전처리기(214)는 TS 패킷 디캡슐레이터(213)에서 제공하는 전송 파라미터를 참조하여 입력되는 모바일 서비스 데이터에 대해 추가의 부호화를 수행하는 것을 일 실시예로 설명한다.The preprocessor 214 according to the present invention performs additional encoding on the input mobile service data with reference to the transmission parameters provided by the TS packet decipherer 213 as one embodiment.

즉, 상기 데이터 랜더마이저(401)는 입력되는 모바일 서비스 데이터를 랜더마이징시켜 RS 프레임 부호기(402)로 출력한다. 이때 상기 데이터 랜더마이저(401)에서 모바일 서비스 데이터에 대해 랜더마이징을 수행함으로써, 후처리기(220)의 데이터 랜더마이저(221)에서는 모바일 서비스 데이터에 대한 랜더마이징 과정을 생략할 수 있다. That is, the data renderer 401 randomizes the input mobile service data and outputs the data to the RS frame encoder 402. At this time, the data renderer 221 of the post-processor 220 may skip the process of rendering the mobile service data by performing the rendering of the mobile service data in the data renderer 401.

상기 RS 프레임 부호기(402)는 랜더마이즈되어 입력되는 모바일 서비스 데이터를 복수개 모아 RS 프레임을 구성하고, RS 프레임 단위로 에러 정정 부호화(encoding) 과정, 에러 검출 부호화 과정 중 적어도 하나의 과정을 수행한다. 또한 복수개의 RS 프레임을 모아 수퍼 프레임(Super Frame)을 구성하고, 수퍼 프레임 단위로 인터리빙(interleaving or permutation)을 수행할 수도 있다. 이렇게 하면 모바일 서비스 데이터에 강건성을 부여하면서 극심하게 열악하고 빠르게 변화는 전파 환경에도 대응할 수 있게 된다. The RS frame encoder 402 forms a RS frame by combining a plurality of pieces of mobile service data, which are input after being rendered, and performs at least one of an error correction encoding process and an error detection encoding process on an RS frame basis. In addition, a plurality of RS frames may be gathered to form a super frame, and interleaving or permutation may be performed on a super frame basis. This provides robustness to mobile service data, and can cope with extremely poor and rapidly changing radio environments.

즉, 상기 RS 프레임 부호기(402)에서 수퍼 프레임의 각 로우(row)를 기 설정된 규칙으로 섞는 로우 섞음을 수행하면, 수퍼 프레임 내에서 로우 섞음 전후의 로우의 위치가 달라진다. 상기 수퍼 프레임 단위의 로우 섞음을 수행하면, 다량의 에러가 발생한 구간이 매우 길어 복호하려는 한 개의 RS 프레임 내에 정정 불가능할 만큼의 에러가 포함되더라도 수퍼 프레임 전체에서는 이 에러들이 분산되므로 단일 RS 프레임과 비교하여 복호 능력이 향상된다.That is, when the RS frame encoder 402 performs low-mix operation for mixing the respective rows of the super frame in predetermined rules, the positions of the rows before and after the low-mix are different in the super frame. Even if an error that can not be corrected is contained in one RS frame to be decoded because a section in which a large number of errors occur is very long in the super-frame-by-super-frame blurring, these errors are distributed throughout the super frame, The decoding capability is improved.

상기 RS 프레임 부호기(402)에서 에러 정정 부호화는 RS 부호화를 적용하고, 에러 검출 부호화는 CRC(Cyclic Redundancy Check) 부호화를 적용하는 것을 일 실시예로 한다. 상기 RS 부호화를 수행하면 에러 정정을 위해 사용될 패리티 데이터가 생성되고, CRC 부호화를 수행하면 에러 검출을 위해 사용될 CRC 데이터가 생성된다. The RS frame encoder 402 applies RS coding for error correction coding and CRC (Cyclic Redundancy Check) coding for 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 is one of FEC (Forward Error Correction). 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.

여기서, 상기 RS 프레임 부호기(402)는 미리 셋팅된 전송 파라미터, 및/또는 상기 TS 패킷 디캡슐레이터(213)에서 제공하는 전송 파라미터를 참조하여 RS 프레임 구성, RS 부호화, CRC 부호화, 수퍼 프레임 구성, 수퍼 프레임 단위의 로우 섞음 등을 수행할 수 있다.Here, the RS frame encoder 402 refers to the RS frame configuration, the RS encoding, the CRC encoding, the super frame configuration, and the RS frame configuration with reference to the preset transmission parameters and / or the transmission parameters provided by the TS packet decapsulator 213. [ It is possible to perform low-level mixing on a superframe basis.

예를 들어, 전송 파라미터 내 RS 코드 모드(도 6, 도 7 참조)가 1110이면, 상기 RS 프레임 부호기(402)에서는 A/B 영역에 할당될 RS 프레임에 대해서는 (235,187)-RS 부호화를 수행하여 48개의 패리티를 생성하고, C 영역에 할당될 RS 프레임에 대해서는 (223,187)-RS 부호화를 수행하여 36개의 패리티를 생성한다. For example, if the RS code mode (see FIGS. 6 and 7) in the transmission parameter is 1110, the RS frame encoder 402 performs (235, 187) -RS encoding on the RS frame to be allocated to the A / B area 48 parities are generated, and (223, 187) -RS coding is performed on the RS frame to be allocated to the C region, thereby generating 36 parities.

상기와 같이 RS 프레임 부호기(402)에서 부호화된 모바일 서비스 데이터는 블록 처리기(403)로 입력된다. The mobile service data encoded by the RS frame encoder 402 is input to the block processor 403 as described above.

상기 블록 처리기(403)는 입력되는 모바일 서비스 데이터를 다시 G/H(여기서 G<H 임) 부호율로 부호화하여 그룹 포맷터(404)로 출력한다. The block processor 403 encodes the input mobile service data again with G / H (where G < H) and outputs the encoded data to the group formatter 404.

즉 상기 블록 처리기(403)는 바이트 단위로 입력되는 모바일 서비스 데이터를 비트로 구분하고, 구분된 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 block processor 403 divides the mobile service data input in byte units into bits, encodes the separated G bits into H bits, and converts the converted G bits into bytes. For example, when 1 bit of input data is encoded into 2 bits, G = 1 and H = 2. If 1 bit of input data is encoded into 4 bits, G = 1 and H = 4. In the present invention, for convenience of explanation, the former is referred to as 1/2 coding rate coding (or 1/2 coding) and the latter coding to 1/4 coding rate (or 1/4 coding) do.

여기서 1/4 부호화를 사용하는 경우는 1/2 부호화에 비해서 높은 부호율 때문에 높은 에러 정정 능력을 가질 수가 있기 때문이다. 이런 이유 때문에 후단의 그룹 포맷터(404)에서 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 group formatter 404 at the subsequent stage is allocated to the area where reception performance may deteriorate, and the data encoded at the 1/2 code rate is allocated to the area The effect of reducing the difference in performance can be obtained.

이때, 상기 블록 처리기(403)는 전송 파라미터와 같은 시그널링(signaling) 정보도 입력받을 수 있는데, 이 시그널링 정보도 모바일 서비스 데이터 처리 과정과 동일하게 1/2 부호화 또는 1/4 부호화를 수행한다. 이후 상기 시그널링 정보도 모바일 서비스 데이터로 간주되어 처리된다. At this time, the block processor 403 can also receive signaling information such as a transmission parameter, and this signaling information also carries out a 1/2 coding or a 1/4 coding in the same manner as the mobile service data processing. Then, the signaling information is regarded as mobile service data and processed.

한편 상기 그룹 포맷터(404)는 상기 블록 처리기(403)에서 출력되는 모바일 서비스 데이터를 기 정의된 규칙에 따라 형성되는 데이터 그룹 내 해당 영역에 삽입하고, 또한 데이터 디인터리빙과 관련하여 각종 위치 홀더나 기지 데이터도 상기 데이터 그룹 내 해당 영역에 삽입한다.Meanwhile, the group formatter 404 inserts the mobile service data output from the block processor 403 into a corresponding area in a data group formed according to a predefined rule, Data is also inserted into the corresponding area in the data group.

이때 상기 데이터 그룹은 적어도 하나 이상의 계층화된 영역으로 구분할 수 있고, 계층화된 각 영역의 특성에 따라 각 영역에 삽입되는 모바일 서비스 데이터 종류가 달라질 수 있다. 그리고 각 영역은 일 예로 데이터 그룹 내에서 수신 성능을 기준으로 분류할 수 있다. 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.

본 발명에서는 데이터 디인터리빙 전의 데이터 구성에서 하나의 데이터 그룹을 A,B,C 영역으로 구분하는 것을 일 실시예로 한다. 이때 상기 그룹 포맷터(404)는 RS 부호화 및 블록 부호화되어 입력되는 모바일 서비스 데이터를 상기 전송 파라미터를 참조하여 해당 영역에 할당할 수 있다.In the present invention, one data group is divided into A, B and C regions in the data structure before data deinterleaving. At this time, the group formatter 404 can allocate the mobile service data input by RS encoding and block coding to the corresponding area by referring to the transmission parameter.

도 12a는 데이터 인터리빙 후의 데이터들이 구분되어 나열된 형태이고, 도 12b는 데이터 인터리빙 전의 데이터들이 구분되어 나열된 형태를 보여준다. 즉, 도 12a와 같은 데이터 구조가 수신 시스템으로 전송된다.FIG. 12A shows data after data interleaving, and FIG. 12B shows data in which data before data interleaving are sorted. That is, the data structure as shown in FIG. 12A is transmitted to the receiving system.

그리고 도 12a와 같은 구조로 형성된 데이터 그룹이 데이터 디인터리버(405)로 입력된다. The data group formed by the structure shown in FIG. 12A is input to the data deinterleaver 405.

도 12a는 데이터 디인터리빙 전의 데이터 구성에서 데이터 그룹을 크게 세 개의 영역(region) 예를 들어, A 영역(Region A), B 영역(Region B), C 영역(Region C)으로 구분하는 예를 보이고 있다. 12A shows an example of dividing a data group into three regions, for example, a region A, a region B and a region C in the data structure before data deinterleaving have.

또한 본 발명은 상기 A 내지 C 영역을 각각 복수개의 하위 영역으로 다시 구분하는 것을 일 실시예로 한다.In the present invention, the A to C regions are divided into a plurality of sub-regions, respectively.

도 12a는 상기 A 영역이 5개의 하위 영역(A1~A5)으로 구분되고, B 영역이 2개의 하위 영역(B1,B2)으로 구분되며, C 영역이 3개의 하위 영역(C1~C3)으로 구분되는 예를 보이고 있다.
12A shows a case where the A region is divided into five sub regions A1 to A5 and the B region is divided into two sub regions B1 and B2 and the C region is divided into three sub regions C1 to C3 .

*상기 A 내지 C 영역은 데이터 그룹 내에서 비슷한 수신 성능을 갖는 영역을 기준으로 분류하고 있다. 이때 각 영역의 특성에 따라 삽입되는 모바일 서비스 데이터 종류가 달라질 수 있다.The A to C regions are classified based on regions having similar reception performance in a data group. At this time, the type of mobile service data to be inserted may be changed according to the characteristics of each area.

본 발명에서는 메인 서비스 데이터의 간섭 정도를 기준으로 A 내지 C 영역을 나누는 것을 일 실시예로 설명한다. In the present invention, the division of the areas A to C based on the degree of interference of the main service data will be described as an embodiment.

여기서, 상기 데이터 그룹을 다수개의 영역으로 구분하여 사용하는 이유는 각각의 용도를 달리하기 위해서이다. 즉, 메인 서비스 데이터의 간섭이 없거나 적은 영역은 그렇지 않은 영역보다 강인한 수신 성능을 보일 수 있기 때문이다. 또한, 기지 데이터를 데이터 그룹에 삽입하여 전송하는 시스템을 적용하는 경우, 모바일 서비스 데이터에 연속적으로 긴 기지 데이터를 주기적으로 삽입하고자 할 때, 메인 서비스 데이터의 간섭이 없는 영역(예를 들어, A 영역)에는 일정 길이의 기지 데이터를 주기적으로 삽입하는 것이 가능하다. 그러나 메인 서비스 데이터의 간섭이 있는 영역(예를 들어, B,C 영역)에는 서비스 메인 서비스 데이터의 간섭으로 기지 데이터를 주기적으로 삽입하는 것이 곤란하고 연속적으로 긴 기지 데이터를 삽입하는 것도 곤란하다. 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 consecutive long known data into mobile service data, an area without interference of main service data (for example, ), It is possible to periodically insert known data of a predetermined length. However, it is difficult to periodically insert the known data into the areas where interference of the main service data exists (for example, areas B and C) due to the interference of the service main service data, and it is also difficult to continuously insert the known data.

다음은 도 12a를 참조하여 데이터 그룹 내에서 A(A1~A5), B(B1,B2), C(C1~C3) 영역이 할당되는 구체적인 예를 설명한다. 도 12a의 데이터 그룹의 크기, 데이터 그룹 내 계층화된 영역의 수와 각 영역의 크기, 계층화된 각 영역에 삽입 가능한 모바일 서비스 데이터 바이트 수 등은 본 발명을 기술하기 위한 하나의 실시예이다. A specific example in which A (A1 to A5), B (B1, B2), and C (C1 to C3) are allocated in the data group will be described with reference to FIG. 12A. The size of the data group in FIG. 12A, the number of layered areas in the data group and the size of each area, the number of mobile service data bytes insertable into each layered area, and the like are one embodiment for describing the present invention.

이때 상기 그룹 포맷터(404)에서는 필드 동기가 삽입될 위치를 포함하여 데이터 그룹을 형성함으로써, 아래에 설명하는 것과 같이 데이터 그룹을 구성할 수가 있다. At this time, in the group formatter 404, a data group including a position at which a field sync is inserted is formed, so that a data group can be configured as described below.

즉, 상기 A 영역은 상기 데이터 그룹 내 긴 기지 데이터 열(sequence)이 주기적으로 삽입될 수 있는 영역이면서, 메인 서비스 데이터가 섞이지 않는 영역을 포함한다(예, A2~A5). 또한 상기 A 영역은 상기 데이터 그룹에 삽입될 필드 동기 영역과 첫 기지 데이터 열이 삽입될 영역 사이에 있는 영역(예, A1)을 포함한다. 상기 필드 동기 영역은 ATSC에 존재하는 한 세그먼트 길이(즉, 832 심볼)를 갖는다. That is, the A area is an area where a long known data sequence in the data group can be periodically inserted, and includes an area in which main service data is not mixed (for example, A2 to A5). The area A includes an area (for example, A1) between the field sync area to be inserted in the data group and the area where the first known data sequence is to be inserted. The field sync area has a segment length (i.e., 832 symbols) existing in the ATSC.

일 실시예로 도 12a에서 A1 영역에는 2428 바이트, A2 영역에는 2580 바이트, A3 영역에는 2772 바이트, A4 영역에는 2472 바이트, A5 영역에는 2772 바이트의 모바일 서비스 데이터를 삽입할 수 있다. 상기 모바일 서비스 데이터에서 트렐리스 초기화나 기지 데이터, MPEG 헤더, RS 패리티 등은 제외된다. In one embodiment, mobile service data of 2428 bytes in the area A1, 2580 bytes in the area A2, 2772 bytes in the area A3, 2472 bytes in the area A4, and 2772 bytes in the area A5 can be inserted in the area A1. In the mobile service data, the trellis initialization, the known data, the MPEG header, and the RS parity are excluded.

상기와 같이 앞뒤로 기지 데이터 열을 갖는 A 영역의 경우, 수신 시스템에서는 기지 데이터나 필드 동기로부터 얻을 수 있는 채널 정보를 이용하여 등화를 수행할 수 있으므로, 강인한 등화 성능을 얻을 수가 있다. In the case of the A region having the known data streams as described above, the receiving system can perform equalization using channel information obtained from the known data or the field synchronization, so that robust equalization performance can be obtained.

상기 B 영역은 상기 데이터 그룹 내 필드 동기 영역의 앞쪽 8 세그먼트 이내에 위치하는 영역(시간적으로 A1 영역의 앞에 위치함)(예, B1 영역)과, 상기 데이터 그룹에 삽입되는 가장 마지막 기지 데이터 열 다음 8 세그먼트 내에 위치하는 영역(시간적으로 A 영역의 뒤에 위치함)(예, B2 영역)을 포함한다. 예를 들어, 상기 B1 영역에는 930 바이트, B2 영역에는 1350 바이트의 모바일 서비스 데이터를 삽입할 수 있다. 마찬가지로, 상기 모바일 서비스 데이터에서 트렐리스 초기화나 기지 데이터, MPEG 헤더, RS 패리티 등은 제외된다. (For example, B1 area) located in the front 8 segments of the field sync area in the data group (in the front of the A1 area in time) and the 8th segment after the last known data row inserted in the data group (Located temporally behind the area A) (e.g., area B2) located in the segment. For example, mobile service data of 930 bytes in the B1 area and 1350 bytes in the B2 area can be inserted. Similarly, in the mobile service data, the trellis initialization, the known data, the MPEG header, and the RS parity are excluded.

상기 B 영역의 경우, 수신 시스템에서는 필드 동기 구간에서 얻어진 채널 정보를 사용하여 등화를 수행할 수 있고, 또한 상기 마지막 기지 데이터 열로부터 얻을 수 있는 채널 정보를 사용하여 등화를 수행할 수 있으므로, 채널의 변화에 대응할 수가 있다. In the case of the B region, since the receiving system can perform equalization using the channel information obtained in the field synchronization period and perform equalization using the channel information obtained from the last known data stream, You can respond to changes.

상기 C 영역은 필드 동기 영역의 앞쪽 9번째 세그먼트를 포함하여 그 앞쪽으로 30 세그먼트 내에 위치하는 영역(시간적으로 A 영역의 앞에 위치함)(예, C1 영역), 상기 데이터 그룹 내 마지막 기지 데이터 열 다음 9번째 세그먼트를 포함한 12 세그먼트 내에 위치하는 영역(시간적으로 A 영역의 뒤에 위치함)(예, C2 영역), 및 상기 C2 영역 다음에 오는 32 세그먼트 내에 위치하는 영역(예, C3 영역)을 포함한다. The C region includes a preceding 9th segment of the field sync area and is located within 30 segments ahead of it (temporally located in front of the A region) (e.g., C1 region) (E.g., C2 region) located within 12 segments including the ninth segment (temporally behind the A region), and an area located within the 32 segments following the C2 region (e.g., the C3 region) .

예를 들어, 상기 C1 영역에는 1272 바이트, C2 영역에는 1560 바이트, C3 영역에는 1312 바이트의 모바일 서비스 데이터를 삽입할 수 있다. 마찬가지로, 상기 모바일 서비스 데이터에서 트렐리스 초기화나 기지 데이터, MPEG 헤더, RS 패리티 등은 제외된다. For example, mobile service data of 1272 bytes in the C1 area, 1560 bytes in the C2 area, and 1312 bytes in the C3 area can be inserted. Similarly, in the mobile service data, the trellis initialization, the known data, the MPEG header, and the RS parity are excluded.

이때 상기 A 영역보다 시간적으로 앞에 위치한 C 영역(예, C1 영역)은 제일 가까운 기지 데이터인 필드 동기에서도 꽤 멀리 떨어져 있기 때문에, 수신 시스템에서 채널 등화시에 필드 동기로부터 얻은 채널 정보를 사용할 수도 있고, 또는 이전 데이터 그룹의 가장 최근의 채널 정보를 사용할 수도 있다. 그리고 상기 A 영역보다 시간적으로 뒤에 위치한 C 영역(예, C2,C3 영역)은 수신 시스템에서 채널 등화시에 상기 마지막 기지 데이터 열에서 얻은 채널 정보를 사용하여 등화를 하더라도 채널이 빠르게 변하는 경우에는 등화가 완벽하게 되지 않을 수가 있다. 그러므로 상기 C 영역은 B 영역보다 등화 성능이 떨어질 수가 있다.At this time, since the C region (for example, the C1 region) located temporally before the A region is considerably far away from the field synchronization which is the nearest known data, the channel information obtained from the field synchronization at the time of channel equalization in the receiving system may be used, Or the latest channel information of the previous data group may be used. The C region (for example, the C2 and the C3 region) located temporally behind the A region is used for equalization when the channel is equalized using the channel information obtained from the last known data sequence at the time of channel equalization in the receiving system It may not be perfect. Therefore, the C region may have less equalization performance than the B region.

상기와 같이 데이터 그룹을 다수개의 계층화된 영역으로 할당한다고 가정하면, 전술한 블록 처리기(403)에서는 전송 파라미터 내 터보 코드 모드에 따라 각 영역에 삽입될 모바일 서비스 데이터를 다른 부호율로 부호화할 수도 있다.Assuming that the data group is allocated as a plurality of layered regions as described above, the block processor 403 may encode the mobile service data to be inserted in each region at a different code rate according to the turbo code mode in the transmission parameter .

예를 들어, 상기 터보 코드 모드(도 8 참조)가 011이라면, A 영역 내 A1~A5 영역에 삽입될 모바일 서비스 데이터는 블록 처리기(403)에서 1/2 부호율로 부호화를 수행하도록 하고, 이렇게 부호화된 모바일 서비스 데이터를 상기 그룹 포맷터(404)에서 상기 A1~A5 영역에 삽입하도록 할 수 있다.For example, if the turbo code mode (see FIG. 8) is 011, the mobile service data to be inserted in the area A1 to A5 in the area A is encoded by the block processor 403 at a 1/2 coding rate, And the encoded mobile service data may be inserted into the area A1 to A5 in the group formatter 404.

상기 B 영역 내 B1,B2 영역에 삽입될 모바일 서비스 데이터는 블록 처리기(403)에서 1/2 부호율보다 에러 정정 능력이 높은 1/4 부호율로 부호화를 수행하도록 하고, 이렇게 부호화된 모바일 서비스 데이터를 상기 그룹 포맷터(404)에서 상기 B1,B2 영역에 삽입하도록 할 수 있다.The mobile service data to be inserted in the areas B1 and B2 in the B area is encoded by the block processor 403 at a coding rate of 1/4 that has a higher error correction capability than the 1/2 coding rate, May be inserted into the areas B1 and B2 in the group formatter 404.

상기 C 영역 내 C1~C3 영역에 삽입될 모바일 서비스 데이터는 블록 처리기(403)에서 1/4 부호율로 부호화를 수행하도록 하고, 이렇게 부호화된 데이터를 상기 그룹 포맷터(404)에서 상기 C1~C3 영역에 삽입하도록 할 수도 있고, 추후의 사용을 위해서 미사용(reserve) 영역으로 남겨둘 수도 있다. The mobile service data to be inserted in the C1 to C3 area in the C area is encoded by the block processor 403 at a 1/4 coding rate and the encoded data is divided into the C1 to C3 area Or may be left as an unused area for future use.

또한 상기 그룹 포맷터(404)에서는 모바일 서비스 데이터와는 별도로 전송 파라미터 등을 담고있는 시그널링(signaling) 정보도 상기 데이터 그룹 내에 삽입한다. In addition, in the group formatter 404, signaling information including transmission parameters and the like are inserted into the data group separately from the mobile service data.

상기 송신기(200)에서 수신 시스템으로 전송해야 할 전송 파라미터는, 예를 들면 데이터 그룹 정보, 데이터 그룹 내 영역 정보, 수퍼 프레임을 구성하는 RS 프레임의 개수(Super frame size :SFS), RS 프레임에서 한 개 컬럼당 RS 패리티 개수(P), RS 프레임의 로우 방향으로 에러 유무를 판단하기 위해 추가되는 체크섬의 사용유무, 사용되는 경우 그 종류와 크기(현재는 CRC로 2바이트 추가), 한 개의 RS 프레임을 구성하는 데이터 그룹의 개수- RS 프레임은 한 개의 버스트 구간에 전송되므로 한 버스트내의 데이터 그룹 개수(Burst size : BS)와 동일하다 - 그리고 터보 코드 모드, RS 코드 모드 등이 있다. 또한 버스트 수신시 필요한 전송 파라미터로는 버스트 주기(Burst Period :BP) - 한 버스트 주기는 한 버스트의 시작부터 다음 버스트의 시작까지를 필드 개수로 카운트한 값이다.- 그리고 현재 전송되는 RS 프레임이 한 개의 수퍼 프레임 내에서 차지하는 순서(Permuted Frame Index : PFI)나 한 개의 RS 프레임(버스트) 내에서 현재 전송되고 있는 그룹의 순서(Group Index :GI), 버스트 사이즈 등이 있다. 버스트 운용방법에 따라서는 다음 버스트 시작까지 남아있는 필드 개수(Time to Next Burst :TNB)가 있으며, 이러한 정보들을 전송 파라미터로서 전송함에 의해, 수신 시스템에 전송되는 각 데이터 그룹마다 다음 버스트 시작까지의 상대적인 거리(필드 개수)를 알려줄 수도 있다.The transmission parameters to be transmitted from the transmitter 200 to the reception system include, for example, data group information, intra-data group area information, the number of superframe sizes (SFS) constituting a superframe, The number of RS parities per column (P), whether or not checksums are added to determine whether there is an error in the row direction of the RS frame, if so, its type and size (currently 2 bytes are added by CRC) The RS frame is transmitted in one burst period, so it is equal to the number of data groups (Burst size: BS) in one burst, and there are a turbo code mode and an RS code mode. The transmission parameters required for burst reception are a burst period (BP) - a burst period counted from the start of one burst to the start of the next burst. (PFI) in a superframe, a group index (GI) currently being transmitted in one RS frame (burst), and a burst size. Depending on the burst operation method, there is a remaining number of fields (Time to Next Burst: TNB) remaining until the start of the next burst. By transmitting such information as a transmission parameter, You can also tell the distance (number of fields).

상기 전송 파라미터에 포함되는 정보들은 본 발명의 이해를 돕기 위한 일 실시예일 뿐이며, 상기 전송 파라미터에 포함되는 정보들의 추가 및 삭제는 당업자에 의해 용이하게 변경될 수 있으므로 본 발명은 상기 실시예로 한정되지 않을 것이다. The information included in the transmission parameter is merely an example for facilitating understanding of the present invention. Addition and deletion of information included in the transmission parameter can be easily changed by those skilled in the art. Therefore, the present invention is not limited to the above embodiment I will not.

상기 그룹 포맷터(404)에서는 일 예로, 도 8과 같은 터보 코드 모드 정보는 A 영역 내 첫 번째 기지 데이터 열을 삽입할 수 있는 영역의 일부에 삽입한다. 그리고 데이터 그룹 정보, 수퍼 프레임 정보, 버스트 정보 등은 A 영역 내 모바일 서비스 데이터를 삽입할 수 있는 영역의 일부에 삽입한다. In the group formatter 404, for example, the turbo code mode information as shown in FIG. 8 is inserted into a part of an area where the first known data sequence in the A area can be inserted. The data group information, the super frame information, the burst information, and the like are inserted into a part of the area where the mobile service data in the area A can be inserted.

또한 상기 그룹 포맷터(404)에서는 블록 처리기(403)에서 출력된 부호화된 모바일 서비스 데이터들 외에도 도 12a에서 보이는 것과 같이 후단의 데이터 디인터리빙과 관련하여 MPEG 헤더 위치 홀더, 비체계적 RS 패리티 위치 홀더, 메인 서비스 데이터 위치 홀더를 삽입한다. 여기서 메인 서비스 데이터 위치 홀더를 삽입하는 이유는 도 12a와 같이 데이터 디인터리버의 입력을 기준으로 B,C 영역에서는 모바일 서비스 데이터와 메인 서비스 데이터가 사이사이에 섞이게 되기 때문이다. 일 예로 상기 MPEG 헤더를 위한 위치 홀더는 상기 데이터 디인터리빙 후의 출력 데이터를 기준으로 볼 때, 각 패킷의 제일 앞에 할당될 수 있다.In addition, in the group formatter 404, in addition to the encoded mobile service data output from the block processor 403, an MPEG header position holder, an unstructured RS parity position holder, a main Insert the service data location holder. The reason for inserting the main service data location holder is that the mobile service data and the main service data are mixed in the areas B and C based on the input of the data deinterleaver as shown in FIG. 12A. For example, the position holder for the MPEG header may be allocated in front of each packet when viewed from the output data after the data deinterleaving.

또한 상기 그룹 포맷터(404)에서는 기 정해진 방법에 의해서 발생된 기지 데이터를 삽입하거나 기지 데이터를 추후에 삽입하기 위한 기지 데이터 위치 홀더를 삽입한다. 더불어서 트렐리스 부호화부(Trellis Encoding Module)(226)의 초기화를 위한 위치 홀더를 해당 영역에 삽입한다. 일 실시예로, 상기 초기화 데이터 위치 홀더는 상기 기지 데이터 열의 앞에 삽입할 수 있다.In addition, the group formatter 404 inserts known data location holders for inserting known data generated by a predetermined method or inserting known data later. In addition, a position holder for initializing the Trellis Encoding Module 226 is inserted into the corresponding area. In one embodiment, the initialization data location holder may be inserted before the known data sequence.

이때 하나의 데이터 그룹에 삽입 가능한 모바일 서비스 데이터 사이즈는 해당 데이터 그룹에 삽입되는 트렐리스 초기화 위치 홀더나 기지 데이터(또는 기지 데이터 위치 홀더), MPEG 헤더 위치 홀더, RS 패리티 위치 홀더등의 사이즈에 의해 달라질 수 있다.At this time, the mobile service data size that can be inserted into one data group is determined by the size of the trellis initialization position holder, known data (or known data location holder), MPEG header location holder, RS parity location holder, It can be different.

상기 그룹 포맷터(404)의 출력은 데이터 디인터리버(405)로 입력되고, 상기 데이터 디인터리버(405)는 상기 그룹 포맷터(404)에서 출력되는 데이터 그룹 내 데이터 및 위치 홀더를 데이터 인터리빙의 역과정으로 디인터리빙하여 패킷 포맷터(406)로 출력한다. 즉, 도 12a와 같은 형태로 구성된 데이터 그룹 내 데이터 및 위치 홀더가 상기 데이터 디인터리버(405)에서 디인터리빙되면 패킷 포맷터(406)로 출력되는 데이터 그룹은 도 12b와 같은 구조를 갖게 된다. The output of the group formatter 404 is input to the data deinterleaver 405. The data deinterleaver 405 receives data in the data group and the position holder output from the group formatter 404 as an inverse process of data interleaving Deinterleaves the packet and outputs it to the packet formatter 406. That is, when the data in the data group and the location holder configured as shown in FIG. 12A are deinterleaved in the data deinterleaver 405, the data group output to the packet formatter 406 has a structure as shown in FIG. 12B.

상기 패킷 포맷터(406)는 디인터리빙되어 입력된 데이터 중에서 디인터리빙을 위해 할당되었던 메인 서비스 데이터 위치 홀더와 RS 패리티 위치 홀더를 제거하고, 나머지 부분들을 모은 후, 4바이트의 MPEG 헤더 위치 홀더에 널 패킷 PID(또는 메인 서비스 데이터 패킷에서 사용하지 않는 PID)를 갖는 MPEG 헤더를 대체하여 삽입한다. The packet formatter 406 removes the main service data position holder and the RS parity position holder, which are allocated for deinterleaving from the deinterleaved data, collects the remaining parts, PID (or a PID not used in the main service data packet).

또한 상기 패킷 포맷터(406)는 상기 그룹 포맷터(404)에서 기지 데이터 위치 홀더를 삽입한 경우 상기 기지 데이터 위치 홀더에 실제 기지 데이터를 삽입할 수도 있고, 또는 나중에 대체 삽입하기 위하여 상기 기지 데이터 위치 홀더를 조정없이 그대로 출력할 수도 있다. The packet formatter 406 may insert the known known data into the known data location holder when the known data location holder is inserted in the group formatter 404 or may insert the known data location holder It can be output without adjustment.

그리고 나서 상기 패킷 포맷터(406)는 상기와 같이 패킷 포맷팅된 데이터 그룹 내 데이터들을 188바이트 단위의 모바일 서비스 데이터 패킷(즉, MPEG TS 패킷)으로 구분하여 패킷 다중화기(215)에 제공한다.Then, the packet formatter 406 divides the data in the packet formatted data group into 188-byte mobile service data packets (i.e., MPEG TS packets) and provides them to the packet multiplexer 215.

상기 패킷 다중화기(215)는 상기 전처리기(214)에서 출력되는 모바일 서비스 데이터 패킷과 패킷 지터 경감기(212)에서 출력되는 메인 서비스 데이터 패킷을 기 정의된 다중화 방법에 따라 다중화하여 후처리기(Post-Processor)(220)의 데이터 랜더마이저(221)로 출력한다. 상기 다중화 방법은 시스템 설계의 여러 변수들에 의해서 조정이 가능하다.The packet multiplexer 215 multiplexes the mobile service data packet output from the preprocessor 214 and the main service data packet output from the packet jitter separator 212 according to a predefined multiplexing method, To the data renderer 221 of the processor 220. The multiplexing method can be adjusted by various parameters of the system design.

상기 패킷 다중화기(215)의 다중화 방법 중 하나로서, 시간축 상으로 버스트(burst) 구간을 두고, 버스트 구간에서는 다수개의 데이터 그룹을 전송하고 버스트가 아닌 구간에서는 메인 서비스 데이터만을 전송하도록 할 수 있다. 이때 상기 버스트 구간에서는 메인 서비스 데이터를 전송할 수도 있다. 또한 상기 패킷 다중화기(215)는 전송 파라미터 예를 들어, 버스트 사이즈나 버스트 주기 등의 정보를 참조하여 하나의 버스트에 포함되는 데이터 그룹의 개수, 주기 등을 알 수 있다. As one of the multiplexing methods of the packet multiplexer 215, a burst period may be allocated on the time axis, a plurality of data groups may be transmitted in a burst period, and only main service data may be transmitted in a non-burst period. In this case, the main service data may be transmitted in the burst period. In addition, the packet multiplexer 215 can know the number and period of data groups included in one burst by referring to information on transmission parameters, for example, burst size and burst period.

이때 하나의 버스트 구간 내에서는 모바일 서비스 데이터 및 메인 서비스 데이터가 혼재할 수 있으며, 버스트 구간이 아닌 경우에는 메인 서비스 데이터만 존재한다. 따라서 메인 서비스 데이터를 전송하는 메인 서비스 데이터 구간은 버스트 구간과 버스트가 아닌 구간에 모두 존재하게 된다. 이때 버스트 구간 내 메인 서비스 데이터 구간과 버스트가 아닌 구간의 메인 서비스 데이터 구간에 포함되는 메인 데이터 패킷 수는 서로 다를 수도 있고, 같을 수도 있다.In this case, the mobile service data and the main service data may be mixed in one burst period, and only the main service data exists in the burst period. Therefore, the main service data interval for transmitting the main service data exists in both the burst period and the non-burst period. In this case, the number of main data packets included in the main service data interval in the burst interval and the interval in the non-burst interval may be different from each other or may be the same.

상기와 같이 모바일 서비스 데이터를 버스트 구조로 전송하게 되면 모바일 서비스 데이터만을 수신하는 수신 시스템에서는 버스트 구간에서만 전원을 온시켜 데이터를 수신하고 그 외 메인 서비스 데이터만 전송되는 구간에서는 전원을 오프시켜 메인 서비스 데이터를 수신하지 않도록 함으로써, 수신 시스템의 소모 전력을 줄일 수가 있다.When the mobile service data is transmitted in the burst structure as described above, the receiving system that receives only the mobile service data receives the data by turning on the power only in the burst period and turns off the power in the period in which only the main service data is transmitted, The power consumption of the receiving system can be reduced.

그런데 상기 패킷 다중화 과정에서 메인 서비스 데이터 사이사이에 모바일 서비스 데이터 그룹이 다중화되기 때문에 메인 서비스 데이터 패킷의 시간적인 위치가 상대적으로 이동하게 된다. 그리고 수신 시스템의 메인 서비스 데이터 처리를 위한 시스템 목표 디코더(즉, MPEG 디코더)에서는 메인 서비스 데이터만을 수신하여 복호하고 모바일 서비스 데이터 패킷은 널 패킷으로 인식하여 버리게 된다. However, since the mobile service data group is multiplexed between the main service data in the packet multiplexing process, the temporal location of the main service data packet is relatively moved. In the system target decoder (i.e., MPEG decoder) for main service data processing of the receiving system, only the main service data is received and decoded, and the mobile service data packet is recognized as a null packet.

따라서 수신 시스템의 시스템 목표 디코더가 모바일 서비스 데이터 그룹과 다중화된 메인 서비스 데이터 패킷을 수신할 경우 패킷 지터가 발생하게 된다.Therefore, packet jitter occurs when the system target decoder of the receiving system receives the main service data packet multiplexed with the mobile service data group.

이때 상기 시스템 목표 디코더에서는 비디오 데이터를 위한 여러 단계의 버퍼가 존재하고 그 사이즈가 상당히 사이즈 때문에 상기 패킷 다중화기(215)에서 발생시키는 패킷 지터는 비디오 데이터의 경우, 큰 문제가 되지 않는다. 그러나 시스템 목표 디코더가 가지는, 오디오 데이터를 위한 버퍼의 사이즈는 작기 때문에 문제가 될 수 있다.At this time, in the system target decoder, packet buffers generated by the packet multiplexer 215 are not a big problem in the case of video data, because buffers of various stages for video data exist and their sizes are considerably large. However, the size of the buffer for audio data of the system target decoder can be a problem because it is small.

즉, 상기 패킷 지터로 인해 수신 시스템의 메인 서비스 데이터를 위한 버퍼, 예를 들면 오디오 데이터를 위한 버퍼에서 오버플로우(overflow)나 언더플로우(underflow)가 발생할 수 있다.That is, due to the packet jitter, an overflow or an underflow may occur in a buffer for a main service data of the receiving system, for example, a buffer for audio data.

따라서 패킷 지터 경감기(212)에서는 상기 시스템 목표 디코더의 버퍼에서 오버플로우 또는 언더플로우가 발생하지 않도록 메인 서비스 데이터 패킷의 상대적인 위치를 재조정한다.Accordingly, the packet jitter canceller 212 re-adjusts the relative position of the main service data packet so that overflow or underflow does not occur in the buffer of the system target decoder.

본 발명에서는 오디오 버퍼의 동작에 주는 영향을 최소화하기 위하여 메인 서비스 데이터의 오디오 데이터 패킷의 위치를 재배치하는 실시예들을 설명한다. 상기 패킷 지터 경감기(212)는 메인 서비스의 오디오 데이터 패킷이 최대한 균일하게 위치할 수 있도록 메인 서비스 데이터 구간에서 오디오 데이터 패킷을 재배치한다. Embodiments for rearranging the positions of the audio data packets of the main service data in order to minimize the influence on the operation of the audio buffer will be described. The packet jitter decimator 212 rearranges the audio data packet in the main service data interval so that the audio data packet of the main service can be located as uniformly as possible.

상기 패킷 지터 경감기(212)에서 메인 서비스의 오디오 데이터 패킷을 재배치하는 기준은 다음과 같다. 이때 상기 패킷 지터 경감기(212)는 후단의 패킷 다중화기(215)의 다중화 정보를 알고 있다고 가정한다.The reference for rearranging the audio data packet of the main service in the packet jitter decimator 212 is as follows. At this time, it is assumed that the packet jitter separator 212 knows the multiplexing information of the packet multiplexer 215 of the subsequent stage.

첫번째, 버스트 구간 내 메인 서비스 데이터 구간, 예를 들어 두개의 모바일 서비스 데이터 그룹 사이에 위치하는 메인 서비스 데이터 구간에서 오디오 데이터 패킷이 한 개 존재하는 경우에는 오디오 데이터 패킷을 메인 서비스 데이터 구간의 제일 앞에 배치하고, 2개 존재하는 경우에는 제일 앞과 제일 뒤에 배치하며, 3개 이상 존재하는 경우에는 제일 앞과 제일 뒤에 배치하고 나머지를 그 사이에 균등한 간격으로 배치한다.First, if there is one audio data packet in the main service data section in the burst section, for example, in the main service data section located between the two mobile service data groups, the audio data packet is placed in front of the main service data section If two or more exist, they are placed at the beginning and the end. If three or more exist, the first and the last are arranged, and the remaining are arranged at equal intervals therebetween.

두번째, 버스트 구간 시작 전의 메인 서비스 데이터 구간에서는 제일 마지막 위치에 오디오 데이터 패킷을 배치한다.Second, an audio data packet is arranged at the last position in the main service data section before the start of the burst section.

세번째, 버스트 구간이 끝난 후 메인 서비스 데이터 구간에서는 제일 앞에 오디오 데이터 패킷을 배치한다.Third, after the burst period ends, the audio data packet is arranged first in the main service data section.

그리고 오디오 데이터가 아닌 패킷들은 입력되는 순서대로 오디오 데이터 패킷의 위치를 제외한 공간에 배치한다.The packets which are not audio data are arranged in a space excluding the positions of the audio data packets in the input order.

한편 상기와 같이 메인 서비스 데이터 패킷의 위치를 상대적으로 재조정하게 되면 그에 따른 PCR(Program Clock Reference) 값을 수정해 주어야 한다. PCR 값은 MPEG 디코더의 시간을 맞주기 위한 시간 기준값으로 TS 패킷의 특정 영역에 삽입되어 전송되어진다. 상기 패킷 지터 경감기(212)에서 PCR 값 수정의 기능도 수행하는 것을 일 실시예로 한다. Meanwhile, if the position of the main service data packet is relocated as described above, the corresponding PCR (Program Clock Reference) value should be modified accordingly. The PCR value is inserted into a specific area of the TS packet as a time reference value for matching the time of the MPEG decoder and transmitted. The packet jitter canceller 212 also performs the function of correcting the PCR value.

상기 패킷 지터 경감기(212)의 출력은 패킷 다중화기(215)로 입력된다. 상기 패킷 다중화기(215)는 전술한 바와 같이 패킷 지터 경감기(212)에서 출력되는 메인 서비스 데이터와 전처리기(214)에서 출력되는 모바일 서비스 데이터를 기 설정된 다중화 규칙에 따라 버스트 구조로 다중화하여 후 처리기(220)의 데이터 랜더마이저(221)로 출력한다. The output of the packet jitter separator 212 is input to a packet multiplexer 215. The packet multiplexer 215 multiplexes the main service data output from the packet jitter decimator 212 and the mobile service data output from the preprocessor 214 into a burst structure according to a predetermined multiplexing rule, And outputs it to the data renderer 221 of the processor 220.

상기 데이터 랜더마이저(221)는 입력된 데이터가 메인 서비스 데이터 패킷이면 기존의 랜더마이저와 동일하게 랜더마이징을 수행한다. 즉, 메인 서비스 데이터 패킷 내 동기 바이트를 버리고 나머지 187 바이트를 내부에서 발생시킨 의사랜덤(pseudo random) 바이트를 사용하여 랜덤하게 만든 후 RS 부호기/비체계적 RS 부호기(222)로 출력한다.If the input data is a main service data packet, the data renderer 221 performs rendering in the same manner as a conventional renderer. In other words, the synchronous bytes in the main service data packet are discarded and the remaining 187 bytes are randomly generated using internally generated pseudo random bytes, and then output to the RS encoder / unscrambler RS encoder 222.

그러나 입력된 데이터가 모바일 서비스 데이터 패킷이면, 상기 모바일 서비스 데이터 패킷에 포함된 4바이트의 MPEG 헤더 중 동기 바이트를 버리고 나머지 3바이트에 대해서만 랜더마이징을 수행하고, 상기 MPEG 헤더를 제외한 나머지 모바일 서비스 데이터에 대해서는 랜더마이징을 수행하지 않고 상기 RS 부호기/비체계적 RS 부호기(222)로 출력한다. 이는 상기 데이터 랜더마이저(401)에서 상기 모바일 서비스 데이터에 대해 미리 랜더마이징을 수행했기 때문이다. 상기 모바일 서비스 데이터 패킷에 포함된 기지 데이터(또는 기지 데이터 위치 홀더)와 초기화 데이터 위치 홀더에 대해서는 랜더마이징을 수행할 수도 있고 수행하지 않을 수도 있다.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 And outputs it to the RS encoder / unscrambler RS encoder 222 without performing randomization. This is because the data renderer 401 has previously performed the randomization on the mobile service data. Randomization may or may not be performed on known data (or known data location holders) and initialization data location holders included in the mobile service data packet.

상기 RS 부호기/비체계적 RS 부호기(222)는 상기 데이터 랜더마이저(221)에서 랜더마이징되는 데이터 또는 바이패스되는 데이터에 대해 RS 부호화를 수행하여 20바이트의 RS 패리티를 부가한 후 데이터 인터리버(223)로 출력한다. 이때 상기 RS 부호기/비체계적 RS 부호기(222)는 입력된 데이터가 메인 서비스 데이터 패킷인 경우 기존 방송 시스템과 동일하게 체계적 RS 부호화를 수행하여 20바이트의 RS 패리티를 187바이트의 데이터 뒤에 부가한다. 그리고 모바일 서비스 데이터 패킷이면 패킷 내에 정해진 패리티 바이트 위치에는 비체계적 RS 부호화를 수행하여 얻은 20바이트의 RS 패리티를 삽입한다. The RS encoder / unscrambler RS encoder 222 performs RS encoding on the data to be rendered or bypassed by the data randomizer 221, adds 20 bytes of RS parity, and then transmits the data to the data interleaver 223, . If the input data is a main service data packet, the RS encoder / unscrambler RS encoder 222 performs systematic RS coding in the same manner as in the existing broadcasting system to add 20 bytes of RS parity after 187 bytes of data. If the packet is a mobile service data packet, 20 bytes of RS parity obtained by performing unstructured RS coding on the parity byte location defined in the packet is inserted.

상기 데이터 인터리버(223)는 바이트 단위의 길쌈(convolutional) 인터리버이다.The data interleaver 223 is a convolutional interleaver on a byte basis.

상기 데이터 인터리버(223)의 출력은 패리티 치환기(224)와 비체계적 RS 부호기(225)로 입력된다. The output of the data interleaver 223 is input to a parity substitution unit 224 and an unstructured RS encoder 225.

한편 상기 패리티 치환기(224)의 후단에 위치한 트렐리스 부호화부(226)의 출력 데이터를 송/수신측에서 약속에 의해 정의한 기지 데이터로 하기 위해 먼저 트렐리스 부호화부(226) 내의 메모리의 초기화가 필요하다. 즉 입력되는 기지 데이터 열이 트렐리스 부호화되기 전에 먼저 트렐리스 부호화부(226)의 메모리를 초기화시켜야 한다. On the other hand, in order to convert the output data of the trellis encoder 226 located at the rear end of the parity substitution unit 224 into known data defined by an appointment at the transmitting / receiving end, initialization of the memory in the trellis encoder 226 . That is, the memory of the trellis encoder 226 must be initialized before the inputted known data sequence is Trellis encoded.

이때 입력되는 기지 데이터 열의 시작 부분은 실제 기지 데이터가 아니라 그룹 포맷터(404)에서 삽입된 초기화 데이터 위치 홀더이다. 따라서 입력되는 기지 데이터 열이 트렐리스 부호화되기 직전에 초기화 데이터를 생성하여 해당 트렐리스 메모리 초기화 데이터 위치 홀더와 치환하는 과정이 필요하다.At this time, the beginning of the inputted known data sequence is not an actual known data but an initialized data position holder inserted in the group formatter 404. Therefore, it is necessary to generate the initialization data immediately before the input known-data sequence is Trellis-coded and to replace it with the corresponding Trellis-memory initialization data location holder.

그리고 상기 트렐리스 메모리 초기화 데이터는 상기 트렐리스 부호화부(226)의 메모리 상태에 따라 그 값이 결정되어 생성된다. 또한 치환된 초기화 데이터에 의한 영향으로 RS 패리티를 다시 계산하여 상기 데이터 인터리버(223)에서 출력되는 RS 패리티와 치환하는 과정이 필요하다.The trellis memory initialization data is determined based on the memory state of the trellis encoder 226 and is generated. Also, it is necessary to recalculate the RS parity due to the influence of the replaced initialization data and to replace it with the RS parity output from the data interleaver 223.

따라서 상기 비체계적 RS 부호기(225)에서는 상기 데이터 인터리버(223)로부터 초기화 데이터로 치환될 초기화 데이터 위치 홀더가 포함된 모바일 서비스 데이터 패킷을 입력받고, 트렐리스 부호화부(226)로부터 초기화 데이터를 입력받는다. 그리고 입력된 모바일 서비스 데이터 패킷 중 초기화 데이터 위치 홀더를 초기화 데이터로 치환하고 상기 모바일 서비스 데이터 패킷에 부가된 RS 패리티 데이터를 제거한 후 새로운 비체계적인 RS 패리티를 계산하여 상기 패리티 치환기(225)로 출력한다. 그러면 상기 패리티 치환기(225)는 모바일 서비스 데이터 패킷 내 데이터는 상기 데이터 인터리버(223)의 출력을 선택하고, RS 패리티는 비체계적 RS 부호기(225)의 출력을 선택하여 트렐리스 부호화부(226)로 출력한다. Therefore, in the non-systematic RS encoder 225, the mobile service data packet including the initialization data location holder to be replaced with the initialization data is input from the data interleaver 223, and the initialization data is input from the trellis encoder 226 Receive. Then, the initialization data position 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 parity substitution unit 225. The parity substitution unit 225 selects the output of the data interleaver 223 in the mobile service data packet and the output of the unstructured RS encoder 225 in the RS parity and outputs it to the trellis encoding unit 226. [ .

한편 상기 패리티 치환기(224)는 메인 서비스 데이터 패킷이 입력되거나 또는 치환될 초기화 데이터 위치 홀더가 포함되지 않은 모바일 서비스 데이터 패킷이 입력되면 상기 데이터 인터리버(223)에서 출력되는 데이터와 RS 패리티를 선택하여 그대로 트렐리스 부호화부(226)로 출력한다. Meanwhile, the parity substitution unit 224 selects RS data and RS data output from the data interleaver 223 when a mobile service data packet including no initialization data location holder to be input or replaced is input, And outputs it to the trellis encoder 226.

상기 트렐리스 부호화부(226)는 바이트 단위의 데이터를 심볼 단위로 바꾸고 12-way 인터리빙하여 트렐리스 부호화한 후 동기 다중화기(230)로 출력한다. The trellis encoder 226 performs 12-way interleaving on the data of each byte unit in units of symbols, performs trellis encoding on the data, and outputs the resultant data to the synchronous multiplexer 230.

상기 동기 다중화기(230)는 트렐리스 부호화부(226)의 출력에 필드 동기와 세그먼트 동기를 삽입하여 송신부(240)의 파일롯 삽입기(241)로 출력한다. The synchronous multiplexer 230 inserts the field sync and the segment sync into the output of the trellis encoder 226 and outputs it to the pilot inserter 241 of the transmitter 240.

상기 파일롯 삽입기(241)에서 파일롯이 삽입된 데이터는 변조기(242)에서 기 설정된 변조 방식 예를 들어, VSB 방식으로 변조된 후 RF 업 컨버터(243)를 통해 각 수신 시스템으로 전송된다. The pilot inserted data in the pilot inserter 241 is modulated by a modulator 242 in a predetermined modulation scheme, for example, a VSB scheme, and then transmitted to each reception system via an RF up-converter 243.

도 13은 본 발명의 일 실시예에 따른 수신 시스템의 구성 블록도를 보이고 있다. 도 13의 수신 시스템에서는 전송 시스템에서 모바일 서비스 데이터 구간에 삽입하여 전송하는 기지 데이터 정보를 이용하여 반송파 동기 복원, 프레임 동기 복원 및 채널 등화 등을 수행함으로써, 수신 성능을 향상시킬 수 있다. 13 shows a block diagram of a receiving system according to an embodiment of the present invention. In the receiving system of FIG. 13, 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.

이를 위한 본 발명에 따른 수신 시스템은 튜너(901), 복조기(902), 등화기(903), 기지 데이터 검출기(904), 블록 복호기(905), 데이터 디포맷터(906), RS 프레임 복호기(907), 데이터 디랜더마이저(908)를 포함할 수 있다. 또한 수신 시스템은 데이터 디인터리버(909), RS 복호기(910), 및 데이터 디랜더마이저(911)를 더 포함할 수 있다. 본 발명은 설명의 편의를 위해 데이터 디포맷터(906), RS 프레임 복호기(907), 및 디랜더마이저(908)를 모바일 서비스 데이터 처리부라 하고, 데이터 디인터리버(909), RS 복호기(910), 및 데이터 디랜더마이저(911)를 메인 서비스 데이터 처리부라 하기로 한다.The receiving system according to the present invention includes a tuner 901, a demodulator 902, an equalizer 903, a known data detector 904, a block decoder 905, a data deformatter 906, an RS frame decoder 907 , And a data derandomizer 908. [ The receiving system may further include a data deinterleaver 909, an RS decoder 910, and a data derandomizer 911. The data de-formater 906, the RS frame decoder 907 and the derandomizer 908 are referred to as a mobile service data processing section and the data deinterleaver 909, the RS decoder 910, And the data derandomizer 911 will be referred to as a main service data processing unit.

즉, 상기 튜너(901)는 특정 채널의 주파수를 튜닝하여 중간 주파수(IF) 신호로 다운 컨버전한 후 복조기(902)와 기지 데이터 검출기(904)로 출력한다.That is, the tuner 901 tunes the frequency of a specific channel and downconverts it to an intermediate frequency (IF) signal, and outputs it to the demodulator 902 and the known data detector 904.

상기 복조기(902)는 입력되는 IF 신호에 대해 자동 이득 제어, 반송파 복구 및 타이밍 복구 등을 수행하여 기저대역 신호로 만든 후 등화기(903)와 기지 데이터 검출기(904)로 출력한다. The demodulator 902 performs automatic gain control, carrier recovery, and timing recovery on the IF signal to generate a baseband signal, and outputs the baseband signal to an equalizer 903 and a known data detector 904.

상기 등화기(903)는 상기 복조된 신호에 포함된 채널 상의 왜곡을 보상한 후 블록 복호기(905)로 출력한다. The equalizer 903 compensates for the distortion on the channel included in the demodulated signal and outputs the compensated signal to the block decoder 905.

이때 상기 기지 데이터 검출기(904)는 상기 복조기(902)의 입/출력 데이터 즉, 복조가 이루어지기 전의 데이터 또는 복조가 이루어진 후의 데이터로부터 송신측에서 삽입한 기지 데이터 위치를 검출하고 위치 정보와 함께 그 위치에서 발생시킨 기지 데이터의 심볼 열(sequence)을 복조기(902)와 등화기(903)로 출력한다. 또한 상기 기지 데이터 검출기(904)는 송신측에서 추가적인 부호화를 거친 모바일 서비스 데이터와 추가적인 부호화를 거치지 않은 메인 서비스 데이터를 상기 블록 복호기(905)에 의해서 구분할 수 있도록 하기 위한 정보를 상기 블록 복호기(905)로 출력한다. 그리고 도 23의 도면에서 연결 상태를 도시하지는 않았지만 상기 기지 데이터 검출기(904)에서 검출된 정보는 수신 시스템에 전반적으로 사용이 가능하며, 데이터 디포맷터(906)와 RS 프레임 복호기(907) 등에서 사용할 수도 있다.At this time, the known data detector 904 detects the known data position inserted at the transmitting side from the input / output data of the demodulator 902, that is, the data before demodulation or the demodulated data, To the demodulator 902 and the equalizer 903, a symbol sequence of the known data generated at the position. Also, the known data detector 904 transmits information to the block decoder 905 so that the mobile service data that has been further encoded at the transmitting end and the main service data that has not undergo further coding can be distinguished by the block decoder 905, . 23, the information detected by the known data detector 904 may be used in a general manner in the receiving system, and may be used in the data deformatter 906 and the RS frame decoder 907 or the like have.

상기 복조기(902)는 타이밍 복원이나 반송파 복구시에 상기 기지 데이터 심볼열을 이용함으로써, 복조 성능을 향상시킬 수 있고, 등화기(903)에서도 마찬가지로 상기 기지 데이터를 사용하여 등화 성능을 향상시킬 수 있다. 또한 상기 블록 복호기(905)의 복호 결과를 상기 등화기(903)로 피드백하여 등화 성능을 향상시킬 수도 있다. The demodulator 902 can improve demodulation performance by using the known data symbol sequence in timing recovery or carrier recovery, and the equalizer 903 can similarly improve the equalization performance using the known data . The decoding result of the block decoder 905 may be fed back to the equalizer 903 to improve the equalization performance.

상기 등화기(903)는 다양한 방법으로 채널 등화를 수행할 수 있는데, 본 발명에서는 필드 동기 구간 및 기지 데이터 구간에서 채널 임펄스 응답(Channel Impulse Response ; CIR)을 추정하여 채널 등화를 수행하는 것을 일 실시예로 설명한다. The equalizer 903 can perform channel equalization in various ways. In the present invention, channel equalization is performed by estimating a channel impulse response (CIR) in a field synchronization period and a known data interval. For example.

특히 본 발명에서는 전송 시스템에서 계층화되어 전송된 데이터 그룹 내 각 영역에 따라 채널 임펄스 응답(CIR)의 추정 및 적용을 다르게 하는 것을 일 실시예로 설명한다. 또한 본 발명은 송/수신측의 약속에 의해 위치와 내용을 알고 있는 기지 데이터와 필드 동기를 이용하여 CIR을 추정함으로써, 채널 등화를 더욱 안정적으로 수행하도록 하는데 있다.Particularly, in the present invention, the estimation and the application of the channel impulse response (CIR) are different according to each region in the data group layered and transmitted in the transmission system. In addition, the present invention estimates the CIR using known data and field synchronization, which are known to the location and contents according to the promise of the transmitting / receiving side, so as to perform channel equalization more stably.

이때 등화를 위해 입력된 하나의 데이터 그룹은 도 12a와 같이, A 내지 C 영역으로 구분되고, 다시 A 영역은 A1~A5 영역으로, B 영역은 B1,B2 영역으로, C1 영역은 C1~C3 영역으로 구분되어 있는 것을 일 실시예로 한다. 12A, a region A is divided into regions A1 to A5, a region B is divided into regions B1 and B2, a region C1 is divided into regions C1 to C3 As shown in FIG.

도 12a와 같은 데이터 구조에서 필드 동기로부터 추정되는 CIR을 CIR_FS 라고 하고, A 영역에 존재하는 다섯 개의 기지 데이터 열(sequence)로부터 추정되는 CIR을 순서대로 CIR_N0, CIR_N1, CIR_N2, CIR_N3, CIR_N4 라고 하자. Let CIR_FS be a CIR estimated from field synchronization in the data structure as shown in FIG. 12A, and let CIR_N0, CIR_N1, CIR_N2, CIR_N3, and CIR_N4 be CIRs estimated from five known data sequences in the A region.

본 발명은 상기 필드 동기와 기지 데이터 열로부터 추정된 CIR을 이용하여 데이터 그룹 내 데이터에 대해 채널 등화를 수행하는데, 이때 데이터 그룹의 각 영역의 특징에 따라 상기 추정된 CIR들 중 하나를 그대로 사용하기도 하고, 적어도 복수개 이상의 CIR을 보간(interpolation)하거나, 외삽(extrapolation)하여 생성된 CIR을 사용하기도 한다. The present invention performs channel equalization on data in a data group using the CIR estimated from the field sync and known data streams. At this time, one of the estimated CIRs is used as it is according to the characteristics of each region of the data group And CIRs generated by interpolation of at least a plurality of CIRs or extrapolation are used.

여기서 보간(interpolation)은 어떤 함수 F(x)에 대해 시점 Q에서의 함수값 F(Q)와 시점 S에서의 함수값 F(S)를 알고 있을 때 Q와 S 사이의 어떤 시점에서의 함수값을 추정하는 것을 의미하며, 상기 보간의 가장 간단한 예로 선형 보간(Linear Interpolation)이 있다. 상기 선형 보간 기법은 수많은 보간 기법 중 가장 간단한 예이며 상기한 방법 외에 여러 가지 다양한 보간 기법을 사용할 수 있으므로 본 발명은 상기된 예로 제한되지 않을 것이다. Here, interpolation is a function value at a certain point between Q and S when a function value F (Q) at a point Q and a function value F (S) at a point S are known for a certain function F (x) And the most simple example of the interpolation is linear interpolation. The linear interpolation technique is the simplest example of a number of interpolation techniques, and various other interpolation techniques may be used in addition to the above-mentioned method. Therefore, the present invention is not limited to the above example.

또한 외삽(extrapolation)은 어떤 함수 F(x)에 대해 시점 Q에서의 함수값 F(Q)와 시점 S에서의 함수값 F(S)를 알고 있을 때 Q와 S 사이의 구간이 아닌 바깥쪽의 시점에서의 함수값을 추정하는 것을 의미한다. 상기 외삽의 가장 간단한 예로 선형 외삽(Linear Extrapolation)이 있다. 상기 선형 외삽 기법은 수많은 외삽 기법 중 가장 간단한 예이며 상기한 방법 외에 여러 가지 다양한 외삽 기법을 사용할 수 있으므로 본 발명은 상기된 예로 제한되지 않을 것이다. Also, extrapolation is a process that determines the function value F (Q) at time Q and the function value F (S) at time S for a certain function F (x) It means to estimate the function value at the time point. The simplest example of such extrapolation is linear extrapolation. The linear extrapolation technique is the simplest example of a number of extrapolation techniques, and various extrapolation techniques can be used in addition to the above-described method, so that the present invention is not limited to the above example.

즉, 상기 C1 영역의 경우, 이전 데이터 그룹에서 추정한 CIR_N4, 채널 등화를 수행할 현재 데이터 그룹에서 추정한 CIR_FS, 또는 현재 데이터 그룹의 CIR_FS와 CIR_N0를 외삽하여 생성한 CIR 중 하나를 사용하여 채널 등화를 수행할 수 있다. That is, in the case of the C1 region, CIR_N4 estimated from the previous data group, CIR_FS estimated from the current data group to be channelized, or CIR generated by extrapolating CIR_FS and CIR_N0 of the current data group, Can be performed.

상기 B1 영역의 경우, C1 영역과 같이 여러 가지 방법이 적용 가능하다. 일 실시예로, 현재 데이터 그룹에서 추정한 CIR_FS와 CIR_N0를 선형 외삽(extrapolation)하여 생성한 CIR을 사용하여 채널 등화를 수행할 수 있다. 또는 현재 데이터 그룹에서 추정한 CIR_FS를 사용하여 채널 등화를 수행할 수도 있다.In the case of the B1 region, various methods such as the C1 region are applicable. In one embodiment, channel equalization may be performed using a CIR generated by linear extrapolation of CIR_FS and CIR_N0 estimated in the current data group. Alternatively, channel equalization may be performed using CIR_FS estimated in the current data group.

상기 A1 영역의 경우, 현재 데이터 그룹에서 추정한 CIR_FS와 CIR_N0를 보간하여 생성한 CIR를 사용하여 채널 등화를 수행할 수 있다. 또는 현재 데이터 그룹에서 추정한 CIR_FS와 CIR_N0 중 어느 하나를 이용하여 채널 등화를 수행할 수도 있다.In the case of the area A1, channel equalization can be performed using the CIR generated by interpolating CIR_FS and CIR_N0 estimated in the current data group. Alternatively, channel equalization may be performed using one of CIR_FS and CIR_N0 estimated in the current data group.

상기 A2~A5 영역의 경우, 현재 데이터 그룹에서 추정한 CIR_N(i-1)과 CIR_N(i)를 보간하여 생성한 CIR을 사용하여 채널 등화를 수행할 수 있다. 또는 현재 데이터 그룹에서 추정한 CIR_N(i-1)과 CIR_N(i) 중 어느 하나를 이용하여 채널 등화를 수행할 수도 있다. In the case of the areas A2 to A5, channel equalization can be performed using the CIR generated by interpolating CIR_N (i-1) and CIR_N (i) estimated in the current data group. Alternatively, channel equalization may be performed using one of CIR_N (i-1) and CIR_N (i) estimated in the current data group.

상기 B2,C2,C3 영역의 경우, 현재 데이터 그룹에서 추정한 CIR_N3와 CIR_N4를 외삽하여 생성한 CIR을 사용하여 채널 등화를 수행할 수 있다. 또는 현재 데이터 그룹에서 추정한 CIR_N4를 사용하여 채널 등화를 수행할 수도 있다.In the case of the B2, C2, and C3 regions, channel equalization can be performed using the CIR generated by extrapolating CIR_N3 and CIR_N4 estimated in the current data group. Alternatively, channel equalization may be performed using CIR_N4 estimated from the current data group.

이렇게 함으로써, 상기 데이터 그룹에 삽입된 데이터에 대해 채널 등화시에 최적의 성능을 얻을 수가 있다. By doing so, optimum performance can be obtained at the time of channel equalization with respect to the data inserted in the data group.

지금까지 본 발명에서 설명한 데이터 그룹 내 각 영역에서 채널 등화를 위해 CIR을 구하는 방법들은 본 발명의 이해를 돕기 위한 실시예들이며, 이러한 방법들은 보다 넓고 다양하게 응용될 수 있으므로 본 발명은 상기 실시예로 제시한 것에 제한되지 않을 것이다. The methods for obtaining CIRs for channel equalization in each region of the data group described in the present invention are embodiments for facilitating understanding of the present invention. Since these methods can be applied to a wide variety of applications, It will not be limited to the one presented.

한편 상기 등화기(903)에서 채널 등화된 후 블록 복호기(905)로 입력되는 데이터가 송신측에서 블록 부호화와 트렐리스 부호화가 모두 수행된 데이터(예를 들어, RS 프레임 내 데이터, 시그널링 정보 데이터)이면 송신측의 역으로 트렐리스 복호 및 블록 복호가 수행되고, 블록 부호화는 수행되지 않고 트렐리스 부호화만 수행된 데이터(예를 들어, 메인 서비스 데이터)이면 트렐리스 복호만 수행된다. On the other hand, when the data input to the block decoder 905 after channel equalization in the equalizer 903 is subjected to both block coding and trellis coding on the transmitting side (for example, data in the RS frame, signaling information data , The trellis decoding and the block decoding are performed inversely to the transmitting side, and only the trellis decoding is performed if the data is the data in which only the trellis coding is performed without performing the block coding (for example, the main service data).

상기 블록 복호기(905)에서 트렐리스 복호 및 블록 복호된 데이터는 데이터 디포맷터(906)로 출력된다. 즉, 상기 블록 복호기(905)는 데이터 그룹 내 데이터들 중 기지 데이터, 트렐리스 초기화 데이터, MPEG 헤더 그리고 전송 시스템의 RS 부호기/비체계적 RS 부호기 또는 비체계적 RS 부호기에서 부가된 RS 패리티 데이터들을 제거하고 데이터 디포맷터(906)로 출력한다. 여기서 데이터 제거는 블록 복호전에 이루어질 수도 있고, 블록 복호 중이나 블록 복호 후에 이루어질 수도 있다. 만일 송신측에서 시그널링 정보를 데이터 그룹에 포함하여 전송한다면, 상기 시그널링 정보는 데이터 디포맷터(906)로 출력된다.The trellis-decoded and block-decoded data in the block decoder 905 are output to a data deformatter 906. That is, the block decoder 905 removes RS data, RS initialization data, Trellis initialization data, and RS parity data added in the RS encoder / non-systematic RS encoder or non-systematic RS encoder of the transmission system, And outputs it to the data deformatter 906. Here, the data removal may be performed before the block decoding, or may be performed during the block decoding or after the block decoding. If the transmitting side includes signaling information in the data group, the signaling information is output to the data deformatter 906.

한편 상기 블록 복호기(905)에서 트렐리스 복호된 데이터는 데이터 디인터리버(909)로 출력된다. 이때 상기 블록 복호기(905)에서 트렐리스 복호되어 데이터 디인터리버(909)로 출력되는 데이터는 메인 서비스 데이터뿐만 아니라, RS 프레임 내 데이터, 시그널링 정보도 포함될 수 있다. 또한 송신측에서 전처리기(230) 이후에 부가되는 RS 패리티 데이터도 상기 데이터 디인터리버(909)로 출력되는 데이터에 포함될 수 있다.On the other hand, the data subjected to the trellis decoding by the block decoder 905 is output to the data deinterleaver 909. In this case, the data that is Trellis-decoded in the block decoder 905 and output to the data deinterleaver 909 may include not only the main service data but also data in the RS frame and signaling information. Also, the RS parity data added after the preprocessor 230 on the transmission side may be included in the data output to the data deinterleaver 909.

다른 실시예로, 송신측에서 블록 부호화는 수행되지 않고, 트렐리스 부호화만 수행된 데이터는 상기 블록 복호기(905)에서 그대로 바이패스되어 데이터 디인터리버(909)로 출력될 수도 있다. 이 경우 상기 데이터 디인터리버(909) 전단에 트렐리스 복호기를 구비하여야 한다.In another embodiment, block coding is not performed on the transmission side, and data subjected to only trellis coding may be bypassed as it is in the block decoder 905 and output to the data deinterleaver 909. In this case, a trellis decoder should be provided in front of the data deinterleaver 909.

상기 블록 복호기(905)는 입력되는 데이터가 송신측에서 블록 부호화는 수행되지 않고 트렐리스 부호화만 수행된 데이터라면, 입력 데이터에 대해 비터비 복호를 수행하여 하드 판정값을 출력하거나, 또는 소프트 판정값을 하드 판정하고 그 결과를 출력할 수도 있다. The block decoder 905 outputs a hard decision value by performing Viterbi decoding on the input data if the input data is data in which only block coding is not performed on the transmission side and only Trellis coding is performed, The value may be determined hard and the result may be output.

상기 블록 복호기(905)는 입력되는 데이터가 송신측에서 블록 부호화와 트렐리스 부호화가 모두 수행된 데이터라면, 입력 데이터에 대하여 소프트 판정값을 출력한다.The block decoder 905 outputs a soft decision value to the input data if the input data is data in which both block coding and trellis coding are performed on the transmission side.

즉, 상기 블록 복호기(905)는 입력되는 데이터가 송신측에서 블록 처리기(303)에서 블록 부호화가 수행되고, 트렐리스 부호화부(256)에서 트렐리스 부호화가 수행된 데이터라면, 송신측의 역으로 트렐리스 복호와 블록 복호를 수행한다. 이때 송신측의 블록 처리기는 외부 부호기로 볼 수 있고, 트렐리스 부호화부는 내부 부호기로 볼 수 있다. That is, if the input data is block-encoded in the block processor 303 on the transmission side and Trellis-coded in the trellis encoder 256, the block decoder 905 outputs Conversely, trellis decoding and block decoding are performed. At this time, the block processor on the transmission side can be regarded as an external encoder, and the trellis encoder can be regarded as an internal encoder.

이러한 연접 부호의 복호시에 외부 부호의 복호 성능을 최대한 발휘하기 위해서는 내부 부호의 복호기에서 소프트 판정값을 출력하는 것이 좋다.In order to maximize the decoding performance of the outer code in decoding the concatenated code, it is preferable to output the soft decision value in the decoder of the inner code.

한편 상기 데이터 디인터리버(909), RS 복호기(910), 및 디랜더마이저(911)는 메인 서비스 데이터를 수신하기 위해 필요한 블록들로서, 오직 모바일 서비스 데이터만을 수신하기 위한 수신 시스템 구조에서는 필요하지 않을 수도 있다. The data deinterleaver 909, the RS decoder 910, and the derandomizer 911 are blocks necessary for receiving main service data, and may be unnecessary in a receiving system structure for receiving only mobile service data have.

상기 데이터 디인터리버(909)는 송신측의 데이터 인터리버의 역과정으로 상기 블록 복호기(905)에서 출력되는 데이터를 디인터리빙하여 RS 복호기(910)로 출력한다. 상기 데이터 디인터리버(909)로 입력되는 데이터는 메인 서비스 데이터 뿐만 아니라, 모바일 서비스 데이터, 기지 데이터, RS 패리티, MPEG 헤더 등을 포함할 수 있다. 이때 상기 입력되는 데이터들 중 메인 서비스 데이터와 메인 서비스 데이터 패킷에 부가된 RS 패리티 데이터만 RS 복호기(910)로 출력될 수도 있고, 상기 데이터 디랜더마이저(911) 이후에 메인 서비스 데이터를 제외한 나머지 데이터들이 제거될 수도 있다. 본 발명에서는 메인 서비스 데이터와 메인 서비스 데이터 패킷에 부가된 RS 패리티만 RS 복호기(910)로 입력되는 것을 일 실시예로 한다.The data deinterleaver 909 deinterleaves the data output from the block decoder 905 and outputs the deinterleaved data to the RS decoder 910 in the reverse process of the data interleaver on the transmitting side. The data input to the data deinterleaver 909 may include not only the main service data but also mobile service data, known data, RS parity, MPEG header, and the like. At this time, only the RS parity data added to the main service data and the main service data packet among the input data may be output to the RS decoder 910, and after the data derandomizer 911, May be removed. In the present invention, only the RS parity added to the main service data and the main service data packet is input to the RS decoder 910.

상기 RS 복호기(910)는 디인터리빙된 데이터에 대해 체계적 RS 복호를 수행하여 디랜더마이저(911)로 출력한다. The RS decoder 910 performs systematic RS decoding on the deinterleaved data and outputs the decoded data to the derandomizer 911.

상기 디랜더마이저(911)는 RS 복호기(910)의 출력을 입력받아서 송신기의 랜더마이저와 동일한 의사 랜덤(pseudo random) 바이트를 발생시켜 이를 bitwise XOR(exclusive OR)한 후 MPEG 동기 바이트를 매 패킷의 앞에 삽입하여 188 바이트 메인 서비스 데이터 패킷 단위로 출력한다. The derandomizer 911 receives the output of the RS decoder 910 and generates pseudo random bytes that are the same as the renderer of the transmitter and performs bitwise XOR (exclusive OR) And output in units of 188 bytes of main service data packet.

한편 상기 블록 복호기(905)에서 데이터 디포맷터(906)로 출력되는 데이터의 형태는 데이터 그룹 형태이다. 이때 상기 데이터 디포맷터(906)에서는 입력 데이터 그룹의 구성을 이미 알고 있기 때문에 데이터 그룹 내에서 전송 파라미터 등을 담고있는 시그널링 정보와 모바일 서비스 데이터를 구분한다. 그리고 구분된 시그널링 정보는 시그널링 정보를 처리하는 블록(도시되지 않음)으로 전달하고, 모바일 서비스 데이터는 RS 프레임 복호기(907)로 출력한다. On the other hand, the type of data output from the block decoder 905 to the data deformatter 906 is a data group type. At this time, since the configuration of the input data group is already known in the data deformatter 906, signaling information including transmission parameters and the like are distinguished in the data group from the mobile service data. The demodulated signaling information is transmitted to a block (not shown) for processing the signaling information, and the mobile service data is output to the RS frame decoder 907.

즉, 상기 RS 프레임 복호기(907)는 상기 데이터 디포맷터(906)로부터 RS 부호화 및 CRC 부호화된 모바일 서비스 데이터만을 입력받는다. That is, the RS frame decoder 907 receives only RS-encoded and CRC-encoded mobile service data from the data deformatter 906.

상기 RS 프레임 복호기(907)에서는 송신 시스템의 RS 프레임 부호기에서의 역과정을 수행하여 RS 프레임 내 에러들을 정정한 후, 에러 정정된 모바일 서비스 데이터 패킷에 RS 프레임 부호화 과정에서 제거되었던 1 바이트의 MPEG 동기 바이트를 부가하여 디랜더마이저(908)로 출력한다.The RS frame decoder 907 corrects the errors in the RS frame by performing an inverse process in the RS frame encoder of the transmission system, and then performs error correction on the error corrected mobile service data packet using the 1-byte MPEG synchronous Adds the byte and outputs it to the derandomizer 908.

상기 디랜더마이저(908)는 입력받은 모바일 서비스 데이터에 대해서 송신 시스템의 랜더마이저의 역과정에 해당하는 디랜더마이징을 수행하여 출력함으로써, 송신 시스템에서 송신한 모바일 서비스 데이터를 얻을 수가 있게 된다.The derandomizer 908 performs de-randomization corresponding to the inverse process of the randomizer of the transmission system with respect to the received mobile service data and outputs the mobile service data, thereby obtaining the mobile service data transmitted from the transmission system.

지금까지 설명한 본 발명은 상술한 실시예에 한정되지 않으며, 첨부된 청구범위에서 알 수 있는 바와 같이 본 발명이 속한 분야의 통상의 지식을 가지 자에 의해 변형이 가능하고 이러한 변형은 본 발명의 범위에 속한다. It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, .

100 : 서비스 다중화기 110 : PSI/PSIP 발생기
120 : TS 패킷 인캡슐레이터 130 :트랜스포트 다중화기
131 : 메인 서비스 다중화기 132 : 트랜스포트 패킷 다중화기
200 : 송신기 211 : 역다중화기
212 : 패킷 지터 경감기 213 : TS 패킷 디캡슐레이터
214 : 전처리기 215 : 패킷 다중화기
220 : 후처리기 230 : 동기 다중화기
240 : 송신부
100: service multiplexer 110: PSI / PSIP generator
120: TS packet encapsulator 130: Transport multiplexer
131: main service multiplexer 132: transport packet multiplexer
200: transmitter 211: demultiplexer
212: packet jitter rewinder 213: TS packet decapsulator
214: preprocessor 215: packet multiplexer
220: Post processor 230: Synchronous multiplexer
240:

Claims (10)

데이터 그룹마다 모바일 서비스 데이터에 대한 트랜스포트 스트림(Trasnport stream, TS) 패킷들을 출력하는 패킷 포맷터; 및
상기 데이터 그룹 내의 데이터 바이트들을 인터리빙하는 데이터 인터리버를 포함하고,
여기서 인터리빙 전의 제1 데이터 그룹 내의 상기 패킷들은 각각 207 바이트 길이를 갖고, 인터리빙 후의 제2 데이터 그룹은 복수의 세그먼트들을 포함하고, 상기 인터리버는 상기 제1 데이터 그룹내의 상기 패킷들의 데이터를 상기 제2 데이터 그룹의 상기 복수의 세그먼트로 분산하고, 상기 제2 데이터 그룹에 포함된 N번째 세그먼트는 M 바이트의 모바일 서비스 데이터 바이트들을 포함하고, 상기 제2 데이터 그룹에 포함된 (N+1)번째 세그먼트는 L 바이트의 모바일 서비스 데이터 바이트들을 포함하고, 상기 제2 데이터 그룹에 포함된 (N+2)번째 세그먼트는 K 바이트의 모바일 서비스 데이터 바이트들을 포함하고, 상기 M, L 및 K는 M<L<K를 만족하고, 상기 N, M, L 및 K는 모두 자연수인; 디지털 방송 신호 송신 장치.
A packet formatter for outputting transport stream (TS) packets for mobile service data for each data group; And
And a data interleaver interleaving data bytes in the data group,
Wherein the packets in the first data group before interleaving have a length of 207 bytes each, the second interleaved data group includes a plurality of segments, and the interleaver is operable to transmit the data of the packets in the first data group to the second data Wherein the Nth segment included in the second data group includes M bytes of mobile service data bytes and the (N + 1) th segment included in the second data group is divided into L (N + 2) th segment comprises K bytes of mobile service data bytes, M, L and K comprise M <L <K N, M, L and K are all natural numbers; A digital broadcast signal transmitting apparatus.
제 2항에 있어서,
상기 데이터 그룹은 시그널링 정보를 더 포함하는 디지털 방송 신호 송신 장치.
3. The method of claim 2,
Wherein the data group further comprises signaling information.
제 3항에 있어서,
상기 시그널링 정보는 전송 파라미터 채널(transmission parameter channel, TPC) 데이터를 더 포함하는 디지털 방송 신호 송신 장치.
The method of claim 3,
Wherein the signaling information further includes transmission parameter channel (TPC) data.
제 4항에 있어서,
상기 데이터 그룹은 적어도 세 개의 영역으로 구분되는 디지털 방송 신호 송신 장치.
5. The method of claim 4,
Wherein the data group is divided into at least three areas.
데이터 그룹마다 모바일 서비스 데이터에 대한 트랜스포트 스트림(Trasnport stream, TS) 패킷들을 출력하는 단계; 및
데이터 인터리버가 상기 데이터 그룹 내의 데이터 바이트들을 인터리빙하는 단계를 포함하고,
여기서 인터리빙 전의 제1 데이터 그룹 내의 상기 패킷들은 각각 207 바이트 길이를 갖고, 인터리빙 후의 제2 데이터 그룹은 복수의 세그먼트들을 포함하고, 상기 데이터 인터리버는 상기 제1 데이터 그룹내의 상기 패킷들의 데이터를 상기 제2 데이터 그룹의 상기 복수의 세그먼트로 분산하고, 상기 제2 데이터 그룹에 포함된 N번째 세그먼트는 M 바이트의 모바일 서비스 데이터 바이트들을 포함하고, 상기 제2 데이터 그룹에 포함된 (N+1)번째 세그먼트는 L 바이트의 모바일 서비스 데이터 바이트들을 포함하고, 상기 제2 데이터 그룹에 포함된 (N+2)번째 세그먼트는 K 바이트의 모바일 서비스 데이터 바이트들을 포함하고, 상기 M, L 및 K는 M<L<K를 만족하고, 상기 N, M, L 및 K는 모두 자연수인; 디지털 방송 신호 송신 방법.
Outputting transport stream (TS) packets for mobile service data for each data group; And
The data interleaver interleaving the data bytes in the data group,
Wherein the packets in the first data group before interleaving have a length of 207 bytes each, the second interleaved data group includes a plurality of segments, and the data interleaver transmits data of the packets in the first data group to the second The Nth segment included in the second data group includes M bytes of mobile service data bytes, and the (N + 1) th segment included in the second data group is distributed to the plurality of segments of the data group, (N + 2) th segment comprises K bytes of mobile service data bytes, M, L and K comprise M <L <K , N, M, L and K are all natural numbers; A digital broadcast signal transmission method.
제 6항에 있어서,
상기 데이터 그룹은 시그널링 정보를 더 포함하는 디지털 방송 신호 송신 방법.
The method according to claim 6,
Wherein the data group further comprises signaling information.
제 7항에 있어서,
상기 시그널링 정보는 전송 파라미터 채널(transmission parameter channel, TPC) 데이터를 더 포함하는 디지털 방송 신호 송신 방법.
8. The method of claim 7,
Wherein the signaling information further includes transmission parameter channel (TPC) data.
제 8항에 있어서,
상기 데이터 그룹은 적어도 세 개의 영역으로 구분되는 디지털 방송 신호 송신 방법.
9. The method of claim 8,
Wherein the data group is divided into at least three areas.
모바일 서비스 데이터를 포함하는 디지털TV(Digital television, DTV) 신호를 수신하는 튜너,
여기서, 상기 모바일 서비스 데이터는 데이터 그룹에 포함되고, 제1 데이터 그룹은 복수의 세그먼트들을 포함하고, 상기 제1 데이터 그룹 내의 복수의 세그먼트들을 디인터리빙하여 207 바이트 길이를 갖는 데이터 패킷들을 포함하는 제2 데이터 그룹을 얻으며, 상기 제1 데이터 그룹에 포함된 N번째 세그먼트는 M 바이트의 모바일 서비스 데이터 바이트들을 포함하고, 상기 제1 데이터 그룹에 포함된 (N+1)번째 세그먼트는 L 바이트의 모바일 서비스 데이터 바이트들을 포함하고, 상기 제1 데이터 그룹에 포함된 (N+2)번째 세그먼트는 K 바이트의 모바일 서비스 데이터 바이트들을 포함하고, 상기 M, L 및 K는 M<L<K를 만족하고, 상기 N, M, L 및 K는 모두 자연수이고;
상기 모바일 서비스 데이터를 포함하는 상기 DTV 신호에 대해 복조를 수행하는 디모듈레이터; 및
상기 복조된 DTV 신호에 대해 복호를 수행하는 디코더;를 포함하는 디지털 방송 신호 수신 장치.
A tuner for receiving a digital television (DTV) signal including mobile service data,
Wherein the mobile service data is included in a data group, wherein the first data group includes a plurality of segments, and deinterleaves the plurality of segments in the first data group to provide a second Wherein the Nth segment included in the first data group includes M bytes of mobile service data bytes and the (N + 1) th segment included in the first data group includes L bytes of mobile service data (N + 2) th segment included in the first data group includes K bytes of mobile service data bytes, M, L and K satisfy M <L <K, and N , M, L, and K are all natural numbers;
A demodulator for demodulating the DTV signal including the mobile service data; And
And a decoder for decoding the demodulated DTV signal.
모바일 서비스 데이터를 포함하는 디지털TV(Digital television, DTV) 신호를 수신하는 단계,
여기서, 상기 모바일 서비스 데이터는 데이터 그룹에 포함되고, 제1 데이터 그룹은 복수의 세그먼트들을 포함하고, 상기 제1 데이터 그룹 내의 복수의 세그먼트들을 디인터리빙하여 207 바이트 길이를 갖는 데이터 패킷들을 포함하는 제2 데이터 그룹을 얻으며, 상기 제1 데이터 그룹에 포함된 N번째 세그먼트는 M 바이트의 모바일 서비스 데이터 바이트들을 포함하고, 상기 제1 데이터 그룹에 포함된 (N+1)번째 세그먼트는 L 바이트의 모바일 서비스 데이터 바이트들을 포함하고, 상기 제1 데이터 그룹에 포함된 (N+2)번째 세그먼트는 K 바이트의 모바일 서비스 데이터 바이트들을 포함하고, 상기 M, L 및 K는 M<L<K를 만족하고, 상기 N, M, L 및 K는 모두 자연수이고;
상기 모바일 서비스 데이터를 포함하는 상기 DTV 신호에 대해 복조를 수행하는 단계; 및
상기 복조된 DTV 신호에 대해 복호를 수행하는 단계;를 포함하는 디지털 방송 신호 수신 방법.
Receiving a digital television (DTV) signal including mobile service data,
Wherein the mobile service data is included in a data group, wherein the first data group includes a plurality of segments, and deinterleaves the plurality of segments in the first data group to provide a second Wherein the Nth segment included in the first data group includes M bytes of mobile service data bytes and the (N + 1) th segment included in the first data group includes L bytes of mobile service data (N + 2) th segment included in the first data group includes K bytes of mobile service data bytes, M, L and K satisfy M <L <K, and N , M, L, and K are all natural numbers;
Performing demodulation on the DTV signal including the mobile service data; And
And performing decoding on the demodulated DTV signal.
KR1020140074878A 2007-02-09 2014-06-19 Apparatus and Method for transmitting/receiving Digital broadcasting signal KR101581365B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US88924507P 2007-02-09 2007-02-09
US60/889,245 2007-02-09

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR2020140003654 Division 2014-05-12

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020150180268A Division KR101654068B1 (en) 2007-02-09 2015-12-16 Apparatus and Method for transmitting/receiving Digital broadcasting signal

Publications (2)

Publication Number Publication Date
KR20140092278A true KR20140092278A (en) 2014-07-23
KR101581365B1 KR101581365B1 (en) 2015-12-30

Family

ID=39883975

Family Applications (5)

Application Number Title Priority Date Filing Date
KR1020070036610A KR20080074680A (en) 2007-02-09 2007-04-13 Digital broadcasting system and method of processing data
KR1020140074878A KR101581365B1 (en) 2007-02-09 2014-06-19 Apparatus and Method for transmitting/receiving Digital broadcasting signal
KR1020150180268A KR101654068B1 (en) 2007-02-09 2015-12-16 Apparatus and Method for transmitting/receiving Digital broadcasting signal
KR1020160105452A KR101666906B1 (en) 2007-02-09 2016-08-19 Apparatus and Method for transmitting/receiving Digital broadcasting signal
KR1020160118013A KR101723416B1 (en) 2007-02-09 2016-09-13 Apparatus and Method for transmitting/receiving Digital broadcasting signal

Family Applications Before (1)

Application Number Title Priority Date Filing Date
KR1020070036610A KR20080074680A (en) 2007-02-09 2007-04-13 Digital broadcasting system and method of processing data

Family Applications After (3)

Application Number Title Priority Date Filing Date
KR1020150180268A KR101654068B1 (en) 2007-02-09 2015-12-16 Apparatus and Method for transmitting/receiving Digital broadcasting signal
KR1020160105452A KR101666906B1 (en) 2007-02-09 2016-08-19 Apparatus and Method for transmitting/receiving Digital broadcasting signal
KR1020160118013A KR101723416B1 (en) 2007-02-09 2016-09-13 Apparatus and Method for transmitting/receiving Digital broadcasting signal

Country Status (1)

Country Link
KR (5) KR20080074680A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102439967A (en) 2009-05-21 2012-05-02 三星电子株式会社 Digital broadcasting transmitter, digital broadcasting receiver, and method for configuring and processing a stream for same
KR101743123B1 (en) 2009-05-21 2017-06-15 삼성전자주식회사 Digital broadcast transmitter, digital broadcast receiver, methods for constructing and processing streams thereof
KR102157654B1 (en) * 2015-11-01 2020-09-18 엘지전자 주식회사 Broadcast signal transmission apparatus, broadcast signal reception apparatus, broadcast signal transmission method, and broadcast signal reception method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070004371A (en) * 2005-07-04 2007-01-09 삼성전자주식회사 Apparatus for data transmission and reception and method for data transmission and reception
WO2007030590A1 (en) * 2005-09-08 2007-03-15 Qualcomm Incorporated Method and apparatus for delivering content based on receivers characteristics
JP2007096403A (en) * 2005-09-27 2007-04-12 Toshiba Corp Broadcast receiver
KR20080057654A (en) * 2006-12-20 2008-06-25 엘지전자 주식회사 Digital broadcasting system and data processing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100819266B1 (en) * 2005-04-27 2008-10-27 삼성전자주식회사 Method and apparatus for transmitter and receiver of supporting priority data transmission in a digital audio broadcasting system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070004371A (en) * 2005-07-04 2007-01-09 삼성전자주식회사 Apparatus for data transmission and reception and method for data transmission and reception
WO2007030590A1 (en) * 2005-09-08 2007-03-15 Qualcomm Incorporated Method and apparatus for delivering content based on receivers characteristics
JP2007096403A (en) * 2005-09-27 2007-04-12 Toshiba Corp Broadcast receiver
KR20080057654A (en) * 2006-12-20 2008-06-25 엘지전자 주식회사 Digital broadcasting system and data processing method

Also Published As

Publication number Publication date
KR20160102146A (en) 2016-08-29
KR101581365B1 (en) 2015-12-30
KR101654068B1 (en) 2016-09-05
KR20080074680A (en) 2008-08-13
KR101723416B1 (en) 2017-04-05
KR20160111890A (en) 2016-09-27
KR101666906B1 (en) 2016-10-17
KR20160002622A (en) 2016-01-08

Similar Documents

Publication Publication Date Title
USRE48776E1 (en) Digital broadcasting system and data processing method
US9918113B2 (en) Digital broadcasting system and method of processing data
USRE46026E1 (en) Digital broadcasting system and method of processing data
KR101221914B1 (en) Apparatus and method for transmitting Digital broadcasting signal
US7889766B2 (en) Digital broadcasting system and method of processing data
KR101253186B1 (en) Digital broadcasting system and method of processing data in digital broadcasting system
KR101199387B1 (en) Digital broadcasting system and data processing method
KR101723416B1 (en) Apparatus and Method for transmitting/receiving Digital broadcasting signal
KR101253188B1 (en) Apparatus and Method for transmitting/receiving broadcasting signal
KR101314614B1 (en) Digital broadcasting system and method of processing data
KR101295387B1 (en) Apparatus and Method for transmitting/receiving Digital broadcasting signal
KR100917213B1 (en) Receiving system and method of processing data in receiving system
CA2671537C (en) Digital broadcasting system and method of processing data
KR100930899B1 (en) Receiving system and data processing method

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
A107 Divisional application of patent
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee