[go: up one dir, main page]

KR20050115555A - Device and method for restoring module connection of the digital set-top box - Google Patents

Device and method for restoring module connection of the digital set-top box Download PDF

Info

Publication number
KR20050115555A
KR20050115555A KR1020040040654A KR20040040654A KR20050115555A KR 20050115555 A KR20050115555 A KR 20050115555A KR 1020040040654 A KR1020040040654 A KR 1020040040654A KR 20040040654 A KR20040040654 A KR 20040040654A KR 20050115555 A KR20050115555 A KR 20050115555A
Authority
KR
South Korea
Prior art keywords
cam
signal
smart card
card module
microcomputer
Prior art date
Application number
KR1020040040654A
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 KR1020040040654A priority Critical patent/KR20050115555A/en
Publication of KR20050115555A publication Critical patent/KR20050115555A/en

Links

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/41Structure of client; Structure of client peripherals
    • H04N21/418External card to be used in combination with the client device, e.g. 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • H04N21/4351Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream involving reassembling additional data, e.g. rebuilding an executable program from recovered modules
    • 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/4367Establishing a secure communication between the client and a peripheral device or smart card
    • 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/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4882Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders

Landscapes

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

Abstract

본 발명은 셋탑 박스의 자동 복구가 쉬운 디지털 셋탑 박스의 모듈 연결 복구 장치 및 그 방법에 관한 것으로, 특히 복구 방법은 마이컴에서 CAM 또는 스마트 카드 모듈에 폴링 신호를 전송하고 그 응답 신호가 설정된 시간이내에 수신되지 않는 폴링 시간아웃이 발생하는지를 판단하는 단계와, 폴링 시간아웃이 발생할 경우 마이컴은 CAM 또는 스마트 카드 모듈에 폴링 신호를 재전송하여 그 응답 신호를 수신하는 복구 과정의 횟수를 증가시키고 상기 횟수가 설정된 횟수이상인지를 판단하는 단계와, 복구 과정의 횟수가 설정된 횟수 이상일 경우 CAM 또는 스마트 카드 모듈에서 마이컴에 폴링에 대한 응답 정보로 미연결 정보 메시지를 강제적으로 보내는 단계와, 마이컴은 CAM 또는 스마트 카드 모듈의 특정 핀 신호가 검출되는지 측정하는 단계와, 특정 핀 신호가 검출될 경우 마이컴은 CAM 또는 스마트 카드 모듈에 리세트 신호를 보내서 초기화하는 단계를 포함한다.The present invention relates to an apparatus for restoring a module set-up of a digital set-top box, which is easy to automatically recover a set-top box, and more particularly, to a method of recovering a microcomputer from a microcomputer to a CAM or a smart card module. Determining whether an unsuccessful polling timeout occurs, and when the polling timeout occurs, the microcomputer retransmits the polling signal to the CAM or smart card module to increase the number of recovery processes for receiving the response signal, and the number of times the number of times is set. Determining whether there is an error, and if the number of recovery processes is greater than or equal to a predetermined number, forcibly sending an unconnected information message as a response information for polling to the microcomputer from the CAM or the smart card module; Measuring whether a specific pin signal is detected; If a signal is detected, the microcomputer sends a reset signal to the CAM or smart card module to initialize the signal.

Description

디지털 셋탑 박스의 모듈 연결 복구 장치 및 그 방법{DEVICE AND METHOD FOR RESTORING MODULE CONNECTION OF THE DIGITAL SET-TOP BOX}Device for recovering module connection of digital set-top box and its method {DEVICE AND METHOD FOR RESTORING MODULE CONNECTION OF THE DIGITAL SET-TOP BOX}

본 발명은 디지털 셋탑 박스에 관한 것으로서, 특히 디지털 셋탑 박스의 모듈 연결 복구 장치 및 그 방법에 관한 것이다. The present invention relates to a digital set-top box, and more particularly, to an apparatus and method for recovering a module connection of a digital set-top box.

현재 디지털 셋탑 박스(digital set-top box)는 디지털 방송(위성, 케이블, 지상파)을 수신할 수 있는 수신기로서, 디지털 방송(비디오/오디오) 신호를 압축된 MPEG-2 형태로 받아 TV 등 디스플레이 기기에 전송하는 디지털 멀티미디어 기기의 일종이다. A digital set-top box is a receiver that can receive digital broadcasting (satellite, cable, terrestrial), and receives digital broadcasting (video / audio) signals in the form of compressed MPEG-2 display devices such as TVs. Is a kind of digital multimedia device to transmit to.

이러한 디지털 방송은 크게 무료 방송과 유료 채널 방송으로 구분되는데, 현재 유료 채널 방송은 다음 2가지 CI 및 CAS 방식에 의해 스크램블(scramble)된 방송을 디스크램블(descramble)하여 시청이 가능하게 한다.These digital broadcasts are largely classified into free broadcasts and pay channel broadcasts. Currently, pay channel broadcasts can be viewed by descrambled broadcasts scrambled by the following two CI and CAS methods.

첫 번째 CI(Common Interface) 방식은 유료 채널 방송을 시청할 수 있는 CAS(Conditional Access System) 기능이 PC 카드인 PCMCIA 모듈로 분리되어 있어 이 모듈(이하 CAM 이라 함)을 디지털 셋탑 박스의 CI 슬롯에 삽입하면 해당 CAS 기능을 수행할 수 있도록 정의된 인터페이스 표준을 나타낸다.The first CI (Common Interface) method divides the CAS (Conditional Access System) function into a PC card PCMCIA module that allows you to watch paid channel broadcasts, and inserts this module (hereinafter referred to as CAM) into the CI slot of the digital set-top box. Indicates an interface standard defined to perform the corresponding CAS function.

두 번째 CAS 방식은 특정 방송을 암호화하여 시청자가 일정한 금액을 지불해야만 시청할 수 있도록 한 유료 채널 방송용 수신 제한장치를 디지털 셋톱박스 내부에 탑재한다. 즉, 가입자 정보와 암호화된 방송 신호를 해독하기 위한 디스크램블 키(key)인 제어워드(control word)를 디코딩하는 스마트 카드(smart card) 등의 카드와 이를 CAS 슬롯에 삽입하기 위한 인터페이스 모듈을 포함한다. The second CAS method is equipped with a reception limiter for pay channel broadcasting inside a digital set-top box that encrypts a specific broadcast so that viewers can watch it at a certain price. That is, a card such as a smart card that decodes a control word, which is a descramble key for decoding subscriber information and an encrypted broadcast signal, and an interface module for inserting the same into a CAS slot. do.

이와 같은 종래의 디지털 셋탑 박스에 있어서, CAM 또는 스마트 카드가 삽입되는 인터페이스 모듈이 착탈식으로 장착되기 때문에 셋탑 박스내 마이컴에서는 CAM 또는 스마트 카드 모듈과 폴링 과정(polling process)을 수행하여 그 응답(response)으로 모듈의 장착 또는 탈착 여부를 검출하였다. In such a conventional digital set-top box, since the interface module into which the CAM or smart card is inserted is detachably mounted, the microcomputer in the set-top box performs a polling process with the CAM or smart card module to respond. Whether the module was mounted or detached was detected.

그런데, 상기 폴링 과정을 수행함에 있어서, 디지털 셋탑 박스의 마이컴은 CAM 또는 스마트 카드 모듈의 응답 시간이 설정된 응답 시간, 예컨대 300㎳를 초과하는 폴링 시간아웃(polling timeout)이 발생하는 경우가 있다. 그러므로 셋탑 박스의 마이컴은 CAM 또는 스마트 카드 모듈의 무응답에 따른 폴링 시간아웃이 발생할 경우 응답 결과를 지우고 설정된 시간, 예컨대 1초 내지 2초 후에 다시 폴링 과정을 수행하여 상기 모듈의 응답을 수신함으로써 셋탑 박스에 상기 모듈이 장착 또는 탈착되었는지를 판단하였다. 이때 폴링 과정의 재수행은 설정된 횟수만큼 반복하게 되고, 설정된 횟수까지도 CAM 또는 스마트 카드 모듈의 무응답이 계속될 경우에는 셋탑 박스의 마이컴은 모듈의 연결이 끊어진 것으로 판단한다.However, in performing the polling process, the microcomputer of the digital set-top box may generate a polling timeout in which the response time of the CAM or smart card module exceeds a set response time, for example, 300 ms. Therefore, when the polling timeout due to the non-response of the CAM or smart card module occurs, the microcomputer of the set-top box erases the response result and performs the polling process again after a set time, for example, 1 second to 2 seconds to receive the response of the module. It was determined whether the module is mounted or removed. At this time, the polling process may be repeated as many times as the set number of times, and if the non-response of the CAM or smart card module continues until the set number of times, the microcomputer of the set-top box determines that the module is disconnected.

하지만 이와 같은 폴링 과정의 재수행 방법은 CAM 또는 스마트 카드 모듈 자체의 오류 등으로 인해 폴링 시간아웃이 계속 발생할 경우 자동 복구(restore)가 어렵기 때문에 사용자가 직접 셋탑 박스의 CAM 또는 스마트 카드 모듈의 연결을 확인하고 탈착하였다가 다시 장착해야만 하는 번거로움이 있었다.However, the re-polling method of this polling process is difficult to automatically restore if the polling timeout continues due to an error of the CAM or smart card module itself, so that the user directly connects the CAM or smart card module of the set-top box. There was a hassle to check and remove and reattach.

본 발명의 목적은 상기와 같은 종래 기술의 문제점을 해결하기 위하여 폴링 과정시 설정된 횟수까지도 CAM 또는 스마트 카드 모듈의 무응답이 계속될 경우 셋탑 박스의 마이컴에 응답 정보로서 미연결 정보 메시지를 보내고 CAM의 특정 핀 신호를 검출하여 특정 핀 신호가 검출되면 CAM 또는 스마트 카드 모듈의 인터페이스를 리세트하여 초기화하는 디지털 셋탑 박스의 모듈 연결 복구 장치 및 그 방법을 제공하는데 있다. An object of the present invention is to send a disconnected information message as a response information to the microcomputer of the set-top box when no response of the CAM or smart card module continues up to the set number of times during the polling process in order to solve the problems of the prior art as described above. The present invention provides a module connection recovery apparatus for a digital set-top box and a method for resetting and initializing an interface of a CAM or smart card module when a pin signal is detected by detecting a pin signal.

상기 목적을 달성하기 위하여 본 발명의 장치는 CAM 또는 스마트 카드 모듈이 장착되는 디지털 셋탑 박스로서, 유료 채널 방송의 스크램블된 신호에서 암호화된 난수발생값을 추출하고, 디코딩된 난수발생값을 이용하여 스크램블된 신호를 디스크램블링하는 디먹스와, 암호화된 난수발생값을 디코딩하는 CAM 또는 스마트 카드 모듈의 탈착/장착 여부를 검출하는 폴링 신호 발생 및 응답을 검출하고, 설정된 횟수까지 CAM 또는 스마트 카드 모듈의 응답이 수신되지 않을 경우 CAM 또는 스마트 카드 모듈의 특정 핀 신호를 검출하고 그 검출 결과에 따라 CAM 또는 스마트 카드 모듈을 리세트하여 초기화하는 마이컴과, 마이컴과 CAM 또는 스마트 카드 모듈 사이에서 폴링 신호 및 응답 신호를 전송하며 마이컴의 리세트 신호를 전송하는 컨트롤러를 포함한다.In order to achieve the above object, the apparatus of the present invention is a digital set-top box equipped with a CAM or smart card module, and extracts an encrypted random number generated value from a scrambled signal of a pay channel broadcast, and scrambles using the decoded random number generated value. Demux for descrambling the decoded signal, and polling signal generation and response for detecting whether the CAM or smart card module for decoding the encrypted random number generation is detached / detached, and the response of the CAM or smart card module up to the set number of times. Is not received, the microcomputer detects a specific pin signal of the CAM or smart card module, resets and initializes the CAM or smart card module according to the detection result, and a polling signal and a response signal between the microcomputer and the CAM or smart card module. It includes a controller for transmitting a reset signal of the microcomputer.

상기 목적을 달성하기 위하여 본 발명의 방법은 마이컴에서 CAM 또는 스마트 카드 모듈에 폴링 신호를 전송하고 그 응답 신호가 설정된 시간이내에 수신되지 않는 폴링 시간아웃이 발생하는지를 판단하는 단계와, 폴링 시간아웃이 발생할 경우 마이컴은 CAM 또는 스마트 카드 모듈에 폴링 신호를 재전송하여 그 응답 신호를 수신하는 복구 과정의 횟수를 증가시키고 상기 횟수가 설정된 횟수이상인지를 판단하는 단계와, 복구 과정의 횟수가 설정된 횟수 이상일 경우 CAM 또는 스마트 카드 모듈에서 마이컴에 폴링에 대한 응답 정보로 미연결 정보 메시지를 강제적으로 보내는 단계와, 마이컴은 CAM 또는 스마트 카드 모듈의 특정 핀 신호가 검출되는지 측정하는 단계와, 특정 핀 신호가 검출될 경우 마이컴은 CAM 또는 스마트 카드 모듈에 리세트 신호를 보내서 초기화하는 단계를 포함한다.In order to achieve the above object, the method of the present invention provides a method for determining whether a polling timeout occurs when a microcomputer transmits a polling signal to a CAM or smart card module and a response signal is not received within a set time. In this case, the microcomputer retransmits the polling signal to the CAM or the smart card module and increases the number of recovery processes for receiving the response signal, and determines whether the number of recovery processes is greater than or equal to the set number of times. Or forcibly sending an unconnected information message as a response information for polling to the microcomputer from the smart card module, the microcomputer measuring whether a specific pin signal of the CAM or the smart card module is detected, and if a specific pin signal is detected. Microcomputer sends reset signal to CAM or smart card module And a step of initializing.

이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 대해 설명하고자 한다.Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings.

도 1은 본 발명에 따른 디지털 셋탑 박스의 모듈 연결 복구 장치를 나타낸 구성도이다.1 is a block diagram showing a module connection recovery device of a digital set-top box according to the present invention.

도 1에 도시된 바와 같이, 본 발명에 따라 모듈 연결 복구 장치를 갖는 디지털 셋탑 박스는 안테나(10), 튜너/복조부(12), 디먹스(DE-MUX)(14), 마이컴(16), CAM(18), 컨트롤러(20), 키 입력부(22), 버퍼(24), 오디오 디코더(26), 비디오 디코더(28) 등을 포함한다. 본 발명의 장치에서는 유료 채널 방송을 디스크램블하기 위한 모듈로서 CI 방식의 CAM(18)을 사용하였지만, CAS 방식의 인터페이스 모듈로 대체하거나 이들 모듈을 모두 채택한 구성으로 변경이 가능하다.As shown in FIG. 1, a digital set-top box having a module connection recovery device according to the present invention includes an antenna 10, a tuner / demodulator 12, a DE-MUX 14, a microcomputer 16. , CAM 18, controller 20, key input 22, buffer 24, audio decoder 26, video decoder 28, and the like. In the apparatus of the present invention, although the CI type CAM 18 is used as a module for descrambling pay channel broadcasting, it can be replaced with a CAS type interface module or a configuration employing all these modules.

튜너/복조부(12)는 안테나(10)로부터 송신되는 신호를 수신하여 노이즈를 제거하고 디지털 셋탑 박스가 처리할 수 있는 주파수 대역으로 변환하는 LNB 컨버터(Low Noise Block converter)로부터 제공되는 신호 중에서 임의의 방송 채널만 선택해서 증폭한다. 그리고 해당 방송 채널을 포함하는 트랜스폰더(transponder)를 기저대역으로 주파수 변환하고 QPSK(Quadrature Phase Shift Keying) 등으로 원래 방송 채널의 주파수를 복조한다.The tuner / demodulator 12 receives a signal transmitted from the antenna 10, removes noise, and converts the signal into a frequency band that can be processed by the digital set-top box. Select and amplify only broadcast channels. The base station converts a transponder including the broadcast channel into a baseband and demodulates the frequency of the original broadcast channel with Quadrature Phase Shift Keying (QPSK).

디먹스(14)는 복조된 채널이 유료 채널의 방송일 경우 해당 방송 신호의 비트 스트림이 스크램블된 신호이므로 스트림내 유료 수신 제한 신호인 EMM(Entitlement Manage Message) 패킷과 ECM(Entitlement Control Message) 패킷으로부터 암호화된 난수발생값을 마이컴(16) 및 컨트롤러(20)를 통해 CAM(18)에 전달한다. CAM(18)에서 디코딩된 난수발생값인 제어워드(control word)를 마이컴(16) 및 컨트롤러(20)를 통해 전달받은 디먹스(14)는 디스크램블 키인 제어워드를 이용하여 EMM 패킷 및 ECM 패킷을 디스크램블링하여 원래 방송 신호의 스트림으로 디코딩한다.When the demodulated channel is a pay channel broadcast, the demux 14 encrypts a bit stream of the corresponding broadcast signal from the Entitlement Management Message (EMM) packet and the Entitlement Control Message (ECM) packet, which are paid reception restriction signals in the stream. The random number generation value is transferred to the CAM 18 through the microcomputer 16 and the controller 20. The demux 14, which has received a control word that is a random number generated value decoded by the CAM 18 through the microcomputer 16 and the controller 20, uses an EMM packet and an ECM packet using a control word that is a descramble key. The descramble is decoded into a stream of the original broadcast signal.

마이컴(16)은 디지털 셋탑 박스의 내부 구성 요소를 제어하되, 컨트롤러(20)와 통신하여 CAM(18)의 탈착 또는 장착 여부를 검출하는 폴링 과정을 수행한다. 폴링 과정시 설정된 횟수까지도 CAM(18)의 무응답이 계속될 경우 CAM(18)은 컨트롤러(20)를 통해 마이컴(16)에 응답 정보로 미연결 정보 메시지를 강제적으로 보낸다. 이에 마이컴(16)은 컨트롤러(20)를 통해서 CAM(18)의 특정 핀, 예컨대 36, 67핀 신호를 검출하여 상기 특정 핀 신호가 검출되면 CAM(18)의 인터페이스를 리세트하여 초기화한 후에 다시 컨트롤러(20)와 통신하여 CAM(18)의 탈착 또는 장착 여부를 검출하는 폴링 과정을 수행한다.The microcomputer 16 controls the internal components of the digital set-top box, and communicates with the controller 20 to perform a polling process for detecting whether the CAM 18 is attached or detached. If the non-response of the CAM 18 continues up to the set number during the polling process, the CAM 18 forcibly sends the unconnected information message as the response information to the microcomputer 16 through the controller 20. The microcomputer 16 detects a specific pin of the CAM 18, for example, 36 and 67 pin signals through the controller 20. When the specific pin signal is detected, the microcomputer 16 resets and initializes the interface of the CAM 18 again. A polling process for detecting whether the CAM 18 is attached or detached by communicating with the controller 20 is performed.

CAM(18)은 유료 채널 방송을 시청할 수 있는 CAS 기능이 PC 카드인 PCMCIA 모듈로서 디지털 셋탑 박스의 CI 슬롯에 삽입되어 컨트롤러(20)를 통해 마이컴(16)과 통신한다.The CAM 18 is a PCMCIA module, which is a PC card whose CAS function for watching pay channel broadcasting, is inserted into the CI slot of the digital set-top box and communicates with the microcomputer 16 through the controller 20.

키 입력부(22)는 디지털 셋탑 박스의 작동을 위한 키 신호가 입력되는 부분이다. 키 입력부(22) 대신에 리모컨 수신부로 변경할 수도 있다.The key input unit 22 is a portion to which a key signal for operating the digital set top box is input. Instead of the key input unit 22 may be changed to the remote control receiver.

버퍼(24)는 마이컴(16)의 폴링 과정 수행에 따른 CAM(18)의 응답 정보인 "연결" 정보 메시지 또는 "미연결" 정보 메시지를 임시 저장한다. The buffer 24 temporarily stores a "connected" information message or a "unconnected" information message, which is response information of the CAM 18 according to the polling process performed by the microcomputer 16.

오디오 디코더(26)는 디먹스(14)에서 전달된 방송 스트림에서 오디오 스트림을 MPEG 압축 해제 알고리즘으로 디코딩한 후에 이를 텔레비전의 스피커 또는 오디오 앰프 등에 출력한다.The audio decoder 26 decodes the audio stream from the broadcast stream delivered from the demux 14 with an MPEG decompression algorithm, and then outputs the audio stream to a speaker or an audio amplifier of a television.

비디오 디코더(28)는 디먹스(14)에서 전달된 방송 스트림에서 비디오 스트림을 MPEG 압축 해제 알고리즘으로 디코딩한 후에 이를 텔레비전의 모니터 등에 출력한다.The video decoder 28 decodes the video stream from the broadcast stream delivered from the demux 14 with an MPEG decompression algorithm and then outputs it to a monitor of a television or the like.

도 2는 본 발명에 따른 디지털 셋탑 박스의 모듈 연결 복구 방법을 설명하기 위한 흐름도이다. 도 1 및 도 2를 참조하면, 본 발명에 따른 디지털 셋탑 박스의 모드 연결 복구 방법은 다음과 같다.2 is a flowchart illustrating a module connection recovery method of a digital set-top box according to the present invention. 1 and 2, a mode connection recovery method of a digital set-top box according to the present invention is as follows.

마이컴(16)은 디지털 셋탑 박스에 CAM(18)이 장착될 경우 컨트롤러(20)와 통신하여 CAM(18)의 탈착 또는 장착 여부를 검출하는 폴링 과정을 수행하는 모드인지를 판단한다.(S10)When the CAM 18 is mounted in the digital set-top box, the microcomputer 16 determines whether the mode is to perform a polling process for detecting whether the CAM 18 is attached or detached by communicating with the controller 20 (S10).

S10 판단 결과, 폴링 과정일 경우 마이컴(16)은 컨트롤러(20)를 통해서 CAM(18)에 폴링 신호를 전송하고, 그 응답 신호의 수신 시간이 설정된 시간, 예컨대 300㎳를 초과하는 폴링 시간아웃(polling timeout)이 발생하는지 판단한다.(S12)As a result of the determination in S10, when the polling process is performed, the microcomputer 16 transmits a polling signal to the CAM 18 through the controller 20, and a reception time of the response signal exceeds a set time, for example, a polling timeout exceeding 300 ms ( polling timeout) occurs (S12).

S12 판단 결과, 폴링 시간아웃이 발생할 경우 마이컴(16)은 버퍼(24)에 기록되는 무응답 데이터를 삭제한다.(S14)As a result of the determination in S12, when the polling timeout occurs, the microcomputer 16 deletes the non-response data recorded in the buffer 24 (S14).

그리고 마이컴(16)은 컨트롤러(20)를 통해서 CAM(18)에 폴링 신호를 재전송하고, 그 응답 신호가 설정된 시간, 예컨대 300㎳를 초과하는 폴링 시간아웃이 발생하는지 판단한다.(S16∼S18) 즉, CAM(18)의 응답이 설정된 300㎳까지 수신되지 않는 무응답인지를 판단하는 것이다. The microcomputer 16 retransmits the polling signal to the CAM 18 via the controller 20, and determines whether a polling timeout exceeding a set time, for example, 300 ms, occurs. (S16 to S18). That is, it is determined whether the response of the CAM 18 is a non-response not received until the set 300 Hz.

S18 판단 결과, CAM(18)의 응답 신호를 수신하는 시간이 설정된 시간, 300㎳를 초과하는 폴링 시간아웃이 발생할 경우 마이컴(16)은 CAM(18)에 폴링 신호를 재전송하여 그 응답 신호를 수신하는 CAM 복구 과정의 횟수(t)를 증가시키고(t+1) 상기 횟수가 설정된 횟수(N)이상인지를 판단한다.(S20∼S22)As a result of the determination in S18, when a time for receiving the response signal of the CAM 18 is set, a polling timeout exceeding 300 ms occurs, the microcomputer 16 retransmits the polling signal to the CAM 18 to receive the response signal. The number of times of the CAM recovery process (t) is increased (t + 1), and it is determined whether the number is greater than or equal to the set number (N). (S20 to S22)

S22 판단 결과, 현재 CAM 복구 과정의 횟수가 설정된 횟수이내(t<N)일 경우 마이컴(16)은 S16 단계부터 반복 수행하고, CAM 복구 과정의 횟수가 설정된 횟수 이상(t≥N)일 경우 CAM(18)은 컨트롤러(20)를 통해 마이컴(16)에 폴링에 대한 응답 정보로 "미연결" 정보 메시지를 강제적으로 보낸다. 그리고 마이컴(16)은 버퍼(24)에 CAM(18)의 미연결 정보 메시지를 저장한다.(S24)As a result of determination in S22, when the number of times of the current CAM recovery process is within the set number (t <N), the microcomputer 16 repeats from the step S16, and when the number of times of the CAM recovery process is more than the set number of times (t≥N), the CAM 18 forcibly sends an "unconnected" information message to the microcomputer 16 via the controller 20 as response information for polling. The microcomputer 16 stores the unconnected information message of the CAM 18 in the buffer 24 (S24).

마이컴(16)은 컨트롤러(20)를 통해서 CAM(18)에서 특정 핀, 예컨대 36번 또는 67번 핀 신호를 요청하고, 컨트롤러(20)를 통해 CAM(18)으로부터 36 또는 67의 핀 신호가 검출되는지 측정한다.(S26) 이때 CAM(18)의 36 또는 67번 핀의 신호는 CAM 인에이블 신호를 나타낸다. The microcomputer 16 requests a specific pin from the CAM 18 through the controller 20, such as a pin 36 or 67 pin signal, and detects a pin signal of 36 or 67 from the CAM 18 through the controller 20. (S26) At this time, the signal of pin 36 or 67 of the CAM 18 indicates the CAM enable signal.

CAM(18)의 36 또는 67번 핀 신호를 검출한 마이컴(16)은 컨트롤러(20)를 통해 CAM(18)에 CI 인터페이스를 리세트하는 신호를 보내서 CAM(18)을 초기화한다.(S28) 그리고 도면에 도시되지는 않았지만, 마이컴(16)은 다시 컨트롤러(20)와 통신하여 CAM(18)의 탈착 또는 장착 여부를 검출하는 폴링 과정을 수행한다. The microcomputer 16, which detects pin 36 or 67 signal of the CAM 18, sends a signal for resetting the CI interface to the CAM 18 through the controller 20 to initialize the CAM 18. (S28) Although not shown in the drawing, the microcomputer 16 communicates with the controller 20 again to perform a polling process of detecting whether the CAM 18 is attached or detached.

S12 및 S18의 판단 결과, CAM(18)의 응답 신호를 수신하는 시간이 설정된 시간, 300㎳이내여서 마이컴(16)에 CAM(18)의 응답 신호가 수신될 경우 마이컴(18)은 버퍼(24)에 수신된 CAM(18)의 응답을 "연결" 정보 메시지로 저장한다. 그리고 도면에 미도시되어 있지만, 디먹스(14)는 튜너/복조부(12)에서 복조된 유료 채널의 방송 신호의 비트 스트림에서 EMM 패킷과 ECM 패킷으로부터 암호화된 난수발생값을 추출하여 마이컴(16) 및 컨트롤러(20)를 통해 CAM(18)에 전달하고, CAM(18)에서 디코딩된 난수발생값인 제어워드를 마이컴(16) 및 컨트롤러(20)를 통해 디먹스(14)에 전달하여 디먹스(14)에서 디스크램블 키인 제어워드를 이용하여 EMM 패킷 및 ECM 패킷을 디스크램블링하여 유료 채널 방송 신호의 스트림을 디코딩한다. 그리고 디먹스(14)에서 디코딩된 방송 스트림을 오디오 디코더(26)를 통해 오디오 신호로 디코딩하면서 비디오 디코더(28)를 통해 비디오 신호로 디코딩하여 텔레비전 등에 출력한다. As a result of the determination in S12 and S18, when the response signal of the CAM 18 is received by the microcomputer 16 within 300 ms, the time for receiving the response signal of the CAM 18 is set, the microcomputer 18 buffers 24 ) Stores the response of the CAM 18 received as a " connection " information message. Although not shown in the drawing, the demux 14 extracts the encrypted random number generation value from the EMM packet and the ECM packet in the bit stream of the broadcast signal of the pay channel demodulated by the tuner / demodulator 12 to obtain the microcomputer 16. And a control word, which is a random number generation value decoded by the CAM 18, to the demux 14 through the microcomputer 16 and the controller 20. The mux 14 descrambles the EMM packet and the ECM packet using a control word that is a descramble key to decode the stream of the pay channel broadcast signal. The decoding stream decoded by the demux 14 is decoded into an audio signal through the audio decoder 26 and decoded into a video signal through the video decoder 28 and output to a television.

한편 본 발명은 디지털 셋탑 박스의 CAM에 대해서만 설명하였지만 CAM 대신에 스마트 카드 모듈을 사용하여도 동일한 결과를 얻을 수 있다. 따라서 본 발명은 상술한 실시예에 국한되는 것이 아니라 후술되는 청구범위에 기재된 본 발명의 기술적 사상과 범주내에서 당업자에 의해 여러 가지 변형이 가능하다.Meanwhile, although the present invention has been described only for the CAM of the digital set-top box, the same result can be obtained by using a smart card module instead of the CAM. Therefore, the present invention is not limited to the above-described embodiments, but various modifications are possible by those skilled in the art within the spirit and scope of the present invention described in the claims below.

이상 설명한 바와 같이, 본 발명은 디지털 셋탑 박스의 마이컴과 CAM(또는 스마트 카드 모듈)의 폴링 과정시 설정된 횟수까지 CAM 또는 스마트 카드 모듈의 무응답이 계속될 경우 폴링에 대한 응답 정보로서 미연결 정보 메시지를 보내고 특정 핀 신호를 검출한 후에 CAM 또는 스마트 카드 모듈의 인터페이스를 리세트하여 초기화한다.As described above, the present invention provides an unconnected information message as response information for polling when no response of the CAM or smart card module continues up to the set number of times during the polling process of the microcomputer and the CAM (or smart card module) of the digital set-top box. After initializing and detecting a specific pin signal, the interface of the CAM or smart card module is reset and initialized.

그러므로 본 발명은 디지털 셋탑 박스의 CAM 또는 스마트 카드 모듈의 검출을 위한 폴링 과정시 폴링 시간아웃이 계속 발생할 경우 강제적인 미연결 정보 메시지를 발생한 후에 CAM 또는 스마트 카드 모듈을 초기화함으로써 셋탑 박스의 자동 복구가 쉬어진다.Therefore, the present invention provides an automatic recovery of the set-top box by initializing the CAM or smart card module after generating a forced disconnection information message when the polling timeout occurs continuously during the polling process for detecting the CAM or smart card module of the digital set-top box. Rest

도 1은 본 발명에 따른 디지털 셋탑 박스의 모듈 연결 복구 장치를 나타낸 구성도,1 is a block diagram showing a module connection recovery device of the digital set-top box according to the present invention,

도 2는 본 발명에 따른 디지털 셋탑 박스의 모듈 연결 복구 방법을 설명하기 위한 흐름도.2 is a flowchart illustrating a method for restoring a module connection of a digital set-top box according to the present invention.

<도면의 주요부분에 대한 부호의 설명><Description of the code | symbol about the principal part of drawing>

12 : 튜너/복조부 14 : 디먹스12: tuner / demodulator 14: Demux

16 : 마이컴 18 : CAM16: micom 18: CAM

20 : 컨트롤러 22 : 키 입력부20: controller 22: key input unit

24 : 버퍼 26 : 오디오 디코더24: Buffer 26: Audio Decoder

28 : 비디오 디코더 28: video decoder

Claims (3)

CAM 또는 스마트 카드 모듈이 장착되는 디지털 셋탑 박스로서,Digital set-top box with CAM or smart card module 유료 채널 방송의 스크램블된 신호에서 암호화된 난수발생값을 추출하고, 디코딩된 난수발생값을 이용하여 스크램블된 신호를 디스크램블링하는 디먹스와,A demux extracting an encrypted random number generation value from the scrambled signal of the pay channel broadcast and descrambles the scrambled signal using the decoded random number generation value, 상기 암호화된 난수발생값을 디코딩하는 CAM 또는 스마트 카드 모듈의 탈착/장착 여부를 검출하는 폴링 신호 발생 및 응답을 검출하고, 설정된 횟수까지 상기 CAM 또는 스마트 카드 모듈의 응답이 수신되지 않을 경우 상기 CAM 또는 스마트 카드 모듈의 특정 핀 신호를 검출하고 그 검출 결과에 따라 상기 CAM 또는 스마트 카드 모듈을 리세트하여 초기화하는 마이컴과,Detects a polling signal generation and response for detecting whether the CAM or smart card module that decodes the encrypted random number generation value is attached or detached, and if the response of the CAM or smart card module is not received until a set number of times, the CAM or A microcomputer that detects a specific pin signal of the smart card module and resets and initializes the CAM or smart card module according to the detection result; 상기 마이컴과 상기 CAM 또는 스마트 카드 모듈 사이에서 폴링 신호 및 응답 신호를 전송하며 상기 마이컴의 리세트 신호를 전송하는 컨트롤러The controller transmits a polling signal and a response signal between the micom and the CAM or smart card module and transmits a reset signal of the microcomputer. 를 포함하는 디지털 셋탑 박스의 모듈 연결 복구 장치.Module connection recovery device of the digital set-top box comprising a. 제 1 항에 있어서,The method of claim 1, 상기 장치는, CAM의 응답 정보인 연결 정보 메시지 또는 미연결 정보 메시지를 임시 저장하는 버퍼를 더 포함하는 디지털 셋탑 박스의 모듈 연결 복구 장치.The apparatus may further include a buffer for temporarily storing a connection information message or an unconnected information message which is response information of the CAM. 디지털 셋탑 박스에서 CAM 또는 스마트 카드 모듈의 장착 여부를 검출하는 방법으로서, A method of detecting whether a CAM or smart card module is installed in a digital set-top box, 마이컴에서 CAM 또는 스마트 카드 모듈에 폴링 신호를 전송하고 그 응답 신호가 설정된 시간이내에 수신되지 않는 폴링 시간아웃이 발생하는지를 판단하는 단계와,Determining whether a polling timeout occurs when the microcomputer transmits a polling signal to the CAM or smart card module and the response signal is not received within a set time; 상기 폴링 시간아웃이 발생할 경우 마이컴은 CAM 또는 스마트 카드 모듈에 폴링 신호를 재전송하여 그 응답 신호를 수신하는 복구 과정의 횟수를 증가시키고 상기 횟수가 설정된 횟수이상인지를 판단하는 단계와,When the polling timeout occurs, the microcomputer retransmits the polling signal to the CAM or the smart card module to increase the number of recovery processes for receiving the response signal and determine whether the number is greater than or equal to the set number of times; 상기 복구 과정의 횟수가 설정된 횟수 이상일 경우 CAM 또는 스마트 카드 모듈에서 마이컴에 폴링에 대한 응답 정보로 미연결 정보 메시지를 강제적으로 보내는 단계와,Forcibly sending, by the CAM or smart card module, the unconnected information message as a response information for polling to the microcomputer when the number of times of the recovery process is greater than or equal to the set number of times; 상기 마이컴은 CAM 또는 스마트 카드 모듈의 특정 핀 신호가 검출되는지 측정하는 단계와,The micom measures whether a specific pin signal of a CAM or a smart card module is detected; 상기 특정 핀 신호가 검출될 경우 마이컴은 CAM 또는 스마트 카드 모듈에 리세트 신호를 보내서 초기화하는 단계If the specific pin signal is detected, the microcomputer initializes by sending a reset signal to the CAM or smart card module 를 포함하는 디지털 셋탑 박스의 모듈 연결 복구 방법.Module connection recovery method of the digital set-top box comprising a.
KR1020040040654A 2004-06-04 2004-06-04 Device and method for restoring module connection of the digital set-top box KR20050115555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040040654A KR20050115555A (en) 2004-06-04 2004-06-04 Device and method for restoring module connection of the digital set-top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040040654A KR20050115555A (en) 2004-06-04 2004-06-04 Device and method for restoring module connection of the digital set-top box

Publications (1)

Publication Number Publication Date
KR20050115555A true KR20050115555A (en) 2005-12-08

Family

ID=37289453

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040040654A KR20050115555A (en) 2004-06-04 2004-06-04 Device and method for restoring module connection of the digital set-top box

Country Status (1)

Country Link
KR (1) KR20050115555A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100599120B1 (en) * 2004-08-26 2006-07-12 삼성전자주식회사 Initialization method and device of cable card and channel list using reset menu on OSD screen

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100599120B1 (en) * 2004-08-26 2006-07-12 삼성전자주식회사 Initialization method and device of cable card and channel list using reset menu on OSD screen

Similar Documents

Publication Publication Date Title
EP0828386B1 (en) Data tranmission and reception device and system, data transmission method and parameter setting method for data reception device
US7590241B2 (en) Receiver and receiving method
US7784070B2 (en) Satellite signal receive and method of conditionally accessing digital TV program by using the same
US5579391A (en) TV scramble system for preventing illegal reception
US8225344B2 (en) Video processing apparatus and method
KR100459965B1 (en) METHOD AND METHOD FOR READING SERVICE INFORMATION
KR20050115555A (en) Device and method for restoring module connection of the digital set-top box
KR20050115556A (en) Device for restricting receiving channel of the digital set-top box
KR100737078B1 (en) Receive Limiter and Control Method for Pay Channel Broadcasting in Broadcast Receiver
KR100884661B1 (en) Module for receiving digital broadcast and digital broadcast receiver
KR100676986B1 (en) Time Shift TV Watching Method According to Telephone Signal in Satellite Broadcast Receiver
KR100737115B1 (en) Error Checking Method of Set Top Box
KR100737079B1 (en) Pay Channel Tuning Device and Method in Broadcast Receiver
KR20210007571A (en) The implementation method of the decryption system using the CSA decipher module
KR100737099B1 (en) Pay channel reception limiter and control method for error detection in broadcast receiver
KR100694435B1 (en) Password setting device and method in personal video recording device
KR100837430B1 (en) Broadcasting receiver and security method
CN104506925A (en) Multimedia gateway and method
KR100966561B1 (en) Digital satellite broadcasting receiver and program viewing restriction method using the same
KR100555756B1 (en) Schedule recording method of combo system
KR20070058039A (en) Combo system and control method of digital set-top box and personal recording device
JPH09130772A (en) Terminal equipment for digital television broadcast
JPH0730537A (en) Security device of receiver in data broadcast
KR20070027135A (en) System and method for multiple decryption of digital broadcasting receiver
KR20060012455A (en) Standby power control method of digital broadcasting receiving system

Legal Events

Date Code Title Description
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 20040604

PG1501 Laying open of application
PC1203 Withdrawal of no request for examination
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid