KR200383978Y1 - Real Time Clock Device Generating Secure Clock - Google Patents

Real Time Clock Device Generating Secure Clock Download PDF

Info

Publication number
KR200383978Y1
KR200383978Y1 KR20-2005-0005323U KR20050005323U KR200383978Y1 KR 200383978 Y1 KR200383978 Y1 KR 200383978Y1 KR 20050005323 U KR20050005323 U KR 20050005323U KR 200383978 Y1 KR200383978 Y1 KR 200383978Y1
Authority
KR
South Korea
Prior art keywords
secure
time
clock
date
register
Prior art date
Application number
KR20-2005-0005323U
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 KR20-2005-0005323U priority Critical patent/KR200383978Y1/en
Application granted granted Critical
Publication of KR200383978Y1 publication Critical patent/KR200383978Y1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/08Clock generators with changeable or programmable clock frequency

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Electric Clocks (AREA)

Abstract

본 고안은 시큐어 클럭을 생성하는 실시간 시각 발생 장치에 관한 것이다.The present invention relates to a real-time time generating device for generating a secure clock.

본 고안은, 오실레이터, 디바이더, FOUT 컨트롤러, 인터럽트 컨트롤러, IIC 버스 인터페이스 회로, 시각/날짜 계산부, 타이머 레지스터, 알람 레지스터 및 시스템 컨트롤러를 포함하여 구성되며, 실시간 시각/날짜 정보를 제공하는 실시간 시각 발생 장치에 시큐어 클럭 시각/날짜 계산부를 추가하여 권한 없는 사용자가 설정을 변경할 수 없는 시큐어 클럭을 생성하여 외부의 컴퓨터로 제공하는 시큐어 클럭을 생성하는 실시각 시각 발생 장치를 제공한다.The present invention comprises an oscillator, divider, FOUT controller, interrupt controller, IIC bus interface circuit, time / date calculation unit, timer register, alarm register, and system controller, and provides real time time / date information. A secure clock time / date calculation unit is added to a device to provide a real time generation device that generates a secure clock that cannot be changed by an unauthorized user and generates a secure clock provided to an external computer.

본 고안에 의하면, 사용자가 임의대로 시각/날짜를 변경할 수 없는 시큐어 클럭을 생성하여 컴퓨터에 제공할 수 있는 효과가 있다.According to the present invention, there is an effect that the user can generate a secure clock that cannot change the time / date arbitrarily and provide it to the computer.

Description

시큐어 클럭을 생성하는 실시간 시각 발생 장치{Real Time Clock Device Generating Secure Clock}Real Time Clock Device Generating Secure Clock

본 고안은 시큐어 클럭을 생성하는 실시간 시각 발생 장치에 관한 것이다. 더욱 상세하게는, 오실레이터, 디바이더, FOUT 컨트롤러, 인터럽트 컨트롤러, IIC 버스 인터페이스 회로, 시각/날짜 계산부, 타이머 레지스터, 알람 레지스터 및 시스템 컨트롤러를 포함하여 구성되며, 실시간 시각/날짜 정보를 제공하는 실시각 시각 발생 장치에 시큐어 클럭 시각/날짜 계산부를 추가하여 권한 없는 사용자가 설정을 변경할 수 없는 시큐어 클럭을 생성하여 외부의 컴퓨터로 제공하는 시큐어 클럭을 생성하는 실시각 시각 발생 장치에 관한 것이다.The present invention relates to a real-time time generating device for generating a secure clock. More specifically, it includes an oscillator, divider, FOUT controller, interrupt controller, IIC bus interface circuit, time / date calculator, timer register, alarm register, and system controller to provide real-time time / date information. A secure clock time / date calculation unit is added to a time generating device to generate a secure clock which cannot be changed by an unauthorized user, and to generate a secure clock provided to an external computer.

컴퓨터는 기본적으로 입출력 장치, 기억 장치 및 중앙처리장치(CPU)로 구성되어 입력받은 정보를 정해진 알고리즘에 따라 처리하여 그 결과를 제공하는 장치를 말한다. 컴퓨터 관련 기술의 발전으로 최근에는 회사에서의 업무 처리, 인터넷과 같은 네트워크를 통한 데이터 교환, 음악 청취, 영화 감상 등의 각종 작업을 컴퓨터로 처리하고 있다. 이러한 각종 작업과 관련하여 컴퓨터는 현재의 시각, 날짜 등의 시간 정보를 필요로 하는 경우가 많다. 따라서, 일반적으로 컴퓨터는 자체적으로 시간을 측정할 수 있도록, 실시간 시각 발생 장치(RTC: Real Time Clock, 이하 RTC라 칭함)를 칩 형태로 탑재하고 있다.A computer basically consists of an input / output device, a memory device, and a central processing unit (CPU). The computer processes the received information according to a predetermined algorithm and provides a result. With the development of computer-related technology, various tasks such as business work in the company, data exchange through a network such as the Internet, music listening, and movie watching are being processed by the computer. In connection with these various tasks, the computer often needs time information such as current time and date. Therefore, in general, a computer is equipped with a real time clock (RTC: Real Time Clock, RTC) in the form of a chip so that the time can be measured by itself.

