KR101441867B1 - Method and Gateway Device for Providing Contents to Media Device - Google Patents

Method and Gateway Device for Providing Contents to Media Device Download PDF

Info

Publication number
KR101441867B1
KR101441867B1 KR1020130045054A KR20130045054A KR101441867B1 KR 101441867 B1 KR101441867 B1 KR 101441867B1 KR 1020130045054 A KR1020130045054 A KR 1020130045054A KR 20130045054 A KR20130045054 A KR 20130045054A KR 101441867 B1 KR101441867 B1 KR 101441867B1
Authority
KR
South Korea
Prior art keywords
stream
rgb image
video
converted
content
Prior art date
Application number
KR1020130045054A
Other languages
Korean (ko)
Inventor
한용희
Original Assignee
에스케이텔레콤 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 에스케이텔레콤 주식회사 filed Critical 에스케이텔레콤 주식회사
Priority to KR1020130045054A priority Critical patent/KR101441867B1/en
Application granted granted Critical
Publication of KR101441867B1 publication Critical patent/KR101441867B1/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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • 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/439Processing of audio elementary 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 or rendering scenes according to encoded video stream scene graphs

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the present invention provides a gateway device which includes an RGB image integrating unit which generates one RGB image by overlaying a GUI RGB image, which indicates an electronic program guide (EPG) obtained from a content stream, on a video RGB image obtained from the content stream which is provided from an IPTV service device; a converting unit which generates a conversion audio stream by transcoding an audio stream obtained from the content stream and generates a conversion video stream by encoding the RGB image; and a transmitting unit which transmits the converted audio and the converted video stream to a plurality of media devices.

Description

컨텐츠를 미디어 디바이스에 제공하기 위한 게이트웨이 장치 및 그 방법{Method and Gateway Device for Providing Contents to Media Device}[0001] The present invention relates to a gateway device for providing content to a media device,

본 실시예는 컨텐츠를 미디어 디바이스에 제공하기 위한 게이트웨이 장치 및 그 방법에 관한 것이다. 더욱 상세하게는, IPTV 서비스 장치로부터 제공받은 컨텐츠를 다수의 미디어 디바이스에 대응되는 형태로 변환하는 게이트웨이 장치를 통해 다수의 미디어 디바이스에 컨텐츠를 공유할 수 있는 컨텐츠를 미디어 디바이스에 제공하기 위한 게이트웨이 장치 및 그 방법에 관한 것이다.The present embodiment relates to a gateway apparatus and method for providing contents to a media device. The present invention relates to a gateway device for providing content to a plurality of media devices to a media device through a gateway device that converts content provided from an IPTV service device into a format corresponding to a plurality of media devices, It is about the method.

이 부분에 기술된 내용은 단순히 본 실시예에 대한 배경 정보를 제공할 뿐 종래기술을 구성하는 것은 아니다.The contents described in this section merely provide background information on the present embodiment and do not constitute the prior art.

최근 PC, TV, 셋톱박스, 모바일 기기, 오디오 시스템, 에어컨, 보일러, 조명, 가스 밸브, 현관문 등 홈 내에 구비되는 각종 기기들을 연결하여 통합적으로 관리할 수 있도록 하는 홈 네트워크가 구축되고 있다. 이러한 홈 네트워크의 미디어 컨텐츠 공유 관련 표준화를 위한 규약으로 DLNA(Digital Living Network Alliance)가 부각되고 있으며, DLNA는 DLNA 표준안에서 기 제공하고 있는 DLNA 서비스를 통해 DLNA 네트워크 내 다수의 DLNA 디바이스에게 미디어 컨텐츠를 공유할 수 있다.BACKGROUND ART [0002] In recent years, a home network has been established to connect and manage various devices provided in a home, such as a PC, a TV, a set-top box, a mobile device, an audio system, an air conditioner, a boiler, an illumination, a gas valve, The Digital Living Network Alliance (DLNA) is emerging as a protocol for standardization of media content sharing related to the home network. DLNA provides DLNA service in the DLNA standard to share media contents with many DLNA devices in the DLNA network can do.

IPTV(Internet Protocol Television)는 초고속인터넷망을 이용하여 영화ㆍ방송 프로그램 등 동영상 콘텐츠와 인터넷 검색 등 다양한 멀티미디어 콘텐츠를 사용자에게 제공하는 동시에 사용자가 직접 프로그램에 참여할 수 있는 양방향성을 지원하여 다양한 비즈니스 모델과 서비스 창출을 제공하고 있다.Internet Protocol Television (IPTV) provides users with a variety of multimedia contents such as movie and broadcasting programs and Internet search by using high-speed internet network, and also supports various types of business models and services And provide the creation.

한편, IPTV 서비스가 활성화됨에 따라 단순히 셋톱박스가 설치된 스마트 TV에서만이 아닌 홈 내 다양한 기기를 통해 IPTV 서비스를 이용하고자 하는 사용자들의 욕구가 증가하고 있으며 이에 IPTV 서비스와 DLNA 서비스를 결합시켜 홈 네트워크 내 다수의 미디어 디바이스에 IPTV 서비스를 공유하기 위한 방법이 지속적으로 연구되고 있다.Meanwhile, as the IPTV service is activated, users' desire to use the IPTV service through various devices in the home is increasing not only by the smart TV having the set-top box but also by combining the IPTV service and the DLNA service, A method for sharing an IPTV service in a media device of a mobile terminal has been continuously studied.

본 실시예는, IPTV 서비스 장치로부터 제공받은 컨텐츠를 다수의 미디어 디바이스에 대응되는 형태로 변환하는 게이트웨이 장치를 통해 다수의 미디어 디바이스에 컨텐츠를 공유시킴으로써 홈 내에서 다양한 기기가 IPTV 서비스를 이용할 수 있게 하는 데 주된 목적이 있다.The present embodiment allows various devices to use an IPTV service in a home by sharing contents with a plurality of media devices through a gateway device that converts content provided from an IPTV service device into a form corresponding to a plurality of media devices There is a main purpose.

본 실시예는, IPTV 서비스 장치로부터 제공되는 컨텐츠 스트림으로부터 획득한 비디오 RGB 영상에 상기 컨텐츠 스트림으로부터 획득한 전자프로그램가이드(EPG) 정보가 표시된 GUI RGB 영상을 오버레이하여 하나의 RGB 영상을 생성하는 RGB 영상 통합부; 상기 컨텐츠 스트림으로부터 획득한 오디오 스트림을 트랜스 코딩하여 변환 오디오 스트림을 생성하고, 상기 RGB 영상을 인코딩하여 변환 비디오 스트림을 생성하는 변환부; 및 상기 변환 오디오 스트림 및 상기 변환 비디오 스트림을 다수의 미디어 디바이스에 전송하는 전송부를 포함하는 것을 특징으로 하는 게이트웨이 장치를 제공한다.In this embodiment, a GUI RGB image in which electronic program guide (EPG) information obtained from the content stream is overlaid on a video RGB image obtained from a content stream provided from an IPTV service apparatus, and an RGB image Integrated unit; A converting unit for transcoding an audio stream obtained from the content stream to generate a converted audio stream, and encoding the RGB video image to generate a converted video stream; And a transmitter for transmitting the converted audio stream and the converted video stream to a plurality of media devices.

또한, 본 실시예의 다른 측면에 의하면, 게이트웨이 장치가 컨텐츠를 다수의 미디어 디바이스에 전송하는 방법에 있어서, IPTV 서비스 장치로부터 제공되는 컨텐츠 스트림으로부터 획득한 비디오 RGB 영상에 상기 컨텐츠 스트림으로부터 획득한 전자프로그램가이드(EPG) 정보가 표시된 GUI RGB 영상을 오버레이하여 하나의 RGB 영상을 생성하는 과정; 상기 컨텐츠 스트림으로부터 획득한 오디오 스트림을 트랜스 코딩하여 변환 오디오 스트림을 생성하고, 상기 RGB 영상을 인코딩하여 변환 비디오 스트림을 생성하는 과정; 및 상기 변환 오디오 스트림 및 상기 변환 비디오 스트림을 상기 다수의 디바이스에 전송하는 과정을 포함하는 것을 특징으로 하는 전송방법을 제공한다.According to another aspect of the present invention, there is provided a method of transmitting a content to a plurality of media devices, the method comprising the steps of: receiving a video RGB image obtained from a content stream provided from an IPTV service apparatus, Generating an RGB image by overlaying a GUI RGB image displayed with EPG information; Transcoding an audio stream obtained from the content stream to generate a converted audio stream, and encoding the RGB video image to generate a converted video stream; And transmitting the converted audio stream and the converted video stream to the plurality of devices.

본 실시예는, IPTV 서비스 장치로부터 제공받은 컨텐츠를 다수의 미디어 디바이스에 대응되는 형태로 변환하는 게이트웨이 장치를 통해 다수의 미디어 디바이스에 컨텐츠를 공유시킴으로써 홈 내에서 다양한 기기가 IPTV 서비스를 이용할 수 있는 효과가 있다.In this embodiment, content is shared among a plurality of media devices through a gateway device that converts content provided from an IPTV service device into a form corresponding to a plurality of media devices, thereby enabling various devices to use the IPTV service in the home .

도 1은 본 실시예에 따른 게이트웨이 장치를 개략적으로 나타낸 블럭 구성도이다.
도 2는 본 실시예에 따른 게이트웨이 장치를 이용하여 컨텐츠 스트림이 변환되는 과정을 설명하기 위한 흐름도이다.
도 3은 본 실시예에 따른 게이트웨이 장치를 이용하여 컨텐츠가 홈 네트워크 내 DLNA 디바이스에 전송되는 경우를 예시한 예시도이다.
도 4는 본 실시예에 따른 게이트웨이 장치가 컨텐츠를 미디어 디바이스에 전송하는 방법을 설명하기 위한 순서도이다.
1 is a block diagram schematically showing a gateway apparatus according to the present embodiment.
2 is a flowchart illustrating a process of converting a content stream using the gateway apparatus according to the present embodiment.
3 is a diagram illustrating an example in which content is transmitted to a DLNA device in a home network using a gateway apparatus according to an embodiment of the present invention.
4 is a flowchart illustrating a method of transmitting content to a media device according to an embodiment of the present invention.

이하, 본 실시예를 첨부된 도면을 참조하여 상세하게 설명한다.Hereinafter, the present embodiment will be described in detail with reference to the accompanying drawings.

각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한, 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.It should be noted that, in adding reference numerals to the constituent elements of the drawings, the same constituent elements are denoted by the same reference symbols as possible even if they are shown in different drawings. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear.

또한, 본 발명의 구성 요소를 설명하는 데 있어서, 제 1, 제 2, A, B, (a), (b) 등의 용어를 사용할 수 있다. 이러한 용어는 그 구성 요소를 다른 구성 요소와 구별하기 위한 것일 뿐, 그 용어에 의해 해당 구성 요소의 본질이나 차례 또는 순서 등이 한정되지 않는다. 어떤 구성 요소가 다른 구성요소에 "연결", "결합" 또는 "접속"된다고 기재된 경우, 그 구성 요소는 그 다른 구성요소에 직접적으로 연결되거나 또는 접속될 수 있지만, 각 구성 요소 사이에 또 다른 구성 요소가 "연결", "결합" 또는 "접속"될 수도 있다고 이해되어야 할 것이다.In describing the components of the present invention, terms such as first, second, A, B, (a), and (b) may be used. These terms are intended to distinguish the constituent elements from other constituent elements, and the terms do not limit the nature, order or order of the constituent elements. When a component is described as being "connected", "coupled", or "connected" to another component, the component may be directly connected to or connected to the other component, It should be understood that an element may be "connected," "coupled," or "connected."

IPTV는 인터넷 프로토콜 텔레비전(Internet Protocol Television)의 약자로서 초고속 인터넷을 이용하여 정보 서비스, 동영상 콘텐츠 및 방송 등을 텔레비전 수상기로 제공하는 서비스를 말한다. IPTV는 비디오를 비롯한 방송 콘텐츠를 제공한다는 점에서는 일반 케이블방송이나 위성방송과 별다른 차이점이 없지만, 양방향성이 추가된다는 점이 큰 특징이다. 즉, 일반 공중파 방송이나 케이블방송 또는 위성방송과는 달리 시청자가 자신이 편리한 시간에 자신이 보고 싶은 프로그램만 볼 수 있다는 장점이 있다. IPTV is an abbreviation of Internet Protocol Television (IPTV). It is a service that provides information service, video contents, broadcasting, etc. to a television receiver using a high-speed Internet. IPTV is not different from general cable broadcasting or satellite broadcasting in that it provides broadcasting contents including video, but it is a feature that it adds interactivity. In other words, unlike ordinary terrestrial broadcasting, cable broadcasting, or satellite broadcasting, the viewer can view only the program he or she wants to watch at a convenient time.

본 실시예에 따른 게이트웨이 장치는 IPTV 서비스 장치에서 제공되는 컨텐츠를 다수의 미디어 디바이스에 대응되는 형태로 변환시켜 네트워크 내 다수의 미디어 디바이스에 제공함으로써 별도의 애플리케이션 또는 IPTV 서비스 장치의 수정없이 홈 내에서 다양한 기기를 통해 컨텐츠를 이용할 수 있도록 동작한다.The gateway device according to the present embodiment converts content provided by an IPTV service device into a format corresponding to a plurality of media devices and provides the converted content to a plurality of media devices in the network, And operates to make the contents available through the device.

도 1은 본 실시예에 따른 게이트웨이 장치(100)를 개략적으로 나타낸 블럭 구성도이다.1 is a block diagram schematically showing a gateway device 100 according to the present embodiment.

도 1에서 도시하듯이, 본 실시예에 따른 게이트웨이 장치(100)는 인증부(110), 디멀티플렉싱부(120), RGB 영상 획득부(130), RGB 영상 통합부(140), 변환부(150) 및 전송부(160)를 포함한다. 본 실시예에서는 게이트웨이 장치(100)가 인증부(110), 디멀티플렉싱부(120), RGB 영상 획득부(130), RGB 영상 통합부(140), 변환부(150) 및 전송부(160)만을 포함하는 것으로 기재하고 있으나, 이는 본 실시예의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 실시예가 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 실시예의 본질적인 특성에서 벗어나지 않는 범위에서 톨게이트 요금 결제 시스템에 포함되는 구성 요소에 대하여 다양하게 수정 및 변형하여 적용 가능할 것이다.1, the gateway apparatus 100 according to the present embodiment includes an authentication unit 110, a demultiplexing unit 120, an RGB image acquisition unit 130, an RGB image integration unit 140, a conversion unit 150 and a transmission unit 160. [ In this embodiment, the gateway device 100 includes an authentication unit 110, a demultiplexing unit 120, an RGB image acquisition unit 130, an RGB image integration unit 140, a conversion unit 150, It will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the present invention, And various modifications and variations may be applied to the components included in the system.

인증부(110)는 IPTV 서비스 장치와 연계하여 기 설정된 인증절차를 수행하며, 인증절차를 이용하여 컨텐츠 스트림에 대한 사용권한을 획득한다. 한편, IPTV 서비스 장치는 IPTV 서비스에 가입하고, 컨텐츠에 대한 수신료를 지불한 사용자에 한해서 컨텐츠를 시청할 수 있는 사용권한을 부여한다. 이에, 인증부(110)는 IPTV 서비스 장치에 컨텐츠에 대한 요청신호를 전송하는 동시에 IPTV 서비스를 가입할 당시, IPTV 서비스 장치로부터 부여받은 개별주소 및 그룹주소를 함께 전송한다. IPTV 서비스 장치는 수신받은 개별주소 및 그룹주소를 확인하여 사용자가 IPTV 서비스에 가입하였다고 판단되는 경우, 인증부(110)에 기 설정된 소정의 방식으로 인코딩된 컨텐츠 스트림 및 해당 컨텐츠 스트림에 대한 사용권한을 재전송한다.The authentication unit 110 performs a predetermined authentication procedure in association with the IPTV service apparatus, and acquires a usage right for the content stream using the authentication procedure. Meanwhile, the IPTV service device subscribes to the IPTV service, and gives a usage right to view the content only to a user who has paid a license fee for the content. The authentication unit 110 transmits a request signal for contents to the IPTV service apparatus, and simultaneously transmits an individual address and a group address received from the IPTV service apparatus at the time of subscribing to the IPTV service. The IPTV service apparatus checks the received individual address and group address, and when it is determined that the user has subscribed to the IPTV service, the IPTV service apparatus transmits the content stream encoded in the predetermined format predetermined in the authentication unit 110 and the usage right for the corresponding content stream Retransmit.

한편, 컨텐츠 스트림은 TS Packet 형태로 게이트웨이 장치(100)에 전송될 수 있으며, TS Packet은 컨텐츠가 전송되는 경우 전송 과정에서 발생할 수 있는 컨텐츠의 에러 복구가 용이하도록 설계된 기본 패킷으로 TS Packet의 Payload에 컨텐츠에 대한 정보가 포함되어 있다.Meanwhile, the content stream can be transmitted to the gateway apparatus 100 in the form of a TS packet. The TS packet is a basic packet designed to facilitate error recovery of contents that may occur during transmission when content is transmitted. Information about the content is included.

디멀티플렉싱부(120)는 IPTV 서비스 장치로부터 전송된 컨텐츠 스트림으로부터 비디오 스트림, 오디오 스트림 및 전자프로그램가이드(EPG: Electronic Program Guide) 정보를 추출한다. 한편, 컨텐츠 스트림은 IPTV 서비스 장치로부터 실시간으로 스트림 형태로 수신되거나 기 수신되어 게이트웨이 장치(100)에 저장된 컨텐츠를 의미한다. 즉, 디멀티플렉싱부(120)는 소정의 방식으로 인코딩된 컨텐츠 스트림을 디멀티플렉싱(Demultiplexing)하고, 이를 통해 컨텐츠 스트림에 포함된 비디오 스트림, 오디오 스트림 및 전자프로그램가이드 정보를 추출한다.The demultiplexing unit 120 extracts a video stream, an audio stream, and electronic program guide (EPG) information from the content stream transmitted from the IPTV service apparatus. On the other hand, the content stream refers to the content received or received in real time from the IPTV service device in stream form and stored in the gateway device 100. That is, the demultiplexing unit 120 demultiplexes a content stream encoded in a predetermined manner, and extracts a video stream, an audio stream, and electronic program guide information included in the content stream.

RGB 영상 획득부(130)는 비디오 스트림으로부터 비디오 RGB 영상을 획득하며 전자프로그램가이드 정보로부터 GUI RGB 영상을 획득한다. 한편, RGB 영상 획득부(130)는 비디오 RGB 영상 획득부(132) 및 GUI RGB 영상 획득부(134)로 구성된다.The RGB image acquisition unit 130 acquires a video RGB image from the video stream and acquires a GUI RGB image from the electronic program guide information. The RGB image acquisition unit 130 includes a video RGB image acquisition unit 132 and a GUI RGB image acquisition unit 134.

비디오 RGB 영상 획득부(132)는 디멀티플렉싱부(120)로부터 추출된 비디오 스트림을 디코딩하여 비디오 RGB 영상을 획득한다. 즉, 비디오 RGB 영상 획득부(132)는 특정 코덱 방식에 따라 인코딩되어 있는 비디오 스트림을 디코딩하고, 이를 통해 비디오 스트림으로부터 비디오의 각 픽셀에 대한 화소값을 추출한 비디오 RGB 영상을 획득한다. 한편, 개별 방송국으로부터 IPTV 서비스 장치에 전송되는 컨텐츠는 IPTV 서비스 장치에서 특정 코덱 방식에 따라 인코딩되어 스트림 형태로 전송된다. 이때, 특정 코덱 방식은 MPEG-2(Moving Pictures Exports Group-2) 코덱 또는 H.264/MPEG-4 코덱이 사용될 수 있으며 컨텐츠 내 비디오 RGB 영상 역시 해당 코덱 방식에 따라 인코딩되어 있다. MPEG-2는 MPEG(Moving Picture Expert Group)이 정한 오디오와 비디오 인코딩(부호화)에 관한 일련의 표준을 말하며, 일반적으로 디지털 위성방송, 디지털 유선방송 등의 디지털 방송을 위한 오디오와 비디오 정보 전송을 위해 사용된다. H.264/MPEG-4는 블루레이 디스크를 위한 코덱 표준 중 하나로 현재 고선명 비디오의 녹화, 압축, 배포를 위한 가장 일반적인 포맷 가운데 하나이며 매우 높은 데이터 압축률을 가진다.The video RGB image acquisition unit 132 decodes the video stream extracted from the demultiplexing unit 120 to acquire a video RGB image. That is, the video RGB image acquiring unit 132 decodes a video stream encoded according to a specific codec scheme, and acquires a video RGB image from which a pixel value for each pixel of the video is extracted from the video stream. On the other hand, contents transmitted from an individual broadcasting station to an IPTV service apparatus are encoded in a specific codec format in an IPTV service apparatus and transmitted in a stream format. In this case, a specific codec method may be MPEG-2 (Moving Pictures Exports Group-2) codec or H.264 / MPEG-4 codec, and the video RGB image in the content is also encoded according to the codec method. MPEG-2 is a set of standards for audio and video encoding (encoding) defined by the Moving Picture Expert Group (MPEG). It is generally used for the transmission of audio and video information for digital broadcasting such as digital satellite broadcasting and digital wired broadcasting. Is used. H.264 / MPEG-4 is one of the codec standards for Blu-ray Disc and is one of the most common formats for recording, compressing and distributing high-definition video and has a very high data compression rate.

한편, 도 1에서는 비디오 RGB 영상 획득부(132)가 비디오 스트림을 디코딩하여 비디오 RGB 영상을 획득한다고 명시하였지만 RGB는 로우 데이터(Raw Data)의 한 형식에 불과하며 반드시 이에 한정되지는 않고, 비디오 스트림의 인코딩 방식에 따라 YUV(YCbCr) 형태로 획득될 수 있다.1, a video RGB image acquisition unit 132 decodes a video stream to acquire a video RGB image. However, RGB is a form of raw data, and is not limited thereto. Can be obtained in the form of YUV (YCbCr) according to the encoding scheme of FIG.

GUI RGB 영상 획득부(134)는 디멀티플렉싱부(120)로부터 추출된 전자프로그램가이드 정보를 렌더링하여 전자프로그램가이드 정보가 표시된 영상 즉, GUI RGB 영상을 획득한다. 한편, 전자프로그램가이드(EPG)정보는 XML(Extensible Markup Language) 형태로 전송되며 IPTV 서비스 장치에서 제공되는 컨텐츠에 대한 정보, 예를 들어 실시간 방송, VOD 등에 대한 제목, 시간 및 기타 세부정보가 포함되어 있다. 렌더링(Rendering)은 컴퓨터 프로그램을 사용하여 모델(또는 이들을 모아놓은 장면인 씬(scene) 파일)로부터 영상을 만들어내는 과정을 말한다. 하나의 씬 파일에는 정확히 정의된 언어나 자료 구조로 이루어진 개체들이 있으며, 여기에는 가상의 장면(씬)을 표현하는 도형의 배열, 시점, 텍스처 매핑, 조명, 셰이딩 정보가 포함될 수 있다. 씬 파일에 포함된 자료들은 렌더링 프로그램에서 처리되어 결과물로서 디지털 이미지, 래스터 그래픽스 이미지 파일을 만들어낸다.The GUI RGB image acquisition unit 134 renders the electronic program guide information extracted from the demultiplexing unit 120 to acquire an image in which the electronic program guide information is displayed, that is, a GUI RGB image. Meanwhile, the electronic program guide (EPG) information is transmitted in XML (Extensible Markup Language) format and includes information on contents provided by the IPTV service device, for example, title, time, and other detailed information about real- have. Rendering refers to the process of creating an image from a model (or a scene file that is a collection of them) using a computer program. A scene file contains objects with precisely defined language or data structures, which may include an array of shapes representing a virtual scene (scene), viewpoints, texture mapping, lighting, and shading information. The data contained in the scene file is processed by the rendering program to produce digital images and raster graphics image files.

즉, GUI RGB 영상 획득부(134)는 XML 형태의 전자프로그램가이드 정보를 렌더링하여 영상을 생성하고, 이를 통해 전자프로그램가이드 정보가 표시된 GUI RGB 영상을 획득한다.That is, the GUI RGB image acquisition unit 134 generates the image by rendering the electronic program guide information in the XML form, and acquires the GUI RGB image in which the electronic program guide information is displayed.

한편, 도 1에서는 GUI RGB 영상 획득부(134)가 전자프로그램가이드 정보를 렌더링하여 GUI RGB 영상을 획득한다고 명시하였지만 RGB는 로우 데이터(Raw Data)의 한 형식에 불과하며 반드시 이에 한정되지는 않고, 전자프로그램가이드 정보의 인코딩 방식에 따라 YUV(YCbCr) 형태로 획득될 수 있다.1, the GUI RGB image acquisition unit 134 renders the electronic program guide information to acquire the GUI RGB image. However, RGB is a type of raw data, and is not necessarily limited to this, Can be obtained in the form of YUV (YCbCr) according to the encoding scheme of the electronic program guide information.

RGB 영상 통합부(140)는 IPTV 서비스 장치로부터 제공되는 컨텐츠 스트림으로부터 획득한 비디오 RGB 영상에 컨텐츠 스트림으로부터 획득한 전자프로그램가이드 정보가 표시된 GUI RGB 영상을 오버레이하여 하나의 RGB 영상을 생성한다. 즉, RGB 영상 통합부(140)는 비디오 RGB 영상 획득부(132)로부터 획득한 비디오 RGB 영상에 GUI RGB 영상 획득부(134)로부터 획득한 GUI RGB 영상을 오버레이시켜 RGB 영상을 생성하고, 이를 통해 비디오 영상과 전자프로그램가이드 정보가 하나의 RGB 영상에 디스플레이되도록 동작한다.The RGB image integrating unit 140 overlays the GUI RGB image displayed with the electronic program guide information obtained from the content stream in the video RGB image obtained from the content stream provided from the IPTV service apparatus to generate one RGB image. That is, the RGB image integration unit 140 generates an RGB image by overlaying the GUI RGB image acquired from the GUI RGB image acquisition unit 134 on the video RGB image acquired from the video RGB image acquisition unit 132, The video image and the electronic program guide information are displayed on one RGB image.

한편, RGB 영상 통합부(140)가 비디오 RGB 영상에 GUI RGB 영상을 오버레이시키는 방법으로 알파 블랜딩(Alpha Blending) 방법이 사용될 수 있다. 알파 블랜딩 방법은 RGB에 각각 8 비트씩 할당하여 1픽셀당 24비트 컬러를 표현하는 기존의 디스플레이 방법에서, 배경으로 있는 이미지 위에 다른 이미지를 그릴 경우 마치 투명하게 비치는 효과를 내기 위해 Alpha라는 8비트의 새로운 값을 각 픽셀에 할당하여 배경의 RGB와 그 위에 그려질 RGB 간을 혼합하여 표시하는 방법이다. 즉, RGB 영상 통합부(140)는 알파 블랜딩 방법을 통해 비디오 RGB 영상 및 GUI RGB 영상의 RGB 투명 정도를 조절하고, 이를 통해 비디오 RGB 영상에 GUI RGB 영상을 오버레이시킴으로써 하나의 RGB 영상을 생성한다.On the other hand, an alpha blending method can be used as a method for the RGB image integration unit 140 to overlay the GUI RGB image on the video RGB image. The alpha blending method is a conventional display method in which 8 bits are allocated to each of RGB to represent 24 bits of color per pixel. In order to produce a transparent image when an image is drawn on a background image, A new value is assigned to each pixel to display the RGB of the background and the RGB to be drawn thereon in a mixed manner. That is, the RGB image integrating unit 140 adjusts the degree of RGB transparency of the video RGB image and the GUI RGB image through the alpha blending method, thereby overlaying the GUI RGB image on the video RGB image, thereby generating one RGB image.

변환부(150)는 디멀티플렉싱부(120)로부터 추출된 오디오 스트림을 트랜스 코딩하여 변환 오디오 스트림을 생성하고, RGB 영상 통합부(140)로부터 생성된 RGB 영상을 인코딩하여 변환 비디오 스트림을 생성한다. 즉, 변환부(150)는 컨텐츠 스트림으로부터 추출된 오디오 스트림 및 비디오 RGB 영상에 GUI RGB 영상이 오버레이된 RGB 영상을 네트워크 내 다수의 미디어 디바이스에 적합하도록 변환시킨다. 한편, 변환부(150)는 오디오 스트림 변환부(152) 및 RGB 영상 변환부(154)로 구성된다.The converting unit 150 transcodes the audio stream extracted from the demultiplexing unit 120 to generate a converted audio stream, and encodes the RGB image generated from the RGB video integrating unit 140 to generate a converted video stream. That is, the converting unit 150 converts an RGB image, in which a GUI RGB image is overlaid on an audio stream and a video RGB image extracted from a content stream, to fit in a plurality of media devices in the network. The converting unit 150 includes an audio stream converting unit 152 and an RGB video converting unit 154.

오디오 스트림 변환부(152)는 오디오 스트림을 트랜스 코딩하여 변환 오디오 스트림을 생성한다. 즉, 오디오 스트림 변환부(150)는 특정 코덱 방식에 따라 인코딩되어 있는 오디오 스트림을 디코딩하고, 디코딩된 오디오 스트림을 네트워크 내 다수의 미디어 디바이스에 적합하도록 다시 인코딩시키는 트랜스 코딩을 통해 변환 오디오 스트림을 생성한다. The audio stream converting unit 152 transcodes the audio stream to generate a converted audio stream. That is, the audio stream converting unit 150 generates a converted audio stream through a transcoding that decodes an audio stream encoded according to a specific codec scheme and re-encodes the decoded audio stream to fit in a plurality of media devices in the network do.

한편, 오디오 스트림 변환부(152)는 오디오 스트림에 기 설정되어 있는 전송포맷 및 코덱을 미디어 디바이스에 대응되는 전송포맷 및 코덱으로 트랜스 코딩하여 변환 오디오 스트림을 생성한다. 이때, 전송포맷(Container)은 각각의 미디어의 시간적 정보와 재생기능(코덱정보,키프레임)에 대한 지원정보를 제공하는 포맷으로 파일포맷 및 스트리밍포맷을 포함한다. 파일포맷은 AVI, ASF(WMV, WMA 파일도 결국 ASF), MP4(MPEG4 파일포맷), MKV, FLV(아도비플래쉬)을 포함하며 스트리밍포맷은RTP(주로 인터넷), MPEG-2 TS(주로 방송)을 포함한다. Meanwhile, the audio stream converting unit 152 transcodes the transmission format and the codec preset in the audio stream to the transmission format and the codec corresponding to the media device to generate the converted audio stream. At this time, the transport format includes a file format and a streaming format in a format providing temporal information of each media and support information for a playback function (codec information, key frame). The file formats include AVI, ASF (eventually ASF for WMV and WMA files), MP4 (MPEG4 file format), MKV, FLV (Adobe Flash) and streaming formats include RTP (mainly Internet), MPEG- .

한편, 본 실시예에 따른 오디오 스트림 변환부(152)는 네트워크 내 다수의 미디어 디바이스의 종류 및 해당 미디어 디바이스의 전송포맷 및 코덱 정보를 기 파악하여 저장하고 있다.Meanwhile, the audio stream conversion unit 152 according to the present embodiment preliminarily stores the types of media devices in the network and the transmission format and codec information of the corresponding media devices.

RGB 영상 변환부(154)는 RGB 영상을 인코딩하여 변환 비디오 스트림을 생성한다. 즉, RGB 영상 변환부(154)는 RGB 영상을 네트워크 내 미디어 디바이스에 대응되는 전송포맷, 해상도 및 코덱으로 인코딩하여 변환 비디오 스트림을 생성한다. 한편, RGB 영상 변환부(154)는 네트워크 다수의 미디어 디바이스의 종류 및 해당 미디어 디바이스의 전송포맷, 해상도 및 코덱 정보를 기 파악하여 저장하고 있다.The RGB image converting unit 154 encodes the RGB image to generate a converted video stream. That is, the RGB image converting unit 154 encodes the RGB image into a transmission format, a resolution, and a codec corresponding to media devices in the network to generate a converted video stream. On the other hand, the RGB image converting unit 154 preliminarily stores the types of media devices of the network and the transmission format, resolution and codec information of the corresponding media devices.

전송부(160)는 변환 오디오 스트림 및 변환 비디오 스트림을 다수의 미디어 디바이스에 전송한다. 한편, 전송부(160)가 변환 오디오 스트림 및 변환 비디오 스트림을 다수의 미디어 디바이스에 전송하는 과정의 일 실시예에 대해 설명하자면, 먼저 전송부(160)는 변환 오디오 스트림 및 변환 비디오 스트림을 멀티플렉싱하여 하나의 변환 컨텐츠 스트림으로 전환한다. 한편, 전송부(160)로 전송되는 변환 오디오 스트림 및 변환 비디오 스트림은 오디오 스트림 변환부(152) 및 RGB 영상 변환부(154)를 통해 미디어 디바이스에 대응되는 전송포맷, 해상도 및 코덱으로 인코딩되어 있는 상태이다. 이에 변환 컨텐츠 스트림 역시 미디어 디바이스에 대응되는 전송포맷, 해상도 및 코덱 형태를 가지며, 설정되어 있는 코덱에 의해 특정 패킷 형태로 미디어 디바이스에 전송되게 된다.The transmitting unit 160 transmits the converted audio stream and the converted video stream to a plurality of media devices. [0040] [36] In an exemplary embodiment of the present invention, the transmitting unit 160 transmits the converted audio stream and the converted video stream to a plurality of media devices. First, the transmitting unit 160 multiplexes the converted audio stream and the converted video stream Into one converted content stream. On the other hand, the converted audio stream and the converted video stream transmitted to the transmitting unit 160 are encoded into the transmission format, resolution, and codec corresponding to the media device through the audio stream converting unit 152 and the RGB video converting unit 154 State. Accordingly, the converted content stream also has a transmission format, a resolution, and a codec format corresponding to the media device, and is transmitted to the media device in a specific packet format by the set codec.

한편, 전송부(160)는 변환 컨텐츠 스트림에 설정되어 있는 코덱 및 미디어 디바이스에 대한 정보를 근거로 특정 패킷에 변환 컨텐츠 스트림 즉, 변환 오디오 스트림, 변환 비디오 스트림을 배열하고, 미디어 디바이스의 IP 주소를 추가로 덧붙인다. 이를 통해 전송부(160)는 변환 오디오 스트림 및 변환 비디오 스트림을 다수의 미디어 디바이스에 전송할 수 있다.Meanwhile, the transmitting unit 160 arranges the converted content streams, that is, the converted audio stream and the converted video stream, in the specific packet based on the codec set in the converted content stream and the information about the media device, Add to that. The transmission unit 160 can transmit the converted audio stream and the converted video stream to a plurality of media devices.

한편, 본 실시예에서는 전송부(160)가 변환 오디오 스트림 및 변환 비디오 스트림을 멀티플렉싱하여 하나의 변환 컨텐츠 스트림으로 전환하고, 이를 특정 패킷 형태로 미디어 디바이스에 전송한다고 명시하였지만, 반드시 이에 한정되지는 않고 변환 오디오 스트림 및 변환 비디오 스트림을 각각 특정 패킷 형태로 미디어 디바이스에 전송할 수 있다.On the other hand, in the present embodiment, it is specified that the transmitting unit 160 multiplexes the converted audio stream and the converted video stream into one converted content stream and transmits it to the media device in the form of a specific packet. However, The converted audio stream, and the converted video stream, respectively, to the media device in the form of a specific packet.

도 2는 본 실시예에 따른 게이트웨이 장치(100)를 이용하여 컨텐츠 스트림이 변환되는 과정을 설명하기 위한 흐름도이다.2 is a flowchart illustrating a process of converting a content stream using the gateway device 100 according to the present embodiment.

도 2에서 도시하듯이, 본 실시예에 따른 게이트웨이 장치(100)는 IPTV 서비스 장치(200)로부터 컨텐츠 스트림을 제공받는다. IPTV 서비스 장치(200)는 컨텐츠 공급자로부터 복수의 컨텐츠 정보를 수신하고, 수신한 복수의 컨텐츠 정보를 셋탑박스 및 가입자 단말기로 분배하여 IPTV 가입자에게 실시간 방송 및 VOD 등의 서비스를 제공하는 장치이다. 한편, 본 실시예에 따른 IPTV 서비스 장치(200)는 컨텐츠 정보를 소정의 방식으로 인코딩하고, 이를 통해 생성된 컨텐츠 스트림을 게이트웨이 장치(100)에 전송한다. 이때, 컨텐츠 스트림은 TS Packet 형태로 게이트웨이 장치(100)에 전송되는 것이 바람직하나 반드시 이에 한정되지는 않는다.As shown in FIG. 2, the gateway apparatus 100 according to the present embodiment receives a content stream from the IPTV service apparatus 200. The IPTV service apparatus 200 receives a plurality of content information from a content provider, distributes the received plurality of content information to the set-top box and the subscriber terminal, and provides the IPTV subscriber with services such as real-time broadcasting and VOD. Meanwhile, the IPTV service apparatus 200 according to the present embodiment encodes the content information in a predetermined manner, and transmits the generated content stream to the gateway apparatus 100. At this time, the content stream is preferably transmitted to the gateway apparatus 100 in the form of a TS packet, but is not limited thereto.

한편, 컨텐츠 스트림은 게이트웨이 장치(100) 내 인증부(110)가 IPTV 서비스 장치(200)와 연계하여 기 설정된 인증절차를 수행하고, 해당 인증절차를 통해 인증이 완료된 경우 IPTV 서비스 장치(200)로부터 전송된다. 즉, 인증부(110)는 IPTV 서비스 장치(200)에 컨텐츠에 대한 요청신호를 전송하는 동시에 IPTV 서비스를 가입할 당시, IPTV 서비스 장치(200)로부터 부여받은 개별주소 및 그룹주소를 함께 전송한다. 이후, IPTV 서비스 장치(200)는 수신받은 개별주소 및 그룹주소를 확인하여 사용자가 IPTV 서비스에 가입하였다고 판단되는 경우, 인증부(110)에 컨텐츠 스트림 및 해당 컨텐츠 스트림에 대한 사용권한을 전송한다.Meanwhile, the content stream is transmitted from the IPTV service apparatus 200 when the authentication unit 110 in the gateway apparatus 100 performs a predetermined authentication procedure in association with the IPTV service apparatus 200, and authentication is completed through the corresponding authentication procedure . That is, the authentication unit 110 transmits a request signal for contents to the IPTV service apparatus 200, and simultaneously transmits the individual address and the group address given from the IPTV service apparatus 200 at the time of joining the IPTV service. Then, the IPTV service apparatus 200 confirms the received individual address and group address, and when it is determined that the user subscribes to the IPTV service, the IPTV service apparatus 200 transmits the content stream and the usage right for the corresponding content stream to the authentication unit 110.

한편, 컨텐츠 스트림은 IPTV 서비스 장치(200)로부터 실시간으로 스트림 형태로 수신되거나 기 수신되어 게이트웨이 장치(100)에 저장될 수 있다. Meanwhile, the content stream may be received in stream form from the IPTV service device 200 or may be received and stored in the gateway device 100.

게이트웨이 장치(100)에 전송된 컨텐츠 스트림은 디멀티플렉싱부(120)를 통해 각각 오디오 스트림, 비디오 스트림 및 전자프로그램가이드 정보로 분리된다. 즉, 디멀티플렉싱부(120)는 소정의 방식으로 인코딩된 컨텐츠 스트림을 디멀티플렉싱하고, 이를 통해 컨텐츠 스트림에 포함된 비디오 스트림, 오디오 스트림 및 전자프로그램가이드 정보를 추출한다.The content streams transmitted to the gateway apparatus 100 are separated into an audio stream, a video stream, and electronic program guide information through the demultiplexing unit 120, respectively. That is, the demultiplexing unit 120 demultiplexes a content stream encoded in a predetermined manner, thereby extracting a video stream, an audio stream, and electronic program guide information included in the content stream.

컨텐츠 스트림으로부터 추출된 비디오 스트림은 비디오 RGB 영상 획득부(132)에 의해 디코딩되고, 이를 통해 비디오 스트림으로부터 비디오 RGB 영상이 추출된다. 즉, 비디오 RGB 영상 획득부(132)는 특정 코덱 방식에 따라 인코딩되어 있는 비디오 스트림을 디코딩하고, 이를 통해 비디오 스트림으로부터 비디오의 각 픽셀에 대한 화소값을 추출한 비디오 RGB 영상을 획득한다.The video stream extracted from the content stream is decoded by the video RGB image acquiring unit 132, thereby extracting a video RGB image from the video stream. That is, the video RGB image acquiring unit 132 decodes a video stream encoded according to a specific codec scheme, and acquires a video RGB image from which a pixel value for each pixel of the video is extracted from the video stream.

컨텐츠 스트림으로부터 추출된 전자프로그램가이드 정보는 GUI RGB 영상 획득부(134)에 의해 렌더링되고, 이를 통해 전자프로그램가이드 정보가 표시된 영상 즉, GUI RGB 영상으로 변환된다. 즉, GUI RGB 영상 획득부(134)는 XML 형태의 전자프로그램가이드 정보를 렌더링하여 영상을 생성하고, 이를 통해 전자프로그램가이드 정보가 표시된 GUI RGB 영상을 획득한다.The electronic program guide information extracted from the content stream is rendered by the GUI RGB image acquiring unit 134, thereby converting the electronic program guide information into a displayed image, that is, a GUI RGB image. That is, the GUI RGB image acquisition unit 134 generates the image by rendering the electronic program guide information in the XML form, and acquires the GUI RGB image in which the electronic program guide information is displayed.

비디오 RGB 영상 및 GUI RGB 영상은 RGB 영상 통합부(140)에 의해 하나의 RGB 영상으로 통합되고, 이를 통해 RGB 영상이 생성된다. 즉, RGB 영상 통합부(140)는 비디오 RGB 영상 획득부(132)로부터 획득한 비디오 RGB 영상에 GUI RGB 영상 획득부(134)로부터 획득한 GUI RGB 영상을 오버레이시켜 RGB 영상을 생성하고, 이를 통해 비디오 영상과 전자프로그램가이드 정보가 하나의 RGB 영상에 디스플레이되도록 동작한다.The video RGB image and the GUI RGB image are integrated into one RGB image by the RGB image integrating unit 140, and an RGB image is generated through the RGB RGB image. That is, the RGB image integration unit 140 generates an RGB image by overlaying the GUI RGB image acquired from the GUI RGB image acquisition unit 134 on the video RGB image acquired from the video RGB image acquisition unit 132, The video image and the electronic program guide information are displayed on one RGB image.

컨텐츠 스트림으로부터 추출된 오디오 스트림은 오디오 스트림 변환부(152)에 의해 트랜스 코딩되어 변환 오디오 스트림으로 변환된다. 즉, 오디오 스트림 변환부(150)는 특정 코덱 방식에 따라 인코딩되어 있는 오디오 스트림을 디코딩하고, 디코딩된 오디오 스트림을 네트워크 내 다수의 미디어 디바이스(210)에 적합하도록 다시 인코딩시키는 트랜스 코딩을 통해 변환 오디오 스트림을 생성한다. 한편, 오디오 스트림 변환부(152)는 오디오 스트림에 기 설정되어 있는 전송포맷 및 코덱을 미디어 디바이스(210)에 대응되는 전송포맷 및 코덱으로 트랜스 코딩하여 변환 오디오 스트림을 생성한다.The audio stream extracted from the content stream is transcoded by the audio stream converting unit 152 and converted into a converted audio stream. That is, the audio stream converter 150 decodes the audio stream encoded according to the specific codec scheme, and transcodes the decoded audio stream to be suitable for a plurality of media devices 210 in the network. And generates a stream. On the other hand, the audio stream converting unit 152 transcodes the transmission format and the codec preset in the audio stream to the transmission format and codec corresponding to the media device 210 to generate a converted audio stream.

RGB 영상 통합부(140)를 통해 생성된 RGB 영상은 RGB 영상 변환부(154)에 의해 인코딩되어 변환 비디오 스트림으로 변환된다. 즉, RGB 영상 변환부(154)는 RGB 영상을 미디어 디바이스(210)에 대응되는 전송포맷, 해상도 및 코덱으로 인코딩하고, 이를 통해 변환 비디오 스트림을 생성한다.The RGB image generated through the RGB image integration unit 140 is encoded by the RGB image conversion unit 154 and converted into a converted video stream. That is, the RGB image converting unit 154 encodes the RGB image into the transmission format, resolution, and codec corresponding to the media device 210, and generates a converted video stream through the encoding.

한편, 본 실시예에서의 오디오 스트림 변환부(152) 및 RGB 영상 변환부(154)는 오디오 스트림 및 RGB 영상을 특정 미디어 디바이스에 대응하도록 한정하지 않고 다양한 네트워크 규격 및 다양한 미디어 디바이스에 대응되는 형태로 변환할 수 있다.The audio stream converting unit 152 and the RGB video converting unit 154 in the present embodiment are not limited to the audio stream and the RGB video corresponding to a specific media device but may be formed in a form corresponding to various network standards and various media devices Can be converted.

변환 오디오 스트림 및 변환 비디오 스트림은 전송부(160)를 통해 다수의 미디어 디바이스(210)에 전송된다. 한편, 전송부(160)는 변환 오디오 스트림 및 변환 비디오 스트림에 설정되어 있는 코덱 및 미디어 디바이스(210)에 대한 정보를 근거로 특정 패킷에 변환 오디오 스트림 및 변환 비디오 스트림을 각각 배열하고, 미디어 디바이스(210)의 IP 주소를 추가로 덧붙인다. 이를 통해 전송부(160)는 변환 오디오 스트림 및 변환 비디오 스트림을 다수의 미디어 디바이스(210)에 전송한다.The converted audio stream and the converted video stream are transmitted to the plurality of media devices 210 via the transmission unit 160. On the other hand, the transmitting unit 160 arranges the converted audio stream and the converted video stream in the specific packet based on the converted audio stream and the information about the codec and the media device 210 set in the converted video stream, respectively, 210) < / RTI > The transmission unit 160 transmits the converted audio stream and the converted video stream to the plurality of media devices 210. [

한편, 미디어 디바이스(210)는 AP를 포함한 통신 중개장치를 이용하여 각종 데이터를 송수신할 수 있는 미디어 디바이스를 말하는 것이며, 태블릿 PC(Tablet PC), 랩톱(Laptop), 개인용 컴퓨터(PC: Personal Computer), 스마트폰(Smart Phone), 개인휴대용 정보단말기(PDA: Personal Digital Assistant), 이동통신 단말기(Mobile Communication Terminal) 및 스마트 TV 등 중 어느 하나일 수 있다. 본 실시예에 따른, 미디어 디바이스(210)는 게이트웨이 장치(100)로부터 DLNA, Miracast, RTSP(Real Time Streaming Protocol), HLS(Http Live Streaming) 등의 미디어 디바이스(210)가 지원하는 프로토콜 형태로 변환된 컨텐츠를 제공받아 사용자에게 제공한다.The media device 210 refers to a media device capable of transmitting and receiving various data using a communication mediating apparatus including an AP. The media device 210 includes a tablet PC, a laptop, a personal computer (PC) A smart phone, a personal digital assistant (PDA), a mobile communication terminal, a smart TV, or the like. The media device 210 according to the present embodiment is converted from the gateway device 100 into a protocol format supported by the media device 210 such as DLNA, Miracast, Real Time Streaming Protocol (RTSP), HLS (Http Live Streaming) And provides the contents to the user.

도 3은 본 실시예에 따른 게이트웨이 장치(100)를 이용하여 컨텐츠가 홈 네트워크 내 DLNA 디바이스(300)에 전송되는 경우를 예시한 예시도이다. 한편, 도 3에서는 게이트웨이 장치(100)가 DLNA 규격에 따른 홈 네트워크 내 DLNA 디바이스(300)에 컨텐츠를 전송하는 경우를 예시하였으나 DLNA는 홈 네트워크 기술 표준의 일 실시예로서 반드시 이에 한정되지는 않고 다양한 홈 네트워크 규격에 따라 홈 네트워크 내 다수의 미디어 디바이스에 전송할 수 있다.3 is an exemplary view illustrating a case where content is transmitted to a DLNA device 300 in a home network using the gateway device 100 according to the present embodiment. 3 illustrates a case where the gateway apparatus 100 transmits content to the DLNA device 300 in the home network according to the DLNA standard. However, the DLNA is not limited to the home network technology standard It can be transmitted to a plurality of media devices in the home network according to the home network standard.

한편, 도 3에서는 도 2에 도시된 미디어 디바이스(210)가 DLNA 기반의 DLNA 디바이스(300)로 동작하는 경우를 예시하였다.3 illustrates a case where the media device 210 shown in FIG. 2 operates as a DLNA-based DLNA device 300. FIG.

DLNA(Digital Living Network Alliance)는 UPnP(Universal Plug-and-Play) 기술을 근간으로 하며, 물리적인 미디어, 네트워크 전송, 미디어 포맷, 스트리밍 프로토콜, DRM(Digital Right Management) 등의 표준화를 포함하고 있다. 즉, DLNA는 DLNA 표준안에서 기 제공하고 있는 DLNA 서비스를 통해 DLNA 네트워크 내 다수의 DLNA 디바이스에게 미디어 컨텐츠를 공유할 수 있는 기술을 의미한다.DLNA (Digital Living Network Alliance) is based on Universal Plug-and-Play (UPnP) technology and includes standardization of physical media, network transmission, media format, streaming protocol, and DRM (Digital Right Management). That is, DLNA means a technology for sharing media contents among DLNA devices in DLNA network through DLNA service provided in DLNA standard.

도 3에서 도시하듯이, 본 실시예에 따른 게이트웨이 장치(100)는 IPTV 서비스 장치(200)로부터 컨텐츠를 수신한다. 한편, IPTV 서비스 장치(200)는 컨텐츠 공급자로부터 컨텐츠 정보를 수신하고, 컨텐츠 정보를 소정의 방식으로 인코딩한 컨텐츠 스트림을 게이트웨이 장치(100)로 전송한다.As shown in FIG. 3, the gateway device 100 according to the present embodiment receives content from the IPTV service device 200. Meanwhile, the IPTV service apparatus 200 receives the content information from the content provider, and transmits the content stream, which is obtained by encoding the content information in a predetermined manner, to the gateway apparatus 100.

한편, 게이트웨이 장치(100)는 IPTV 서비스 장치(200)와 연계하여 기 설정된 인증절차를 수행하며, 인증절차를 이용하여 컨텐츠 스트림에 대한 사용권한을 획득한다. 즉, 게이트웨이 장치(100)는 IPTV 서비스 장치(200)에 컨텐츠에 대한 요청신호를 전송하는 동시에 IPTV 서비스를 가입할 당시, IPTV 서비스 장치(200)로부터 부여받은 개별주소 및 그룹주소를 함께 전송한다. IPTV 서비스 장치(200)는 수신받은 개별주소 및 그룹주소를 확인하여 사용자가 IPTV 서비스에 가입하였다고 판단되는 경우, 게이트웨이 장치(100)에 기 설정된 소정의 방식으로 인코딩된 컨텐츠 스트림을 제공한다.Meanwhile, the gateway apparatus 100 performs a predetermined authentication procedure in cooperation with the IPTV service apparatus 200, and obtains a usage right for the content stream using the authentication procedure. That is, the gateway device 100 transmits a request signal for contents to the IPTV service device 200, and simultaneously transmits the individual address and the group address given from the IPTV service device 200 at the time of subscribing to the IPTV service. The IPTV service apparatus 200 confirms the received individual address and group address, and provides the content stream encoded in the predetermined manner to the gateway apparatus 100 when it is determined that the user subscribes to the IPTV service.

게이트웨이 장치(100)는 IPTV 서비스 장치(200)로부터 전송된 컨텐츠 스트림으로부터 비디오 스트림, 오디오 스트림 및 전자프로그램가이드(EPG: Electronic Program Guide) 정보를 추출한다. The gateway apparatus 100 extracts a video stream, an audio stream, and electronic program guide (EPG) information from the content stream transmitted from the IPTV service apparatus 200.

게이트웨이 장치(100)는 추출된 비디오 스트림을 디코딩하여 비디오 RGB 영상을 획득한다. 즉, 게이트웨이 장치(100)는 특정 코덱 방식에 따라 인코딩되어 있는 비디오 스트림을 디코딩하고, 이를 통해 비디오 스트림으로부터 비디오의 각 픽셀에 대한 화소값을 추출한 비디오 RGB 영상을 획득한다.The gateway device 100 decodes the extracted video stream to acquire a video RGB image. That is, the gateway device 100 decodes a video stream encoded according to a specific codec scheme, and obtains a video RGB image from which a pixel value for each pixel of video is extracted from the video stream.

게이트웨이 장치(100)는 추출된 전자프로그램가이드 정보를 렌더링하여 전자프로그램가이드 정보가 표시된 영상 즉, GUI RGB 영상을 획득한다. 한편, 전자프로그램가이드(EPG)정보는 XML 형태로 전송되며 IPTV 서비스 장치(200)에서 제공되는 컨텐츠에 대한 정보, 예를 들어 실시간 방송, VOD 등에 대한 제목, 시간 및 기타 세부정보가 포함되어 있다. 렌더링(Rendering)은 컴퓨터 프로그램을 사용하여 모델(또는 이들을 모아놓은 장면인 씬(scene) 파일)로부터 영상을 만들어내는 과정을 말한다. 하나의 씬 파일에는 정확히 정의된 언어나 자료 구조로 이루어진 개체들이 있으며, 여기에는 가상의 장면(씬)을 표현하는 도형의 배열, 시점, 텍스처 매핑, 조명, 셰이딩 정보가 포함될 수 있다. 씬 파일에 포함된 자료들은 렌더링 프로그램에서 처리되어 결과물로서 디지털 이미지, 래스터 그래픽스 이미지 파일을 만들어낸다. 즉, 게이트웨이 장치(100)는 XML 형태의 전자프로그램가이드 정보를 렌더링하여 영상을 생성하고, 이를 통해 전자프로그램가이드 정보가 표시된 GUI RGB 영상을 획득한다.The gateway device 100 renders the extracted electronic program guide information to acquire an image in which the electronic program guide information is displayed, that is, a GUI RGB image. The electronic program guide (EPG) information is transmitted in XML format and includes information on contents provided by the IPTV service apparatus 200, for example, title, time, and other detailed information about real-time broadcast, VOD, Rendering refers to the process of creating an image from a model (or a scene file that is a collection of them) using a computer program. A scene file contains objects with precisely defined language or data structures, which may include an array of shapes representing a virtual scene (scene), viewpoints, texture mapping, lighting, and shading information. The data contained in the scene file is processed by the rendering program to produce digital images and raster graphics image files. That is, the gateway device 100 generates an image by rendering the electronic program guide information in XML form, and acquires a GUI RGB image in which the electronic program guide information is displayed.

게이트웨이 장치(100)는 IPTV 서비스 장치(200)로부터 제공되는 컨텐츠 스트림으로부터 획득한 비디오 RGB 영상에 컨텐츠 스트림으로부터 획득한 전자프로그램가이드 정보가 표시된 GUI RGB 영상을 오버레이하여 하나의 RGB 영상을 생성한다. 한편, 게이트웨이 장치(100)가 비디오 RGB 영상에 GUI RGB 영상을 오버레이시키는 방법으로 알파 블랜딩(Alpha Blending) 방법이 사용될 수 있다. 알파 블랜딩 방법은 RGB에 각각 8 비트씩 할당하여 1픽셀당 24비트 컬러를 표현하는 기존의 디스플레이 방법에서, 배경으로 있는 이미지 위에 다른 이미지를 그릴 경우 마치 투명하게 비치는 효과를 내기 위해 Alpha라는 8비트의 새로운 값을 각 픽셀에 할당하여 배경의 RGB와 그 위에 그려질 RGB 간을 혼합하여 표시하는 방법이다. 즉, 게이트웨이 장치(100)는 알파 블랜딩 방법을 통해 비디오 RGB 영상 및 GUI RGB 영상의 RGB 투명 정도를 조절하고, 이를 통해 비디오 RGB 영상에 GUI RGB 영상을 오버레이시킴으로써 하나의 RGB 영상을 생성한다.The gateway device 100 generates a RGB image by overlaying the GUI RGB image displayed with the electronic program guide information acquired from the content stream in the video RGB image obtained from the content stream provided from the IPTV service apparatus 200. Meanwhile, an alpha blending method may be used as a method for the gateway device 100 to overlay GUI RGB images on video RGB images. The alpha blending method is a conventional display method in which 8 bits are allocated to each of RGB to represent 24 bits of color per pixel. In order to produce a transparent image when an image is drawn on a background image, A new value is assigned to each pixel to display the RGB of the background and the RGB to be drawn thereon in a mixed manner. That is, the gateway device 100 adjusts the degree of RGB transparency of the video RGB image and the GUI RGB image through the alpha blending method, thereby overlaying the GUI RGB image on the video RGB image, thereby generating one RGB image.

게이트웨이 장치(100)는 컨텐츠 스트림으로부터 추출된 오디오 스트림 및 비디오 RGB 영상에 GUI RGB 영상이 오버레이된 RGB 영상을 홈 네트워크 내 DLNA를 기 내장한 다수의 DLNA 디바이스(300)에 적합하도록 변환시킨다. 즉, 게이트웨이 장치(100)는 특정 코덱 방식에 따라 인코딩되어 있는 오디오 스트림을 디코딩하고, 디코딩된 오디오 스트림을 DLNA 디바이스(300)에 대응되는 전송포맷 및 코덱으로 인코딩하는 트랜스 코딩을 통해 변환 오디오 스트림을 생성한다The gateway device 100 converts the RGB image overlaid on the audio stream and the video RGB image extracted from the content stream into the GUI RGB image to be suitable for a plurality of DLNA devices 300 including the DLNA in the home network. That is, the gateway device 100 decodes an audio stream encoded according to a specific codec scheme, and transcodes the decoded audio stream into a transport format and a codec corresponding to the DLNA device 300, Generate

또한, 게이트웨이 장치(100)는 RGB 영상을 인코딩하여 변환 비디오 스트림을 생성한다. 즉, 게이트웨이 장치(100)는 RGB 영상을 DLNA 디바이스(300)에 대응되는 전송포맷, 해상도 및 코덱으로 인코딩하여 변환 비디오 스트림을 생성한다.In addition, the gateway device 100 encodes an RGB image to generate a converted video stream. That is, the gateway device 100 encodes the RGB image with the transmission format, resolution, and codec corresponding to the DLNA device 300 to generate a converted video stream.

게이트웨이 장치(100)는 변환 오디오 스트림 및 변환 비디오 스트림을 DLNA 패킷 형태로 DLNA 디바이스(300)에 전송한다. 즉, 게이트웨이 장치(100)는 변환 오디오 스트림 및 변환 비디오 스트림에 설정되어 있는 코덱 및 DLNA 디바이스(300)에 대한 정보를 근거로 특정 패킷에 변환 오디오 스트림, 변환 비디오 스트림을 각각 배열하고, DLNA 디바이스(300)의 IP 주소를 추가로 덧붙인다. 이를 통해 게이트웨이 장치(100)는 변환 오디오 스트림 및 변환 비디오 스트림을 DLNA 패킷 형태로 DLNA 디바이스(300)에 전송할 수 있다.The gateway device 100 transmits the converted audio stream and the converted video stream to the DLNA device 300 in the form of a DLNA packet. That is, the gateway device 100 arranges the converted audio stream and the converted video stream in the specific packet based on the codec set in the converted audio stream and the converted video stream, and information on the DLNA device 300, 300) IP address. Whereby the gateway device 100 can transmit the converted audio stream and the converted video stream to the DLNA device 300 in the form of DLNA packets.

제1 내지 제3 DLNA 디바이스(310, 320, 330)를 포함하는 DLNA 디바이스(300)는 게이트웨이 장치(100)로부터 DLNA 디바이스(300)에 적합한 형태로 변형되어 DLNA 패킷 형태로 전송되는 컨텐츠를 수신하고, 이를 사용자에게 제공한다. 한편, DLNA는 홈 네트워크상에서 미디어 공유와 제어를 수행하는 디바이스 클래스로서 디지털 미디어 서버(Digital Media Server; 이하 'DMS'라고 칭함), 디지털 미디어 플레이어(Digital Media Player; 이하 'DMP'라고 칭함), 디지털 미디어 랜더러(Digital Media Renderer; 이하 'DMR'라고 칭함) 및 디지털 미디어 컨트롤(Digital Media Controller; 이하 'DMC'라고 칭함)를 정의한다.The DLNA device 300 including the first to third DLNA devices 310, 320 and 330 receives the content transformed from the gateway device 100 into a form suitable for the DLNA device 300 and transmitted in DLNA packet format , And provides it to the user. The DLNA is a device class that performs media sharing and control on a home network. The DLNA includes a digital media server (DMS), a digital media player (DMP) Defines a media renderer (DMR) and a digital media controller (DMC).

이를 간략히 살펴보면, DMS 디바이스는 로컬 콘텐츠를 네트워크에 등록 및 분배하는 역할을 하며, DMP 디바이스는 DMS 디바이스가 등록한 콘텐츠를 찾아 이를 DMP 자체의 재생기에서 재생한다. DMR 디바이스는 DMC 디바이스의 요청에 따라 해당 콘텐츠를 전송받아 재생하며, DMC 디바이스는 DMS가 등록한 콘텐츠를 찾아 DMR에 재생을 위한 설정을 하고, DMR과 DMS간 연결을 유지시킨다. In brief, the DMS device registers and distributes the local content to the network, and the DMP device finds the content registered by the DMS device and reproduces the content in the player of the DMP itself. The DMR device receives and plays the corresponding content according to the request of the DMC device. The DMC device finds the content registered by the DMS, sets the reproduction for the DMR, and maintains the connection between the DMR and the DMS.

한편, 본 실시예에 따른 게이트웨이 장치(100)는 DLNA 디바이스(300)와의 관계에 있어서 DMS(Digital Media Server) 기능을 수행하고, DLNA 디바이스(300)는 DMR(Digital Media Renderer) 또는 DMP(Digital Media Player) 기능을 수행할 수 있다.Meanwhile, the gateway device 100 according to the present embodiment performs a DMS (Digital Media Server) function in relation to the DLNA device 300, and the DLNA device 300 performs DMR (Digital Media Renderer) or DMP Player) function can be performed.

한편, 도 3에서 도시된 게이트웨이 장치(100)는 도 1에 명시된 모든 기능을 수행할 수 있으며 이에 자세한 설명은 생략하도록 한다.Meanwhile, the gateway device 100 shown in FIG. 3 can perform all the functions shown in FIG. 1, and a detailed description thereof will be omitted.

도 4는 본 실시예에 따른 게이트웨이 장치(100)가 컨텐츠를 홈 네트워크 내 다수의 미디어 디바이스에 전송하는 방법을 설명하기 위한 순서도이다.FIG. 4 is a flowchart illustrating a method of transmitting a content to a plurality of media devices in a home network by the gateway device 100 according to the present embodiment.

도 4에서 도시하듯이 본 실시예에 따른 게이트웨이 장치(100)가 컨텐츠를 홈 네트워크 내 다수의 미디어 디바이스에 전송하는 방법은 IPTV 서비스 장치(200)로부터 수신한 컨텐츠 스트림에서 비디오 스트림, 오디오 스트림 및 전자프로그램가이드 정보를 각각 추출하는 과정으로부터 시작된다(S400). 즉, 게이트웨이 장치(100)는 소정의 방식으로 인코딩된 컨텐츠 스트림을 디멀티플렉싱(Demultiplexing)하고, 이를 통해 컨텐츠 스트림에 포함된 비디오 스트림, 오디오 스트림 및 전자프로그램가이드 정보를 추출한다.As shown in FIG. 4, the gateway device 100 according to the embodiment of the present invention transmits content to a plurality of media devices in the home network. The method includes receiving, from the content stream received from the IPTV service apparatus 200, And program guide information, respectively (S400). That is, the gateway device 100 demultiplexes a content stream encoded in a predetermined manner, and extracts a video stream, an audio stream, and electronic program guide information contained in the content stream.

한편, 게이트웨이 장치(100)는 IPTV 서비스 장치(200)와 연계하여 기 설정된 인증절차를 수행하며, 인증절차를 이용하여 컨텐츠 스트림에 대한 사용권한을 획득한다. 이때, 게이트웨이 장치(100)는 IPTV 서비스 장치(200)에 컨텐츠에 대한 요청신호를 전송하는 동시에 IPTV 서비스를 가입할 당시, IPTV 서비스 장치(200)로부터 부여받은 개별주소 및 그룹주소를 함께 전송한다. IPTV 서비스 장치(200)는 수신받은 개별주소 및 그룹주소를 확인하여 사용자가 IPTV 서비스에 가입하였다고 판단되는 경우, 게이트웨이 장치(100)에 기 설정된 소정의 방식으로 인코딩된 컨텐츠 스트림 및 해당 컨텐츠 스트림에 대한 사용권한을 재전송한다.Meanwhile, the gateway apparatus 100 performs a predetermined authentication procedure in cooperation with the IPTV service apparatus 200, and obtains a usage right for the content stream using the authentication procedure. At this time, the gateway device 100 transmits a request signal for contents to the IPTV service device 200, and simultaneously transmits the individual address and the group address given from the IPTV service device 200 at the time of joining the IPTV service. If it is determined that the user has subscribed to the IPTV service, the IPTV service apparatus 200 confirms the received individual address and group address, and transmits the content stream encoded in the predetermined method predetermined in the gateway apparatus 100 and the content stream Resend permissions.

한편, 컨텐츠 스트림은 IPTV 서비스 장치로부터 실시간으로 스트림 형태로 수신되거나 기 수신되어 게이트웨이 장치(100)에 저장된 컨텐츠를 의미한다.On the other hand, the content stream refers to the content received or received in real time from the IPTV service device in stream form and stored in the gateway device 100.

게이트웨이 장치(100)는 비디오 스트림을 디코딩하여 비디오 RGB 영상을 획득한다(S410). 즉, 게이트웨이 장치(100)는 특정 코덱 방식에 따라 인코딩되어 있는 비디오 스트림을 디코딩하고, 이를 통해 비디오 스트림으로부터 비디오의 각 픽셀에 대한 화소값을 추출한 비디오 RGB 영상을 획득한다. 한편, 개별 방송국으로부터 IPTV 서비스 장치(200)에 전송되는 컨텐츠는 IPTV 서비스 장치에서 특정 코덱 방식에 따라 인코딩되어 스트림 형태로 전송된다. 이때, 특정 코덱 방식은 MPEG-2(Moving Pictures Exports Group-2) 코덱 또는 H.264/MPEG-4 코덱이 사용될 수 있으며 컨텐츠 내 비디오 RGB 영상 역시 해당 코덱 방식에 따라 인코딩될 수 있다.The gateway device 100 decodes the video stream to obtain a video RGB image (S410). That is, the gateway device 100 decodes a video stream encoded according to a specific codec scheme, and obtains a video RGB image from which a pixel value for each pixel of video is extracted from the video stream. On the other hand, the content transmitted from the individual broadcasting station to the IPTV service apparatus 200 is encoded in the IPTV service apparatus according to a specific codec scheme and transmitted in stream form. In this case, a specific codec scheme may be MPEG-2 (Moving Pictures Exports Group-2) codec or H.264 / MPEG-4 codec, and a video RGB image in the content may be encoded according to the codec scheme.

게이트웨이 장치(100)는 전자프로그램가이드 정보를 렌더링하여 GUI RGB 영상을 획득한다(S420). 한편, 전자프로그램가이드(EPG)정보는 XML 형태로 전송되며 IPTV 서비스 장치(200)에서 제공되는 컨텐츠에 대한 정보, 예를 들어 실시간 방송, VOD 등에 대한 제목, 시간 및 기타 세부정보가 포함되어 있다. 렌더링(Rendering)은 컴퓨터 프로그램을 사용하여 모델(또는 이들을 모아놓은 장면인 씬(scene) 파일)로부터 영상을 만들어내는 과정을 말한다. 하나의 씬 파일에는 정확히 정의된 언어나 자료 구조로 이루어진 개체들이 있으며, 여기에는 가상의 장면(씬)을 표현하는 도형의 배열, 시점, 텍스처 매핑, 조명, 셰이딩 정보가 포함될 수 있다. 씬 파일에 포함된 자료들은 렌더링 프로그램에서 처리되어 결과물로서 디지털 이미지, 래스터 그래픽스 이미지 파일을 만들어낸다. 즉, 게이트웨이 장치(100)는 XML 형태의 전자프로그램가이드 정보를 렌더링하여 영상을 생성하고, 이를 통해 전자프로그램가이드 정보가 표시된 GUI RGB 영상을 획득한다.The gateway device 100 renders the electronic program guide information to acquire the GUI RGB image (S420). The electronic program guide (EPG) information is transmitted in XML format and includes information on contents provided by the IPTV service apparatus 200, for example, title, time, and other detailed information about real-time broadcast, VOD, Rendering refers to the process of creating an image from a model (or a scene file that is a collection of them) using a computer program. A scene file contains objects with precisely defined language or data structures, which may include an array of shapes representing a virtual scene (scene), viewpoints, texture mapping, lighting, and shading information. The data contained in the scene file is processed by the rendering program to produce digital images and raster graphics image files. That is, the gateway device 100 generates an image by rendering the electronic program guide information in XML form, and acquires a GUI RGB image in which the electronic program guide information is displayed.

게이트웨이 장치(100)는 비디오 RGB 영상에 전자프로그램가이드 정보가 표시된 GUI RGB 영상을 오버레이하여 RGB 영상을 생성한다(S430). 한편, 게이트웨이 장치(100)가 비디오 RGB 영상에 GUI RGB 영상을 오버레이시키는 방법으로 알파 블랜딩(Alpha Blending) 방법이 사용될 수 있다. 알파 블랜딩 방법은 RGB에 각각 8 비트씩 할당하여 1픽셀당 24비트 컬러를 표현하는 기존의 디스플레이 방법에서, 배경으로 있는 이미지 위에 다른 이미지를 그릴 경우 마치 투명하게 비치는 효과를 내기 위해 Alpha라는 8비트의 새로운 값을 각 픽셀에 할당하여 배경의 RGB와 그 위에 그려질 RGB 간을 혼합하여 표시하는 방법이다. 즉, 게이트웨이 장치(100)는 알파 블랜딩 방법을 통해 비디오 RGB 영상 및 GUI RGB 영상의 RGB 투명 정도를 조절하고, 이를 통해 비디오 RGB 영상에 GUI RGB 영상을 오버레이시킴으로써 하나의 RGB 영상을 생성한다.The gateway device 100 generates an RGB image by overlaying a GUI RGB image displayed with electronic program guide information on a video RGB image (S430). Meanwhile, an alpha blending method may be used as a method for the gateway device 100 to overlay GUI RGB images on video RGB images. The alpha blending method is a conventional display method in which 8 bits are allocated to each of RGB to represent 24 bits of color per pixel. In order to produce a transparent image when an image is drawn on a background image, A new value is assigned to each pixel to display the RGB of the background and the RGB to be drawn thereon in a mixed manner. That is, the gateway device 100 adjusts the degree of RGB transparency of the video RGB image and the GUI RGB image through the alpha blending method, thereby overlaying the GUI RGB image on the video RGB image, thereby generating one RGB image.

게이트웨이 장치(100)는 오디오 스트림을 트랜스 코딩하여 변환 오디오 스트림을 생성하고, RGB 영상을 인코딩하여 변화 RGB 스트림을 생성한다(S440). 즉, 게이트웨이 장치(100)는 특정 코덱 방식에 따라 인코딩되어 있는 오디오 스트림을 디코딩하고, 디코딩된 오디오 스트림을 홈 네트워크 내 다수의 미디어 디바이스에 적합하도록 다시 인코딩시키는 트랜스 코딩을 통해 변환 오디오 스트림을 생성한다. 이때, 게이트웨이 장치(100)는 오디오 스트림에 기 설정되어 있는 전송포맷 및 코덱을 네트워크 내 다수의 미디어 디바이스에 대응되는 전송포맷 및 코덱으로 트랜스 코딩하여 변환 오디오 스트림을 생성한다.The gateway device 100 transcodes the audio stream to generate a converted audio stream, and encodes the RGB video to generate a changed RGB stream (S440). That is, the gateway device 100 generates a converted audio stream by decoding an audio stream encoded according to a specific codec scheme, and then transcoding the decoded audio stream back to be suitable for a plurality of media devices in the home network . At this time, the gateway device 100 transcodes the transport format and the codec preset in the audio stream into the transport format and codec corresponding to a plurality of media devices in the network to generate a converted audio stream.

또한, 게이트웨이 장치(100)는 RGB 영상을 인코딩하여 변환 비디오 스트림을 생성한다. 즉, 게이트웨이 장치(100)는 RGB 영상을 네트워크 내 다수의 미디어 디바이스에 대응되는 전송포맷, 해상도 및 코덱으로 인코딩하여 변환 비디오 스트림을 생성한다. 한편, 게이트웨이 장치(100)는 네트워크 내 다수의 미디어 디바이스의 종류 및 해당 미디어 디바이스의 전송포맷, 해상도 및 코덱 정보를 기 파악하여 저장하고 있다.In addition, the gateway device 100 encodes an RGB image to generate a converted video stream. That is, the gateway device 100 encodes an RGB image into a transmission format, a resolution, and a codec corresponding to a plurality of media devices in the network to generate a converted video stream. On the other hand, the gateway device 100 pre-stores the types of the media devices in the network and the transmission format, resolution, and codec information of the corresponding media devices.

게이트웨이 장치(100)는 변환 오디오 스트림 및 변환 비디오 스트림을 다수의 미디어 디바이스에 전송한다(S450). 즉, 게이트웨이 장치(100)는 변환 오디오 스트림 및 변환 비디오 스트림에 설정되어 있는 코덱 및 미디어 디바이스에 대한 정보를 근거로 특정 패킷에 변환 오디오 스트림 및 변환 비디오 스트림을 각각 배열하고 미디어 디바이스의 IP 주소를 추가로 덧붙인다. 이를 통해 게이트웨이 장치(100)는 변환 오디오 스트림 및 변환 비디오 스트림을 다수의 미디어 디바이스에 전송한다.The gateway device 100 transmits the converted audio stream and the converted video stream to a plurality of media devices (S450). That is, the gateway device 100 arranges the converted audio stream and the converted video stream in a specific packet based on the converted audio stream and the information about the codec and the media device set in the converted video stream, and adds the IP address of the media device . Whereby the gateway device 100 transmits the converted audio stream and the converted video stream to a plurality of media devices.

도 4에서는 단계 S400 내지 단계 S450을 순차적으로 실행하는 것으로 기재하고 있으나, 이는 본 발명의 일 실시예의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명의 일 실시예가 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 일 실시예의 본질적인 특성에서 벗어나지 않는 범위에서 도 4에 기재된 순서를 변경하여 실행하거나 단계 S400 내지 단계 S450 중 하나 이상의 단계를 병렬적으로 실행하는 것으로 다양하게 수정 및 변형하여 적용 가능할 것이므로, 도 4는 시계열적인 순서로 한정되는 것은 아니다.4, steps S400 to S450 are sequentially executed. However, this is merely illustrative of the technical idea of an embodiment of the present invention, and it is not intended to limit the scope of the present invention to the general knowledge in the technical field to which an embodiment of the present invention belongs. Those skilled in the art will appreciate that various modifications and adaptations may be made to those skilled in the art without departing from the essential characteristics of one embodiment of the present invention by changing the order described in Figure 4 or by executing one or more of steps S400 through S450 in parallel And therefore, it is not limited to the time-series order in Fig.

이상의 설명은 본 실시예의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 실시예가 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 실시예의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 실시예들은 본 실시예의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 실시예의 기술 사상의 범위가 한정되는 것은 아니다. 본 실시예의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 실시예의 권리범위에 포함되는 것으로 해석되어야 할 것이다.The foregoing description is merely illustrative of the technical idea of the present embodiment, and various modifications and changes may be made to those skilled in the art without departing from the essential characteristics of the embodiments. Therefore, the present embodiments are to be construed as illustrative rather than restrictive, and the scope of the technical idea of the present embodiment is not limited by these embodiments. The scope of protection of the present embodiment should be construed according to the following claims, and all technical ideas within the scope of equivalents thereof should be construed as being included in the scope of the present invention.

100: 게이트웨이 장치 110: 인증부
120: 디멀티플렉싱부 132: 비디오 RGB 영상 획득부
134: GUI RGB 영상 획득부 140: RGB 영상 통합부
152: 오디오 스트림 변환부 154: RGB 영상 변환부
160: 전송부 200: IPTV 서비스 장치
210: 미디어 디바이스 300: DLNA 디바이스
100: gateway device 110:
120: Demultiplexing unit 132: Video RGB image obtaining unit
134: GUI RGB image acquisition unit 140: RGB image integration unit
152: audio stream conversion unit 154: RGB video conversion unit
160: Transmitting unit 200: IPTV service device
210: media device 300: DLNA device

Claims (11)

IPTV 서비스 장치로부터 제공되는 컨텐츠 스트림으로부터 획득한 비디오 RGB 영상에 상기 컨텐츠 스트림으로부터 획득한 전자프로그램가이드(EPG) 정보가 표시된 GUI RGB 영상을 오버레이하여 하나의 RGB 영상을 생성하는 RGB 영상 통합부;
상기 컨텐츠 스트림으로부터 획득한 오디오 스트림을 트랜스 코딩하여 변환 오디오 스트림을 생성하고, 상기 하나의 RGB 영상을 인코딩하여 변환 비디오 스트림을 생성하는 변환부; 및
상기 변환 오디오 스트림 및 상기 변환 비디오 스트림을 다수의 미디어 디바이스에 전송하는 전송부
를 포함하는 것을 특징으로 하는 게이트웨이 장치.
An RGB image integration unit for overlaying a GUI RGB image in which electronic program guide (EPG) information obtained from the content stream is superimposed on a video RGB image acquired from a content stream provided from an IPTV service apparatus, thereby generating one RGB image;
A converter for transcoding an audio stream obtained from the content stream to generate a converted audio stream, and encoding the one RGB image to generate a converted video stream; And
A transmission unit for transmitting the converted audio stream and the converted video stream to a plurality of media devices,
The gateway apparatus comprising:
제 1항에 있어서,
상기 IPTV 서비스 장치와 연계하여 기 설정된 인증절차를 수행하며, 상기 인증절차를 이용하여 상기 컨텐츠 스트림에 대한 사용권한을 획득하는 인증부를 더 포함하는 것을 특징으로 하는 게이트웨이 장치.
The method according to claim 1,
Further comprising an authentication unit for performing a predetermined authentication procedure in association with the IPTV service apparatus and obtaining a usage right for the content stream using the authentication procedure.
제 1항에 있어서,
상기 컨텐츠 스트림으로부터 비디오 스트림, 상기 오디오 스트림 및 상기 전자프로그램가이드 정보를 각각 추출하는 디멀티플렉싱부를 더 포함하는 것을 특징으로 하는 게이트웨이 장치.
The method according to claim 1,
Further comprising a demultiplexing unit for extracting the video stream, the audio stream, and the electronic program guide information from the content stream, respectively.
제 3항에 있어서,
상기 비디오 스트림을 디코딩하여 상기 비디오 RGB 영상을 획득하는 비디오 RGB 영상 획득부; 및
상기 전자프로그램가이드 정보를 렌더링(Rendering)하여 상기 GUI RGB 영상을 획득하는 GUI RGB 영상 획득부를 더 포함하는 것을 특징으로 하는 게이트웨이 장치.
The method of claim 3,
A video RGB image obtaining unit decoding the video stream to obtain the video RGB image; And
Further comprising a GUI RGB image acquisition unit for rendering the GUI RGB image by rendering the electronic program guide information.
제 1항에 있어서,
상기 변환부는 상기 오디오 스트림에 기 설정되어 있는 전송포맷 및 코덱을 상기 미디어 디바이스에 대응되는 전송포맷 및 코덱으로 트랜스 코딩하여 상기 변환 오디오 스트림을 생성하는 오디오 스트림 변환부를 포함하는 것을 특징으로 하는 게이트웨이 장치.
The method according to claim 1,
Wherein the converting unit comprises an audio stream converting unit for generating the converted audio stream by transcoding a transmission format and a codec preset in the audio stream to a transmission format and a codec corresponding to the media device.
제 1항에 있어서,
상기 변환부는 상기 하나의 RGB 영상을 상기 미디어 디바이스에 대응되는 전송포맷, 해상도 및 코덱으로 인코딩하여 상기 변환 비디오 스트림을 생성하는 RGB 영상 변환부를 포함하는 것을 특징으로 하는 게이트웨이 장치.
The method according to claim 1,
Wherein the converting unit includes an RGB image converting unit that encodes the one RGB image with a transmission format, resolution, and codec corresponding to the media device to generate the converted video stream.
제 1항에 있어서,
상기 컨텐츠 스트림은 상기 IPTV 서비스 장치로부터 실시간으로 스트림 형태로 수신되거나 기 수신되어 상기 게이트웨이 장치에 저장된 것임을 특징으로 하는 게이트웨이 장치.
The method according to claim 1,
Wherein the content stream is received in stream form from the IPTV service device in real time or is received and stored in the gateway device.
제 1항에 있어서,
상기 게이트웨이 장치는 상기 미디어 디바이스가 DLNA(Digital Living Network Alliance) 기반의 DLNA 디바이스인 경우 상기 미디어 디바이스와의 관계에 있어서 DMS(Digital Media Server) 기능을 수행하고,
상기 미디어 디바이스는 DMR(Digital Media Renderer) 또는 DMP(Digital Media Player) 기능을 수행할 수 있는 미디어 디바이스인 것을 특징으로 하는 게이트웨이 장치.
The method according to claim 1,
The gateway device performs a DMS (Digital Media Server) function in relation to the media device when the media device is a Digital Living Network Alliance (DLNA) -based DLNA device,
Wherein the media device is a media device capable of performing a DMR (Digital Media Renderer) or a DMP (Digital Media Player) function.
게이트웨이 장치가 컨텐츠를 다수의 미디어 디바이스에 전송하는 방법에 있어서,
IPTV 서비스 장치로부터 제공되는 컨텐츠 스트림으로부터 획득한 비디오 RGB 영상에 상기 컨텐츠 스트림으로부터 획득한 전자프로그램가이드(EPG) 정보가 표시된 GUI RGB 영상을 오버레이하여 하나의 RGB 영상을 생성하는 과정;
상기 컨텐츠 스트림으로부터 획득한 오디오 스트림을 트랜스 코딩하여 변환 오디오 스트림을 생성하고, 상기 하나의 RGB 영상을 인코딩하여 변환 비디오 스트림을 생성하는 과정; 및
상기 변환 오디오 스트림 및 상기 변환 비디오 스트림을 상기 다수의 미디어 디바이스에 전송하는 과정
을 포함하는 것을 특징으로 하는 전송방법.
A method for a gateway device to transmit content to a plurality of media devices,
Generating an RGB image by overlaying a GUI RGB image displayed with electronic program guide (EPG) information obtained from the content stream on a video RGB image obtained from a content stream provided from an IPTV service apparatus;
Transcoding an audio stream obtained from the content stream to generate a converted audio stream, and encoding the RGB video to generate a converted video stream; And
Transmitting the converted audio stream and the converted video stream to the plurality of media devices
And transmitting the transmission data.
제 9항에 있어서,
상기 컨텐츠 스트림으로부터 비디오 스트림, 상기 오디오 스트림 및 상기 전자프로그램가이드 정보를 각각 추출하는 과정을 더 포함하는 것을 특징으로 하는 전송방법.
10. The method of claim 9,
And extracting the video stream, the audio stream, and the electronic program guide information from the content stream, respectively.
제 10항에 있어서,
상기 비디오 스트림을 디코딩하여 상기 비디오 RGB 영상을 획득하는 과정; 및
상기 전자프로그램가이드 정보를 렌더링(Rendering)하여 상기 GUI RGB 영상을 획득하는 과정
을 더 포함하는 것을 특징으로 하는 전송방법.
11. The method of claim 10,
Decoding the video stream to obtain the video RGB image; And
A step of rendering the electronic program guide information and acquiring the GUI RGB image
≪ / RTI >
KR1020130045054A 2013-04-23 2013-04-23 Method and Gateway Device for Providing Contents to Media Device KR101441867B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130045054A KR101441867B1 (en) 2013-04-23 2013-04-23 Method and Gateway Device for Providing Contents to Media Device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130045054A KR101441867B1 (en) 2013-04-23 2013-04-23 Method and Gateway Device for Providing Contents to Media Device

Publications (1)

Publication Number Publication Date
KR101441867B1 true KR101441867B1 (en) 2014-09-23

Family

ID=51760502

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130045054A KR101441867B1 (en) 2013-04-23 2013-04-23 Method and Gateway Device for Providing Contents to Media Device

Country Status (1)

Country Link
KR (1) KR101441867B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100728004B1 (en) 2005-10-19 2007-06-14 삼성전자주식회사 Method and apparatus for transmitting of broadcast service
KR20070100509A (en) * 2006-04-07 2007-10-11 삼성전자주식회사 Method and system for transforming contents of broadcasting in dlna network
KR100803609B1 (en) 2006-11-13 2008-02-15 삼성전자주식회사 Method and apparatus for sharing content

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100728004B1 (en) 2005-10-19 2007-06-14 삼성전자주식회사 Method and apparatus for transmitting of broadcast service
KR20070100509A (en) * 2006-04-07 2007-10-11 삼성전자주식회사 Method and system for transforming contents of broadcasting in dlna network
KR100803609B1 (en) 2006-11-13 2008-02-15 삼성전자주식회사 Method and apparatus for sharing content

Similar Documents

Publication Publication Date Title
US11073969B2 (en) Multiple-mode system and method for providing user selectable video content
US9021541B2 (en) Streaming digital video between video devices using a cable television system
US9854333B2 (en) Method and apparatus for transmitting and receiving broadcast signal for providing HEVC based IP broadcast service
US20140139735A1 (en) Online Media Data Conversion Method, Online Video Playing Method and Corresponding Device
US11240552B2 (en) Multi-stream placeshifting
US10051026B2 (en) Real-time transcode transfer method and system based on HTTP under DLNA
KR102464061B1 (en) Method and device for sending and receiving media data
US20130135179A1 (en) Control method and device thereof
CN103312599A (en) Multi-network routing gateway system
US20130185745A1 (en) Method, system and television for picture reproduction
KR20130038192A (en) Content output system and codec information sharing method thereof
US10368144B2 (en) Method and device for transmitting and receiving broadcast signal
US20140112636A1 (en) Video Playback System and Related Method of Sharing Video from a Source Device on a Wireless Display
CN105430510A (en) Video on demand method, gateway, smart terminal and video on demand system
CN116233490A (en) Video synthesis method, system, device, electronic equipment and storage medium
CN102710967A (en) Cloud television system and method
KR101441867B1 (en) Method and Gateway Device for Providing Contents to Media Device
US20140359657A1 (en) Method for embedding and multiplexing audio metadata in a broadcasted analog video stream
US20180131995A1 (en) Method for rendering audio-video content, decoder for implementing this method and rendering device for rendering this audio-video content
US10521250B2 (en) Method and system for communicating between a host device and user device through an intermediate device using a composite video signal
TWI673999B (en) Method for transmission of audiovisual content and/or data
EP3160156A1 (en) System, device and method to enhance audio-video content using application images
US20140237528A1 (en) Apparatus and method for use with a data stream
Demeyere et al. Analysis and Development of an MHP Application for Live Event Broadcasting and Video Conferencing
WO2015155893A1 (en) Video output apparatus, video reception apparatus, and video output method

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20170905

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20180903

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20190626

Year of fee payment: 6