KR20080065068A - Apparatus for receiving digital broadcasting and method of transmitting data - Google Patents

Apparatus for receiving digital broadcasting and method of transmitting data Download PDF

Info

Publication number
KR20080065068A
KR20080065068A KR1020070001986A KR20070001986A KR20080065068A KR 20080065068 A KR20080065068 A KR 20080065068A KR 1020070001986 A KR1020070001986 A KR 1020070001986A KR 20070001986 A KR20070001986 A KR 20070001986A KR 20080065068 A KR20080065068 A KR 20080065068A
Authority
KR
South Korea
Prior art keywords
module
host
data
common interface
signal
Prior art date
Application number
KR1020070001986A
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 KR1020070001986A priority Critical patent/KR20080065068A/en
Publication of KR20080065068A publication Critical patent/KR20080065068A/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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4623Processing of entitlement messages, e.g. ECM [Entitlement Control Message] or EMM [Entitlement Management Message]
    • EFIXED CONSTRUCTIONS
    • E01CONSTRUCTION OF ROADS, RAILWAYS, OR BRIDGES
    • E01CCONSTRUCTION OF, OR SURFACES FOR, ROADS, SPORTS GROUNDS, OR THE LIKE; MACHINES OR AUXILIARY TOOLS FOR CONSTRUCTION OR REPAIR
    • E01C9/00Special pavings; Pavings for special parts of roads or airfields
    • E01C9/08Temporary pavings
    • E01C9/083Temporary pavings made of metal, e.g. plates, network
    • EFIXED CONSTRUCTIONS
    • E01CONSTRUCTION OF ROADS, RAILWAYS, OR BRIDGES
    • E01DCONSTRUCTION OF BRIDGES, ELEVATED ROADWAYS OR VIADUCTS; ASSEMBLY OF BRIDGES
    • E01D19/00Structural or constructional details of bridges
    • E01D19/12Grating or flooring for bridges; Fastening railway sleepers or tracks to bridges
    • E01D19/125Grating or flooring for bridges
    • EFIXED CONSTRUCTIONS
    • E01CONSTRUCTION OF ROADS, RAILWAYS, OR BRIDGES
    • E01DCONSTRUCTION OF BRIDGES, ELEVATED ROADWAYS OR VIADUCTS; ASSEMBLY OF BRIDGES
    • E01D21/00Methods or apparatus specially adapted for erecting or assembling bridges
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/418External card to be used in combination with the client device, e.g. for conditional access
    • H04N21/4181External card to be used in combination with the client device, e.g. for conditional access for conditional access
    • 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
    • H04N21/43607Interfacing a plurality of external cards, e.g. through a DVB Common Interface [DVB-CI]
    • 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/4405Processing 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 video stream decryption

Abstract

An apparatus for receiving digital broadcasting and a method of transmitting data are provided to transmit an encoded transport stream through a common interface by a host controller for reducing cost of the host and speeding communication between the host and a module, thereby improving performance of the digital broadcasting receiver. A host(110) comprises a tuner(111), a demodulator(112), a demultiplexer(113), an MPEG decoder(114) and a host controller(115). The demodulator outputs a scrambled transport stream by demodulating broadcasting signals. An conditional access module includes a descrambler(121), a verifier(123), and a module controller(122). The descrambler outputs the descrambled transport stream, and a common interface is installed at a digital broadcasting receiver for communication between the host and the module. The host transmits the encoded transport stream to the module through the common interface.

Description

디지털 방송 수신기와 데이터 전송방법{Apparatus for receiving digital broadcasting and method of transmitting data}Apparatus for receiving digital broadcasting and method of transmitting data}

도 1은 본 발명의 조건부 접속 장치를 구비한 디지털 방송 수신기를 도시한 것이다.1 shows a digital broadcast receiver having a conditional access device of the present invention.

도 2는 본 발명에 따른 공통 인터페이스(Common Interface)의 통신의 일 실시예를 도시한 것이다.2 illustrates an embodiment of communication of a common interface according to the present invention.

도 3은 본 발명에 따른 공통 인터페이스를 통한 호스트와 모듈 간 통신 방법의 또 다른 실시예를 도시한 것이다.3 illustrates another embodiment of a communication method between a host and a module through a common interface according to the present invention.

*도면의 주요부분에 대한 부호의 설명 * Explanation of symbols for main parts of the drawings

110 : 호스트(Host)110: host

111 : 튜너(Tuner) 112 : 복조기(Demodulator)111: Tuner 112: Demodulator

113 : MPEG 디코더 (MPEG Decoder) 114 : 역다중화기(Demultiplexer)113: MPEG Decoder 114: Demultiplexer

115 : 호스트 제어기(Host Controller) 120 : 모듈(Module)115: host controller 120: module

121 : 디스크램블러(Descrambler)121: Descrambler

122 : 모듈 제어기(Module Controller)122: Module Controller

123 : 검증기(Verifier)123 Verifier

130 : 스마트 카드(Smart Card)130: smart card

본 발명은 디지털 방송의 재생에 관한 것에 관한 것이다.The present invention relates to the reproduction of digital broadcasting.

최근 디지털 방송이 본격화됨에 따라, 디지털 비디오 방송(Digital Video Brodcasting), 디지털 멀티미디어 방송(Digital Multimedia Brodcasting) 등과 같은, 상기 디지털 방송의 송수신과 시청에 관련된 표준화 작업들이 이루어지고 있다. Recently, as digital broadcasting is in full swing, standardization works related to transmission and reception of digital broadcasting, such as digital video broadcasting and digital multimedia broadcasting, have been performed.

