KR100732323B1 - Bandwidth control method and apparatus for transmission of auxiliary data in terrestiral dmb broadcasting system - Google Patents

Bandwidth control method and apparatus for transmission of auxiliary data in terrestiral dmb broadcasting system Download PDF

Info

Publication number
KR100732323B1
KR100732323B1 KR1020050133052A KR20050133052A KR100732323B1 KR 100732323 B1 KR100732323 B1 KR 100732323B1 KR 1020050133052 A KR1020050133052 A KR 1020050133052A KR 20050133052 A KR20050133052 A KR 20050133052A KR 100732323 B1 KR100732323 B1 KR 100732323B1
Authority
KR
South Korea
Prior art keywords
packet
null
video
packets
additional data
Prior art date
Application number
KR1020050133052A
Other languages
Korean (ko)
Inventor
최장홍
김상훈
김용구
곽천섭
주정민
이동훈
황재식
김만식
경일수
Original Assignee
온타임텍 주식회사
한국방송공사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 온타임텍 주식회사, 한국방송공사 filed Critical 온타임텍 주식회사
Priority to KR1020050133052A priority Critical patent/KR100732323B1/en
Application granted granted Critical
Publication of KR100732323B1 publication Critical patent/KR100732323B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/12Systems in which the television signal is transmitted via one channel or a plurality of parallel channels, the bandwidth of each channel being less than the bandwidth of the television signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4343Extraction or processing of packetized elementary streams [PES]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H2201/00Aspects of broadcast communication
    • H04H2201/10Aspects of broadcast communication characterised by the type of broadcast system
    • H04H2201/11Aspects of broadcast communication characterised by the type of broadcast system digital multimedia broadcasting [DMB]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

A bandwidth control device for transmitting added data in a terrestrial DMB broadcasting system and a method thereof are provided to automatically control a compression rate of a video codec according to an amount of generated added data and transmit the added data by a desired amount for a desired time period. A bandwidth control device for transmitting added data in a terrestrial DMB broadcasting system includes an added data composing tool(200) for providing a manager with an element for composing added data, and outputting the composed added data. An A/V encoder(100) generates audio TS packets, video TS packets, and null packets by encoding audio signals and video signals. An automatic transmission controller(300) generates data TS packets from the added data and substitutes the null packets received from the A/V encoder with the data TS packet.

Description

지상파 디엠비 방송 시스템에서의 부가데이터 송출을 위한 대역제어방법 및 장치 {Bandwidth control method and apparatus for transmission of auxiliary data in Terrestiral DMB broadcasting system}Bandwidth control method and apparatus for transmitting additional data in terrestrial DMB broadcasting system {Bandwidth control method and apparatus for transmission of auxiliary data in Terrestiral DMB broadcasting system}

도 1은 본 발명의 지상파 DMB 방송 송출시스템의 구성을 보여주는 도면이다.1 is a view showing the configuration of a terrestrial DMB broadcasting transmission system of the present invention.

도 2는 본 발명의 A/V 인코더의 내부 구성요소와 주변 구성요소와의 연결관계를 보여주는 도면이다.2 is a diagram illustrating a connection relationship between internal components and peripheral components of the A / V encoder of the present invention.

도 3은 대역제어부의 내부구성을 보여주는 블록도이다.3 is a block diagram showing an internal configuration of a band control unit.

도 4는 버퍼제어기의 내부구성을 보여주는 블록도이다.4 is a block diagram showing an internal configuration of a buffer controller.

도 5는 TS 패키타이저에서 생성되는 CTS값이 연계된 TS 패킷의 형태를 보여주는 개념도이다.5 is a conceptual diagram illustrating a form of a TS packet associated with a CTS value generated by a TS packager.

도 6은 자동송출제어기의 내부구성을 보여주는 블록도이다.6 is a block diagram showing an internal configuration of an automatic delivery controller.

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

100 A/V 인코더, 110 비디오 코덱,100 A / V encoder, 110 video codecs,

120 오디오 코덱, 130 대역제어부,120 audio codec, 130 band controller,

200 부가데이터 저작툴, 300 자동송출제어기,200 additional data authoring tools, 300 automatic transmission controllers,

310 데이터 패키타이저, 320 TS 패키타이저,310 data packager, 320 TS packager,

330 널 패킷 치환기, 340 TS 패킷전송기.330 null packet replacer, 340 TS packet transmitter.

본 발명은 지상파 DMB 방송 시스템에 관한 것으로서, 특히 지상파 DMB 방송 시스템에서 실시간 부가데이터 송출을 위한 대역을 제어하는 방법 및 장치에 관한 것이다.The present invention relates to a terrestrial DMB broadcasting system, and more particularly, to a method and apparatus for controlling a band for real time additional data transmission in a terrestrial DMB broadcasting system.

지상파 DMB 방송 전송 시스템은 MPEG-2 시스템 계층의 트랜스포트 패킷 구조를 사용하고 있다. 패킷에 의한 전송 방식을 사용할 경우의 장점은 방송 프로그램 전송시 채널 환경에 따라 발생하는 잡음에 의한 데이터 손실을 막아주기 위해 에러 정정 부호를 사용할 수 있다는 것이다. 일정 크기의 패킷으로 전송하기 위해 방송 프로그램, 즉 방송 콘텐츠는 서비스에 따라 오디오와 비디오 등의 PES(Packetized Elementary Stream)라는 구조의 개별 스트림으로 구분되고, 이것이 다시 일정한 크기의 패킷에 실려서 다중화된다. 오디오와 비디오 이외에도 데이터도 개별 스트림으로 전송될 수 있다. DMB(Digital Multimedia Broadcasting)의 경우에는 MPEG-4 BIFS(BInary Format for Scenes)가 데이터 방송의 표준으로 사용되고 있다. MPEG-4 BIFS를 사용하면 멀티미디어와 동기된 텍스트를 표현하는 것이 가능하다.The terrestrial DMB broadcast transmission system uses a transport packet structure of the MPEG-2 system layer. An advantage of using a packet transmission method is that an error correction code can be used to prevent data loss due to noise generated by channel environment during transmission of a broadcast program. In order to transmit a packet of a predetermined size, a broadcast program, that is, broadcast content, is divided into individual streams of a packetized elementary stream (PES) structure, such as audio and video, according to a service, which is then multiplexed into a packet of a constant size. In addition to audio and video, data can also be sent in separate streams. In the case of DMB (Digital Multimedia Broadcasting), MPEG-4 Binary Format for Scenes (BIFS) is used as a standard for data broadcasting. Using MPEG-4 BIFS, it is possible to express text synchronized with multimedia.

MPEG-2 방식의 전송규격에서는 188바이트 크기의 트랜스포트 패킷(Transport Packet)이 규정되어 있다. 트랜스포트 패킷은 4바이트의 헤더와, 페이로드(payload)로 이루어지며, 헤더 뒤에 어댑테이션필드(adaptation field)를 더 포함할 수 있다. 트랜스포트 패킷의 연속적인 배열을 트랜스포트 스트림(Transport Stream, TS)이라 한다.In the MPEG-2 transmission standard, a transport packet having a size of 188 bytes is defined. The transport packet includes a 4-byte header and a payload, and may further include an adaptation field after the header. A continuous array of transport packets is called a transport stream (TS).

방송 콘텐츠를 트랜스포트 패킷으로 전송할 때에는 비디오/오디오 데이터 이외에 수신에 필요한 보조정보도 함께 전송한다. 즉, 화면(비디오)과 음성(오디오)을 동기화 시키기 위한 정보, 방송 프로그램이 다채널로 전송될 때 각각의 프로그램에 대한 비디오/오디오 스트림에 대한 패킷을 찾아서 수신할 수 있도록 하는 정보 등이 함께 전송된다. 이러한 보조정보는 트랜스포트 패킷의 헤더 또는 어댑테이션 필드에 포함되어 전송된다. 이러한 보조정보로서, 각 스트림간의 동기화를 위해서 기준 시간정보에 해당하는 PCR(Program Clock Reference)과 각 스트림의 프레임이 디코딩되어야 할 시간 또는 시연되어야 할 시간을 나타내는 DTS/PTS(Decoding Time Stamp/Presentation Time Stamp)가 있다.When transmitting broadcast content in a transport packet, auxiliary information necessary for reception is transmitted along with video / audio data. That is, information for synchronizing the screen (video) and voice (audio), and information for finding and receiving a packet for the video / audio stream for each program when the broadcast program is transmitted in multiple channels are transmitted together. do. This auxiliary information is transmitted in the header or adaptation field of the transport packet. As this auxiliary information, a PCR (Program Clock Reference) corresponding to the reference time information and synchronization time of each stream and DTS / PTS (Decoding Time Stamp / Presentation Time) indicating a time when a frame of each stream should be decoded or demonstrated. Stamp).