RTC는 일정 주파수의 클럭 신호를 발생시켜 컴퓨터에 시계 기능을 제공하는 장치로서 컴퓨터로 전원이 공급되지 않는 경우에도 시간 측정을 계속할 수 있도록 별도의 배터리가 연결되어 있다. RTC는 시/분/초의 시각 정보, 일/주/월/년의 날짜 정보를 컴퓨터로 제공할 수 있으며, 부가적으로 설정한 특정 시각을 알려주는 알람(Alarm) 기능과 일정 간격의 시간을 측정하는 타이머(Timer) 기능을 구비할 수 있다. 컴퓨터 사용자는 필요에 따라 RTC의 시각 정보 및 날짜 정보를 세팅(Set/Reset)하여 조정할 수 있다.The RTC is a device that generates a clock signal of a certain frequency and provides a clock function to the computer. A separate battery is connected to continue the time measurement even when the computer is not powered. RTC can provide hour / minute / second time information and day / week / month / year date information to the computer.Alarm function that informs the specific time set additionally and time intervals are measured. A timer function may be provided. The computer user can set / reset the RTC's time and date information as needed.

한편, 디지털 기술의 발달로 문자, 음성, 영상, 동영상 등으로 구성된 디지털 컨텐츠의 제작, 전송, 교환 등이 활발해지면서, 인터넷 커뮤니티나 P2P(Peer To Peer) 공유 사이트를 통한 디지털 콘텐츠의 무단 사용이 사회적 문제가 되고 있다. 따라서, 디지털 컨텐츠의 무단 사용을 막아 저작권 관련 당사자들의 이익과 권리를 보호하기 위한 DRM(Digital Rights Management) 기술이 대두되고 있다. DRM 기술은 적법한 사용자만 콘텐츠를 사용하고 적절한 요금을 지불하도록 만드는 디지털 저작권 관리기술, 저작권 승인과 집행을 위한 소프트웨어 및 보안기술, 지불 및 결제기술 등을 모두 포함하는 개념이다.Meanwhile, with the development of digital technology, the creation, transmission, and exchange of digital contents consisting of text, voice, video, and video are becoming active, and unauthorized use of digital contents through the Internet community or peer-to-peer sharing sites is social. It is a problem. Therefore, Digital Rights Management (DRM) technology is emerging to protect the interests and rights of copyright related parties by preventing unauthorized use of digital contents. DRM technology is a concept that includes digital copyright management technology, software and security technology for copyright approval and enforcement, payment and payment technology, etc., to ensure that only legitimate users use the content and pay the appropriate fees.

이러한 DRM 기술을 적용한 예로서 Time-Bound 라이센스가 있으며, 이는 컨텐츠 이용자에게 사용 기간이 제한된 디지털 컨텐츠를 제공하는 기술이다. 예컨대, 다운로드 받은 디지털 컨텐츠를 20일간 사용할 수 있고, 그 이후에는 추가 요금을 지불해야 해당 컨텐츠를 계속해서 이용할 수 있도록 DRM 기술을 적용할 수 있다. 디지털 컨텐츠의 사용 기간을 제한하기 위해서는 컨텐츠 내에 사용 시간을 계산하는 프로그램을 탑재하게 되며, 이러한 프로그램은 RTC에서 제공하는 시간 정보를 이용하게 된다.As an example of applying the DRM technology, there is a time-bound license, which provides digital contents with a limited usage period to content users. For example, the downloaded digital content can be used for 20 days, after which the DRM technology can be applied to continue using the content at an additional fee. In order to limit the usage period of the digital content, a program for calculating the usage time is mounted in the content, and such a program uses time information provided by the RTC.

그러나, 전술한 대로 종래의 RTC는 임의대로 사용자가 시각 정보를 조정할 수 있게 때문에, 디지털 컨텐츠에 탑재된 사용 제한 프로그램이 이용하는 시각 정보를 변경하여 컨텐츠 이용 시간을 연장시키거나 컨텐츠 사용 제한을 없앨 수 있는 심각한 문제점을 가지고 있다.However, as described above, the conventional RTC allows the user to arbitrarily adjust the visual information. Therefore, by changing the visual information used by the usage restriction program mounted on the digital content, the content usage time can be extended or the content usage restriction can be removed. I have a serious problem.

이러한 문제점을 해결하기 위해 본 고안은, 오실레이터, 디바이더, FOUT 컨트롤러, 인터럽트 컨트롤러, IIC 버스 인터페이스 회로, 시각/날짜 계산부, 타이머 레지스터, 알람 레지스터 및 시스템 컨트롤러를 포함하여 구성되며, 실시간 시각/날짜 정보를 제공하는 실시각 시각 발생 장치에 시큐어 클럭 시각/날짜 계산부를 추가하여 권한 없는 사용자가 설정을 변경할 수 없는 시큐어 클럭을 생성하여 외부의 컴퓨터로 제공하는 시큐어 클럭을 생성하는 실시각 시각 발생 장치를 제공하는 것을 목적으로 한다.In order to solve this problem, the present invention includes an oscillator, divider, FOUT controller, interrupt controller, IIC bus interface circuit, time / date calculator, timer register, alarm register, and system controller. By providing a secure clock time / date calculation unit to a real time generating device that provides a real time generating device for generating a secure clock that can be provided to an external computer by generating a secure clock that can not be changed by unauthorized users It aims to do it.

본 고안의 목적에 의하면, 시각/날짜 정보를 임의로 변조할 수 없는 시큐어 클럭(Secure Clock)을 생성하는 RTC에 있어서, 특정 주파수의 기준 클럭 신호를 생성하는 오실레이터(Oscillator); 상기 오실레이터에서 생성한 상기 기준 클럭 신호를 분주하는 디바이더(Divider); FOUT 핀(Pin)으로의 출력 신호를 제어하는 FOUT 컨트롤러(FOUT Controller); 인터럽트 이벤트 신호가 발생하면 상기 인터럽트 이벤트 신호를 /INT 핀을 통해 출력하도록 제어하는 인터럽트 컨트롤러(Interrupt Controller); 상기 RTC와 외부의 칩간의 데이터를 송수신하는 IIC 버스 인터페이스 회로(Inter IC BUS Interface Circuit); 상기 디바이더로부터 입력받은 클럭 신호를 카운트하여 시(Hour), 분(Minute) 및 초(Second) 정보를 포함하는 시각 정보와 일(Day), 주(Week), 월(Month) 및 년(Year) 정보를 포함하는 날짜 정보를 생성하는 시각/날짜 계산부(Clock and Calendar); 타이머 기능을 제공하기 위한 타이머 설정 정보를 저장하는 타이머 레지스터(Timer Register); 알람 기능을 제공하기 위한 알람 설정 정보를 저장하는 알람 레지스터(Alarm Register); 상기 시각/날짜 계산부에서 제공하는 시각/날짜 정보와 별도로 상기 디바이더로부터 입력받은 클럭 신호를 카운트하여 시, 분 및 초 정보를 포함하는 시큐어 시각 정보와 일, 주, 월 및 년 정보를 포함하는 시큐어 날짜 정보를 생성하는 시큐어 시각/날짜 계산부(Secure Clock and Calendar); 및 상기 RTC에서 시각/날짜 계산 기능, 알람 기능 및 타이머 기능을 수행하도록 제어하며, 시큐어 시각/날짜 변경 및 정지/리셋(Stop/Reset)을 포함하는 시큐어 클럭 설정에 대한 변경 요청 신호를 입력받으면, 상기 변경 요청 신호가 상기 시큐어 클럭 설정을 변경할 권한이 있는 시큐어 클럭 변경 프로그램에 의한 요청인지 여부를 인증하여, 인증된 상기 변경 요청 신호에 따라 상기 시큐어 클럭 설정을 변경하도록 상기 시큐어 시각/날짜 계산부를 제어하는 시스템 컨트롤러(System Controller)를 포함하는 것을 특징으로 하는 시큐어 클럭을 생성하는 RTC를 제공한다.According to an object of the present invention, an RTC for generating a secure clock that cannot arbitrarily modulate time / date information, comprising: an oscillator for generating a reference clock signal of a specific frequency; A divider for dividing the reference clock signal generated by the oscillator; A FOUT controller for controlling the output signal to the FOUT pin; An interrupt controller for controlling to output the interrupt event signal through the / INT pin when an interrupt event signal is generated; An IIC bus interface circuit for transmitting and receiving data between the RTC and an external chip; Clock information received from the divider is counted, and time information including Hour, Minute, and Second information, and Day, Week, Month, and Year. A clock and date calculator for generating date information including information; A timer register for storing timer setting information for providing a timer function; An alarm register for storing alarm setting information for providing an alarm function; In addition to the time / date information provided by the time / date calculation unit, a clock signal received from the divider is counted, and secure time information including hour, minute, and second information, and secure information including day, week, month, and year information. A secure clock and calendar for generating date information; And controlling to perform a time / date calculation function, an alarm function, and a timer function in the RTC, and receiving a change request signal for a secure clock setting including a secure time / date change and a stop / reset. Authenticating whether the change request signal is a request by a secure clock change program authorized to change the secure clock setting, and controlling the secure time / date calculation unit to change the secure clock setting according to the authenticated change request signal. It provides an RTC for generating a secure clock, characterized in that it comprises a system controller (System Controller).

이하, 본 고안의 바람직한 실시예를 첨부된 도면들을 참조하여 상세히 설명한다. 우선 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한, 본 고안을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 고안의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. First of all, in adding reference numerals to the components of each drawing, it should be noted that the same reference numerals are used as much as possible even if displayed on different drawings. In addition, in describing the present invention, when it is determined that the detailed description of the related known configuration or function may obscure the subject matter of the present invention, the detailed description thereof will be omitted.

도 1은 종래의 RTC의 내부 구성을 나타낸 도면이다.1 is a view showing the internal configuration of a conventional RTC.

도 1에 도시된 바와 같이 종래의 RTC는 오실레이터(Oscillator)(100), 디바이더(Divider)(110), FOUT 컨트롤러(FOUT Controller) (120), 인터럽트 컨트롤러(Interrupt Controller)(130), IIC 버스 인터페이스 회로(Inter IC BUS Interface Circuit)(140), 시각/날짜 계산부(Clock and Calendar)(150), 타이머 레지스터(Timer Register)(160), 알람 레지스터(Alarm Register)(170) 및 시스템 컨트롤러(System Controller)(180) 등을 포함하여 구성될 수 있다.As shown in FIG. 1, a conventional RTC includes an oscillator 100, a divider 110, a FOUT controller 120, an interrupt controller 130, and an IIC bus interface. Inter IC BUS Interface Circuit 140, Clock and Calendar 150, Timer Register 160, Alarm Register 170 and System Controller Controller 180, etc. may be configured.

오실레이터(100)는 특정 주파수의 기준 클럭 신호를 생성하여 RTC로 제공한다. 오실레이터(100)로는 고정 주파수를 발진하는데 효과적인 수정 발진기를 사용할 수 있으며, 일반적으로 32.768 kHz의 기준 클럭 신호를 생성한다. 디바이더(110)는 오실레이터(100)에서 생성한 클럭 신호를 분주하는 역할을 한다. RTC의 구성 요소들은 동작 주파수 설정에 따라 여러 주파수의 클럭 신호를 필요로 할 수 있으며, 디바이더(110)에서 오실레이터(100)의 클럭 신호를 분주하여 RTC에서 사용하는 주파수의 클럭 신호를 제공하게 된다.The oscillator 100 generates a reference clock signal of a specific frequency and provides it to the RTC. The oscillator 100 may use a crystal oscillator that is effective for oscillating a fixed frequency and generally generates a reference clock signal of 32.768 kHz. The divider 110 divides the clock signal generated by the oscillator 100. Components of the RTC may require clock signals of various frequencies according to operating frequency settings, and the divider 110 divides the clock signals of the oscillators 100 to provide clock signals of frequencies used by the RTC.

FOUT 컨트롤러(120)는 FOUT 핀(Pin)으로의 출력 신호를 제어하는 역할을 한다. FOUT 컨트롤러(120)는 FOE 핀의 입력 신호 레벨이 높으면 FOUT 핀을 통해 오실레이터(100)에서 생성하는 주파수인 32.768 kHz의 신호를 출력하도록 제어하며, FOE 핀의 입력 신호 레벨이 낮으면 FOUT 핀을 통한 신호 출력을 중단하도록 제어한다.The FOUT controller 120 controls the output signal to the FOUT pin. The FOUT controller 120 controls to output a signal of 32.768 kHz, which is a frequency generated by the oscillator 100, through the FOUT pin when the input signal level of the FOE pin is high, and through the FOUT pin when the input signal level of the FOE pin is low. Control to stop signal output.

인터럽트 컨트롤러(130)는 인터럽트 이벤트가 발생하면 해당 이벤트 신호를 /INT 핀을 통해 출력하도록 제어하는 역할을 한다. 예컨대, 알람 또는 타이머 기능을 설정한 시각이 되거나 RTC의 시각/날짜의 변경을 요청받으면 인터럽트 이벤트가 발생하게 되며, 인터럽트 컨트롤러(130)에서 알람 신호, 타이머 신호 또는 시간 업데이트 신호 등을 /INT 핀을 통해 외부로 출력하도록 제어하게 된다.The interrupt controller 130 controls to output the corresponding event signal through the / INT pin when an interrupt event occurs. For example, when the time when the alarm or timer function is set or when the time / date of the RTC is requested to be changed, an interrupt event occurs. The interrupt controller 130 sets an alarm signal, a timer signal, or a time update signal to the / INT pin. It will control the output to the outside.

IIC 버스 인터페이스 회로(140)는 RTC와 외부의 칩들간의 시각/날짜 데이터 및 각종 제어 신호 등의 데이터 교환 통로의 역할을 한다. IIC 버스는 SCL 및 SDA 핀과 연결되어 있는데, SCL은 IIC 버스 통신을 위한 클럭 주파수를 입력받는 핀이며, SDA는 SCL에서 입력받은 클럭 주파수를 이용하여 외부와의 데이터를 교환하는 핀이다. IIC 버스 인터페이스 회로(140)가 고속 모드에서 동작하는 경우, SCL 핀은 최대 400 kHz의 클럭 주파수를 가지고 데이터를 교환할 수 있다.The IIC bus interface circuit 140 serves as a data exchange passage between time / date data and various control signals between the RTC and external chips. The IIC bus is connected to the SCL and SDA pins. SCL is a pin that receives the clock frequency for IIC bus communication, and SDA is a pin that exchanges data with the outside using the clock frequency received from the SCL. When the IIC bus interface circuit 140 is operating in a high speed mode, the SCL pin can exchange data with a clock frequency of up to 400 kHz.

시각/날짜 계산부(150)는 디바이더(110)로부터 입력받은 클럭 신호를 카운트하여 현재 시각을 계산하여 시(Hour), 분(Minute), 초(Second) 정보를 포함하는 시각 정보와 일(Day), 주(Week), 월(Month), 년(Year)을 포함하는 날짜 정보를 생성한다. 이를 위해, 시각/날짜 계산부(150)는 시, 분, 초, 일, 주, 월, 년을 계산하기 위한 카운터들을 포함한다.The time / date calculator 150 counts clock signals received from the divider 110 to calculate a current time, and includes time information and day information including hour, minute, and second information. ), Date, week, month, year are included. To this end, the time / date calculator 150 includes counters for calculating hours, minutes, seconds, days, weeks, months, and years.

타이머 레지스터(160)는 타이머 기능을 제공하기 위한 타이머 설정 정보를 저장한다. 타이머 레지스터(160)는 시간/날짜 계산부(150)에서 측정한 시간 간격이 타이머 레지스터(160)에 설정된 시간 간격이 되면, 인터럽트 컨트롤러(130)로 타이머 신호 발생을 위한 인터럽트 이벤트를 요청하게 된다. 알람 레지스터(170)는 알람 기능을 제공하기 위한 알람 설정 정보를 저장한다. 알람 레지스터(170)는 시간/날짜 계산부(150)에서 계산한 현재 시각 및 날짜가 알람 레지스터(170)에 설정된 시점이 되면 인터럽트 컨트롤러(130)로 알람 신호 발생을 위한 인터럽트 이벤트를 요청하게 된다.The timer register 160 stores timer setting information for providing a timer function. The timer register 160 requests an interrupt event for generating a timer signal to the interrupt controller 130 when the time interval measured by the time / date calculator 150 reaches a time interval set in the timer register 160. The alarm register 170 stores alarm setting information for providing an alarm function. The alarm register 170 requests an interrupt event for generating an alarm signal to the interrupt controller 130 when the current time and date calculated by the time / date calculator 150 are set in the alarm register 170.

시스템 컨트롤러(180)는 전술한 RTC의 구성 요소들이 시각 계산 기능, 알람 기능, 타이머 기능 등을 수행할 수 있도록 제어하고, 외부의 제어 요청 신호를 받아 RTC의 동작을 정지시키거나 RTC의 시각 정보 및 날짜 정보를 변경하도록 제어한다. 이를 위해, 시스템 컨트롤러(180)는 제어 신호를 전달하기 위한 컨트롤 레지스터(Control Register), 익스텐션 레지스터(Extension Register), 플래그 레지스터(Flag Register) 등을 포함한다.The system controller 180 controls the above-described components of the RTC to perform the time calculation function, the alarm function, the timer function, and the like, and receives an external control request signal to stop the operation of the RTC or to display the RTC time information and the like. Control to change the date information. To this end, the system controller 180 includes a control register, an extension register, a flag register, and the like, for transmitting a control signal.

도 2는 종래의 RTC의 레지스터 구성을 나타낸 예시 도면이다.2 is an exemplary diagram showing a register configuration of a conventional RTC.

도 2에 도시된 바와 같이, 종래의 RTC는 실시간 시각 발생 기능을 수행하기 위해 다수의 레지스터를 가지고 있으며, 레지스터 주소마다 특정 동작을 수행하도록 설정되어 있다.As shown in FIG. 2, the conventional RTC has a plurality of registers to perform a real-time time generation function, and is configured to perform a specific operation for each register address.

레지스터 주소 0번부터 6번까지는 시각 정보 및 날짜 정보를 계산하기 위한 카운터이며, 7번의 RAM 레지스터는 임의의 데이터를 입출력할 수 있도록 할당된 레지스터이다. 8번부터 A번 레지스터는 알람 시각을 설정하기 위한 레지스터이며, B번 및 C번 레지스터는 타이머 시간을 설정하기 위한 레지스터이다. D번의 익스텐션 레지스터는 알람 기능, 시각/날짜 변경 기능 등의 동작 수행을 위해 제어할 레지스터를 선택하는 정보를 가지고 있는 레지스터이며, E번의 플래그 레지스터는 인터럽트 이벤트의 종류별로 발생 여부를 확인하는 정보를 가지고 있는 레지스터이다. F번의 컨트롤 레지스터는 종류별 인터럽트 이벤트를 제어하고, 시각/날짜 계산을 위한 카운터의 정지/리셋(Stop/Reset)을 제어하는 정보를 가지고 있는 레지스터이다.Register addresses 0 to 6 are counters for calculating time information and date information, and RAM register 7 is a register allocated to input / output arbitrary data. Registers 8 to A are registers for setting the alarm time, and registers B and C are for setting the timer time. Extension register D contains the information to select the register to control for the operation of alarm function, time / date change function, etc. The flag register of E has the information to check whether or not it occurred by type of interrupt event. Is a register. The control register F is used to control the interrupt events for each type and to control the stop / reset of the counter for time / date calculation.

도 3은 본 고안의 바람직한 실시예에 따른 시큐어 클럭을 생성하는 RTC의 내부 구성을 나타낸 도면이다.3 is a view showing the internal configuration of the RTC for generating a secure clock according to an embodiment of the present invention.

도 3에 도시된 바와 같이, 본 고안의 바람직한 실시예에 따른 RTC는 도 1에 도시된 종래의 RTC의 구성 요소들 및 변조 방지(Tamper Proof) RTC 기능을 제공하기 위한 시큐어 시각/날짜 계산부(Secure Clock and Calendar)(300) 등을 포함하여 구성될 수 있다. 여기서, 도 1의 구성 요소와 동일한 구성 요소에 대한 상세한 설명은 생략하도록 한다.As shown in FIG. 3, the RTC according to a preferred embodiment of the present invention is a secure time / date calculator for providing the components of the conventional RTC shown in FIG. 1 and a Tamper Proof RTC function. Secure Clock and Calendar) 300 and the like. Here, detailed description of the same components as those of FIG. 1 will be omitted.

시큐어 시각/날짜 계산부(300)는 시각/날짜 계산부(150)와 독립적으로 동작하여 시각/날짜 계산부(150)에서 제공하는 시각/날짜 정보와 별도로 디바이더(110)로부터 입력받은 클럭 신호를 카운트하여 시큐어 시각 정보 및 시큐어 날짜 정보를 생성한다. 이를 위해, 시큐어 시각/날짜 계산부(300)는 시, 분, 초, 일, 주, 월, 년을 계산하기 위한 별도의 카운터들을 포함한다. 즉, 시큐어 시각/날짜 계산부(300)는 Secure SEC 레지스터, Secure MIN 레지스터 및 Secure Hour 레지스터를 이용하여 시각 정보를 계산하고, Secure DAY 레지스터, Secure WEEK 레지스터, Secure MONTH 레지스터 및 Secure YEAR 레지스터를 이용하여 날짜 정보를 계산할 수 있다.The secure time / date calculation unit 300 operates independently of the time / date calculation unit 150 to separate the clock signal received from the divider 110 from the time / date information provided by the time / date calculation unit 150. By counting, secure time information and secure date information are generated. To this end, the secure time / date calculation unit 300 includes separate counters for calculating hours, minutes, seconds, days, weeks, months, and years. That is, the secure time / date calculation unit 300 calculates time information using the Secure SEC register, the Secure MIN register, and the Secure Hour register, and uses the Secure DAY register, the Secure WEEK register, the Secure MONTH register, and the Secure YEAR register. Date information can be calculated.

전술한 레지스터들은 시각/날짜 계산부(150)의 카운터 레지스터와 달리 권한 없는 사용자의 시각/날짜 변경 또는 정지/리셋 요청을 받은 경우에는 레지스터의 설정값을 변경할 수 없도록 구성되어 있다. 즉, 기존의 제어 관련 레지스터는 시각/날짜 계산부(150)의 레지스터 값들을 조작할 수 있도록 설정되어 있으며, 시큐어 시각/날짜 계산부(300)의 레지스터에 접근할 수 없다.Unlike the counter register of the time / date calculation unit 150, the above-described registers are configured to not change a setting value of a register when a time / date change or stop / reset request of an unauthorized user is received. That is, the existing control-related registers are set to manipulate the register values of the time / date calculator 150 and cannot access the registers of the secure time / date calculator 300.

따라서, 본 발명의 시스템 컨트롤러(180)는 RTC를 제어하기 위한 기존의 레지스터에서 제어용으로 기설정된 비트를 제외한 Reserved 비트 중에서 특정 비트를 시큐어 시각/날짜 계산부(300)를 제어하기 위한 제어 비트로 할당하거나 시큐어 시각/날짜 계산부(300)를 제어하기 위한 별도의 제어 레지스터를 포함할 수 있다.Therefore, the system controller 180 of the present invention allocates a specific bit from the reserved bits except for the bits preset for control in the existing register for controlling the RTC as a control bit for controlling the secure time / date calculation unit 300. It may include a separate control register for controlling the secure time / date calculator 300.

시스템 콘트롤러(180)는 외부로부터 시큐어 시각/날짜 변경 요청 또는 정지/리셋 요청 등의 시큐어 시각/날짜 계산부(180)의 세팅을 변경하고자 하는 시큐어 클럭 변경 요청 신호를 입력받은 경우에는, 해당 요청 신호가 시큐어 클럭 설정을 변경할 권한이 있는 시큐어 클럭 변경 프로그램에 의한 요청 신호인지 여부를 인증한다.When the system controller 180 receives a secure clock change request signal for changing a setting of the secure time / date calculation unit 180 such as a secure time / date change request or a stop / reset request from the outside, the system controller 180 receives a corresponding request signal. Authenticates whether it is a request signal from a secure clock change program authorized to change the secure clock setting.

이를 위해, 시큐어 시각/날짜 계산부(300)와 시큐어 클럭 변경 프로그램은 시큐어 클럭 변경 권한을 인증하기 위한 암호 코드를 내장하고 있다. 시큐어 클럭에 대한 세팅 변경 요청 신호를 받은 시스템 컨트롤러(180)는 시큐어 시각/날짜 계산부(300)에 내장된 암호 코드와 시큐어 클럭 변경 프로그램으로부터 전달받은 암호 코드를 비교하여 일치하면 변경 권한이 있음을 인증하여 요청 신호에 따라 시큐어 시각/날짜 계산부(300)의 시각/날짜 정보를 변경하도록 제어한다.To this end, the secure time / date calculation unit 300 and the secure clock change program have a built-in encryption code for authenticating the secure clock change authority. The system controller 180 receiving the setting change request signal for the secure clock compares the encryption code built into the secure time / date calculation unit 300 with the encryption code received from the secure clock change program, and if there is a match, it is authorized to change. Authentication is performed so that the time / date information of the secure time / date calculation unit 300 is changed according to the request signal.

한편, 시스템 컨트롤러(180)는 변경 요청 신호를 보낸 프로그램으로부터 전달받은 암호 코드가 시큐어 시각/날짜 계산부(300)에 내장된 암호 코드와 일치하지 않으면, 권한 없는 사용자로부터의 변경 요청 신호로 판단하여 변경 불가 신호를 외부로 출력하게 된다.On the other hand, if the encryption code received from the program that sent the change request signal does not match the password code embedded in the secure time / date calculation unit 300, the system controller 180 determines that the change request signal from an unauthorized user The unchangeable signal is output to the outside.

전술한 시큐어 시각/날짜 계산부(300)에서 생성한 시각/날짜 정보는 사용 기간이 제한된 디지털 컨텐츠의 사용 시간을 계산하기 위해 적용할 수 있으며, 시큐어 클럭 변경 프로그램은 디지털 컨텐츠 제공자 측에서만 공유하도록 하여 일반 사용자가 시큐어 클럭을 변경할 수 없도록 한다.The time / date information generated by the secure time / date calculation unit 300 described above may be applied to calculate the use time of the digital content having a limited use period, and the secure clock change program may be shared only by the digital content provider. Do not allow the end user to change the secure clock.

이상의 설명은 본 고안을 예시적으로 설명한 것에 불과한 것으로, 본 고안이 속하는 기술분야에서 통상의 지식을 가지는 자라면 본 고안의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 변형이 가능할 것이다. 따라서, 본 명세서에 개시된 실시예들은 본 고안을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 고안의 사상과 범위가 한정되는 것은 아니다. 본 고안의 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술은 본 고안의 권리범위에 포함되는 것으로 해석되어야 할 것이다.The above description is merely illustrative of the present invention, and those skilled in the art to which the present invention pertains will be capable of various modifications without departing from the essential characteristics of the present invention. Therefore, the embodiments disclosed in the present specification are not intended to limit the present invention but to describe the present invention, and the spirit and scope of the present invention are not limited thereto. The scope of the present invention should be construed by the claims below, and all the technologies within the equivalent scope should be construed as being included in the scope of the present invention.

이상에서 설명한 바와 같이 본 고안에 의하면, 컴퓨터에 시계 기능을 제공하는 기존의 RTC 기능에 권한없는 사용자가 임의대로 시각/날짜를 변경할 수 없는 시큐어 클럭을 생성하는 기능을 추가하여 사용 기간이 제한된 디지털 컨텐츠의 사용 시간을 계산하기 위해 이용할 수 있는 효과가 있다.As described above, according to the present invention, a digital content with a limited usage period is added to an existing RTC function that provides a clock function to a computer to generate a secure clock that an unauthorized user cannot change the time / date arbitrarily. There is an effect available to calculate the usage time of.

따라서, Time-Bound 라이센스가 적용된 디지털 컨텐츠에 대한 사용자의 시간 조작 가능성을 차단하여 디지털 컨텐츠를 보호할 수 있는 효과가 있다.Therefore, the digital content can be protected by blocking the possibility of user's time manipulation of the digital content to which the Time-Bound license is applied.

도 1은 종래의 RTC의 내부 구성을 나타낸 도면,1 is a view showing the internal configuration of a conventional RTC,

도 2는 종래의 RTC의 레지스터 구성을 나타낸 예시 도면,2 is an exemplary diagram showing a register configuration of a conventional RTC;

도 3은 본 고안의 바람직한 실시예에 따른 시큐어 클럭을 생성하는 RTC의 내부 구성을 나타낸 도면이다.3 is a view showing the internal configuration of the RTC for generating a secure clock according to an embodiment of the present invention.

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

100: 오실레이터 110: 디바이더100: oscillator 110: divider

120: FOUT 컨트롤러 130: 인터럽트 컨트롤러120: FOUT controller 130: interrupt controller

140: IIC 버스 인터페이스 회로 150: 시각/날짜 계산부140: IIC bus interface circuit 150: time / date calculation unit

160: 타이머 레지스터 170: 알람 레지스터160: timer register 170: alarm register

180: 시스템 컨트롤러 300: 시큐어 시각/날짜 계산부180: system controller 300: secure time / date calculation unit

Claims (5)

시각/날짜 정보를 임의로 변조할 수 없는 시큐어 클럭(Secure Clock)을 생성하는 실시간 시각 발생 장치(RTC: Real Time Clock, 이하 'RTC'라 칭함)에 있어서,In a real time clock generating device (RTC: Real Time Clock, hereinafter referred to as 'RTC') for generating a secure clock that cannot arbitrarily modulate time / date information, 특정 주파수의 기준 클럭 신호를 생성하는 오실레이터(Oscillator);An oscillator for generating a reference clock signal of a specific frequency; 상기 오실레이터에서 생성한 상기 기준 클럭 신호를 분주하는 디바이더(Divider);A divider for dividing the reference clock signal generated by the oscillator; FOUT 핀(Pin)으로의 출력 신호를 제어하는 FOUT 컨트롤러(FOUT Controller);A FOUT controller for controlling the output signal to the FOUT pin; 인터럽트 이벤트 신호가 발생하면 상기 인터럽트 이벤트 신호를 /INT 핀을 통해 출력하도록 제어하는 인터럽트 컨트롤러(Interrupt Controller);An interrupt controller for controlling to output the interrupt event signal through the / INT pin when an interrupt event signal is generated; 상기 RTC와 외부의 칩간의 데이터를 송수신하는 IIC 버스 인터페이스 회로(Inter IC BUS Interface Circuit);An IIC bus interface circuit for transmitting and receiving data between the RTC and an external chip; 상기 디바이더로부터 입력받은 클럭 신호를 카운트하여 시(Hour), 분(Minute) 및 초(Second) 정보를 포함하는 시각 정보와 일(Day), 주(Week), 월(Month) 및 년(Year) 정보를 포함하는 날짜 정보를 생성하는 시각/날짜 계산부(Clock and Calendar);Clock information received from the divider is counted, and time information including Hour, Minute, and Second information, and Day, Week, Month, and Year. A clock and date calculator for generating date information including information; 타이머 기능을 제공하기 위한 타이머 설정 정보를 저장하는 타이머 레지스터(Timer Register);A timer register for storing timer setting information for providing a timer function; 알람 기능을 제공하기 위한 알람 설정 정보를 저장하는 알람 레지스터(Alarm Register);An alarm register for storing alarm setting information for providing an alarm function; 상기 시각/날짜 계산부에서 제공하는 시각/날짜 정보와 별도로 상기 디바이더로부터 입력받은 클럭 신호를 카운트하여 시, 분 및 초 정보를 포함하는 시큐어 시각 정보와 일, 주, 월 및 년 정보를 포함하는 시큐어 날짜 정보를 생성하는 시큐어 시각/날짜 계산부(Secure Clock and Calendar); 및In addition to the time / date information provided by the time / date calculation unit, a clock signal received from the divider is counted, and secure time information including hour, minute, and second information, and secure information including day, week, month, and year information. A secure clock and calendar for generating date information; And 상기 RTC에서 시각/날짜 계산 기능, 알람 기능 및 타이머 기능을 수행하도록 제어하며, 시큐어 시각/날짜 변경 및 정지/리셋(Stop/Reset)을 포함하는 시큐어 클럭 설정에 대한 변경 요청 신호를 입력받으면, 상기 변경 요청 신호가 상기 시큐어 클럭 설정을 변경할 권한이 있는 시큐어 클럭 변경 프로그램에 의한 요청인지 여부를 인증하여, 인증된 상기 변경 요청 신호에 따라 상기 시큐어 클럭 설정을 변경하도록 상기 시큐어 시각/날짜 계산부를 제어하는 시스템 컨트롤러(System Controller)When the RTC is controlled to perform a time / date calculation function, an alarm function, and a timer function, and receives a change request signal for a secure clock setting including a secure time / date change and a stop / reset, Authenticating whether or not a change request signal is a request by a secure clock change program authorized to change the secure clock setting, and controlling the secure time / date calculation unit to change the secure clock setting according to the authorized change request signal. System Controller 를 포함하는 것을 특징으로 하는 시큐어 클럭을 생성하는 RTC.RTC generating a secure clock comprising a. 제 1 항에 있어서,The method of claim 1, 상기 시큐어 시각/날짜 계산부와 상기 시큐어 클럭 변경 프로그램은 인증용 암호 코드를 내장하고 있으며, 상기 시스템 컨트롤러는 상기 시큐어 시각/날짜 계산부에 내장된 암호 코드와 상기 시큐어 클럭 변경 프로그램으로부터 전달받은 암호 코드가 일치하면 상기 변경 요청 신호를 인증하는 것을 특징으로 하는 시큐어 클럭을 생성하는 RTC.The secure time / date calculation unit and the secure clock change program include an encryption code for authentication, and the system controller includes an encryption code embedded in the secure time / date calculation unit and an encryption code received from the secure clock change program. RTC for generating a secure clock, characterized in that to authenticate the change request signal. 제 2 항에 있어서,The method of claim 2, 상기 시스템 컨트롤러는 상기 RTC를 제어하기 위한 레지스터에서 제어용으로 기설정된 비트를 제외한 Reserved 비트 중에서 특정 비트를 상기 시큐어 시각/날짜 계산부를 제어하기 위한 제어 비트로 할당하거나 또는 상기 시큐어 시각/날짜 계산부를 제어하기 위한 별도의 제어 레지스터를 포함하는 것을 특징으로 하는 시큐어 클럭을 생성하는 RTC.The system controller allocates a specific bit from the reserved bits except the bit set for control in the register for controlling the RTC as a control bit for controlling the secure time / date calculation unit or controls the secure time / date calculation unit. RTC for generating a secure clock, characterized in that it comprises a separate control register. 제 3 항에 있어서,The method of claim 3, wherein 상기 시큐어 시각/날짜 계산부는 Secure SEC 레지스터, Secure MIN 레지스터 및 Secure Hour 레지스터를 구비하여 상기 시큐어 시각 정보를 계산하며, Secure DAY 레지스터, Secure WEEK 레지스터, Secure MONTH 레지스터 및 Secure YEAR 레지스터를 구비하여 상기 시큐어 날짜 정보를 계산하는 것을 특징으로 하는 시큐어 클럭을 생성하는 RTC.The secure time / date calculation unit includes a Secure SEC register, a Secure MIN register, and a Secure Hour register to calculate the secure time information, and includes a Secure DAY register, a Secure WEEK register, a Secure MONTH register, and a Secure YEAR register. RTC to generate a secure clock, characterized in that to calculate the information. 제 4 항에 있어서,The method of claim 4, wherein 상기 시스템 컨트롤러는 상기 시큐어 시각/날짜 계산부에 내장된 암호 코드와 상기 변경 요청 신호를 보낸 프로그램으로부터 전달받은 암호 코드가 일치하지 않으면, 권한 없는 요청 신호로 판단하여 변경 불가 신호를 출력하는 것을 특징으로 하는 시큐어 클럭을 생성하는 RTC.The system controller outputs an unchangeable signal by judging it as an unauthorized request signal if the encryption code embedded in the secure time / date calculation unit and the encryption code received from the program that sent the change request signal do not match. RTC to generate a secure clock.
KR20-2005-0005323U 2005-02-28 2005-02-28 Real Time Clock Device Generating Secure Clock KR200383978Y1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR20-2005-0005323U KR200383978Y1 (en) 2005-02-28 2005-02-28 Real Time Clock Device Generating Secure Clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR20-2005-0005323U KR200383978Y1 (en) 2005-02-28 2005-02-28 Real Time Clock Device Generating Secure Clock

Publications (1)

Publication Number Publication Date
KR200383978Y1 true KR200383978Y1 (en) 2005-05-10

Family

ID=43685488

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20-2005-0005323U KR200383978Y1 (en) 2005-02-28 2005-02-28 Real Time Clock Device Generating Secure Clock

Country Status (1)

Country Link
KR (1) KR200383978Y1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8005118B2 (en) 2005-12-06 2011-08-23 Samsung Electronics Co., Ltd. Method and apparatus for implementing secure clock in device having no internal power source

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8005118B2 (en) 2005-12-06 2011-08-23 Samsung Electronics Co., Ltd. Method and apparatus for implementing secure clock in device having no internal power source

Similar Documents

Publication Publication Date Title
US6618810B1 (en) Bios based method to disable and re-enable computers
US5444780A (en) Client/server based secure timekeeping system
CN102595194B (en) Digital rights management using trusted time
JP4960441B2 (en) Secure time function for wireless devices
US8220031B2 (en) Secure time/date virtualization
US8688924B2 (en) Method for improving accuracy of a time estimate from a memory device
US20060106845A1 (en) System and method for computer-based local generic commerce and management of stored value
US20080304364A1 (en) Memory device with circuitry for improving accuracy of a time estimate
US7891009B2 (en) Time data checking unit, electronic device and method for checking a time indication
US8190923B2 (en) Method to securely initialize, protect and recover system date/time
EP1984878B1 (en) Disaggregated secure execution environment
KR20070084257A (en) Isolated computing environment anchored into cpu and motherboard
JPH11203126A (en) Method for protecting executable computer program from unauthorized use
WO2004072787A2 (en) Secure and backward-compatible processor and secure software execution thereon
JP2005063079A (en) Memory card device, right management system and time management method
JP2008525892A (en) Method and system for locking the TPM always &#34;on&#34; using a monitor
KR20080037048A (en) Changing product behavior in accordance with license
US7987365B2 (en) Subscription-based computing implemented in hardware of computing device
US20170170969A1 (en) Systems, methods, software, and components using tamper-proof real-time clock
KR200383978Y1 (en) Real Time Clock Device Generating Secure Clock
KR20200104868A (en) Systems and methods for licensing and measuring the use of IP blocks
KR20080041207A (en) Using power state to enforce software metering state
JP7395932B2 (en) Information processing device, information processing program, and image forming device
KR20100031124A (en) Memory device with circuitry for improving accuracy of a time estimate used to authenticate an entity and method for use therewith
WO2008154307A2 (en) Memory device with circuitry for improving accuracy of a time estimate and method for use therewith

Legal Events

Date Code Title Description
REGI Registration of establishment
FPAY Annual fee payment

Payment date: 20130502

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20140502

Year of fee payment: 10