KR102435049B1 - Set top box, and control method thereof - Google Patents

Set top box, and control method thereof Download PDF

Info

Publication number
KR102435049B1
KR102435049B1 KR1020210021292A KR20210021292A KR102435049B1 KR 102435049 B1 KR102435049 B1 KR 102435049B1 KR 1020210021292 A KR1020210021292 A KR 1020210021292A KR 20210021292 A KR20210021292 A KR 20210021292A KR 102435049 B1 KR102435049 B1 KR 102435049B1
Authority
KR
South Korea
Prior art keywords
advertisement
content
real
time
iptv program
Prior art date
Application number
KR1020210021292A
Other languages
Korean (ko)
Other versions
KR20220021387A (en
Inventor
김건우
윤철기
주현철
이대붕
김인태
신정호
Original Assignee
에스케이브로드밴드주식회사
에스케이텔레콤 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 에스케이브로드밴드주식회사, 에스케이텔레콤 주식회사 filed Critical 에스케이브로드밴드주식회사
Publication of KR20220021387A publication Critical patent/KR20220021387A/en
Application granted granted Critical
Publication of KR102435049B1 publication Critical patent/KR102435049B1/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/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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44016Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving splicing one content stream with another content stream, e.g. for substituting a video clip
    • 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/23614Multiplexing of additional data and video streams
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/812Monomedia components thereof involving advertisement data

Abstract

본 발명은 IPTV 서비스 상에서 실시간 IPTV 프로그램 콘텐츠와 실시간 IPTV 프로그램 콘텐츠 내 광고 재생 구간에 삽입되는 광고 소재 간에 심리스(Seamless)한 연속 재생을 지원하기 위한 셋탑박스 및 그 동작 방법에 관한 것이다.The present invention relates to a set-top box for supporting seamless continuous playback between real-time IPTV program content and an advertisement material inserted in an advertisement playback section in real-time IPTV program content on an IPTV service, and a method of operating the same.

Description

셋탑박스 및 그 동작 방법{SET TOP BOX, AND CONTROL METHOD THEREOF}Set-top box and its operation method {SET TOP BOX, AND CONTROL METHOD THEREOF}

본 발명은 IPTV 서비스 상에서 실시간 IPTV 프로그램 콘텐츠와 실시간 IPTV 프로그램 콘텐츠 내 광고 재생 구간에 삽입되는 광고 소재 간에 심리스(Seamless)한 연속 재생을 지원하기 위한 방안에 관한 것이다.The present invention relates to a method for supporting seamless continuous playback between real-time IPTV program content and an advertisement material inserted in an advertisement playback section in real-time IPTV program content on an IPTV service.

최근, 인터넷 통신망의 발전과 더불어 이를 이용한 IPTV 서비스가 대중화되었다.Recently, along with the development of Internet communication networks, IPTV services using them have become popular.

IPTV 서비스는, 인터넷을 이용하여 다양한 정보, 동영상 콘텐츠 및 방송 등을 TV로 제공하는 서비스를 일컫는 것으로서, 인터넷과 TV의 융합이라는 점에서 디지털 컨버전스의 한 유형이라고 볼 수 있다.The IPTV service refers to a service that provides various information, video content, and broadcasting through the Internet using the Internet, and it can be seen as a type of digital convergence in that it is a convergence of the Internet and TV.

한편, 이러한 IPTV 서비스에는, 방송 서비스에서와 마찬가지로 정해진 광고 스케줄에 따라 편성된 광고를 가입자에게 노출하는 광고 방식이 적용될 수 있다.On the other hand, an advertisement method of exposing an advertisement organized according to a predetermined advertisement schedule to subscribers may be applied to such an IPTV service as in a broadcast service.

이를 위해선 실시간 IPTV 프로그램 콘텐츠의 재생 구간에 광고를 삽입하는 전처리 과정이 요구된다.To this end, a pre-processing process of inserting advertisements in the playback section of real-time IPTV program contents is required.

그러나, 실시간 IPTV 프로그램 콘텐츠의 재생이 이루어지는 셋탑박스에서는, 이처럼 기준 스트림의 재생 구간에 광고를 삽입하는 경우, 실시간 IPTV 프로그램 콘텐츠와 광고 소재를 서로 다른 콘텐츠로 인지하게 되며, 이로 인해 실시간 IPTV 프로그램 콘텐츠와 광고 소재를 연결 재생함에 있어서 지연 현상이 발생하게 되는 한계점이 존재할 수 있다.However, in a set-top box in which real-time IPTV program content is reproduced, when an advertisement is inserted in the playback section of the reference stream as described above, real-time IPTV program content and advertising material are recognized as different content, and thus real-time IPTV program content and There may be a limitation in which a delay phenomenon occurs in connecting and playing advertisement materials.

본 발명은 상기한 사정을 감안하여 창출된 것으로서, 본 발명에서 도달하고자 하는 목적은, IPTV 서비스 상에서 실시간 IPTV 프로그램 콘텐츠와 실시간 IPTV 프로그램 콘텐츠 내 광고 재생 구간에 삽입되는 광고 소재 간에 심리스(Seamless)한 연속 재생을 지원하는데 있다.The present invention was created in view of the above circumstances, and the object of the present invention is to achieve a seamless continuity between real-time IPTV program content on an IPTV service and advertisement material inserted in an advertisement playback section in real-time IPTV program content. to support playback.

상기 목적을 달성하기 위한 본 발명의 일 실시예에 따른 셋탑박스는, 실시간 IPTV 프로그램 콘텐츠에 사용된 부호화 방식을 기초로 광고 소재의 기본 스트림을 추출하여 상기 실시간 IPTV 프로그램 콘텐츠의 구성과 매칭되는 광고 콘텐츠를 생성하는 생성부; 및 상기 실시간 IPTV 프로그램 콘텐츠의 재생 구간 중 적어도 일부의 구간으로 식별되는 광고 재생 구간에 대해서, 상기 실시간 IPTV 프로그램 콘텐츠를 상기 광고 콘텐츠로 전환하는 전환부를 포함하는 것을 특징으로 한다.In order to achieve the above object, a set-top box according to an embodiment of the present invention extracts a basic stream of an advertisement material based on the encoding method used for the real-time IPTV program content and matches the composition of the real-time IPTV program content with the advertisement content. a generator to generate and a conversion unit for converting the real-time IPTV program content into the advertisement content for an advertisement reproduction section identified as at least a part of the reproduction section of the real-time IPTV program content.

구체적으로, 상기 셋탑박스는, 상기 실시간 IPTV 프로그램 콘텐츠에 포함되어 수신되는 디지털 큐잉 신호에 따라서 광고 재생 구간을 식별하는 식별부를 더 포함하며, 상기 식별부는, 상기 디지털 큐잉 신호 내 광고 시작 시점을 지시하는 큐 아웃(Cue-Out) 패킷과, 광고 종료 시점을 지시하는 큐 인(Cue-In) 패킷으로부터 광고 재생 구간을 식별할 수 있다.Specifically, the set-top box further includes an identification unit for identifying an advertisement reproduction section according to a digital queuing signal included in the real-time IPTV program content and received, wherein the identification unit indicates an advertisement start time in the digital queuing signal An advertisement reproduction section may be identified from a cue-out packet and a cue-in packet indicating an advertisement end time.

구체적으로, 상기 광고 소재는, 상기 실시간 IPTV 프로그램 콘텐츠에서 사용 가능한 다수의 부호화 방식을 동일한 광고 소재에 각각 적용한 다수의 기본 스트림을 포함하며, 상기 생성부는, 상기 다수의 기본 스트림 중, 상기 실시간 IPTV 프로그램 콘텐츠에서와 동일한 부호화 방식이 적용된 기본 스트림을 상기 실시간 IPTV 프로그램 콘텐츠 내 기본 스트림의 개수만큼 추출하여 상기 광고 콘텐츠를 생성할 수 있다.Specifically, the advertisement material includes a plurality of elementary streams in which a plurality of encoding schemes usable in the real-time IPTV program content are applied to the same advertisement material, respectively, and the generator includes, among the plurality of elementary streams, the real-time IPTV program The advertisement content may be generated by extracting elementary streams to which the same encoding method as in the content is applied, as many as the number of elementary streams in the real-time IPTV program content.

구체적으로, 상기 광고 재생 구간은, 상기 실시간 IPTV 프로그램 콘텐츠에서 상기 광고 콘텐츠로 전환되는 제1 전환구간, 상기 광고 콘텐츠 간에 전환되는 제2 전환구간, 및 상기 광고 콘텐츠에서 상기 실시간 IPTV 프로그램 콘텐츠로 전환되는 제3 전환구간 중 적어도 하나의 전환구간을 포함하며, 상기 전환부는, 상기 적어도 하나의 전환구간에서의 콘텐츠 연속 재생과 관련하여, 상기 광고 콘텐츠의 기본 스트림에 대해서 속성을 조절할 수 있다.Specifically, the advertisement playback section includes a first conversion section in which the real-time IPTV program content is converted to the advertisement content, a second conversion section in which the advertisement content is switched between the advertisement contents, and the real-time IPTV program content in the advertisement content. and at least one conversion section among the third conversion sections, wherein the conversion unit may adjust an attribute of the elementary stream of the advertisement content in relation to continuous content reproduction in the at least one conversion section.

구체적으로, 상기 전환부는, 상기 광고 콘텐츠 내 PAT(Program Association Table) 및 PMT(Program Map Table)와 연관된 패킷을 상기 실시간 IPTV 프로그램 콘텐츠와 동일한 패킷으로 대체하며, 상기 광고 콘텐츠의 기본 스트림에 대한 PID(Packet IDentifier)를 상기 실시간 IPTV 프로그램 콘텐츠의 PID와 동일하게 변경할 수 있다.Specifically, the conversion unit replaces a packet associated with a PAT (Program Association Table) and a PMT (Program Map Table) in the advertisement content with the same packet as the real-time IPTV program content, and provides a PID ( Packet IDentifier) may be changed to be the same as the PID of the real-time IPTV program content.

구체적으로, 상기 전환부는, 상기 광고 재생 구간에서 전환이 이루어지는 적어도 하나의 광고 콘텐츠 각각에 대해서 이전 시점에 재생된 콘텐츠의 마지막 PCR(Program Clock Reference) 카운팅 값을 기준으로, PCR, DTS(Decoding Time Stamp), 및 PTS(Presentation Time Stamp) 각각의 카운팅 값을 연속된 이웃한 값으로 증가하도록 변경할 수 있다.Specifically, the conversion unit, for each of the at least one advertisement content converted in the advertisement playback section, based on the last PCR (Program Clock Reference) counting value of the content reproduced at the previous time point, PCR, DTS (Decoding Time Stamp) ), and PTS (Presentation Time Stamp), each counting value can be changed to increase to consecutive neighboring values.

구체적으로, 상기 전환단계는, 상기 광고 재생 구간에서 전환이 이루어지는 적어도 하나의 광고 콘텐츠와 관련하여, 각 콘텐츠 간에 PID(Packet Identifier) 별로 누락되어 있는 CC(Continuity Counter) 값을 설정한 더미(Dummy) 패킷을 삽입할 수 있다.Specifically, in the conversion step, a dummy in which a CC (Continuity Counter) value that is missing for each PID (Packet Identifier) between each content is set with respect to at least one advertisement content that is converted in the advertisement playback section. Packets can be inserted.

상기 목적을 달성하기 위한 본 발명의 일 실시예에 따른 셋탑박스의 동작 방법은, 실시간 IPTV 프로그램 콘텐츠에 사용된 부호화 방식을 기초로 광고 소재의 기본 스트림을 추출하여 상기 실시간 IPTV 프로그램 콘텐츠의 구성과 매칭되는 광고 콘텐츠를 생성하는 생성단계; 및 상기 실시간 IPTV 프로그램 콘텐츠의 재생 구간 중 적어도 일부의 구간으로 식별되는 광고 재생 구간에 대해서, 상기 실시간 IPTV 프로그램 콘텐츠를 상기 광고 콘텐츠로 전환하는 전환단계를 포함하는 것을 특징으로 한다.In order to achieve the above object, the method of operating a set-top box according to an embodiment of the present invention extracts a basic stream of an advertisement material based on the encoding method used for the real-time IPTV program content and matches the composition of the real-time IPTV program content. A generating step of generating the advertisement content to be; and converting the real-time IPTV program content into the advertisement content for an advertisement reproduction section identified as at least a part of the reproduction section of the real-time IPTV program content.

구체적으로, 상기 방법은, 상기 실시간 IPTV 프로그램 콘텐츠에 포함되어 수신되는 디지털 큐잉 신호에 따라서 광고 재생 구간을 식별하는 식별단계를 더 포함하며, 상기 식별단계는, 상기 디지털 큐잉 신호 내 광고 시작 시점을 지시하는 큐 아웃(Cue-Out) 패킷과, 광고 종료 시점을 지시하는 큐 인(Cue-In) 패킷으로부터 광고 재생 구간을 식별할 수 있다.Specifically, the method further includes an identification step of identifying an advertisement reproduction section according to a digital queuing signal included in the real-time IPTV program content and received, wherein the identification step indicates an advertisement start time in the digital queuing signal The advertisement playback section may be identified from a cue-out packet and a cue-in packet indicating an advertisement end time.

구체적으로, 상기 광고 소재는, 상기 실시간 IPTV 프로그램 콘텐츠에서 사용 가능한 다수의 부호화 방식을 동일한 광고 소재에 각각 적용한 다수의 기본 스트림을 포함하며, 상기 생성단계는, 상기 다수의 기본 스트림 중, 상기 실시간 IPTV 프로그램 콘텐츠에서와 동일한 부호화 방식이 적용된 기본 스트림을 상기 실시간 IPTV 프로그램 콘텐츠 내 기본 스트림의 개수만큼 추출하여 상기 광고 콘텐츠를 생성할 수 있다.Specifically, the advertisement material includes a plurality of elementary streams in which a plurality of encoding schemes usable in the real-time IPTV program content are applied to the same advertisement material, respectively, and the generating step includes, among the plurality of elementary streams, the real-time IPTV The advertisement content may be generated by extracting as many elementary streams as the number of elementary streams in the real-time IPTV program content to which the same encoding method as in the program content is applied.

구체적으로, 상기 광고 재생 구간은, 상기 실시간 IPTV 프로그램 콘텐츠에서 상기 광고 콘텐츠로 전환되는 제1 전환구간, 상기 광고 콘텐츠 간에 전환되는 제2 전환구간, 및 상기 광고 콘텐츠에서 상기 실시간 IPTV 프로그램 콘텐츠로 전환되는 제3 전환구간 중 적어도 하나의 전환구간을 포함하며, 상기 전환단계는, 상기 적어도 하나의 전환구간에서의 콘텐츠 연속 재생과 관련하여, 상기 광고 콘텐츠의 기본 스트림에 대해서 속성을 조절할 수 있다.Specifically, the advertisement playback section includes a first conversion section in which the real-time IPTV program content is converted to the advertisement content, a second conversion section in which the advertisement content is switched between the advertisement contents, and the real-time IPTV program content in the advertisement content. and at least one conversion section among the third conversion sections, wherein the conversion step may adjust attributes of the elementary stream of the advertisement content in relation to continuous content reproduction in the at least one conversion section.

구체적으로, 상기 전환단계는, 상기 광고 콘텐츠 내 PAT(Program Association Table) 및 PMT(Program Map Table)와 연관된 패킷을 상기 실시간 IPTV 프로그램 콘텐츠와 동일한 패킷으로 대체하며, 상기 광고 콘텐츠의 기본 스트림에 대한 PID(Packet IDentifier)를 상기 실시간 IPTV 프로그램 콘텐츠의 PID와 동일하게 변경할 수 있다.Specifically, in the conversion step, a packet associated with a Program Association Table (PAT) and a Program Map Table (PMT) in the advertisement content is replaced with the same packet as that of the real-time IPTV program content, and the PID for the elementary stream of the advertisement content (Packet IDentifier) may be changed to be the same as the PID of the real-time IPTV program content.

구체적으로, 상기 전환단계는, 상기 광고 재생 구간에서 전환이 이루어지는 적어도 하나의 광고 콘텐츠 각각에 대해서 이전 시점에 재생된 콘텐츠의 마지막 PCR(Program Clock Reference) 카운팅 값을 기준으로, PCR, DTS(Decoding Time Stamp), 및 PTS(Presentation Time Stamp) 각각의 카운팅 값을 연속된 이웃한 값으로 증가하도록 변경할 수 있다.Specifically, in the conversion step, PCR, decoding time (DTS), based on the last program clock reference (PCR) counting value of the content reproduced at the previous time point for each of the at least one advertisement content that is converted in the advertisement playback section Stamp) and PTS (Presentation Time Stamp) can be changed to increase each counting value to successive neighboring values.

구체적으로, 상기 전환단계는, 상기 광고 재생 구간에서 전환이 이루어지는 적어도 하나의 광고 콘텐츠와 관련하여, 각 콘텐츠 간에 PID(Packet Identifier) 별로 누락되어 있는 CC(Continuity Counter) 값을 설정한 더미(Dummy) 패킷을 삽입할 수 있다.Specifically, in the conversion step, a dummy in which a CC (Continuity Counter) value that is missing for each PID (Packet Identifier) between each content is set with respect to at least one advertisement content that is converted in the advertisement playback section. Packets can be inserted.

이에, 본 발명에 따른 셋탑박스 및 그 동작 방법에 의하면, 실시간 IPTV 프로그램 콘텐츠 내 디지털 큐잉 신호를 이용하여 광고 재생 구간을 정확히 식별하고, 해당 광고 재생 구간에 사전 다운로드된 광고 소재들로부터 적절한 광고 콘텐츠들을 추출된 광고 콘텐츠들의 스트림 속성을 조절하여 IPTV 시청자에게 끊김 없는 광고 재생 서비스를 제공할 수 있다.Accordingly, according to the set-top box and its operating method according to the present invention, an advertisement reproduction section is accurately identified using a digital queuing signal in real-time IPTV program contents, and appropriate advertisement contents are selected from advertisement materials pre-downloaded in the corresponding advertisement reproduction section. It is possible to provide a seamless advertisement reproduction service to IPTV viewers by adjusting the stream properties of the extracted advertisement contents.

도 1은 본 발명의 일 실시예에 따른 IPTV 서비스 환경을 설명하기 위한 예시도.
도 2는 본 발명의 일 실시예에 따른 전환구간을 설명하기 위한 예시도.
도 3은 본 발명의 일 실시예에 따른 기본 스트림들의 PID를 획득하는 과정을 설명하기 위한 예시도.
도 4는 본 발명의 일 실시예에 따른 PCR, DTS, PTS 불연속을 설명하기 위한 예시도.
도 5는 본 발명의 일 실시예에 따른 연속성(Continuity) 오류를 설명하기 위한 예시도.
도 6은 본 발명의 일 실시예에 따른 셋탑박스의 개략적인 구성도.
도 7은 본 발명의 일 실시예에 따른 광고 재생 구간을 설명하기 위한 예시도.
도 8 및 도 9는 본 발명의 일 실시예에 따른 광고 콘텐츠 생성 방식을 설명하기 위한 예시도.
도 10은 본 발명의 일 실시예에 따른 PAT, PMT, PID 속성 조절을 설명하기 위한 예시도.
도 11은 본 발명의 일 실시예에 따른 더미(Dummy) 패킷 삽입을 설명하기 위한 예시도.
도 12는 본 발명의 일 실시예에 따른 셋탑박스의 동작 방법을 설명하기 위한 예시도.
도 13은 본 발명의 다른 실시예에서서 기준 스트림과 광고 소재의 연결 재생에 있어서 지연 현상을 설명하기 위한 예시도.
도 14는 본 발명의 다른 실시예에 따른 재생 전처리 환경을 설명하기 위한 예시도.
도 15은 본 발명의 다른 실시예에 따른 셋탑박스의 개략적인 구성도.
도 16는 본 발명의 다른 실시예에 따른 기준 스트림과 광고 소재의 연결 재생에 있어서 지연 현상이 해소되는 상황을 설명하기 위한 예시도.
도 17 및 도 18은 본 발명의 다른 실시예에 따른 광고 소재 간 전환에 있어서 지연 현상을 설명하기 위한 예시도.
도 19 및 도 20은 본 발명의 다른 실시예에 따른 광고 소재 간 전환에 있어서 지연 현상이 해소되는 상황을 설명하기 위한 예시도.
도 21은 본 발명의 다른 실시예에 따른 광고 소재 간 전환 방식을 설명하기 위한 예시도.
도 22는 본 발명의 다른 실시예에 따른 셋탑박스의 동작 방법을 설명하기 위한 순서도.
1 is an exemplary diagram for explaining an IPTV service environment according to an embodiment of the present invention.
2 is an exemplary diagram for explaining a transition section according to an embodiment of the present invention.
3 is an exemplary diagram for explaining a process of obtaining PIDs of elementary streams according to an embodiment of the present invention;
4 is an exemplary diagram for explaining PCR, DTS, and PTS discontinuity according to an embodiment of the present invention.
5 is an exemplary diagram for explaining a continuity error according to an embodiment of the present invention.
6 is a schematic configuration diagram of a set-top box according to an embodiment of the present invention.
7 is an exemplary diagram for explaining an advertisement playback section according to an embodiment of the present invention.
8 and 9 are exemplary views for explaining a method of generating advertisement content according to an embodiment of the present invention.
10 is an exemplary diagram for explaining PAT, PMT, and PID attribute adjustment according to an embodiment of the present invention;
11 is an exemplary diagram illustrating insertion of a dummy packet according to an embodiment of the present invention;
12 is an exemplary view for explaining a method of operating a set-top box according to an embodiment of the present invention.
13 is an exemplary diagram for explaining a delay phenomenon in connection reproduction between a reference stream and an advertisement material in another embodiment of the present invention;
14 is an exemplary view for explaining a reproduction pre-processing environment according to another embodiment of the present invention.
15 is a schematic configuration diagram of a set-top box according to another embodiment of the present invention.
16 is an exemplary diagram for explaining a situation in which a delay phenomenon is resolved in connection playback between a reference stream and an advertisement material according to another embodiment of the present invention;
17 and 18 are exemplary diagrams for explaining a delay phenomenon in switching between advertisement materials according to another embodiment of the present invention.
19 and 20 are exemplary views for explaining a situation in which a delay phenomenon in switching between advertisement materials according to another embodiment of the present invention is resolved.
21 is an exemplary diagram for explaining a method of switching between advertisement materials according to another embodiment of the present invention.
22 is a flowchart for explaining a method of operating a set-top box according to another embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 발명의 일 실시예에 따른 연속 재생 지원 방안과, 본 발명의 다른 실시예에 따른 연속 재생 지원 방안을 구분하여 설명한다.Hereinafter, a method for supporting continuous reproduction according to an embodiment of the present invention and a method for supporting continuous reproduction according to another embodiment of the present invention will be separately described with reference to the accompanying drawings.

먼저, 본 발명의 일 실시예에 따른 연속 재생 지원 방안에 대해 살펴보면 다음과 같다.First, a method for supporting continuous playback according to an embodiment of the present invention will be described as follows.

설명에 앞서 이하에서는, MPEG(Moving Picture Experts Group)-2 TS(Transport Stream) 기반 실시간 IPTV 프로그램 콘텐츠와 광고 콘텐츠 간의 연속 재생 지원 방안을 예시적으로 설명하지만, 이러한 지원 방안은 MPEG2-PS에 국한되는 것이 아닌, 다른 통신 프로토콜에도 적용될 수 있음을 전제하기로 한다.Prior to the description, a method of supporting continuous playback between MPEG (Moving Picture Experts Group)-2 TS (Transport Stream) based real-time IPTV program content and advertisement content will be exemplarily described below, but this support method is limited to MPEG2-PS. Rather, it is assumed that it can be applied to other communication protocols.

위에서 언급한 바와 같이 본 발명의 일 실시예에서는, MPEG-2 TS 기반의 실시간 IPTV 프로그램 콘텐츠와, 이러한 실시간 IPTV 프로그램 콘텐츠의 재생 구간에 삽입되는 광고 소재 간에 심리스(Seamless)한 연속 재생을 지원하기 위한 방안을 다룬다.As mentioned above, in one embodiment of the present invention, in order to support seamless continuous playback between MPEG-2 TS-based real-time IPTV program content and advertisement materials inserted in the playback section of such real-time IPTV program content, deal with the plan

이와 관련하여, 기존 광고 서비스는 방송망을 이용하여 불특정 다수에게 기업 이미지 및 브랜드 등에 대해 일방적이고 반복적으로 광고를 노출하는 방식이 주를 이루어 왔다.In this regard, the existing advertising service has mainly consisted of a method of exposing advertisements unilaterally and repeatedly on corporate images and brands to unspecified people using a broadcasting network.

그러나, 이러한 방식은 광고 효과를 측정하거나 예측하기 어려우며, 시청자들의 광고 회피로 인해 광고 효과에 대한 기대치가 낮다.However, in this method, it is difficult to measure or predict the advertisement effect, and the expectation of the advertisement effect is low due to the viewers' avoidance of the advertisement.

광고에 대한 시청자들의 집중도를 향상시키고, 궁극적으로 해당 상품이나 서비스 판매를 촉진시키기 위해 다양한 업체들이 VACAS(Vod Ad Channel Ad Switching), ART(Advanced Real-time Target) AD, Smart Big AD 등의 맞춤형 광고 서비스를 제공하고 있다.In order to improve viewers' concentration on advertising and ultimately to promote sales of the product or service, various companies are providing customized advertisements such as VACAS (Vod Ad Channel Ad Switching), ART (Advanced Real-time Target) AD, and Smart Big AD. service is provided.

VACAS는 실시간 IPTV 프로그램 콘텐츠를 시청하는 도중 큐잉 신호에 따라 유니캐스트로 전송되는 맞춤형 광고 VOD 콘텐츠로 전환하며, ART AD 및 Smart Big AD는 셋탑박스에 사전 다운로드된 맞춤형 광고 콘텐츠들을 큐잉 신호에 따라 연속 재생한다.VACAS converts customized advertisement VOD contents transmitted as unicast according to queuing signal while watching real-time IPTV program contents, and ART AD and Smart Big AD continuously play customized advertisement contents pre-downloaded in set-top box according to queuing signal. do.

그러나, 해당 서비스들은 네트워크 품질(지터 및 패킷 손실)을 보장할 수 없는 퍼블릭 인터넷 망을 통해 백엔드 광고 서버로부터 큐잉 신호를 수신하므로 (Out-band 스트림), 광고 재생 구간 식별 정확도가 떨어질 수 있다.However, since these services receive a queuing signal (out-band stream) from a back-end advertisement server through a public Internet network that cannot guarantee network quality (jitter and packet loss), the accuracy of identification of advertisement playback sections may decrease.

또한, 맞춤형 광고 재생에 있어 셋탑박스 내 플레이어는 콘텐츠들 간 전환 시 콘텐츠 구성 불일치 및 상이한 MPEG-2 TS 속성으로 인해 재생 지연이 발생하게 되며 VACAS의 경우, IPTV 시청자 수가 많아 짐에 따라 맞춤형 광고 VOD 콘텐츠를 유니캐스팅하기 위한 네트워크 트래픽 또한 비례하여 증가하게 되는 한계점이 존재한다.In addition, in the playback of customized advertisements, when the player in the set-top box switches between contents, playback delay occurs due to content composition mismatch and different MPEG-2 TS properties. In the case of VACAS, as the number of IPTV viewers increases, customized advertisement VOD contents There is a limit in that the network traffic for unicasting also increases proportionally.

이에, 본 발명의 일 실시예에서는 IPTV 서비스 상에서의 디지털 큐잉 신호를 기반으로 실시간 IPTV 프로그램 콘텐츠와, 이러한 실시간 IPTV 프로그램 콘텐츠의 재생 구간에 삽입되는 광고 소재 간에 심리스(Seamless)한 연속 재생을 지원하기 위한 새로운 방안을 제안하고자 하는 것이다.Accordingly, in one embodiment of the present invention, based on a digital queuing signal on the IPTV service, a method for supporting seamless continuous playback between real-time IPTV program content and advertisement materials inserted in the playback section of such real-time IPTV program content We want to propose a new way.

이와 관련하여, 도 1에는 본 발명의 일 실시예에 따른 IPTV 서비스 환경을 예시적으로 보여주고 있다.In this regard, FIG. 1 exemplarily shows an IPTV service environment according to an embodiment of the present invention.

도 1에 도시된 바와 같이, 본 발명의 일 실시예에 따른 IPTV 서비스 환경에서는, IPTV 헤드엔드(100)로부터 수신되는 디지털 큐잉 신호로부터 실시간 IPTV 프로그램 콘텐츠 내 광고 재생 구간을 식별하여 백엔드 광고 서버(200)로부터 다운로드된 광소 소재로부터 추출 생성되는 광고 콘텐츠를 재생하는 셋탑박스(300)를 포함할 수 있다.As shown in FIG. 1, in the IPTV service environment according to an embodiment of the present invention, the backend advertisement server 200 ) may include a set-top box 300 that reproduces advertisement content extracted and generated from optical elements downloaded from.

IPTV 헤드엔드(100)는 실시간 IPTV 프로그램 콘텐츠 상 비디오, 오디오 기본 스트림들과 디지털 큐잉 신호(SCTE-35)을 다중화하여 전송한다.The IPTV headend 100 multiplexes and transmits video and audio elementary streams and a digital queuing signal (SCTE-35) on real-time IPTV program content.

백엔드 광고 서버(200)는 실시간 IPTV 프로그램 콘텐츠에서 사용 가능한 모든 부호화 방식을 적용하여 미리 광고 소재를 구성하고, 사용자 별 광고 표출 정책을 결정한다.The backend advertisement server 200 configures advertisement materials in advance by applying all encoding methods available in real-time IPTV program contents, and determines advertisement expression policies for each user.

셋탑박스(300)는 백엔드 광고 서버(200)로부터 광고 소재들과 광고 표출 정책을 사전 다운로드 받은 후, 디지털 큐잉 신호를 이용해 광고 재생 구간을 식별하고, 식별된 광고 재생 구간에 대해서 광고 표출 정책에 의해 광고 소재들로부터 추출 생성되는 광고 콘텐츠의 MPEG-2 TS 속성을 조절하여 플레이어 상 끊김 없는 광고 재생을 보장한다.The set-top box 300 pre-downloads advertisement materials and advertisement expression policy from the backend advertisement server 200, and then identifies the advertisement playback section using a digital queuing signal, and for the identified advertisement playback section, according to the advertisement expression policy. By adjusting the MPEG-2 TS properties of advertisement content extracted and generated from advertisement materials, it guarantees uninterrupted advertisement reproduction on the player.

한편, 본 발명의 일 실시예에 따라 디지털 큐잉 신호를 이용해 식별되는 광고 재생 구간의 경우, 예컨대, 도 2에서와 같이, 실시간 IPTV 프로그램 콘텐츠에서 첫 번째 광고 콘텐츠로 전환되는 제1 전환구간(A), 광고 콘텐츠 간에 전환되는 제2 전환구간(B), 및 마지막 광고 콘텐츠에서 실시간 IPTV 프로그램 콘텐츠로 전환되는 제3 전환구간(C)로 구분될 수 있다.On the other hand, in the case of an advertisement reproduction section identified using a digital queuing signal according to an embodiment of the present invention, for example, as shown in FIG. 2 , a first conversion section (A) in which the real-time IPTV program content is converted to the first advertisement content , a second conversion section (B) for switching between advertisement contents, and a third transition section (C) for switching from the last advertisement contents to real-time IPTV program contents.

이처럼, 광고 재생 구간에서 구분될 수 있는 각 전환구간(A, B, C)에 대해서 끊김 없는 콘텐츠 재생을 보장하기 위해선, 콘텐츠 구성 불일치와, PAT(Program Association Table), PMT(Program Map Table), PID(Packet IDentifier) 불일치; PCR(Program Clock Reference), DTS(Decoding Time Stamp), PTS (Presentation Time Stamp) 시간 불연속성; 그리고 CC(Continuity Counter) 불연속성을 고려할 필요가 있다.As such, in order to ensure seamless content playback for each transition section (A, B, C) that can be distinguished in the advertisement playback section, content configuration mismatch, PAT (Program Association Table), PMT (Program Map Table), Packet IDentifier (PID) mismatch; PCR (Program Clock Reference), DTS (Decoding Time Stamp), PTS (Presentation Time Stamp) time discontinuities; And it is necessary to consider CC (Continuity Counter) discontinuity.

먼저, 콘텐츠 구성 불일치에 대해서 살펴보면, 셋탑박스(300)에서 실시간 IPTV 프로그램 콘텐츠와 광고 콘텐츠 간 끊김 없는 전환을 수행하기 위해 기본적으로 이들을 구성하는 비디오, 오디오 기본 스트림들의 부호화 방식과 개수가 동일해야 한다.First, regarding the content configuration inconsistency, in order to perform seamless switching between real-time IPTV program content and advertisement content in the set-top box 300 , the encoding methods and the number of video and audio elementary streams constituting them should be the same.

만약 부호화 방식이 상이한 경우, 콘텐츠들 간 전환 시 셋탑박스(300) 내 플레이어는 리셋 및 초기화를 수행하며, 이로 인한 재생 지연이 발생하게 된다.If the encoding method is different, the player in the set-top box 300 performs reset and initialization when switching between contents, resulting in a playback delay.

또한, MPEG-2 TS로 전송되는 실시간 IPTV 프로그램 콘텐츠는 복수의 오디오 기본 스트림들을 포함할 수 있는데, 콘텐츠 간에 오디오 기본 스트림들의 개수가 상이할 경우, 전환 후 디코딩 및 출력을 수행할 오디오 프레임이 존재하지 않을 수 있으므로, 다양한 오동작 시나리오를 고려해야 한다.In addition, real-time IPTV program content transmitted through MPEG-2 TS may include a plurality of audio elementary streams. If the number of audio elementary streams is different between the contents, there is no audio frame to be decoded and output after conversion. Therefore, various malfunction scenarios should be considered.

다음, PAT, PMT, PID 불일치와 관련하여 도 3에서는 MPEG-2 TS 내 PAT, PMT를 활용하여 기본 스트림들의 PID를 획득하는 과정을 예시적으로 보여주고 있다.Next, in relation to PAT, PMT, and PID mismatch, FIG. 3 exemplarily shows a process of obtaining PIDs of elementary streams by using PAT and PMT in MPEG-2 TS.

우선, TS가 입력되면 (PID = 0)인 PAT를 찾게 되는데, 여기서 PAT는 현재 TS를 구성하고 있는 콘텐츠의 번호와 해당 콘텐츠의 구성 정보인 PMT를 참조하기 위한 PID를 포함하고 있다.First, when a TS is input, a PAT of (PID = 0) is found. Here, the PAT includes the number of the content constituting the current TS and the PID for referring to the PMT, which is configuration information of the corresponding content.

즉, PAT를 이용하여 시청하고자 하는 콘텐츠의 PMT를 식별할 수 있고, 이러한 PMT에는 해당 콘텐츠에 포함되어 있는 비디오, 오디오 및 부가 데이터 기본 스트림들에 대한 PID 정보를 포함하고 있다.That is, the PMT of the content to be viewed can be identified using the PAT, and the PMT includes PID information on the video, audio, and additional data elementary streams included in the corresponding content.

그 결과 PMT에서 찾은 PID를 기반으로 비디오, 오디오, 시스템 정보 관련 디코딩 및 출력을 시작할 수 있는데, 만약 연속된 TS 내에서 PAT, PMT, PID가 변경되는 경우, 플레이어 내부에서 이를 인지하고 적용 및 처리 될 때까지 재생 지연이 불가피하게 발생하게 되는 것이다.As a result, video, audio, and system information related decoding and output can be started based on the PID found in the PMT. Until then, playback delay will inevitably occur.

다음, PCR, DTS, PTS 시간 불연속성에 대해서 살펴보면, MPEG-2 TS에서는, 플레이어가 동영상 재생을 위한 기준 시간을 설정하기 위해 사용되는 PCR과, 비디오, 오디오 프레임의 디코딩을 수행하는 시간을 정의하는 DTS, 그리고 디코딩 된 비디오, 오디오 프레임을 출력하는 시간을 정의하는 PTS에 해당하는 재생타이밍정보(시간정보)를 제공한다.Next, looking at PCR, DTS, and PTS time discontinuity, in MPEG-2 TS, PCR used by the player to set a reference time for video playback and DTS defining the time for decoding video and audio frames , and provides playback timing information (time information) corresponding to the PTS that defines the time for outputting the decoded video and audio frames.

이에 따라 셋탑박스(300)에서는 이러한 재생타이밍정보를 이용하여 PCR 시간과 동일한 DTS 및 PTS를 갖는 비디오, 오디오 프레임을 디코딩하고 출력할 수 있다.Accordingly, the set-top box 300 may decode and output the video and audio frames having the same DTS and PTS as the PCR time using such reproduction timing information.

이와 관련하여, 도 4에서는 실시간 IPTV 프로그램 콘텐츠가 재생되는 도중 불연속적인 재생타이밍정보를 갖고 있는 광고 콘텐츠 1, 2, 3이 이를 대체하여 연속 재생되는 경우를 예시적으로 보여주고 있다.In relation to this, FIG. 4 exemplifies a case in which advertisement contents 1, 2, and 3 having discontinuous reproduction timing information are continuously reproduced while the real-time IPTV program contents are being reproduced.

도 4에서 보여지듯이 콘텐츠들 간 부호화 시점이 상이한 경우, PCR, DTS, PTS가 불연속적이며, 이러한 재생타이밍정보의 불연속은, 콘텐츠들 간 전환 시 시간 동기화 수행을 위한 재생 지연이 불가피하게 발생시키게 된다.As shown in FIG. 4 , when the encoding timing between contents is different, PCR, DTS, and PTS are discontinuous, and such discontinuity of playback timing information inevitably causes a playback delay for performing time synchronization when switching between contents. .

마지막으로, CC(Continuity Counter) 불연속에 대해서 살펴보면, MPEG-2 TS 패킷 헤더 내 CC는 4 비트 필드를 가지며, 각 PID에 해당하는 TS 패킷이 인입될 때 마다 PID 별 카운팅 값이 매번 1씩 증가하는 특성을 가진다.Finally, looking at the CC (Continuity Counter) discontinuity, the CC in the MPEG-2 TS packet header has a 4-bit field, and the counting value for each PID increases by 1 whenever a TS packet corresponding to each PID is received. have characteristics.

이에 따라 만약, 특정 PID에 관련하여 CC가 불연속적일 때 이를 연속성(Continuity) 오류라고 하며, 이는 TS 패킷들이 일부 손실되었음을 의미하게 된다.Accordingly, if the CC is discontinuous in relation to a specific PID, this is called a continuity error, which means that some TS packets are lost.

이와 관련하여, 도 5에서와 같이, 콘텐츠들 간 전환 시 PID 별 CC가 불연속적인 경우, 올바르게 전환이 수행되었음에도 불구하고 플레이어는 이를 연속성(Continuity) 오류라고 해석한다.In this regard, as shown in FIG. 5 , when the CCs for each PID are discontinuous when switching between contents, the player interprets this as a continuity error even though the transition has been performed correctly.

따라서, 예외 처리가 적용되지 않는 셋탑박스(300)에서는 이를 정상 처리하지 않게 되어 연속 재생에 있어서 문제를 일으킬 수 있는 것이다.Therefore, the set-top box 300 to which the exception processing is not applied does not normally process this, which may cause a problem in continuous playback.

이에, 본 발명의 일 실시예에 따른 IPTV 서비스 환경에서는 전술한 구성을 기반으로 콘텐츠 연속 재생에 있어서 광고 재생 구간 내 각 전환구간(A, B, C)에서 발생할 수 있는 위 문제점들을 해결할 수 있는데, 이하에서는 이를 해결할 수 있는데, 이하에서는 이를 실현하기 위한 셋탑박스(300)의 구성에 대해 보다 구체적으로 설명하기로 한다.Accordingly, in the IPTV service environment according to an embodiment of the present invention, it is possible to solve the above problems that may occur in each switching section (A, B, C) within the advertisement playback section in continuous content playback based on the above-described configuration, Hereinafter, this can be solved. Hereinafter, the configuration of the set-top box 300 for realizing this will be described in more detail.

도 6은 본 발명의 일 실시예에 따른 셋탑박스(300)는 광고재생구간을 식별하는 식별부(310), 광고 콘텐츠를 생성하는 생성부(320), 및 콘텐츠를 전환하는 전환부(330)를 포함하는 구성을 가질 수 있다.6 shows a set-top box 300 according to an embodiment of the present invention, an identification unit 310 for identifying an advertisement playback section, a generation unit 320 for generating advertisement content, and a conversion unit 330 for converting contents. It may have a configuration comprising

이러한 셋탑박스(400)의 구성 전체 내지는 적어도 일부는 하드웨어 모듈 형태 또는 소프트웨어 모듈 형태로 구현되거나, 하드웨어 모듈과 소프트웨어 모듈이 조합된 형태로도 구현될 수 있다.All or at least a part of the configuration of the set-top box 400 may be implemented in the form of a hardware module or a software module, or may be implemented in a form in which a hardware module and a software module are combined.

여기서, 소프트웨어 모듈이란, 예컨대, 셋탑박스(300) 내에서 연산을 제어하는 프로세서에 의해 실행되는 명령어로 이해될 수 있으며, 이러한 명령어는 셋탑박스(300) 내 메모리에 탑재된 형태를 가질 수 있을 것이다.Here, the software module may be understood as, for example, an instruction executed by a processor that controls operations in the set-top box 300 , and these instructions may have a form mounted in a memory in the set-top box 300 . .

한편, 본 발명의 일 실시예에 따른 셋탑박스(300)는 위 구성 이외에, IPTV 헤드엔드(100)와 백엔드 광고 서버(200)와의 실질적인 통신 기능을 담당하는 RF 통신 모듈인 통신부(340)의 구성을 더 포함할 수 있다.Meanwhile, in the set-top box 300 according to an embodiment of the present invention, in addition to the above configuration, the communication unit 340, which is an RF communication module responsible for actual communication between the IPTV headend 100 and the backend advertisement server 200, is configured may further include.

결국, 본 발명의 일 실시예에 따른 셋탑박스(300)는 전술한 구성을 통해서 실시간 IPTV 프로그램 콘텐츠로부터 식별되는 광고 재생 구간에서 광고 콘텐츠의 심리스(Seamless)한 연속 재생을 지원할 수 있는데, 이하에서는 이를 실현하기 위한 셋탑박스(300) 내 각 구성에 대해 구체적인 설명을 이어 가기로 한다.As a result, the set-top box 300 according to an embodiment of the present invention can support seamless continuous playback of advertisement contents in the advertisement reproduction section identified from real-time IPTV program contents through the above-described configuration. A detailed description of each configuration within the set-top box 300 for realization will be continued.

식별부(310)는 실시간 IPTV 프로그램 콘텐츠 내 광고 재생 구간을 식별하는 기능을 수행한다.The identification unit 310 performs a function of identifying an advertisement reproduction section within the real-time IPTV program content.

보다 구체적으로, 식별부(310)는 실시간 IPTV 프로그램 콘텐츠에 포함되어 수신되는 디지털 큐잉 신호에 따라서 IPTV 프로그램 콘텐츠의 재생 구간 중 일부를 광고 재생 구간으로 식별하게 된다.More specifically, the identification unit 310 identifies a portion of the reproduction section of the IPTV program content as an advertisement reproduction section according to a digital queuing signal included in the real-time IPTV program content and received.

이때, 식별부(310)는 디지털 큐잉 신호 내 광고 시작 시점을 지시하는 큐 아웃(Cue-Out) 패킷과, 광고 종료 시점을 지시하는 큐 인(Cue-In) 패킷으로부터 광고 재생 구간을 식별할 수 있다.At this time, the identification unit 310 can identify the advertisement playback section from the cue-out packet indicating the advertisement start time in the digital queuing signal and the cue-in packet indicating the advertisement end time. have.

이와 관련하여, IPTV 헤드엔드(100)에서는 셋탑박스(300)에서 광고 재생 구간 식별을 위한 정보를 포함하도록 디지털 큐잉 신호를 생성한다.In this regard, the IPTV headend 100 generates a digital queuing signal to include information for identifying an advertisement playback section in the set-top box 300 .

디지털 큐잉 신호는 기 정해진 Stream Type = 0x86로 식별 가능하며, 예컨대, 도 7에서와 같이 2 가지 패킷 타입(Cue-Out 패킷 및 Cue-In 패킷)으로 구분될 수 있다The digital queuing signal can be identified as a predetermined Stream Type = 0x86, and for example, can be divided into two packet types (Cue-Out packet and Cue-In packet) as shown in FIG. 7 .

여기서, 큐 아웃(Cue-Out) 패킷은 패킷 식별자, 광고 시작 시점 PTS, 총 광고 재생 시간, 광고 영역 식별자에 대한 정보를 포함하며, 큐 인(Cue-In) 패킷은 패킷 식별자, 광고 종료 시점 PTS, 광고 영역 식별자에 대한 정보를 포함하게 된다.Here, the cue-out packet includes information on a packet identifier, advertisement start time PTS, total advertisement playback time, and advertisement area identifier, and the cue-in packet includes a packet identifier and advertisement end time PTS. , information about the advertisement area identifier is included.

참고로, 패킷 식별자는 디지털 큐잉 패킷들을 구분하기 위해 사용되며, 광고 영역 식별자는 전/후 CM(Commecial Message) 및 토막 광고(Station Break) 등의 광고 영역을 구분할 수 있다.For reference, the packet identifier is used to distinguish digital queuing packets, and the advertisement area identifier can distinguish advertisement areas such as pre/post commercial messages (CM) and station breaks.

생성부(320)는 광고 콘텐츠를 생성하는 기능을 수행한다.The generating unit 320 performs a function of generating advertisement content.

보다 구체적으로, 생성부(320)는 실시간 IPTV 프로그램 콘텐츠 내 광고 재생 구간이 식별되면, 광고 재생 구간에 삽입하여 연속 재생이 요구되는 광고 콘텐츠를 생성하게 된다.More specifically, when an advertisement playback section within the real-time IPTV program content is identified, the generator 320 generates advertisement content requiring continuous playback by inserting it into the advertisement playback section.

이때, 생성부(320)는 실시간 IPTV 프로그램 콘텐츠에 사용된 부호화 방식을 기반으로 광고 소재의 기본 스트림을 추출하여 실시간 IPTV 프로그램 콘텐츠의 구성과 매칭되는 광고 콘텐츠를 생성할 수 있다.In this case, the generator 320 may extract the basic stream of the advertisement material based on the encoding method used for the real-time IPTV program content and generate advertisement content matching the configuration of the real-time IPTV program content.

여기서, 백엔드 광고 서버(200)로부터 다운로드되는 광고 소재의 경우, 실시간 IPTV 프로그램 콘텐츠에서 사용 가능한 모든 부호화 방식을 동일한 광고 소재에 각각 적용한 다수의 기본 스트림을 포함하게 된다.Here, the advertisement material downloaded from the backend advertisement server 200 includes a plurality of elementary streams in which all encoding methods available in real-time IPTV program contents are applied to the same advertisement material, respectively.

이에, 생성부(320)는 콘텐츠 구성 불일치에 따른 연속 재생의 문제점을 고려하기 위해, 광고 소재에 대한 다수의 기본 스트림 중, 실시간 IPTV 프로그램 콘텐츠에서와 동일한 부호화 방식이 적용된 기본 스트림을 실시간 IPTV 프로그램 콘텐츠 내 기본 스트림의 개수만큼 추출하여 광고 콘텐츠를 생성할 수 있는 것이다.Accordingly, in order to take into account the problem of continuous playback due to content configuration mismatch, the generating unit 320 converts a basic stream to which the same encoding method as in the real-time IPTV program content is applied from among a plurality of elementary streams for advertisement materials to real-time IPTV program content. Ad content can be created by extracting as many as the number of my basic streams.

예를 들어, 도 8에서와 같이 실시간 IPTV 프로그램 콘텐츠가 동일한 부호화 조합 방식을 갖는 복수의 기본 스트림들을 포함하는 경우, 광고 소재 내 해당 부호화 조합 방식으로 준비된 기본 스트림의 복사를 통해 광고 콘텐츠를 생성할 수 있는 것이다.For example, if the real-time IPTV program content includes a plurality of elementary streams having the same encoding combination method as shown in FIG. 8, advertisement content can be created by copying the elementary stream prepared by the encoding combination method in the advertisement material. there will be

한편, 이와 관련하여, 백엔드 광고 서버(200)에서는 실시간 IPTV 프로그램 콘텐츠의 모든 사용 가능한 부호화 방식을 적용하여 미리 광고 소재를 구성하게 된다.Meanwhile, in this regard, the backend advertisement server 200 configures advertisement materials in advance by applying all available encoding methods of real-time IPTV program contents.

다시 말해, 예컨대, 도 9에서와 같이 광고 소재는 실시간 IPTV 프로그램 콘텐츠에서 사용되는 모든 비디오 부호화 방식 조합들(코덱, 프로파일/레벨, 해상도, 스캔 타입, 스캔 순서, 프레임율, 색상 비트 수 등)과 모든 오디오 부호화 방식 조합들(코덱, 채널 수, 샘플율 등)로 준비된 기본 스트림들을 포함할 수 있는 것이다.In other words, for example, as shown in FIG. 9, the advertisement material includes all video encoding method combinations (codec, profile/level, resolution, scan type, scan order, frame rate, number of color bits, etc.) used in real-time IPTV program content. It is possible to include elementary streams prepared with all audio encoding scheme combinations (codec, number of channels, sample rate, etc.).

참고로, 본 발명의 일 실시예에서 광고 소재는 TS 패킷들로 이루어진 파일 형식으로 이루어질 수 있으며, 이에 대한 추출을 통해 생성되는 광고 콘텐츠의 경우, 광고 소재의 부분 집합 개념으로서 파일 형식은 아니며 관련 TS 패킷들이 메모리 영역에 위치한 형태인 것으로 이해될 수 있다.For reference, in an embodiment of the present invention, the advertisement material may be formed in a file format consisting of TS packets, and in the case of advertisement content generated through extraction thereof, it is not a file format as a concept of a subset of the advertisement material, but a related TS It may be understood that packets are located in a memory area.

전환부(330)는 콘텐츠를 전환하는 기능을 수행한다.The conversion unit 330 performs a function of switching content.

보다 구체적으로, 전환부(330)는 광고 콘텐츠가 생성되면, 실시간 IPTV 프로그램 콘텐츠의 재생 구간 중 적어도 일부의 구간으로 식별되는 광고 재생 구간에 대해서, 실시간 IPTV 프로그램 콘텐츠를 광고 콘텐츠로 전환하게 된다.More specifically, when the advertisement content is generated, the conversion unit 330 converts the real-time IPTV program content into advertisement content for the advertisement playback section identified as at least a part of the playback section of the real-time IPTV program content.

이때, 전환부(330)는 앞서 도 2를 참조하여 언급한 광고 재생 구간 내 각 전환구간(A, B, C)에 대해서 끊김 없는 콘텐츠 재생을 보장하기 위해서 광고 콘텐츠의 기본 스트림에 대한 속성 조절을 지원할 수 있다.At this time, the conversion unit 330 adjusts the properties of the basic stream of the advertisement content in order to ensure seamless content reproduction for each transition section (A, B, C) in the advertisement playback section mentioned above with reference to FIG. 2 . can support

이와 관련하여, 전환부(330)는 PAT, PMT, PID 불일치에 따른 연속 재생의 문제점을 고려하기 위해, 광고 콘텐츠 내 PAT 및 PMT와 연관된 패킷을 상기 실시간 IPTV 프로그램 콘텐츠와 동일한 패킷으로 대체하며, 광고 콘텐츠의 기본 스트림에 대한 PID를 실시간 IPTV 프로그램 콘텐츠의 PID와 동일하게 변경한다.In this regard, in order to consider the problem of continuous playback due to PAT, PMT, and PID mismatch, the conversion unit 330 replaces packets associated with PAT and PMT in advertisement content with the same packet as that of the real-time IPTV program content, Change the PID of the elementary stream of the content to be the same as the PID of the real-time IPTV program content.

다시 말해, 전환부(330)는 예컨대, 도 10에서와 같이, 광고 콘텐츠들 내 PAT, PMT와 연관된 MPEG-2 TS 패킷들을 폐기하고, 실시간 IPTV 프로그램 콘텐츠 내 PAT, PMT와 연관된 MPEG-2 TS 패킷들로 대체/유입하며(A-B), 광고 콘텐츠들의 비디오, 오디오 기본 스트림들의 PID를 실시간 IPTV 프로그램 콘텐츠 내 연관된 기본 스트림들의 PID로 변경하고 있는 것이다(B-C).In other words, the conversion unit 330 discards MPEG-2 TS packets associated with PAT and PMT in advertisement contents, and MPEG-2 TS packets associated with PAT and PMT in real-time IPTV program contents, as shown in FIG. 10 , for example. It is replaced/introduced to (A-B), and the PIDs of video and audio elementary streams of advertisement contents are changed to PIDs of related elementary streams in real-time IPTV program contents (B-C).

또한, 전환부(330)는 PCR, DTS, PTS 시간 불연속성에 따른 연속 재생의 문제점을 고려하기 위해, 광고 콘텐츠 각각에 대해서 이전 시점에 재생된 콘텐츠의 마지막 PCR 카운팅 값을 기준으로, PCR, DTS, 및 PTS 각각의 카운팅 값을 연속된 이웃한 값으로 변경한다.In addition, in order to consider the problem of continuous playback due to PCR, DTS, and PTS time discontinuity, the conversion unit 330 performs PCR, DTS, PCR, DTS, and changing the counting value of each PTS into consecutive neighboring values.

예를 들어, 재생할 총 광고 콘텐츠의 개수를 N 개로 가정하면 각 광고 콘텐츠의 재생타이밍정보로서 다음의 세 가지 시간 값이 존재한다.For example, assuming that the total number of advertisement contents to be reproduced is N, the following three time values exist as reproduction timing information of each advertisement contents.

Figure 112021019338168-pat00001
Figure 112021019338168-pat00001

여기서,

Figure 112021019338168-pat00002
,
Figure 112021019338168-pat00003
, 및
Figure 112021019338168-pat00004
, 는 각각
Figure 112021019338168-pat00005
번 광고 콘텐츠의
Figure 112021019338168-pat00006
번째 PCR / DTS / PTS 값이고,
Figure 112021019338168-pat00007
,
Figure 112021019338168-pat00008
, 및
Figure 112021019338168-pat00009
는 각각
Figure 112021019338168-pat00010
번 광고 콘텐츠의 마지막 PCR / DTS / PTS 값이다.here,
Figure 112021019338168-pat00002
,
Figure 112021019338168-pat00003
, and
Figure 112021019338168-pat00004
, are each
Figure 112021019338168-pat00005
of advertising content
Figure 112021019338168-pat00006
is the second PCR/DTS/PTS value,
Figure 112021019338168-pat00007
,
Figure 112021019338168-pat00008
, and
Figure 112021019338168-pat00009
are each
Figure 112021019338168-pat00010
This is the last PCR/DTS/PTS value of the advertisement content.

이 경우, 각 광고 콘텐츠 간 연속성을 부여하기 위해 아래에서와 같이 직전 재생 콘텐츠의 마지막 PCR을 기준으로 뒤따르는 광고 콘텐츠의 PCR, DTS, 및 PTS의 속성을 조절하고 있는 것이다.In this case, in order to provide continuity between each advertisement content, the PCR, DTS, and PTS properties of the following advertisement content are adjusted based on the last PCR of the immediately played content as shown below.

Figure 112021019338168-pat00011
Figure 112021019338168-pat00011

여기서,

Figure 112021019338168-pat00012
는 실시간 IPTV 프로그램 콘텐츠에서 첫 번째 광고 콘텐츠로 전환 전 실시간 IPTV 프로그램의 마지막 PCR이다.here,
Figure 112021019338168-pat00012
is the last PCR of real-time IPTV program before conversion from real-time IPTV program content to first advertisement content.

마지막으로, 전환부(330)는 CC(Continuity Counter) 불연속에 따른 연속 재생의 문제점을 고려하기 위해 광고 콘텐츠 간에 PID(Packet Identifier) 별로 누락된 CC(Continuity Counter) 값을 설정한 더미(Dummy) 패킷을 생성하여 생성된 더미 패킷을 광고 콘텐츠 사이에 삽입한다.Finally, the conversion unit 330 sets a missing CC (Continuity Counter) value for each PID (Packet Identifier) between advertisement contents in order to consider the problem of continuous playback due to CC (Continuity Counter) discontinuity. Dummy packet and inserts the generated dummy packet between advertisement contents.

예를 들어, 광고 콘텐츠 별 PID의 총 개수가 M이라고 가정하면, 다음 단계 1 내지 단계 5의 과정을 통해 예컨대, 도 11에서와 같이 광고 콘텐츠 사이에 더미(Dummy) 패킷을 삽입할 수 있다.For example, if it is assumed that the total number of PIDs for each advertisement content is M, a dummy packet may be inserted between advertisement contents, for example, as shown in FIG. 11 through the processes of steps 1 to 5.

단계 1 : 초기화 단계Step 1: Initialization Step

Figure 112021019338168-pat00013
Figure 112021019338168-pat00013

여기서,

Figure 112021019338168-pat00014
는 직전 재생 콘텐츠 상
Figure 112021019338168-pat00015
번째 PID와 관련하여 삽입할 더미 패킷 리스트를 나타내며,
Figure 112021019338168-pat00016
는 직전 재생 콘텐츠 상
Figure 112021019338168-pat00017
번째 PID와 관련하여 마지막 CC 값을 나타낸다.here,
Figure 112021019338168-pat00014
is the last played content award
Figure 112021019338168-pat00015
Represents a list of dummy packets to be inserted in relation to the second PID,
Figure 112021019338168-pat00016
is the last played content award
Figure 112021019338168-pat00017
It indicates the last CC value in relation to the th PID.

단계 2: CC 연속성 검사Step 2: Check CC Continuity

Figure 112021019338168-pat00018
Figure 112021019338168-pat00018

여기서,

Figure 112021019338168-pat00019
는 뒤따르는 콘텐츠 상
Figure 112021019338168-pat00020
PID와 관련하여 첫 번째 CC 값을 나타낸다.here,
Figure 112021019338168-pat00019
is the following content award
Figure 112021019338168-pat00020
It indicates the first CC value in relation to the PID.

본 단계에서 이루어지는 CC 연속성 검사 결과 동일하지 않은 경우,

Figure 112021019338168-pat00021
Figure 112021019338168-pat00022
로 설정하고 이어질 단계 3을 진행하며, 만약 동일하다면 이어질 단계 4를 진행한다.If the results of the CC continuity check made in this step are not the same,
Figure 112021019338168-pat00021
second
Figure 112021019338168-pat00022
set to and proceed to the next step 3, if it is the same, proceed to the next step 4.

단계 3: 더미 패킷 생성Step 3: Create Dummy Packets

Figure 112021019338168-pat00023
Figure 112021019338168-pat00023

본 단계에서는, CC 값을

Figure 112021019338168-pat00024
값으로 설정한 더미(Dummy) 패킷인
Figure 112021019338168-pat00025
을 생성하고, 패킷을
Figure 112021019338168-pat00026
에 포함시키게 된다.In this step, the CC value
Figure 112021019338168-pat00024
A dummy packet set to a value
Figure 112021019338168-pat00025
create a packet
Figure 112021019338168-pat00026
will be included in

여기서, 더미(Dummy) 패킷은 CC를 제외하고, MPEG-2 TS 패킷 내 실 데이터 페이로드 상 모든 비트 스트림을 (0xFF)로 설정하여 디코딩에 어떠한 영향도 미치지 않는다.Here, the dummy packet sets all bit streams on the real data payload in the MPEG-2 TS packet to (0xFF), except for CC, so that decoding is not affected at all.

이러한 단계 3 이후에는 전술한 단계 2로 되돌아간다.After step 3, the process returns to step 2 described above.

단계 4: 더미 패킷 삽입Step 4: Insert Dummy Packets

본 단계에서는, 직전 재생 콘텐츠와 뒤따르는 콘텐츠 사이에

Figure 112021019338168-pat00027
포함된 더미(Dummy) 패킷들을 삽입한다.In this step, between the previous content and the content that follows
Figure 112021019338168-pat00027
The included dummy packets are inserted.

단계 5: PID 별 반복Step 5: Repeat by PID

본 단계에서는, 모든 PID에 대해 전술한 단계 1 내지 4를 반복한다.In this step, the above steps 1 to 4 are repeated for all PIDs.

즉,

Figure 112021019338168-pat00028
를 1증가시킨 후,
Figure 112021019338168-pat00029
이면, 단계 1로 되돌아 간다.in other words,
Figure 112021019338168-pat00028
After increasing by 1,
Figure 112021019338168-pat00029
If yes, go back to step 1.

한편, 전환부(330)는 전술한 과정을 통해서 광고 콘텐츠에 대한 속성 조절이 완료되면, 해당 광고 콘텐츠들을 순서대로 버퍼에 전달하면서, 버퍼 오버플로우가 발생하지 않도록 MPEG-2 TS 패킷들의 버퍼 유입 시점을 제어한다.On the other hand, when the attribute adjustment of the advertisement content is completed through the above-described process, the conversion unit 330 transfers the advertisement contents to the buffer in order, and the time when the MPEG-2 TS packets are introduced into the buffer so that a buffer overflow does not occur. to control

즉,

Figure 112021019338168-pat00030
번째 맞춤형 광고 콘텐츠의
Figure 112021019338168-pat00031
번째 PTS에 출력해야 하는 MPEG-2 TS 패킷들의 버퍼 유입 시점을 아래와 같이 설정한다.in other words,
Figure 112021019338168-pat00030
of the second customized advertising content
Figure 112021019338168-pat00031
The buffer inflow timing of MPEG-2 TS packets to be output to the second PTS is set as follows.

Figure 112021019338168-pat00032
Figure 112021019338168-pat00032

여기서,

Figure 112021019338168-pat00033
Figure 112021019338168-pat00034
번째 광고 콘텐츠의 총 PTS 개수이다.here,
Figure 112021019338168-pat00033
Is
Figure 112021019338168-pat00034
The total number of PTSs of the second advertisement content.

나아가, 전환부(330)는 모든 광고 콘텐츠들의 버퍼 유입 완료 후, 실시간 IPTV 프로그램 콘텐츠 내 기본 스트림들의 PTS가

Figure 112021019338168-pat00035
보다 큰 오디오, 비디오 기본 스트림들을 버퍼에 유입한다.Further, after the conversion unit 330 completes the buffer inflow of all advertisement contents, the PTS of elementary streams in the real-time IPTV program contents is
Figure 112021019338168-pat00035
Larger audio and video elementary streams are fed into the buffer.

이와 관련하여, 잘못된 프레임 참조는 화질 저하를 야기하므로, 비디오 기본 스트림은 IDR (Instantaneous Decoder Refresh) 프레임으로 시작해야 하며, 해당 프레임은 MPEG-2 TS 패킷의 Adaptation 필드 내 RAI (Random Access Indicator) 비트를 검출함으로써 쉽게 식별될 수 있다.In this regard, since incorrect frame reference causes picture quality degradation, the video elementary stream must start with an Instantaneous Decoder Refresh (IDR) frame, which contains the Random Access Indicator (RAI) bit in the Adaptation field of the MPEG-2 TS packet. It can be easily identified by detection.

이상에서 살펴본 바와 같이 본 발명의 일 실시예에 따른 셋탑박스(300)의 구성에 따르면, 실시간 IPTV 프로그램 콘텐츠 내 디지털 큐잉 신호를 이용하여 광고 재생 구간을 정확히 식별하고, 해당 광고 재생 구간에 사전 다운로드된 광고 소재들로부터 적절한 광고 콘텐츠들을 추출하고 MPEG(Moving Picture Experts Group)-2 TS(Transport Stream) 속성을 조절하여 IPTV 시청자에게 끊김 없는 광고 재생 서비스를 제공할 수 있다.As described above, according to the configuration of the set-top box 300 according to an embodiment of the present invention, an advertisement playback section is accurately identified using a digital queuing signal in real-time IPTV program content, and the advertisement playback section is pre-downloaded in the corresponding advertisement playback section. It is possible to provide a seamless advertisement reproduction service to IPTV viewers by extracting appropriate advertisement contents from advertisement materials and adjusting MPEG (Moving Picture Experts Group)-2 TS (Transport Stream) properties.

이하에서는, 도 12를 참조하여, 본 발명의 일 실시예에 따른 셋탑박스(400)의 동작 방법을 설명하기로 한다.Hereinafter, an operating method of the set-top box 400 according to an embodiment of the present invention will be described with reference to FIG. 12 .

먼저, 식별부(310)는 실시간 IPTV 프로그램 콘텐츠에 포함되어 수신되는 디지털 큐잉 신호에 따라서 IPTV 프로그램 콘텐츠의 재생 구간 중 일부를 광고 재생 구간으로 식별한다(S110-S120).First, the identification unit 310 identifies a portion of a reproduction section of the IPTV program content as an advertisement reproduction section according to a digital queuing signal included in the real-time IPTV program content and received (S110-S120).

이때, 식별부(310)는 디지털 큐잉 신호 내 광고 시작 시점을 지시하는 큐 아웃(Cue-Out) 패킷과, 광고 종료 시점을 지시하는 큐 인(Cue-In) 패킷으로부터 광고 재생 구간을 식별할 수 있다.At this time, the identification unit 310 can identify the advertisement playback section from the cue-out packet indicating the advertisement start time in the digital queuing signal and the cue-in packet indicating the advertisement end time. have.

이와 관련하여, IPTV 헤드엔드(100)에서는 셋탑박스(300)에서 광고 재생 구간 식별을 위한 정보를 포함하도록 디지털 큐잉 신호를 생성한다.In this regard, the IPTV headend 100 generates a digital queuing signal to include information for identifying an advertisement playback section in the set-top box 300 .

디지털 큐잉 신호는 기 정해진 Stream Type = 0x86로 식별 가능하며, 앞서 예시한, 도 7에서와 같이 2 가지 패킷 타입(Cue-Out 패킷 및 Cue-In 패킷)으로 구분될 수 있다The digital queuing signal can be identified as a predetermined Stream Type = 0x86, and can be divided into two packet types (Cue-Out packet and Cue-In packet) as illustrated above in FIG. 7 .

여기서, 큐 아웃(Cue-Out) 패킷은 패킷 식별자, 광고 시작 시점 PTS, 총 광고 재생 시간, 광고 영역 식별자에 대한 정보를 포함하며, 큐 인(Cue-In) 패킷은 패킷 식별자, 광고 종료 시점 PTS, 광고 영역 식별자에 대한 정보를 포함하게 된다.Here, the cue-out packet includes information on a packet identifier, advertisement start time PTS, total advertisement playback time, and advertisement area identifier, and the cue-in packet includes a packet identifier and advertisement end time PTS. , information about the advertisement area identifier is included.

참고로, 패킷 식별자는 디지털 큐잉 패킷들을 구분하기 위해 사용되며, 광고 영역 식별자는 전/후 CM(Commecial Message) 및 토막 광고(Station Break) 등의 광고 영역을 구분할 수 있다.For reference, the packet identifier is used to distinguish digital queuing packets, and the advertisement area identifier can distinguish advertisement areas such as pre/post commercial messages (CM) and station breaks.

그리고 나서, 생성부(320)는 실시간 IPTV 프로그램 콘텐츠 내 광고 재생 구간이 식별되면, 광고 재생 구간에 삽입하여 연속 재생이 요구되는 광고 콘텐츠를 생성한다(S130-S140).Then, when the advertisement playback section in the real-time IPTV program content is identified, the generator 320 inserts it into the advertisement playback section to generate advertisement content requiring continuous playback (S130-S140).

이때, 생성부(320)는 실시간 IPTV 프로그램 콘텐츠에 사용된 부호화 방식을 기반으로 광고 소재의 기본 스트림을 추출하여 실시간 IPTV 프로그램 콘텐츠의 구성과 매칭되는 광고 콘텐츠를 생성할 수 있다.In this case, the generator 320 may extract the basic stream of the advertisement material based on the encoding method used for the real-time IPTV program content and generate advertisement content matching the configuration of the real-time IPTV program content.

여기서, 백엔드 광고 서버(200)로부터 다운로드되는 광고 소재의 경우, 실시간 IPTV 프로그램 콘텐츠에서 사용 가능한 모든 부호화 방식을 동일한 광고 소재에 각각 적용한 다수의 기본 스트림을 포함하게 된다.Here, the advertisement material downloaded from the backend advertisement server 200 includes a plurality of elementary streams in which all encoding methods available in real-time IPTV program contents are applied to the same advertisement material, respectively.

이에, 생성부(320)는 콘텐츠 구성 불일치에 따른 연속 재생의 문제점을 고려하기 위해, 광고 소재에 대한 다수의 기본 스트림 중, 실시간 IPTV 프로그램 콘텐츠에서와 동일한 부호화 방식이 적용된 기본 스트림을 실시간 IPTV 프로그램 콘텐츠 내 기본 스트림의 개수만큼 추출하여 광고 콘텐츠를 생성할 수 있는 것이다.Accordingly, in order to take into account the problem of continuous playback due to content configuration mismatch, the generating unit 320 converts a basic stream to which the same encoding method as in the real-time IPTV program content is applied from among a plurality of elementary streams for advertisement materials to real-time IPTV program content. Ad content can be created by extracting as many as the number of my basic streams.

앞서 예시한, 도 8에서와 같이 실시간 IPTV 프로그램 콘텐츠가 동일한 부호화 조합 방식을 갖는 복수의 기본 스트림들을 포함하는 경우, 광고 소재 내 해당 부호화 조합 방식으로 준비된 기본 스트림의 복사를 통해 광고 콘텐츠를 생성할 수 있는 것이다.8, as illustrated above, when the real-time IPTV program content includes a plurality of elementary streams having the same encoding combination method, advertisement content can be generated by copying the elementary stream prepared by the encoding combination method in the advertisement material. there will be

한편, 이와 관련하여, 백엔드 광고 서버(200)에서는 실시간 IPTV 프로그램 콘텐츠의 모든 사용 가능한 부호화 방식을 적용하여 미리 광고 소재를 구성하게 된다.Meanwhile, in this regard, the backend advertisement server 200 configures advertisement materials in advance by applying all available encoding methods of real-time IPTV program contents.

다시 말해, 앞서 예시한 도 9에서와 같이 광고 소재는 실시간 IPTV 프로그램 콘텐츠에서 사용되는 모든 비디오 부호화 방식 조합들(코덱, 프로파일/레벨, 해상도, 스캔 타입, 스캔 순서, 프레임율, 색상 비트 수 등)과 모든 오디오 부호화 방식 조합들(코덱, 채널 수, 샘플율 등)로 준비된 기본 스트림들을 포함할 수 있는 것이다.In other words, as shown in Fig. 9 exemplified above, the advertisement material is a combination of all video coding schemes (codec, profile/level, resolution, scan type, scan order, frame rate, number of color bits, etc.) used in real-time IPTV program content. and elementary streams prepared with all audio encoding method combinations (codec, number of channels, sample rate, etc.).

참고로, 본 발명의 일 실시예에서 광고 소재는 TS 패킷들로 이루어진 파일 형식으로 이루어질 수 있으며, 이에 대한 추출을 통해 생성되는 광고 콘텐츠의 경우, 광고 소재의 부분 집합 개념으로서 파일 형식은 아니며 관련 TS 패킷들이 메모리 영역에 위치한 형태인 것으로 이해될 수 있다.For reference, in an embodiment of the present invention, the advertisement material may be formed in a file format consisting of TS packets, and in the case of advertisement content generated through extraction thereof, it is not a file format as a concept of a subset of the advertisement material, but a related TS It may be understood that packets are located in a memory area.

이후, 전환부(330)는 광고 콘텐츠가 생성되면, 실시간 IPTV 프로그램 콘텐츠의 재생 구간 중 적어도 일부의 구간으로 식별되는 광고 재생 구간에 대해서, 실시간 IPTV 프로그램 콘텐츠를 광고 콘텐츠로 전환한다(S150-S160).Thereafter, when the advertisement content is generated, the conversion unit 330 converts the real-time IPTV program content into advertisement content for an advertisement playback section identified as at least a part of the playback section of the real-time IPTV program content (S150-S160). .

이때, 전환부(330)는 앞서 도 2를 참조하여 언급한 광고 재생 구간 내 각 전환구간(A, B, C)에 대해서 끊김 없는 콘텐츠 재생을 보장하기 위해서 광고 콘텐츠의 기본 스트림에 대한 속성 조절을 지원할 수 있다.At this time, the conversion unit 330 adjusts the properties of the basic stream of the advertisement content in order to ensure seamless content reproduction for each transition section (A, B, C) in the advertisement playback section mentioned above with reference to FIG. 2 . can support

이와 관련하여, 전환부(330)는 PAT, PMT, PID 불일치에 따른 연속 재생의 문제점을 고려하기 위해, 광고 콘텐츠 내 PAT 및 PMT와 연관된 패킷을 상기 실시간 IPTV 프로그램 콘텐츠와 동일한 패킷으로 대체하며, 광고 콘텐츠의 기본 스트림에 대한 PID를 실시간 IPTV 프로그램 콘텐츠의 PID와 동일하게 변경한다.In this regard, in order to consider the problem of continuous playback due to PAT, PMT, and PID mismatch, the conversion unit 330 replaces packets associated with PAT and PMT in advertisement content with the same packet as that of the real-time IPTV program content, Change the PID of the elementary stream of the content to be the same as the PID of the real-time IPTV program content.

다시 말해, 전환부(330)는 앞서 예시한, 도 10에서와 같이, 광고 콘텐츠들 내 PAT, PMT와 연관된 MPEG-2 TS 패킷들을 폐기하고, 실시간 IPTV 프로그램 콘텐츠 내 PAT, PMT와 연관된 MPEG-2 TS 패킷들로 대체/유입하며(A-B), 광고 콘텐츠들의 비디오, 오디오 기본 스트림들의 PID를 실시간 IPTV 프로그램 콘텐츠 내 연관된 기본 스트림들의 PID로 변경하고 있는 것이다(B-C).In other words, the conversion unit 330 discards MPEG-2 TS packets associated with PAT and PMT in advertisement contents, and MPEG-2 associated with PAT and PMT in real-time IPTV program contents, as exemplified above in FIG. 10 . TS packets are replaced/introduced (A-B), and PIDs of video and audio elementary streams of advertisement contents are changed to PIDs of related elementary streams in real-time IPTV program contents (B-C).

또한, 전환부(330)는 PCR, DTS, PTS 시간 불연속성에 따른 연속 재생의 문제점을 고려하기 위해, 광고 콘텐츠 각각에 대해서 이전 시점에 재생된 콘텐츠의 마지막 PCR 카운팅 값을 기준으로, PCR, DTS, 및 PTS 각각의 카운팅 값을 연속된 이웃한 값으로 변경한다.In addition, in order to consider the problem of continuous playback due to PCR, DTS, and PTS time discontinuity, the conversion unit 330 performs PCR, DTS, PCR, DTS, and changing the counting value of each PTS into consecutive neighboring values.

마지막으로, 전환부(330)는 CC(Continuity Counter) 불연속에 따른 연속 재생의 문제점을 고려하기 위해 광고 콘텐츠 간에 PID(Packet Identifier) 별로 누락된 CC(Continuity Counter) 값을 설정한 더미(Dummy) 패킷을 생성하여 생성된 더미 패킷을 광고 콘텐츠 사이에 삽입한다.Finally, the conversion unit 330 sets a missing CC (Continuity Counter) value for each PID (Packet Identifier) between advertisement contents in order to consider the problem of continuous playback due to CC (Continuity Counter) discontinuity. Dummy packet and inserts the generated dummy packet between advertisement contents.

한편, 전환부(330)는 모든 광고 콘텐츠들의 버퍼 유입 완료 후, 실시간 IPTV 프로그램 콘텐츠 내 기본 스트림들의 PTS가

Figure 112021019338168-pat00036
보다 큰 오디오, 비디오 기본 스트림들을 버퍼에 유입한다.On the other hand, the conversion unit 330 receives the PTS of the elementary streams in the real-time IPTV program contents after the buffer inflow of all advertisement contents is completed.
Figure 112021019338168-pat00036
Larger audio and video elementary streams are fed into the buffer.

이와 관련하여, 잘못된 프레임 참조는 화질 저하를 야기하므로, 비디오 기본 스트림은 IDR (Instantaneous Decoder Refresh) 프레임으로 시작해야 하며, 해당 프레임은 MPEG-2 TS 패킷의 Adaptation 필드 내 RAI (Random Access Indicator) 비트를 검출함으로써 쉽게 식별될 수 있다.In this regard, since incorrect frame reference causes picture quality degradation, the video elementary stream must start with an Instantaneous Decoder Refresh (IDR) frame, which contains the Random Access Indicator (RAI) bit in the Adaptation field of the MPEG-2 TS packet. It can be easily identified by detection.

이상에서 살펴본 바와 같이 본 발명의 일 실시예에 따른 셋탑박스(300)의 동작 방법에 따르면, 실시간 IPTV 프로그램 콘텐츠 내 디지털 큐잉 신호를 이용하여 광고 재생 구간을 정확히 식별하고, 해당 광고 재생 구간에 사전 다운로드된 광고 소재들로부터 적절한 광고 콘텐츠들을 추출하고 MPEG(Moving Picture Experts Group)-2 TS(Transport Stream) 속성을 조절하여 IPTV 시청자에게 끊김 없는 광고 재생 서비스를 제공할 수 있다.As described above, according to the operating method of the set-top box 300 according to an embodiment of the present invention, an advertisement playback section is accurately identified using a digital queuing signal in real-time IPTV program content, and the advertisement playback section is pre-downloaded in the corresponding advertisement playback section. It is possible to provide a seamless advertisement playback service to IPTV viewers by extracting appropriate advertisement contents from the advertisement materials and adjusting MPEG (Moving Picture Experts Group)-2 TS (Transport Stream) properties.

이상 본 발명의 일 실시예에 따른 연속 재생 지원 방안에 대한 설명을 마치고, 이하에서는 본 발명의 다른 실시예에 따른 연속 재생 지원 방안에 대한 설명을 이어 가지로 한다.After the description of the continuous playback support method according to an embodiment of the present invention is over, the description of the continuous playback support method according to another embodiment of the present invention continues below.

설명에 앞서 이하에서는, MPEG(Moving Picture Experts Group)-2 TS(Transport Stream) 기반 실시간 방송 스트림(이하, 기준 스트림)과 광고 소재 간의 연속 재생 지원 방안을 예시적으로 설명하지만, 이러한 지원 방안은 MPEG2-PS에 국한되는 것이 아닌, 다른 통신 프로토콜에도 적용될 수 있음을 전제하기로 한다.Prior to the description, a method for supporting continuous playback between an MPEG (Moving Picture Experts Group)-2 Transport Stream (TS) based real-time broadcast stream (hereinafter referred to as a reference stream) and advertising materials will be exemplarily described. -It is assumed that it is not limited to PS and can be applied to other communication protocols.

위에서 언급한 바와 같이 본 발명의 다른 실시예에서는, IPTV 서비스 환경에서 MPEG2-TS 기반 전송 스트림인 기준 스트림의 재생 구간에 예컨대, 광고 소재를 삽입하기 위한 전처리 기술을 다룬다.As mentioned above, in another embodiment of the present invention, a pre-processing technique for inserting, for example, an advertisement material in the playback section of a reference stream that is an MPEG2-TS based transport stream in an IPTV service environment is handled.

여기서, MPEG2-TS 기반 전송 스트림은 본 발명의 일 실시예에서 언급한 실시간 IPTV 프로그램 콘텐츠의 기본 스트림과 동일한 것으로 이해될 수 있다.Here, the MPEG2-TS based transport stream may be understood as the same as the elementary stream of the real-time IPTV program content mentioned in the embodiment of the present invention.

이와 관련하여 IPTV 서비스 환경에서는, IPTV 방송망을 근간으로 제공되는 실시간 방송 중, IPTV 방송망과 별도로 구성된 퍼블릭 인터넷 망을 통해 셋탑박스에서 사용자 타겟팅 광고 소재들을 제공하는 맞춤형 광고 서비스를 제공할 수 있다.In this regard, in the IPTV service environment, it is possible to provide a customized advertisement service that provides user-targeted advertisement materials in a set-top box through a public Internet network configured separately from the IPTV broadcasting network during real-time broadcasting provided based on the IPTV broadcasting network.

이러한 광고 서비스를 제공하기 위해 광고 소재 관리 및 제어는 퍼블릭 인터넷 망 기반 광고 서버를 통해 수행된다.In order to provide such an advertisement service, advertisement material management and control is performed through a public Internet network-based advertisement server.

즉, 광고 서버는 퍼블릭 인터넷 망을 통해 재생할 광고 소재들을 관리하고, 서비스 유형 별 광고 표출 시점에 재생할 광고 소재들을 결정하는 제어 기능을 제공한다.That is, the advertisement server manages advertisement materials to be reproduced through the public Internet network and provides a control function for determining advertisement materials to be reproduced at the time of advertisement display for each service type.

실시간 방송 장비를 통해 송출되는 실시간 방송 콘텐츠와 연계하여 어느 시점에 광고를 노출시킬 것인가를 정의하기 위해 헤드엔드는 실시간 방송 스트림 내 광고 재생 구간을 식별하기 위한 디지털 큐톤(Spec. SCTE-35) 스트림을 함께 전송한다. In order to define at which point in time advertisements will be exposed in connection with the real-time broadcasting content transmitted through the real-time broadcasting equipment, the headend uses a digital cue tone (Spec. SCTE-35) stream to identify the advertisement playback section in the real-time broadcasting stream. send together

즉, 헤드엔드 내 다중화기를 통해 실시간 방송 스트림 내 광고 재생을 위한 시간적 동기화 정보를 포함하는 디지털 큐톤 스트림을 생성하고, 이를 IPTV 방송망을 통해 송출한다.That is, a digital cue tone stream including temporal synchronization information for advertisement reproduction in a real-time broadcast stream is generated through a multiplexer in the headend, and is transmitted through an IPTV broadcasting network.

또한, 다중화 시 해당 콘텐츠 스트림에 디지털 큐톤 스트림이 존재한다는 시그널링 정보를 MPEG-2 PSI(Program Specific Information) 내의 PMT(Program Map Table)에 기술한다.In addition, signaling information indicating that a digital cue tone stream exists in a corresponding content stream during multiplexing is described in a PMT (Program Map Table) in MPEG-2 PSI (Program Specific Information).

셋탑박스는 광고 서버로부터 재생할 광고 소재들과 광고 표출 정책을 사전 다운로드 받으며, 수신된 실시간 방송 스트림 내 디지털 큐톤 스트림을 이용하여 광고 재생 시점을 식별하고 해당 시점에 실시간 방송 콘텐츠와 사전 다운로드 된 광고 소재들을 믹싱하여 TV 화면을 통해 출력할 수 있다.The set-top box pre-downloads advertisement materials and advertisement expression policies to be played from the advertisement server, identifies the advertisement playback time using the digital cue tone stream in the received real-time broadcasting stream, and stores real-time broadcasting contents and pre-downloaded advertisement materials at that time. It can be mixed and output through the TV screen.

헌데, 이와 관련하여 기준 스트림의 재생이 이루어지는 셋탑박스에서는 이처럼 기준 스트림의 재생 구간에 광고 소재를 삽입하는 경우, 광고 소재를 기준 스트림과는 별개의 소재로 인지할 수 있으며 이로 인해 기준 스트림과 광고 소재의 연결함에 있어서 지연 현상이 불가피하게 발생할 수 있다.However, in this regard, in a set-top box in which the reference stream is reproduced, if the advertisement material is inserted in the playback section of the reference stream, the advertisement material can be recognized as a material separate from the reference stream. A delay may inevitably occur in the connection of

동영상 전송 기술인 MPEG-2 TS에서는 셋탑박스에서의 동영상 재생을 지원하기 위해 소재에 설정되는 3가지의 시간 값인 재생타이밍정보를 기준으로 영상과 오디오가 출력된다.In MPEG-2 TS, a video transmission technology, video and audio are output based on playback timing information, which is three time values set in the material to support video playback in the set-top box.

이러한, 재생타이밍정보는 동영상 재생을 위한 기준 시간을 정의하는 PCR(Program Clock Reference), 영상과 오디오마다 출력 전 디코딩을 처리하는 시간을 정의하는 DTS(Decoding Time Stamp), 및 디코딩된 영상과 오디오를 실제 화면에 출력하는 시간을 정의하는 PTS(Presentation Time Stamp)를 포함한다.Such playback timing information includes PCR (Program Clock Reference) that defines a reference time for video playback, DTS (Decoding Time Stamp) that defines a time to process decoding before output for each video and audio, and decoded video and audio. Includes PTS (Presentation Time Stamp) that defines the time to be output to the actual screen.

즉, 셋탑박스에서는 기준 스트림에 설정된 PCR로 기준 시간을 정의하고, 이러한 기준 시간의 카운팅 값 증가에 따라 DTS 및 PTS에 의해 정의되는 카운팅 값이 도래하는 경우 그에 맞춰 영상 및 오디오에 대한 디코딩과 출력이 순차적으로 처리되는 것이다.That is, the set-top box defines the reference time by PCR set in the reference stream, and when the counting value defined by DTS and PTS arrives as the counting value of the reference time increases, decoding and output of video and audio are performed accordingly. are processed sequentially.

헌데, 광고 소재의 경우, PCR, DTS 및 PTS이 기준 스트림 대비 랜덤한 시작 값을 가질 수 있으며, 이러한 광고 소재를 기준 스트림의 재생 구간에 삽입하는 경우, 이를 수신한 셋탑박스에서는 소재 변경을 위한 리셋(RESET) 및 PCR 설정 등의 부가적인 절차가 요구되어 연속 재생에 있어서 지연 현상이 발생하게 된다.However, in the case of advertising materials, PCR, DTS, and PTS may have random starting values compared to the reference stream. Additional procedures such as (RESET) and PCR setting are required, resulting in a delay in continuous playback.

이와 관련하여, 도 13에서는 광고 소재(광고 소재 1, 및 광고 소재 2)에 설정된 PCR, DTS 및 PTS이 기준 스트림 대비 랜덤한 시작 값을 가지는 경우, 소재 변경을 위한 리셋(RESET) 및 PCR 설정 등의 절차로 인해 연속 재생에 있어서 지연 현상이 발생될 수 있는 상황을 예시적으로 보여주고 있다.In this regard, in FIG. 13, when the PCR, DTS, and PTS set in the advertisement material (the advertisement material 1 and the advertisement material 2) have random start values compared to the reference stream, reset (RESET) and PCR settings for material change, etc. It shows as an example a situation in which a delay phenomenon may occur in continuous playback due to the procedure of

한편, 본 발명의 다른 실시예에서 기준 스트림을 포함한 각각의 소재는, 예컨대, 비디오 코덱, 해상도, 오디오 코덱, 및 오디오 개수 등의 저마다의 멀티미디어 인코딩 속성을 가지게 되는데, 만약 기준 스트림과 기준 스트림의 재생 구간에 삽입된 광고 소재 간 멀티미디어 인코딩 속성이 서로 상이한 경우에도 셋탑박스에서는 디코딩 방식 변경 등의 부가적인 절차가 요구되는 관계로 연속 재생에 있어서 마찬가지의 지연 현상을 발생시키게 된다.Meanwhile, in another embodiment of the present invention, each material including the reference stream has its own multimedia encoding properties such as, for example, a video codec, a resolution, an audio codec, and the number of audio. If the reference stream and the reference stream are reproduced Even when the multimedia encoding properties between the advertisement materials inserted in the section are different from each other, the set-top box requires an additional procedure, such as a decoding method change, to cause the same delay in continuous playback.

이에, 본 발명의 다른 실시예에서는, 실시간 IPTV 프로그램 콘텐츠의 전송 스트림인 기준 스트림의 재생 구간에 삽입되는 광고 소재를 심리스(Seamless)하게 연결할 수 있는 새로운 전처리 방안을 제안하고자 한다.Accordingly, in another embodiment of the present invention, it is intended to propose a new pre-processing method capable of seamlessly connecting an advertisement material inserted in a reproduction section of a reference stream, which is a transport stream of real-time IPTV program content.

이와 관련하여, 도 14에는 본 발명의 다른 실시예에 따른 재생 전처리 환경을 예시적으로 보여주고 있다.In this regard, FIG. 14 exemplarily shows a regeneration pre-processing environment according to another embodiment of the present invention.

도 14에 도시된 바와 같이, 본 발명의 다른 실시예에 따른 재생 전처리 환경에서는, 실시간 IPTV 프로그램 콘텐츠의 전송 스트림인 기준 스트림의 재생 구간에 광고 소재를 삽입하기 위한 전처리를 수행하여 디스플레이(500)로 전달하는 셋탑박스(400)를 포함할 수 있다.As shown in FIG. 14 , in the playback pre-processing environment according to another embodiment of the present invention, pre-processing for inserting an advertisement material in the playback section of a reference stream, which is a transport stream of real-time IPTV program content, is performed to display 500. It may include a set-top box 400 that delivers.

이러한, 셋탑박스(400)에서는 실시간 IPTV 프로그램 콘텐츠의 전송 스트림인 기준 스트림과 광고 소재 간 심리스(Seamless)한 연결을 가능하게 하는데, 이하에서는 이를 실현하기 위한 셋탑박스(400)의 구성에 대해 보다 구체적으로 설명하기로 한다.The set-top box 400 enables a seamless connection between a reference stream, which is a transport stream of real-time IPTV program content, and an advertisement material. to be explained as

도 15은 본 발명의 다른 실시예에 따른 셋탑박스(400)의 개략적인 구성을 보여주고 있다.15 shows a schematic configuration of a set-top box 400 according to another embodiment of the present invention.

도 15에 도시된 바와 같이, 본 발명의 다른 실시예에 따른 셋탑박스(400)는 기준 스트림의 멀티미디어 인코딩 속성을 확인하는 확인부(410), 광고 소재를 선택하는 선택부(430), 기준 스트림의 재생 구간에 광고 소재를 삽입하는 삽입부(440)를 포함하는 구성을 가질 수 있다.As shown in FIG. 15 , the set-top box 400 according to another embodiment of the present invention includes a confirmation unit 410 for checking multimedia encoding properties of a reference stream, a selection unit 430 for selecting an advertisement material, and a reference stream. It may have a configuration including an inserter 440 for inserting an advertisement material in the playback section of .

또한, 본 발명의 다른 실시예에 따른 셋탑박스(400)는 전술한 구성 이외에 멀티미디어 인코딩 속성 매칭과 관련하여 후보 광고 소재를 생성하는 생성부(420)의 구성을 더 포함할 수 있다.In addition, the set-top box 400 according to another embodiment of the present invention may further include a configuration of the generator 420 for generating a candidate advertisement material in relation to multimedia encoding attribute matching in addition to the configuration described above.

이러한 셋탑박스(400)의 구성 전체 내지는 적어도 일부는 하드웨어 모듈 형태 또는 소프트웨어 모듈 형태로 구현되거나, 하드웨어 모듈과 소프트웨어 모듈이 조합된 형태로도 구현될 수 있다.All or at least a part of the configuration of the set-top box 400 may be implemented in the form of a hardware module or a software module, or may be implemented in a form in which a hardware module and a software module are combined.

여기서, 소프트웨어 모듈이란, 예컨대, 셋탑박스(400) 내에서 연산을 제어하는 프로세서에 의해 실행되는 명령어로 이해될 수 있으며, 이러한 명령어는 셋탑박스(400) 내 메모리에 탑재된 형태를 가질 수 있을 것이다.Here, the software module may be understood as, for example, instructions executed by a processor that controls operations in the set-top box 400, and these instructions may have a form mounted in a memory in the set-top box 400. .

한편, 본 발명의 다른 실시예에 따른 셋탑박스(400)는 위 구성 이외에, 재생 전처리 환경에서 타 구성과의 실질적인 통신 기능을 담당하는 RF 통신 모듈인 통신부(450)의 구성을 더 포함할 수 있다.On the other hand, the set-top box 400 according to another embodiment of the present invention may further include, in addition to the above configuration, the communication unit 450, which is an RF communication module responsible for a practical communication function with other components in the regeneration pre-processing environment. .

여기서, 통신부(450)는 예컨대, 안테나 시스템, RF 송수신기, 하나 이상의 증폭기, 튜너, 하나 이상의 발진기, 디지털 신호 처리기, 코덱(CODEC) 칩셋, 및 메모리 등을 포함하지만 이에 제한되지는 않으며, 이 기능을 수행하는 공지의 회로는 모두 포함할 수 있다.Here, the communication unit 450 includes, but is not limited to, for example, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a codec (CODEC) chipset, and a memory, and the like. All known circuits to perform may be included.

결국, 본 발명의 다른 실시예에 따른 셋탑박스(400)는 전술한 구성을 통해서 전송 스트림인 기준 스트림의 재생 구간에 삽입되는 광고 소재를 심리스(Seamless)하게 연결할 수 있는데, 이하에서는 이를 실현하기 위한 셋탑박스(400) 내 구성에 대해 보다 구체적인 설명을 이어 가기로 한다.After all, the set-top box 400 according to another embodiment of the present invention can seamlessly connect the advertisement material inserted in the playback section of the reference stream, which is the transport stream, through the above-described configuration. A more detailed description of the configuration within the set-top box 400 will be continued.

확인부(410)는 기준 스트림에 대한 멀티미디어 인코딩 속성을 확인하는 기능을 수행한다.The confirmation unit 410 performs a function of confirming the multimedia encoding property of the reference stream.

보다 구체적으로, 확인부(410)는 실시간 IPTV 프로그램 콘텐츠의 전송 스트림인 기준 스트림의 재생 구간에 삽입할 광고 소재가 존재하는 경우, 기준 스트림에 대한 멀티미디어 인코딩 속성을 확인하게 된다.More specifically, when there is an advertisement material to be inserted in the reproduction section of the reference stream, which is the transport stream of real-time IPTV program content, the check unit 410 checks the multimedia encoding property of the reference stream.

이때, 기준 스트림에 대해 확인되는 멀티미디어 인코딩 속성에는 비디오 코덱 및 그에 따른 해상도(예: 720P, 1080P, H264, H265 등)와 그리고 오디오 코덱, 및 오디오 개수(예: AC3, AAC) 등이 포함될 수 있다.In this case, the multimedia encoding property checked for the reference stream may include a video codec and its resolution (eg, 720P, 1080P, H264, H265, etc.), an audio codec, and the number of audios (eg, AC3, AAC). .

선택부(430)는 광고 소재의 멀티미디어 인코딩 속성과 매칭되는 광고 소재를 선택하는 기능을 수행한다.The selection unit 430 performs a function of selecting an advertisement material that matches the multimedia encoding property of the advertisement material.

보다 구체적으로, 선택부(430)는 기준 스트림에 대한 멀티미디어 인코딩 속성이 확인되면, 확인된 기준 스트림의 멀티미디어 인코딩 속성과 일치되는 광고 소재를 선택하게 된다.More specifically, when the multimedia encoding property of the reference stream is confirmed, the selection unit 430 selects an advertisement material that matches the multimedia encoding property of the checked reference stream.

이때, 선택부(430)는 동일한 영상 및 오디오를 각각의 멀티미디어 인코딩 속성으로 인코딩하여 생성된 후보 광고 소재 중 기준 스트림에 대해 확인된 멀티미디어 인코딩 속성을 가지는 특정 후보 광고 소재를 선택할 수 있다.In this case, the selection unit 430 may select a specific candidate advertisement material having the multimedia encoding property confirmed for the reference stream from among the candidate advertisement materials generated by encoding the same video and audio with respective multimedia encoding properties.

한편, 이와 관련하여, 생성부(420)에서는 기준 스트림의 재생 구간에 삽입할 광고 소재가 존재하는 경우, 기준 스트림에 대해 처리될 수 있는 멀티미디어 인코딩 속성의 종류마다 광고 소재에 해당하는 동일한 영상 및 오디오를 각각의 멀티미디어 인코딩 속성으로 인코딩한 후보 광고 소재를 생성하여 전달할 수 있다.Meanwhile, in relation to this, when there is an advertisement material to be inserted in the playback section of the reference stream, the generation unit 420 includes the same image and audio corresponding to the advertisement material for each type of multimedia encoding property that can be processed for the reference stream. Can create and deliver candidate creatives encoded with each multimedia encoding property.

참고로, 이러한 후보 광고 소재는, 생성부(420)와 선택부(430) 간에MPTS(Multiple Program Transport Stream) 기술을 기반으로 하나의 스트림 형태로 전달될 수 있다.For reference, these candidate advertisement materials may be transmitted between the generation unit 420 and the selection unit 430 in the form of a single stream based on a Multiple Program Transport Stream (MPTS) technology.

이처럼, 기준 스트림의 인코딩 속성과 매칭되는 광고 소재를 선택하는 것은, 기준 스트림과 광고 소재의 멀티미디어 인코딩 속성을 일치시키는 방식을 통해, 기준 스트림과 삽입된 광고 소재 간 멀티미디어 인코딩 속성이 서로 상이한 경우 셋탑박스(400)에서 발생되는 디코딩 방식 변경 등의 부가적인 절차를 방지하기 위함이다.In this way, selecting the advertisement material matching the encoding property of the reference stream is a method of matching the multimedia encoding property of the reference stream and the advertisement material to the set-top box when the multimedia encoding properties between the reference stream and the inserted advertisement are different from each other. This is to prevent an additional procedure such as a decoding method change occurring in step 400 .

삽입부(440)는 기준 스트림의 재생 구간에 광고 소재를 삽입하는 기능을 수행한다.The inserter 440 performs a function of inserting an advertisement material in the playback section of the reference stream.

구체적으로, 삽입부(440)는 기준 스트림과 광고 소재 간 멀티미디어 인코딩 속성이 매칭되는 경우, 기준 스트림과 멀티미디어 인코딩 속성을 매칭시킨 광고 소재를 기준 스트림의 재생 구간에 삽입하여 디스플레이(500)로 전달하게 된다Specifically, when the multimedia encoding property between the reference stream and the advertisement material is matched, the insertion unit 440 inserts the advertisement material matching the reference stream and the multimedia encoding property into the playback section of the reference stream and delivers it to the display 500 . do

이때, 삽입부(440)는 셋탑박스(400)에서의 재생을 지원하기 위해 광고 소재에 설정되는 재생타이밍정보의 카운팅 값을 기준 스트림을 기준으로 변경하여 재생타이밍정보의 카운팅 시작 값이 변경된 광고 소재를 기준 스트림의 재생 구간에 삽입할 수 있다.At this time, the inserter 440 changes the counting value of the playback timing information set in the advertisement material to support playback in the set-top box 400 based on the reference stream, so that the counting start value of the playback timing information is changed. may be inserted into the playback section of the reference stream.

다시 말해, 삽입부(440)는 기준 스트림에 대해 광고 소재가 삽입되는 재생 구간에서의 재생타이밍정보의 카운팅 값을 확인하며, 광고 소재에 설정된 재생타이밍정보의 카운팅 시작 값을 기준 스트림에 대해 확인된 재생타이밍정보의 카운팅 값과 이웃한 값으로 변경하여 기준 스트림과 광고 소재 간 연속된 재생타이밍정보의 카운팅 값을 가지도록 하고, 이를 통해 이를 재생하는 셋탑박스(400)에서 기준 스트림과 기준 스트림의 재생 구간에 삽입된 광고 소재를 하나의 소재로 인식할 수 있도록 한다.In other words, the insertion unit 440 checks the counting value of the playback timing information in the playback section where the advertisement material is inserted with respect to the reference stream, and determines the counting start value of the playback timing information set in the advertisement material for the reference stream. The reference stream and the reference stream are reproduced in the set-top box 400 that reproduces the counting value of the playback timing information consecutively between the reference stream and the advertisement by changing it to a value adjacent to the counting value of the playback timing information. The advertisement material inserted in the section can be recognized as one material.

이와 관련하여, 도 16에서는 광고 소재(광고 소재 1, 광고 소재 2)에 설정된 PCR, DTS 및 PTS의 카운팅 시작 값이 광고 소재를 삽입하기 위한 재생 구간에 대해 확인되는 기준 스트림의 재생타이밍정보의 카운팅 값과 이웃한 값으로 변경되는 경우, 앞서 예시한 도 13에서와는 달리 기준 스트림의 PCR, DTS 및 PTS의 카운팅 값에 대해 연속되는 상황을 예시적으로 보여주고 있다.In this regard, in FIG. 16, the counting start values of PCR, DTS, and PTS set in the advertisement material (advertisement material 1, advertisement material 2) are checked for the reproduction section for inserting the advertisement material. Counting of the reproduction timing information of the reference stream When the value is changed to a value adjacent to the value, unlike in FIG. 13 exemplified above, a continuous situation is exemplified with respect to the counting values of the PCR, DTS, and PTS of the reference stream.

이처럼, 광고 소재의 재생타이밍정보의 카운팅 시작 값을 기준 스트림에 대해 확인된 재생타이밍정보의 카운팅 값과 이웃한 값으로 변경하는 것은, 광고 소재에 설정된 재생타이밍정보의 카운팅 시작 값이 기준 스트림 대비 랜덤한 시작 값을 가지는 경우에 소재 변경을 위한 리셋(RESET) 및 PCR 설정 등의 부가적인 절차로 인해 연속 재생에 지연 현상이 발생하는 것을 방지하기 위함이다.In this way, changing the counting start value of the playback timing information of the advertising material to a value adjacent to the counting value of the playback timing information identified for the reference stream means that the counting start value of the playback timing information set in the advertising material is random compared to the reference stream. This is to prevent a delay in continuous playback due to additional procedures such as reset (RESET) and PCR setting for material change in the case of having one starting value.

한편, 본 발명의 다른 실시예에서는, 비단 기준 스트림과 광고 소재 간 재생타이밍정보에 대한 연속성뿐만 아니라, 광고 소재 간 전환에 있어서 연속성 또한 추가로 고려한다.Meanwhile, in another embodiment of the present invention, not only the continuity of the playback timing information between the reference stream and the advertisement material, but also the continuity in switching between the advertisement materials is additionally considered.

예를 들어, 도 17에 도시된 바와 같이 2 이상의 광고 소재(예: 광고 소재 1 내지 3)가 삽입되는 경우를 가정하면, 각 광고 소재의 재생타이밍정보는 서로 다른 시작 값을 가질 수 있음을 짐작할 수 있다.For example, if it is assumed that two or more creative materials (eg, creatives 1 to 3) are inserted as shown in FIG. can

때문에, 광고 소재 소재 전환 시에도 재생타이밍정보의 동기화를 위해 셋탑박스(400)에서는 리셋 및 초기화를 수행되며, 이는 마찬가지로 재생 지연 및 화면 멈춤 현상을 초래하게 된다.Therefore, even when switching creative materials, reset and initialization are performed in the set-top box 400 to synchronize the playback timing information, which also causes playback delays and screen freezes.

또한, 셋탑박스(400)에서는 광고 소재 간 전환 시 예컨대, 도 18에서와 같이 PID(Packet Identifier) 별 CC(Continuity Counter) 값의 연속성을 보장할 수 없는데, 이는 셋탑박스(400)에서 연속성(Continuity) 오류라고 해석되며, 구현에 따라 리셋 및 초기화가 수행되는 하나의 원인이 될 수 있다.In addition, the set-top box 400 cannot guarantee the continuity of the CC (Continuity Counter) value for each PID (Packet Identifier) when switching between advertisement materials, for example, as in FIG. 18 , which is the continuity in the set-top box 400 ) is interpreted as an error, and depending on the implementation, it can be one cause of reset and initialization.

참고로, CC(Continuity Counter)는, MPEG-2 TS 패킷 헤더 내 4 비트 필드이며, 각 PID(Packet Identifier)에 해당하는 TS 패킷이 인입될 때 마다 PID 별 매번 1씩 증가한다.For reference, the CC (Continuity Counter) is a 4-bit field in the MPEG-2 TS packet header, and increases by 1 for each PID whenever a TS packet corresponding to each PID (Packet Identifier) is received.

특정 PID에 관련하여 CC(Continuity Counter)의 값이 불연속적일 때, 이를 연속성(Continuity) 오류라고 하며, 이는 TS 패킷들이 일부 손실되었음을 의미한다.When the value of the CC (Continuity Counter) is discontinuous in relation to a specific PID, this is called a continuity error, which means that some TS packets are lost.

이와 관련하여, 삽입부(440)는 광고 소재 간 연속성을 보장하기 위해, 각 광고 소재에 설정되는 재생타이밍정보의 시작 값을 이웃한 이전 광고 소재를 기준으로 연속된 카운팅 값을 가지도록 변경한다.In this regard, in order to ensure continuity between advertisement materials, the inserter 440 changes the start value of the playback timing information set for each advertisement material to have a continuous counting value based on the neighboring previous advertisement material.

예를 들어, 재생할 총 광고 소재들의 개수를 N 개로 가정하면 앞서 잠시 언급한 바와 같이, 각 광고 소재의 재생타이밍정보는 다음의 세 가지 시간 값이 존재한다.For example, assuming that the total number of advertisement materials to be reproduced is N, as mentioned briefly above, the following three time values exist for the reproduction timing information of each advertisement material.

Figure 112021019338168-pat00037
Figure 112021019338168-pat00037

여기서,

Figure 112021019338168-pat00038
,
Figure 112021019338168-pat00039
, 및
Figure 112021019338168-pat00040
, 는 각각
Figure 112021019338168-pat00041
번 광고 소재의
Figure 112021019338168-pat00042
번째 PCR / DTS / PTS 값이고,
Figure 112021019338168-pat00043
,
Figure 112021019338168-pat00044
, 및
Figure 112021019338168-pat00045
는 각각
Figure 112021019338168-pat00046
번 광고 소재의 마지막 PCR / DTS / PTS 값이다.here,
Figure 112021019338168-pat00038
,
Figure 112021019338168-pat00039
, and
Figure 112021019338168-pat00040
, are each
Figure 112021019338168-pat00041
of the creative
Figure 112021019338168-pat00042
is the second PCR/DTS/PTS value,
Figure 112021019338168-pat00043
,
Figure 112021019338168-pat00044
, and
Figure 112021019338168-pat00045
are each
Figure 112021019338168-pat00046
This is the last PCR/DTS/PTS value of the creative.

이때, 광고 소재들 간 연속성을 부여하기 위해선 인코딩 시점이 상이한 광고 소재들 간 PCR / DTS / PTS 값 연결이 요구되는데, 이를 위해 2 번째 광고 소재부터(

Figure 112021019338168-pat00047
), 이전 광고 소재의 마지막 PCR 값을 기준으로 뒤따르는 광고 소재의 PCR / DTS / PTS 값을 아래와 같이 보정할 수 있으며, 그 보정 결과는 예컨대, 도 19에서와 같이 확인될 수 있다.At this time, in order to provide continuity between advertisement materials, PCR / DTS / PTS value connection between advertisement materials with different encoding times is required.
Figure 112021019338168-pat00047
), the PCR / DTS / PTS value of the following advertising material can be corrected as follows based on the last PCR value of the previous advertising material, and the correction result can be confirmed, for example, as in FIG. 19 .

Figure 112021019338168-pat00048
Figure 112021019338168-pat00048

또한, 삽입부(440)는 광고 소재의 연속성과 관련하여 PID(Packet Identifier) 별 CC(Continuity Counter) 값의 연속성을 보장하기 위해 광고 소재 사이에 더미(Dummy) 패킷을 삽입하는 방식을 적용할 수 있다.In addition, the insertion unit 440 may apply a method of inserting a dummy packet between advertisement materials to ensure continuity of CC (Continuity Counter) values for each PID (Packet Identifier) in relation to the continuity of advertisement materials. have.

여기서, 더미(Dummy) 패킷은, CC(Continuity Counter) 값을 제외하고, MPEG2-TS 패킷 내 실 데이터 페이로드 상 모든 비트 스트림을 (0xFF)로 설정하여 디코딩에 어떠한 영향도 미치지 않는다.Here, the dummy packet sets all bit streams on the real data payload in the MPEG2-TS packet to (0xFF), except for the CC (Continuity Counter) value, and thus does not have any effect on decoding.

예를 들어, 모든 광고 소재의 PID 총 개수(

Figure 112021019338168-pat00049
)와 값은 모두 동일하다고 가정하면, 다음 단계 1 내지 단계 5의 과정을 통해 예컨대, 도 20에서와 같이 광고 소재 사이에 더미(Dummy) 패킷을 삽입할 수 있다.For example, the total number of PIDs of all creatives (
Figure 112021019338168-pat00049
) and the values are all the same, a dummy packet may be inserted between advertisement materials through the process of steps 1 to 5, for example, as shown in FIG. 20 .

단계 1: 초기화 단계Step 1: Initialization Step

Figure 112021019338168-pat00050
Figure 112021019338168-pat00050

본 단계에서,

Figure 112021019338168-pat00051
Figure 112021019338168-pat00052
번 광고 소재 상
Figure 112021019338168-pat00053
번째 PID와 관련하여 삽입할 더미 패킷 리스트를 나타내며,
Figure 112021019338168-pat00054
Figure 112021019338168-pat00055
번 광고 소재 상
Figure 112021019338168-pat00056
번째 PID와 관련하여 마지막 CC(Continuity Counter) 값을 나타낸다.At this stage,
Figure 112021019338168-pat00051
Is
Figure 112021019338168-pat00052
creative creative award
Figure 112021019338168-pat00053
Represents a list of dummy packets to be inserted in relation to the second PID,
Figure 112021019338168-pat00054
Is
Figure 112021019338168-pat00055
creative creative award
Figure 112021019338168-pat00056
It indicates the last CC (Continuity Counter) value in relation to the second PID.

단계 2: CC 연속성 검사Step 2: Check CC Continuity

Figure 112021019338168-pat00057
Figure 112021019338168-pat00057

여기서,

Figure 112021019338168-pat00058
Figure 112021019338168-pat00059
번 광고 소재 상
Figure 112021019338168-pat00060
PID와 관련하여 첫 번째 CC(Continuity Counter) 값을 나타낸다.here,
Figure 112021019338168-pat00058
Is
Figure 112021019338168-pat00059
creative creative award
Figure 112021019338168-pat00060
It indicates the first CC (Continuity Counter) value in relation to the PID.

본 단계에서 이루어지는 CC 연속성 검사 결과 동일하지 않은 경우,

Figure 112021019338168-pat00061
Figure 112021019338168-pat00062
로 설정하고 이어질 단계 3을 진행하며, 만약 동일하다면 이어질 단계 4를 진행한다.If the results of the CC continuity check made in this step are not the same,
Figure 112021019338168-pat00061
second
Figure 112021019338168-pat00062
set to and proceed to the next step 3, if it is the same, proceed to the next step 4.

단계 3: 더미 패킷 생성Step 3: Create Dummy Packets

Figure 112021019338168-pat00063
Figure 112021019338168-pat00063

본 단계에서는, CC(Continuity Counter) 값을

Figure 112021019338168-pat00064
값으로 설정한 더미(Dummy) 패킷인
Figure 112021019338168-pat00065
을 생성하고, 패킷을
Figure 112021019338168-pat00066
에 포함시키게 된다.In this step, the CC (Continuity Counter) value
Figure 112021019338168-pat00064
A dummy packet set to a value
Figure 112021019338168-pat00065
create a packet
Figure 112021019338168-pat00066
will be included in

이러한 단계 3 이후에는 전술한 단계 2로 되돌아간다.After step 3, the process returns to step 2 described above.

단계 4: 더미 패킷 삽입Step 4: Insert Dummy Packets

본 단계에서는,

Figure 112021019338168-pat00067
번 광고 소재와
Figure 112021019338168-pat00068
번 광고 소재 사이에
Figure 112021019338168-pat00069
에 포함된 더미(Dummy) 패킷을 삽입한다.At this stage,
Figure 112021019338168-pat00067
with creatives
Figure 112021019338168-pat00068
between creatives
Figure 112021019338168-pat00069
Insert a dummy packet included in .

단계 5: PID 별 반복Step 5: Repeat by PID

본 단계에서는, 모든 PID에 대해 전술한 단계 1 내지 4를 반복한다.In this step, the above steps 1 to 4 are repeated for all PIDs.

즉,

Figure 112021019338168-pat00070
를 1증가시킨 후,
Figure 112021019338168-pat00071
이면, 단계 1로 되돌아 간다.in other words,
Figure 112021019338168-pat00070
After increasing by 1,
Figure 112021019338168-pat00071
If yes, go back to step 1.

정리하자면, 삽입부(440)는 PID(Packet Identifier) 별로 CC(Continuity Counter) 값의 연속성을 보장하기 위해 각 PID에서 누락된 CC 값으로 설정된 더미(Dummy) 패킷을 생성하여 광고 소재 사이에 삽입함으로써, 특정 PID에 관련하여 CC(Continuity Counter)의 값이 불연속적일 때, 이를 연속성(Continuity) 오류라고 인식하는 것을 방지할 수 있다.In summary, the inserter 440 generates a dummy packet set with a CC value missing from each PID to ensure continuity of CC (Continuity Counter) values for each PID (Packet Identifier) and inserts it between advertisement materials. , when the value of CC (Continuity Counter) is discontinuous in relation to a specific PID, it is possible to prevent recognition of this as a continuity error.

한편, 본 발명의 다른 실시예에서는 기준 스트림에 대해 확인되는 재생타이밍정보의 카운팅 값을 변경하는 방식을 통해 기준 스트림의 재생 구간에 광고 소재를 삽입하는 절차가 이루어지게 되는 데, 이는 셋탑박스(400) 내에서 기준 스트림을 재생하기 위한 실시간 방송 플레이어와 광고 소재를 재생하기 위한 광고 플레이가 하나의 플레이어로 구성된 경우를 상정한 것이다.On the other hand, in another embodiment of the present invention, a procedure of inserting an advertisement material in the playback section of the reference stream is performed through a method of changing the counting value of the playback timing information checked for the reference stream, which is the set-top box 400 ), it is assumed that a real-time broadcast player for reproducing a reference stream and an advertisement play for reproducing advertisement materials are configured as one player.

이와 관련하여, 예컨대, 도 21에서와 같이 셋탑박스(400) 내 실시간 방송 플레이어(a)와 광고 플레이(b)가 각각 별도의 구성으로 존재하는 경우에는, 기준 스트림에 대해 확인되는 재생타이밍정보의 카운팅 값을 변경하되, 기준 스트림에 광고 소재를 삽입하는 방식이 아닌, 재생타이밍정보의 카운팅 값에 따라 디스플레이(500)에 화면을 전달할 방송 플레이어(a)와 광고 플레이어(b)를 전환하는 방식이 적용될 수 있음은 물론이다.In this regard, for example, when the real-time broadcast player (a) and the advertisement play (b) in the set-top box 400 exist in separate configurations, as shown in FIG. 21 , the playback timing information checked for the reference stream is The method of changing the counting value, but not the method of inserting the advertisement material into the reference stream, but the method of switching the broadcast player (a) and the advertisement player (b) to deliver the screen to the display 500 according to the counting value of the playback timing information Of course, it can be applied.

이상에서 살펴본 바와 같이 본 발명의 다른 실시예에 따른 셋탑박스(400)의 구성에 따르면, 기준 스트림의 재생 구간에 광고 소재를 삽입하는 경우, 광고 소재의 멀티미디어 인코딩 속성을 기준 스트림과 매칭시키고, 광고 소재에 설정된 재생타이밍정보의 카운팅 시작 값을 기준 스트림에 대해 확인되는 재생타이밍정보의 카운팅 값과 이웃한 값으로 변경함으로써, 기준 스트림의 재생 구간에 광고 소재를 심리스(Seamless)하게 연결할 수 있다.As described above, according to the configuration of the set-top box 400 according to another embodiment of the present invention, when an advertisement material is inserted in the playback section of the reference stream, the multimedia encoding property of the advertisement material is matched with the reference stream, and the advertisement By changing the counting start value of the playback timing information set in the material to a value adjacent to the counting value of the playback timing information checked for the reference stream, the advertisement material can be seamlessly connected to the playback section of the reference stream.

또한, 본 발명의 다른 실시예에 따른 셋탑박스(400)의 구성에 따르면 2 이상의 광고 소재를 삽입하는 경우, PID(Packet Identifier) 별로 CC(Continuity Counter) 값의 연속성을 보장할 수 있도록 연속된 CC(Continuity Counter) 값을 설정한 더미(Dummy) 패킷을 생성하여 광고 소재 사이에 삽입함으로써, 광고 소재 간 전환에 있어서 연속성을 보장할 수 있다.In addition, according to the configuration of the set-top box 400 according to another embodiment of the present invention, when two or more advertisement materials are inserted, continuous CCs can be ensured to ensure continuity of CC (Continuity Counter) values for each PID (Packet Identifier). By creating a dummy packet with a (Continuity Counter) value set and inserting it between advertisement materials, continuity can be ensured in switching between advertisement materials.

이하에서는, 도 22를 참조하여, 본 발명의 다른 실시예에 따른 셋탑박스(400)의 동작 방법에 대한 설명을 이어 가기로 한다.Hereinafter, with reference to FIG. 22 , a description of an operating method of the set-top box 400 according to another embodiment of the present invention will be continued.

먼저, 확인부(410)는 실시간 IPTV 프로그램 콘텐츠의 전송 스트림인 기준 스트림의 재생 구간에 삽입할 광고 소재가 존재하는 경우, 기준 스트림에 대한 멀티미디어 인코딩 속성을 확인한다(S210).First, when there is an advertisement material to be inserted in the playback section of the reference stream, which is the transport stream of real-time IPTV program content, the check unit 410 checks the multimedia encoding property of the reference stream (S210).

이때, 기준 스트림에 대해 확인되는 멀티미디어 인코딩 속성에는 비디오 코덱 및 그에 따른 해상도(예: 720P, 1080P, H264, H265 등)와 그리고 오디오 코덱, 및 오디오 개수(예: AC3, AAC) 등이 포함될 수 있다.In this case, the multimedia encoding property checked for the reference stream may include a video codec and its resolution (eg, 720P, 1080P, H264, H265, etc.), an audio codec, and the number of audios (eg, AC3, AAC). .

그리고 나서, 선택부(430)는 기준 스트림에 대한 멀티미디어 인코딩 속성이 확인되면, 확인된 기준 스트림의 멀티미디어 인코딩 속성과 일치되는 광고 소재를 선택한다(S220-S230).Then, when the multimedia encoding property for the reference stream is checked, the selection unit 430 selects an advertisement material that matches the multimedia encoding property of the checked reference stream (S220-S230).

이때, 선택부(430)는 동일한 영상 및 오디오를 각각의 멀티미디어 인코딩 속성으로 인코딩하여 생성된 후보 광고 소재 중 기준 스트림에 대해 확인된 멀티미디어 인코딩 속성을 가지는 특정 후보 광고 소재를 선택할 수 있다.In this case, the selection unit 430 may select a specific candidate advertisement material having the multimedia encoding property confirmed for the reference stream from among the candidate advertisement materials generated by encoding the same video and audio with respective multimedia encoding properties.

한편, 이와 관련하여, 생성부(420)에서는 기준 스트림의 재생 구간에 삽입할 광고 소재가 존재하는 경우, 기준 스트림에 대해 처리될 수 있는 멀티미디어 인코딩 속성의 종류마다 광고 소재에 해당하는 동일한 영상 및 오디오를 각각의 멀티미디어 인코딩 속성으로 인코딩한 후보 광고 소재를 생성하여 전달할 수 있다.Meanwhile, in relation to this, when there is an advertisement material to be inserted in the playback section of the reference stream, the generation unit 420 includes the same image and audio corresponding to the advertisement material for each type of multimedia encoding property that can be processed for the reference stream. Can create and deliver candidate creatives encoded with each multimedia encoding property.

참고로, 이러한 후보 광고 소재는, 생성부(420)와 선택부(430) 간에MPTS(Multiple Program Transport Stream) 기술을 기반으로 하나의 스트림 형태로 전달될 수 있다.For reference, these candidate advertisement materials may be transmitted between the generation unit 420 and the selection unit 430 in the form of a single stream based on a Multiple Program Transport Stream (MPTS) technology.

이처럼, 기준 스트림의 인코딩 속성과 매칭되는 광고 소재를 선택하는 것은, 기준 스트림과 광고 소재의 멀티미디어 인코딩 속성을 일치시키는 방식을 통해, 기준 스트림과 삽입된 광고 소재 간 멀티미디어 인코딩 속성이 서로 상이한 경우 셋탑박스(400)에서 발생되는 디코딩 방식 변경 등의 부가적인 절차를 방지하기 위함이다.In this way, selecting the advertisement material matching the encoding property of the reference stream is a method of matching the multimedia encoding property of the reference stream and the advertisement material to the set-top box when the multimedia encoding properties between the reference stream and the inserted advertisement are different from each other. This is to prevent an additional procedure such as a decoding method change occurring in step 400 .

이후, 삽입부(440)는 기준 스트림과 광고 소재 간 멀티미디어 인코딩 속성이 매칭되는 경우, 기준 스트림과 멀티미디어 인코딩 속성을 매칭시킨 광고 소재를 기준 스트림의 재생 구간에 삽입하여 디스플레이(500)로 전달하게 된다(S240-S270).Thereafter, when the multimedia encoding property between the reference stream and the advertisement material is matched, the inserter 440 inserts the advertisement material matching the reference stream and the multimedia encoding property into the playback section of the reference stream and transmits it to the display 500 . (S240-S270).

이때, 삽입부(440)는 셋탑박스(400)에서의 재생을 지원하기 위해 광고 소재에 설정되는 재생타이밍정보의 카운팅 값을 기준 스트림을 기준으로 변경하여 재생타이밍정보의 카운팅 시작 값이 변경된 광고 소재를 기준 스트림의 재생 구간에 삽입할 수 있다.At this time, the inserter 440 changes the counting value of the playback timing information set in the advertisement material to support playback in the set-top box 400 based on the reference stream, so that the counting start value of the playback timing information is changed. may be inserted into the playback section of the reference stream.

다시 말해, 삽입부(440)는 기준 스트림에 대해 광고 소재가 삽입되는 재생 구간에서의 재생타이밍정보의 카운팅 값을 확인하며, 광고 소재에 설정된 재생타이밍정보의 카운팅 시작 값을 기준 스트림에 대해 확인된 재생타이밍정보의 카운팅 값과 이웃한 값으로 변경하여 기준 스트림과 광고 소재 간 연속된 재생타이밍정보의 카운팅 값을 가지도록 하고, 이를 통해 이를 재생하는 셋탑박스(400)에서 기준 스트림과 기준 스트림의 재생 구간에 삽입된 광고 소재를 하나의 소재로 인식할 수 있도록 한다.In other words, the insertion unit 440 checks the counting value of the playback timing information in the playback section where the advertisement material is inserted with respect to the reference stream, and determines the counting start value of the playback timing information set in the advertisement material for the reference stream. The reference stream and the reference stream are reproduced in the set-top box 400 that reproduces the counting value of the playback timing information consecutively between the reference stream and the advertisement by changing it to a value adjacent to the counting value of the playback timing information. The advertisement material inserted in the section can be recognized as one material.

이처럼, 광고 소재의 재생타이밍정보의 카운팅 시작 값을 기준 스트림에 대해 확인된 재생타이밍정보의 카운팅 값과 이웃한 값으로 변경하는 것은, 광고 소재에 설정된 재생타이밍정보의 카운팅 시작 값이 기준 스트림 대비 랜덤한 시작 값을 가지는 경우에 소재 변경을 위한 리셋(RESET) 및 PCR 설정 등의 부가적인 절차로 인해 연속 재생에 지연 현상이 발생하는 것을 방지하기 위함이다.In this way, changing the counting start value of the playback timing information of the advertising material to a value adjacent to the counting value of the playback timing information identified for the reference stream means that the counting start value of the playback timing information set in the advertising material is random compared to the reference stream. This is to prevent a delay in continuous playback due to additional procedures such as reset (RESET) and PCR setting for material change in the case of having one starting value.

한편, 삽입부(440)는 기준 스트림에 2 이상의 광고 소재가 삽입되는 경우에광고 대해 소재 간 연속성을 보장하기 위해, 각 광고 소재에 설정되는 재생타이밍정보의 시작 값을 이웃한 이전 광고 소재를 기준으로 연속된 카운팅 값을 가지도록 변경할 수 있다.On the other hand, in order to ensure continuity between the advertisements when two or more advertisement materials are inserted in the reference stream, the insertion unit 440 sets the start value of the playback timing information set for each advertisement material based on the previous advertisement material adjacent to it. can be changed to have continuous counting values.

또한, 삽입부(440)는 PID(Packet Identifier) 별로 CC(Continuity Counter) 값의 연속성을 보장하기 위해 각 PID에서 누락된 CC 값으로 설정된 더미(Dummy) 패킷을 생성하여 각 광고 소재 사이에 삽입함으로써, 특정 PID에 관련하여 CC(Continuity Counter)의 값이 불연속적일 때, 셋탑박스(400)에서 이를 연속성(Continuity) 오류라고 인식하는 것을 방지할 수 있다.In addition, the inserter 440 generates a dummy packet set to a CC value missing from each PID to ensure continuity of CC (Continuity Counter) values for each PID (Packet Identifier) and inserts it between each advertisement material. , when the value of the CC (Continuity Counter) is discontinuous in relation to a specific PID, it is possible to prevent the set-top box 400 from recognizing this as a continuity error.

이상에서 살펴본 바와 같이 본 발명의 다른 실시예에 따른 셋탑박스(400)의 동작 방법에 따르면, 기준 스트림의 재생 구간에 광고 소재를 삽입하는 경우, 광고 소재의 멀티미디어 인코딩 속성을 기준 스트림과 매칭시키고, 광고 소재에 설정된 재생타이밍정보의 카운팅 시작 값을 기준 스트림에 대해 확인되는 재생타이밍정보의 카운팅 값과 이웃한 값으로 변경함으로써, 기준 스트림의 재생 구간에 광고 소재를 심리스(Seamless)하게 연결할 수 있다.As described above, according to the method of operation of the set-top box 400 according to another embodiment of the present invention, when an advertisement material is inserted in the playback section of the reference stream, the multimedia encoding property of the advertisement material is matched with the reference stream, By changing the counting start value of the playback timing information set in the advertisement material to a value adjacent to the counting value of the playback timing information checked for the reference stream, the advertisement material can be seamlessly connected to the playback section of the reference stream.

또한, 본 발명의 다른 실시예에 따른 셋탑박스(400)의 동작 방법에 따르면 2 이상의 광고 소재를 삽입하는 경우, PID(Packet Identifier) 별로 CC(Continuity Counter) 값의 연속성을 보장할 수 있도록 연속된 CC(Continuity Counter) 값을 설정한 더미(Dummy) 패킷을 생성하여 광고 소재 사이에 삽입함으로써, 광고 소재 간 전환에 있어서 연속성을 보장할 수 있다.In addition, according to the method of operation of the set-top box 400 according to another embodiment of the present invention, when two or more advertisement materials are inserted, the continuity of CC (Continuity Counter) values for each PID (Packet Identifier) can be ensured. By creating a dummy packet with a CC (Continuity Counter) value set and inserting it between advertisement materials, continuity can be ensured in switching between advertisement materials.

한편, 여기에 제시된 실시예들과 관련하여 설명된 방법 또는 알고리즘의 단계들은 하드웨어로 직접 구현되거나, 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.On the other hand, the steps of the method or algorithm described in relation to the embodiments presented herein may be directly implemented in hardware or may be implemented in the form of program instructions that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, etc. alone or in combination. The program instructions recorded on the medium may be specially designed and configured for the present invention, or may be known and available to those skilled in the art of computer software. Examples of the computer-readable recording medium include magnetic media such as hard disks, floppy disks and magnetic tapes, optical media such as CD-ROMs and DVDs, and magnetic such as floppy disks. - includes magneto-optical media, and hardware devices specially configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine language codes such as those generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter or the like. The hardware devices described above may be configured to operate as one or more software modules to carry out the operations of the present invention, and vice versa.

지금까지 본 발명을 바람직한 실시 예를 참조하여 상세히 설명하였지만, 본 발명이 상기한 실시 예에 한정되는 것은 아니며, 이하의 특허청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변형 또는 수정이 가능한 범위까지 본 발명의 기술적 사상이 미친다 할 것이다.Although the present invention has been described in detail with reference to preferred embodiments so far, the present invention is not limited to the above-described embodiments, and without departing from the gist of the present invention as claimed in the following claims, the technical field to which the present invention pertains It will be said that the technical idea of the present invention extends to a range where various modifications or modifications can be made by anyone with ordinary knowledge in the present invention.

본 발명에 일 실시예에 따른 셋탑박스 및 그 동작 방법에 따르면, IPTV 서비스 상에서 실시간 IPTV 프로그램 콘텐츠와 실시간 IPTV 프로그램 콘텐츠 내 광고 재생 구간에 삽입되는 광고 소재 간에 심리스(Seamless)한 연속 재생을 지원할 수 있다는 점에서, 기존 기술의 한계를 뛰어 넘음에 따라 관련 기술에 대한 이용만이 아닌 적용되는 장치의 시판 또는 영업의 가능성이 충분할 뿐만 아니라 현실적으로 명백하게 실시할 수 있는 정도이므로 산업상 이용가능성이 있는 발명이다.According to the set-top box and its operating method according to an embodiment of the present invention, it is possible to support seamless continuous playback between real-time IPTV program content on an IPTV service and an advertisement material inserted in an advertisement playback section within real-time IPTV program content. In this regard, as it goes beyond the limits of existing technologies, the possibility of marketing or business of the applied device, not just the use of the related technology, is sufficient, and it is an invention with industrial applicability because it can be clearly implemented in reality.

100: IPTV 헤드엔드
200: 백엔드 광고 서버
300: 셋탑박스
310: 식별부 320: 생성부
330: 전환부
100: IPTV headend
200: backend ad server
300: set-top box
310: identification unit 320: generation unit
330: transition unit

Claims (15)

실시간 IPTV 프로그램 콘텐츠에 사용된 부호화 방식을 기초로 광고 소재의 기본 스트림을 추출하여 상기 실시간 IPTV 프로그램 콘텐츠의 구성과 매칭되는 광고 콘텐츠를 생성하는 생성부; 및
상기 실시간 IPTV 프로그램 콘텐츠의 재생 구간 중 적어도 일부의 구간으로 식별되는 광고 재생 구간에 대해서, 상기 실시간 IPTV 프로그램 콘텐츠를 상기 광고 콘텐츠로 전환하는 전환부를 포함하며,
상기 광고 소재는,
상기 실시간 IPTV 프로그램 콘텐츠에서 사용 가능한 다수의 부호화 방식을 동일한 광고 소재에 각각 적용한 다수의 기본 스트림을 포함하며,
상기 생성부는,
상기 다수의 기본 스트림 중 상기 실시간 IPTV 프로그램 콘텐츠에서와 동일한 부호화 방식이 적용된 기본 스트림을 추출하여 상기 광고 콘텐츠를 생성하는 것을 특징으로 하는 셋탑박스.
a generation unit that extracts a basic stream of an advertisement material based on the encoding method used for the real-time IPTV program content and generates advertisement content matching the composition of the real-time IPTV program content; and
a conversion unit for converting the real-time IPTV program content into the advertisement content for an advertisement reproduction section identified as at least a part of the reproduction section of the real-time IPTV program content;
The advertising material is
It includes a plurality of elementary streams in which a plurality of encoding methods usable in the real-time IPTV program content are applied to the same advertising material, respectively,
The generating unit,
and generating the advertisement content by extracting an elementary stream to which the same encoding method as in the real-time IPTV program content is applied from among the plurality of elementary streams.
제 1 항에 있어서,
상기 셋탑박스는,
상기 실시간 IPTV 프로그램 콘텐츠에 포함되어 수신되는 디지털 큐잉 신호에 따라서 광고 재생 구간을 식별하는 식별부를 더 포함하며,
상기 식별부는,
상기 디지털 큐잉 신호 내 광고 시작 시점을 지시하는 큐 아웃(Cue-Out) 패킷과, 광고 종료 시점을 지시하는 큐 인(Cue-In) 패킷으로부터 광고 재생 구간을 식별하는 것을 특징으로 하는 셋탑박스.
The method of claim 1,
The set-top box is
and an identification unit for identifying an advertisement reproduction section according to a digital queuing signal included in the real-time IPTV program content and received;
The identification unit,
The set-top box, characterized in that the advertisement playback section is identified from a cue-out packet indicating an advertisement start time in the digital queuing signal and a cue-in packet indicating an advertisement end time.
제 1 항에 있어서,
상기 생성부는,
상기 다수의 기본 스트림 중, 상기 실시간 IPTV 프로그램 콘텐츠에서와 동일한 부호화 방식이 적용된 기본 스트림을 상기 실시간 IPTV 프로그램 콘텐츠 내 기본 스트림의 개수만큼 추출하여 상기 광고 콘텐츠를 생성하는 것을 특징으로 하는 셋탑박스.
The method of claim 1,
The generating unit,
and generating the advertisement content by extracting elementary streams to which the same encoding method as in the real-time IPTV program content is applied, from among the plurality of elementary streams, as many as the number of elementary streams in the real-time IPTV program content.
제 1 항에 있어서,
상기 광고 재생 구간은,
상기 실시간 IPTV 프로그램 콘텐츠에서 상기 광고 콘텐츠로 전환되는 제1 전환구간, 상기 광고 콘텐츠 간에 전환되는 제2 전환구간, 및 상기 광고 콘텐츠에서 상기 실시간 IPTV 프로그램 콘텐츠로 전환되는 제3 전환구간 중 적어도 하나의 전환구간을 포함하며,
상기 전환부는,
상기 적어도 하나의 전환구간에서의 콘텐츠 연속 재생과 관련하여, 상기 광고 콘텐츠의 기본 스트림에 대해서 속성을 조절하는 것을 특징으로 하는 셋탑박스.
The method of claim 1,
The advertisement playback section is
at least one of a first conversion section in which the real-time IPTV program content is converted to the advertisement content, a second conversion section in which the advertisement content is switched, and a third conversion section in which the advertisement content is converted to the real-time IPTV program content includes a section,
The conversion unit,
The set-top box, characterized in that in relation to the continuous playback of the content in the at least one conversion section, adjusting a property of the basic stream of the advertisement content.
제 1 항에 있어서,
상기 전환부는,
상기 광고 콘텐츠 내 PAT(Program Association Table) 및 PMT(Program Map Table)와 연관된 패킷을 상기 실시간 IPTV 프로그램 콘텐츠와 동일한 패킷으로 대체하며,
상기 광고 콘텐츠의 기본 스트림에 대한 PID(Packet IDentifier)를 상기 실시간 IPTV 프로그램 콘텐츠의 PID와 동일하게 변경하는 것을 특징으로 하는 셋탑박스.
The method of claim 1,
The conversion unit,
A packet associated with a Program Association Table (PAT) and a Program Map Table (PMT) in the advertisement content is replaced with the same packet as the real-time IPTV program content,
The set-top box, characterized in that the PID (Packet IDentifier) of the elementary stream of the advertisement content is changed to be the same as the PID of the real-time IPTV program content.
제 1 항에 있어서,
상기 전환부는,
상기 광고 재생 구간에서 전환이 이루어지는 적어도 하나의 광고 콘텐츠 각각에 대해서 이전 시점에 재생된 콘텐츠의 마지막 PCR(Program Clock Reference) 카운팅 값을 기준으로, PCR, DTS(Decoding Time Stamp), 및 PTS(Presentation Time Stamp) 각각의 카운팅 값을 연속된 이웃한 값으로 증가하도록 변경하는 것을 특징으로 하는 셋탑박스.
The method of claim 1,
The conversion unit,
PCR, Decoding Time Stamp (DTS), and Presentation Time (PTS) based on the last Program Clock Reference (PCR) counting value of the content reproduced at the previous time for each of the at least one advertisement content that is converted in the advertisement playback section Stamp) A set-top box, characterized in that it changes each counting value to increase to consecutive neighboring values.
제 1 항에 있어서,
상기 전환부는,
상기 광고 재생 구간에서 전환이 이루어지는 적어도 하나의 광고 콘텐츠와 관련하여, 각 콘텐츠 간에 PID(Packet Identifier) 별로 누락되어 있는 CC(Continuity Counter) 값을 설정한 더미(Dummy) 패킷을 삽입하는 것을 특징으로 하는 셋탑박스.
The method of claim 1,
The conversion unit,
In relation to at least one advertisement content that is converted in the advertisement playback section, a dummy packet in which a CC (Continuity Counter) value that is missing for each PID (Packet Identifier) is inserted between each content. set top box.
실시간 IPTV 프로그램 콘텐츠에 사용된 부호화 방식을 기초로 광고 소재의 기본 스트림을 추출하여 상기 실시간 IPTV 프로그램 콘텐츠의 구성과 매칭되는 광고 콘텐츠를 생성하는 생성단계; 및
상기 실시간 IPTV 프로그램 콘텐츠의 재생 구간 중 적어도 일부의 구간으로 식별되는 광고 재생 구간에 대해서, 상기 실시간 IPTV 프로그램 콘텐츠를 상기 광고 콘텐츠로 전환하는 전환단계를 포함하며,
상기 광고 소재는,
상기 실시간 IPTV 프로그램 콘텐츠에서 사용 가능한 다수의 부호화 방식을 동일한 광고 소재에 각각 적용한 다수의 기본 스트림을 포함하며,
상기 생성단계는,
상기 다수의 기본 스트림 중 상기 실시간 IPTV 프로그램 콘텐츠에서와 동일한 부호화 방식이 적용된 기본 스트림을 추출하여 상기 광고 콘텐츠를 생성하는 것을 특징으로 하는 셋탑박스의 동작 방법.
a generating step of extracting a basic stream of an advertisement material based on the encoding method used for the real-time IPTV program content and generating advertisement content matching the composition of the real-time IPTV program content; and
a conversion step of converting the real-time IPTV program content into the advertisement content for an advertisement reproduction section identified as at least a part of the reproduction section of the real-time IPTV program content;
The advertising material is
It includes a plurality of elementary streams in which a plurality of encoding methods usable in the real-time IPTV program content are applied to the same advertising material, respectively,
The creation step is
and generating the advertisement content by extracting an elementary stream to which the same encoding method as in the real-time IPTV program content is applied from among the plurality of elementary streams.
제 8 항에 있어서,
상기 방법은,
상기 실시간 IPTV 프로그램 콘텐츠에 포함되어 수신되는 디지털 큐잉 신호에 따라서 광고 재생 구간을 식별하는 식별단계를 더 포함하며,
상기 식별단계는,
상기 디지털 큐잉 신호 내 광고 시작 시점을 지시하는 큐 아웃(Cue-Out) 패킷과, 광고 종료 시점을 지시하는 큐 인(Cue-In) 패킷으로부터 광고 재생 구간을 식별하는 것을 특징으로 하는 셋탑박스의 동작 방법.
9. The method of claim 8,
The method is
An identification step of identifying an advertisement reproduction section according to a digital queuing signal included in the real-time IPTV program content and received;
The identification step is
Operation of a set-top box, characterized in that the advertisement playback section is identified from a cue-out packet indicating an advertisement start time in the digital queuing signal and a cue-in packet indicating an advertisement end time Way.
제 8 항에 있어서,
상기 생성단계는,
상기 다수의 기본 스트림 중, 상기 실시간 IPTV 프로그램 콘텐츠에서와 동일한 부호화 방식이 적용된 기본 스트림을 상기 실시간 IPTV 프로그램 콘텐츠 내 기본 스트림의 개수만큼 추출하여 상기 광고 콘텐츠를 생성하는 것을 특징으로 하는 셋탑박스의 동작 방법.
9. The method of claim 8,
The creation step is
The method of operating a set-top box, characterized in that the advertisement content is generated by extracting the same number of elementary streams as the number of elementary streams in the real-time IPTV program content from among the plurality of elementary streams. .
제 8 항에 있어서,
상기 광고 재생 구간은,
상기 실시간 IPTV 프로그램 콘텐츠에서 상기 광고 콘텐츠로 전환되는 제1 전환구간, 상기 광고 콘텐츠 간에 전환되는 제2 전환구간, 및 상기 광고 콘텐츠에서 상기 실시간 IPTV 프로그램 콘텐츠로 전환되는 제3 전환구간 중 적어도 하나의 전환구간을 포함하며,
상기 전환단계는,
상기 적어도 하나의 전환구간에서의 콘텐츠 연속 재생과 관련하여, 상기 광고 콘텐츠의 기본 스트림에 대해서 속성을 조절하는 것을 특징으로 하는 셋탑박스의 동작 방법.
9. The method of claim 8,
The advertisement playback section is
at least one of a first conversion section in which the real-time IPTV program content is converted to the advertisement content, a second conversion section in which the advertisement content is switched, and a third conversion section in which the advertisement content is converted to the real-time IPTV program content includes a section,
The conversion step is
In relation to the continuous reproduction of content in the at least one conversion section, the method of operating a set-top box, characterized in that the property is adjusted with respect to the elementary stream of the advertisement content.
제 8 항에 있어서,
상기 전환단계는,
상기 광고 콘텐츠 내 PAT(Program Association Table) 및 PMT(Program Map Table)와 연관된 패킷을 상기 실시간 IPTV 프로그램 콘텐츠와 동일한 패킷으로 대체하며,
상기 광고 콘텐츠의 기본 스트림에 대한 PID(Packet IDentifier)를 상기 실시간 IPTV 프로그램 콘텐츠의 PID와 동일하게 변경하는 것을 특징으로 하는 셋탑박스의 동작 방법.
9. The method of claim 8,
The conversion step is
A packet associated with a Program Association Table (PAT) and a Program Map Table (PMT) in the advertisement content is replaced with the same packet as the real-time IPTV program content,
The method of operating a set-top box, characterized in that the PID (Packet IDentifier) of the elementary stream of the advertisement content is changed to be the same as the PID of the real-time IPTV program content.
제 8 항에 있어서,
상기 전환단계는,
상기 광고 재생 구간에서 전환이 이루어지는 적어도 하나의 광고 콘텐츠 각각에 대해서 이전 시점에 재생된 콘텐츠의 마지막 PCR(Program Clock Reference) 카운팅 값을 기준으로, PCR, DTS(Decoding Time Stamp), 및 PTS(Presentation Time Stamp) 각각의 카운팅 값을 연속된 이웃한 값으로 증가하도록 변경하는 것을 특징으로 하는 셋탑박스의 동작 방법.
9. The method of claim 8,
The conversion step is
PCR, Decoding Time Stamp (DTS), and Presentation Time (PTS) based on the last Program Clock Reference (PCR) counting value of the content reproduced at the previous time for each of the at least one advertisement content that is converted in the advertisement playback section Stamp) A method of operating a set-top box, characterized in that it changes each counting value to increase to a successive neighboring value.
제 8 항에 있어서,
상기 전환단계는,
상기 광고 재생 구간에서 전환이 이루어지는 적어도 하나의 광고 콘텐츠와 관련하여, 각 콘텐츠 간에 PID(Packet Identifier) 별로 누락되어 있는 CC(Continuity Counter) 값을 설정한 더미(Dummy) 패킷을 삽입하는 것을 특징으로 하는 셋탑박스의 동작 방법.
9. The method of claim 8,
The conversion step is
In relation to at least one advertisement content that is converted in the advertisement playback section, a dummy packet in which a CC (Continuity Counter) value that is missing for each PID (Packet Identifier) is inserted between each content. How a set-top box works.
제 8 항 내지 제 14 항 중 어느 한 항의 방법에서 수행되는 각 단계를 실행하는 프로그램을 기록한 컴퓨터 판독 가능한 매체.A computer-readable medium recording a program for executing each step performed in the method of any one of claims 8 to 14.
KR1020210021292A 2020-08-13 2021-02-17 Set top box, and control method thereof KR102435049B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020200101880 2020-08-13
KR20200101880 2020-08-13

Publications (2)

Publication Number Publication Date
KR20220021387A KR20220021387A (en) 2022-02-22
KR102435049B1 true KR102435049B1 (en) 2022-08-22

Family

ID=80494317

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210021292A KR102435049B1 (en) 2020-08-13 2021-02-17 Set top box, and control method thereof

Country Status (1)

Country Link
KR (1) KR102435049B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101610862B1 (en) 2015-01-23 2016-04-08 주식회사 솔박스 Method and apparatus for inserting advertisement in streaming service
KR101741747B1 (en) * 2016-06-09 2017-05-31 (주)매직비젼 Apparatus and method for processing real time advertisement insertion on broadcast
US20190268392A1 (en) 2010-04-23 2019-08-29 Time Warner Cable Enterprises Llc Apparatus and methods for dynamic secondary content and data insertion and delivery

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BRPI0822835A2 (en) * 2008-06-26 2015-06-23 Thomson Licensing Range-based advertising insertion used for video stream delivery
KR101737084B1 (en) * 2009-12-07 2017-05-17 삼성전자주식회사 Method and apparatus for streaming by inserting another content to main content
KR101526464B1 (en) * 2011-11-29 2015-06-09 주식회사 더블유코퍼레이션 On-line broadcasting advertisement system and method using using sky wave signal
WO2013155611A1 (en) * 2012-04-18 2013-10-24 Mdialog Corporation Method and system for inserting content into streaming media at arbitrary time points
US9560404B2 (en) * 2014-09-10 2017-01-31 Ericsson Ab Advertisement targeting scheme in a multicast ABR environment based on ad caching

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190268392A1 (en) 2010-04-23 2019-08-29 Time Warner Cable Enterprises Llc Apparatus and methods for dynamic secondary content and data insertion and delivery
KR101610862B1 (en) 2015-01-23 2016-04-08 주식회사 솔박스 Method and apparatus for inserting advertisement in streaming service
KR101741747B1 (en) * 2016-06-09 2017-05-31 (주)매직비젼 Apparatus and method for processing real time advertisement insertion on broadcast

Also Published As

Publication number Publication date
KR20220021387A (en) 2022-02-22

Similar Documents

Publication Publication Date Title
US10820065B2 (en) Service signaling recovery for multimedia content using embedded watermarks
US9699522B2 (en) Method for transceiving media files and device for transmitting/receiving using same
KR101717555B1 (en) Media content transceiving method and transceiving apparatus using same
US11622163B2 (en) System and method for synchronizing metadata with audiovisual content
Howson et al. Second screen TV synchronization
KR20040004678A (en) Splicing of digital video transport streams
KR20140066265A (en) Method for transmitting/receiving media content and transmitting/receiving apparatus thereof
WO2014151832A1 (en) Geographically independent determination of segment boundaries within a video stream
TWI788701B (en) Methods for using in-band metadata as a basis to access reference fingerprints to facilitate content-related action and media client
KR102160768B1 (en) System, broadcasting server and media play device for providing cue-tone advertisement service
US8856823B2 (en) Methods and systems for synchronizing delivery of media content streams having different resolutions
CN103491430B (en) Streaming medium data processing method and electronic equipment
KR101741747B1 (en) Apparatus and method for processing real time advertisement insertion on broadcast
CA2938478A1 (en) Methods and apparatus for creation of a reference time index for audio/video programming
US8769562B2 (en) Digital broadcast method, data receiving device, and data transmitting device
KR100948686B1 (en) Iptv broadcast system and method for reducing delay due to changing channel
US20090190034A1 (en) Display control apparatus and display control method
KR102435049B1 (en) Set top box, and control method thereof
KR101078701B1 (en) Method and apparatus for selective section playback of iptv program
KR20090031100A (en) Method and apparatus for reproducing broadcasting content and method and apparatus for providing broadcasting content
JP2020080481A (en) Subtitle data processing system, processing method, and program for television programs simultaneously distributed via internet
JPWO2010046971A1 (en) Data transmission device and data reception device
WO2015174207A1 (en) Reception device, transmission device, and data processing method
JP7201656B2 (en) Caption generation device and caption generation program
JP5016335B2 (en) Playback apparatus and playback method

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant