KR20110129559A - Asi switcher for digital advertisement inserter - Google Patents

Asi switcher for digital advertisement inserter Download PDF

Info

Publication number
KR20110129559A
KR20110129559A KR1020100048997A KR20100048997A KR20110129559A KR 20110129559 A KR20110129559 A KR 20110129559A KR 1020100048997 A KR1020100048997 A KR 1020100048997A KR 20100048997 A KR20100048997 A KR 20100048997A KR 20110129559 A KR20110129559 A KR 20110129559A
Authority
KR
South Korea
Prior art keywords
control information
data
stream
switcher
advertisement
Prior art date
Application number
KR1020100048997A
Other languages
Korean (ko)
Other versions
KR101131836B1 (en
Inventor
이우철
서정빈
신근수
권동현
Original Assignee
주식회사 마루이엔지
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 마루이엔지 filed Critical 주식회사 마루이엔지
Priority to KR1020100048997A priority Critical patent/KR101131836B1/en
Publication of KR20110129559A publication Critical patent/KR20110129559A/en
Application granted granted Critical
Publication of KR101131836B1 publication Critical patent/KR101131836B1/en

Links

Images

Classifications

    • 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/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23424Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement
    • 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/23608Remultiplexing multiplex streams, e.g. involving modifying time stamps or remapping the packet identifiers
    • 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/242Synchronization processes, e.g. processing of PCR [Program Clock References]

Abstract

PURPOSE: An asynchronous serial interface switcher for a digital advertisement inserter is provided to insert advertisement data without decoding the digital broadcasting data to audio/video. CONSTITUTION: At least two or more TS-Demuxes(421,422,423) extracts a video stream, an audio stream, and control information from a TS(Transport Stream). A connection unit(430) divides the extracted video stream and audio stream into the video stream and audio stream with a preset size. A control information generator(436,437) generates control information about the divided video stream and audio stream from the extracted control information.

Description

디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐{ASI Switcher for digital advertisement inserter}ASI Switcher for digital advertisement inserter

본 발명은 디지털 방송 데이터에 광고 데이터를 삽입하여 새로운 방송 데이터를 생성하여 출력하는 비동기 직렬 인터페이스 스위쳐에 관한 것으로, 특히 디지털 방송 데이터를 오디오/비디오 수준까지 디코딩하지 않고도 광고 데이터를 TS수준에서 삽입하는 가능하도록 하는 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐에 관한 것이다.The present invention relates to an asynchronous serial interface switcher for inserting advertisement data into digital broadcast data to generate and output new broadcast data. In particular, the advertisement data can be inserted at the TS level without decoding the digital broadcast data to the audio / video level. Asynchronous serial interface switcher for digital advertisement inserter to make.

지상파 방송의 디지털 전환이 2012년까지 완성 목표로 진행되고 있다. 지상파 방송의 디지털 전환과 맞물려 케이블 방송국도 디지털 방송서비스를 위한 시스템의 도입이 시급히 요구되고 있다. 케이블의 디지털 전환은 제작, 전송, 송출 등의 모든 것을 말한다. Digital conversion of terrestrial broadcasting is underway to be completed by 2012. In conjunction with the digital conversion of terrestrial broadcasting, cable broadcasting stations are urgently required to introduce a system for digital broadcasting services. Digital conversion of cables means everything from manufacturing, transmission and transmission.

케이블 방송은 지상파 방송의 의무 재전송을 기본으로 프로그램 공급사(Program Provider, PP)의 케이블채널을 전송한다. 케이블의 수익성을 위해 시청료 이외에 광고 수입원으로 프로그램 공급사 채널에 지역광고를 삽입하여 송출하는 것이 전체 채널의 50%를 넘는다. Cable broadcasting transmits a cable channel of a program provider (PP) based on mandatory retransmission of terrestrial broadcasting. For the profitability of the cable, more than 50% of the total channels are sent by inserting local advertisements into program providers' channels as advertising revenue sources.

이때 광고 삽입기가 필요하게 되고 채널 재전송을 위해 광고 삽입시스템의 중요 장비인 비동기 직렬 인터페이스 스위쳐(Asynchronous Serial Interface Switcher, ASI Swithcer)가 요구되는데 이는 전송 스트림이 아날로그 신호가 아닌 디지털로 압축되어 전송하게 되기 때문이다.In this case, an advertisement inserter is required and an asynchronous serial interface switcher (ASI Swithcer), which is an important equipment of the advertisement insertion system, is required for channel retransmission because the transport stream is compressed digitally and not an analog signal. to be.

따라서 종래 아날로그 방송에서와 같이 단순히 비디오 스위쳐로 처리하던 것을 디지털로 전환 되면서 압축된 멀티미디어 스트림의 처리로 시스템이 복잡하여 지게 된다.Therefore, the system is complicated by the processing of the compressed multimedia stream while converting the processing from the video switcher to digital as in the conventional analog broadcasting.

구체적으로 아날로그 방송에서는 비디오의 싱크를 검출하여 프레임에 맞게 비디오를 절체하였던 것을 디지털 방송에서는 아날로그 방송에서 적용되었던 방식이 불가능하다. 왜냐하면 디지털 방송은 방송 스트림을 압축된 형태의 전송 스트림(Transport Stream, TS)으로 전송되기 때문에 비디오의 싱크를 검출하기 위해서는 압축된 TS데이터를 디코딩하여야만 하므로 아날로그 방송에서와 같이 전송되는 데이터에서 비디오 싱크를 검출하는 것이 불가능하게 되는 것이다. In particular, in analog broadcasting, video sync is detected by switching the video to a frame and digital broadcasting cannot be applied to analog broadcasting. Because digital broadcasting transmits a broadcast stream in a compressed transport stream (TS), it is necessary to decode the compressed TS data in order to detect video sync. It becomes impossible to detect.

그런데 TS데이터는 압축된 데이터이므로 아날로그 데이터와 같이 정확한 절체를 위해서는 많은 기술적 어려움이 존재하고 있으며, 현재까지 알려진 방식으로는 다수의 소스로부터 입력되는 TS데이터를 모두 디코딩한 후 절체한 후 새로운 형태의 TS로 인코딩하는 방식이다.However, since TS data is compressed data, many technical difficulties exist for accurate switching, such as analog data.To date, a known type of TS decodes and transfers TS data input from a plurality of sources. This is how you encode it.

도 1은 현재까지 알려진 방식으로 처리되는 디지털 방송 데이터에 광고 데이터를 삽입하기 위한 장치의 개괄적인 구성도이다.1 is a schematic configuration diagram of an apparatus for inserting advertisement data into digital broadcast data processed in a manner known to date.

도 1의 종래기술에 따른 광고 삽입기를 이용한 비동기 직렬 인터페이스 스위쳐의 동작에 대해 자세히 설명한다.The operation of the asynchronous serial interface switcher using the advertisement inserter according to the prior art of FIG. 1 will be described in detail.

Source A로 표시되는 데이터는 프로그램 공급자에서 생성된 디지털 방송 데이터(101)라고 하고, Source B로 표시되는 데이터는 광고 데이터(102)라 하자. 각각 제1 스위쳐 입력부(111)과 제2 스위쳐 입력부(112)를 통해 입력된다.The data represented by Source A is called digital broadcast data 101 generated by the program provider, and the data represented by Source B is called advertisement data 102. The first switcher input unit 111 and the second switcher input unit 112 are respectively input.

본 발명은 디지털 방송에 관한 것으로 상기 Source A(101)와 Source B(102)에서 생성된 데이터는 모두 트랜스포트 스트림(Transport Stream, TS)포맷으로 압축된 데이터이다.The present invention relates to digital broadcasting. The data generated from the source A 101 and the source B 102 are all data compressed in a transport stream (TS) format.

따라서 트랜스포트 스트림을 병합하기 위해서는 압축된 데이터를 압축해제 즉,디코딩하여야만 한다. Therefore, in order to merge transport streams, compressed data must be decompressed, that is, decoded.

구체적으로 제1 디코더(121)에 디지털 방송 데이터가 입력되어서 비디오, 오디오 및 제어정보를 포함한 데이터가 디코딩된다. 상기에서 디코딩은 영상장치를 통해 출력되는 형태로 디코딩되는 것을 의미한다. 한편 제1 디코더(121)에 의해 디코딩된 데이터에는 비디오, 오디오 데이터 및 제어정보가 포함되어 있으며 비디오, 오디오 데이터는 스위쳐에서 합성되기 위하여 제1 디먹스(131)에 의해 분리된다.Specifically, digital broadcast data is input to the first decoder 121 to decode data including video, audio, and control information. In the above, the decoding means decoding in a form output through an image device. Data decoded by the first decoder 121 includes video, audio data, and control information, and the video and audio data are separated by the first demux 131 to be synthesized in the switcher.

동일한 방식으로 광고 데이터 역시 압축되어 있으므로 디코딩되어야 하며, 제2디코더(122)에 의해 비디오, 오디오 및 제어정보를 포함한 데이터가 디코딩된다. 한편 제2디코더(122)에 의해 디코딩된 데이터에는 비디오, 오디오 데이터 및 제어정보가 포함되어 있으며 비디오, 오디오 데이터는 스위쳐에서 합성되기 위하여 제2 디먹스(132)에 의해 분리된다.In the same way, the advertisement data is also compressed and must be decoded, and the data including video, audio and control information is decoded by the second decoder 122. Meanwhile, the data decoded by the second decoder 122 includes video, audio data, and control information. The video and audio data are separated by the second demux 132 to be synthesized in the switcher.

디지털 방송에서 통상적인 방송 중에 광고를 송출하기 위해서는 현재 방송 중인 디지털 방송 데이터에 광고 데이터를 삽입하여 하므로, 상기 디코딩된 디지털 방송 데이터 중 디지털 방송 비디오 스트림(141)와 디지털 방송 오디오 스트림(142)는 스위쳐(190)에 입력되고 또한 디코딩된 광고 데이터 중 광고 비디오 스트림(143)와 광고 오디오 스트림(144)가 스위쳐(190)에 입력되어 스위쳐에 의해 방송 데이터로부터 추출된 디지털 방송 데이터용 비디오 데이터와 오디오 데이터에 광고 데이터로부터 추출된 광고 데이터용 비디오 데이터와 오디오 데이터를 절체하여 새로운 디지털 방송 데이터용 합성 비디오 스트림(451)와 합성 오디오 스트림(152)를 생성한다.In order to transmit an advertisement during normal broadcasting in digital broadcasting, advertisement data is inserted into digital broadcasting data that is currently being broadcast. Therefore, the digital broadcasting video stream 141 and the digital broadcasting audio stream 142 of the decoded digital broadcasting data are switchers. Video data and audio data for digital broadcast data input to the 190 and the decoded commercial data 143 and the commercial audio stream 144 are input to the switcher 190 and extracted from the broadcast data by the switcher. The video data and the audio data for the advertisement data extracted from the advertisement data are switched to generate new composite video stream 451 and synthetic audio stream 152 for digital broadcast data.

이때 새로운 디지털 방송 데이터에 대한 제어정보가 새로이 생성되는데, 이때 기존의 방송 데이터와 광고 데이터에 포함되어 있는 정보는 무시되고 새로이 생성된 디지털 방송 데이터에 기초하여 새로운 제어정보가 생성된다.In this case, new control information for new digital broadcast data is generated. In this case, information included in the existing broadcast data and advertisement data is ignored and new control information is generated based on the newly generated digital broadcast data.

이렇게 하여 생성된 데이터는 방송 데이터와 광고 데이터가 합성된 것으로 수신기 입장에서는 구분되지 않는다.The data generated in this way is a composite of broadcast data and advertisement data and is not distinguished from the receiver's point of view.

새로이 생성된 방송 데이터는 인코더(160)에 의해 새로 압축되며, 프로그램 공급자 등에서 합성 트랜스포트 스트림(170)을 생성하는 절차에 따라 트랜스포트 스트림을 생성하며, 현재 송출되고 있는 방송 데이터와 연결성을 위해 재생성(Regeneration) 장치에서 변환된 후 스위쳐 출력부(180)를 통해 출력된 후 통상의 방송시스템을 통해 수신기에 전송된다.The newly generated broadcast data is newly compressed by the encoder 160, and generates a transport stream according to a procedure of generating a synthetic transport stream 170 from a program provider, etc., and regenerates for connectivity with broadcast data currently being transmitted. (Regeneration) After being converted in the device is output through the switcher output unit 180 is transmitted to the receiver through a conventional broadcast system.

그런데 상기와 같은 종래 기술에 따른 비동기 직렬 인터페이스 스위쳐는 디지털 방송 데이터와 광고 데이터를 비디오/오디오로 디코딩한 방송 데이터와 광고 데이터를 일정한 순서에 따라 스위칭하여 새로운 합성 비디오/오디오 스트림으로 생성한 다음 다시 인코딩하여 합성 트랜스포트 스트림을 생성하여야 하기 때문에 처리 시간이 길어져서 실시간으로 방송되는 경우에는 그 지연이 무시할 수 없는 수준으로 증가된다는 문제점이 있다.However, the asynchronous serial interface switcher according to the related art switches the broadcast data and the advertisement data decoded into the video / audio of the digital broadcast data and the advertisement data in a certain order to generate a new composite video / audio stream, and then re-encodes them. Therefore, when the broadcast time is broadcast in real time because the synthesis transport stream has to be generated, there is a problem that the delay is increased to a level that cannot be ignored.

또한 압축된 데이터를 디코딩한 다음 다시 인코딩하여야 하기 때문에 디코딩과인코딩 과정에서 데이터의 손실에 따른 화질 열화가 필연적으로 발생되며, 특히 인코더의 성능에 따라 화질 열화가 더욱 심해진다는 문제점이 있다.In addition, since the decoded data must be decoded and then re-encoded, image quality deterioration inevitably occurs due to data loss during decoding and encoding. In particular, image quality deterioration becomes more severe according to the performance of the encoder.

본 발명은 상기와 같은 문제점을 해결하기 위해 제안된 것으로, 디지털 방송 데이터에 광고 데이터를 삽입하여 전송함에 있어 디지털 방송 데이터를 오디오/비디오로 디코딩하지 않아도 광고 데이터를 삽입하는 것이 가능한 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐를 제공하고자 한다.The present invention has been proposed to solve the above-mentioned problems, and the digital advertisement inserter capable of inserting advertisement data without decoding the digital broadcast data into audio / video in inserting and transmitting the advertisement data into the digital broadcast data. We want to provide an asynchronous serial interface switcher.

본 발명은 상기와 같은 문제점을 해결하기 위해 제안된 것으로, 디지털 방송 데이터에 광고 데이터를 삽입하여 전송함에 있어 디지털 방송 데이터의 화질열화를 최소화하면서도 오디오 스트림과 비디오 스트림의 동기를 안정적으로 맞출 수 있는 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐를 제공하고자 한다.The present invention has been proposed to solve the above problems, and the digital broadcast data can be stably synchronized with the audio stream and video stream while minimizing the deterioration of the quality of the digital broadcast data in inserting and transmitting the advertisement data into the digital broadcast data. We want to provide an asynchronous serial interface switcher for the ad inserter.

본 발명은 상기와 같은 문제점을 해결하기 위해 제안된 것으로, 디지털 방송 데이터에 광고 데이터를 삽입하여 전송함에 있어 디지털 방송 데이터에 광고 데이터를 삽입하여 새로운 디지털 방송 데이터를 생성하기까지의 지연시간을 최소화할 수 있는 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐를 제공하고자 한다.The present invention has been proposed to solve the above-mentioned problems. In the case of inserting and transmitting advertisement data into digital broadcast data, the delay time between inserting advertisement data into digital broadcast data and generating new digital broadcast data is minimized. We want to provide an asynchronous serial interface switcher for digital ad inserter.

상기와 같은 과제를 달성하기 위한 본 발명에 따른 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐는,Asynchronous serial interface switcher for a digital advertisement inserter according to the present invention for achieving the above object,

적어도 둘 이상의 컨텐츠 생성부로부터 트랜스포트 스트림을 입력받는 적어도 둘 이상의 입력부;At least two input units receiving a transport stream from at least two content generators;

상기 입력부를 통해 입력된 각각의 트랜스포트 스트림로부터 비디오스트림, 오디오 스트림 및 제어정보를 추출하는 적어도 둘 이상의 역다중화부;At least two demultiplexers for extracting a video stream, an audio stream, and control information from each transport stream input through the input unit;

상기 역다중화부에서 추출된 각각의 비디오 스트림 및 오디오 스트림을 연접하여 소정의 크기의 비디오 스트림 및 오디오 스트림으로 분할하는 연접부; 및A concatenation unit for concatenating each video stream and audio stream extracted by the demultiplexer and dividing the video stream and the audio stream into predetermined sizes; And

상기 역다중화부에서 추출된 제어정보로부터 상기 연접부에서 연접되고 분할되는 비디오 스트림 및 오디오 스트림에 대한 제어정보를 생성하는 제어정보생성부를 포함하는 것을 특징으로 한다.And a control information generator configured to generate control information for the video stream and the audio stream that are concatenated and divided at the junction from the control information extracted by the demultiplexer.

한편 상기 역다중화부에서 추출되는 제어정보는 PID, PCR, PAT 또는 PMT제어정보 중 하나인 것을 특징으로 한다.Meanwhile, the control information extracted from the demultiplexer is one of PID, PCR, PAT or PMT control information.

상기에서 적어도 둘 이상의 컨텐츠 생성부로부터 입력되는 트랜스포트 스트림은 적어도 하나의 방송 데이터와 적어도 하나의 광고 데이터를 포함하고 있으며,The transport stream input from the at least two content generating units includes at least one broadcast data and at least one advertisement data.

상기 적어도 하나의 방송 데이터로부터 상기 적어도 하나의 광고 데이터를 포함하여 전송하도록 하는 절체신호를 입력받는 큐톤입력부를 더 포함하는 것을 특징으로 한다.The apparatus may further include a cuetone input unit configured to receive a switching signal for transmitting the at least one broadcast data including the at least one advertisement data.

상기와 같은 구성을 가지는 본 발명에 따른 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐는 디지털 방송 데이터에 광고 데이터를 삽입하여 전송함에 있어 디지털 방송 데이터를 오디오/비디오로 디코딩하지 않아도 광고 데이터를 삽입하는 것이 가능해진다.The asynchronous serial interface switcher for the digital advertisement inserter having the above configuration can insert the advertisement data without decoding the digital broadcast data into audio / video in inserting and transmitting the advertisement data into the digital broadcast data. Become.

한편 상기와 같은 구성을 가지는 본 발명에 따른 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐는 디지털 방송 데이터에 광고 데이터를 삽입하여 전송함에 있어 디지털 방송 데이터의 화질열화를 최소화하면서도 오디오 스트림과 비디오 스티림의 동기를 안정적으로 맞출 수 있게 된다.On the other hand, the asynchronous serial interface switcher for the digital advertisement inserter according to the present invention having the configuration as described above synchronizes the audio stream and the video stream while minimizing the deterioration of the quality of the digital broadcast data in inserting and transmitting the advertisement data into the digital broadcast data. Can be set stably.

다른 한편으로 상기와 같은 구성을 가지는 본 발명에 따른 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐는 디지털 방송 데이터에 광고 데이터를 삽입하여 새로운 디지털 방송 데이터를 생성하기까지의 지연시간을 최소화할 수 있게 된다.On the other hand, the asynchronous serial interface switcher for the digital advertisement inserter according to the present invention having the configuration as described above can minimize the delay time before inserting the advertisement data into the digital broadcast data to generate new digital broadcast data.

도 1은 종래기술에 따른 스위쳐에서 디지털 방송 데이터와 광고 데이터를 합성하여 새로운 방송 데이터를 생성하는 과정에 대한 데이터 흐름도이다.
도 2는 본 발명에 따른 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐에서 디지털 방송 데이터와 광고 데이터로부터 방송 데이터를 생성하는 과정에 대한 데이터 흐름도이다.
도 3은 본 발명에 따른 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐에서 디지털 방송 데이터와 광고 데이터의 제어정보로부터 연접된 디지털 방송 데이터와 광고 데이터의 제어정보를 생성하는 과정에 대한 제어정보 흐름도이다.
도 4는 본 발명에 따른 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐에서 디지털 방송 데이터와 광고 데이터의 제어정보로부터 연접된 디지털 방송 데이터와 광고 데이터의 제어정보를 생성하는 장치에 관한 개략적인 구성도이다.
도 5는 트랜스포트 스트림의 포맷이다.
1 is a data flow diagram for a process of generating new broadcast data by synthesizing digital broadcast data and advertisement data in a switcher according to the prior art.
2 is a data flow diagram illustrating a process of generating broadcast data from digital broadcast data and advertisement data in an asynchronous serial interface switcher for a digital advertisement inserter according to the present invention.
3 is a control information flow diagram for a process of generating control information of digital broadcast data and advertisement data concatenated from control information of digital broadcast data and advertisement data in an asynchronous serial interface switcher for a digital advertisement inserter according to the present invention.
4 is a schematic configuration diagram of an apparatus for generating control information of digital broadcast data and advertisement data concatenated from control information of digital broadcast data and advertisement data in an asynchronous serial interface switcher for a digital advertisement inserter according to the present invention.
5 is a format of a transport stream.

이하에서는 본 발명에 따른 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐의 구성 동작을 도면을 참고하여 자세히 설명하도록 한다.Hereinafter, a configuration operation of the asynchronous serial interface switcher for the digital advertisement inserter according to the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명에 따른 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐에서 디지털 방송 데이터와 광고 데이터로부터 방송 데이터를 생성하는 과정에 대한 데이터 흐름도이다.2 is a data flow diagram illustrating a process of generating broadcast data from digital broadcast data and advertisement data in an asynchronous serial interface switcher for a digital advertisement inserter according to the present invention.

Sorce A(211)의 트랜스포트 스트림은 프로그램 공급자에 의해 생성된 디지털 방송 데이터라고 하고 제1 스위쳐 입력부(221)을 통해 입력되며, Source B(212)의 트랜스포트 스트림은 광고 사업자에 의해 생성된 광고 데이터라 하고 제2 스위쳐 입력부(222)를 통해 입력된다.The transport stream of Sorce A 211 is called digital broadcast data generated by the program provider and is input through the first switcher input unit 221, and the transport stream of Source B 212 is an advertisement generated by the advertisement provider. The data is input through the second switcher input unit 222.

디지털 방송에서 방송 중 광고가 출력되도록 하기 위해서는 방송 데이터에 광고 데이터를 삽입하여야 하는데, 본 발명에서는 트랜스포트 스트림을 디코딩하지 않아도 가능한 방법을 제안하고 있다.In order to output an advertisement during broadcasting in digital broadcasting, advertisement data should be inserted in the broadcast data. The present invention proposes a method that does not need to decode a transport stream.

이를 위해 도 2에서 보는 바와 같이 제1 티에스-디먹스(TS-Demux, 231)에 의해 디지털 방송 트랜스포트 스트림에서 방송 비디오 스트림(241)과 방송 오디오 스트림(242)을 분리한 다음 이를 연접부(Splicer, 250)에 입력하고 제2 티에스-디먹스(TS-Demux, 232)에 의해 디지털 방송 트랜스포트 스트림에서 방송 비디오 스트림(243)과 방송 오디오 스트림(244)을 분리한 다음 이를 연접부(Splicer, 250)에 입력하여 연접부에서 연접하여 연접된 합성 비디오 스트림(261, 262)와 합성 오디오 스트림(263, 264)가 생성된다.To this end, as shown in FIG. 2, the broadcast video stream 241 and the broadcast audio stream 242 are separated from the digital broadcast transport stream by the first TS-Demux 231, and then a concatenated portion ( The broadcast video stream 243 and the broadcast audio stream 244 from the digital broadcast transport stream by means of a second TS-Demux 232, and then a splicer. , And the composite video streams 261 and 262 and the composite audio streams 263 and 264 concatenated at the concatenation unit are generated.

상기 연접된 합성 비디오 스트림(261, 262)와 합성 오디오 스트림(263, 264)은 하기에서 설명하는 수정된 제어정보와 같이 다중화되어 스위쳐 출력부(270)를 통해 출력되어 수신기에 전송된다.The concatenated composite video streams 261 and 262 and the synthesized audio streams 263 and 264 are multiplexed like the modified control information described below, and are outputted through the switcher output unit 270 and transmitted to the receiver.

상기에서 연접된 합성 비디오 스트림(261, 262)과 합성 오디오 스트림(263, 264)은 압축 해제된 비디오 스트림과 오디오 스트림의 데이터를 하나의 새로운 방송 데이터로 생성하는 종래의 기술과는 다른 것으로 압축 해제되지 않은 비디오 스트림과 오디오 스트림을 그대로 이어붙이는 것을 의미한다.The concatenated composite video streams 261 and 262 and the synthesized audio streams 263 and 264 are decompressed in a manner different from the conventional technique of generating data of the decompressed video stream and the audio stream into one new broadcast data. This means that the video and audio streams are not concatenated together.

한편 상기와 같이 압축 해제되지 않은 비디오 스트림과 오디오 스트림을 단순히 이어 붙이기만 해서는 수신기가 이를 디코딩하지 못한다.On the other hand, the receiver cannot decode it simply by concatenating the uncompressed video stream and the audio stream as described above.

구체적으로 방송 데이터에 포함된 트랜스포트 스트림을 정상적으로 디코딩하도록 하기 위하여 방송 데이터에 관한 제어정보가 포함되어 있으며, 또한 광고 데이터에 포함된 트랜스포트 스트림을 정상적으로 디코딩하도록 하기 위하여 광고 데이터에 관한 제어정보가 포함되어 있다.Specifically, control information about broadcast data is included to normally decode a transport stream included in broadcast data, and control information about advertisement data is included to normally decode a transport stream included in advertisement data. It is.

만일 방송 데이터가 단독으로 전송되는 경우라고 하면 수신기는 방송 데이터에 포함되어 있는 제어정보를 해독함으로써 방송 데이터를 해독할 수 있게 된다.If the broadcast data is transmitted alone, the receiver can decrypt the broadcast data by decoding the control information included in the broadcast data.

그러나 방송 데이터의 사이에 광고 데이터가 삽입되어 구체적으로 연접되어 전송되는 경우, 방송 데이터의 제어정보를 해독하면 방송 데이터는 해독가능하나 광고 데이터는 해독할 수 없으므로 수신기는 수신된 데이터를 디코딩하지 못하게 된다.However, when the advertisement data is inserted in the broadcast data and then concatenated in detail, the broadcast data can be decoded when the control information of the broadcast data is decoded, but the advertisement data cannot be decoded, so the receiver cannot decode the received data. .

마찬가지로 광고 데이터의 제어정보를 해독하는 것은 광고 데이터는 디코딩하도록 할 수 있으나 방송 데이터는 디코딩하지 못하게 된다.Similarly, decoding the control information of the advertisement data may allow the advertisement data to be decoded but not the broadcast data.

따라서 방송 데이터와 광고 데이터를 모두 디코딩하기 위해서는 방송 데이터와 광고 데이터의 제어정보를 수신기가 모두 수신하여야 한다.Therefore, in order to decode both the broadcast data and the advertisement data, the receiver must receive both control information of the broadcast data and the advertisement data.

한편 방송 데이터의 제어정보와 광고 데이터의 제어정보를 수신기가 모두 수신한다고 하더라도 상황에 따라 수신기가 수신된 방송 데이터와 광고 데이터를 정상적으로 디코딩하지 못하는 경우가 발생한다.On the other hand, even if the receiver receives both control information of the broadcast data and control information of the advertisement data, the receiver may not normally decode the received broadcast data and the advertisement data depending on the situation.

구체적으로 다음과 같은 경우에는 디코더가 오동작되는 것으로 알려져 있다.Specifically, it is known that the decoder malfunctions in the following cases.

먼저 PCR(Program Clock Reference)이 갑자기 변경되는 경우이다. PCR은 트랜스포트 스트림이 참고로 하는 시간 정보로서 영상과 결합된 오디오 신호가 영상에 동기화된 콘텐츠를 표현하기 위해 이용되는데, 방송 데이터와 광고 데이터에 포함된 PCR이 서로 다른 경우, 방송 데이터를 디코딩한 디코더가 광고 데이터를 디코딩하고자 하는 경우 갑작스런 PCR의 변화로 인해 디코더가 오동작될 수 있다.First, the PCR (Program Clock Reference) suddenly changes. PCR is a time information referred to by a transport stream and is used to express content in which an audio signal combined with an image is synchronized to the image. When the PCR included in the broadcast data and the advertisement data is different, the broadcast data is decoded. If the decoder wants to decode the advertisement data, the decoder may malfunction due to a sudden change in PCR.

또한 비디오 또는 오디오의 PID(Packet ID)가 갑자기 변하는 경우에도 디코더가 오동작될 수 있다고 알려져 있다. PID는 트랜스포트 스트림에서 헤더 즉, 제어정보를 제외한 방송 데이터 즉 비디오 또는 오디오 등의 데이터가 포함되어 188바이트의 패킷의 ID에 관한 정보이다.It is also known that the decoder may malfunction even when the PID (Packet ID) of the video or audio suddenly changes. The PID is information regarding a packet ID of 188 bytes in which a header, that is, broadcast data other than control information, that is, video or audio data is included in the transport stream.

PID 0 번은 PAT(Program Associstion Table)로 예약된 ID 이며 이 PAT는 PMT(Program Map Table)이라는 패킷의 PID를 내부에 가지고 있다.PID 0 is an ID reserved by PAT (Program Associstion Table). This PAT has PID of packet called PMT (Program Map Table) inside.

또한 PMT 내부에는 비디오/오디오의 PID를 가리키는 정보가 들어 디코더들은 제일먼저 PID가 0인 패킷을 찾으며 PID가 0인 것을 찾기 전까지 들어오는 다른 패킷은 버린다.The PMT also contains information that points to the video / audio's PID, so decoders first look for a packet with a PID of 0 and discard any other packets until it finds a PID of 0.

PID 0인 PAT가 들어오면 분석을 하여 PMT의 PID를 알게 되고 이제는 PMT의 PID를 가진 패킷이 들어오기를 기다린다. 물론 이때도 들어오기 전까지 데이터는 버린다.When the PAT with PID 0 comes in, it is analyzed to know the PID of the PMT, and now it waits for a packet with the PID of the PMT. Of course, the data is discarded until it comes in.

이후 PMT의 PID를 가진 패킷이 들어오면 분석을 하고 드디어 비디오 패킷의 PID, 오디오 패킷의 PID를 얻는다. 이때부터 비디오 PID로 들어오는 패킷들은 비디오 디코딩을 하고, 오디오 PID로 들어오는 패킷들은 오디오 디코딩을 하게 된다.After that, when the packet with the PID of PMT comes in, it is analyzed and finally the PID of the video packet and the PID of the audio packet are obtained. From this point, packets that enter the video PID decode the video and packets that enter the audio PID decode the audio.

그런데 방송 데이터와 광고 데이터 서로 다른 PAT 및 PMT를 가지고 있으므로 방송 데이터를 디코딩하고 있는 디코더는 PAT, PMT에 따라 다음에 수신되는 패킷에 대한 정보를 예측하여 디코딩하도록 되어 있다.However, since the broadcast data and the advertisement data have different PATs and PMTs, the decoder which decodes the broadcast data predicts and decodes information on the next received packet according to the PAT and PMT.

그런데 광고 데이터를 디코딩하는 순간이 되면 이전에 알고 있는 PAT, PMT에 정보와 일치되지 않으므로 패킷을 디코딩하지 못하거나 아니면 광고 데이터에서 PID 0인 PAT를 다시 분석하여 PMT의 PID를 찾은 다음 PMT의 ID를 가진 패킷을 수신하고 분석하여야만 이후에 수신되는 패킷을 정상적으로 디코딩할 수 있게 되는데 통상 광고 데이터는 방송 데이터와 같은 완전한 형태의 데이터가 아닐 수 있으므로 즉 PID 0인 패킷이 생략될 수 있으므로 이러한 경우에는 디코더가 광고 데이터를 디코딩하지 못할 수 있다.However, at the moment of decoding the advertisement data, the packet cannot be decoded because it does not match the previously known information on the PAT or PMT. Alternatively, the advertisement data can be re-analyzed to find the PID of the PMT and then the ID of the PMT. It is necessary to receive and analyze the packet in order to be able to decode the received packet normally. In this case, since the advertisement data may not be a complete data such as broadcast data, that is, a packet having PID 0 may be omitted. It may not be possible to decode the advertising data.

따라서 수신기가 방송 데이터와 광고 데이터가 합성된 신호를 수신하여 정상적으로 디코딩할 수 있도록 하기 위해서는 각각의 제어정보 또한 디코딩가능하도록 조정될 필요가 있다.Accordingly, in order for the receiver to receive a signal obtained by combining the broadcast data and the advertisement data and to decode normally, each control information needs to be adjusted to be decodable.

도 3은 본 발명에 따른 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐에서 디지털 방송 데이터와 광고 데이터의 제어정보로부터 연접된 디지털 방송 데이터와 광고 데이터의 제어정보를 생성하는 과정에 대한 제어정보 흐름도이다.3 is a control information flow diagram for a process of generating control information of digital broadcast data and advertisement data concatenated from control information of digital broadcast data and advertisement data in an asynchronous serial interface switcher for a digital advertisement inserter according to the present invention.

도 3에서 보는 바와 같이 본 발명에 따른 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐는 방송 데이터인 Source A(311)가 제1 스위쳐 입력부(321)로부터 입력되면 제1 TS-Demux(331)에 의해 방송 데이터로부터 방송 비디오/오디오 스트림(341)과 방송 제어정보(342)가 분리된다.As shown in FIG. 3, the asynchronous serial interface switcher for the digital advertisement inserter according to the present invention is broadcasted by the first TS-Demux 331 when Source A 311, which is broadcast data, is input from the first switcher input unit 321. The broadcast video / audio stream 341 and the broadcast control information 342 are separated from the data.

동일하게 광고 데이터인 Source B(312)가 제2 스위쳐 입력부(322)로부터 입력되면 제2 TS-Demux(332)에 의해 광고 데이터로부터 광고 비디오/오디오 스트림(343)과 광고 제어정보(344)가 분리된다.Similarly, when the source B 312, which is the advertisement data, is input from the second switcher input unit 322, the advertisement video / audio stream 343 and the advertisement control information 344 are output from the advertisement data by the second TS-Demux 332. Are separated.

상기 분리된 방송 비디오/오디오 스트림(341)과 광고 비디오/오디오 스트림(343)은 연접부(360)에서 연접되고 분리되어 새로운 합성 방송/광고 데이터(GOP, Group of Packet, 361)로 생성되고, 방송 데이터의 제어정보(351, 일 예: PAT-A, PMT-A, ETC-A)와 광고 데이터의 제어정보(352, 일 예: PAT-B, PMT-A, ETC-A)는 상호 참조되어 이전에 방송중인 방송 데이터와 비교하여 급격한 PID, PCR 등이 변화되지 않도록 이전에 방송중인 방송 데이터의 제어정보가 연속되도록 수정된 합성 제어정보(370, 일 예: PAT-a, PAT-b, PMT-a, PMT-b, ETC-a, ETC-b)가 수정되어 도 4에 도시된 TS-Mux(438)에 방송및 광고의 비디오 및 오디오 스트림이 결합된 합성 방송/광고 패킷(361)과 함께 입력되어 TS-Mux(438)에서 합성되어 합성 트랜스포트 스트림이 생성된 다음 스위쳐 출력부(380)을 통해 수신기로 전송된다.The separated broadcast video / audio stream 341 and the advertisement video / audio stream 343 are concatenated and separated at the junction 360 to be generated as new synthetic broadcast / advertisement data (GOP, Group of Packet, 361), Control information 351 of broadcasting data (eg, PAT-A, PMT-A, ETC-A) and control information 352 of advertising data (eg, PAT-B, PMT-A, ETC-A) are cross-referenced. Synthesized control information 370 such as PAT-a, PAT-b, and the like so that the control information of the previously broadcasted data is continuous so that the sudden PID, PCR, etc. are not changed compared to the broadcasted data. PMT-a, PMT-b, ETC-a, ETC-b) have been modified to combine the broadcast and commercial video and audio streams of the broadcast and commercial video to the TS-Mux 438 shown in FIG. And the synthesized transport stream is synthesized by the TS-Mux 438 to generate a synthesized transport stream, and then transmitted to the receiver through the switcher output unit 380.

도 4는 본 발명에 따른 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐에서 디지털 방송 데이터와 광고 데이터의 제어정보로부터 연접된 디지털 방송 데이터와 광고 데이터의 제어정보를 생성하는 비동기 직렬 인터페이스 스위쳐의 개략적인 구성도이다.4 is a schematic configuration diagram of an asynchronous serial interface switcher for generating control information of digital broadcast data and advertisement data concatenated from control information of digital broadcast data and advertisement data in an asynchronous serial interface switcher for a digital advertisement inserter according to the present invention. to be.

본 발명에 따른 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐는 적어도 둘 이상의 스위쳐 입력부(411, 412, 413)가 구비되어 있어 적어도 둘 이상의 트랜스포트 스트림을 입력받는다.The asynchronous serial interface switcher for the digital advertisement inserter according to the present invention includes at least two switcher inputs 411, 412, and 413 to receive at least two transport streams.

상기 적어도 둘 이상의 트랜스포트 스트림 중 적어도 하나는 광고 데이터를 포함하고 있으며, 또한 상기 적어도 둘 이상의 트랜스포트 스트림 중 적어도 하나는 프로그램 공급자로부터 공급되는 디지털 방송 데이터를 포함한다.At least one of the at least two transport streams includes advertising data, and at least one of the at least two transport streams includes digital broadcast data supplied from a program provider.

각각의 스위쳐 입력부(411, 412, 413)를 통해 입력된 트랜스포트 스트림은 각각의 스위쳐 입력부(411, 412, 413)와 연결된 TS-Demux(421, 422, 423)에 의해 비디오 스트림과 오디오 스트림 및 제어정보로 분리되어 비디오 스트림과 오디오 스트림은 비디오/오디오 스트림 저장부(431)에 제어정보는 제어정보 저장부(432)에 저장된다.Transport streams input through the respective switcher inputs 411, 412, and 413 are connected to video streams and audio streams by TS-Demux 421, 422, and 423 connected to the switcher inputs 411, 412, and 413. The video stream and the audio stream are separated into control information, and the video / audio stream storage unit 431 and the control information are stored in the control information storage unit 432.

상기 비디오/오디오 스트림 저장부(431) 및 제어정보 저장부(432)에 저장되어 있는 상기 각각의 TS-Demux에 의해 분리된 비디오 스트림과 오디오 스트림 및 제어정보 중 비디오 스트림과 오디오 스트림은 각각 연접부(434)에 의해 연접된 후 GOP의 합성 패킷으로 분할된다. 상기 합성 패킷으로 분할됨에 있어 통상적인 트랜스포트 스트림을 생성함에 있어 사용되는 단위로 분할될 수 있다.A video stream and an audio stream of the video stream and the audio stream and the control information separated by the respective TS-Demux stored in the video / audio stream storage unit 431 and the control information storage unit 432 are connected to each other. Concatenated by 434 and then divided into composite packets of a GOP. When divided into the synthesized packet may be divided into units used in generating a conventional transport stream.

구체적으로 먼저 비디오 스트림의 경우 압축되어 있다 하더라도 장면별로 분할이 가능하게 그 이유는 선입선출(FIFO)구조의 버퍼에서 30프레임 정도를 버퍼링 할 수 있기 때문이다.Specifically, the video stream can be divided by scene even if it is compressed because the first-in-first-out (FIFO) buffer can buffer about 30 frames.

디지털 방송 비디오 스트림이 스위쳐를 통해 출력되고 있는 상황에서 큐톤입력부(414)에서 광고 비디오 스트림으로 절체하라는 절체신호를 받은 경우 현재 출력되고 있는 방송 비디오 스트림의 출력이 종료되면 광고 비디오 스트림으로 절체하게 되는데, 이때 광고 비디오 스트림의 상태가 어떤 상황인지 확인하여 현재 프레임이 I, B, 또는 P프레임인지 확인하여 I프레임이 아닌 경우 I프레임이 되는 시점까지 대기하며 방송 비디오 스트림을 출력한다. 이후 I프레임이 검출되면 방송 비디오 스트림의 출력을 중지하고 광고 비디오 스트림의 I프레임을 출력한다.When the digital broadcast video stream is being output through the switcher, and the cuetone input unit 414 receives the transfer signal for switching to the advertisement video stream, when the output of the currently output broadcast video stream is terminated, the switchover is switched to the advertisement video stream. At this time, the state of the advertisement video stream is checked to determine whether the current frame is an I, B, or P frame. When the I frame is detected, the output of the broadcast video stream is stopped and the I frame of the advertisement video stream is output.

즉, 연접부(430)에서 방송 비디오 스트림 및 광고 비디오 스트림을 확인하여 방송 비디오 스트림에 연접하여 합성된 비디오 스트림을 생성함에 있어 방송 비디오 스트림 다음에 광고 비디오 스트림 중 I프레임이 맨 처음 이어지도록 합성된 비디오 스트림을 생성한다.That is, in the concatenation unit 430, the broadcast video stream and the advertisement video stream are identified and concatenated with the broadcast video stream to generate a synthesized video stream. Create a video stream.

한편 오디오 스트림은 통상 데이터 바로 연이어서 연접하여도 문제가 발생되지 않으므로 절체 신호를 받은 즉시 방송 오디오 스트림에서 광고 오디오 스트림으로 절체하거나 또는 I프레임이 연접되는 시점에서 광고 오디오 스트림을 연접하도록 하여도 무방하다.On the other hand, since the audio stream is normally connected immediately after the data, no problem occurs. Therefore, the audio stream may be changed from the broadcast audio stream to the advertisement audio stream immediately after receiving the transfer signal, or the advertisement audio stream may be concatenated when the I frame is concatenated. .

또한 제어정보 저장부(432)에 저장되어 있는 제어정보는 제어정보의 종류에 따라 각각의 제어정보 처리장치(435, 436, 437)에 의해서 상기 분할된 합성 패킷의 순서에 대응하여 변환된다.In addition, the control information stored in the control information storage unit 432 is converted by the respective control information processing apparatuses 435, 436, 437 in correspondence with the order of the divided synthesized packets according to the type of the control information.

먼저 PID의 변환에 대해 설명한다.First, the conversion of PID will be described.

PID는 각 패킷의 ID로 PID 0번은 PAT로 예약되어 있다. 상기 PAT에는 PMT로 불리는 패킷의 PID를 내부에 가지고 있으며, PMT 내부에는 비디오 및 오디오 패킷의 PID를 가르키는 정보가 포함되어 있다.PID is ID of each packet, and PID 0 is reserved as PAT. The PAT has a PID of a packet called a PMT inside, and the PMT includes information indicating a PID of video and audio packets.

이에 따라 디코더들은 제일 먼저 PID가 0인 패킷을 찾은 다음 PID 0번인 PAT를 분석하여 PMT의 PID를 알게 된다.Accordingly, the decoder first finds the packet of PID 0 and analyzes the PAT of PID 0 to know the PID of the PMT.

그런데 통상 방송 또는 광고 비디오 스트림과 오디오 비디오 스트림은 서로 다른 방식으로 패킷이 생성되므로 비록 PID 0번인 PAT는 같은 PID를 가진다 하더라도 PMT를 가르키는 PID는 서로 다르게 지정되므로 방송 데이터의 PMT의 PID와 광고 데이터의 PMT의 PID를 유사한 레벨로 일치시켜주여야만 디코더에서 갑작스러운 PID에 변화에 따른 디코더 오류가 발생하지 않는다.However, since the broadcast or commercial video stream and the audio video stream are generated in different ways, even though the PAT with PID 0 has the same PID, the PID indicating the PMT is specified differently so that the PID and the advertisement data of the PMT of the broadcast data are different. The PID error of the PMT should be matched to a similar level so that the decoder error does not occur due to the sudden PID change in the decoder.

예를 들어 설명하면, 방송 데이터의 PMT의 PID가 2번이라고 하고, 광고 데이터의 PID가 102번이라 하면, 디코더에서는 PMT의 PID를 기준으로 볼 때 광고 데이터의 PMT를 수신하여 디코딩하는 경우에도 같은 레벨 즉 일의 자리 숫자의 레벨에서 PMT의 PID가 존재할 거라고 예상하게 된다. 이러한 방식으로 디코더가 동작하는 것은 디코더의 처리 속도를 최대로 하기 위해 사용되는 일반적인 방식이다.For example, if the PID of the PMT of the broadcast data is 2 and the PID of the advertisement data is 102, the decoder may also receive and decode the PMT of the advertisement data based on the PID of the PMT. It is expected that the PID of the PMT will be present at the level, ie the level of one digit. It is common practice to operate the decoder in this manner to maximize the processing speed of the decoder.

그런데 광고 데이터의 PMT의 PID가 102번이므로 디코더는 일의 자리의 숫자의PID에서 PMT를 찾을 수 없으므로 광고 데이터의 PAT를 디코딩하여 PMT가 포함되어 있는 PID가 102번임을 확인하여 102번의 PID를 가지는 패킷을 디코딩하여야만 하는데, 이는 정해진 시간에 일정한 데이터 사이즈를 디코딩하여야하는 디코더에서 처리시간의 지연을 초래하게 되고 이는 결국 화면의 깨짐 현상으로 야기한다.However, since the PID of the PMT of the advertisement data is 102, the decoder cannot find the PMT from the PID of a single digit. Therefore, the decoder decodes the PAT of the advertisement data and confirms that the PID containing the PMT is 102. The packet must be decoded, which results in a delay in processing time in the decoder that must decode a certain data size at a given time, which in turn causes a broken picture.

이를 방지하기 위해 본 발명에서는 방송 데이터의 제어정보 즉 PAT에 포함되어 있는 PMT의 PID를 기준으로 광고 데이터의 PMT의 PID를 재매핑하여 준다.In order to prevent this, the present invention remaps the PID of the PMT of the advertisement data based on the control information of the broadcast data, that is, the PID of the PMT included in the PAT.

위의 예에서 광고 데이터의 PMT의 PID가 102번이므로 이를 방송 데이터의 PID인 2번과 유사한 레벨 중 겹치지 않는 번호로 재매핑하여 준다.In the above example, since the PID of the PMT of the advertisement data is 102, it is re-mapped to a non-overlapping number among levels similar to the number 2 of the PID of the broadcast data.

상기 PID 재매핑은 도 4의 PID재매핑부(435)에서 수행된다.The PID remapping is performed by the PID remapping unit 435 of FIG. 4.

또한 방송 데이터와 광고 데이터를 합성하는 경우, PCR(Program Clock Reference)을 조정하여야 한다. PCR은 트랜스포트 스트림의 중간에 삽입되는 정보로 전체 스트림에서 디코딩 시 참고로 하는 기준 클럭 정보이다.In addition, when synthesizing broadcast data and advertisement data, PCR (Program Clock Reference) should be adjusted. PCR is information inserted in the middle of a transport stream and is reference clock information for reference when decoding the entire stream.

구체적으로 연속적인 비디오와 결합된 오디오 스트림이 동기화하여 디코딩하여 출력되기 위해서는 표준(ISO 13818-1)에 따르면 100밀리 초마다 PCR이 MPEG-TS 패킷의 유효필드에 전송되어야 한다.Specifically, in order for the audio stream combined with the continuous video to be synchronized and decoded and output, the standard (ISO 13818-1) requires that PCR be transmitted in the valid field of the MPEG-TS packet every 100 milliseconds.

MPEG-2 프로그램을 위한 PCR이 있는 PID는 연결된 프로그램 맵 테이블(PMT)안에서 pcr_pid값으로 식별된다.PID with PCR for MPEG-2 programs is identified by the pcr_pid value in the associated program map table (PMT).

문제가 없다면 PCR의 값은 디코더안에서 system_timing_clock을 만들어낸다. 그러나 문제가 발생하면 디코더는 비디오 및 오디오의 기초 시스템을 동기화하기 위한 정확한 시간대를 별도로 참조하여야 하는데, 예를 들어 재현시간표(Presentation Time Stamp, PTS)가 PCR생성에 이용될 수 있는데 방송 데이터와 광고 데이터의 PTS가 서로 상이하므로 참조 될 수 없다.If no problem, the value of PCR generates system_timing_clock in the decoder. However, if a problem occurs, the decoder must separately refer to the exact time zone for synchronizing the video and audio basic systems. For example, a Presentation Time Stamp (PTS) can be used to generate the PCR data. PTSs are different from each other and cannot be referenced.

이에 본 발명에서는 먼저 방송 데이터에 포함된 PCR정보를 기준으로 하여 광고 데이터에 포함된 PCR을 방송 데이터에 맞도록 조정한다. 또한 방송 데이터와 광고 데이터에 포함된 PTS 역시 방송 데이터의 PTS를 기준으로 조정한다.Accordingly, in the present invention, first, the PCR included in the advertisement data is adjusted based on the PCR information included in the broadcast data to fit the broadcast data. In addition, the PTS included in the broadcast data and the advertisement data is also adjusted based on the PTS of the broadcast data.

상기에서 방송 데이터의 PCR 및 PTS를 기준으로 조정하는 이유는 이전에 출력되는 방송과의 연결성이 갑자기 변경되는 것을 방지하기 위해서이다.The reason why the above-described adjustment is based on the PCR and PTS of broadcast data is to prevent a sudden change in connectivity with a previously output broadcast.

상기 PCR을 재조정하는 장치의 일 예로 도 4에 PCR 재생성부(436)가 개시되어 있다.As an example of an apparatus for reconditioning the PCR, a PCR regeneration unit 436 is disclosed in FIG. 4.

한편 상기에서 설명한 바와 같이 트랜스포트 스트림의 제어정보에는 비디오 및 오디오 스트림의 PID를 가르키는 PID정보가 PMT안에 포함되어 전송되므로, 방송 데이터와 광고 데이터를 합성하는 경우에 방송 데이터 패킷의 PID와 광고 데이터 패킷의 PID의 연속성이 보장되지 않는다.On the other hand, as described above, since the PID information indicating the PIDs of the video and audio streams is included in the PMT and transmitted in the control information of the transport stream, when the broadcast data and the advertisement data are synthesized, the PID and the advertisement data of the broadcast data packet are transmitted. The continuity of the PID of the packet is not guaranteed.

이에 따라 방송 데이터의 PMT와 광고 데이터의 역시 PID의 연속성이 보장되지않는 서로 다른 PID 정보를 포함하고 있으므로 이를 조정해주어야 한다.Accordingly, the PMT of the broadcast data and the advertisement data also contain different PID information that does not guarantee PID continuity.

즉, 방송 데이터를 생성하는 중에 부여된 비디오 및 오디오 스트림의 PID정보와 상기 비디오 및 오디오 스트림의 PID 정보가 포함되어 있는 방송 데이터의 PMT와 광고 데이터를 생성하는 중에 부여된 디오 및 오디오 스트림의 PID정보와 상기 비디오 및 오디오 스트림의 PID 정보가 포함되어 있는 광고 데이터의 PMT 정보를 방송 데이터의 PMT를 기준으로 연속성으로 가지도록 조정한다.That is, the PMT of the broadcast data including the PID information of the video and audio streams provided while generating the broadcast data and the PID information of the video and audio streams and the PID information of the audio and audio streams provided while generating the advertisement data. And adjust the PMT information of the advertisement data including the PID information of the video and audio streams to have continuity based on the PMT of the broadcast data.

이에 따라 방송 데이터의 비디오 및 오디오 스트림의 PID를 기준으로 광고 데이터의 비디오 및 오디오 스트림의 PID 정보가 조정되고 이는 PMT에 저장된다.Accordingly, the PID information of the video and audio streams of the advertisement data is adjusted based on the PIDs of the video and audio streams of the broadcast data, which are stored in the PMT.

도 4에서 ETC로 표시되는 제어정보는 일 예로 비디오 및 오디오 스트림의 PID정보, PCR 정보, PTS정보 일 수 있으며, 도 4에서 이를 ETC재생성부(437)로 도시하였다.Control information represented by ETC in FIG. 4 may be, for example, PID information, PCR information, and PTS information of a video and audio stream. In FIG. 4, the control information indicated by the ETC is illustrated by the ETC regenerator 437.

도 5는 트랜스포트 스트림의 포맷이다.5 is a format of a transport stream.

도 5의 트랜스포트 스트림은 정식 명칭으로는 엠펙 트랜스포트 스트림(MPEG-Transport Stream)이라 하며 줄여서 TS, TP, MPEG-TS로 혼용하여 불린다.The transport stream of FIG. 5 is officially referred to as MPEG-Transport Stream, and is collectively called TS, TP, and MPEG-TS.

트랜스포트 스트림은 오디오, 비디오, 데이터 전송을 위한 통신 프로토콜로서 PES(Packetized Elementary Streams)와 기타 제어정보를 포함하는 디지털 컨테이너의 일종이다.The transport stream is a communication protocol for audio, video, and data transmission. It is a kind of digital container including packetized elementary streams (PES) and other control information.

도 5의 TS 포맷은 MPEG-2 파트1, 시스템(ISO/IEC standard 13818-1)에 규정되어 있으며, ITU-T Rec. H.222.0으로도 알려져 있으며 이 시스템은 디지털 비디오와 오디오를 다중화하고 출력을 동기화하는 것을 목표로 하고 있다.The TS format of FIG. 5 is defined in MPEG-2 Part 1, System (ISO / IEC standard 13818-1), and in ITU-T Rec. Also known as H.222.0, the system aims to multiplex digital video and audio and synchronize outputs.

도 5의 포맷에서 각 요소에 대한 설명은 상기 표준에 명시되어 있으므로 자세한 설명은 생략하기로 하며, 다만 본 발명은 도 5의 포맷을 가지는 트랜스포트 스트림을 비디오 및 오디오를 최종적으로 디코딩하지 않고도 서로 다른 트랜스포트 스트림을 연접하고 분할하는 것과 이에 따른 제어정보를 이전에 방송되는 방송 데이터의 트랜스포트 스트림과 연속성을 가지도록 방송 데이터에 포함된 제어정보를 기준으로 광고 데이터의 제어정보를 변환하는 것에 특징이 있다.Since the description of each element in the format of FIG. 5 is specified in the above standard, a detailed description thereof will be omitted. However, the present invention is different from the transport stream having the format of FIG. 5 without finally decoding video and audio. Concatenating and dividing the transport streams and converting the control information of the advertisement data based on the control information included in the broadcast data so that the control information is contiguous with the transport stream of previously broadcast data. have.

101: 디지털 방송 데이터 102: 광고 데이터
111: 제1 스위쳐 입력부 112: 제2 스위쳐 입력부
121: 제1 디코더 122: 제2 디코더
131: 제1 디먹스 132: 제2 디먹스
141: 디지털 방송 비디오 스트림 142: 디지털 방송 오디오 스트림
143: 광고 비디오 스트림 144: 광고 오디오 스트림
151: 합성 비디오 스트림 152: 합성 오디오 스트림
160: 인코더 170: 합성 트랜스포트 스트림
180: 스위쳐 출력부 190: 스위쳐
211: 방송 데이터 212: 광고 데이터
221: 제1 스위쳐 입력부 222: 제2 스위쳐 입력부
231: 제1 TS-Demux 232: 제2 TS-Demux
241: 방송 비디오 스트림 242: 방송 오디오 스트림
243: 광고 비디오 스트림 244: 광고 오디오 스트림
250: 연접부 270: 스위쳐 출력부
261: 합성 방송 비디오 스트림 262: 합성 방송 오디오 스트림
263: 합성 광고 비디오 스트림 264: 합성 광고 오디오 스트림
311: 방송 데이터 312: 광고 데이터
321: 제1 스위쳐 입력부 322: 제2 스위쳐 입력부
331: 제1 TS-Demux 332: 제2 TS-Demux
341: 방송 비디오/오디오 스트림 342: 방송 제어정보
343: 광고 비디오/오디오 스트림 344: 광고 제어정보
351: 방송 제어정보 352: 광고 제어정보
360: 연접부 361: 합성 방송/광고 패킷
370: 합성 제어정보 380: 스위쳐 출력부
411: 제1 스위쳐 입력부 412: 제2 스위쳐 입력부
413: 제3 스위쳐 입력부 414: 큐톤 입력부
421: 제1 TS-Demux 422: 제2 TS-Demux
423: 제3 TS-Demux 430: 연접부
431: 비디오/오디오 스트림 저장부 432: 제어정보 저장부
433: 제어부 434: 분할기
435: PID 재매핑부 436: PCR 재생성부
437: PAT/PMT/PTS 재생성부 438: TS-Mux
440: 스위쳐 출력부
101: digital broadcast data 102: advertising data
111: first switcher input unit 112: second switcher input unit
121: first decoder 122: second decoder
131: first demux 132: second demux
141: digital broadcast video stream 142: digital broadcast audio stream
143: advertisement video stream 144: advertisement audio stream
151: Composite video stream 152: Composite audio stream
160: encoder 170: synthetic transport stream
180: switcher output unit 190: switcher
211: broadcast data 212: advertisement data
221: first switcher input unit 222: second switcher input unit
231: first TS-Demux 232: second TS-Demux
241: broadcast video stream 242: broadcast audio stream
243: advertisement video stream 244: advertisement audio stream
250: connection portion 270: switcher output portion
261: composite broadcast video stream 262: composite broadcast audio stream
263: composite advertising video stream 264: composite advertising audio stream
311: broadcast data 312: advertisement data
321: first switcher input unit 322: second switcher input unit
331: First TS-Demux 332: Second TS-Demux
341: broadcast video / audio stream 342: broadcast control information
343: advertising video / audio stream 344: advertising control information
351: broadcast control information 352: advertisement control information
360: junction 361: synthetic broadcast / advertising packet
370: synthesis control information 380: switcher output unit
411: first switcher input unit 412: second switcher input unit
413: third switcher input unit 414: cuetone input unit
421: first TS-Demux 422: second TS-Demux
423: third TS-Demux 430: junction
431: Video / audio stream storage unit 432: Control information storage unit
433: control unit 434: divider
435: PID remapping unit 436: PCR regeneration unit
437: PAT / PMT / PTS regeneration unit 438: TS-Mux
440: switcher output unit

Claims (6)

디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐에 있어서,
적어도 둘 이상의 컨텐츠 생성부로부터 트랜스포트 스트림을 입력받는 적어도 둘 이상의 스위쳐 입력부;
상기 스위쳐 입력부를 통해 입력된 각각의 트랜스포트 스트림로부터 비디오스트림, 오디오 스트림 및 제어정보를 추출하는 적어도 둘 이상의 역다중화부(TS-Demux);
상기 역다중화부(TS-Demux)에서 추출된 각각의 비디오스트림 및 오디오스트림을 연접하여 소정의 크기의 비디오 스트림 및 오디오스트림으로 분할하는 연접부; 및
상기 역다중화부(TS-Demux)에서 추출된 제어정보로부터 상기 연접부에서 연접되고 분할되는 비디오스트림 및 오디오스트림에 대한 제어정보를 생성하는 제어정보생성부를 포함하는 것을 특징으로 하는 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐.
In the asynchronous serial interface switcher for the digital ad inserter,
At least two switcher input units for receiving a transport stream from at least two content generators;
At least two demultiplexers (TS-Demux) for extracting a video stream, an audio stream, and control information from each transport stream input through the switcher input unit;
A concatenation unit for concatenating each video stream and audio stream extracted by the demultiplexer (TS-Demux) and dividing the video stream and the audio stream into a predetermined size; And
And a control information generator for generating control information on the video stream and the audio stream that are connected and divided at the junction from the control information extracted by the demultiplexer (TS-Demux). Asynchronous serial interface switcher.
제1항에 있어서,
상기 연접부에서 추출되는 제어정보는 PID, PCR, PAT 또는 PMT제어정보 중 하나인 것을 특징으로 하는 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐.
The method of claim 1,
The control information extracted from the connection unit is asynchronous serial interface switcher for a digital advertisement inserter, characterized in that one of the PID, PCR, PAT or PMT control information.
제1항 또는 제2항에 있어서,
상기 제어정보생성부는 상기 역다중화부에서 추출되는 제어정보인 PID제어정보로부터 상기 화상분할부에서 연접되고 분할되는 비디오스트림 및 오디오스트림에 대한 PID정보를 재매핑하는 PID재매핑부를 더 포함하는 것을 특징으로 하는 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐.
The method according to claim 1 or 2,
The control information generation unit may further include a PID remapping unit for remapping PID information of a video stream and an audio stream concatenated and divided by the image splitter from PID control information which is control information extracted from the demultiplexer. Asynchronous serial interface switcher for digital ad inserts.
제1항 또는 제2항에 있어서,
상기 제어정보생성부는 상기 역다중화부에서 추출되는 제어정보인 PCR제어정보로부터 상기 화상분할부에서 연접되고 분할되는 비디오스트림 및 오디오스트림에 대한 PCR정보를 재생성하는 PCR재생성부를 더 포함하는 것을 특징으로 하는 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐.
The method according to claim 1 or 2,
The control information generation unit may further include a PCR regeneration unit for regenerating PCR information on the video stream and the audio stream concatenated and divided by the image splitter from the PCR control information which is the control information extracted by the demultiplexer. Asynchronous serial interface switcher for digital ad inserts.
제1항 또는 제2항에 있어서,
상기 제어정보생성부는 상기 역다중화부에서 추출되는 제어정보인 PAT제어정보로부터 상기 화상분할부에서 연접되고 분할되는 비디오스트림 및 오디오스트림에 대한 PAT정보를 재생성하는 PAT재생성부를 더 포함하는 것을 특징으로 하는 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐.
The method according to claim 1 or 2,
The control information generation unit may further include a PAT reproducing unit for regenerating PAT information for a video stream and an audio stream concatenated and divided in the image splitter from the PAT control information which is control information extracted from the demultiplexer. Asynchronous serial interface switcher for digital ad inserts.
제1항에 있어서,
상기 적어도 둘 이상의 컨텐츠 생성부로부터 입력되는 트랜스포트 스트림은 적어도 하나의 방송 데이터와 적어도 하나의 광고 데이터를 포함하고 있으며,
상기 적어도 하나의 방송 데이터로부터 상기 적어도 하나의 광고 데이터를 포함하여 전송하도록 하는 절체신호를 입력받는 큐톤입력부를 더 포함하는 것을 특징으로 하는 디지털 광고 삽입기를 위한 비동기 직렬 인터페이스 스위쳐.
The method of claim 1,
The transport stream input from the at least two content generators includes at least one broadcast data and at least one advertisement data.
And a cuetone input unit configured to receive a transfer signal for transmitting the at least one advertisement data including the at least one advertisement data from the at least one broadcast data.
KR1020100048997A 2010-05-26 2010-05-26 ASI Switcher for digital advertisement inserter KR101131836B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100048997A KR101131836B1 (en) 2010-05-26 2010-05-26 ASI Switcher for digital advertisement inserter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100048997A KR101131836B1 (en) 2010-05-26 2010-05-26 ASI Switcher for digital advertisement inserter

Publications (2)

Publication Number Publication Date
KR20110129559A true KR20110129559A (en) 2011-12-02
KR101131836B1 KR101131836B1 (en) 2012-04-12

Family

ID=45498655

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100048997A KR101131836B1 (en) 2010-05-26 2010-05-26 ASI Switcher for digital advertisement inserter

Country Status (1)

Country Link
KR (1) KR101131836B1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2562627A1 (en) 2011-08-26 2013-02-27 LG Display Co., Ltd. Touch sensing device
WO2015020369A1 (en) * 2013-08-07 2015-02-12 주식회사 더블유코퍼레이션 Method for processing multi-channel alternative advertisement through single source and managing schedule
KR101865627B1 (en) * 2017-01-17 2018-06-08 네이버 주식회사 Method and system for providing remote operation tool for multimedia content
KR20180084691A (en) * 2018-05-31 2018-07-25 네이버 주식회사 Method and system for providing remote operation tool for multimedia content
WO2018155910A1 (en) * 2017-02-21 2018-08-30 주식회사 삼십구도씨 Method, for supporting relay broadcast, device and non-transitory computer-readable recording medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU774028B2 (en) * 1998-09-16 2004-06-10 Opentv, Inc. Compressed digital-data seamless video switching system
KR100768624B1 (en) * 2000-08-08 2007-10-18 주식회사 케이티 Satellite broadcasting receiver having function of Advertisement on Satellite Broadcast
US7068719B2 (en) * 2001-06-01 2006-06-27 General Instrument Corporation Splicing of digital video transport streams

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2562627A1 (en) 2011-08-26 2013-02-27 LG Display Co., Ltd. Touch sensing device
WO2015020369A1 (en) * 2013-08-07 2015-02-12 주식회사 더블유코퍼레이션 Method for processing multi-channel alternative advertisement through single source and managing schedule
KR101865627B1 (en) * 2017-01-17 2018-06-08 네이버 주식회사 Method and system for providing remote operation tool for multimedia content
WO2018155910A1 (en) * 2017-02-21 2018-08-30 주식회사 삼십구도씨 Method, for supporting relay broadcast, device and non-transitory computer-readable recording medium
US10805027B2 (en) 2017-02-21 2020-10-13 39Degrees C Inc. Method, device, and non-transitory computer-readable recording medium for supporting relay broadcast
KR20180084691A (en) * 2018-05-31 2018-07-25 네이버 주식회사 Method and system for providing remote operation tool for multimedia content

Also Published As

Publication number Publication date
KR101131836B1 (en) 2012-04-12

Similar Documents

Publication Publication Date Title
JP3216531B2 (en) Remultiplexing apparatus and remultiplexing method
KR101831775B1 (en) Transmitter and receiver for transmitting and receiving multimedia content, and reproducing method thereof
KR100406122B1 (en) Apparatus and method for injecting synchronized data for digital data broadcasting
US8250622B2 (en) Method and apparatus for broadcasting to a portable terminal
US9210354B2 (en) Method and apparatus for reception and transmission
EP2574064A1 (en) Image data transmitting device, image data transmitting method and image data receiving device
KR101856093B1 (en) Content providing apparatus and method, and content reproduction apparatus and method for synchronization between left and right stream in the stationary-mobile hybrid 3dtv broadcast
KR100706619B1 (en) Apparatus for Communication and Broadcasting Using Multiplexing at MPEG-2 Transmission Convergence Layer
KR101781887B1 (en) Method and apparatus for transceiving broadcast signal
JP7429895B2 (en) receiving device
JP2009105902A (en) Method and apparatus for splicing compressed information signal
KR101131836B1 (en) ASI Switcher for digital advertisement inserter
US9270972B2 (en) Method for 3DTV multiplexing and apparatus thereof
JP2012147437A (en) Digital video apparatus for multiplexing single program transport streams into multiple program transport stream
JP3804099B2 (en) Video material supply apparatus and method, video material insertion apparatus and method
JP3893643B2 (en) Signal multiplexing method and transmission signal generating apparatus using the same
JP3617177B2 (en) Video material supply apparatus and method
JPH11205789A (en) Transmission rate converter of mpeg2 transport stream
KR20040009099A (en) content conversion device and method the same
JPH1141193A (en) Data packet re-multiplexing method and re-multiplexer
EP3280147A1 (en) Method and apparatus for transmitting and receiving broadcast signal
KR20110068821A (en) Method and apparatus for receiving and transmitting
WO2004034616A1 (en) Broadcast data transmission/reception system and broadcast data transmission/reception method
GB2543080A (en) Digital media splicing system and method
JP2009088820A (en) Video audio signal transmission method and transmission apparatus thereof

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

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20160122

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20170403

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20180320

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20190306

Year of fee payment: 8