한편, 지상파 DMB 방송 시스템에서는 데이터 방송 등의 부가데이터의 전송이 가능하다. 부가데이터는 비디오와 오디오 전송을 위해 필요한 대역의 남는 공간에 삽입되어 전송된다. 비디오 스트림은 화면의 복잡도와 장면의 변화 등에 따라 데이터율이 변화하기 때문에 항상 최대의 데이터율을 유지하지는 않는다. 따라서, 비디오와 오디오 전송을 위한 대역이 항상 전체 전송데이터 대역을 차지하는 것은 아니므로, 전송대역에 남는 공간이 발생하며, 평상시에는 이 남는 공간에 널(null) 패킷을 보내고 있다. 부가데이터는 이러한 널 패킷 대신에 전송된다.On the other hand, in the terrestrial DMB broadcasting system, additional data such as data broadcasting can be transmitted. The additional data is inserted and transmitted in the remaining space of the band necessary for video and audio transmission. The video stream does not always maintain the maximum data rate because the data rate changes due to the complexity of the screen and the change of the scene. Therefore, since a band for video and audio transmission does not always occupy the entire transmission data band, a space left in the transmission band is generated, and a null packet is usually sent in this remaining space. Additional data is transmitted instead of these null packets.

한편, 부가데이터도 일정한 시간 동안에 정해진 양만큼 전송되어야 하므로, 전송될 부가데이터의 양만큼 널 패킷이 필요하다. 따라서, 실시간 부가데이터의 전송을 위해서는 정확한 시간에 필요한 만큼의 널 패킷을 비디오/오디오 인코더에서 만들어야 한다. On the other hand, since additional data must also be transmitted in a predetermined amount for a certain time, a null packet is required for the amount of additional data to be transmitted. Therefore, in order to transmit the additional data in real time, as many null packets as necessary at the correct time must be made in the video / audio encoder.

종래에는 이를 위하여, 총 데이터율에서 부가데이터 전송을 위한 널 패킷만큼의 대역을 미리 할당하여 두고 있다. 이 방식은 구현이 간단하고, 미리 널 패킷 대역이 확보되어 있으므로 부가데이터를 원하는 시간에 보낼 수 있는 장점이 있다. 그러나, 부가데이터를 위한 대역을 미리 확보함으로써 그만큼 비디오 데이터의 전송을 위한 대역이 감소되어 비디오의 화질이 저하되는 단점이 있다.Conventionally, for this purpose, the bandwidth of the null packet for additional data transmission is allocated in advance in the total data rate. This method is simple to implement and has the advantage of sending additional data at a desired time since null packet bandwidth is secured in advance. However, by securing a band for additional data in advance, there is a disadvantage in that the band for transmitting video data is reduced, thereby degrading video quality.

본 발명은 이러한 점을 감안하여 이루어진 것으로서, 부가데이터를 정확한 시점에 전송할 수 있으면서도 비디오 화질 열화를 줄일 수 있는 방법 및 장치를 제공하는 것을 목적으로 한다.SUMMARY OF THE INVENTION The present invention has been made in view of this point, and an object of the present invention is to provide a method and apparatus capable of transmitting additional data at an accurate time point and reducing video quality deterioration.

본 발명의 지상파 DMB 방송 시스템의 부가데이터 송출을 위한 대역제어장치는, 운영자가 부가데이터를 저작할 수 있는 수단을 제공하고 저작된 부가데이터를 출력하는 부가데이터 저작툴과, 오디오 신호 및 비디오 신호를 인코딩하여 오디오 TS 패킷, 비디오 TS 패킷 및 널 패킷을 생성하여 출력하는 A/V 인코더와, 상기 부 가데이터 저작툴로부터의 부가데이터로부터 데이터 TS 패킷을 생성하고, 상기 A/V 인코더로부터 수신한 패킷 중에서 널 패킷 대신에 상기 데이터 TS 패킷을 치환하여 출력하는 자동송출제어기를 구비한다.Bandwidth control apparatus for transmitting additional data of the terrestrial DMB broadcasting system of the present invention provides an additional data authoring tool for providing a means for an operator to author additional data and outputting the supplementary data, and encoding an audio signal and a video signal. To generate and output an audio TS packet, a video TS packet, and a null packet, and to generate a data TS packet from additional data from the supplementary data authoring tool, and to select a null among the packets received from the A / V encoder. An automatic transmission controller which replaces and outputs the data TS packet instead of the packet is provided.

자동송출제어기는 부가데이터저작툴로부터 부가데이터를 수신하여 부가데이터 전송을 위해 필요한 널 패킷의 생성에 관한 널 패킷 생성정보를 계산하여 이를 A/V 인코더에 전달한다. A/V 인코더는 널 패킷 생성정보에 따라 널 패킷을 생성하여 오디오 TS 패킷 및 비디오 TS 패킷과 함께 출력한다. The automatic transmission controller receives additional data from the additional data operation tool, calculates null packet generation information regarding generation of null packets necessary for additional data transmission, and transmits the null packet generation information to the A / V encoder. The A / V encoder generates a null packet according to the null packet generation information and outputs the null packet along with the audio TS packet and the video TS packet.

A/V 인코더는, 비디오 ES를 생성하기 위한 비디오 코덱과, 오디오 ES를 생성하기 위한 오디오 코덱과, 비디오 코덱과 오디오 코덱으로부터의 비디오 ES와 오디오 ES로부터 비디오 TS 패킷과 오디오 TS 패킷을 생성하고, 자동송출제어기로부터의 널 패킷 생성정보에 따라 널 패킷을 생성하여 출력하는 대역제어부를 구비한다.The A / V encoder generates a video TS packet and an audio TS packet from a video codec for generating a video ES, an audio codec for generating an audio ES, video ES and audio ES from a video codec and an audio codec, And a band controller for generating and outputting null packets according to null packet generation information from the automatic transmission controller.

대역제어부는, 비디오 ES로부터 비디오 PES 패킷을 생성하기 위한 비디오 패키타이저와, 오디오 ES로부터 오디오 PES 패킷을 생성하기 위한 오디오 패키타이저와, 비디오 PES 패킷과 오디오 PES 패킷에서 해당 패킷의 CTS값과 연계되어 있는 비디오 TS 패킷과 오디오 TS 패킷을 생성하기 위한 TS 패키타이저와, 상기 자동송출제어기로부터의 널 패킷 생성정보에 따라 널 패킷이 균등하게 전송될 수 있도록 하는 각 널 패킷의 CTS값을 계산하여 출력하는 널 패킷 생성기와, 비디오 TS 패킷과 오디오 TS 패킷과 널 패킷을 위한 3개의 FIFO 버퍼를 구비하며, 각 버퍼에 저장되어 있는 패킷중에 CTS 값이 가장 빠른 패킷을 추출하여 출력하는 버퍼제어기와, 추출된 패킷을 상기 자동송출제어기로 전송하는 TS 패킷 전송기를 포함한다. The band controller may include a video packager for generating a video PES packet from the video ES, an audio packager for generating an audio PES packet from the audio ES, a CTS value of the corresponding packet in the video PES packet and the audio PES packet, and the like. Calculate the TS packetizer for generating the associated video TS packet and audio TS packet, and the CTS value of each null packet for equally transmitting null packets according to null packet generation information from the automatic transmission controller. A null packet generator for outputting the data, and three FIFO buffers for the video TS packet, the audio TS packet, and the null packet. And a TS packet transmitter for transmitting the extracted packet to the automatic transmission controller.

버퍼제어기는, 비디오 TS 패킷과 오디오 TS 패킷과 널 패킷을 각 패킷의 CTS값과 연계하여 저장하기 위한 3개의 FIFO 버퍼와, 비디오 TS 패킷을 위한 FIFO 버퍼의 수위가 소정의 상한치 이상이 되면 비디오 압축률을 낮추도록 하는 압축률제어정보를 비디오 코덱에 전달하고, 비디오 TS 패킷을 위한 FIFO 버퍼의 수위가 소정의 하한치를 이하가 되면 비디오 압축률을 높이도록 하는 압축률제어정보를 비디오 코덱에 전달하는 버퍼감시부와, 상기 3개의 FIFO 버퍼에 저장되어 있는 패킷중에서 CTS값이 가장 빠른 패킷을 추출하여 출력하는 패킷선택부를 포함한다.The buffer controller includes three FIFO buffers for storing the video TS packet, the audio TS packet, and the null packet in association with the CTS value of each packet, and the video compression rate when the level of the FIFO buffer for the video TS packet exceeds a predetermined upper limit. A buffer monitoring unit for transmitting the compression rate control information to the video codec to lower the compression rate control information for lowering the video compression rate when the level of the FIFO buffer for the video TS packet is lower than a predetermined lower limit. And a packet selector for extracting and outputting the packet having the fastest CTS value among the packets stored in the three FIFO buffers.

또는 버퍼감시부가 3개의 FIFO 버퍼의 총 수위에 따라 비디오 압축률을 제어하기 위한 압축률제어정보를 생성하여 비디오 코덱에 전달하도록 구성하는 것도 가능하다. Alternatively, the buffer monitoring unit may be configured to generate compression rate control information for controlling the video compression rate according to the total water level of the three FIFO buffers and transmit the same to the video codec.