아울러, 권한을 갖는 시청자만이 상기 디지털 방송을 시청할 수 있도록 제어하는 조건부 접속 시스템(Conditional Access System)이 개발되고 있다. 상기 조건부 접속 시스템을 다양한 방식들 중 하나는, 복호화(descrambling) 기능을 내장한 하드웨어적 형태의 모듈과 디지털 티비(TV) 수신기로 대표되는 호스트(host) 간의 표준화된 공통 인터페이스(Common Interface)를 기반으로 하여 상기 조건부 시스템을 구성하는 방식이다. 따라서, 이러한 방식의 조건부 접속 시스템에 있어서는, 상기 공통 인터페이스를 정의하는 것이 중요하다. In addition, a conditional access system has been developed for controlling only authorized viewers to watch the digital broadcast. One of various methods of the conditional access system is based on a standardized common interface between a hardware type module having a descrambling function and a host represented by a digital TV receiver. In this way, the conditional system is configured. Therefore, in such a conditional connection system, it is important to define the common interface.

그러나, 아직 상기 공통 인터페이스를 구현하는 바람직한 방법이 제시되지 않아, 본격적인 디지털 방송과 그 주변기기의 개발에 어려움이 따르고 있는 실정이다.However, since a preferred method for implementing the common interface has not been proposed yet, there is a difficulty in developing digital broadcasting and its peripherals in earnest.

본 발명은 상기와 같은 문제점을 해결하기 위한 것으로서, 디지털 방송을 효 율적으로 재생할 수 있는 방법을 제공하는 것에 그 목적이 있다.The present invention has been made to solve the above problems, and an object thereof is to provide a method for efficiently reproducing digital broadcasting.

상기 목적을 달성하기 위하여, 본 발명은 디지털 방송 신호를 수신하는 호스트(host), 상기 디지털 방송 신호로의 엑세스를 제어하는 모듈(module), 상기 호스트와 모듈을 인터페이스하는 공통 인터페이스(Common Interface)를 포함하는 디지털 방송 수신기에 있어서, 상기 호스트는 상기 모듈이 전송할 모듈 데이터가 있음을 나타내는 끼어들기(interrupt) 신호를 탐지하여 상기 공통 인터페이스를 통해 통신 개시 신호를 상기 모듈로 전송하여 상기 모듈과의 통신을 개시하고, 상기 모듈은 전송할 상기 모듈 데이터가 있는 경우, 상기 끼어들기 신호를 생성하고, 상기 통신 개시 신호를 수신하여 상기 모듈 데이터를 포함하는 응답 신호를 상기 공통 인터페이스를 통해 상기 모듈에 전송하는 것을 특징으로 하는 디지털 수신기를 제공한다.In order to achieve the above object, the present invention provides a host for receiving a digital broadcast signal, a module for controlling access to the digital broadcast signal, and a common interface for interfacing the host and the module. In the digital broadcast receiver, the host detects an interrupt signal indicating that there is module data to be transmitted by the module and transmits a communication start signal to the module through the common interface to communicate with the module. Initiate, the module generates the interrupt signal, receives the communication start signal, and transmits a response signal including the module data to the module through the common interface when there is the module data to transmit. It provides a digital receiver.

또한, 본 발명은 상기 공통 인터페이스가 전송 스트림(transport stream)의 전송 통로인 전송 스트림 인터페이스(transport stream interface)와 전송 스트림을 복호화에 사용되는 데이터의 전송 통로인 커맨드 인터페이스(command interface)로 구성되는 실시예를 포함한다.The present invention also provides a common interface comprising a transport stream interface, which is a transport path of a transport stream, and a command interface, which is a transport path of data used to decrypt a transport stream. Include an example.

또한, 본 발명은 상기 통신 개시 신호가 상기 커맨드 인터페이스에서 정의된, 데이터 전송을 위한 오브젝트(object)들 중, "T_Data_Last" 오브젝트인 실시예를 포함한다.In addition, the present invention includes an embodiment in which the communication start signal is a "T_Data_Last" object among objects for data transmission, defined in the command interface.

또한, 본 발명은 상기 응답 신호가 상기 커맨드 인터페이스에서 정의된, 데 이터 전송을 위한 오브젝트들 중, "T_SB" 오브젝트인 실시예를 포함한다.The present invention also includes an embodiment in which the response signal is a "T_SB" object, among the objects for data transmission, defined in the command interface.

또한, 본 발명은 상기 호스트가 상기 모듈로 전송할 호스트 데이터가 있는 경우, 상기 커맨드 인터페이스에 정의된, 데이터 전송을 위한 오브젝트들 중, 상기 호스트 데이터를 포함하는 "T_Data_More" 또는 "T_Data_Last" 오브젝트를 상기 모듈로 전송하여 통신을 개시하는 실시예를 포함한다.Also, when the host has host data to be transmitted to the module, the module may include a "T_Data_More" or "T_Data_Last" object including the host data, among the objects for data transmission, defined in the command interface. It includes an embodiment for transmitting to initiate communication.

또한, 본 발명은 상기 모듈의 사용되지 않는 핀(pin)들 중 하나가 상기 끼어들기 신호를 위한 핀으로 사용되는 실시예를 포함한다.The invention also includes an embodiment in which one of the unused pins of the module is used as the pin for the interrupt signal.

또한, 본 발명은 상기 끼어들기 신호를 위한 핀은 CE #2핀이고, 상기 호스트는 상기 CE#2 핀이 상기 모듈에 의해 활성화되면, 상기 통신 개시 신호를 상기 모듈에 전송하는 실시예를 포함한다.The present invention also includes an embodiment in which the pin for the interrupt signal is a CE # 2 pin, and the host transmits the communication start signal to the module when the CE # 2 pin is activated by the module. .

또한, 본 발명은 디지털 방송 신호를 수신하는 호스트(host)와 상기 디지털 방송 신호로의 엑세스를 제어하는 모듈(module)을 포함하는 디지털 방송 수신기의 공통 인터페이스(Common Interface)를 통한 데이터 전송방법에 있어서, 상기 호스트로 전송할 모듈 데이터가 있는 경우, 전송할 상기 모듈 데이터가 있음을 나타내는 끼어들기 신호를 생성하는 끼어들기(interrupt) 신호 생성 단계; 상기 끼어들 신호를 탐지한 호스트가 상기 공통 인터페이스를 통해 통신 개시 신호를 상기 모듈로 전송하여 상기 모듈과의 통신을 개시하는 통신 개시 단계; 그리고 상기 통신 개시 신호를 수신하면, 상기 모듈 데이터를 포함하는 응답 신호를 상기 공통 인터페이스를 통해 상기 모듈에 전송하는 데이터 전송 단계를 포함하는 것을 특징으로 하는 디지털 방송 수신기의 공통 인터페이스를 통한 데이터 전송방법을 제공한다.The present invention also provides a data transmission method through a common interface of a digital broadcast receiver including a host for receiving a digital broadcast signal and a module for controlling access to the digital broadcast signal. An interrupt signal generation step of generating an interrupt signal indicating that there is the module data to be transmitted when there is module data to be transmitted to the host; A communication initiation step of the host detecting the interrupt signal transmitting a communication initiation signal to the module through the common interface to initiate communication with the module; And a data transmission step of transmitting a response signal including the module data to the module through the common interface when receiving the communication start signal. to provide.

도 1은 본 발명의 조건부 접속 장치를 구비한 디지털 방송 수신기를 도시한 것으로서, 상기 디지털 방송 수신기는 호스트(110)와 조건부 엑세스 모듈(120)을 포함한다.1 illustrates a digital broadcast receiver having a conditional access device according to the present invention, wherein the digital broadcast receiver includes a host 110 and a conditional access module 120.

도 1을 참조하면, 상기 호스트(110)는, 무선 주파수(Radio Frequency) 신호를 수신하여 설정된 채널에 대응하는 방송 신호를 출력하는 튜너(Tuner)(111), 상기 튜너(111)로부터 출력된 상기 방송 신호를 복조(demodulate)하여 암호화된(scrambled) 전송 스트림(Transport Stream)을 출력하는 복조기(Demodulator)(112), 복호화된 전송 스트림(descrambled Transport Stream)을 역다중화(Demultiplex)하는 역다중화기(Demultiplexer)(113), 상기 역다중화기(113)로부터 제공된 오디오/비디오 스트림을 디코딩하여 출력하는 엠펙 디코더(MPEG Decoder)(114)와 상기 구성요소들을 제어하는 호스트 제어기(Host Controller)(115) 등을 구비한다.Referring to FIG. 1, the host 110 receives a radio frequency signal and outputs a tuner 111 to output a broadcast signal corresponding to a set channel, and the output from the tuner 111. A demodulator 112 for demodulating a broadcast signal to output a scrambled transport stream, and a demultiplexer for demultiplexing a decoded transport stream. 113, an MPEG decoder 114 for decoding and outputting an audio / video stream provided from the demultiplexer 113, and a host controller 115 for controlling the components. do.

또한, 상기 조건부 엑세스 모듈(120)은, 상기 호스트(110)의 상기 복조기(112)에서 출력되는 상기 암호화된 전송 스트림(scrambled Transport Stream)을 해독하으로써 상기 복호화된 전송 스트림(descrambled Transport Stream)을 출력하는 디스크램블러(Descrambler)(121), 스마트 카드(130) 등의 외부 정보 매체로부터 사용자 인증 정보를 독출하여 현재 사용자의 권한을 확인하는 검증기(Verifier)(123)와 상기 구성요소들을 제어하기 위한 모듈 제어기(Module Controller)(122) 등을 구비한다.The conditional access module 120 also decrypts the decrypted transport stream by decrypting the encrypted transport stream output from the demodulator 112 of the host 110. A verifier 123 for checking the current user's authority by reading user authentication information from an external information medium such as a descrambler 121 and a smart card 130 that is output, and for controlling the components. A module controller 122 and the like.

또한, 상기 호스트(110)와 다양한 방송 사업자로부터 제공되는 상기 모듈(120) 사이에서의 통신을 가능하도록 하는 공통 인터페이스(Common Interface)가 상기 디지털 방송 수신기에 구비된다. In addition, the digital broadcast receiver is provided with a common interface that enables communication between the host 110 and the module 120 provided from various broadcasting companies.

관련하여, 상기 공통 인터페이스는 특정 규격 예를 들어, EN50221(Common InterfSpecification for Conditional Access and other Digital Video Broadcasting Decoder Applications)에 근거하여 구성된다. In this regard, the common interface is configured based on a specific standard, for example, EN50221 (Common InterfSpecification for Conditional Access and other Digital Video Broadcasting Decoder Applications).

상기 호스트(110)는 호스트 제어기(115)의 제어를 받아, 상기 공통 인터페이스를 통해, 암호화된 전송 스트림을 복호화에 필요한 각종 커맨드, 복호화 데이터 등과 함께 상기 모듈(120)에 전송한다. 상기 모듈(120)의 모듈 제어기(122)는, 디스크램블러(121)를 제어하여, 상기 전송된 암호화된 전송 스트림을 상기 전송된 각종 커맨드, 복호화 데이터 등을 이용하여 복호화한다. 상기 복호화된 전송 스트림은 복호화 과정에서 생성된, 스트림 데이터 이외의 각종 데이터와 함께, 상기 공통 인터페이스를 통해 상기 호스트(110)로 전송된다.Under the control of the host controller 115, the host 110 transmits the encrypted transport stream to the module 120 along with various commands and decryption data necessary for decryption through the common interface. The module controller 122 of the module 120 controls the descrambler 121 to decrypt the transmitted encrypted transport stream using the transmitted various commands, decrypted data, and the like. The decoded transport stream is transmitted to the host 110 through the common interface together with various data other than the stream data generated in the decoding process.

구체적으로, 상기 공통 인터페이스는 암호화/복호화된 전송 스트림(scrambled/descrambled Transport Stream)이 오고 가는 통로를 위한 인터페이스인 전송 스트림 인터페이스(Transport Stream Interface; TSI)와, 암호화된 전송 스트림(scrambled)을 복조화(descrambled)하는데 사용되는 커맨드, 정보 등이 오고 가는 인터페이스인 커맨드 인터페이스(Command Interface)로 구성된다. 상기 커맨드 인터페이스는 물리 레이어(Physical layer), 링크 레이어(Link Layer), 전송 레이어(Transport layer), 어플리케이션 레이어(Application layer) 등을 포함한다. Specifically, the common interface demodulates a transport stream interface (TSI), which is an interface for the passage between the encrypted / descrambled transport stream and the encrypted transport stream (scrambled). Commands, information, and the like used to descrambled are composed of a command interface, which is an interface to and from the network. The command interface includes a physical layer, a link layer, a transport layer, an application layer, and the like.

관련하여, 상기 커맨드 인터페이스를 구성하는 상기 전송 레이어(Transport layer)에서의, 상기 호스트(110)와 상기 모듈(120) 간의 통신은, 항상 상기 호스트(110)로부터 시작된다. 결국, 상기 호스트(110)가 상기 커맨드 인터페이스를 통해 상기 모듈(120)로부터 데이터를 받기 위해서는, 송신할 데이터가 있는지를 상기 모듈(120)에 문의하여야 한다. 이하에서는 도 2 및 도 3을 참조하여, 본 발명의 디지털 방송 수신기에 포함되는 공통 인터페이스를 통한, 호스트(110)와 모듈(120) 간 바람직한 통신방법을 설명한다.In this regard, the communication between the host 110 and the module 120 at the transport layer constituting the command interface always starts from the host 110. As a result, in order for the host 110 to receive data from the module 120 through the command interface, the host 110 should inquire whether the module 120 has data to transmit. Hereinafter, a preferred communication method between the host 110 and the module 120 through a common interface included in the digital broadcast receiver of the present invention will be described with reference to FIGS. 2 and 3.

도 2는 본 발명의 공통 인터페이스를 통한 호스트와 모듈 간 통신 방법의 일 실시예를 도시한 것으로서, 폴링(polling) 방식에 의한 호스트와 모듈 간 통신을 나타낸 것이다. 2 illustrates an embodiment of a communication method between a host and a module through a common interface of the present invention, and illustrates a communication between the host and the module by a polling method.

현재 디지털 방송의 공통 인터페이스와 관련된 표준은, 폴링(polling) 방식을 이용하여 커맨드 인터페이스에서의 호스트(110)와 모듈(120) 간 통신을 수행하도록 하고 있다. 구체적으로, 호스트(110)가 커맨드 인터페이스를 통해 호스트(110)는 모듈(120)로 데이터를 보내고자 하는 경우, 호스트 제어기(115)는 상기 커맨드 인터페이스의 전송 레이어에서 정의된 전송 프로토콜 오브젝트(object)들 중, 데이터의 전송에 사용되는 오브젝트에 상기 데이터를 실어 상기 모듈(120)로 보내도록 제어한다. 상기 호스트(110)로부터 상기 모듈(120)로 보내지는 상기 오브젝트에는 예를 들어, 보낼 데이터가 더 있다는 것을 나타내는 오브젝트(예를 들어, "T_Data_More" 오브젝트), 보낼 마지막 데이터임을 나타내는 오브젝트(예를 들어, "T_Data_Last" 오브젝트) 등이 있다. Currently, the standard related to the common interface of digital broadcasting allows a communication between the host 110 and the module 120 in a command interface using a polling method. Specifically, when the host 110 wishes to send data to the module 120 through the command interface, the host controller 115 may transmit a transport protocol object defined in the transport layer of the command interface. Among them, the control unit is to send the data to the module 120 to put the data on the object used for the transmission of data. The object sent from the host 110 to the module 120 has, for example, an object indicating that there is more data to send (eg, a "T_Data_More" object), an object indicating that it is the last data to send (eg , A "T_Data_Last" object).

상기 전송 레이어를 통해 한번에 보내질 수 있는 데이터의 크기는 제한되어 있게 마련이다. 따라서, 상기 호스트 제어기(115)는, 상기 전송 레이어(transport layer)에서 제한된 크기보다 큰 데이터를 전송하고자 하는 경우, 상기 데이터를 나누어 상기 모듈(120)에 보내게 된다. 예를 들어, 데이터를 세 번으로 나누어 상기 모듈(120)에 보내는 경우, 상기 호스트 제어기(115)는 상기 나누어진 데이터를 포함하는 오브젝트 들을 "T_Data_More->T_Data_More->T_Data_Last" 순으로 상기 모듈(120)에 보내게 된다. 이와 같이, 호스트(110)가 모듈(120)로 보내고자 하는 데이터가 있을 경우에는, 상기 호스트(110)만이 통신을 시작할 수 있다는 제약이 크게 문제되지 않는다. The size of data that can be sent at one time through the transport layer is limited. Therefore, when the host controller 115 wants to transmit data larger than a limited size in the transport layer, the host controller 115 divides the data and sends the divided data to the module 120. For example, when data is divided into three times and sent to the module 120, the host controller 115 may transmit objects including the divided data in the order of "T_Data_More-> T_Data_More-> T_Data_Last". Sent to). As such, when there is data that the host 110 wants to send to the module 120, the restriction that only the host 110 can start communication is not a big problem.

그러나, 반대로 모듈(120)이 호스트(110)로 보내고자 하는 데이터가 있는 경우에는 호스트(110)가 먼저 통신을 시작해야 하므로, 도 2의 실시예에 따른 호스트(110)는 일정 주기(예를 들어, 최대 100ms 주기)로 모듈(120)을 폴링한다. 구체적으로 호스트 제어기(115)는 특별히 보낼 데이터가 없을 때는 주기적으로 "T_Data_Last" 오브젝트를 모듈(120)로 보내고, 이에 대응하여 상기 모듈(120)의 모듈 제어기(122)는 응답 오브젝트(예를 들어, "T_SB" 오브젝트)를 커맨드 인터페이스를 통해 상기 호스트(110)에 보낸다. On the contrary, if the module 120 has data to be sent to the host 110, the host 110 should start communication first, and thus the host 110 according to the embodiment of FIG. For example, the module 120 is polled at a maximum of 100 ms. In detail, the host controller 115 periodically sends a "T_Data_Last" object to the module 120 when there is no data to be sent, and the module controller 122 of the module 120 responds with a response object (eg, "T_SB" object) is sent to the host 110 via the command interface.

즉, 폴링 방식에서, 호스트(110)가 특별히 보낼 데이터가 없는 경우에는, 호스트(110)에서 모듈(120)로의 "T_Data_Last" 오브젝트 전송과, 상기 모듈(120)에서 상기 호스트(110)로의 "T_SB" 오브젝트 전송이 반복되게 된다. 모듈 제어기(122)는, 상기 호스트(110)로 보낼 데이터가 없는 경우에는, 상기 "T_Data_Last" 오브젝 트에 대한 응답으로써 데이터가 없는 더미(dummy) "T_SB" 오브젝트("T_SB(no data))를 상기 호스트(110)에 보내고, 보낼 데이터가 있는 경우에는 상기 데이터를 포함한 "T_SB" 오브젝트("T_SB(data))를 상기 호스트(110)에 보내게 된다.That is, in the polling method, when there is no data to be specifically transmitted by the host 110, the "T_Data_Last" object is transmitted from the host 110 to the module 120 and the "T_SB" from the module 120 to the host 110. "The object transfer is repeated. When there is no data to be sent to the host 110, the module controller 122 may receive a dummy "T_SB" object ("T_SB (no data)) having no data in response to the" T_Data_Last "object. Is transmitted to the host 110, and if there is data to be sent, a "T_SB" object ("T_SB (data)) including the data is sent to the host 110.

현재 표준에 정의된 공통 인터페이스는, 상기와 같은 폴링 방식을 사용하는 커맨드 인터페이스를 통해, 호스트(110)와 모듈(120) 간에서 데이터를 주고 받는 것이 가능하게 된다. 그러나, 상기 폴링 방식에 의하면, 호스트(110)가 주기적으로 상기 모듈(120)을 폴링하여야 하므로 상기 호스트(110)의 부담을 증대시키게 된다. 또한, 상기 폴링 구조는 상기 호스트(110)와 상기 모듈(120) 간 오브젝트 교환 때문에, 어느 정도의 대기 시간(latency time)(평균주기/2)이 소요되는 문제점이 있다.The common interface defined in the current standard makes it possible to exchange data between the host 110 and the module 120 through a command interface using the above-described polling scheme. However, according to the polling method, since the host 110 needs to poll the module 120 periodically, the burden on the host 110 is increased. In addition, the polling structure requires a certain latency time (average period / 2) due to object exchange between the host 110 and the module 120.

따라서, 상기와 같은 문제점을 해결하기 위하여, 본 발명은 폴링 방식을 통한 통신이 아닌, 끼어들기(interrupt) 방식을 사용하는 공통 인터페이스를 제공한다.Accordingly, in order to solve the above problem, the present invention provides a common interface using an interrupt method, rather than a communication through a polling method.

도 3은 본 발명의 공통 인터페이스를 통한 호스트와 모듈 간 통신 방법의 또 다른 실시예를 도시한 것으로서, 본 발명에 따라, 끼어들기 방식을 채택한 공통 이터페이스에서의 호스트(110)와 모듈(120) 간 통신을 나타낸 것이다. FIG. 3 illustrates another embodiment of a method of communication between a host and a module through a common interface of the present invention, and in accordance with the present invention, the host 110 and the module 120 in a common interface employing an interrupt method. It shows communication between.

도 3을 참조하면, 모듈(120)이 호스트(110)로 보내고자 하는 데이터가 있는 경우, 상기 공통 인터페이스를 채택한 조건부 엑세스 모듈의, 일종의 물리적 인터페이스에 해당하는 복수의 핀(pin)들 중 사용이 정의되지 않은 핀(pin)을 이용하여 끼어들기(interrupt) 신호를 상기 호스트(110)에 보낸다. Referring to FIG. 3, when the module 120 has data to be sent to the host 110, use of a plurality of pins corresponding to a kind of physical interface of the conditional access module adopting the common interface may occur. An interrupt signal is sent to the host 110 using an undefined pin.

예를 들어, EN50221에 따라 공통 인터페이스가 구성되는 경우, 상기 커맨드 인터페이스의 물리 레이어는 복수개의 핀을 갖게 되는데, 상기 핀들 중 아직 사용이 정의되지 않은 핀 예를 들어, CE#2 핀이 상기 끼어들기용 핀으로 사용될 수 있다. For example, if a common interface is configured in accordance with EN50221, the physical layer of the command interface will have a plurality of pins, of which pins for which the use is not yet defined, for example, the CE # 2 pin. Can be used as an instrument pin.

상기 CE#2 핀을 끼어들기용 핀으로 사용하는 경우, 상기 모듈(120)에서 상기 호스트(110)로 보낼 데이터가 있을 때, 상기 모듈 제어기(122)는 상기 CE#2 핀을 활성화(activate)(어서트(assert)라고도 함)시킨다. 상기 호스트(110)의 호스트 제어기(115)가 상기 끼어들기 신호를 탐지하면 즉, 상기 CE#2 핀이 활성화된 것을 탐지하면, 도 2에서 설명한 바와 마찬가지로, 전송 레이어(transport layer)에서 정의된 전송 프로토콜 오브젝트 예를 들어, "T_Data_Last" 오브젝트를 상기 모듈(120)에 보낸다. 상기 "T_Data_Last" 오브젝트를 수신한 상기 모듈(120)의 모듈 제어기(122)는 "T_SB" 오브젝트를 통해 데이터를 상기 호스트(110)에 보내게 된다. When using the CE # 2 pin as an interrupting pin, when there is data to be sent from the module 120 to the host 110, the module controller 122 activates the CE # 2 pin. (Also called an assert). When the host controller 115 of the host 110 detects the interrupt signal, that is, detects that the CE # 2 pin is activated, the transmission defined in the transport layer, as described in FIG. A protocol object, for example, a "T_Data_Last" object is sent to the module 120. The module controller 122 of the module 120 that receives the "T_Data_Last" object sends data to the host 110 through the "T_SB" object.

결국, 도 2의 실시예에서는 모듈(120)이 데이터를 보내고자 하는 상황에 대비하여, 호스트(110)가 주기적으로 모듈(120)을 폴링한다. 이에 반하여, 도 3의 실시예에는 끼어들기 신호를 탐지하는 경우에만 호스트(120)가 "T_Data_Last" 오브젝트를 모듈(120)에 보내어, 데이터 전송을 위한 통신을 시작하는 것에 차이가 있다.As a result, in the embodiment of FIG. 2, the host 110 periodically polls the module 120 in preparation for a situation in which the module 120 wants to send data. In contrast, in the embodiment of FIG. 3, the host 120 transmits a "T_Data_Last" object to the module 120 only when detecting an interrupt signal to start communication for data transmission.

도 3에서 설명한 끼어들기 방식을 갖는 공통 인터페이스를 채택하는 경우, 호스트가(110)가 모듈(120)로부터의 끼어들기 신호가 있는 경우에 "T_Data_Last"를상기 모듈(120)로 보내어 데이터를 받게 되므로, 주기적으로 "T_Data_Last" 신호를 상기 모듈(120)에 보내는 경우보다 호스트(110)의 부담을 줄일 수 있는 장점이 있 다. 또한, 폴링 방식의 경우, 모듈(120)이 호스트(110)로부터 "T_Data_Last" 오브젝트를 받아 통신이 개시된 후에 보낼 데이터가 있는지를 탐색하고, 그 결과에 따라 "T_SB" 오브젝트를 응답으로써 상기 호스트(120)에 보내므로, 대기 시간(latency time)이 발생하게 된다. 따라서, 끼어들기 방식에서는 상기 모듈(120)이 보낼 데이터가 있을 때 끼어들기 신호를 발하기 때문에, 상기 폴링 방식에 비해 통신 속도가 향상되는 효과가 있다. In the case of adopting the common interface having the interrupt method described in FIG. 3, when the host 110 receives the interrupt signal from the module 120, the host 110 sends “T_Data_Last” to the module 120 to receive data. In this case, the burden on the host 110 may be reduced compared to the case in which the "T_Data_Last" signal is periodically transmitted to the module 120. In addition, in the polling method, the module 120 receives the "T_Data_Last" object from the host 110 and searches whether there is data to be sent after the communication is started, and accordingly, the host 120 responds with the "T_SB" object. ), A latency time occurs. Therefore, in the interrupt method, since the interrupt signal is generated when the module 120 has data to be transmitted, the communication speed is improved compared to the polling method.

따라서, 본 발명에 따라 공통 인터페이스가 끼어들기 방식을 사용하는 경우, 상기 공통 인터페이스를 채용하는 디지털 방송 수신기의 성능이 전반적으로 향상되게 된다. Therefore, when the common interface is interrupted according to the present invention, the performance of the digital broadcast receiver employing the common interface is generally improved.

본 발명을 상술한 실시예에 한정되지 않으며, 첨부된 청구범위에서 알 수 있는 바와 같이 본 발명이 속한 분야의 통상의 지식을 가진 자에 의해 변형이 가능하고 이러한 변형은 본 발명의 범위에 속한다. The present invention is not limited to the above-described embodiments, and as can be seen in the appended claims, modifications can be made by those skilled in the art to which the invention pertains, and such modifications are within the scope of the present invention.

상기에서 설명한 본 발명에 따른 디지털 방송 수신기의 공통 인터페이스 및 그를 통한 데이터 전송방법에 의하면, 호스트의 부담이 줄어들게 되고, 호스트와 모듈 사이의 통신 속도가 빨라지는 장점이 있다. 따라서, 상기 공통 인터페이스를 채용하는 디지털 방송 수신기의 성능이 전반적으로 향상되는 효과가 있다. According to the common interface and the data transmission method through the digital broadcast receiver according to the present invention described above, the burden on the host is reduced, and the communication speed between the host and the module is increased. Therefore, the overall performance of the digital broadcast receiver employing the common interface is improved.

Claims (13)

디지털 방송 신호를 수신하는 호스트(host), 상기 디지털 방송 신호로의 엑세스를 제어하는 모듈(module), 상기 호스트와 모듈을 인터페이스(interface)하는 공통 인터페이스(Common Interface)를 포함하는 디지털 방송 수신기에 있어서,A digital broadcast receiver comprising a host for receiving a digital broadcast signal, a module for controlling access to the digital broadcast signal, and a common interface for interfacing the host and the module. , 상기 호스트는 상기 모듈이 전송할 모듈 데이터가 있음을 나타내는 끼어들기(interrupt) 신호를 탐지하여 상기 공통 인터페이스를 통해 통신 개시 신호를 상기 모듈로 전송하여 상기 모듈과의 통신을 개시하고,The host detects an interrupt signal indicating that there is module data to be transmitted by the module and transmits a communication start signal to the module through the common interface to initiate communication with the module; 상기 모듈은 전송할 상기 모듈 데이터가 있는 경우, 상기 끼어들기 신호를 생성하고, 상기 통신 개시 신호를 수신하여 상기 모듈 데이터를 포함하는 응답 신호를 상기 공통 인터페이스를 통해 상기 모듈에 전송하는 것을 특징으로 하는 디지털 수신기.The module generates the interrupt signal when there is the module data to be transmitted, receives the communication start signal, and transmits a response signal including the module data to the module through the common interface. receiving set. 제 1 항에 있어서,The method of claim 1, 상기 공통 인터페이스는 전송 스트림(transport stream)의 전송 통로인 전송 스트림 인터페이스(transport stream interface)와 전송 스트림을 복호화에 사용되는 데이터의 전송 통로인 커맨드 인터페이스(command interface)로 구성되는 것을 특징으로 하는 디지털 방송 수신기.The common interface is a digital broadcast comprising a transport stream interface, which is a transport path of a transport stream, and a command interface, which is a transport path of data used for decoding a transport stream. receiving set. 제 2 항에 있어서,The method of claim 2, 상기 통신 개시 신호는 상기 커맨드 인터페이스에서 정의된, 데이터 전송을 위한 오브젝트(object)들 중, "T_Data_Last" 오브젝트인 것을 특징으로 하는 디지털 방송 수신기. And the communication start signal is a "T_Data_Last" object, among objects for data transmission, defined in the command interface. 제 2 항에 있어서,The method of claim 2, 상기 응답 신호는 상기 커맨드 인터페이스에서 정의된, 데이터 전송을 위한 오브젝트들 중, "T_SB" 오브젝트인 것을 특징으로 하는 디지털 방송 수신기.The response signal is a digital broadcast receiver, characterized in that the "T_SB" object, among the objects for data transmission, defined in the command interface. 제 2 항에 있어서,The method of claim 2, 상기 호스트가 상기 모듈로 전송할 호스트 데이터가 있는 경우, 상기 커맨드 인터페이스에 정의된, 데이터 전송을 위한 오브젝트들 중, 상기 호스트 데이터를 포함하는 "T_Data_More" 또는 "T_Data_Last" 오브젝트를 상기 모듈로 전송하여 통신을 개시하는 것을 특징으로 하는 디지털 방송 수신기.When there is host data to be transmitted to the module by the host, among the objects for data transmission defined in the command interface, a "T_Data_More" or "T_Data_Last" object including the host data is transmitted to the module for communication. And a digital broadcasting receiver. 제 1 항에 있어서,The method of claim 1, 상기 모듈의 사용되지 않는 핀(pin)들 중 하나가 상기 끼어들기 신호를 위한 핀으로 사용되는 것을 특징으로 하는 디지털 방송 수신기.And one of the unused pins of the module is used as a pin for the interrupt signal. 제 6 항에 있어서,The method of claim 6, 상기 끼어들기 신호를 위한 핀은 CE #2핀이고, 상기 호스트는 상기 CE#2 핀 이 상기 모듈에 의해 활성화되면, 상기 통신 개시 신호를 상기 모듈에 전송하는 것을 특징으로 하는 디지털 방송 수신기.And the pin for the interrupt signal is a CE # 2 pin, and the host transmits the communication start signal to the module when the CE # 2 pin is activated by the module. 디지털 방송 신호를 수신하는 호스트(host)와 상기 디지털 방송 신호로의 엑세스를 제어하는 모듈(module)을 포함하는 디지털 방송 수신기의 공통 인터페이스(Common Interface)를 통한 데이터 전송방법에 있어서,In the data transmission method through a common interface of a digital broadcast receiver comprising a host for receiving a digital broadcast signal (host) and a module for controlling access to the digital broadcast signal, 상기 호스트로 전송할 모듈 데이터가 있는 경우, 전송할 상기 모듈 데이터가 있음을 나타내는 끼어들기 신호를 생성하는 끼어들기 신호 생성 단계;An interrupt signal generation step of generating an interrupt signal indicating that the module data to be transmitted is present when there is module data to be transmitted to the host; 상기 끼어들기(interrupt) 신호를 탐지한 호스트가 상기 공통 인터페이스를 통해 통신 개시 신호를 상기 모듈로 전송하여 상기 모듈과의 통신을 개시하는 통신 개시 단계; 그리고A communication initiation step of the host detecting the interrupt signal transmitting a communication start signal to the module through the common interface to initiate communication with the module; And 상기 통신 개시 신호를 수신하면, 상기 모듈 데이터를 포함하는 응답 신호를 상기 공통 인터페이스를 통해 상기 모듈에 전송하는 데이터 전송 단계를 포함하는 것을 특징으로 하는 디지털 방송 수신기의 공통 인터페이스를 통한 데이터 전송방법.And a data transmission step of transmitting a response signal including the module data to the module through the common interface upon receiving the communication start signal. 제 8 항에 있어서,The method of claim 8, 상기 통신 개시 신호는 상기 공통 인터페이스를 구성하는 커맨드 인터페이스(command interface)에서 정의된, 데이터 전송을 위한 오브젝트(object)들 중, "T_Data_Last" 오브젝트인 것을 특징으로 하는 디지털 방송 수신기의 공통 인터페 이스를 통한 데이터 전송방법.The communication start signal is a "T_Data_Last" object among objects for data transmission, which is defined in a command interface constituting the common interface, through a common interface of a digital broadcast receiver. Data transmission method. 제 8 항에 있어서,The method of claim 8, 상기 응답 신호는 상기 공통 인터페이스를 구성하는 커맨드 인터페이스에서 정의된, 데이터 전송을 위한 오브젝트들 중, "T_SB"인 것을 특징으로 하는 디지털 방송 수신기의 공통 인터페이스를 통한 데이터 전송방법.The response signal is "T_SB" among the objects for data transmission defined in the command interface constituting the common interface, the data transmission method through a common interface of the digital broadcast receiver. 제 8 항에 있어서,The method of claim 8, 상기 호스트가 상기 모듈로 전송할 호스트 데이터가 있는 경우, 상기 공통 인터페이스를 구성하는 커맨드 인터페이스에 정의된, 데이터 전송을 위한 오브젝트들 중, 상기 호스트 데이터를 포함하는 "T_Data_More" 또는 "T_Data_Last" 오브젝트를 상기 모듈로 전송하여 통신을 개시하는 것을 특징으로 하는 디지털 방송 수신기의 공통 인터페이스를 통한 데이터 전송방법.If there is host data to be transmitted to the module by the host, the module may include a "T_Data_More" or "T_Data_Last" object including the host data, among the objects for data transmission, defined in the command interface constituting the common interface. Transmitting the data through a common interface of a digital broadcasting receiver. 제 8 항에 있어서,The method of claim 8, 상기 모듈의 사용되지 않는 핀(pin)들 중 하나를 상기 끼어들기 신호를 나타내는 핀으로 사용하는 것을 특징으로 하는 디지털 방송 수신기의 공통 인터페이스를 통한 데이터 전송방법.And using one of the unused pins of the module as a pin representing the interrupt signal. 제 12 항에 있어서,The method of claim 12, 상기 끼어들기 신호를 나타내는 핀은 CE #2핀이고, 상기 호스트는 상기 CE#2 핀이 상기 모듈에 의해 활성화되면, 상기 통신 개시 신호를 상기 모듈에 전송하는 것을 특징으로 하는 디지털 방송 수신기의 공통 인터페이스를 통한 데이터 전송방법.The pin representing the interrupt signal is a CE # 2 pin, and the host transmits the communication start signal to the module when the CE # 2 pin is activated by the module. Data transmission method through.
KR1020070001986A 2007-01-08 2007-01-08 Apparatus for receiving digital broadcasting and method of transmitting data KR20080065068A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070001986A KR20080065068A (en) 2007-01-08 2007-01-08 Apparatus for receiving digital broadcasting and method of transmitting data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070001986A KR20080065068A (en) 2007-01-08 2007-01-08 Apparatus for receiving digital broadcasting and method of transmitting data

Publications (1)

Publication Number Publication Date
KR20080065068A true KR20080065068A (en) 2008-07-11

Family

ID=39816059

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070001986A KR20080065068A (en) 2007-01-08 2007-01-08 Apparatus for receiving digital broadcasting and method of transmitting data

Country Status (1)

Country Link
KR (1) KR20080065068A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743573A (en) * 2018-12-29 2019-05-10 深圳Tcl新技术有限公司 Media playing method, device, intelligent terminal and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743573A (en) * 2018-12-29 2019-05-10 深圳Tcl新技术有限公司 Media playing method, device, intelligent terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
JP5022029B2 (en) Content scrambling with minimal impact on legacy devices
JP4482266B2 (en) Method and apparatus for managing symmetric keys in a communication network
US7590241B2 (en) Receiver and receiving method
US20070005506A1 (en) Key sharing for DRM interoperability
CA2557824C (en) Secure negotiation and encryption module
JP2005500752A (en) System and method for hybrid conditional access to encrypted transmission information for a receiver
KR20060127088A (en) Transcoding cablecard
KR100714694B1 (en) Network Interface Unit
US20100008502A1 (en) Content distribution system, content reception terminal, content distribution method and processing method performed when viewing streaming contents
TW201406136A (en) Receiving audio/video content
US8355504B2 (en) AV communication control circuit for realizing copyright protection with respect to radio LAN
US20120159146A1 (en) System and Method for Transcoding Content
WO2012136152A1 (en) Secure transmission method and apparatus for transport stream
US20100082831A1 (en) Loadable and modular conditional access application
CN109996020B (en) Video recording method and device
KR20080065068A (en) Apparatus for receiving digital broadcasting and method of transmitting data
US20140029747A1 (en) System and method for transcoding content
JP2009016965A (en) Information processing apparatus and method for protecting video and audio information
EP0858183A2 (en) Encryption & decryption apparatus
KR100747656B1 (en) Multi-Descrambeler System and Method in digital broadcasting receiver
JP5557348B2 (en) Consumer electronics for receiving an input digital data stream of a digital signal of image and / or audio information
US20090169003A1 (en) Broadcast processing apparatus and method thereof
KR100859152B1 (en) Receiving Apparatus for Digital Broadcasting Using CAS
KR100837430B1 (en) Broadcasting receive apparatus and security method thereof
JP6247729B2 (en) REPRODUCTION MANAGEMENT DEVICE, REPRODUCTION MANAGEMENT METHOD, REPRODUCTION MANAGEMENT PROGRAM, CONTENT RECEIVING SYSTEM, AND CONTENT DISTRIBUTION SYSTEM

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination