KR20200038761A - The method for correcting a real-time clock(rtc) of an otp generator, the system, otp generator and otp error rate measurement module thereof - Google Patents

The method for correcting a real-time clock(rtc) of an otp generator, the system, otp generator and otp error rate measurement module thereof Download PDF

Info

Publication number
KR20200038761A
KR20200038761A KR1020180118381A KR20180118381A KR20200038761A KR 20200038761 A KR20200038761 A KR 20200038761A KR 1020180118381 A KR1020180118381 A KR 1020180118381A KR 20180118381 A KR20180118381 A KR 20180118381A KR 20200038761 A KR20200038761 A KR 20200038761A
Authority
KR
South Korea
Prior art keywords
otp
error rate
time
signal
rtc
Prior art date
Application number
KR1020180118381A
Other languages
Korean (ko)
Other versions
KR102168437B1 (en
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 KR1020180118381A priority Critical patent/KR102168437B1/en
Publication of KR20200038761A publication Critical patent/KR20200038761A/en
Application granted granted Critical
Publication of KR102168437B1 publication Critical patent/KR102168437B1/en

Links

Images

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G5/00Setting, i.e. correcting or changing, the time-indication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3226Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
    • H04L9/3228One-time or temporary data, i.e. information which is sent for every authentication or authorization, e.g. one-time-password, one-time-token or one-time-key

Abstract

The present invention relates to a method for correcting a real-time clock (RTC) of an OTP generator, and a system, an OTP generator and an OTP error rate measurement module thereof. According to one embodiment of the present invention, the correction method comprises the steps of: measuring an error rate of an OTP generator by an OTP error rate measurement module; storing the error rate and a reference time at which the error rate is measured in an OTP generator; and correcting the time of the OTP generator based on the error rate and the reference time. Therefore, the accuracy of the authentication method according to the OTP generator can be increased.

Description

OTP 생성기의 실시간 시계(Real-time clock, RTC) 보정 방법, 그 시스템, OTP 생성기 및 OTP 오차율 측정 모듈 {THE METHOD FOR CORRECTING A REAL-TIME CLOCK(RTC) OF AN OTP GENERATOR, THE SYSTEM, OTP GENERATOR AND OTP ERROR RATE MEASUREMENT MODULE THEREOF}Real-time clock (RTC) calibration method of OTP generator, its system, OTP generator and OTP error rate measurement module {THE METHOD FOR CORRECTING A REAL-TIME CLOCK (RTC) OF AN OTP GENERATOR, THE SYSTEM, OTP GENERATOR AND OTP ERROR RATE MEASUREMENT MODULE THEREOF}

본발명은 OTP 생성기의 실시간 시계(Real-time clock, RTC) 보정 방법, 그 시스템, OTP 생성기 및 OTP 오차율 측정 모듈에 관한 것이다. 보다 자세하게는, 오차율이 다소 있는 저가형 RTC 발진기를 사용하는 경우에도 오차 시간을 보정함으로써, 정확도를 높이는 방법에 관한 것이다. The present invention relates to a real-time clock (RTC) correction method of an OTP generator, its system, an OTP generator and an OTP error rate measurement module. More specifically, the present invention relates to a method of improving accuracy by correcting an error time even when a low-cost RTC oscillator having a small error rate is used.

인터넷상 상거래 및 금융거래의 활성화로 사용자 인증 방식도 다양해 지고 있다. 사용자 인증 방식으로, 패스워드 인증방식, 공인인증서, 일회용 패스워드(One Time Password; OTP) 등의 방식이 복합적으로 사용되고 있다.With the activation of commerce and financial transactions on the Internet, user authentication methods are also diversifying. As a user authentication method, a password authentication method, a public certificate, and a one-time password (OTP) method are used in combination.

그 중 OTP 인증 방식은 OTP 생성 장치가 일회용 패스워드를 생성하면, 사용자가 생성된 패스워드(OTP)를 PC 또는 단말기에 입력한다. 그러면 OTP는 OPT 서버에 전송되고, OTP 서버의 현재 시간에 근거한 OTP서버가 발생시킨 서버 인증 번호와 OTP 생성 장치가 생성한 OTP의 일치 여부를 확인함으로써, 인증 절차가 수행된다.In the OTP authentication method, when the OTP generating device generates a one-time password, the user inputs the generated password (OTP) to the PC or terminal. Then, the OTP is transmitted to the OPT server, and the authentication procedure is performed by checking whether the server authentication number generated by the OTP server based on the current time of the OTP server matches the OTP generated by the OTP generating device.

그런데, OTP 생성기는 RTC 발진기(Real-Time Clock crystal oscillator)의 주파수에 의해 현재시간이 유지되는데, RTC 발진기는 어느 정도의 오차가 있어서, 현재시간을 유지하기가 어렵다.However, the OTP generator maintains the current time by the frequency of the RTC oscillator (Real-Time Clock crystal oscillator), but the RTC oscillator has some error, so it is difficult to maintain the current time.

따라서, 시간이 지남에 따라 OTP가발생된 시점의 OTP와 OTP 서버의 현재시간에 근거해 OTP 서버가 발생시킨 인증 번호는 서로 일치하지 않을 수 있는데, 이러한 문제는 결국 인증실패를 초래할 수 있다.Therefore, the authentication number generated by the OTP server based on the current time of the OTP and the OTP server at the time when the OTP occurs over time may not coincide with each other, and this problem may result in authentication failure.

이러한 문제점을 개선하기 위해서, 일부 시스템에서는 OTP 생성기와 시간동기를 맞추기 위해 OTP 서버에서 RTC를 보정하는 알고리즘을 사용하기도 한다. 그러나, OTP 생성기마다 RTC가 모두 차이가 나기 때문에, 개개의 OTP 생성기의 정확도를 높이기는 어렵다.To improve this problem, some systems use an algorithm that calibrates RTC in the OTP server to match the time synchronization with the OTP generator. However, since the RTCs are different for each OTP generator, it is difficult to increase the accuracy of each OTP generator.

또한, 카드 형태의 OTP 생성기의 경우에는 카드의 두께를 얇게 하여야 하므로, 초소형 부품을 사용하여야 하는 제약이 있다. 따라서, 카드 형태의 OTP 생성기의 경우, 고가형 RTC 발진기를 사용할 수 없고 저가형 RTC 발진기를 사용하여야 하는 한계가 있으며, 수동조작에 의한 RTC 보정이 사실상 불가능 하다.In addition, in the case of the OTP generator in the form of a card, the thickness of the card must be thinned, so there is a restriction to use an ultra-small component. Therefore, in the case of a card type OTP generator, an expensive RTC oscillator cannot be used, and there is a limit to use a low-cost RTC oscillator, and it is virtually impossible to correct RTC by manual operation.

(KR) 등록특허제 10-1808316호(KR) Registered Patent No. 10-1808316

본 발명이 해결하고자 하는 기술적 과제는 OTP 생성기의 실시간 시계(Real-time clock, RTC)를 보정하는 방법, 그 시스템, OTP 생성기 및 OTP 오차율 측정 모듈을 제공하는 것이다.The technical problem to be solved by the present invention is to provide a method for correcting a real-time clock (RTC) of an OTP generator, a system thereof, an OTP generator and an OTP error rate measurement module.

본 발명의 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 통상의 기술자에게 명확하게 이해될 수 있을 것이다.The technical problems of the present invention are not limited to the technical problems mentioned above, and other technical problems not mentioned will be clearly understood by a person skilled in the art from the following description.

본 발명의 일 실시예에 따른 OTP 생성기의 시간 보정 방법은 OTP 오차율 측정 모듈이 OTP 생성기의 오차율을 측정하는 단계; 상기 오차율 및 상기 오차율을 측정한 시점의 기준 시간을 OTP 생성기에 저장하는 단계; 및 OTP 생성기가 상기 오차율 및 상기 기준 시간을 기초로 하여 상기 OTP 생성기의 시간을 보정하는 단계를 포함할 수 있다.A time correction method of an OTP generator according to an embodiment of the present invention includes: an OTP error rate measurement module measuring an error rate of the OTP generator; Storing the error rate and a reference time at which the error rate is measured in an OTP generator; And an OTP generator correcting the time of the OTP generator based on the error rate and the reference time.

본 발명의 일 실시예에 따른 오차율을 측정하는 단계는, 상기 OTP 오차율 측정 모듈이 상기 OTP 생성기의 실시간 시계 발진부로부터 발생한 RTC 신호를 수신하는 단계; 상기 OTP 오차율 측정 모듈이 레퍼런스 시계부로부터 레퍼런스 신호를 수신하는 단계; 및 상기 OTP 오차율 측정 모듈이 상기 RTC 신호와 상기 레퍼런스 신호간의 오차율을 측정하는 단계를 더 포함할 수 있다.Measuring the error rate according to an embodiment of the present invention, the OTP error rate measurement module receiving the RTC signal generated from the real-time clock oscillation unit of the OTP generator; The OTP error rate measurement module receiving a reference signal from a reference clock section; And the OTP error rate measurement module measuring an error rate between the RTC signal and the reference signal.

본 발명의 일 실시예에 따라 오차율을 측정하는 단계는 OTP 오차율 측정 모듈이 기 설정된 시간동안 상기 RTC 신호와 상기 레퍼런스 신호를 수신하여 상기 RTC 신호와 상기 레퍼런스 신호의 오차 시간을 측정함으로써 오차율을 계산하는 것일 수 있다.In the step of measuring the error rate according to an embodiment of the present invention, the OTP error rate measurement module calculates the error rate by receiving the RTC signal and the reference signal for a predetermined time and measuring the error time between the RTC signal and the reference signal. May be

본 발명의 일 실시예에 따라OTP 생성기의 시간을 보정하는 단계는,상기 OTP 생성기의 현재 시간(tc), 기 저장된 상기 기준 시간(tr) 및 RTC 신호와 레퍼런스 신호간의 오차율(Diff1)을 기초로 하여 하기 수식(F1)에 의해 상기OTP 생성기의 시간을 보정하는 것을 특징으로 할 수 있다.Correcting the time of the OTP generator according to an embodiment of the present invention includes: the current time (t c ) of the OTP generator, the reference time (t r ), and the error rate (Diff 1 ) between the RTC signal and the reference signal. It can be characterized by correcting the time of the OTP generator by the following equation (F1) on the basis of.

Figure pat00001
Figure pat00001

여기서 Diff1= t2-t1을 만족하고, t2는 RTC 신호의 1Hz 길이[sec], t1은 레퍼런스 신호의 1Hz 길이[sec]를 의미한다.Here, Diff 1 = t 2 -t 1 is satisfied, t 2 is 1 Hz length [sec] of the RTC signal, and t 1 means 1 Hz length [sec] of the reference signal.

본 발명의 일 실시예에 따른 OTP 생성기의 시간을 보정하는 시스템은, OTP 생성기 및 상기 OTP 생성기의 오차율을 측정하는 OTP 오차율 측정 모듈을 포함하고, OTP 생성기는, 상기 오차율 및 상기 오차율을 측정한 시점의 기준 시간을 저장하는 OTP 제어부 및상기 OTP 제어부로부터 수신하는 신호에 의해 클럭 신호를 발생시키는 실시간 시계 발진부를포함할 수 있다.A system for correcting the time of an OTP generator according to an embodiment of the present invention includes an OTP generator and an OTP error rate measurement module that measures an error rate of the OTP generator, and the OTP generator is a time point when the error rate and the error rate are measured It may include an OTP control unit for storing the reference time and a real-time clock oscillation unit for generating a clock signal by a signal received from the OTP control unit.

본 발명의 일 실시예에 따른 OTP 제어부는, 상기 오차율 및 상기 기준 시간을 기초로 하여 상기 OTP 생성기의 시간을 보정하는 것을 특징으로 할 수 있다.The OTP control unit according to an embodiment of the present invention may be characterized by correcting the time of the OTP generator based on the error rate and the reference time.

본 발명의 일 실시예에 따른 OTP 오차율 측정 모듈은, 소정의 주기를 갖는 레퍼런스 신호를 발생시키는 레퍼런스 시계부 및 RTC 오차율 측정부를 포함할 수 있다.The OTP error rate measurement module according to an embodiment of the present invention may include a reference clock unit and an RTC error rate measurement unit that generate a reference signal having a predetermined period.

본 발명의 일 실시예에 따른 RTC 오차율 측정부는 실시간 시계 발진부로부터 발생한 RTC신호 및 상기 레퍼런스 시계부로부터 발생한 레퍼런스 신호를 수신하여, 상기 RTC 신호와 상기 레퍼런스 신호간의 오차율(Diff1)을 측정할 수 있다.The RTC error rate measurement unit according to an embodiment of the present invention may receive an RTC signal generated from a real-time clock oscillation unit and a reference signal generated from the reference clock unit, and measure an error rate Diff 1 between the RTC signal and the reference signal. .

본 발명의 일 실시예에 따른 RTC 오차율 측정부는 기 설정된 시간동안 상기 RTC 신호와 상기 레퍼런스 신호를 수신하여 상기 RTC 신호와 상기 레퍼런스 신호의 오차 시간을 측정함으로써 오차율을 계산하는 것 일 수 있다.The RTC error rate measurement unit according to an embodiment of the present invention may calculate the error rate by receiving the RTC signal and the reference signal for a predetermined time and measuring the error time between the RTC signal and the reference signal.

본 발명의 일 실시예에 따른 OTP 제어부는 상기 OTP 생성기의 현재 시간(tc), 기 저장된 상기 기준 시간(tr) 및 RTC 신호와 레퍼런스 신호간의 오차율(Diff1)을 기초로 하여 하기 수식(F1)에 의해 상기OTP 생성기의 시간을 보정하는 것일 수 있다.The OTP control unit according to an embodiment of the present invention is based on the current time (t c ) of the OTP generator, the previously stored reference time (t r ) and the error rate (Diff 1 ) between the RTC signal and the reference signal. It may be to correct the time of the OTP generator by F1).

F1 =

Figure pat00002
F1 =
Figure pat00002

여기서 Diff1 = t2-t1을 만족하고, t2는 RTC 신호의 1Hz 길이[sec], t1은 레퍼런스 신호의 1Hz 길이[sec]를 의미한다.Here, Diff 1 = t 2 -t 1 is satisfied, t 2 is 1 Hz length [sec] of the RTC signal, and t 1 means 1 Hz length [sec] of the reference signal.

본 발명의 일 실시예에 따른 OTP 생성기는 상기 OTP 생성기의 오차율 및 외부 서버의 기준 시간을 저장하는 OTP 제어부 및 상기 OTP 제어부로부터 수신하는 신호에 의해 클럭 신호를 발생시키는 실시간 시계 발진부를 포함하고, 상기 OTP 제어부는, 상기 OTP 생성기의 현재 시간(tc), 기 저장된 상기 기준 시간(tr) 및 기 저장된 상기 오차율(Diff1)을 기초로 하여 하기 수식(F1)에 의해 상기OTP 생성기의 시간을 보정하는 것일 수 있다.The OTP generator according to an embodiment of the present invention includes an OTP control unit storing an error rate of the OTP generator and a reference time of an external server, and a real-time clock oscillation unit generating a clock signal by a signal received from the OTP control unit. The OTP control unit calculates the time of the OTP generator according to the following formula (F1) based on the current time (t c ) of the OTP generator, the reference time (t r ), and the error rate (Diff 1 ), which is pre-stored. It may be corrected.

F1 =

Figure pat00003
F1 =
Figure pat00003

여기서 Diff1 = t2-t1을 만족하고, t2는 RTC 신호의 1Hz 길이[sec], t1은 레퍼런스 신호의 1Hz 길이[sec]를 의미한다.Here, Diff 1 = t 2 -t 1 is satisfied, t 2 is 1 Hz length [sec] of the RTC signal, and t 1 means 1 Hz length [sec] of the reference signal.

본 발명의 일 실시예에 따른 OTP 오차율 측정 모듈은 외부 서버와 연결되어 오차율 측정에 관한 명령 신호 또는 외부 서버의 기준 시간을 수신하는 통신부; 소정의 주기를 갖는 레퍼런스 신호를 발생시키는 레퍼런스 시계부; 및 RTC 오차율 측정부를 포함하고, RTC 오차율 측정부는 OTP 생성기로부터 RTC신호 및 상기 레퍼런스 시계부로부터 발생한 레퍼런스 신호를 수신하여, 상기 RTC 신호와 상기 레퍼런스 신호간의 오차율(Diff1)을 측정하는 것일 수 있다.OTP error rate measurement module according to an embodiment of the present invention is connected to an external server to receive a command signal for error rate measurement or a reference time of the external server; A reference clock section for generating a reference signal having a predetermined period; And an RTC error rate measurement unit, and the RTC error rate measurement unit may measure an error rate (Diff 1 ) between the RTC signal and the reference signal by receiving an RTC signal from an OTP generator and a reference signal generated from the reference clock unit.

본 발명의 일 실시예에 따른 OTP 생성기의 시간 보정 방법 및 시스템을 이용하면, OTP 생성기의 오차율을 보정하여 정확도를 높일 수 있다.Using the time correction method and system of the OTP generator according to an embodiment of the present invention, the error rate of the OTP generator can be corrected to increase accuracy.

보다 구체적으로는, 기설정된시간(예컨대, 1초)동안1ppm 단위로 레퍼런스 신호와 RTC 신호의 오차률(Diff1)를 측정함으로써,평균 ±20ppm의 오차율을 가지는 OTP 생성기의 오차율을±1ppm까지 줄일 수 있다.OPT 생성기와 OTP 서버간의 현재 시간 차이는 아래 표와 같다. More specifically, by measuring the error rate (Diff1) of the reference signal and the RTC signal in 1ppm units for a predetermined time (eg, 1 second), the error rate of the OTP generator having an error rate of ± 20ppm on average can be reduced to ± 1ppm. The current time difference between OTP generator and OTP server is shown in the table below.

종래 OTP생성기(오차율 ±20ppm인 경우)Conventional OTP generator (when the error rate is ± 20ppm) 본 발명(오차율이 ±1ppm인 경우)The present invention (when the error rate is ± 1 ppm) 경과 년 수Number of years elapsed 차이 값Difference value 경과 년 수Number of years elapsed 차이 값Difference value 1One 약 ±10분30초About ± 10 minutes 30 seconds 1One 약 ±31초About ± 31 seconds 22 약 ±21분01초Approx. ± 21 minutes 01 seconds 22 약 ±1분03초About ± 1 minute and 03 seconds 33 약 ±31분32초About ± 31 minute 32 seconds 33 약 ±1분34초About ± 1 minute 34 seconds 44 약 ±42분02초Approx. ± 42 minutes 02 seconds 44 약 ±2분06초About ± 2 minute and 06 seconds 55 약 ±52분33초Approx. ± 52 minutes 33 seconds 55 약 ±2분37초About ± 2 minute 37 seconds

상기 표에서 살펴본 바와 같이, 본 발명에 따라 오차율을 보정하면 OPT 생성기와 OTP 서버간의 현재 시간 차이를 대폭 줄일 수 있다.As described in the above table, if the error rate is corrected according to the present invention, the current time difference between the OPT generator and the OTP server can be greatly reduced.

또한, 본 발명은 저가형 RTC 발진기를 사용하는 OTP 생성기도 고가형 RTC 발진기와 같은 정확도를 가지도록 함으로써, OTP 생성기의 생산비용을 낮출 수 있는 장점이 있다.In addition, the present invention has the advantage that the OTP generator using the low-cost RTC oscillator has the same accuracy as the high-priced RTC oscillator, thereby lowering the production cost of the OTP generator.

본 발명의 일 실시예에 따른 OTP 생성기를 사용함으로써, OTP의 불일치로 발생하는 금융거래 장애를 미연에 방지할 수 있는 효과가 있다.By using the OTP generator according to an embodiment of the present invention, there is an effect that can prevent the financial transaction failure caused by the mismatch of OTP.

나아가, 본 발명의 일 실시예에 따르면, OTP 서버에서 별도의 RTC 보정 알고리즘을 사용할 필요가 없으며, 개개의 OTP 생성기의 오차율에 맞는 보정을 수행할 수 있다.Furthermore, according to an embodiment of the present invention, there is no need to use a separate RTC correction algorithm in the OTP server, and correction according to an error rate of each OTP generator can be performed.

본 발명의 효과들은 이상에서 언급한 효과들로 제한되지 않으며, 언급되지 않은 또 다른 효과들은 아래의 기재로부터 통상의 기술자에게 명확하게 이해될 수 있을 것이다.The effects of the present invention are not limited to the above-mentioned effects, and other effects not mentioned will be clearly understood by those skilled in the art from the following description.

도 1은 본 발명의 일 실시예에 따른 OTP 생성기의 시간 보정 시스템의 블록도이다.
도 2는 본 발명의 일 실시예에 따른 OTP 생성기의 시간 보정 방법의 순서도이다.
도 3은 본 발명의 일 실시예에 따른 RTC 신호와 레퍼런스 신호를 비교하는 방법을 설명하기 위한 도면이다.
도 4는 본 발명의 일 실시예에 따른 OTP 생성기의 시간 보정 방법의 구체적인 순서도이다.
도 5는 본 발명의 일 실시예에 따른 OTP 생성기의 시간 보정 시스템의 구동 순서를 나타내는 도면이다.
1 is a block diagram of a time correction system of an OTP generator according to an embodiment of the present invention.
2 is a flowchart of a method for time correction of an OTP generator according to an embodiment of the present invention.
3 is a diagram for explaining a method of comparing an RTC signal and a reference signal according to an embodiment of the present invention.
4 is a specific flowchart of a time correction method of an OTP generator according to an embodiment of the present invention.
5 is a diagram showing a driving sequence of a time correction system of an OTP generator according to an embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면을 참조하여 상세하게 설명하도록 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였다.The present invention can be applied to various changes and can have various embodiments, and specific embodiments will be described in detail with reference to the drawings. However, this is not intended to limit the present invention to specific embodiments, and should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention. In describing each drawing, similar reference numerals are used for similar components.

제1, 제2, A, B 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재 항목들의 조합 또는 복수의 관련된 기재 항목들 중의 어느 항목을 포함한다.Terms such as first, second, A, and B may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from other components. For example, without departing from the scope of the present invention, the first component may be referred to as the second component, and similarly, the second component may also be referred to as the first component. The term and / or includes a combination of a plurality of related description items or any one of a plurality of related description items.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급될 때에는 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. When a component is said to be "connected" to or "connected" to another component, it should be understood that other components may be directly connected to or connected to the other component, but may exist in the middle. something to do. On the other hand, when a component is said to be "directly connected" or "directly connected" to another component, it should be understood that no other component exists in the middle.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terms used in this application are only used to describe specific embodiments, and are not intended to limit the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, the terms "include" or "have" are intended to indicate the presence of features, numbers, steps, actions, components, parts or combinations thereof described herein, one or more other features. It should be understood that the existence or addition possibilities of fields or numbers, steps, operations, components, parts or combinations thereof are not excluded in advance.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by a person skilled in the art to which the present invention pertains. Terms such as those defined in a commonly used dictionary should be interpreted as having meanings consistent with meanings in the context of related technologies, and should not be interpreted as ideal or excessively formal meanings unless explicitly defined in the present application. Does not.

명세서 및 청구범위 전체에서, 어떤 부분이 어떤 구성 요소를 포함한다고 할때, 이는 특별히 반대되는 기재가 없는 한 다른 구성 요소를 제외하는 것이 아니라 다른 구성 요소를 더 포함할 수 있다는 것을 의미한다. Throughout the specification and claims, when a part includes a certain component, this means that other components may be further included rather than excluding other components unless specifically stated to the contrary.

명세서 전체에서, RTC는 실시간 시계(Real-time Clock)를 의미하는 것으로 OTP 생성기의 발진부(crystal oscillator)에서 실시간 시간 정보를 생성하는 것을 지칭할 수 있다.Throughout the specification, RTC refers to a real-time clock and may refer to generation of real-time time information in a crystal oscillator of an OTP generator.

이하, 본 발명에 따른 바람직한 실시예를 첨부된 도면을 참조하여 상세하게 설명한다. Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일 실시예에 따른 OTP 생성기의 시간 보정 시스템의 블록도이다.1 is a block diagram of a time correction system of an OTP generator according to an embodiment of the present invention.

도 1을 참고하면, 본 발명의 일 실시예에 따른 OTP 생성기의 시간 보정 시스템(1000)은 OTP 생성기(200) 및 OTP 생성기의 오차율을 측정하는 OTP 오차율 측정 모듈(100)을 포함할 수 있다.Referring to FIG. 1, a time correction system 1000 of an OTP generator according to an embodiment of the present invention may include an OTP generator 200 and an OTP error rate measurement module 100 that measures an error rate of the OTP generator.

OTP 생성기(200)는 일회용 패스워드(One Time Password: OTP)를 생성하는 장치로, OTP 생성을 제어하는 OTP 제어부(210), OTP 제어부(210)로부터 OTP 생성 명령 신호를 수신하여 클럭(Clock) 신호를 발생시키는 실시간 시계 발진부(220), OTP를 디스플레이하는디스플레이부(230) 및 전원부(240)를 포함할 수 있다. The OTP generator 200 is a device that generates a one-time password (OTP), and receives an OTP generation command signal from the OTP control unit 210 and the OTP control unit 210 that controls OTP generation, and generates a clock signal. It may include a real-time clock oscillation unit 220 for generating, a display unit 230 and a power supply unit 240 for displaying the OTP.

명세서 전체에서 클럭(Clock) 신호는 실시간 시각 정보(Real-time Clock; RTC)를 포함할 수 있다. Throughout the specification, the clock signal may include real-time clock (RTC).

상기 전원부(240)는 OTP 생성기(200)의 작동 신호를 인가하는 버튼과 배터리를 포함할 수 있다.The power supply unit 240 may include a button and a battery that applies an operation signal of the OTP generator 200.

본 발명의 일 실시예에 따른 OTP 제어부(210)는 OTP 오차율 측정 모듈(100)에서 측정된 OTP 오차율과 상기 OTP 오차율을 측정한 시점의 기준 시간을 저장할 수 있다. The OTP control unit 210 according to an embodiment of the present invention may store the OTP error rate measured by the OTP error rate measurement module 100 and a reference time when the OTP error rate is measured.

OTP 제어부(210)는 또한, 상기 저장된 오차율 및 기준 시간을 기초로 하여 OTP 생성기의 시간을 보정할 수 있다.OTP 생성기의 시간을 보정하는 구체적인 방법은 도 3 및 도 4를 참고하여 후술한다. The OTP control unit 210 may also correct the time of the OTP generator based on the stored error rate and reference time. A detailed method of correcting the time of the OTP generator will be described later with reference to FIGS. 3 and 4.

본 발명의 일 실시예에 따른 OTP 오차율 측정 모듈(100)은 레퍼런스 시계부(110) 및 RTC 오차율 측정부(120)를 포함할 수 있다.The OTP error rate measurement module 100 according to an embodiment of the present invention may include a reference clock unit 110 and an RTC error rate measurement unit 120.

레퍼런스 시계부(110)는 소정의 주기를 갖는 레퍼런스 신호를 발생시키는데, 레퍼런스 신호는 OTP 생성기에서 생성된 신호와 비교하기 위한 신호이므로, 1ppm이하의 매우 정확한 것을 사용한다.The reference clock unit 110 generates a reference signal having a predetermined period. Since the reference signal is a signal for comparison with the signal generated by the OTP generator, a very accurate one of 1 ppm or less is used.

RTC 오차율 측정부(120)는 상기 실시간 시계 발진부(220)로부터 RTC 신호 및 상기 레퍼런스 시계부(110)로부터 레퍼런스 신호를 수신하여 두 신호를 비교함으로써 오차율을 측정할 수 있고, 상기 측정된 오차율은 OTP 생성기(200)의 OTP 제어부(210)에 저장될 수 있다. The RTC error rate measurement unit 120 may measure the error rate by receiving the RTC signal from the real-time clock oscillation unit 220 and the reference signal from the reference clock unit 110 and comparing the two signals, and the measured error rate is OTP It may be stored in the OTP control unit 210 of the generator 200.

한편, RTC 오차율 측정부(120)는 외부 서버의 애플리케이션부(10)로부터 오차율을 측정하는 명령 신호 및 오차율을 측정한 시점의 기준 시간을 수신할 수 있다. Meanwhile, the RTC error rate measurement unit 120 may receive a command signal for measuring the error rate from the application unit 10 of the external server and a reference time when the error rate is measured.

RTC 신호 및 레퍼런스 신호는 동일한 주파수를 가지거나, 다른 주파수를 가질 수 있다. 예를 들면 RTC 신호 및 레퍼런스 신호 모두 1Hz 일 수 있거나, 각각 1Hz와 10MHz가 될수있다. 기 설정된 시간(1초)동안 레퍼런스 신호와 RTC 신호의 오차(차이)를 구할 수 있는 주파수는 모두 가능한 것을 특징으로 할 수 있다. The RTC signal and the reference signal may have the same frequency or different frequencies. For example, both the RTC signal and the reference signal may be 1 Hz, or 1 Hz and 10 MHz, respectively. The frequency for which the error (difference) between the reference signal and the RTC signal can be obtained for a predetermined time (1 second) may be characterized as being possible.

본 발명의 일 실시예에서는 레퍼런스 신호와 RTC 신호 모두 1Hz의 주파수를 사용하는것으로 설명한다. 그리고오차율 측정과 관련하여서는,1초[sec] 동안 RTC 신호와 레퍼런스 신호를 1ppm 단위로 레퍼런스 신호와 RTC 신호의 오차율(Diff1)를 측정함으로써 ±1ppm의 오차범위를 가지도록 예시 하였다. 한편, 1초[sec]동안 1/1백만 단위 보다 더 많은 비교측정을 하면 더 정밀한 오차율을 계산할 수 있다.In one embodiment of the present invention, it is described that both the reference signal and the RTC signal use a frequency of 1 Hz. And with regard to error rate measurement, it is illustrated to have an error range of ± 1ppm by measuring the error rate (Diff1) of the reference signal and the RTC signal in 1ppm units for the RTC signal and the reference signal for 1 second [sec]. On the other hand, if more comparative measurements than 1/1 million units are performed for 1 second [sec], a more accurate error rate can be calculated.

도 2는 본 발명의 일 실시예에 따른 OTP 생성기의 시간 보정 방법의 순서도이다.2 is a flowchart of a method for time correction of an OTP generator according to an embodiment of the present invention.

도 2를 참조하면, OTP 생성기의 시간 보정 방법은 OTP 오차율 측정 모듈이 OTP 생성기의 오차율을 측정하는 단계(S201), 오차율 및 상기 오차율을 측정한 시점의 기준 시간을OTP 생성기에 저장하는 단계(S202) 및 OTP 생성기가 상기 오차율 및 상기 기준 시간을 기초로 하여 상기 OTP 생성기의 시간을 보정하는 단계(S203)를 포함할 수 있다. Referring to FIG. 2, the time correction method of the OTP generator comprises: measuring the error rate of the OTP generator by the OTP error rate measurement module (S201), and storing the error rate and a reference time at the time when the error rate was measured in the OTP generator (S202) ) And the OTP generator correcting the time of the OTP generator based on the error rate and the reference time (S203).

상기 오차율을 측정하는 단계(S201)를 구체적으로 설명하면, OTP 오차율 측정 모듈(100)이 실시간 시계 발진부(220)로부터 1Hz의 RTC 신호(R2)와 레퍼런스 시계부로부터 1Hz의 레퍼런스 신호(R1)를 수신한다.In detail, the step (S201) of measuring the error rate, the OTP error rate measurement module 100 receives a 1Hz RTC signal (R2) from the real-time clock oscillation unit 220 and a reference signal (R1) of 1Hz from the reference clock unit. To receive.

RTC 오차율 측정부(120)는 타임 카운터(Time Counter)를 이용하여 1초 동안의 상기 RTC 신호(R2)와 레퍼런스 신호(R1)를 100만분의 1초 단위로 비교한다.The RTC error rate measurement unit 120 compares the RTC signal R2 and the reference signal R1 for one second in units of one millionth of a second by using a time counter.

도 3은 본 발명의 일 실시예에 따른 RTC 신호와 레퍼런스 신호를 비교하는 방법을 설명하기 위한 도면이다. 3 is a diagram for explaining a method of comparing an RTC signal and a reference signal according to an embodiment of the present invention.

도 3을 참조하면, RTC 신호(R2 또는 R3)는 OTP 생성기가 자체 오차율을 가지고 있기 때문에, 1Hz RTC신호(R2 또는 R3)는 1Hz 레퍼런스 신호(R1)와 차이가 있다. 즉, RTC신호(R2 또는 R3)의 1초 길이와 레퍼런스 신호(R1)의 1초 길이가 다르다.Referring to FIG. 3, since the OTP generator has its own error rate for the RTC signal R2 or R3, the 1 Hz RTC signal R2 or R3 is different from the 1 Hz reference signal R1. That is, the 1 second length of the RTC signal R2 or R3 is different from the 1 second length of the reference signal R1.

RTC 오차율 측정부(120)에 포함된 타임 카운터(Time Counter)는 1Hz에 해당하는 RTC신호(R2 또는 R3)의 시간(t2' 또는 t2'')과 1Hz에 해당하는레퍼런스 신호(R1)의 시간(t1) 오차를 측정한다. 한편, 명세서 전체에서 t2' 또는 t2''는 t2로 통칭하여 설명한다. The time counter included in the RTC error rate measurement unit 120 includes the time (t 2 ′ or t 2 '') of the RTC signal (R2 or R3) corresponding to 1 Hz and the reference signal (R1) corresponding to 1 Hz. The time (t 1 ) error of is measured. Meanwhile, in the specification, t 2 ′ or t 2 ″ is collectively described as t 2 .

상기 오차 시간(t2-t1)은레퍼런스 시계부의 시간 기준으로 측정하며, 1초를 기준으로 하는 오차 시간을 오차율(단위: ppm)로 지칭할 수 있다. The error time (t 2 -t 1 ) is measured based on the time of the reference clock part, and the error time based on 1 second may be referred to as an error rate (unit: ppm).

한편, 오차 시간(t2-t1)은 OTP 생성기에 따라 양의 값을 가지거나 음의 값을 가질 수 있다. 도 3을 참고하면, RTC신호 R2에서레퍼런스 신호(R1)의 오차를 측정하면 오차 시간(t2''-t1)은 (+) 값을 가지고, RTC신호 R3에서 레퍼런스 신호(R1)의 오차를 측정하면 오차 시간(t2'-t1)은 (-) 값을 가진다.Meanwhile, the error time t 2 -t 1 may have a positive value or a negative value according to the OTP generator. Referring to FIG. 3, when measuring the error of the reference signal R1 in the RTC signal R2, the error time (t 2 '' -t 1 ) has a (+) value, and the error of the reference signal R1 in the RTC signal R3 If is measured, the error time (t 2 '-t 1 ) has a value of (-).

한편, RTC 신호와 레퍼런스 신호의 주파수는 상기 1Hz로 한정되는 것은 아니며, 다른 주파수도 될 수 있다. 즉, RTC 신호와 레퍼런스 신호는 소정의 주기를 가지는 주파수 신호를 의미할 수 있다.Meanwhile, the frequencies of the RTC signal and the reference signal are not limited to the above 1 Hz, but may be other frequencies. That is, the RTC signal and the reference signal may mean a frequency signal having a predetermined period.

오차율을 측정하기 위해 수신하는 RTC 신호와 레퍼런스 신호의 주파수는OTP 오차율 측정 모듈(100)에 미리 설정될 수 있다. The frequency of the RTC signal and the reference signal received to measure the error rate may be preset in the OTP error rate measurement module 100.

도 4는 본 발명의 일 실시예에 따른 OTP 생성기의 시간 보정 방법의 구체적인 순서도이다.4 is a specific flowchart of a time correction method of an OTP generator according to an embodiment of the present invention.

OTP 오차율 측정 모듈이기 설정된 시간동안 상기 RTC 신호와 상기 레퍼런스 신호를 수신(S301, S302)하여, RTC 신호와 상기 레퍼런스 신호의 오차 시간을 측정함으로써 오차율(Diff1)을 계산하면(S303), OTP 생성기는 상기 오차율과 오차율을 측정한 시점의 기준 시간을 OTP 오차율 측정 모듈로부터 수신하여 OTP 제어부에 저장한다(S304).The OTP error rate measurement module receives the RTC signal and the reference signal for a predetermined time (S301, S302), and calculates the error rate (Diff 1 ) by measuring the error time between the RTC signal and the reference signal (S303), OTP generator Receives the error rate and the reference time when the error rate is measured from the OTP error rate measurement module and stores it in the OTP control unit (S304).

상기 기준 시간은 외부 서버의 기준 시간이거나 OTP 오차율 측정 모듈의 기준 시간일 수 있다. The reference time may be a reference time of an external server or a reference time of the OTP error rate measurement module.

OTP 제어부는 OTP 생성기의 시간을 하기 수식(F1)에 의해 보정할 수 있다(S305).The OTP control unit may correct the time of the OTP generator by the following equation (F1) (S305).

Figure pat00004
Figure pat00004

여기서, tc는 OTP 생성기의 현재 시간, tr 은 저장된 기준 시간, Diff1 는 저장된 RTC 신호와 레퍼런스 신호간의 오차율로, Diff1 = t2-t1을 만족한다. 한편, t2는 RTC 신호의 1Hz 길이[sec], t1은 레퍼런스 신호의 1Hz 길이[sec]를 의미한다. Here, tc is the current time of the OTP generator, tr is the stored reference time, Diff1 is the error rate between the stored RTC signal and the reference signal, and satisfies Diff 1 = t 2 -t 1 . Meanwhile, t 2 denotes a 1 Hz length [sec] of the RTC signal, and t 1 denotes a 1 Hz length [sec] of the reference signal.

예컨대, 오차율(Diff1)이 양의 값(+)을 가지면RTC 신호가 느리게 동작한다는 것으로 OTP 생성기의 현재시간은외부 서버의 현재시간보다늦은 시간이 되며, 오차율(Diff1)이 음의 값(-)을 가지면 RTC 신호가 빠르게 동작한다는 것으로 OTP 생성기의현재시간은 외부 서버의 현재시간보다 더빠른 시간이 된다는 것을 의미한다.For example, if the error rate (Diff 1 ) has a positive value (+), the RTC signal operates slowly, and the current time of the OTP generator becomes a time later than the current time of the external server, and the error rate (Diff 1 ) has a negative value ( -) Means that the RTC signal operates quickly, which means that the current time of the OTP generator is faster than that of the external server.

따라서, 상기와 같은 알고리즘으로 OTP 생성기의 시간을 보정하면, ±1ppm 정도의 낮은 오차율을 가지도록 할 수 있다.예컨대, OTP 생성기의 오차율이 ±20ppm인 경우에는 외부 서버와의 시간 차이가 ±52분 33초(OTP 생성기의 제조 후 5년경과시) 나는 반면, 본 발명의 일 실시예에 의해 OTP 생성기의 오차율을 ±1ppm으로 보정하면, 외부 서버와의 시간 차이는 ±2분 37초(OTP 생성기의 제조 후 5년경과시)로 대폭 줄일 수 있는 장점이 있다. Therefore, when the time of the OTP generator is corrected by the above-described algorithm, it is possible to have an error rate as low as ± 1 ppm. For example, when the error rate of the OTP generator is ± 20 ppm, the time difference from the external server is ± 52 minutes. On the other hand, when the error rate of the OTP generator is corrected to ± 1ppm according to an embodiment of the present invention, the time difference from an external server is ± 2 minutes and 37 seconds (OTP generator). It has the advantage that it can be drastically reduced to 5 years after the manufacture of.

도 5는 본 발명의 일 실시예에 따른 OTP 생성기의 시간 보정 시스템의 구동 순서를 나타내는 도면이다.5 is a diagram showing a driving sequence of a time correction system of an OTP generator according to an embodiment of the present invention.

도 5를 참조하여, OTP 생성기의 시간 보정 시스템의 전체적인 구동 순서를 설명한다.Referring to Fig. 5, the overall driving sequence of the time correction system of the OTP generator will be described.

OTP 오차율 측정 모듈(100)의 RTC 오차율 측정부(120)가 외부서버의 애플리케이션부(10)로부터 오차율 측정에 관한 명령 신호를 수신(S400)하면, RTC 오차율 측정부(120)는 OTP 생성기(200)의 OTP 제어부(210)에 상기 명령 신호를 전달하고, 오차율 측정에 관한 신호 생성을 요청한다(S402). When the RTC error rate measurement unit 120 of the OTP error rate measurement module 100 receives a command signal for error rate measurement from the application unit 10 of the external server (S400), the RTC error rate measurement unit 120 is the OTP generator 200 ), Transmits the command signal to the OTP control unit 210, and requests signal generation for error rate measurement (S402).

그 다음, OTP 제어부(210)는 실시간 시계 발진부(220)에 1Hz에 해당하는 RTC 신호를 생성하도록 요청한다(S404). Next, the OTP control unit 210 requests the real-time clock oscillation unit 220 to generate an RTC signal corresponding to 1 Hz (S404).

실시간 시계 발진부(220)는 1Hz RTC 신호를 생성하여 OTP 오차율 측정 모듈(100)의 RTC 오차율 측정부(120)에 전송한다(S406).The real-time clock oscillation unit 220 generates a 1 Hz RTC signal and transmits it to the RTC error rate measurement unit 120 of the OTP error rate measurement module 100 (S406).

RTC 오차율 측정부(120)는 추가적으로, 레퍼런스 시계부(110)로부터 레퍼런스 신호를 수신하고(S408), RTC 신호와 레퍼런스 신호의 오차 시간을 측정하여 오차율을 계산한다(S410).The RTC error rate measurement unit 120 additionally receives a reference signal from the reference clock unit 110 (S408), and calculates an error rate by measuring the error time between the RTC signal and the reference signal (S410).

RTC 오차율 측정부(120)는 외부 서버의 애플리케이션부(10)에 오차율을 측정한 시점의 기준시간을 요청(S411)하면,애플리케이션부(10)는 OTP 제어부(210)에 오차율을 측정한 시점의 기준시간을 전송한다(S412).When the RTC error rate measurement unit 120 requests a reference time at the time when the error rate is measured from the application unit 10 of the external server (S411), the application unit 10 displays the time when the error rate is measured by the OTP control unit 210. The reference time is transmitted (S412).

보다 구체적으로, OTP 제어부(210)는 상기 오차율을RTC 오차율 측정부(120)로부터 수신하고 기준시간은 애플리케이션부(10)의 기준시간을 RTC 오차율 측정부(120)를 통해 수신할 수 있다(S412). 그리고 OTP 제어부(210)는 상기 기준시간과 오차율을 저장한다(S414).More specifically, the OTP control unit 210 may receive the error rate from the RTC error rate measurement unit 120 and the reference time may receive the reference time of the application unit 10 through the RTC error rate measurement unit 120 (S412). ). Then, the OTP control unit 210 stores the reference time and the error rate (S414).

사용자가 OTP 생성기(200)의 전원버튼을 누르면(S416), 실시간 시계 발진부(220)가 OTP 생성기의 현재시간을 OTP 제어부(210)에 전송한다(S418).When the user presses the power button of the OTP generator 200 (S416), the real-time clock oscillator 220 transmits the current time of the OTP generator to the OTP controller 210 (S418).

OTP 제어부(210)는 OTP 생성기의 현재 시간(tc), 기 저장된 상기 기준 시간(tr) 및 RTC 신호와 레퍼런스 신호간의 오차율(Diff1)을 기초로 하여 하기 수식(F1)에 의해 상기OTP 생성기의 시간을 보정한다(S420).The OTP control unit 210 is based on the current time (t c ) of the OTP generator, the previously stored reference time (t r ), and the error rate (Diff 1 ) between the RTC signal and the reference signal by the following equation (F1) The time of the generator is corrected (S420).

Figure pat00005
Figure pat00005

Diff1 는 저장된 RTC 신호와 레퍼런스 신호간의 오차율로, Diff1 = t2-t1을 만족한다. 한편, t2는 RTC 신호의 1Hz 길이[sec], t1은 레퍼런스 신호의 1Hz 길이[sec]를 의미한다. Diff 1 is an error rate between a stored RTC signal and a reference signal, and satisfies Diff 1 = t 2 -t 1 . Meanwhile, t 2 denotes a 1 Hz length [sec] of the RTC signal, and t 1 denotes a 1 Hz length [sec] of the reference signal.

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

10 : 애플리케이션부
100 : OTP 오차율 측정 모듈
110 : 레퍼런스 시계부
120 : RTC 오차율 측정부
200 : OTP 생성기
210 : OTP 제어부
220 : 실시간 시계 발진부
230 : 디스플레이부
240 : 전원부
10: application unit
100: OTP error rate measurement module
110: reference watch section
120: RTC error rate measurement unit
200: OTP generator
210: OTP control unit
220: real-time clock oscillation unit
230: display unit
240: power supply

Claims (10)

OTP 오차율 측정 모듈이 OTP 생성기의 오차율을 측정하는 단계;
상기 오차율 및 상기 오차율을 측정한 시점의 기준 시간을 OTP 생성기에 저장하는 단계; 및
OTP 생성기가 상기 오차율 및 상기 기준 시간을 기초로 하여 상기 OTP 생성기의 시간을 보정하는 단계를 포함하는 OTP 생성기의 시간을 보정하는 방법.
An OTP error rate measurement module measuring an error rate of the OTP generator;
Storing the error rate and a reference time at which the error rate is measured in an OTP generator; And
And OTP generator correcting the time of the OTP generator based on the error rate and the reference time.
제1항에 있어서,
상기 오차율을 측정하는 단계는,
상기 OTP 오차율 측정 모듈이 상기 OTP 생성기의 실시간 시계 발진부로부터 발생한 RTC 신호를 수신하는 단계;
상기 OTP 오차율 측정 모듈이 레퍼런스 시계부로부터 레퍼런스 신호를 수신하는 단계; 및
상기 OTP 오차율 측정 모듈이 상기 RTC 신호와 상기 레퍼런스 신호간의오차율을 측정하는 단계를 더 포함하는 OTP 생성기의 시간을 보정하는 방법.
According to claim 1,
The step of measuring the error rate,
The OTP error rate measurement module receiving an RTC signal generated from a real-time clock oscillation unit of the OTP generator;
The OTP error rate measurement module receiving a reference signal from a reference clock section; And
And the OTP error rate measurement module measuring an error rate between the RTC signal and the reference signal.
제2항에 있어서,
상기 오차율을 측정하는 단계는,
상기 OTP 오차율 측정 모듈이 기 설정된 시간동안 상기 RTC 신호와 상기 레퍼런스 신호를 수신하여 상기 RTC 신호와 상기 레퍼런스 신호의 오차 시간을 측정함으로써 오차율을 계산하는 것인, OTP 생성기의 시간을 보정하는 방법.
According to claim 2,
The step of measuring the error rate,
The OTP error rate measurement module is to calculate the error rate by receiving the RTC signal and the reference signal for a predetermined time and measuring the error time of the RTC signal and the reference signal, the method of correcting the time of the OTP generator.
제1항에 있어서,
상기OTP 생성기의 시간을 보정하는 단계는,
상기 OTP 생성기의 현재 시간(tc), 기 저장된 상기 기준 시간(tr) 및 RTC 신호와 레퍼런스 신호간의 오차율(Diff1)을 기초로 하여 하기 수식(F1)에 의해 상기OTP 생성기의 시간을 보정하는 것을 특징으로 하는 OTP 생성기의 시간을 보정하는 방법.
Figure pat00006

여기서 Diff1 = t2-t1을 만족하고, t2는 RTC 신호의 1Hz 길이[sec], t1은 레퍼런스 신호의 1Hz 길이[sec]를 의미함.
According to claim 1,
Compensating the time of the OTP generator,
Correct the time of the OTP generator by the following equation (F1) based on the current time (t c ) of the OTP generator, the reference time (t r ), and the error rate (Diff 1 ) between the RTC signal and the reference signal. Method for correcting the time of the OTP generator, characterized in that.
Figure pat00006

Here, Diff 1 = t 2 -t 1 is satisfied, t 2 means 1 Hz length [sec] of the RTC signal, and t 1 means 1 Hz length [sec] of the reference signal.
OTP 생성기 및 상기 OTP 생성기의 오차율을 측정하는 OTP 오차율 측정 모듈을 포함하고,
상기 OTP 생성기는,
상기 오차율 및 상기 오차율을 측정한 시점의 기준 시간을 저장하는 OTP 제어부 및
상기 OTP 제어부로부터 수신하는 신호에 의해 클럭 신호를 발생시키는 실시간 시계 발진부를 포함하고,
상기 OTP 제어부는, 상기 오차율 및 상기 기준 시간을 기초로 하여 상기 OTP 생성기의 시간을 보정하는 것을 특징으로 하는 OTP 생성기의 시간을 보정하는 시스템.
OTP generator and an OTP error rate measurement module for measuring the error rate of the OTP generator,
The OTP generator,
An OTP control unit for storing the error rate and a reference time at the time when the error rate is measured, and
It includes a real-time clock oscillation unit for generating a clock signal by the signal received from the OTP control unit,
The OTP control unit, the system for correcting the time of the OTP generator, characterized in that for correcting the time of the OTP generator based on the error rate and the reference time.
제5항에 있어서,
상기 OTP 오차율 측정 모듈은,
소정의 주기를 갖는 레퍼런스 신호를 발생시키는 레퍼런스 시계부 및
상기 실시간 시계 발진부로부터 발생한 RTC신호 및 상기 레퍼런스 시계부로부터 발생한 레퍼런스 신호를 수신하여,
상기 RTC 신호와 상기 레퍼런스 신호간의 오차율(Diff1)을 측정하는 RTC 오차율 측정부를 포함하는 OTP 생성기의 시간을 보정하는 시스템.
The method of claim 5,
The OTP error rate measurement module,
Reference clock section for generating a reference signal having a predetermined period and
RTC signal generated from the real-time clock oscillation unit and the reference signal generated from the reference clock unit,
A system for correcting the time of the OTP generator including an RTC error rate measuring unit for measuring an error rate (Diff 1 ) between the RTC signal and the reference signal.
제6항에 있어서,
상기 RTC 오차율 측정부는 기 설정된 시간동안 상기 RTC 신호와 상기 레퍼런스 신호를 수신하여 상기 RTC 신호와 상기 레퍼런스 신호의 오차 시간을 측정함으로써 오차율을 계산하는 것인, OTP 생성기의 시간을 보정하는 시스템.
The method of claim 6,
The RTC error rate measuring unit calculates an error rate by receiving the RTC signal and the reference signal for a predetermined time and measuring the error time between the RTC signal and the reference signal, thereby correcting the time of the OTP generator.
제5항에 있어서,
상기 OTP 제어부는 상기 OTP 생성기의 현재 시간(tc), 기 저장된 상기 기준 시간(tr) 및 RTC 신호와 레퍼런스 신호간의 오차율(Diff1)을 기초로 하여 하기 수식(F1)에 의해 상기OTP 생성기의 시간을 보정하는 것을 특징으로 하는 OTP 생성기의 시간을 보정하는 시스템.
F1 =
Figure pat00007

여기서 Diff1 = t2-t1을 만족하고, t2는 RTC 신호의 1Hz 길이[sec], t1은 레퍼런스 신호의 1Hz 길이[sec]를 의미함.
The method of claim 5,
The OTP controller is based on the current time (t c ) of the OTP generator, the reference time (t r ), and the error rate (Diff 1 ) between the RTC signal and the reference signal, according to the following equation (F1): System for correcting the time of the OTP generator, characterized in that to correct the time.
F1 =
Figure pat00007

Here, Diff 1 = t 2 -t 1 is satisfied, t 2 means 1 Hz length [sec] of the RTC signal, and t 1 means 1 Hz length [sec] of the reference signal.
OTP 생성기에 있어서,
상기 OTP 생성기의 오차율 및 외부 서버의 기준 시간을 저장하는 OTP 제어부 및
상기 OTP 제어부로부터 수신하는 신호에 의해 클럭 신호를 발생시키는 실시간 시계 발진부를 포함하고,
상기 OTP 제어부는, 상기 OTP 생성기의 현재 시간(tc), 기 저장된 상기 기준 시간(tr) 및 기 저장된 상기 오차율(Diff1)을 기초로 하여 하기 수식(F1)에 의해 상기OTP 생성기의 시간을 보정하는 것을 특징으로 하는 OTP 생성기.
F1 =
Figure pat00008

여기서 Diff1 = t2-t1을 만족하고, t2는 RTC 신호의 1Hz 길이[sec], t1은 레퍼런스 신호의 1Hz 길이[sec]를 의미함.
In the OTP generator,
OTP control unit for storing the error rate of the OTP generator and the reference time of the external server and
It includes a real-time clock oscillation unit for generating a clock signal by the signal received from the OTP control unit,
The OTP control unit, based on the current time (t c ), the pre-stored reference time (t r ) and the pre-stored error rate (Diff 1 ) of the OTP generator, the time of the OTP generator according to the following equation (F1) OTP generator characterized in that the correction.
F1 =
Figure pat00008

Here, Diff 1 = t 2 -t 1 is satisfied, t 2 means 1 Hz length [sec] of the RTC signal, and t 1 means 1 Hz length [sec] of the reference signal.
외부 서버와 연결되어 오차율 측정에 관한 명령 신호 또는 외부 서버의 기준 시간을 수신하는 통신부;
소정의 주기를 갖는 레퍼런스 신호를 발생시키는 레퍼런스 시계부; 및
OTP 생성기로부터 RTC신호를 수신하고, 상기 레퍼런스 시계부로부터 발생한 레퍼런스 신호를 수신하여,
상기 RTC 신호와 상기 레퍼런스 신호간의 오차율(Diff1)을 측정하는 RTC 오차율 측정부를 포함하는 OTP 오차율 측정 모듈.
A communication unit connected to an external server to receive a command signal for error rate measurement or a reference time of the external server;
A reference clock section for generating a reference signal having a predetermined period; And
The RTC signal is received from the OTP generator, and the reference signal generated from the reference clock section is received.
OTP error rate measurement module including an RTC error rate measurement unit for measuring the error rate (Diff 1 ) between the RTC signal and the reference signal.
KR1020180118381A 2018-10-04 2018-10-04 The method for correcting a real-time clock(rtc) of an otp generator, the system, otp generator and otp error rate measurement module thereof KR102168437B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180118381A KR102168437B1 (en) 2018-10-04 2018-10-04 The method for correcting a real-time clock(rtc) of an otp generator, the system, otp generator and otp error rate measurement module thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180118381A KR102168437B1 (en) 2018-10-04 2018-10-04 The method for correcting a real-time clock(rtc) of an otp generator, the system, otp generator and otp error rate measurement module thereof

Publications (2)

Publication Number Publication Date
KR20200038761A true KR20200038761A (en) 2020-04-14
KR102168437B1 KR102168437B1 (en) 2020-10-21

Family

ID=70291794

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180118381A KR102168437B1 (en) 2018-10-04 2018-10-04 The method for correcting a real-time clock(rtc) of an otp generator, the system, otp generator and otp error rate measurement module thereof

Country Status (1)

Country Link
KR (1) KR102168437B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070016434A (en) * 2005-08-03 2007-02-08 엘지전자 주식회사 Real time clock apparatus and the real time compensating method thereof
KR101808316B1 (en) 2017-04-21 2018-01-18 (주)케이사인 Authentication system and method of authenticating using smart otp card
KR20180106213A (en) * 2017-03-17 2018-10-01 김경아 Method and apparatus for authentication of OTP generator based on built-in clock

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070016434A (en) * 2005-08-03 2007-02-08 엘지전자 주식회사 Real time clock apparatus and the real time compensating method thereof
KR20180106213A (en) * 2017-03-17 2018-10-01 김경아 Method and apparatus for authentication of OTP generator based on built-in clock
KR101808316B1 (en) 2017-04-21 2018-01-18 (주)케이사인 Authentication system and method of authenticating using smart otp card

Also Published As

Publication number Publication date
KR102168437B1 (en) 2020-10-21

Similar Documents

Publication Publication Date Title
US20200328718A1 (en) Systems and methods for frequency compensation of real-time-clock systems
US9178875B2 (en) Method for authenticating an OTP and an instrument therefor
AU687177B2 (en) Time correction of an electronic clock
US6961287B2 (en) Time error compensating apparatus and method in a terminal
JP2012195932A (en) Oscillation device
JP5228392B2 (en) Temperature compensated oscillation circuit, real-time clock device and electronic equipment
JP2007078405A (en) Timing program of software timepiece
CN106292839A (en) Real-time clock compensates circuit and calibration steps, device
JP2017010297A (en) Clock signal generation circuit, semiconductor integrated circuit device, and electronic apparatus
US5719827A (en) Highly stable frequency generator
KR102168437B1 (en) The method for correcting a real-time clock(rtc) of an otp generator, the system, otp generator and otp error rate measurement module thereof
KR101942719B1 (en) Real Time Clock Apparatus
US7118269B2 (en) Method of correcting a real-time clock of an electronic apparatus
CN109217821B (en) Frequency device compensation method, device and system and computer readable storage medium
US10422809B2 (en) Electronic apparatus and program
JP5590174B2 (en) Temperature compensated oscillation circuit, real-time clock device and electronic equipment
CN102307092A (en) Intelligent time compensation method for dynamic token
KR101962703B1 (en) Method and apparatus for authentication of OTP generator based on built-in clock
JP2002076774A (en) Method for regulating temperature compensated oscillator
CN113271171A (en) Time calibration method, device and computer readable medium
KR102065188B1 (en) Module for providing time information and method of providing time information using the same
JP6651834B2 (en) Voltage-controlled oscillator, electronic device, and moving object
KR102251730B1 (en) Time-synchronized OTP authentication method
JP7333705B2 (en) circuit system
JP2006140726A (en) Method and apparatus for adjusting frequency of piezoelectric oscillator, and piezoelectric oscillator

Legal Events

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