널 패킷을 위한 FIFO 버퍼에는 각 널 패킷의 CTS값만이 저장되도록 구성하는 것도 가능하다. 이 경우에, 패킷선택부는 널 패킷의 위한 FIFO 버퍼에 저장되어 있는 CTS값을 추출하였을 때에 널 패킷을 생성하여 출력한다. In the FIFO buffer for null packets, only the CTS value of each null packet can be configured. In this case, the packet selector generates and outputs a null packet when extracting the CTS value stored in the FIFO buffer for the null packet.

널 패킷 생성정보에는 생성할 널 패킷의 총 패킷수(NTP), 해당 널 패킷을 전송완료해야 할 소요시간(T)이 포함될 수 있다. 널 패킷 생성기는 이 정보로부터 전송율(NTP/T)을 계산하고, 계산된 전송율에 따라 균등한 간격으로 CTS값을 생성한다. The null packet generation information may include the total number of packets (N TP ) of the null packets to be generated and the time required to complete the transmission of the corresponding null packets (T). The null packet generator calculates a transmission rate (N TP / T) from this information and generates CTS values at equal intervals according to the calculated transmission rate.

자동송출제어기는 부가데이터 저작툴로부터 부가데이터의 반복전송시간에 관한 정보를 받아서, 해당 반복전송시간마다 상기 널 패킷 생성정보를 A/V 인코더에 전송하도록 함으로써, 해당 반복전송시간 간격으로 부가데이터가 반복되도록 할 수 있다. The automatic transmission controller receives the information on the repetitive transmission time of the additional data from the additional data authoring tool, and transmits the null packet generation information to the A / V encoder at each repetitive transmission time, thereby repeating the additional data at the corresponding repetitive transmission time interval. You can do that.

자동송출제어기는, 부가데이터저작툴로부터 수신한 데이터로부터 데이터 TS 패킷을 생성하기 위한 TS 패키타이저와, 상기 A/V 인코더로부터 수신한 패킷 중에서 널 패킷 대신에 상기 데이터 TS 패킷을 치환하기 위한 널 패킷 치환기와, 상기 널 패킷 치환기에서 출력되는 TS 패킷을 전송하기 위한 TS 패킷 전송기를 포함한다. The automatic transmission controller includes a TS packager for generating a data TS packet from data received from an additional data operation tool, and a null packet for replacing the data TS packet instead of a null packet among packets received from the A / V encoder. And a TS packet transmitter for transmitting the TS packet output from the null packet substituent.

본 발명의 지상파 DMB 방송 시스템의 부가데이터 송출을 위한 대역제어방법은, 비디오 신호로부터 CTS값이 연계된 비디오 TS 패킷을 생성하는 단계와, 오디오 신호로부터 CTS값이 연계된 오디오 TS 패킷을 생성하는 단계와, 부가데이터 저작툴을 사용하여 생성된 부가데이터로부터 데이터 TS 패킷을 생성하는 단계와, 부가데이터 전송을 위해 필요한 널 패킷의 생성에 관한 널 패킷 생성정보를 계산하는 단계와, 계산된 널 패킷 생성정보에 따라 CTS값이 연계된 널 패킷을 생성하는 단계와, 상기 CTS값이 연계된 비디오 TS 패킷, 오디오 TS 패킷 및 널 패킷 중에서 CTS 값이 빠른 순서대로 패킷을 출력하는 단계와, 상기 출력되는 패킷에서 널 패킷 대신에 상기 데이터 TS 패킷으로 치환하여 전송하는 단계를 포함한다. A band control method for transmitting additional data of a terrestrial DMB broadcasting system according to the present invention includes generating a video TS packet associated with a CTS value from a video signal, and generating an audio TS packet associated with a CTS value from an audio signal. Generating a data TS packet from the additional data generated using the additional data authoring tool, calculating null packet generation information relating to generation of a null packet required for additional data transmission, and calculating the calculated null packet generation information. Generating a null packet associated with the CTS value, outputting the packets in the order of the highest CTS value among the video TS packet, the audio TS packet, and the null packet associated with the CTS value; Replacing and transmitting the data TS packet instead of a null packet.

CTS값이 연계된 널 패킷을 생성할 때에는, 널 패킷 생성정보에 따라 널 패킷이 균등하게 전송될 수 있도록 각 널 패킷의 CTS값을 계산하는 것이 바람직하다. 예를 들면, 널 패킷 생성정보에 생성할 널 패킷의 총 패킷수(NTP), 해당 널 패킷을 전송완료해야 할 소요시간(T)을 포함시키고, CTS값이 연계된 널 패킷을 생성할 때 널 패킷 생성정보를 이용하여 전송율(NTP/T)을 계산하고, 계산된 전송율에 따라 균등한 간격으로 CTS값을 생성하여 널 패킷에 연계시키도록 구성할 수 있다. When generating a null packet associated with the CTS value, it is preferable to calculate the CTS value of each null packet so that the null packet can be transmitted evenly according to the null packet generation information. For example, when the null packet generation information includes the total number of packets (N TP ) of the null packets to be generated and the time required to complete the transmission of the corresponding null packets (T), and generates a null packet associated with the CTS value. The transmission rate (N TP / T) may be calculated using the null packet generation information, and CTS values may be generated at equal intervals according to the calculated transmission rate, and may be configured to associate with the null packet.

생성된 비디오 TS 패킷과, 오디오 TS 패킷과, 널 패킷은 각각 FIFO 버퍼에 저장된다. 그리고, 비디오 TS을 위한 FIFO 버퍼의 수위에 따라 비디오 압축률을 제어할 수 있다. 예를 들면, 비디오 TS 패킷을 위한 FIFO 버퍼의 수위가 소정의 상한치 이상이 되면 비디오 압축률을 낮추도록 하고, 비디오 TS 패킷을 위한 FIFO 버퍼의 수위가 소정의 하한치를 이하가 되면 비디오 압축률을 높이도록 한다. 또는, 상기 3개의 FIFO 버퍼의 총 수위에 따라 비디오 압축률을 제어하도록 하는 것도 가능하다. The generated video TS packet, audio TS packet, and null packet are respectively stored in the FIFO buffer. The video compression ratio may be controlled according to the level of the FIFO buffer for the video TS. For example, if the level of the FIFO buffer for the video TS packet is above the predetermined upper limit, the video compression rate is lowered. If the level of the FIFO buffer for the video TS packet is below the predetermined lower limit, the video compression rate is increased. . Alternatively, the video compression ratio may be controlled according to the total level of the three FIFO buffers.

이하, 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 지상파 DMB 방송 송출시스템의 구성을 보여주는 도면이다.1 is a view showing the configuration of a terrestrial DMB broadcasting transmission system of the present invention.

A/V 인코더(100)는 오디오 및 비디오 신호를 지상파 DMB 방송규격에 규정된 형태로 인코딩한 TS(Transport Stream) 패킷을 출력한다. A/V 인코더는 또한 부가데이터 전송에 필요한 널 패킷을 생성하며, 생성되는 널 패킷의 수와 관련하여 비디오 압축율을 제어함으로써, 전송할 널 패킷이 많은 경우에는 비디오 압축율을 높이고 그 반대의 경우에는 비디오 압축율을 낮춘다.The A / V encoder 100 outputs a TS (Transport Stream) packet that encodes audio and video signals in a form defined in the terrestrial DMB broadcasting standard. The A / V Encoder also generates the null packets needed for additional data transmission and controls the video compression rate in relation to the number of null packets generated, thereby increasing the video compression rate when there are many null packets to transmit and vice versa. Lowers.

부가데이터 저작툴(200)은 운영자가 부가데이터를 저작할 수 있는 기능을 제공한다. 예를 들면, 여러 이미지 파일들과 텍스트 입력을 받아서 화면을 꾸미고 이 벤트를 지정해서 대화형 서비스를 저작할 수 있도록 한다. 만들어진 부가데이터는 규정된 프로토콜에 따라 데이터 ES(Elementary Stream)로서 자동송출제어기(300)에 전달된다. The additional data authoring tool 200 provides a function for an operator to author additional data. For example, it accepts several image files and text inputs to decorate the screen and specify events so that you can author interactive services. The created additional data is transmitted to the automatic transmission controller 300 as data ES (Elementary Stream) according to a prescribed protocol.

자동송출제어기(300)는 부가데이터 저작툴(200)에서 수신한 데이터 ES를 TS 패킷화하고, 이를 A/V 인코더(100)에서 수신한 TS 패킷에 포함된 널 패킷과 치환하여 MPEG-2 TS 패킷으로 출력하는 역할을 한다. 자동송출제어기(300)는 또한 부가데이터 전송을 위해 필요한 대역정보를 계산하여 널 패킷 생성정보를 생성하고 이를 A/V 인코더(100)에 전달한다. A/V 인코더(100)는 이 정보에 따라 널 패킷을 생성함으로써 부가데이터의 전송에 필요한 양의 널 패킷이 원하는 시간 동안에 생성되게 된다. 또한, 자동송출제어기(300)는 부가데이터 저작툴(200)로부터 부가데이터의 반복전송시간에 관한 정보를 받아서, 해당 반복전송시간마다 널 패킷 생성정보를 A/V 인코더(100)에 전송할 수 있다.The automatic transmission controller 300 converts the data ES received from the additional data authoring tool 200 into TS packets, replaces them with null packets included in the TS packets received from the A / V encoder 100, and then converts them into MPEG-2 TS packets. It serves to output. The automatic transmission controller 300 also calculates band information necessary for additional data transmission, generates null packet generation information, and transfers it to the A / V encoder 100. The A / V encoder 100 generates a null packet according to this information, so that an amount of null packets required for transmission of additional data is generated for a desired time. In addition, the automatic transmission controller 300 may receive information on the repetitive transmission time of the additional data from the additional data authoring tool 200 and transmit null packet generation information to the A / V encoder 100 for each repetitive transmission time.

송신기(400)는 자동송출제어기(300)로부터의 TS 패킷을 방송 송출에 맞는 형태로 변환하여 방송하는 역할을 한다. 한편, 도시하지는 않았지만, 다채널 방송의 경우에는 채널의 다중화를 위하여 다수의 TS 패킷을 다중화하기 위한 멀티플렉서가 송신기 전단에 마련될 수 있다.The transmitter 400 converts the TS packet from the automatic transmission controller 300 into a form suitable for broadcast transmission and broadcasts it. Although not shown, in the case of multi-channel broadcasting, a multiplexer for multiplexing a plurality of TS packets for multiplexing of channels may be provided in front of the transmitter.

도 2는 본 발명의 A/V 인코더(100)의 내부 구성요소와 주변 구성요소와의 연결관계를 보여주는 도면이다.2 is a diagram illustrating a connection relationship between internal components and peripheral components of the A / V encoder 100 of the present invention.

A/V 인코더(100)는 캡처모듈로부터의 비디오 데이터를 압축하여 규정된 비디 오 ES(Elementary Stream)를 생성하는 비디오 코덱(110)과, 캡처모듈로부터의 오디오 데이터를 압축하여 규정된 오디오 ES(Elementary Stream)를 생성하는 오디오 코덱(120)을 구비한다. 또한, 본 발명에서는 부가데이터를 실시간으로 전송하기 위한 널 패킷을 생성하고 자동송출제어기(300)로부터의 정보 및 내장된 버퍼의 상태에 따라 비디오 압축률을 제어하기 위한 대역제어부(130)를 구비한다. The A / V encoder 100 compresses the video data from the capture module to generate a prescribed video elementary stream (ES), and compresses the audio data from the capture module to the prescribed audio ES ( An audio codec 120 for generating an elementary stream. In addition, the present invention includes a band control unit 130 for generating a null packet for transmitting the additional data in real time, and for controlling the video compression ratio according to the information from the automatic transmission controller 300 and the state of the embedded buffer.

도 3은 대역제어부(130)의 내부구성을 보여주는 블록도이다.3 is a block diagram illustrating an internal configuration of the band controller 130.

비디오 코덱(110)으로부터의 비디오 ES와 오디오 코덱(120)으로부터의 오디오 ES는 각각 비디오 패키타이저(131)와 오디오 패키타이저(133)에서 비디오 PES 패킷과 오디오 PES 패킷으로 변환된다. 비디오 패키타이저(131)는 비디오 ES를 비디오 SL(Synchronization Layer) 패킷으로 변환한 후에 다시 이를 비디오 PES 패킷으로 변환한다. 오디오 패키타이저(132)도 오디오 ES를 오디오 SL 패킷으로 변환한 후에 다시 이를 오디오 PES 패킷으로 변환한다. The video ES from the video codec 110 and the audio ES from the audio codec 120 are converted into video PES packets and audio PES packets in the video packager 131 and the audio packager 133, respectively. The video packager 131 converts the video ES into a video synchronization layer (SL) packet and then converts the video ES into a video PES packet. The audio packager 132 also converts the audio ES to an audio SL packet and then back to an audio PES packet.

널 패킷 생성기(135)는 자동송출제어기(300)로부터의 널 패킷 생성정보에 따라 널 패킷 및 CTS(Composition Time Stamp)값을 생성한다. 널 패킷 생성정보로는 생성할 널 패킷의 총 패킷수(NTP), 해당 널 패킷을 전송완료해야 할 소요시간(T)이 포함될 수 있다. 널 패킷 생성기(135)는 이들 정보로부터 널 패킷을 위해 필요한 전송율(NTP/T)을 계산한다. 그리고, 계산된 전송율에 따라 널 패킷 및 CTS값을 생성한다. 예를 들어 계산된 전송율이 초당 500개라면 초당 500개의 널 패킷을 생성하 는 것이다. The null packet generator 135 generates a null packet and a composition time stamp (CTS) value according to the null packet generation information from the automatic transmission controller 300. The null packet generation information may include a total number of packets (N TP ) of null packets to be generated and a time (T) required to complete transmission of the corresponding null packet. The null packet generator 135 calculates, from these information, the rate (N TP / T) needed for the null packet. A null packet and a CTS value are generated according to the calculated transmission rate. For example, if the calculated rate is 500 per second, then 500 null packets are generated per second.

버퍼제어기(138)는 CTS 값이 빠른 TS 패킷부터 전송을 하는데, 널 패킷 생성기(135)는 널 패킷을 생성할 때 널 패킷이 일정한 속도로 전송되도록 CTS 값을 생성한다. 첫번째 생성되는 널 패킷의 CTS 값은 해당 패킷의 PCR 값(PCR1)에 정해진 오프셋을 반영하여 정한다. 그리고 이후의 널 패킷의 CTS 값은 첫번째 널 패킷의 CTS 값에 일정한 CTS 증가분만큼씩 더하여 계산한다. The buffer controller 138 transmits a TS packet having a high CTS value, and the null packet generator 135 generates a CTS value so that a null packet is transmitted at a constant rate when generating a null packet. The CTS value of the first generated null packet is determined by reflecting the offset determined in the PCR value PCR1 of the packet. The CTS value of the subsequent null packet is calculated by adding the CTS value of the first null packet by a constant CTS increment.

예를 들어, 10초 동안 1000개의 널 패킷을 생성하여야 한다면, 10개의 널 패킷마다 0.1초 단위로 CTS 값이 증가되도록 CTS 값을 포함시킨다. 즉, 첫번째부터 10번째 널 패킷의 CTS 값을 0이라고 하고 0.1초에 대응되는 CTS 값이 1이라고 한다면, 11번째-20번째 널 패킷의 CTS 값은 1, 21번째-30번째 널 패킷의 CTS 값은 2...와 같이 생성하는 것이다. For example, if 1000 null packets need to be generated for 10 seconds, the CTS value is included to increase the CTS value in units of 0.1 seconds for every 10 null packets. That is, if the CTS value of the first to tenth null packets is 0 and the CTS value corresponding to 0.1 second is 1, the CTS value of the 11th-20th null packet is the CTS value of the 1st, 21st-30th null packet. Is generated as 2 ...

한편, CTS 증가분은 첫번째 널 패킷에 대응되는 PCR값(PCR1)과 마지막 널 패킷에 대응되는 PCR 값(PCR2)으로부터 다음 식에 의해 정할 수 있다.Meanwhile, the CTS increment can be determined by the following equation from the PCR value PCR1 corresponding to the first null packet and the PCR value PCR2 corresponding to the last null packet.

CTS 증가분 = (PCR2 - PCR1) / ((PCR2 - PCR1)에 해당하는 시간동안에 전송해야 할 패킷수)CTS increment = (PCR2-PCR1) / (Number of packets to be sent during (PCR2-PCR1))

예를 들어, 첫번째 널 패킷에 대응되는 PCR값(PCR1)이 3000이고 마지막 널 패킷에 대응되는 PCR 값(PCR2)이 5000이고 PCR값 2000에 대응되는 시간동안 전송할 패킷수가 50이면, CTS 증가분은 2000/50=40이 된다. 이 경우에는 생성되는 널 패킷마다 CTS값을 40씩 증가시키면 된다.For example, if the PCR value PCR1 corresponding to the first null packet is 3000 and the PCR value PCR2 corresponding to the last null packet is 5000 and the number of packets to be transmitted during the time corresponding to the PCR value 2000 is 50, the CTS increment is 2000. / 50 = 40. In this case, the CTS value may be increased by 40 for each generated null packet.

한편, 널 패킷 생성기(135)에서 널 패킷을 생성하는 대신에 도 5의 (b)와 같 이 CTS 값만을 생성하여 TS 패키타이저(137)로 전달하거나 또는 도 3에서 점선으로 표시되어 있는 것처럼 TS 패키타이저(137)를 거치지 않고 바로 버퍼 제어기(138)에 전달하도록 구성하는 것도 가능하다. On the other hand, instead of generating a null packet in the null packet generator 135, as shown in (b) of FIG. 5, only the CTS value is generated and transmitted to the TS packager 137, or as indicated by a dotted line in FIG. It is also possible to configure the transfer to the buffer controller 138 directly without passing through the TS packager (137).

TS 패키타이저(137)는 비디어 패키타이저(131), 오디오 패키타이저(133)로부터의 비디오 PES 패킷 및 오디오 PES 패킷으로부터 TS 패킷을 생성하는 역할을 한다. TS 패키타이저(137)는 또한, 널 패킷 생성기(135)로부터의 널 패킷 또는 CTS 값으로부터 TS 패킷을 생성한다. The TS packager 137 is responsible for generating TS packets from the video packager 131, the video PES packet from the audio packager 133, and the audio PES packet. The TS packager 137 also generates TS packets from null packets or CTS values from the null packet generator 135.

TS 패키타이저(137)에서 생성되는 TS 패킷에는 도 5의 (a)에 도시한 것처럼 해당 패킷의 CTS 값이 연계되어 있다. 후술하는 버퍼 제어기(138)에서의 동작에서는 CTS 값이 사용된다. 그런데, 지상파 DMB 시스템에서 CTS 값은 SL 패킷에 삽입되므로, TS 패킷에서는 CTS 값을 직접 찾을 수 없다. 따라서, PES 패킷과 TS 패킷을 생성할 때 SL 패킷에 있는 CTS 값을 해당 PES 패킷 또는 TS 패킷의 CTS 값으로 연계시켜 놓음으로써 버퍼 제어기(138)에서 TS 패킷을 처리할 때 해당 TS 패킷에 연계되어 있는 CTS 값을 사용하도록 하고 있다.TS packets generated by the TS packager 137 are associated with CTS values of the corresponding packets as shown in FIG. The CTS value is used in the operation in the buffer controller 138 described later. However, in the terrestrial DMB system, since the CTS value is inserted into the SL packet, the CTS value cannot be directly found in the TS packet. Therefore, when generating a PES packet and a TS packet, the CTS value in the SL packet is associated with the corresponding PES packet or the CTS value of the TS packet, so that the buffer controller 138 is associated with the TS packet when the TS packet is processed. It is supposed to use the CTS value.

TS 패키타이저(137)로부터의 TS 패킷은 버퍼 제어기(138) 내의 버퍼에 저장되며, CTS 값이 빠른 패킷부터 추출되어 TS 패킷 전송기(139)를 통해 자동송출제어기(300)로 전송된다. 이하에서는 도 4를 참조하여 버퍼 제어기(138)에서의 동작에 대해서 설명한다. The TS packet from the TS packager 137 is stored in a buffer in the buffer controller 138, and the CTS value is extracted from the packet having the fastest value and transmitted to the automatic transmission controller 300 through the TS packet transmitter 139. Hereinafter, an operation of the buffer controller 138 will be described with reference to FIG. 4.

버퍼 제어기(138)는 비디오 TS 패킷, 오디오 TS 패킷 및 널 패킷을 위한 3개의 FIFO(First In First Out) 버퍼(1385, 1386, 1387)를 가지고 있다. 비디오 FIFO 버퍼(1385)와 오디오 FIFO 버퍼(1386)에는 도 5의 (a)와 같은 형태의 패킷이 저장된다. 널 패킷 FIFO 버퍼(1387)은 도 5의 (a)와 같은 형태의 패킷이 저장되도록 구성할 수도 있고, 또는 도 5의 (b)에서와 같이 CTS 값만을 저장하도록 구성할 수도 있다. 후자의 경우에는 도 3에 점선으로 표시된 것처럼 널 패킷 생성기(135)로부터의 CTS 값이 바로 버퍼 제어기(138)의 널 패킷 FIFO 버퍼(1387)에 저장된다.The buffer controller 138 has three First In First Out (FIFO) buffers 1385, 1386, 1387 for video TS packets, audio TS packets, and null packets. The video FIFO buffer 1385 and the audio FIFO buffer 1386 store packets of the type shown in FIG. The null packet FIFO buffer 1387 may be configured to store a packet of a type as shown in FIG. 5A, or may be configured to store only a CTS value as shown in FIG. 5B. In the latter case, the CTS value from the null packet generator 135 is stored directly in the null packet FIFO buffer 1387 of the buffer controller 138, as indicated by the dashed line in FIG.

전술한 것처럼 FIFO 버퍼(1385, 1386, 1387)에 저장되는 데이터는 도 5의 (a) 또는 (b)와 같은 구조를 갖는다. 패킷선택부(1383)는 각 버퍼(1385, 1386, 1387)에 있는 패킷을 검사하여 CTS 값이 가장 빠른 패킷을 버퍼에서 꺼내어 도 5의 (a)에서 CTS 값을 제거한 TS 패킷만을 출력한다. 한편, 널 패킷 FIFO 버퍼(1387)에 도 5의 (b)와 같은 형태의 데이터가 저장되는 경우에는 패킷선택부(1383)는 널 TS 패킷을 생성하여 출력한다. 각 버퍼에 있는 패킷의 CTS 값이 동일한 경우에는 라운드 로빈 방식으로 돌아가면서 꺼내어도 되고, 각 버퍼에 우선순위를 두어서 우선순위가 높은 버퍼에서 먼저 꺼내도록 하여도 된다. 널 패킷 FIFO 버퍼(1387)에 저장된 CTS 값은 필요한 널 패킷의 전송율에 맞추어 일정하게 증가되도록 널 패킷 생성기(135)에서 생성되므로, 널 패킷은 패킷선택부(1383)에서 일정한 비율로 출력되게 된다.As described above, the data stored in the FIFO buffers 1385, 1386, and 1387 have a structure as shown in FIG. 5A or 5B. The packet selector 1383 examines the packets in each of the buffers 1385, 1386, and 1387, extracts the packet having the fastest CTS value from the buffer, and outputs only the TS packet from which the CTS value is removed in FIG. On the other hand, when data of the form as shown in Fig. 5B is stored in the null packet FIFO buffer 1387, the packet selector 1383 generates and outputs a null TS packet. If the packets in each buffer have the same CTS value, they may be retrieved in a round robin fashion, or may be prioritized in each buffer to be first retrieved from a high priority buffer. Since the CTS value stored in the null packet FIFO buffer 1387 is generated by the null packet generator 135 to be constantly increased in accordance with the required rate of the null packet, the null packet is output at a constant rate from the packet selector 1383.

버퍼감시부(1381)는 비디어 FIFO 버퍼(1385)의 상태에 따라 압축률제어정보를 생성하여 비디오 코덱으로 출력하는 역할을 한다. 부가데이터가 많아서 생성되는 널 패킷이 많은 경우에는 패킷선택부(1383)에서 널 패킷을 출력하느라 비디오 TS 패킷을 꺼내는 속도가 줄어들게 된다. 비디오 TS 패킷을 꺼내는 속도가 비디오 TS 패킷이 버퍼(1385)에 들어오는 속도보다 느려지면 버퍼(1385)의 수위가 높아지게 된다. 반대로, 비디오 TS 패킷을 꺼내는 속도가 비디오 TS 패킷이 버퍼(1385)에 들어오는 속도보다 빨라지면 버퍼(1385)의 수위가 낮아지게 된다. 즉, 버퍼(1385)의 수위를 감시함으로써 비디오 비트를 증가시켜야 하는지 감소시켜야 하는지를 판단할 수 있다.The buffer monitoring unit 1381 generates compression rate control information according to the state of the video FIFO buffer 1385 and outputs the compression rate control information to the video codec. When a large number of null packets are generated due to a large amount of additional data, the packet selector 1383 outputs a null packet, thereby reducing the speed of extracting the video TS packet. When the speed at which the video TS packet is extracted is slower than the speed at which the video TS packet enters the buffer 1385, the level of the buffer 1385 is increased. On the contrary, when the speed of extracting the video TS packet is faster than the speed at which the video TS packet enters the buffer 1385, the level of the buffer 1385 is lowered. That is, by monitoring the level of the buffer 1385, it may be determined whether the video bit should be increased or decreased.

버퍼감시부(1381)는 비디오 FIFO 버퍼(1385)의 수위가 소정의 상한(A) 이상이 되면 비디오 압축률을 높이도록 요청하는 압축률제어정보를 생성한다. 그러면, 비디오 코덱(110)은 압축률을 높여서 비디오 데이터를 생성하므로 생성되는 비디오 비트가 감소되어 버퍼(1385)의 수위를 낮출 수 있다. 반대로, 버퍼감시부(1381)는 비디어 FIFO 버퍼(1385)의 수위가 소정의 하한(B) 이하가 되면 비디오 압축률을 낮추도록 요청하는 압축률제어정보를 생성한다. 그러면, 비디오 코덱(110)은 압축률을 낮춰서 비디오 데이터를 생성하므로 생성되는 비디오 비트가 증가되어 버퍼(1385)의 수위를 높일 수 있다. The buffer monitoring unit 1381 generates compression rate control information for requesting to increase the video compression rate when the level of the video FIFO buffer 1385 becomes equal to or greater than a predetermined upper limit A. Then, since the video codec 110 generates the video data by increasing the compression rate, the generated video bit is reduced to lower the level of the buffer 1385. On the contrary, the buffer monitoring unit 1381 generates compression rate control information for requesting the video compression rate to be lowered when the level of the video FIFO buffer 1385 falls below a predetermined lower limit (B). Then, since the video codec 110 generates video data by lowering the compression rate, the video bit generated is increased to increase the level of the buffer 1385.

또는, 버퍼감시부(1381)는 세 버퍼(1385, 1386, 1387)의 수위를 감시하여 그에 따라 압축률제어정보를 생성하도록 하는 것도 가능하다. 즉, 전송할 부가데이터의 양이 많아지면 널 패킷 FIFO 버퍼(1387)의 수위가 높아지고, 따라서 세 버퍼(1385, 1386, 1387)의 총 수위도 증가한다. 따라서, 세 버퍼(1385, 1386, 1387)의 총 수위를 감시하고 있다가, 총 수위가 소정의 상한 이상이 되면 비디오 압축률을 높이도록 하는 압축률제어정보를 생성하고, 총 수위가 소정의 하한 이하가 되면 비디오 압축률을 높이도록 하는 압축률제어정보를 생성한다.Alternatively, the buffer monitoring unit 1381 may monitor the level of the three buffers 1385, 1386, and 1387 and generate compression rate control information accordingly. That is, as the amount of additional data to be transmitted increases, the level of the null packet FIFO buffer 1387 increases, and thus, the total level of the three buffers 1385, 1386, 1387 also increases. Therefore, the total water level of the three buffers 1385, 1386, and 1387 is monitored, and when the total water level exceeds the predetermined upper limit, the compression rate control information is generated to increase the video compression rate, and the total water level is lower than the predetermined lower limit. If so, the compression rate control information for increasing the video compression rate is generated.

다음으로, 도 6을 참조하여 자동송출제어기(300)의 구성에 대해서 상세히 설명한다. 도 6은 자동송출제어기(300)의 내부구성을 보여주는 블록도이다.Next, the configuration of the automatic delivery controller 300 will be described in detail with reference to FIG. 6. 6 is a block diagram showing the internal configuration of the automatic transmission controller 300.

자동송출제어기(300)는 A/V 인코더(100)로부터 TS 패킷을 수신하고, 부가데이터 저작툴(200)로부터 데이터 ES를 수신한다. 수신한 데이터 ES는 데이터 패키타이저(310)에서 데이터 PES로 패킷화되고 다시 TS 패키타이저(320)에서 데이터 TS 패킷으로 패킷화된다. 널 패킷 치환기(330)는 A/V 인코더(100)로부터 수신한 TS 패킷 중에서 널 패킷을 TS 패키타이저(320)에서 생성한 데이터 TS 패킷과 치환한다. 치환된 TS 패킷은 TS 패킷 전송기(340)에서 출력되어 송신기(400)를 통해 방송된다. 한편, 자동송출제어기(300)는 부가데이터 저작툴(200)에서 생성되는 부가데이터의 대역에 관한 정보를 부가데이터 저작툴(200)로부터 받아서 널 패킷 생성정보를 생성하여 A/V 인코더로 전달한다.The automatic transmission controller 300 receives the TS packet from the A / V encoder 100 and receives the data ES from the additional data authoring tool 200. The received data ES is packetized into the data PES in the data packager 310 and then packetized into the data TS packet in the TS packager 320. The null packet replacer 330 replaces the null packet among the TS packets received from the A / V encoder 100 with the data TS packet generated by the TS packager 320. The replaced TS packet is output from the TS packet transmitter 340 and broadcasted through the transmitter 400. Meanwhile, the automatic transmission controller 300 receives the information about the band of the additional data generated by the additional data authoring tool 200 from the additional data authoring tool 200, generates null packet generation information, and delivers it to the A / V encoder.

이와 같이, 부가데이터 저작툴(200)에서 생성되는 부가데이터의 대역에 관한 정보로부터 널 패킷 생성정보를 생성하여 A/V 인코더(100)로 전송하면, 필요한 양만큼의 널 패킷이 포함된 TS 패킷을 A/V 인코더(100)에서 출력하고, 자동송출제어기(300)는 A/V 인코더(100)에서 수신한 TS 패킷 중에서 널 패킷을 데이터 TS 패킷과 치환함으로써, 필요한 양만큼의 부가데이터가 포함된 TS 패킷을 출력할 수 있다. As such, when null packet generation information is generated from the information about the band of the additional data generated by the additional data authoring tool 200 and transmitted to the A / V encoder 100, a TS packet including a required amount of null packets is transmitted. The A / V encoder 100 outputs the automatic transmission controller 300 to replace the null packet with the data TS packet among the TS packets received by the A / V encoder 100, thereby including the necessary amount of additional data. TS packets can be output.

이상, 본 발명을 몇가지 예를 들어 설명하였지만, 본 발명은 특정 예에 한정되는 것은 아니다. 본 발명이 속하는 기술분야에서 통상의 지식을 지닌 자라면 본 발명의 사상에서 벗어나지 않으면서 다양한 수정과 변화가 가능함을 이해할 것이다.As mentioned above, although this invention was demonstrated to some example, this invention is not limited to a specific example. Those skilled in the art will appreciate that various modifications and changes can be made without departing from the spirit of the invention.

이상 설명한 것처럼, 부가데이터 저작툴에서 생성되는 부가데이터의 양이 변함에 따라 자동송출제어기에서 생성되는 널 패킷 생성정보가 변하고, 그에 따라 A/V 인코더에서 생성되는 널 패킷의 수가 변하고, 그에 따라 버퍼에 저장되어 있는 패킷의 수가 변하므로, 생성되는 부가데이터의 양에 따라 비디오 코덱의 압축률이 자동으로 조절된다는 효과가 있다. 또한, 필요한 시간동안 필요한 양의 널 패킷을 균등하게 생성하고, 널 패킷을 데이터 TS와 치환하여 전송하므로, 부가데이터를 원하는 시간동안 원하는 양만큼 전송할 수 있다는 효과가 있다. As described above, as the amount of additional data generated by the additional data authoring tool is changed, null packet generation information generated by the automatic transmission controller changes, and accordingly, the number of null packets generated by the A / V encoder is changed, and accordingly, Since the number of stored packets changes, the compression rate of the video codec is automatically adjusted according to the amount of additional data generated. In addition, since the required amount of null packets are equally generated for the required time and the null packets are replaced with the data TS for transmission, the additional data can be transmitted by the desired amount for the desired time.

Claims (14)

운영자가 부가데이터를 저작할 수 있는 수단을 제공하고 저작된 부가데이터를 출력하는 부가데이터 저작툴과,An additional data authoring tool providing a means for an operator to author additional data and outputting the authored additional data; 오디오 신호 및 비디오 신호를 인코딩하여 오디오 TS 패킷, 비디오 TS 패킷 및 널 패킷을 생성하여 출력하는 A/V 인코더와,An A / V encoder that encodes an audio signal and a video signal to generate and output an audio TS packet, a video TS packet, and a null packet; 상기 부가데이터 저작툴로부터의 부가데이터로부터 데이터 TS 패킷을 생성하고, 상기 A/V 인코더로부터 수신한 패킷 중에서 널 패킷 대신에 상기 데이터 TS 패킷을 치환하여 출력하는 자동송출제어기를 구비하며,An automatic transmission controller for generating a data TS packet from the additional data from the additional data authoring tool and replacing and outputting the data TS packet instead of a null packet among the packets received from the A / V encoder; 상기 자동송출제어기는 부가데이터저작툴로부터 부가데이터를 수신하여 부가데이터 전송을 위해 필요한 널 패킷의 생성에 관한 널 패킷 생성정보를 계산하여 이를 상기 A/V 인코더에 전달하고, 상기 A/V 인코더는 상기 널 패킷 생성정보에 따라 널 패킷을 생성하여 오디오 TS 패킷 및 비디오 TS 패킷과 함께 출력하는 것을 특징으로 하는 지상파 DMB 방송 시스템의 부가데이터 송출을 위한 대역제어장치.The automatic transmission controller receives additional data from the additional data manipulation tool, calculates null packet generation information regarding generation of null packets required for additional data transmission, and transmits the null packet generation information to the A / V encoder. A band control apparatus for transmitting additional data of a terrestrial DMB broadcasting system, characterized in that a null packet is generated according to null packet generation information and output together with an audio TS packet and a video TS packet. 제1항에 있어서, 상기 A/V 인코더는 The method of claim 1, wherein the A / V encoder 비디오 ES를 생성하기 위한 비디오 코덱과,A video codec for generating video ES, 오디오 ES를 생성하기 위한 오디오 코덱과,An audio codec for generating audio ES, 상기 비디오 코덱과 오디오 코덱으로부터의 비디오 ES와 오디오 ES로부터 비디오 TS 패킷과 오디오 TS 패킷을 생성하고, 상기 자동송출제어기로부터의 널 패킷 생성정보에 따라 널 패킷을 생성하여 출력하는 대역제어부A band control unit which generates a video TS packet and an audio TS packet from the video ES and the audio ES from the video codec and the audio codec, and generates and outputs a null packet according to null packet generation information from the automatic transmission controller. 를 구비하는 것을 특징으로 하는 지상파 DMB 방송 시스템의 부가데이터 송출을 위한 대역제어장치.Band control apparatus for transmitting additional data of the terrestrial DMB broadcasting system comprising a. 제2항에 있어서, 상기 대역제어부는The method of claim 2, wherein the band control unit 비디오 ES로부터 비디오 PES 패킷을 생성하기 위한 비디오 패키타이저와,A video packager for generating a video PES packet from the video ES, 오디오 ES로부터 오디오 PES 패킷을 생성하기 위한 오디오 패키타이저와,An audio packager for generating audio PES packets from an audio ES, 비디오 PES 패킷과 오디오 PES 패킷에서 해당 패킷의 CTS값과 연계되어 있는 비디오 TS 패킷과 오디오 TS 패킷을 생성하기 위한 TS 패키타이저와,A TS packager for generating a video TS packet and an audio TS packet associated with the CTS value of the packet in the video PES packet and the audio PES packet; 상기 자동송출제어기로부터의 널 패킷 생성정보에 따라 널 패킷이 균등하게 전송될 수 있도록 하는 각 널 패킷의 CTS값을 계산하여 출력하는 널 패킷 생성기와,A null packet generator for calculating and outputting a CTS value of each null packet for allowing null packets to be transmitted evenly according to null packet generation information from the automatic transmission controller; 비디오 TS 패킷과 오디오 TS 패킷과 널 패킷을 위한 3개의 FIFO 버퍼를 구비하며, 각 버퍼에 저장되어 있는 패킷중에 CTS 값이 가장 빠른 패킷을 추출하여 출력하는 버퍼제어기와,A buffer controller having three FIFO buffers for a video TS packet, an audio TS packet, and a null packet, and extracting and outputting a packet having the fastest CTS value among the packets stored in each buffer; 추출된 패킷을 상기 자동송출제어기로 전송하는 TS 패킷 전송기TS packet transmitter for transmitting the extracted packet to the automatic transmission controller 를 포함하는 것을 특징으로 하는 지상파 DMB 방송 시스템의 부가데이터 송출을 위한 대역제어장치.Band control device for transmitting additional data of the terrestrial DMB broadcasting system comprising a. 제3항에 있어서, 상기 버퍼제어기는The method of claim 3, wherein the buffer controller 비디오 TS 패킷과 오디오 TS 패킷과 널 패킷을 각 패킷의 CTS값과 연계하여 저장하기 위한 3개의 FIFO 버퍼와,Three FIFO buffers for storing video TS packets, audio TS packets, and null packets in association with the CTS value of each packet; 비디오 TS 패킷을 위한 FIFO 버퍼의 수위가 소정의 상한치 이상이 되면 비디오 압축률을 낮추도록 하는 압축률제어정보를 비디오 코덱에 전달하고, 비디오 TS 패킷을 위한 FIFO 버퍼의 수위가 소정의 하한치 이하가 되면 비디오 압축률을 높이도록 하는 압축률제어정보를 비디오 코덱에 전달하는 버퍼감시부와,When the level of the FIFO buffer for the video TS packet exceeds the predetermined upper limit, the compression rate control information for lowering the video compression rate is transmitted to the video codec. When the level of the FIFO buffer for the video TS packet falls below the predetermined lower limit, the video compression rate A buffer monitoring unit for transmitting the compression rate control information to the video codec to increase the 상기 3개의 FIFO 버퍼에 저장되어 있는 패킷중에서 CTS값이 가장 빠른 패킷을 추출하여 출력하는 패킷선택부Packet selector for extracting and outputting the packet with the fastest CTS value among the packets stored in the three FIFO buffers 를 포함하는 것을 특징으로 하는 지상파 DMB 방송 시스템의 부가데이터 송출을 위한 대역제어장치.Band control device for transmitting additional data of the terrestrial DMB broadcasting system comprising a. 제3항에 있어서, 상기 버퍼제어기는The method of claim 3, wherein the buffer controller 비디오 TS 패킷과 오디오 TS 패킷과 널 패킷을 각 패킷의 CTS값과 연계하여 저장하기 위한 3개의 FIFO 버퍼와,Three FIFO buffers for storing video TS packets, audio TS packets, and null packets in association with the CTS value of each packet; 상기 3개의 FIFO 버퍼의 총 수위에 따라 비디오 압축률을 제어하기 위한 압축률제어정보를 생성하여 비디오 코덱에 전달하는 버퍼감시부와,A buffer monitoring unit for generating compression rate control information for controlling the video compression rate according to the total water levels of the three FIFO buffers and transmitting the same to the video codec; 상기 3개의 FIFO 버퍼에 저장되어 있는 패킷중에서 CTS값이 가장 빠른 패킷을 추출하여 출력하는 패킷선택부Packet selector for extracting and outputting the packet with the fastest CTS value among the packets stored in the three FIFO buffers 를 포함하는 것을 특징으로 하는 지상파 DMB 방송 시스템의 부가데이터 송출을 위한 대역제어장치.Band control device for transmitting additional data of the terrestrial DMB broadcasting system comprising a. 제4항 또는 제5항에 있어서, The method according to claim 4 or 5, 상기 널 패킷을 위한 FIFO 버퍼에는 각 널 패킷의 CTS값만이 저장되며,Only the CTS value of each null packet is stored in the FIFO buffer for the null packet, 상기 패킷선택부는 널 패킷의 위한 FIFO 버퍼에 저장되어 있는 CTS값을 추출하였을 때에 널 패킷을 생성하여 출력하는 것을 특징으로 하는 지상파 DMB 방송 시스템의 부가데이터 송출을 위한 대역제어장치.And the packet selector generates and outputs a null packet when the CTS value stored in the FIFO buffer for the null packet is extracted and outputs the null packet. 제4항 또는 제5항에 있어서,The method according to claim 4 or 5, 상기 널 패킷 생성정보에는 생성할 널 패킷의 총 패킷수(NTP), 해당 널 패킷을 전송완료해야 할 소요시간(T)이 포함되며,The null packet generation information includes the total number of null packets (N TP ) of null packets to be generated and the time required to complete the transmission of the corresponding null packets (T). 상기 널 패킷 생성기는 전송율(NTP/T)을 계산하여 계산된 전송율에 따라 균등한 간격으로 CTS값을 생성하는 것을 특징으로 하는 지상파 DMB 방송 시스템의 부가데이터 송출을 위한 대역제어장치.And the null packet generator calculates a transmission rate (N TP / T) and generates CTS values at equal intervals according to the calculated transmission rate. 제7항에 있어서,The method of claim 7, wherein 상기 자동송출제어기는 부가데이터 저작툴로부터 부가데이터의 반복전송시간에 관한 정보를 받아서, 해당 반복전송시간마다 상기 널 패킷 생성정보를 A/V 인코더에 전송하는 것을 특징으로 하는 지상파 DMB 방송 시스템의 부가데이터 송출을 위한 대역제어장치.The automatic transmission controller receives the information on the repetitive transmission time of the additional data from the additional data authoring tool, and transmits the null packet generation information to the A / V encoder at each repetitive transmission time. Band control device for transmission. 제1항에 있어서, 상기 자동송출제어기는 According to claim 1, wherein the automatic transmission controller 부가데이터저작툴로부터 수신한 데이터로부터 데이터 TS 패킷을 생성하기 위한 TS 패키타이저와, A TS packager for generating a data TS packet from data received from the additional data authoring tool; 상기 A/V 인코더로부터 수신한 패킷 중에서 널 패킷 대신에 상기 데이터 TS 패킷을 치환하기 위한 널 패킷 치환기와,A null packet replacer for replacing the data TS packet instead of a null packet among packets received from the A / V encoder; 상기 널 패킷 치환기에서 출력되는 TS 패킷을 전송하기 위한 TS 패킷 전송기를 포함하는 것을 특징으로 하는 지상파 DMB 방송 시스템의 부가데이터 송출을 위한 대역제어장치.And a TS packet transmitter for transmitting the TS packet outputted from the null packet substitutent, for transmitting additional data of the terrestrial DMB broadcasting system. 비디오 신호로부터 CTS값이 연계된 비디오 TS 패킷을 생성하는 단계와,Generating a video TS packet associated with the CTS value from the video signal; 오디오 신호로부터 CTS값이 연계된 오디오 TS 패킷을 생성하는 단계와,Generating an audio TS packet associated with the CTS value from the audio signal; 부가데이터 저작툴을 사용하여 생성된 부가데이터로부터 데이터 TS 패킷을 생성하는 단계와,Generating a data TS packet from the additional data generated using the additional data authoring tool; 부가데이터 전송을 위해 필요한 널 패킷의 생성에 관한 널 패킷 생성정보를 계산하는 단계와,Calculating null packet generation information about generation of a null packet required for additional data transmission; 계산된 널 패킷 생성정보에 따라 CTS값이 연계된 널 패킷을 생성하는 단계와,Generating a null packet associated with the CTS value according to the calculated null packet generation information; 상기 CTS값이 연계된 비디오 TS 패킷, 오디오 TS 패킷 및 널 패킷 중에서 CTS 값이 빠른 순서대로 패킷을 출력하는 단계와, Outputting packets in order of CTS value among the video TS packet, the audio TS packet, and the null packet associated with the CTS value; 상기 출력되는 패킷에서 널 패킷 대신에 상기 데이터 TS 패킷으로 치환하여 전송하는 단계Substituting and transmitting the data TS packet instead of a null packet in the output packet 를 구비하는 지상파 DMB 방송 시스템의 부가데이터 송출을 위한 대역제어방법.Band control method for transmitting additional data of the terrestrial DMB broadcasting system having a. 제10항에 있어서,The method of claim 10, 상기 CTS값이 연계된 널 패킷을 생성할 때, 널 패킷 생성정보에 따라 널 패킷이 균등하게 전송될 수 있도록 각 널 패킷의 CTS값을 계산하는 것을 특징으로 하 는 지상파 DMB 방송 시스템의 부가데이터 송출을 위한 대역제어방법.When generating the null packet associated with the CTS value, the additional data transmission of the terrestrial DMB broadcasting system is calculated such that the CTS value of each null packet is calculated so that the null packet can be transmitted evenly according to the null packet generation information. Band control method for the. 제11항에 있어서,The method of claim 11, 상기 널 패킷 생성정보에는 생성할 널 패킷의 총 패킷수(NTP), 해당 널 패킷을 전송완료해야 할 소요시간(T)이 포함되며,The null packet generation information includes the total number of null packets (N TP ) of null packets to be generated and the time required to complete the transmission of the corresponding null packets (T). 상기 CTS값이 연계된 널 패킷을 생성할 때, 상기 널 패킷 생성정보를 이용하여 전송율(NTP/T)을 계산하고, 계산된 전송율에 따라 균등한 간격으로 CTS값을 생성하여 널 패킷에 연계시키는 것을 특징으로 하는 지상파 DMB 방송 시스템의 부가데이터 송출을 위한 대역제어방법.When generating a null packet associated with the CTS value, the transmission rate (N TP / T) is calculated using the null packet generation information, and the CTS value is generated at equal intervals according to the calculated transmission rate and linked to the null packet. Band control method for transmitting additional data of the terrestrial DMB broadcasting system, characterized in that. 제11항에 있어서,The method of claim 11, 상기 생성된 비디오 TS 패킷과, 오디오 TS 패킷과, 널 패킷은 각각 FIFO 버퍼에 저장되며,The generated video TS packet, audio TS packet, and null packet are respectively stored in a FIFO buffer. 비디오 TS 패킷을 위한 FIFO 버퍼의 수위가 소정의 상한치 이상이 되면 비디오 압축률을 낮추도록 하고, 비디오 TS 패킷을 위한 FIFO 버퍼의 수위가 소정의 하한치를 이하가 되면 비디오 압축률을 높이도록 하는 단계를 더 포함하는 지상파 DMB 방송 시스템의 부가데이터 송출을 위한 대역제어방법.Lowering the video compression rate when the water level of the FIFO buffer for the video TS packet is above a predetermined upper limit, and increasing the video compression rate when the water level of the FIFO buffer for the video TS packet is below a predetermined lower limit. Band control method for transmitting additional data of the terrestrial DMB broadcasting system. 제11항에 있어서,The method of claim 11, 상기 생성된 비디오 TS 패킷과, 오디오 TS 패킷과, 널 패킷은 각각 FIFO 버퍼에 저장되며,The generated video TS packet, audio TS packet, and null packet are respectively stored in a FIFO buffer. 상기 3개의 FIFO 버퍼의 총 수위에 따라 비디오 압축률을 제어하는 단계를 더 포함하는 지상파 DMB 방송 시스템의 부가데이터 송출을 위한 대역제어방법.And controlling the video compression rate according to the total water levels of the three FIFO buffers.
KR1020050133052A 2005-12-29 2005-12-29 Bandwidth control method and apparatus for transmission of auxiliary data in terrestiral dmb broadcasting system KR100732323B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050133052A KR100732323B1 (en) 2005-12-29 2005-12-29 Bandwidth control method and apparatus for transmission of auxiliary data in terrestiral dmb broadcasting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050133052A KR100732323B1 (en) 2005-12-29 2005-12-29 Bandwidth control method and apparatus for transmission of auxiliary data in terrestiral dmb broadcasting system

Publications (1)

Publication Number Publication Date
KR100732323B1 true KR100732323B1 (en) 2007-06-25

Family

ID=38373408

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050133052A KR100732323B1 (en) 2005-12-29 2005-12-29 Bandwidth control method and apparatus for transmission of auxiliary data in terrestiral dmb broadcasting system

Country Status (1)

Country Link
KR (1) KR100732323B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100882360B1 (en) 2007-03-13 2009-02-05 한국방송공사 Realtime authorizing/providing tool of auxiliary data and method for operating the same
KR101129900B1 (en) * 2009-08-06 2012-03-28 한국방송공사 Dmb tx/rx apparatus and method for transmitting supplement data by idle band of video service

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020089078A (en) * 2001-05-23 2002-11-29 엘지전자 주식회사 VSB communication system and method of processing data in a VSB communication system
KR20030059034A (en) * 2003-06-17 2003-07-07 (주) 에이티엔 A Location Based Broadcasting Method and its Apparatus for Traffic Information, using the Digital Multimedia Broadcasting System
KR20040083248A (en) * 2003-03-21 2004-10-01 엘지전자 주식회사 Digital VSB transmitting system and enhanced data multiplexing method in a VSB transmitting system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020089078A (en) * 2001-05-23 2002-11-29 엘지전자 주식회사 VSB communication system and method of processing data in a VSB communication system
KR20040083248A (en) * 2003-03-21 2004-10-01 엘지전자 주식회사 Digital VSB transmitting system and enhanced data multiplexing method in a VSB transmitting system
KR20030059034A (en) * 2003-06-17 2003-07-07 (주) 에이티엔 A Location Based Broadcasting Method and its Apparatus for Traffic Information, using the Digital Multimedia Broadcasting System

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100882360B1 (en) 2007-03-13 2009-02-05 한국방송공사 Realtime authorizing/providing tool of auxiliary data and method for operating the same
KR101129900B1 (en) * 2009-08-06 2012-03-28 한국방송공사 Dmb tx/rx apparatus and method for transmitting supplement data by idle band of video service

Similar Documents

Publication Publication Date Title
JP4437341B2 (en) Target system decoder and data buffering system
JP3216531B2 (en) Remultiplexing apparatus and remultiplexing method
KR20040036447A (en) Apparatus and method for injection of synchronized stream data in digital broadcasting environment
US6870861B1 (en) Digital signal multiplexing method and apparatus, digital signal transmission method and apparatus, digital signal recording method apparatus and recording medium
JP2012513139A (en) Method for synchronizing transport streams in a multiplexer with an external coprocessor
WO2012116743A1 (en) Deterministic re-multiplexing for sfn networks
JP2007281868A (en) Transmission apparatus and receiving apparatus
US20100128800A1 (en) Method and Apparatus for Closed Caption Transcoding
JP2002535934A (en) Method and apparatus for delivering reference signal information at specified time intervals
KR101131836B1 (en) ASI Switcher for digital advertisement inserter
KR100732323B1 (en) Bandwidth control method and apparatus for transmission of auxiliary data in terrestiral dmb broadcasting system
US20110122320A1 (en) Broadcast contents data transmitting apparatus and contents data transmitting method
US8228999B2 (en) Method and apparatus for reproduction of image frame in image receiving system
JP4391412B2 (en) Dynamic multiplexing method of digital stream
JP2006279803A (en) Re-multiplexing apparatus
EP1134980B1 (en) Digital data processing from multiple streams of data
US20050105563A1 (en) Multi-channel statistical multiplexing system
KR20060089508A (en) Apparatus and method for creating transport stream for efficient transmission of timing information, and dmb transmission system using it
KR100962083B1 (en) Method and system for converting a first data stream into a second data stream
JP4591060B2 (en) PSI / SI generation apparatus, multiplexing apparatus, and program distribution system
EP3035691A2 (en) Methods and apparatus for minimizing timing artifacts in remultiplexing
JPH11340936A (en) Method and device for multiplexing data
JP5352545B2 (en) Digital broadcast transmission device
KR100630545B1 (en) Apparatus and method for controlling transmission rate in digital broadcasting
KR100950771B1 (en) Apparatus and method for transmitting and receiving the broadcasting signal

Legal Events

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

Payment date: 20110525

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee