KR20110057016A - Device and method for protecting a error of hdcp key data in television set - Google Patents

Device and method for protecting a error of hdcp key data in television set Download PDF

Info

Publication number
KR20110057016A
KR20110057016A KR1020090113546A KR20090113546A KR20110057016A KR 20110057016 A KR20110057016 A KR 20110057016A KR 1020090113546 A KR1020090113546 A KR 1020090113546A KR 20090113546 A KR20090113546 A KR 20090113546A KR 20110057016 A KR20110057016 A KR 20110057016A
Authority
KR
South Korea
Prior art keywords
data
source device
hdcp
bksv
microcomputer
Prior art date
Application number
KR1020090113546A
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 KR1020090113546A priority Critical patent/KR20110057016A/en
Publication of KR20110057016A publication Critical patent/KR20110057016A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication

Abstract

PURPOSE: An error preventing device in an HDCP(High-bandwidth Digital Content Protection) key of an imaging device and a method thereof are provided to prevent the authentication failure of an HDCP by transmitting bKSV data to a source device. CONSTITUTION: An external memory(110) stores 289 byte HDCP key data. A communication interface(130) is electrically connected with a source device(200) through a communication cable. A microcomputer(150) temporarily stores HDCP key data saved in the external memory to the internal memory(155). The microcomputer checks a data error on 40 bit bKSV(Key Selection Vector) by the request of the source device. A video processing part(170) converts a demodulated signal into a signal fit for a display module. A display unit(190) displays the inputted video signal which is inputted through the video processing part.

Description

영상기기에서의 HDCP 키의 오류 방지 장치 및 그 방법{DEVICE AND METHOD FOR PROTECTING A ERROR OF HDCP KEY DATA IN TELEVISION SET}DEVICE AND METHOD FOR PROTECTING A ERROR OF HDCP KEY DATA IN TELEVISION SET}

본 발명은 HDCP 인증에 관한 것으로, 특히 소스 디바이스와 싱크 디바이스 간의 HDCP 인증시에 영상기기인 싱크 디바이스에서의 HDCP 키데이터(key data)의 전송 오류를 방지할 수 있는 영상기기에서의 HDCP 키의 오류 방지 장치 및 그 방법에 관한 것이다.The present invention relates to HDCP authentication, and in particular, the error of the HDCP key in the video device that can prevent the transmission error of the HDCP key data (key data) in the sink device which is the video device at the time of HDCP authentication between the source device and the sink device A prevention device and a method thereof.

HDCP(High-bandwidth Digital Content Protection)는 디지털 영상기기에 있어서 콘텐츠 복제 방지를 위한 저작권 보호 규격이다. High-bandwidth Digital Content Protection (HDCP) is a copyright protection standard for content copy protection in digital video equipment.

최근 영상 및 음성신호의 디지털화로 인해 무단 복제에 대한 보호가 시급한 상황이다. 기존 아날로그 기반에서는 복제가 가능하긴 하지만 이론적으로 화질이나 음질의 열화가 발생한다. 그러나 디지털 기술은 무단 복제시에도 그 화질과 음질이 원본과 동일하기 때문에 이에 대한 규제가 중요하다. Recently, due to the digitization of video and audio signals, protection against unauthorized copying is urgent. Although it can be duplicated in the existing analog base, theoretically, deterioration of image quality or sound quality occurs. However, digital technology is regulated because the quality and sound quality are the same as the original even during unauthorized copying.

다만, 디지털 영상기기의 분야에서는 기본적으로 HDCP를 지원하고 있어 콘텐 츠의 무단 복제를 예방할 수가 있다.However, in the field of digital video equipment, HDCP is basically supported to prevent unauthorized copying of content.

여기서, 소스 디바이스는 HDCP 기능을 탑재하고 있는 셋톱박스(STB; Set Top Box) 및 DVDP(Digital Versatile Disk Player) 등이 될 수 있는 데, 이와 같은 소스 디바이스는 텔레비전과 같은 싱크 디바이스로 소정의 영상신호 및 음성신호 등의 디지털 콘텐츠를 제공한다. 상기 소스 디바이스와 싱크 디바이스는 HDMI(High-Definition Multimedia Interface) 또는 DVI(Digital Video/visual Interactive) 단자를 통해 HDCP 통신 케이블로 연결된다.Here, the source device may be a set top box (STB) and a digital versatile disk player (DVDP) equipped with an HDCP function, and such a source device is a sink device such as a television and a predetermined video signal. And digital content such as voice signals. The source device and the sink device are connected by an HDCP communication cable through a high-definition multimedia interface (HDMI) or a digital video / visual interactive (DVI) terminal.

일반적으로, 싱크 디바이스는 파워 온시에 마이콤이 외부 메모리에 저장된 HDCP 키데이터(key data)를 가져와 내부 메모리에 임시로 저장하게 된다.In general, the sink device acquires the HDCP key data stored in the external memory by the microcomputer at the time of power-on and temporarily stores them in the internal memory.

그리고, 소스 디바이스가 HDCP 인증을 위해 싱크 디바이스에 액세스할 때, 마이콤의 내부 메모리에 저장되어 있는 HDCP 키데이터(정확하게는 bKSV 데이터)를 근거로 하여 HDCP 인증을 수행하게 된다.When the source device accesses the sink device for HDCP authentication, HDCP authentication is performed based on HDCP key data (exactly bKSV data) stored in the internal memory of the microcomputer.

하지만, 마이콤의 내부 메모리에 저장된 bKSV(Key Selection Vector) 데이터가 간헐적으로 깨짐 현상이 발생하고, 오류가 난 bKSV 데이터를 소스 디바이스로 전달함으로써, HDCP 인증에 실패하게 된다. 이에 따라 싱크 디바이스는 소스 디바이스로부터 전달된 영상신호를 화면에 출력하지 못하거나 스노우 노이즈(snow noise)를 발생시켜 시청을 어렵게 한다.However, bKSV (Key Selection Vector) data stored in the internal memory of the microcomputer is intermittently broken, and the failed bKSV data is transmitted to the source device, thereby failing HDCP authentication. Accordingly, the sink device does not output the video signal transmitted from the source device to the screen or generates snow noise, making viewing difficult.

본 발명은 소스 디바이스와 싱크 디바이스 간의 HDCP 인증 과정에서 싱크 디바이스에서의 마이콤이 항상 정확한 bKSV 데이터를 소스 디바이스로 전달하여 HDCP 인증 실패를 방지할 수 있는 영상기기에서의 HDCP 키의 오류 방지 장치 및 그 방법을 제공하기 위한 것이다.The present invention provides an apparatus and method for preventing errors of HDCP keys in a video device in which a microcomputer in a sink device always delivers accurate bKSV data to a source device in an HDCP authentication process between a source device and a sink device to prevent HDCP authentication failure. It is to provide.

본 발명이 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급되지 않은 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.Technical problems to be achieved by the present invention are not limited to the above-mentioned technical problems, and other technical problems not mentioned above may be clearly understood by those skilled in the art from the following description. There will be.

상기 목적을 달성하기 위한 본 발명의 HDCP 키의 오류 방지 장치는, 소스 디바이스와 통신 케이블을 통해 연결되는 통신 인터페이스; HDCP(High-bandwidth Digital Content Protection) 키데이터가 저장되는 외부 메모리; 및 상기 외부 메모리에 저장된 HDCP 키데이터(key data)를 내부 메모리에 임시로 저장하고, 상기 소스 디바이스의 요구에 따라 HDCP 키데이터 중 bKSV(Key Selection Vector) 데이터를 리드하여 오류 여부를 체크한 후 상기 소스 디바이스로 전송하는 마이콤;을 포함하는 것을 특징으로 한다.In order to achieve the above object, an apparatus for preventing an error of an HDCP key of the present invention includes a communication interface connected to a source device through a communication cable; An external memory for storing High-bandwidth Digital Content Protection (HDCP) key data; And temporarily storing HDCP key data stored in the external memory in an internal memory, reading bKSV (Key Selection Vector) data among HDCP key data according to a request of the source device, and checking whether there is an error. And a microcomputer to transmit to the source device.

구체적으로, 상기 마이콤은 bKSV 데이터의 오류 여부를 체크할 때, 상기 bKSV 데이터 중 '1' 또는 '0'의 개수를 카운트하고, 카운트된 '1' 또는 '0'의 개수가 설정된 기준 개수와 동일한지를 체크하는 것을 특징으로 한다.Specifically, when the microcomputer checks whether the bKSV data is in error, the microcomputer counts the number of '1' or '0' among the bKSV data, and the counted number of '1' or '0' is equal to the set reference number. It is characterized by checking the index.

상기 목적을 달성하기 위한 본 발명의 HDCP 키의 오류 방지 방법은, 마이콤은 외부 메모리에 저장된 HDCP 키데이터를 가져와 내부 메모리에 임시로 저장하는 단계; 상기 마이콤은 연결된 소스 디바이스로 HPD(Hot Plug Detect) 신호를 전송하여 소스 디바이스가 통신을 시도하도록 명령하는 단계; 상기 소스 디바이스의 요구에 따라 마이콤은 내부 메모리에 저장된 HDCP 키데이터 중 bKSV 데이터를 리드한 후 상기 bKSV 데이터에서 '1' 또는 '0'의 개수를 카운트하는 단계; 상기 카운트된 '1' 또는 '0'의 개수와 설정된 기준 개수를 상호 비교하여 동일한지를 판단하는 단계; 및 상기 카운트된 '1' 또는 '0'의 개수와 설정된 기준 개수가 동일할 경우에는 bKSV 데이터를 정상적인 데이터로 간주하여 소스 디바이스로 전송하는 단계;를 포함하는 것을 특징으로 한다.Error prevention method of the HDCP key of the present invention for achieving the above object, Micom is a step of taking the HDCP key data stored in the external memory temporarily stored in the internal memory; The microcomputer transmitting a Hot Plug Detect (HPD) signal to a connected source device to instruct the source device to attempt communication; According to a request of the source device, the microcomputer reads bKSV data among HDCP key data stored in an internal memory and counts the number of '1' or '0' in the bKSV data; Comparing the counted number of '1' or '0' with a set reference number and determining whether the number is the same; And if the counted number of '1' or '0' is equal to the set reference number, transmitting bKSV data as normal data to the source device.

구체적으로, 상기에서 카운트된 '1' 또는 '0'의 개수와 설정된 기준 개수가 동일하지 않으면, 마이콤은 연결된 소스 디바이스로 HPD 신호를 전송하는 단계부터 재수행하는 것을 특징으로 한다.Specifically, when the number of '1' or '0' counted above and the set reference number are not the same, the microcomputer re-executes from the step of transmitting the HPD signal to the connected source device.

또한, 상기 bKSV 데이터를 소스 디바이스로 전송한 후, 마이콤은 소스 디바이스로부터 전송된 An 데이터 및 aKSV 데이터를 기초로 Ri' 데이터를 생성하고 생성된 Ri' 데이터를 소스 디바이스로 전송하는 단계; 및 상기 소스 디바이스는 자신의 Ri 데이터와 싱크 디바이스로부터 전송된 Ri' 데이터를 상호 비교하여 일치하는지를 판단한 후 일치할 경우 HDCP 인증을 완료하는 단계;를 더 포함하는 것을 특징으로 한다.In addition, after the bKSV data is transmitted to the source device, the microcomputer generates Ri 'data based on An data and aKSV data transmitted from the source device and transmits the generated Ri' data to the source device; And comparing the Ri data with its own Ri data and the Ri 'data transmitted from the sink device to determine whether they match, and then completing the HDCP authentication if they match.

이상에서 설명한 바와 같이 본 발명은 소스 디바이스와 싱크 디바이스(100) 간의 HDCP 인증 과정에서 싱크 디바이스(100)에서의 마이콤이 항상 정확한 bKSV 데이터를 소스 디바이스로 전달함으로써, HDCP 인증 실패를 방지할 수 있다. 이에 따라 HDCP 인증 오류로 인해 HDMI 영상 품질이 저하되는 것을 방지하여 영상의 품질과 신뢰성을 보다 더 향상시킬 수 있는 이점이 있다.As described above, in the present invention, the microcomputer in the sink device 100 always delivers accurate bKSV data to the source device during the HDCP authentication process between the source device and the sink device 100, thereby preventing HDCP authentication failure. Accordingly, it is possible to prevent the HDMI video quality from deteriorating due to the HDCP authentication error, thereby further improving the quality and reliability of the video.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세하게 설명한다. 도면들 중 동일한 구성요소들은 가능한 어느 곳에서든지 동일한 부호로 표시한다. 또한 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능 및 구성에 대한 상세한 설명은 생략한다. Hereinafter, with reference to the accompanying drawings will be described in detail a preferred embodiment of the present invention. Like elements in the figures are denoted by the same reference numerals wherever possible. In addition, detailed descriptions of well-known functions and configurations that may unnecessarily obscure the subject matter of the present invention will be omitted.

도 1은 본 발명에 의한 HDCP 인증을 위한 싱크 디바이스와 소스 디바이스를 나타낸 블록도이다.1 is a block diagram illustrating a sink device and a source device for HDCP authentication according to the present invention.

싱크 디바이스(100)와 소스 디바이스(200)는 HDCP 인증을 위한 구성요소를 중심으로 도시하였으며, 싱크 디바이스(100)에서 일반적인 방송신호를 수신하여 디스플레이하는 기본적 구성 요소는 생략하였다.The sink device 100 and the source device 200 are shown centering on components for HDCP authentication, and the basic components for receiving and displaying a general broadcast signal from the sink device 100 are omitted.

상기에서 싱크 디바이스(100)는 디지털 텔레비전(DTV)이나 IP 텔레비전(IPTV) 등과 같은 영상기기가 될 수 있고, 소스 디바이스(200)는 HDCP(High-bandwidth Digital Content Protection) 기능을 탑재하고 있는 셋톱박스(STB; Set Top Box)나 DVDP(Digital Versatile Disk Player) 등이 될 수 있다. The sink device 100 may be a video device such as a digital television (DTV) or an IP television (IPTV), and the source device 200 has a set-top box equipped with a high-bandwidth digital content protection (HDCP) function. (STB; Set Top Box) or DVDP (Digital Versatile Disk Player).

상기 싱크 디바이스(100)와 소스 디바이스(200)는 HDMI(High-Definition Multimedia Interface) 또는 DVI(Digital Video/visual Interactive) 단자를 통해 HDCP 통신 케이블로 연결된다.The sink device 100 and the source device 200 are connected by an HDCP communication cable through a high-definition multimedia interface (HDMI) or a digital video / visual interactive (DVI) terminal.

상기와 같은 소스 디바이스(200)는 영상기기와 같은 싱크 디바이스(100)로 소정의 영상신호 및 음성신호 등의 디지털 콘텐츠를 제공하는 데, 디지털 콘텐츠를 전송하면서 싱크 디바이스(100)와 소스 디바이스(200)는 HDCP 인증을 수행하게 된다.The source device 200 as described above provides digital content such as a predetermined video signal and an audio signal to the sink device 100 such as a video apparatus. The sink device 100 and the source device 200 while transmitting the digital content ) Will perform HDCP authentication.

아울러, 싱크 디바이스(100)는, 289바이트의 HDCP 키데이터(key data)가 저장되는 외부 메모리(110)와, 상기 소스 디바이스(200)와 통신 케이블을 통해 전기적으로 연결되는 HDMI 또는 DVI와 같은 통신 인터페이스(130)와, 파워가 온되면 상기 외부 메모리(110)에 저장된 HDCP 키데이터를 내부 메모리(155)에 임시로 저장하고 상기 소스 디바이스(200)의 요구에 따라 HDCP 키데이터 중 40비트의 bKSV(Key Selection Vector) 데이터를 리드하여 오류 여부를 체크한 후 소스 디바이스(200)로 전송하는 마이콤(150)과, 상기 마이콤(150)을 통해 복호화된 신호를 제공받아 디스플레이 모듈에 맞는 신호로 변환하는 영상처리부(170)와, 상기 영상처리부(170)를 통해 입력된 영상신호를 디스플레이하는 디스플레이부(190)를 포함하여 구성된다.In addition, the sink device 100 may communicate with an external memory 110 in which 289 bytes of HDCP key data is stored, and HDMI or DVI, which are electrically connected to the source device 200 through a communication cable. When the interface 130 and the power are turned on, the HDCP key data stored in the external memory 110 is temporarily stored in the internal memory 155, and bKSV of 40 bits of the HDCP key data is required according to the request of the source device 200. (Key Selection Vector) reads the data to check whether there is an error and transmit to the source device 200 and the microcomputer 150, and receives the decoded signal through the microcomputer 150 to convert to a signal suitable for the display module And an image processor 170 and a display unit 190 for displaying an image signal input through the image processor 170.

상기에서 마이콤(150)은 HDCP 인증을 위해 소스 디바이스(200)의 요구에 따라 소스 디바이스(200)에서 전송된 An 데이터 및 aKSV 데이터를 기초로 Ri' 데이터 를 생성한 후 소스 디바이스(200)로 전송하기도 한다.In the above, the microcomputer 150 generates Ri 'data based on An data and aKSV data transmitted from the source device 200 according to a request of the source device 200 for HDCP authentication, and then transmits the Ri' data to the source device 200. Sometimes.

상기에서 aKSV는 소스 디바이스(200)에서 싱크 디바이스(100)로 전달되는 KSV 데이터이고, bKSV는 싱크 디바이스(100)에서 소스 디바이스(200)로 전달되는 KSV 데이터이고, An는 64비트의 의사 난수(pseudo random number)로서 소스 디바이스(200)에서 싱크 디바이스(100)로 전달되는 데이터이다.In the above, aKSV is KSV data transferred from the source device 200 to the sink device 100, bKSV is KSV data transferred from the sink device 100 to the source device 200, and An is a 64-bit pseudo random number ( pseudo random number) is data transferred from the source device 200 to the sink device 100.

상기 HDCP 인증을 수행하기 위해서는 싱크 디바이스(100)와 소스 디바이스(200)가 HDMI 인증기관(HDMI Licensing, LLC.)에서 배포하는 289바이트(byte)의 HDCP 키데이터(key data)를 기본적으로 가지고 있어야 한다.In order to perform the HDCP authentication, the sink device 100 and the source device 200 should basically have 289 bytes of HDCP key data distributed by an HDMI certification authority (HDMI Licensing, LLC.). do.

상기 289바이트의 HDCP 키데이터에는 5바이트의 KSV(Key Selection Vector) 데이터(총 40bit)와, 각 7바이트로 이루어진 40개 어레이의 디바이스키(device key)가 각각 포함되어 있다. 여기서, KSV 데이터는 디바이스(100, 200)마다 서로 다르다.The 289-byte HDCP key data includes 5 bytes of Key Selection Vector (KSV) data (40 bits in total) and 40 arrays of device keys each consisting of 7 bytes. Here, the KSV data is different for each of the devices 100 and 200.

즉, 싱크 디바이스(100)의 마이콤(150)은 파워 온시에 외부 메모리(110)에 저장된 HDCP 키데이터(key data)를 가져와 내부 메모리(155)에 임시 저장하고, 소스 디바이스(200)의 bKSV 데이터의 요구에 따라 HDCP 키데이터 중 bKSV 데이터를 리드하여 오류 여부를 체크한 후 소스 디바이스(200)로 전송하게 된다. That is, the microcomputer 150 of the sink device 100 obtains HDCP key data stored in the external memory 110 at power-on, and temporarily stores them in the internal memory 155 and bKSV data of the source device 200. According to the request, bKSV data of the HDCP key data is read and checked for an error, and then transmitted to the source device 200.

상기에서 마이콤(150)은 내부 메모리(155)에 저장된 HDCP 키데이터 중 40비트의 bKSV 데이터를 리드한 후 상기 40비트의 bKSV 데이터에서 '1' 또는 '0'의 개수를 카운트하고, 카운트된 '1' 또는 '0'의 개수가 설정된 기준 개수(예컨대, 20개)와 동일한지를 체크하여 동일할 경우에는 정상적인 bKSV 데이터로 간주하여 소 스 디바이스(200)로 전송하게 된다.The microcomputer 150 reads 40 bits of bKSV data from the HDCP key data stored in the internal memory 155, counts the number of '1' or '0' in the 40 bits of bKSV data, and counts' If the number of 1 'or' 0 'is equal to the set reference number (for example, 20), the same number is transmitted to the source device 200 in consideration of normal bKSV data.

여기서, 기존의 HDCP 인증 수행시에는 마이콤이 bKSV 데이터의 오류 여부를 체크하지 않고 소스 디바이스로 전송함에 따라 소스 디바이스는 오류가 난 bKSV 데이터로 인해 HDCP 인증에 실패하는 경우가 있었다. 본 발명이 기존과 다른 가장 큰 차이점은 HDCP 인증 과정에서 마이콤(150)이 bKSV 데이터의 오류 여부를 체크한 후 항상 정확한 bKSV 데이터를 소스 디바이스(200)로 전달하는 것이다.Here, when performing the existing HDCP authentication, as the microcomputer transmits to the source device without checking the error of the bKSV data, the source device has failed in the HDCP authentication due to the bKSV data error. The biggest difference between the present invention and the existing one is that the microcomputer 150 always checks the error of the bKSV data in the HDCP authentication process and always delivers the correct bKSV data to the source device 200.

도 2는 본 발명의 실시예에 의한 HDCP 키의 오류 방지 과정을 나타낸 절차도로서, 도 1을 참조하여 살펴본다.2 is a flowchart illustrating an error prevention process of an HDCP key according to an embodiment of the present invention, which will be described with reference to FIG. 1.

먼저, 싱크 디바이스(100)와 소스 디바이스(200)는 HDMI 또는 DVI 통신 인터페이스(130)를 통해 HDCP 통신 케이블로 서로 연결된다(S1).First, the sink device 100 and the source device 200 are connected to each other via an HDCP communication cable through the HDMI or DVI communication interface 130 (S1).

이와 같은 상태에서 싱크 디바이스(100)의 파워가 온되면, 마이콤(150)은 외부 메모리(110)에 저장된 HDCP 키데이터를 가져와 내부 메모리(155)에 임시로 저장하게 된다(S2). 상기 외부 메모리(110)에는 289바이트의 HDCP 키데이터가 저장되어 있으며, 상기 HDCP 키데이터에는 40비트의 KSV 데이터와 7바이트로 이루어진 40개 어레이의 디바이스키가 각각 포함되어 있다.In this state, when the power of the sink device 100 is turned on, the microcomputer 150 takes HDCP key data stored in the external memory 110 and temporarily stores them in the internal memory 155 (S2). The external memory 110 stores 289 bytes of HDCP key data, and the HDCP key data includes 40 bits of KSV data and 40 arrays of device keys each consisting of 7 bytes.

이어, 마이콤(150)은 통신 케이블을 통해 연결된 소스 디바이스(200)로 HPD(Hot Plug Detect) 신호인 'High' 신호를 전송하여 소스 디바이스(200)가 통신을 시도하도록 명령한다(S3). 상기 HPD(Hot Plug Detect)는 싱크 디바이스(100)가 소스 디바이스(200)에게 보내주는 "high 또는 low" 신호로서 소스 디바이스(200)를 리셋(reset)시키는 역할을 한다.Subsequently, the microcomputer 150 transmits a 'High' signal, which is a Hot Plug Detect (HPD) signal, to the source device 200 connected through the communication cable to instruct the source device 200 to attempt communication (S3). The Hot Plug Detect (HPD) serves to reset the source device 200 as a "high or low" signal that the sink device 100 sends to the source device 200.

소스 디바이스(200)는 싱크 디바이스(100)로부터 액티브한 HPD 신호가 전송되면 An 데이터 및 aKSV 데이터 등을 포함하는 데이터를 싱크 디바이스(100)로 전송한 후 싱크 디바이스(100)에게 bKSV 데이터를 요구한다(S4, S5). 여기서, aKSV는 소스 디바이스(200)에서 싱크 디바이스(100)로 전달되는 KSV 데이터이고, bKSV는 싱크 디바이스(100)에서 소스 디바이스(200)로 전달되는 KSV 데이터이고, An는 64비트의 의사 난수(pseudo random number)로서 소스 디바이스(200)에서 싱크 디바이스(100)로 전달되는 데이터이다.When an active HPD signal is transmitted from the sink device 100, the source device 200 transmits data including An data and aKSV data to the sink device 100, and then requests bKSV data from the sink device 100. (S4, S5). Here, aKSV is KSV data transferred from the source device 200 to the sink device 100, bKSV is KSV data transferred from the sink device 100 to the source device 200, and An is a 64-bit pseudo random number ( pseudo random number) is data transferred from the source device 200 to the sink device 100.

이에 따라 싱크 디바이스(100)의 마이콤(150)은 내부 메모리(155)에 저장된 HDCP 키데이터 중 40비트의 bKSV 데이터를 리드하고(S6), 상기 40비트의 bKSV 데이터에서 '1'의 개수를 카운트하게 된다(S7). 상기 bKSV 데이터가 정상적일 경우에는 '1'의 개수가 20개이고, '0'의 개수가 20개이다. 물론, 마이콤(150)은 '1'의 개수가 아니라 '0'의 개수를 카운트할 수도 있다.Accordingly, the microcomputer 150 of the sink device 100 reads 40 bits of bKSV data from the HDCP key data stored in the internal memory 155 (S6), and counts the number of '1's from the 40 bits of bKSV data. (S7). When the bKSV data is normal, the number of '1' is 20 and the number of '0' is 20. Of course, the microcomputer 150 may count the number of '0's instead of the number of' 1's.

이어, 마이콤(150)은 카운트된 '1'의 개수와 설정된 기준 개수(예컨대, 20개)를 상호 비교하여 카운트된 '1'의 개수가 설정된 기준 개수와 동일한지를 판단하게 된다(S8). Subsequently, the microcomputer 150 compares the counted number of '1's with the set reference number (for example, 20) to determine whether the counted' 1 'is equal to the set reference number (S8).

상기(S8)에서 카운트된 '1'의 개수가 설정된 기준 개수와 동일하지 않을 경우에는, 마이콤은 HPD 신호를 소스 디바이스(200)로 전달하여 처음부터 다시 HDCP 인증을 다시 수행하도록 한다(S3~S8). 물론, 마이콤(150)은 외부 메모리(110)에 저장된 HDCP 키데이터를 가져와 내부 메모리(155)에 저장하는 과정(S2)부터 다시 수행하는 것이 보다 더 정확하지만, 이 경우에는 HDCP 키데이터를 외부 메모리(110) 로부터 가져오는데 다소의 시간이 소요될 수 있기 때문에 상황에 따라 적절하게 수행하는 것이 좋다.If the number of '1' counted in step S8 is not equal to the set reference number, the microcomputer transmits the HPD signal to the source device 200 to perform HDCP authentication again from the beginning (S3 to S8). ). Of course, the micom 150 is more accurate to perform again from the process (S2) of taking the HDCP key data stored in the external memory 110 and stored in the internal memory 155, in this case, the HDCP key data to the external memory Since it may take some time to import from the (110), it is better to perform properly according to the situation.

상기에서 마이콤(150)은 bKSV 데이터에 오류가 없으면 40비트의 bKSV 데이터를 소스 디바이스(200)로 전송하고, 다음 명령을 대기한다(S9).If there is no error in the bKSV data, the microcomputer 150 transmits the 40-bit bKSV data to the source device 200 and waits for the next command (S9).

소스 디바이스(200)는 싱크 디바이스(100)로부터 전송된 bKSV 데이터를 기초로 인증에 필요한 데이터를 생성한 후 싱크 디바이스(100)에 Ri' 데이터의 전송을 요구한다(S10, S11). The source device 200 generates data necessary for authentication based on the bKSV data transmitted from the sink device 100 and then requests the sink device 100 to transmit Ri 'data (S10 and S11).

이에 따라, 싱크 디바이스(100)의 마이콤(150)은 소스 디바이스(200)로부터 전송된 An 데이터 및 aKSV 데이터를 기초로 Ri' 데이터를 생성하고, 생성된 Ri' 데이터를 소스 디바이스(200)로 전송한다(S12, S13). 여기서, Ri'는 싱크 디바이스(100)가 생성한 i번째 2바이트의 데이터이고, 아래의 Ri는 소스 디바이스(200)가 생성한 i번째 2바이트의 데이터이다.Accordingly, the microcomputer 150 of the sink device 100 generates Ri 'data based on An data and aKSV data transmitted from the source device 200 and transmits the generated Ri' data to the source device 200. (S12, S13). Here, Ri 'is the i-th 2 bytes of data generated by the sink device 100, and Ri below is the i-th 2 bytes of data generated by the source device 200.

이어, 소스 디바이스(200)는 자신의 Ri 데이터와 싱크 디바이스(100)로부터 전송된 Ri' 데이터를 상호 비교하여 일치하는지를 판단한 후 일치할 경우 HDCP 인증을 완료하게 된다(S14). 상기에서 Ri 데이터를 생성하는 방법은, 예컨대 bKSV 데이터가 '1'이면 그에 대응되는 aKSV 데이터들을 20개 추출하여 Ri 데이터를 만든다.Subsequently, the source device 200 compares its Ri data with the Ri 'data transmitted from the sink device 100 to determine whether they match and then completes HDCP authentication (S14). In the above-described method of generating Ri data, for example, when bKSV data is '1', Ri data is extracted by extracting 20 aKSV data corresponding thereto.

상기에서와 같이 마이콤(150)은 HDCP 인증 과정에서 내부 메모리(155)에 저장된 bKSV 데이터의 '1' 또는 '0'의 개수를 카운트하여 오류 여부를 체크한 후 항상 정확한 bKSV 데이터를 소스 디바이스(200)로 전달함으로써, 내부 시스템의 문제 로 인한 불필요한 인증 실패를 방지할 수 있다.As described above, the microcomputer 150 counts the number of '1' or '0' of the bKSV data stored in the internal memory 155 in the HDCP authentication process, checks whether there is an error, and always supplies the correct bKSV data to the source device 200. ), It can prevent unnecessary authentication failure due to problems of the internal system.

이후, 싱크 디바이스(100)와 소스 디바이스(200)는 주기적(대략 2초마다)으로 상기와 같은 HDCP 인증을 수행하게 된다.Thereafter, the sink device 100 and the source device 200 perform the above-described HDCP authentication periodically (approximately every 2 seconds).

상기의 본 발명은 바람직한 실시예를 중심으로 살펴보았으며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명의 본질적 기술 범위 내에서 상기 본 발명의 상세한 설명과 다른 형태의 실시예들을 구현할 수 있을 것이다. 여기서 본 발명의 본질적 기술범위는 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.The present invention has been described with reference to the preferred embodiments, and those skilled in the art to which the present invention pertains to the detailed description of the present invention and other forms of embodiments within the essential technical scope of the present invention. Could be. Here, the essential technical scope of the present invention is shown in the claims, and all differences within the equivalent range will be construed as being included in the present invention.

도 1은 본 발명에 의한 HDCP 인증을 위한 싱크 디바이스와 소스 디바이스를 나타낸 블록도이다.1 is a block diagram illustrating a sink device and a source device for HDCP authentication according to the present invention.

도 2는 본 발명의 실시예에 의한 HDCP 키의 오류 방지 과정을 나타낸 절차도이다.2 is a flowchart illustrating an error prevention process of an HDCP key according to an embodiment of the present invention.

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

100: 싱크 디바이스(영상기기) 110: 외부 메모리100: sink device (video device) 110: external memory

130: 통신 인터페이스 150: 마이콤130: communication interface 150: micom

155: 내부 메모리 200: 소스 디바이스(STB, DVDP)155: internal memory 200: source device (STB, DVDP)

Claims (5)

소스 디바이스와 통신 케이블을 통해 연결되는 통신 인터페이스;A communication interface connected with the source device via a communication cable; HDCP(High-bandwidth Digital Content Protection) 키데이터가 저장되는 외부 메모리; 및An external memory for storing High-bandwidth Digital Content Protection (HDCP) key data; And 상기 외부 메모리에 저장된 HDCP 키데이터(key data)를 내부 메모리에 임시로 저장하고, 상기 소스 디바이스의 요구에 따라 HDCP 키데이터 중 bKSV(Key Selection Vector) 데이터를 리드하여 오류 여부를 체크한 후 상기 소스 디바이스로 전송하는 마이콤;을 포함하는 영상기기에서의 HDCP 키의 오류 방지 장치.Temporarily stores HDCP key data stored in the external memory in the internal memory, reads bKSV (Key Selection Vector) data among HDCP key data according to the request of the source device, checks whether there is an error, and then Device for preventing the error of the HDCP key in the video device comprising a; 제 1 항에 있어서,The method of claim 1, 상기 마이콤은 bKSV 데이터의 오류 여부를 체크할 때, 상기 bKSV 데이터 중 '1' 또는 '0'의 개수를 카운트하고, 카운트된 '1' 또는 '0'의 개수가 설정된 기준 개수와 동일한지를 판단하는 영상기기에서의 HDCP 키의 오류 방지 장치.When the microcomputer checks whether the bKSV data is in error, the microcomputer counts the number of '1' or '0' among the bKSV data and determines whether the counted number of '1' or '0' is equal to the set reference number. Error prevention device of HDCP key in video equipment. 마이콤은 외부 메모리에 저장된 HDCP 키데이터를 가져와 내부 메모리에 임시로 저장하는 단계;The microcomputer takes the HDCP key data stored in the external memory and temporarily stores them in the internal memory; 상기 마이콤은 연결된 소스 디바이스로 HPD(Hot Plug Detect) 신호를 전송하 여 소스 디바이스가 통신을 시도하도록 명령하는 단계; The microcomputer transmitting a Hot Plug Detect (HPD) signal to a connected source device to instruct the source device to attempt communication; 상기 소스 디바이스의 요구에 따라 마이콤은 내부 메모리에 저장된 HDCP 키데이터 중 bKSV 데이터를 리드한 후 상기 bKSV 데이터에서 '1' 또는 '0'의 개수를 카운트하는 단계;According to a request of the source device, the microcomputer reads bKSV data among HDCP key data stored in an internal memory and counts the number of '1' or '0' in the bKSV data; 상기 카운트된 '1' 또는 '0'의 개수와 설정된 기준 개수를 상호 비교하여 동일한지를 판단하는 단계; 및Comparing the counted number of '1' or '0' with a set reference number and determining whether the number is the same; And 상기 카운트된 '1' 또는 '0'의 개수와 설정된 기준 개수가 동일할 경우에는 bKSV 데이터를 정상적인 데이터로 간주하여 소스 디바이스로 전송하는 단계;를 포함하는 영상기기에서의 HDCP 키의 오류 방지 방법.If the counted number of '1' or '0' and the set reference number is the same, the step of transmitting bKSV data as a normal data to the source device; Preventing error of the HDCP key in a video device comprising a. 제 3 항에 있어서,The method of claim 3, wherein 상기에서 카운트된 '1' 또는 '0'의 개수와 설정된 기준 개수가 동일하지 않으면, 마이콤은 연결된 소스 디바이스로 HPD 신호를 전송하는 단계부터 재수행하는 것을 특징으로 하는 영상기기에서의 HDCP 키의 오류 방지 방법.If the number of '1' or '0' counted above is not equal to the set reference number, the microcomputer re-executes the step of transmitting the HPD signal to the connected source device. Way. 제 3 항에 있어서,The method of claim 3, wherein 상기 bKSV 데이터를 소스 디바이스로 전송한 후, 마이콤은 소스 디바이스로부터 전송된 An 데이터 및 aKSV 데이터를 기초로 Ri' 데이터를 생성하고 생성된 Ri' 데이터를 소스 디바이스로 전송하는 단계; 및 상기 소스 디바이스는 자신의 Ri 데이터와 싱크 디바이스로부터 전송된 Ri' 데이터를 상호 비교하여 일치하는지를 판단한 후 일치할 경우 HDCP 인증을 완료하는 단계;를 더 포함하는 영상기기에서의 HDCP 키의 오류 방지 방법.After transmitting the bKSV data to a source device, the microcomputer generates Ri 'data based on An data and aKSV data transmitted from the source device, and transmits the generated Ri' data to the source device; And comparing the Ri data with its own Ri data and the Ri 'data transmitted from the sink device to determine whether the source device is matched, and completing the HDCP authentication when the source device matches. .
KR1020090113546A 2009-11-23 2009-11-23 Device and method for protecting a error of hdcp key data in television set KR20110057016A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090113546A KR20110057016A (en) 2009-11-23 2009-11-23 Device and method for protecting a error of hdcp key data in television set

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090113546A KR20110057016A (en) 2009-11-23 2009-11-23 Device and method for protecting a error of hdcp key data in television set

Publications (1)

Publication Number Publication Date
KR20110057016A true KR20110057016A (en) 2011-05-31

Family

ID=44365293

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090113546A KR20110057016A (en) 2009-11-23 2009-11-23 Device and method for protecting a error of hdcp key data in television set

Country Status (1)

Country Link
KR (1) KR20110057016A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107454394A (en) * 2017-09-22 2017-12-08 上海帆声图像科技有限公司 Television set HDCP encryption detection methods based on software verification
US10694229B2 (en) 2013-01-28 2020-06-23 Samsung Electronics Co., Ltd. Source device, content providing method using the source device, sink device and controlling method of the sink device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10694229B2 (en) 2013-01-28 2020-06-23 Samsung Electronics Co., Ltd. Source device, content providing method using the source device, sink device and controlling method of the sink device
US11122304B2 (en) 2013-01-28 2021-09-14 Samsung Electronics Co., Ltd. Source device, content providing method using the source device, sink device and controlling method of the sink device
US11722712B2 (en) 2013-01-28 2023-08-08 Samsung Eleotronics Co., Ltd. Source device, content providing method using the source device, sink device and controlling method of the sink device
CN107454394A (en) * 2017-09-22 2017-12-08 上海帆声图像科技有限公司 Television set HDCP encryption detection methods based on software verification

Similar Documents

Publication Publication Date Title
US11722712B2 (en) Source device, content providing method using the source device, sink device and controlling method of the sink device
KR100774172B1 (en) Display device and method for controlling thereof
US8375150B2 (en) Fast HDMI switching with conditional reset mechanism
US8238726B2 (en) Audio-video data synchronization method, video output device, audio output device, and audio-video output system
US7555124B2 (en) Secure video system for display adaptor
US7761709B2 (en) Media receiving apparatus, media system having the same, and control methods thereof
US20050225547A1 (en) Display system and control method thereof
US9413986B1 (en) Video switch and switching method thereof
EP1990999A2 (en) Content-protected digital link over a single signal line
US20110013772A1 (en) Method and Apparatus for Fast Switching Between Source Multimedia Devices
EP2274907A1 (en) Method, apparatus and system for deciphering media content stream
US8316391B2 (en) Video signal processing apparatus and set top box
JP5172591B2 (en) Wireless transmission system
KR20110057016A (en) Device and method for protecting a error of hdcp key data in television set
WO2010070812A1 (en) Data transmission circuit
US20110317830A1 (en) Selective storage of data representative of decrypted video content
CA3186964A1 (en) Method and system for detecting incompatible cable (hdmi)
US20220321959A1 (en) Multimedia signal processing device and authorization method
WO2018163358A1 (en) Electronic device and display method
KR100658398B1 (en) Apparatus and inspection method for signal distribution in digital media source
KR20070020617A (en) The device and method for protecting the error of HDCP communication in TV set
KR20100036643A (en) Image processing apparatus and control method thereof
KR20110001420A (en) Display device and controlling method thereof
KR20070067871A (en) Display apparatus
KR20090048006A (en) Hdmi receiver and method for processing snow noise

Legal Events

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