KR101595897B1 - Digital doorlock and control method thereof - Google Patents
Digital doorlock and control method thereof Download PDFInfo
- Publication number
- KR101595897B1 KR101595897B1 KR1020140175506A KR20140175506A KR101595897B1 KR 101595897 B1 KR101595897 B1 KR 101595897B1 KR 1020140175506 A KR1020140175506 A KR 1020140175506A KR 20140175506 A KR20140175506 A KR 20140175506A KR 101595897 B1 KR101595897 B1 KR 101595897B1
- Authority
- KR
- South Korea
- Prior art keywords
- mobile terminal
- information
- door lock
- hash value
- offset
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000004891 communication Methods 0.000 claims description 33
- 238000004590 computer program Methods 0.000 claims 1
- 230000004044 response Effects 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 16
- 239000000284 extract Substances 0.000 description 14
- 238000010586 diagram Methods 0.000 description 11
- 238000000605 extraction Methods 0.000 description 7
- 238000010295 mobile communication Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
Images
Classifications
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05B—LOCKS; ACCESSORIES THEREFOR; HANDCUFFS
- E05B53/00—Operation or control of locks by mechanical transmissions, e.g. from a distance
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05B—LOCKS; ACCESSORIES THEREFOR; HANDCUFFS
- E05B49/00—Electric permutation locks; Circuits therefor ; Mechanical aspects of electronic locks; Mechanical keys therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/40—Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by components specially adapted for near-field transmission
- H04B5/48—Transceivers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/24—Radio transmission systems, i.e. using radiation field for communication between two or more posts
- H04B7/26—Radio transmission systems, i.e. using radiation field for communication between two or more posts at least one of which is mobile
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q9/00—Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/04—Key management, e.g. using generic bootstrapping architecture [GBA]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Lock And Its Accessories (AREA)
Abstract
Description
본 발명은 디지털 도어록 및 그 제어방법, 이를 수행하기 위한 기록매체에 관한 것으로서, 보다 상세하게는 이동 단말을 이용하여 원격으로 도어록을 개방하는 디지털 도어록 및 그 제어방법, 이를 수행하기 위한 기록매체에 관한 것이다.The present invention relates to a digital door lock, a control method thereof, and a recording medium for performing the same. More particularly, the present invention relates to a digital door lock and a control method thereof for remotely opening a door lock using a mobile terminal, will be.
일반적으로, 가정용 주택이나 사무실 등에서는 디지털 신호 감응에 의하여 도어의 잠금 해지가 이루어지도록 하는 디지털 도어록이 설치되어 있다.2. Description of the Related Art Generally, a digital door lock is provided in a home or office for allowing a door to be unlocked by a digital signal response.
디지털 도어록은 문의 내부측에 통상적으로 개폐 버튼, 강제 잠금 버튼, 수동 레버, 전원 공급부, 내측 레버 등으로 형성될 수 있으며, 문의 외부측에는 보안을 위하여 문을 열기 위한 최소한의 구성만이 마련될 수 있다. 통상적으로 사용자가 디지털 도어록이 장착된 문을 열고자 하는 경우, 문의 외부에 장착된 디지털 도어록에 전자키를 접촉시키거나, 기 설정된 비밀번호를 누름으로써 문을 열 수 있다.The digital door lock may be formed on the inner side of the door by an open / close button, a forcible locking button, a manual lever, a power supply, an inner lever, and the like. . Normally, when a user wishes to open a door with a digital door lock, the door can be opened by contacting an electronic key to a digital door lock mounted outside the door, or by pressing a predetermined password.
기존의 디지털 도어록 개방 방식은 사용자가 별도의 전자키를 소지하고 있어야 하므로 사용 및 관리 측면에서 불편한 점에 있으며, 사용자가 부재시 가까운 친지나 친구의 갑작스런 방문에 비밀번호를 방문자에게 알려주어야만 하고, 이후 사용자는 비밀번호를 다시 변경해야만 하는 불편함과 자주 비밀번호를 변경해야 하는 경우에는 비밀번호 관리의 문제점이 있다.The conventional digital door lock opening method is inconvenient in terms of use and management because the user must have a separate electronic key. The user must inform the visitor of a sudden visit of a close friend or friend when the user is absent, The inconvenience of having to change the password again and the frequent change of the password require password management.
따라서, 스마트폰과 같은 이동 단말을 이용하여 사용자뿐만 아니라 사용자가 아닌 외부인의 도어록 출입 인증을 간편하게 수행할 수 있는 디지털 도어록 개방 방식이 필요한 상황이다.Accordingly, it is necessary to use a digital door lock opening method which can easily perform door lock access authentication of not only a user but also an outside person by using a mobile terminal such as a smart phone.
본 발명의 일측면은 이동 단말을 이용하여 도어록을 개방하는 디지털 도어록의 제어방법으로서, 디지털 도어록에 미리 등록된 이동 단말뿐만 아니라 미등록된 이동 단말을 이용하여 디지털 도어록을 개방할 수 있도록, 디지털 도어록에 등록된 이동 단말일 경우 디지털 도어록과 이동 단말 각각에서 비밀번호 열에 대한 오프셋 및 구간길이 정보를 이용하여 산출한 해쉬값을 비교하여 그 동일 여부에 따라 도어록을 개방하고, 미등록된 이동 단말일 경우 디지털 도어록과 관리 서버 각각에서 비밀번호 열에 대한 오프셋 및 구간길이 정보를 이용하여 산출한 해쉬값을 비교하여 그 동일 여부에 따라 도어록을 개방하는 디지털 도어록 및 그 제어방법을 제공한다.According to an aspect of the present invention, there is provided a method of controlling a digital door lock using a mobile terminal to open a door lock, the method comprising: displaying the digital door lock in a digital door lock so that a digital door lock can be opened using not only mobile terminals registered in advance in the digital door lock, In the case of the registered mobile terminal, the digital door lock and the mobile terminal compare the hash values calculated using the offset and the section length information of the secret number column, and open the door lock according to the same, and if the mobile terminal is the unregistered mobile terminal, The digital door lock and the control method thereof are provided by comparing the hash values calculated by using the offset and the section length information on the secret code string in each of the management servers and opening the door lock according to the same.
본 발명의 일 측면은 이동 단말을 이용하여 도어록을 개방하는 디지털 도어록의 제어방법에 있어서, 상기 이동 단말부터 ID 정보를 수신하고, 상기 ID 정보를 이용하여 상기 이동 단말이 등록된 이동 단말인지를 확인하고, 상기 이동 단말이 등록된 이동 단말일 경우 상기 ID 정보에 대응하는 비밀번호 정보를 상기 이동 단말로 전송하고, 상기 이동 단말로부터 상기 비밀번호 정보에 대한 제1 변수값 및 상기 이동 단말 내에서 산출된 제1 해쉬값을 수신하고, 상기 제1 변수값을 이용하여 자체적으로 제2 해쉬값을 산출하고, 상기 제1 해쉬값과 상기 제2 해쉬값을 비교하여 그 동일 여부에 따라 상기 도어록을 개방하도록 제어한다.According to an aspect of the present invention, there is provided a method of controlling a digital door lock that opens a door lock using a mobile terminal, the method comprising: receiving ID information from the mobile terminal; checking whether the mobile terminal is a registered mobile terminal And transmits the password information corresponding to the ID information to the mobile terminal if the mobile terminal is the registered mobile terminal, and transmits the first variable value for the password information and the first variable value for the
상기 ID 정보에 대응하는 비밀번호 정보는, 상기 도어록 내부에 저장되어 있는 복수 개의 비밀번호 열 정보 중 상기 ID 정보에 대응하는 비밀번호 열의 오프셋 및 구간길이 정보를 포함할 수 있다.The password information corresponding to the ID information may include offset and length information of a secret number column corresponding to the ID information among a plurality of secret number column information stored in the door lock.
상기 이동 단말로부터 상기 제1 변수값 및 상기 제1 해쉬값을 수신하는 것은, 상기 이동 단말에 의해 상기 이동 단말 내부에 저장되어 있는 비밀번호 열에서 상기 비밀번호 정보에 포함된 오프셋 및 구간길이 정보에 해당하는 소정의 비밀번호 열을 추출하고, 상기 이동 단말에 의해 생성된 상기 추출한 소정의 비밀번호 열에 대한 제1 변수값 및 상기 이동 단말에 의해 상기 추출한 소정의 비밀번호 열에 상기 제1 변수값을 적용하여 생성된 상기 제1 해쉬값을 수신할 수 있다.The receiving of the first parameter value and the first hash value from the mobile terminal comprises receiving the first hash value from the mobile terminal in response to the offset and the section length information included in the password information in the secret number string stored in the mobile terminal by the mobile terminal The mobile terminal extracts a predetermined string of passwords, extracts a first variable value for the extracted predetermined string of passwords generated by the mobile terminal, and a second variable value for a predetermined string of passwords extracted by the mobile terminal, 1 hash value can be received.
상기 제1 변수값을 이용하여 자체적으로 제2 해쉬값을 산출하는 것은, 상기 ID 정보에 대응하는 비밀번호 열에서 상기 오프셋 및 구간길이 정보에 해당하는 소정의 비밀번호 열을 추출하고, 상기 추출한 소정의 비밀번호 열에 상기 이동 단말로부터 수신한 제1 변수값을 적용하여 상기 제2 해쉬값을 산출할 수 있다.The step of calculating the second hash value by itself using the first variable value may include extracting a predetermined secret string corresponding to the offset and the section length information from the secret string corresponding to the ID information, The second hash value can be calculated by applying a first variable value received from the mobile terminal to the column.
상기 비밀번호 열의 오프셋 및 구간길이는 상기 이동 단말을 이용하여 도어록을 개방할 때마다 상이한 오프셋 및 구간길이 정보를 포함할 수 있다.The offset and interval length of the secret code sequence may include different offset and interval length information each time the door lock is opened using the mobile terminal.
상기 도어록은 상기 비밀번호 정보를 상기 이동 단말로 전송하는 동시에 타이머를 작동시키고, 미리 정해진 시간 이상 상기 이동 단말로부터 상기 제1 변수값 및 상기 제1 해쉬값이 수신되지 않으면 경고 신호를 출력하고, 상기 이동 단말로부터 ID 정보를 수신받기 전의 초기 상태로 전환될 수 있다.The door lock transmits the password information to the mobile terminal and activates a timer and outputs a warning signal if the first variable value and the first hash value are not received from the mobile terminal for a predetermined time or more, It can be switched to the initial state before receiving the ID information from the terminal.
상기 이동 단말이 미등록된 이동 단말일 경우 상기 미등록된 이동 단말은 관리자로부터 발급받은 임시 비밀번호를 이용하여 외부에 있는 관리 서버에 접속하고, 상기 도어록으로부터 상기 비밀번호 정보를 수신하여 상기 관리 서버로 전송하고, 상기 관리 서버로부터 상기 비밀번호 정보에 대한 제2 변수값 및 상기 관리 서버 내에서 산출된 제3 해쉬값을 수신하여 상기 도어록으로 전송하고, 상기 도어록은 상기 미등록된 이동 단말로부터 수신한 상기 제2 변수값을 이용하여 자체적으로 제4 해쉬값을 산출하고, 상기 제3 해쉬값과 상기 제4 해쉬값을 비교하여 그 동일 여부에 따라 상기 도어록을 개방하도록 제어할 수 있다.Wherein the unregistered mobile terminal accesses an external management server using a temporary password issued from an administrator when the mobile terminal is an unregistered mobile terminal, receives the password information from the door lock, transmits the password information to the management server, Receiving a second parameter value for the password information and a third hash value calculated in the management server from the management server, and transmitting the third hash value to the door lock; and the door lock transmits the second variable value received from the unregistered mobile terminal The fourth hash value is calculated by itself, and the third hash value is compared with the fourth hash value, and the door lock is controlled to be opened according to the same.
상기 도어록으로부터 수신한 상기 비밀번호 정보는, 상기 도어록 내부에 저장되어 있는 비밀번호 열의 오프셋 및 구간길이 정보를 포함할 수 있다.The password information received from the door lock may include offset and length information of the secret number stored in the door lock.
상기 관리 서버로부터 상기 제2 변수값 및 상기 제3 해쉬값을 수신하는 것은, 상기 비밀번호 정보에 포함된 오프셋 및 구간길이 정보에 해당하는 소정의 비밀번호 열을 추출하고, 상기 추출한 소정의 비밀번호 열에 상기 관리 서버에 의해 임의로 생성된 제2 변수값을 적용하여 생성된 상기 제3 해쉬값을 수신할 수 있다.The receiving of the second parameter value and the third hash value from the management server may include extracting a predetermined secret sequence corresponding to offset and interval length information included in the secret information, And receive the third hash value generated by applying a second variable value arbitrarily generated by the server.
상기 제2 변수값을 이용하여 상기 도어록 자체적으로 제4 해쉬값을 산출하는 것은, 상기 비밀번호 열에서 상기 오프셋 및 구간길이 정보에 해당하는 소정의 비밀번호 열을 추출하고, 상기 추출한 소정의 비밀번호 열에 상기 제2 변수값을 적용하여 상기 제4 해쉬값을 산출할 수 있다.The calculating of the fourth hash value by itself using the second variable value may include extracting a predetermined secret string corresponding to the offset and the section length information from the secret string, The second hash value can be calculated by applying the two variable values.
상기 비밀번호 열의 오프셋 및 구간길이는 상기 미등록된 이동 단말을 이용하여 도어록을 개방할 때마다 상기 오프셋 및 구간길이와 상이한 오프셋 및 구간길이 정보를 포함하거나 상기 비밀번호 열과 길이 및 배열 정보가 다른 비밀번호 열의 오프셋 및 구간길이 정보를 포함할 수 있다.The offset and interval length of the secret number sequence may include offset and interval length information different from the offset and interval length each time the door lock is opened using the unregistered mobile terminal or may include offset and length information of the secret number, And may include section length information.
본 발명은 다른 측면은 이동 단말을 이용하여 도어록을 개방하는 디지털 도어록에 있어서, 상기 이동 단말과 소정의 정보를 송수신하는 도어록 통신부, 상기 이동 단말로부터 ID 정보를 수신하여 상기 이동 단말이 등록된 이동 단말인지를 확인하고, 상기 이동 단말이 등록된 이동 단말일 경우 상기 ID 정보에 대응하는 비밀번호 열의 오프셋 및 구간길이 정보를 상기 이동 단말로 전송하고, 상기 이동 단말로부터 상기 오프셋 및 구간길이 정보에 대한 제1 변수값 및 상기 이동 단말 내에서 산출된 제1 해쉬값을 수신하고, 상기 제1 변수값을 이용하여 자체적으로 제2 해쉬값을 산출하고, 상기 제1 해쉬값과 제2 해쉬값을 비교하여 그 동일 여부에 따라 상기 도어록을 개방하는 도어록 제어부를 포함한다.According to another aspect of the present invention, there is provided a digital door lock for opening a door lock using a mobile terminal, comprising: a door lock communication unit for transmitting and receiving predetermined information to and from the mobile terminal; And transmits the offset and length information of the secret number corresponding to the ID information to the mobile terminal when the mobile terminal is the registered mobile terminal, Variable value and a first hash value calculated in the mobile terminal, calculates a second hash value by itself using the first variable value, compares the first hash value with a second hash value, And a door lock control unit for opening the door lock according to whether the door lock is the same or not.
상기 제어부는, 상기 이동 단말이 미등록된 이동 단말인 경우, 상기 미등록된 이동 단말을 통해 외부에 있는 관리 서버로 상기 미등록된 이동 단말로 미등록된 ID 정보에 대응하는 비밀번호 열의 오프셋 및 구간길이 정보를 전송할 수 있도록 상기 미등록된 이동 단말로 상기 미등록된 ID 정보에 대응하는 비밀번호 열의 오프셋 및 구간길이 정보를 전송하고, 상기 미등록된 이동 단말로부터 상기 미등록된 이동 단말이 상기 관리 서버와 접속하여 수신한 제2 변수값 및 상기 관리 서버 내에서 산출된 제3 해쉬값을 수신하고, 상기 제2 변수값을 이용하여 자체적으로 제4 해쉬값을 산출하고, 상기 제3 해쉬값과 상기 제4 해쉬값을 비교하여 그 동일 여부에 따라 상기 도어록을 개방할 수 있다.If the mobile terminal is an unregistered mobile terminal, the controller transmits the offset and length information of the secret number column corresponding to the unregistered ID information to the unregistered mobile terminal via the unregistered mobile terminal And transmits the offset and length information of the secret number corresponding to the unregistered ID information to the unregistered mobile terminal so that the unregistered mobile terminal transmits the offset and the length information of the unregistered mobile terminal to the second variable And a third hash value calculated in the management server, and calculates a fourth hash value by itself using the second variable value, compares the third hash value with the fourth hash value, The door lock can be opened according to whether or not it is the same.
상술한 본 발명의 일측면에 따르면, 미리 등록된 이동 단말뿐만 아니라 미등록된 이동 단말을 이용하여 디지털 도어록을 개방할 수 있으며, 디지털 도어록을 개방할 때마다 상이한 비밀번호 정보를 이용하여 도어록을 개방함으로써 디지털 도어록의 보안을 강화할 수 있다.According to an aspect of the present invention, a digital door lock can be opened using not only a mobile terminal registered in advance but also an unregistered mobile terminal. By opening the door lock using different password information every time the digital door lock is opened, The security of the door lock can be enhanced.
도 1 은 본 발명의 일 실시예에 따른 디지털 도어록, 이동 단말, 관리 서버를 포함하는 디지털 도어록 시스템을 도시한 도면이다.
도 2 는 도 1 에 도시된 디지털 도어록 시스템이 실제로 적용된 예를 도시한 도면이다.
도 3 은 등록된 이동 단말일 경우에 대한 디지털 도어록 시스템의 플로우 차트를 도시한 도면이다.
도 4 는 미등록된 이동 단말일 경우에 대한 디지털 도어록 시스템의 플로우 차트를 도시한 도면이다.
도 5 는 도 1 에 도시된 디지털 도어록의 블록도이다.
도 6 은 도 5 에 도시된 비밀번호 정보 추출부의 동작 방법을 설명하기 위해 도시한 도면이다.
도 7a 는 본 발명의 일 실시예에 따른 디지털 도어록의 제어방법을 도시한 순서도이다.
도 7b 는 본 발명의 일 실시예에 따른 디지털 도어록의 제어방법을 도시한 순서도이다.
도 8 은 도 1 에 도시된 이동 단말의 블록도이다.
도 9 는 본 발명의 일 실시예에 따른 등록된 이동 단말의 제어방법을 도시한 순서도이다.
도 10 은 본 발명의 일 실시예에 따른 미등록된 이동 단말의 제어방법을 도시한 순서도이다.
도 11 은 도 1 에 도시된 관리 서버의 블록도이다.
도 12 는 본 발명의 일 실시예에 따른 관리 서버의 제어방법을 도시한 순서도이다.1 is a diagram illustrating a digital door lock system including a digital door lock, a mobile terminal, and a management server according to an embodiment of the present invention.
FIG. 2 is a diagram showing an example in which the digital door lock system shown in FIG. 1 is actually applied.
3 is a flowchart illustrating a digital door lock system for a registered mobile terminal.
FIG. 4 is a flowchart illustrating a digital door lock system for an unregistered mobile terminal.
5 is a block diagram of the digital door lock shown in Fig.
6 is a diagram for explaining an operation method of the password information extracting unit shown in FIG.
7A is a flowchart illustrating a method of controlling a digital door lock according to an embodiment of the present invention.
7B is a flowchart illustrating a method of controlling a digital door lock according to an embodiment of the present invention.
8 is a block diagram of the mobile terminal shown in FIG.
9 is a flowchart illustrating a control method of a registered mobile terminal according to an embodiment of the present invention.
10 is a flowchart illustrating a method of controlling an unregistered mobile terminal according to an embodiment of the present invention.
11 is a block diagram of the management server shown in FIG.
12 is a flowchart illustrating a control method of a management server according to an embodiment of the present invention.
후술하는 본 발명에 대한 상세한 설명은, 본 발명이 실시될 수 있는 특정 실시예를 예시로서 도시하는 첨부 도면을 참조한다. 이들 실시예는 당업자가 본 발명을 실시할 수 있기에 충분하도록 상세히 설명된다. 본 발명의 다양한 실시예는 서로 다르지만 상호 배타적일 필요는 없음이 이해되어야 한다. 예를 들어, 여기에 기재되어 있는 특정 형상, 구조 및 특성은 일 실시예와 관련하여 본 발명의 정신 및 범위를 벗어나지 않으면서 다른 실시예로 구현될 수 있다. 또한, 각각의 개시된 실시예 내의 개별 구성요소의 위치 또는 배치는 본 발명의 정신 및 범위를 벗어나지 않으면서 변경될 수 있음이 이해되어야 한다. 따라서, 후술하는 상세한 설명은 한정적인 의미로서 취하려는 것이 아니며, 본 발명의 범위는, 적절하게 설명된다면, 그 청구항들이 주장하는 것과 균등한 모든 범위와 더불어 첨부된 청구항에 의해서만 한정된다. 도면에서 유사한 참조부호는 여러 측면에 걸쳐서 동일하거나 유사한 기능을 지칭한다.The following detailed description of the invention refers to the accompanying drawings, which illustrate, by way of illustration, specific embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention. It should be understood that the various embodiments of the present invention are different, but need not be mutually exclusive. For example, certain features, structures, and characteristics described herein may be implemented in other embodiments without departing from the spirit and scope of the invention in connection with an embodiment. It is also to be understood that the position or arrangement of the individual components within each disclosed embodiment may be varied without departing from the spirit and scope of the invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is to be limited only by the appended claims, along with the full scope of equivalents to which such claims are entitled, if properly explained. In the drawings, like reference numerals refer to the same or similar functions throughout the several views.
이하, 도면들을 참조하여 본 발명의 바람직한 실시예들을 보다 상세하게 설명하기로 한다.Hereinafter, preferred embodiments of the present invention will be described in more detail with reference to the drawings.
도 1 은 본 발명의 일 실시예에 따른 디지털 도어록, 이동 단말, 관리 서버를 포함하는 디지털 도어록 시스템을 도시한 도면이며, 도 2 는 도 1 에 도시된 디지털 도어록 시스템이 실제로 적용된 예를 도시한 도면이다.FIG. 1 is a view illustrating a digital door lock system including a digital door lock, a mobile terminal and a management server according to an embodiment of the present invention. FIG. 2 is a diagram illustrating an example in which the digital door lock system shown in FIG. to be.
디지털 도어록 시스템(1)은 디지털 도어록(100), 이동 단말(200) 및 관리 서버(300)를 포함할 수 있다.The digital
디지털 도어록(100)은 가정용 주택 또는 사무실 등의 도어에 설치되어 도어의 개방하거나 잠글 수 있으며, 본 발명의 일 실시예에 따른 디지털 도어록(100)은 스마트폰 또는 휴대폰과 같은 이동 단말을 통해 도어의 개폐가 가능하다.The
디지털 도어록(100)은 이동 단말(200)과 와이파이(WiFi), 지그비(Zigbee), 블루투스(Bluetooth), NFC(Near Field Communication)와 같은 근거리 무선 통신을 수행할 수 있으며, 도 2 와 같이, NFC를 통해 이동 단말(200)과 정보를 송수신할 경우 디지털 도어록(100) 전면에 구비된 NFC 통신부(10)에 이동 단말(200)을 접촉하여 정보를 송수신할 수 있다.The
디지털 도어록(100)은 이동 단말(200)로부터 이동 단말(200)의 고유 정보인 ID 정보를 수신할 수 있으며, 수신한 ID 정보를 이용하여 이동 단말(200)이 이동 단말(200)만으로 디지털 도어록(100)을 개폐할 수 있는 등록된 이동 단말(200)인지 여부를 확인할 수 있다. 이때, 이동 단말(200)이 등록된 이동 단말(200)일 경우, 디지털 도어록(100)은 내부에 저장되어 있는 복수 개의 비밀번호 정보 중 수신한 ID 정보에 대응하는 비밀번호 정보를 탐색하여 이동 단말(200)로 전송할 수 있다. 이때, 비밀번호 정보는 N바이트 비밀번호 열의 오프셋(L) 및 구간길이(n) 정보를 포함할 수 있다. 디지털 도어록(100)은 이동 단말(200)로부터 전송한 비밀번호 정보에 대한 변수값 및 해쉬값 정보를 수신할 수 있다. 디지털 도어록(100)은 이동 단말(200)로부터 변수값을 수신한 후, 이동 단말(200)로부터 수신한 ID 정보에 대응하는 비밀번호 정보에 수신한 변수값을 적용하여 해쉬값을 산출할 수 있다. 디지털 도어록(100)은 이동 단말(200)로부터 수신한 해쉬값과 자체적으로 산출한 해쉬값을 비교하여 그 값이 동일하면 도어록을 개방하고, 그 값이 동일하지 않으면 도어록을 개방하지 않도록 제어할 수 있다.The
디지털 도어록(100)은 이동 단말(200)이 미등록된 이동 단말(200)일 경우, 내부에 미리 저장되어 있는 복수 개의 비밀번호 정보 중 미등록 ID 정보에 대응하는 비밀번호 정보를 추출할 수 있다. 디지털 도어록(100)은 이동 단말(200)을 통해 추출한 비밀번호 정보를 관리 서버(300)로 전송할 수 있도록 추출한 비밀번호 정보를 이동 단말(200)로 전송할 수 있다. 이때, 비밀번호 정보는 N바이트 비밀번호 열의 오프셋(L) 및 구간길이(n) 정보를 포함할 수 있다. 디지털 도어록(100)은 관리 서버(300) 내에서 산출된 변수값 및 해쉬값 정보를 이동 단말(200)를 통해 수신할 수 있다. 디지털 도어록(100)은 이동 단말을 통해 변수값 정보를 수신한 후, 미등록 ID 정보에 대응하는 비밀번호 정보에 수신한 변수값을 적용하여 해쉬값을 산출할 수 있다. 디지털 도어록(100)은 관리 서버(300)내에서 산출된 해쉬값과 자체적으로 산출한 해쉬값을 비교하여 그 값이 동일하면 도어록을 개방하고, 그 값이 동일하지 않으면 도어록을 개방하지 않도록 제어할 수 있다. 이때, 이동 단말(200)과 관리 서버(300)는 통신망을 통해 정보를 송수신할 수 있으며, 이때 통신망은 대용량, 장거리 음성/데이터 서비스가 가능한 통신망의 고속 기간망으로서, 예컨대 일반적인 인터넷 네트워크가 될 수 있다. 또한, 통신망은 ALL-IP(ALL Internet Protocol) 기반의 고속의 멀티미디어 서비스를 제공하기 위한 차세대 유선망으로 시스템 상호간의 신호 및 데이터 송수신을 매개하는 역할을 수행할 수 있다.The
구체적인 본 발명의 일 실시예에 따른 등록된 이동 단말일 경우에 대한 디지털 도어록 시스템에 대한 디지털 도어록 제어 방식은 도 3 과 같다.A digital door lock control method for a digital door lock system in the case of a registered mobile terminal according to an embodiment of the present invention is shown in FIG.
이동 단말(200)을 이용하여 디지털 도어록(100)을 개방하려고 할 때, 이동 단말(200)에 미리 설치된 도어록 제어 애플리케이션을 실행할 수 있다. 이러한 도어록 제어 애플리케이션은 디지털 도어록(100)에 일정 거리 범위 내에 이동 단말(200)이 들어가면 자동으로 실행되거나, 사용자의 실행 명령에 의해 실행될 수 있다. A door lock control application installed in advance in the
도어록 제어 애플리케이션을 실행한 이동 단말(200)은 자신의 전화번호 정보, 소지자의 신상 정보 등과 같은 이동 단말(200) 고유 정보를 포함하는 ID 정보를 디지털 도어록(100)으로 전송할 수 있다.The
이동 단말(200)로부터 ID 정보를 수신한 디지털 도어록(100)은 수신한 ID 정보와 등록된 ID 정보로 분류되어 저장되어 있는 등록 ID 데이터를 비교하여 이동 단말(200)로부터 수신한 ID 정보가 등록된 ID 정보인지를 확인할 수 있다. Upon receiving the ID information from the
이때, 이동 단말(200)로부터 수신한 ID 정보가 등록된 ID 정보이면, ID 별로 비밀번호 열이 분류되어 있는 비밀번호 열 데이터와 이동 단말(200)로부터 수신한 ID 정보를 비교하여 이동 단말(200)로부터 수신한 ID 정보에 대응하는 비밀번호 열을 추출할 수 있다.At this time, if the ID information received from the
디지털 도어록(100)은 추출한 비밀번호 열에서 해쉬값을 산출하는데 필요한 소정의 비밀번호 열을 추출하기 위해 추출한 비밀번호 열에서 추출하려는 소정의 비밀번호 열에 대한 임의의 오프셋(L) 및 구간길이(n) 정보를 생성할 수 있다. 디지털 도어록(100)은 생성한 임의의 오프셋(L) 및 구간길이(n) 정보를 이동 단말(200)로 전송할 수 있다.The
이동 단말(200)은 디지털 도어록(100)으로부터 임의의 오프셋(L) 및 구간길이(n) 정보가 수신되면, 내부에 미리 저장되어 있는 비밀번호 열에서 디지털 도어록(100)으로부터 수신한 임의의 오프셋(L) 및 구간길이(n) 정보에 해당하는 소정의 비밀번호 열을 추출할 수 있다.When the
이동 단말(200)은 추출한 소정의 비밀번호 열에 이동 단말(200) 내에서 임의로 생성한 제1 변수값을 적용하여 해쉬 함수를 통해 제1 해쉬값을 산출할 수 있다. 이동 단말(200)은 임의로 생성한 제1 변수값 및 산출한 제1 해쉬값 정보를 디지털 도어록(100)으로 전송할 수 있다.The
디지털 도어록(100)은 이동 단말(200)로부터 제1 변수값 및 제1 해쉬값 정보를 수신하고, 이동 단말(200)로부터 수신한 ID 정보에 대응하는 비밀번호 열에서 생성한 임의의 오프셋(L) 및 구간길이(n) 정보에 해당하는 소정의 비밀번호 열을 추출하고, 추출한 소정의 비밀번호 열에 이동 단말(200)로부터 수신한 제1 변수값을 적용하여 해쉬 함수를 통해 제2 해쉬값을 산출할 수 있다.The
디지털 도어록(100)은 이동 단말(200)로부터 수신한 제1 해쉬값과 디지털 도어록(100) 자체적으로 산출한 제2 해쉬값을 비교하여 그 동일 여부에 따라 도어록을 개방하거나 개방하지 않을 수 있다.The
구체적인 본 발명의 일 실시예에 따른 미등록된 이동 단말일 경우에 대한 디지털 도어록 시스템에 대한 디지털 도어록 제어 방식은 도 4 와 같다.A digital door lock control method for a digital door lock system in the case of an unregistered mobile terminal according to an embodiment of the present invention is shown in FIG.
이동 단말(200)을 이용하여 디지털 도어록(100)을 개방하려고 할 때, 이동 단말(200)에 미리 설치된 도어록 제어 애플리케이션을 실행할 수 있다. 이러한 도어록 제어 애플리케이션은 디지털 도어록(100)에 일정 거리 범위 내에 이동 단말(200)이 들어가면 자동으로 실행되거나, 사용자의 실행 명령에 의해 실행될 수 있다. A door lock control application installed in advance in the
도어록 제어 애플리케이션을 실행한 이동 단말(200)은 자신의 전화번호 정보, 소지자의 신상 정보 등과 같은 이동 단말(200) 고유 정보를 포함하는 ID 정보를 디지털 도어록(100)으로 전송할 수 있다.The
이동 단말(200)로부터 ID 정보를 수신한 디지털 도어록(100)은 수신한 ID 정보와 등록된 ID 정보로 분류되어 저장되어 있는 등록 ID 데이터를 비교하여 이동 단말(200)로부터 수신한 ID 정보가 등록된 ID 정보인지를 확인할 수 있다. Upon receiving the ID information from the
이때, 이동 단말(200)로부터 수신한 ID 정보가 미등록된 ID 정보이면, 미등록 ID 정보에 대응하는 비밀번호 열을 추출할 수 있다.At this time, if the ID information received from the
디지털 도어록(100)은 추출한 비밀번호 열에서 해쉬값을 산출하는데 필요한 소정의 비밀번호 열을 추출하기 위해 추출한 비밀번호 열에서 추출하려는 소정의 비밀번호 열에 대한 임의의 오프셋(L) 및 구간길이(n) 정보를 생성할 수 있다. 디지털 도어록(100)은 생성한 임의의 오프셋(L) 및 구간길이(n) 정보를 이동 단말(200)을 통해 관리 서버(300)로 전송할 수 있도록 생성한 임의의 오프셋(L) 및 구간길이(n) 정보를 이동 단말(200)로 전송할 수 있다.The
이동 단말(200)은 디지털 도어록(100)으로부터 임의의 오프셋(L) 및 구간길이(n) 정보를 수신하면, 관리자로부터 미리 발급받은 임시 비밀번호를 이용하여 관리 서버(300)에 접속할 수 있다.The
이동 단말(200)은 디지털 도어록(100)으로부터 수신한 임의의 오프셋(L) 및 구간길이(n) 정보를 관리 서버(300)로 전송할 수 있다.The
관리 서버(300)는 이동 단말(200)으로부터 임의의 오프셋(L) 및 구간길이(n) 정보가 수신되면, 내부에 미등록 비밀번호 열로 분류되어 저장된 비밀번호 열에서 디지털 도어록(100)으로부터 수신한 임의의 오프셋(L) 및 구간길이(n) 정보에 해당하는 소정의 비밀번호 열을 추출할 수 있다.When the arbitrary offset L and the section length n information are received from the
관리 서버(300)는 추출한 소정의 비밀번호 열에 관리 서버(300) 내에서 임의로 생성한 제2 변수값을 적용하여 해쉬 함수를 통해 제3 해쉬값을 산출할 수 있다. 관리 서버(300)는 임의로 생성한 제2 변수값 및 산출한 제3 해쉬값 정보를 이동 단말(200)로 전송할 수 있다.The
이동 단말(200)은 관리 서버(300)로부터 제2 변수값 및 제3 해쉬값 정보를 수신하고, 수신한 제2 변수값 및 제3 해쉬값 정보를 디지털 도어록(100)으로 전송할 수 있다.The
디지털 도어록(100)은 이동 단말(200)로부터 제2 변수값 및 제3 해쉬값 정보를 수신하고, 미등록된 ID 정보에 대응하는 비밀번호 열에서 생성한 임의의 오프셋(L) 및 구간길이(n) 정보에 해당하는 소정의 비밀번호 열을 추출하고, 추출한 소정의 비밀번호 열에 이동 단말(200)로부터 수신한 제2 변수값을 적용하여 해쉬 함수를 통해 제4 해쉬값을 산출할 수 있다.The
디지털 도어록(100)은 이동 단말(200)로부터 수신한 제3 해쉬값과 디지털 도어록(100) 자체적으로 산출한 제4 해쉬값을 비교하여 그 동일 여부에 따라 도어록을 개방하거나 개방하지 않을 수 있다.The
도 5 는 도 1 에 도시된 디지털 도어록의 블록도이며, 도 6 은 도 5 에 도시된 비밀번호 정보 추출부의 동작 방법을 설명하기 위해 도시한 도면이다.FIG. 5 is a block diagram of the digital door lock shown in FIG. 1, and FIG. 6 is a diagram illustrating an operation method of the password information extracting unit shown in FIG.
도 5 를 참조하면, 본 발명의 일 실시예에 따른 디지털 도어록(100)은 도어록 통신부(110), 도어록 제어부(120) 및 도어록 메모리부(130)를 포함할 수 있다.5, the
도어록 통신부(110)는 이동 단말(200)과의 근거리 무선 통신을 수행하게 하는 하나 이상의 구성요소를 포함할 수 있다.The door
본 발명의 일 실시예에 따른 도어록 통신부(110)는 근거리 무선 통신을 통해 이동 단말(200)로부터 ID 정보, 변수값 및 해쉬값 정보를 수신할 수 있으며, 이동 단말로 오프셋(L) 및 구간길이(n) 정보를 포함하는 비밀번호 정보를 전송할 수 있다.The door
도어록 제어부(120)는 이동 단말 인증부(121), 비밀번호 정보 추출부(122), 도어록 해쉬값 산출부(123) 및 개폐부(124)를 포함할 수 있다.The door
이동 단말 인증부(121)는 디지털 도어록(100)을 개방하려고 하는 이동 단말(200)이 등록된 이동 단말인지 여부를 확인하여 인증할 수 있다.The mobile
구체적으로, 이동 단말 인증부(121)는 이동 단말(200)로부터 수신한 ID 정보와 도어록 메모리부(130)에 등록된 ID가 분류되어 있는 등록 ID 데이터를 비교하여 이동 단말(200)로부터 수신한 ID 정보가 등록된 ID 인지 여부를 확인할 수 있다. 이동 단말 인증부(121)는 이동 단말(200)로부터 수신한 ID 정보가 등록된 ID 정보이면, 디지털 도어록(100)을 개방하려고 하는 이동 단말(200)을 등록된 이동 단말(200)로 인증할 수 있으며, 이동 단말(200)로부터 수신한 ID 정보가 미등록된 ID 정보이면, 디지털 도어록(100)을 개방하려고 하는 이동 단말(200)을 미등록된 이동 단말(200)로 인증할 수 있다.Specifically, the mobile
비밀번호 정보 추출부(122)는 디지털 도어록(100)을 개방하려고 하는 이동 단말(200)로 전송할 비밀번호 정보를 추출할 수 있다. 비밀번호 정보 추출부(122)는 디지털 도어록(100)을 개방하려고 하는 이동 단말(200)이 등록된 이동 단말인지 미등록된 이동 단말인지 여부에 따라 다른 비밀번호 정보를 추출할 수 있다.The password
구체적으로, 비밀번호 정보 추출부(122)는 이동 단말 인증부(121)를 통해 디지털 도어록(100)을 개방하려고 하는 이동 단말(200)이 등록된 이동 단말(200)로 인증되면, 이동 단말(200)로부터 수신한 ID 정보와 ID 별로 비밀번호 열이 분류되어 있는 ID 별 비밀번호 열 데이터를 비교하여 이동 단말(200)로부터 수신한 ID 정보에 대응하는 비밀번호 열을 검색할 수 있다. 비밀번호 정보 추출부(122)는 검색된 비밀번호 열과 관련된 해쉬값을 이용하여 도어록을 개방할 수 있도록 검색된 비밀번호 열에서 해쉬값을 산출하기 위해 필요한 오프셋(L) 및 구간길이(n) 정보를 생성할 수 있다. 이때, 비밀번호 열은 미리 정해진 바이트 이상의 바이트를 갖는 열을 의미할 수 있으며, 오프셋(L)은 비밀번호 열의 시작인 0바이트로부터의 거리를 의미할 수 있으며, 구간길이(n)은 오프셋(L)로부터의 필요한 바이트의 수를 의미할 수 있다. 비밀번호 정보 추출부(122)는 생성한 오프셋(L) 및 구간길이(n) 정보를 이동 단말(200)로 전송하도록 제어할 수 있으며, 이동 단말(200)로 생성한 오프셋(L) 및 구간길이(n) 정보를 전송한 후 바로 이동 단말(200)로 생성한 오프셋(L) 및 구간길이(n) 정보를 전송한 시점부터 이동 단말(200)로부터 전송한 오프셋(L) 및 구간길이(n) 정보와 관련된 정보가 수신될 때까지의 시간을 측정하는 타이머를 구동시킬 수 있다. 도 6 을 참조하면, 비밀번호 정보 추출부(122)는 검색된 비밀번호 열에서 오프셋(L)로부터 수신된 구간길이(n)에 해당하는 바이트(L+n-1)까지의 비밀번호 열을 추출할 수 있다.The
비밀번호 정보 추출부(122)는 이동 단말 인증부(121)를 의해 디지털 도어록(100)을 개방하려고 하는 이동 단말(200)이 미등록된 이동 단말(200)로 인증되면, 미등록 비밀번호 열로 분류되어 있는 비밀번호 열을 검색할 수 있다. 비밀번호 정보 추출부(122)는 검색된 비밀번호 열과 관련된 해쉬값을 이용하여 도어록을 개방할 수 있도록 검색된 비밀번호 열에서 해쉬값을 산출하기 위해 필요한 오프셋(L) 및 구간길이(n) 정보를 생성할 수 있다. 비밀번호 정보 추출부(122)는 생성한 오프셋(L) 및 구간길이(n) 정보를 이동 단말(200)로 전송하도록 제어할 수 있으며, 이동 단말(200)로 생성한 오프셋(L) 및 구간길이(n) 정보를 전송한 후 바로 이동 단말(200)로 생성한 오프셋(L) 및 구간길이(n) 정보를 전송한 시점부터 이동 단말(200)로부터 전송한 오프셋(L) 및 구간길이(n) 정보와 관련된 정보가 수신될 때까지의 시간을 측정하는 타이머를 구동시킬 수 있다. 비밀번호 정보 추출부(122)는 검색된 비밀번호 열에서 오프셋(L)로부터 수신된 구간길이(n)에 해당하는 바이트(L+n-1)까지의 비밀번호 열을 추출할 수 있다.When the
본 발명의 일 실시예에 따른 비밀번호 정보 추출부(122)는 이동 단말(200)을 이용하여 디지털 도어록(100)을 개방할 때마다 각각 다른 오프셋(L) 및 구간길이(n) 정보 또는 각각 다른 비밀번호 열을 사용할 수 있다.The password
구체적으로, 비밀번호 정보 추출부(122)는 이동 단말 ID 별로 디지털 도어록(100)을 개방할 때마다 생성된 오프셋(L) 및 구간길이(n) 정보를 저장할 수 있다. 비밀번호 정보 추출부(122)는 이동 단말 인증부(121)에 의해 디지털 도어록(100)을 개방하려고 하는 이동 단말(200)이 등록된 이동 단말(200)로 인증되면, 해당 이동 단말(200)의 ID 별로 저장되어 있는 정보를 확인하여 이전에 사용된 오프셋(L) 및 구간길이(n) 정보를 확인할 수 있다. 비밀번호 정보 추출부(122)는 이전에 사용된 오프셋(L) 및 구간길이(n) 정보를 확인한 후, 이전에 사용된 오프셋(L) 및 구간길이(n) 정보와 상이한 오프셋(L) 및 구간길이(n) 정보를 생성할 수 있다. 비밀번호 정보 추출부(122)는 이동 단말 인증부(121)에 의해 디지털 도어록(100)을 개방하려고 하는 이동 단말(200)이 미등록된 이동 단말(200)로 인증되면, 도어록 메모리부(130)에 저장되어 있는 복수 개의 미등록 비밀번호 열 중 미리 정해진 추출패턴에 따라 이전에 사용했던 비밀번호 열과 배열 및 길이가 상이한 비밀번호 열을 추출할 수 있다. 이때, 미리 정해진 추출패턴은 미등록된 이동 단말(200)을 이용하여 디지털 도어록(100)을 개방할 때마다 개방하는 순서에 따라 순차적으로 비밀번호 열을 추출하는 패턴일 수 있으며, 미등록 비밀번호 열이 날짜 및 시간대에 따라 분류되어 있어 미등록된 이동 단말(200)을 이용하여 디지털 도어록(100)을 개방할 때 개방하는 일시를 확인하여 확인한 일시에 대응하는 비밀번호 열을 추출하는 패턴일 수 있으며, 미리 정해진 추출패턴은 상술한 방식 외에 이전에 사용했던 비밀번호 열과 상이한 비밀번호 열을 추출할 수 있는 방식이라면 적용될 수 있음은 물론이다.Specifically, the password
도어록 해쉬값 산출부(123)는 비밀번호 정보 추출부(122)에 의해 추출된 소정의 비밀번호 열에 대한 해쉬값을 산출할 수 있다.The door lock hash
구체적으로, 도어록 해쉬값 산출부(123)는 이동 단말 인증부(121)에 의해 등록된 이동 단말(200)로 인증된 이동 단말(200)에 있어서, 도어록 해쉬값 산출부(123)는 이동 단말(200)로부터 비밀번호 정보 추출부에 의해 추출된 소정의 비밀번호 열과 관련하여 생성된 제1 변수값을 수신할 수 있다. 이때, 도어록 해쉬값 산출부(123)는 이동 단말(200)로부터 제1 변수값이 수신되면 타이머를 중지할 수 있으며, 미리 정해진 시간 이상 이동 단말(200)로부터 제1 변수값이 수신되지 않으면 디지털 도어록(100)이 이동 단말(200)로부터 ID 정보를 받기 전의 초기 상태로 돌아가도록 제어할 수 있다. 도어록 해쉬값 산출부(123)는 비밀번호 정보 추출부에 의해 추출된 소정의 비밀번호 열에 이동 단말(200)로부터 수신한 제1 변수값을 적용하여 해쉬 함수를 통해 제2 해쉬값을 생성할 수 있다.Specifically, the door lock hash
도어록 해쉬값 산출부(123)는 이동 단말 인증부(121)에 의해 미등록된 이동 단말(200)로 인증된 이동 단말(200)에 있어서, 도어록 해쉬값 산출부(123)는 이동 단말(200)로부터 관리 서버에 의해 소정의 비밀번호 열과 관련하여 생성된 제2 변수값을 수신할 수 있다. 이때, 도어록 해쉬값 산출부(123)는 이동 단말(200)로부터 제2 변수값이 수신되면 타이머를 중지할 수 있으며, 미리 정해진 시간 이상 이동 단말(200)로부터 제2 변수값이 수신되지 않으면 디지털 도어록(100)이 이동 단말(200)로부터 ID 정보를 받기 전의 초기 상태로 돌아가도록 제어할 수 있다. 도어록 해쉬값 산출부(123)는 비밀번호 정보 추출부에 의해 추출된 소정의 비밀번호 열에 이동 단말(200)로부터 수신한 제2 변수값을 적용하여 해쉬 함수를 통해 제4 해쉬값을 생성할 수 있다.The door lock hash
개폐부(124)는 디지털 도어록(100)에서 자체적으로 산출된 정보와 이동 단말(200) 내에서 산출된 정보와의 동일 여부에 따라 디지털 도어록(100)의 개폐를 제어할 수 있다.The opening and closing
구체적으로, 개폐부(124)는 이동 단말 인증부(121)에 의해 등록된 이동 단말(200)로 인증된 이동 단말(200)에 있어서, 이동 단말(200)로부터 수신한 제1 해쉬값과 도어록 해쉬값 산출부(123)에 의해 산출된 제2 해쉬값을 비교할 수 있다. 개폐부(124)는 제1 해쉬값과 제2 해쉬값이 동일하면 디지털 도어록(100)을 개방할 수 있으며, 제1 해쉬값과 제2 해쉬값이 동일하지 않으면 디지털 도어록(100)을 개방하지 않고, 알림 신호를 출력하도록 제어할 수 있다.Specifically, the opening /
개폐부는 이동 단말 인증부(121)에 의해 미등록된 이동 단말(200)로 인증된 이동 단말(200)에 있어서, 이동 단말(200)로부터 수신한, 관리 서버(300)에 의해 산출된 제3 해쉬값과 도어록 해쉬값 산출부(123)에 의해 산출된 제4 해쉬값을 비교할 수 있다. 개폐부(124)는 제3 해쉬값과 제4 해쉬값이 동일하면 디지털 도어록(100)을 개방할 수 있으며, 제3 해쉬값과 제4 해쉬값이 동일하지 않으면 디지털 도어록(100)을 개방하지 않고, 알림 신호를 출력하도록 제어할 수 있다.The
도어록 메모리부(130)는 도어록 제어부(120)의 처리 및 제어를 위한 프로그램을 저장할 수 있으며, 입/출력되는 데이터들의 임시 저장을 위한 기능을 수행할 수 있다.The door
본 발명의 일 실시예에 따른 도어록 메모리부(130)는 미리 등록되어 있는 ID 정보를 저장할 수 있으며, 등록된 ID 와 미등록된 ID 별로 분류되어 있는 복수 개의 비밀번호 열 데이터를 저장할 수 있다.The door
도 7a 는 등록된 이동 단말을 이용하여 디지털 도어록을 개방하는 디지털 도어록의 제어방법을 도시한 순서도이며, 도 7b 는 미등록된 이동 단말을 이용하여 디지털 도어록을 개방하는 디지털 도어록의 제어방법을 도시한 순서도이다.FIG. 7A is a flowchart illustrating a method of controlling a digital door lock using a registered mobile terminal, FIG. 7B is a flowchart illustrating a control method of a digital door lock using a non-registered mobile terminal to open a digital door lock, to be.
도 7a 를 참조하면, 이동 단말(200)로부터 ID 정보를 수신한다(410).Referring to FIG. 7A, ID information is received from the mobile terminal 200 (410).
이때, 디지털 도어록(100)은 근거리 무선 통신을 이용하여 이동 단말(200)과 통신할 수 있으며, 본 발명의 일 실시예에 따른 디지털 도어록(100)은 디지털 도어록(100) 전면에 구비된 NFC 통신부(10)에 이동 단말(200)이 접촉됨으로써 이동 단말(200)과 통신할 수 있다.In this case, the
이동 단말(200)로부터 ID 정보를 수신하면, 수신한 ID 정보와 미리 저장된 등록 ID 데이터와 비교하여 수신한 ID 정보가 등록된 ID 인지를 검출한다(420).Upon receiving the ID information from the
이때, 수신된 ID 정보가 등록된 ID이면(420), 수신한 ID 정보에 대응하는 비밀번호 열을 추출한다(430).At this time, if the received ID information is the registered ID (420), the password string corresponding to the received ID information is extracted (430).
추출한 비밀번호 열에서 디지털 도어록(100) 개방하는데 필요한 해쉬값을 산출하기 위해 필요한 소정의 비밀번호 열을 추출하기 위해, 추출한 비밀번호 열에 대한 오프셋(L) 및 구간길이(n) 정보를 생성하여 이동 단말(200)로 전송한다(440).(L) and section length (n) information for the extracted secret code string to extract a predetermined secret code sequence required for calculating the hash value required to open the digital door lock (100) in the extracted secret code sequence, (440).
또한, 이동 단말(200)로부터 전송한 오프셋(L) 및 구간길이(n) 정보에 관련하여 생성된 제1 변수값 및 제1 해쉬값 정보를 수신(450)하고, 추출한 비밀번호 열에서 생성한 오프셋(L) 및 구간길이(n) 정보에 해당하는 소정의 비밀번호 열에 수신한 제1 변수값을 적용하여 해쉬 함수를 통해 제2 해쉬값을 산출한다(460).The first parameter value and the first hash value information generated in association with the offset L and the section length n information transmitted from the
이때, 수신한 제1 해쉬값과 디지털 도어록(100) 내에서 산출한 제2 해쉬값을 비교(470)하고, 제1 해쉬값과 제2 해쉬값이 동일하면 디지털 도어록(100)을 개방하도록 제어(480)하고, 제1 해쉬값과 제2 해쉬값이 동일하지 않으면 알림 신호를 출력하도록 제어한다(490).At this time, the received first hash value is compared with the second hash value calculated in the digital door lock 100 (step 470). If the first hash value and the second hash value are the same, the
도 7b 를 참조하면, 이동 단말(200)로부터 수신한 ID 정보가 미등록된 ID이면(420), 미등록 ID에 해당하는 비밀번호 열을 추출(510)하고, 추출한 비밀번호 열에서 디지털 도어록(100) 개방하는데 필요한 해쉬값을 산출하기 위해 필요한 소정의 비밀번호 열을 추출하기 위해, 추출한 비밀번호 열에 대한 오프셋(L) 및 구간길이(n) 정보를 생성하여 이동 단말(200)로 전송한다(520).7B, if the ID information received from the
또한, 이동 단말(200)로부터 전송한 오프셋(L) 및 구간길이(n) 정보에 관련하여 관리 서버(300)에 의해 생성된 제2 변수값 및 제3 해쉬값 정보를 수신(530)하고, 추출한 비밀번호 열에서 생성한 오프셋(L) 및 구간길이(n) 정보에 해당하는 소정의 비밀번호 열에 수신한 제2 변수값을 적용하여 해쉬 함수를 통해 제4 해쉬값을 산출한다(540).The
이때, 수신한 제3 해쉬값과 디지털 도어록(100) 내에서 산출한 제4 해쉬값을 비교(550)하고, 제3 해쉬값과 제4 해쉬값이 동일하면 디지털 도어록(100)을 개방하도록 제어(560)하고, 제3 해쉬값과 제4 해쉬값이 동일하지 않으면 알림 신호를 출력하도록 제어한다(570).At this time, the received third hash value is compared with the fourth hash value calculated in the
도 8 은 도 1 에 도시된 이동 단말의 블록도이다.8 is a block diagram of the mobile terminal shown in FIG.
본 발명의 일 실시예에 따른 이동 단말(200)은 이동 단말 통신부(210), 사용자 입력부(220), 센싱부(230), 이동 단말 출력부(240), 이동 단말 메모리부(250), 인터페이스부(260), 이동 단말 제어부(270) 및 전원 공급부(280)를 포함할 수 있다.The
이동 단말 통신부(210)는 이동 단말(200)과 관리 서버(300) 간의 무선 통신 또는 디지털 도어록(100)과의 근거리 무선 통신을 수행하게 하는 하나 이상의 구성요소를 포함할 수 있다.The
예를 들면, 이동 단말 통신부(210)는 이동 통신 모듈(211), 무선 인터넷 모듈(212), 근거리 통신 모듈(213) 및 위치정보 모듈(214)을 포함할 수 있다.For example, the
이동 통신 모듈(211)은 이동 통신망 상에서 기지국, 외부의 단말, 서버 중 적어도 하나의 무선 신호를 송수신한다. 여기서, 무선 신호는 음성 호 신호, 화상 통화 호 신호 또는 문자/멀티미디어 메시지 송수신에 따른 다양한 형태의 데이터를 포함할 수 있다.The
무선 인터넷 모듈(212)은 무선 인터넷 접속을 위한 모듈이다. 무선 인터넷 모듈(212)은 내장되거나 외장될 수 있다. 이러한 무선 인터넷 모듈(212)은 관리 서버(300)로 디지털 도어록(100)으로부터 수신한 비밀번호 정보를 전송하고, 이에 응답한 변수값 및 해쉬값을 관리 서버(300)로부터 수신할 수 있다.The
근거리 통신 모듈(213)은 근거리 통신을 위한 모듈이다. 근거리 통신 기술은 블루투스(Bluetooth), RFID(Radio Frequency Identification), 적외선 통신(IrDA, Infrared Data Association), UWB(Ultra Wideband), Zigbee 통신을 포함할 수 있다.The short-
이러한 근거리 통신 모듈(213)은 디지털 도어록(100)과 통신하여 ID 정보를 디지털 도어록(100)으로 전송할 수 있으며, 디지털 도어록(100)으로부터 비밀번호 정보를 수신할 수 있다.The local
위치정보 모듈(214)은 이동 단말(200)의 위치를 확인하거나 이를 얻기 위한 모듈이다. 일예로 GPS(Global Position System) 모듈이 있다. GPS 모듈은 복수 개의 인공위성으로부터 위치 정보를 수신한다. 위치 정보는 위도 및 경도로 표시되는 좌표 정보를 포함할 수 있다. 예를 들어, GPS 모듈은 3 개 이상의 위성으로부터 정확한 시간과 거리를 측정하여 3개의 각각 다른 거리를 삼각 방법에 따라서 현 위치를 정확히 계산할 수 있다. 3개의 위성으로부터 거리와 시간 정보를 얻고 1개 위성으로 오차를 수정하는 방법이 사용될 수 있다. 특히, GPS 모듈은 위성으로부터 수신한 위치 정보로부터 위도, 경도, 고도뿐만 아니라 3차원의 속도 정보와 함께 정확한 시간까지 얻을 수 있다.The
사용자 입력부(220)는 사용자가 단말기의 동작 제어를 위한 입력 데이터를 발생시킨다. 사용자 입력부(220)는 키 패드, 돔 스위치, 터치 패드, 조그 휠, 조그 스위치 등으로 구성될 수 있다. 특히, 터치 패드가 후술하는 디스플레이부(141)와 상호 레이어 구조를 이룰 경우, 이를 터치 스크린이라 부를 수 있다.The
센싱부(230)는 이동 단말(200)의 개폐 상태, 이동 단말(200)의 위치, 사용자 접촉 유무, 이동 단말(200)의 방위, 이동 단말(200)의 가속/감속 등과 같이 이동 단말(200)의 현 상태를 감지하여 이동 단말(200)의 동작을 제어하기 위한 생성 신호를 발생시킨다. 예를 들어, 이동 단말(200)이 슬라이드 폰 형태인 경우에는 슬라이드 폰의 개폐 여부를 센싱할 수 있다. 또한, 전원 공급부(280)의 전원 공급 여부, 인터페이스부(160)의 외부 기기 결합 여부 등과 관련된 센싱 기능을 담당할 수 있다.The
이동 단말 출력부(240)는 오디오 신호 또는 비디오 신호 또는 알람 신호의 출력을 위한 것으로, 이에는 디스플레이부(241), 음향 출력 모듈(242) 등이 포함될 수 있다.The mobile
디스플레이부(241)는 이동 단말(200)에서 처리되는 정보를 표시 출력할 수 있다. 본 발명의 일 실시예에 따른 디스플레이부(241)는 도어록 제어 애플리케이션에서 표시하는 화면을 출력할 수 있으며, 디지털 도어록(100)에 의해 도어록 개방이 차단되었을 때 도어록 개방에 실패했다는 메시지를 포함하는 알림 메시지를 출력할 수 있다.The
음향 출력 모듈(242)은 호신호 수신, 통화모드 또는 녹음 모드, 음성인식 모드, 콘텐츠 수신 모드 등에서 이동 단말 통신부(210)로부터 수신되거나 이동 단말 메모리부(250)에 저장된 오디오 데이터를 출력할 수 있다. 본 발명의 일 실시예에 따른 음향 출력 모듈(242)은 디지털 도어록(100)에 의해 도어록 개방이 차단되었을 때 도어록 개방에 실패했다는 알림 신호를 출력할 수 있다.The
이동 단말 메모리부(250)는 이동 단말 제어부(270)의 처리 및 제어를 위한 프로그램을 저장할 수 있으며, 입/출력되는 데이터들의 임시 저장을 위한 기능을 수행할 수 있다. 본 발명의 일 실시예에 따른 이동 단말 메모리부(250)는 이동 단말(200)의 ID 정보, 비밀번호 열 정보 등을 저장할 수 있다.The mobile
인터페이스부(260)는 이동 단말(200)에 연결되는 모든 외부기기와의 인터페이스 역할을 한다. 예를 들어, 유/무선 헤드셋 포트, 외부 충전지 포트, 유/무선 데이터 포트, 메모리 카드 포트, 식별 모듈이 구비된 장치를 연결하는 포트, 오디오 I/O(Input/Output)포트, 비디오 I/O(Input/Output)포트, 이어폰 포트 등이 포함될 수 있다.The
여기서, 식별 모듈은 이동 단말(200)의 사용 권한을 인증하기 위한 각종 정보를 저장하기 위한 칩으로서 사용자 인증 모듈, 가입자 인증 모듈, 범용 사용자 인증 모듈 등을 포함할 수 있다. 식별 모듈이 구비된 장치는 스마트 카드 형식으로 제작될 수 있다.Here, the identification module may include a user authentication module, a subscriber authentication module, a general-purpose user authentication module, and the like as chips for storing various information for authenticating the usage right of the
이동 단말 제어부(270)는 이동 단말(200)의 전반적인 동작을 제어할 수 있으며, 이동 단말 해쉬값 산출부(271)를 포함할 수 있다.The mobile
이동 단말 해쉬값 산출부(271)는 디지털 도어록(100)으로부터 수신된 비밀번호 정보를 이용하여 해쉬값을 산출할 수 있다.The mobile terminal
구체적으로, 이동 단말 해쉬값 산출부(271)는 디지털 도어록(100)에 의해 등록된 이동 단말(200)로 인증되었을 경우, 디지털 도어록(100)으로부터 이동 단말 ID 정보에 대응하는 비밀번호 열에 대한 오프셋(L) 및 구간길이(n) 정보를 수신하고, 이동 단말 메모리부(250)에 저장되어 있는 비밀번호 열에서 수신한 오프셋(L) 및 구간길이(n) 정보에 해당하는 소정의 비밀번호 열을 추출할 수 있다. 이동 단말 해쉬값 산출부(271)는 추출한 소정의 비밀번호 열로부터 해쉬값을 산출하기 위해 추출한 소정의 비밀번호 열에 대한 제1 변수값을 생성할 수 있다. 이동 단말 해쉬값 산출부(271)는 추출한 소정의 비밀번호 열에 생성한 제1 변수값을 적용하여 해쉬 함수를 통해 제1 해쉬값을 산출할 수 있다. 이동 단말 해쉬값 산출부(271)는 제1 변수값 및 제1 해쉬값을 이동 단말 통신부(210)를 통해 디지털 도어록(100)으로 전송하도록 제어할 수 있다.Specifically, when the mobile terminal has been authenticated by the
이동 단말 제어부(270)는 디지털 도어록(100)에 의해 미등록된 이동 단말(200)로 인증되었을 경우, 디지털 도어록(100)으로부터 미등록 ID에 대응하는 비밀번호 열에 대한 오프셋(L) 및 구간길이(n) 정보를 수신하고, 관리자로부터 미리 발급받은 임시 비밀번호를 이용하여 관리 서버(300)에 접속할 수 있다. 이때, 관리자로부터 미리 발급받은 임시 비밀번호는 관리 서버(300)에 접속할 수 있는 접속 횟수 또는 사용 시간이 정해져 있을 수 있다. 이동 단말 제어부(270)는 관리 서버(300)에 접속하면, 디지털 도어록(100)으로부터 수신한 오프셋(L) 및 구간길이(n) 정보를 관리 서버(300)로 전송할 수 있다. 이동 단말 제어부(270)는 관리 서버(300)로부터 관리 서버(300) 내에서 수신한 오프셋(L) 및 구간길이(n) 정보를 이용하여 생성된 제2 변수값 및 제3 해쉬값 정보를 수신할 수 있다. 이동 단말 제어부(270)는 관리 서버(300)로부터 수신한 제2 변수값 및 제3 해쉬값 정보를 디지털 도어록(100)으로 전송할 수 있다.The mobile
본 발명의 다른 실시예에 따른 이동 단말 제어부(270)는 디지털 도어록(100)에 의해 미등록된 이동 단말(200)로 인증되었을 경우, 관리자로부터 미리 발급받은 임시 비밀번호를 이용하여 관리 서버(300)에 접속할 수 있으며, 동시에 이동 단말(200)에 구비된 카메라 또는 지문인식 센서를 이용하여 현재 이동 단말(200)을 이용하여 디지털 도어록(100)을 개방하려는 사용자의 얼굴 영상 또는 지문과 같은 개인 정보를 입력받도록 제어하고, 입력받은 개인 정보를 관리 서버로 전송하도록 제어할 수 있다. 이때, 카메라 또는 지문인식 센서를 이용하여 얼굴 영상 또는 지문을 입력받도록 제어하는 것은, 미등록된 이동 단말(200)을 이용하여 디지털 도어록(100)을 개방할 경우, 관리자로부터 미리 발급받은 임시 비밀번호가 누출되어 관리자가 임시 비밀번호를 발급하지 않은 사용자에 의해 디지털 도어록(100)이 개방될 수 있는 가능성이 있다. 이때, 이동 단말(200)에 구비된 카메라 또는 지문인식 센서를 이용하여 얼굴 영상 또는 지문을 입력받아 관리 서버(300)로 전송하여 저장함으로써, 추후 도난 등과 같은 사고가 발생하였을 경우 추출한 얼굴 영상 또는 지문을 이용하여 범인을 잡기 위함이다.When the
전원 공급부(280)는 이동 단말 제어부(270)의 제어에 의해 외부의 전원, 내부의 전원을 인가받아 각 구성요소들의 동작에 필요한 전원을 공급한다. The
도 9 는 본 발명의 일 실시예에 따른 등록된 이동 단말의 제어방법을 도시한 순서도이다.9 is a flowchart illustrating a control method of a registered mobile terminal according to an embodiment of the present invention.
먼저, 도어록 제어 애플리케이션을 실행(510)하고, 디지털 도어록(100)과 근거리 무선 통신을 수행하여 디지털 도어록(100)으로 ID 정보를 전송한다(520).First, a door lock control application is executed (510), short-range wireless communication is performed with the digital door lock (100), and ID information is transmitted to the digital door lock (100) (520).
디지털 도어록(100)으로부터 수신한 ID 정보에 대응하는 비밀번호 열에 대한 오프셋(L) 및 구간길이(n) 정보를 수신한다(530).(L) and section length (n) information for the secret number string corresponding to the ID information received from the digital door lock (100).
이동 단말 메모리부(250)에 기저장된 비밀번호 열에서 수신한 오프셋(L) 및 구간길이(n) 정보에 해당하는 소정의 비밀번호 열을 추출(540)하고, 추출한 소정의 비밀번호 열에 이동 단말(200) 내에서 추출한 소정의 비밀번호 열과 관련하여 새롭게 생성한 제1 변수값을 적용하여 해쉬 함수를 통해 제1 해쉬값을 산출한다(550).(540) a predetermined secret number corresponding to the offset (L) and the interval length (n) information received from the secret number string previously stored in the mobile terminal memory unit (250) The first hash value is calculated through the hash function by applying the newly generated first variable value with respect to the predetermined secret code string extracted in
생성한 제1 변수값 및 산출한 제1 해쉬값 정보를 디지털 도어록(100)에 전송한다(560).The generated first parameter value and the calculated first hash value information are transmitted to the digital door lock 100 (560).
도 10 은 본 발명의 일 실시예에 따른 미등록된 이동 단말의 제어방법을 도시한 순서도이다.10 is a flowchart illustrating a method of controlling an unregistered mobile terminal according to an embodiment of the present invention.
먼저, 도어록 제어 애플리케이션을 실행(610)하고, 디지털 도어록(100)으로 ID 정보를 전송한다(620).First, the door lock control application is executed (610), and the ID information is transmitted to the digital door lock (100) (620).
디지털 도어록(100)으로부터 미등록 비밀번호 열에 대한 오프셋(L) 및 구간길이(n) 정보를 수신(630)하고, 관리자로부터 미리 발급받은 임시 비밀번호를 이용하여 외부에 있는 관리 서버(300)에 접속한다(640).(L) and section length (n) information from the
디지털 도어록(100)으로부터 수신한 오프셋(L) 및 구간길이(n) 정보를 관리 서버(300)로 전송한다(650).(L) and section length (n) information received from the
관리 서버(300)로부터 관리 서버(300) 내에서 수신한 오프셋(L) 및 구간길이(n) 정보를 이용하여 생성된 제2 변수값 및 제3 해쉬값 정보를 수신한다(660).(660) the second variable value and the third hash value information generated using the offset (L) and the section length (n) information received from the management server (300) in the management server (300).
디지털 도어록(100)에서 관리 서버(300)에서 전송한 정보를 이용하여 디지털 도어록(100)을 개방할 수 있도록 관리 서버(300)로부터 수신한 제2 변수값 및 제3 해쉬값 정보를 디지털 도어록(100)으로 전송한다(670).The second parameter value and the third hash value information received from the
도 11 은 도 1 에 도시된 관리 서버의 블록도이다.11 is a block diagram of the management server shown in FIG.
본 발명의 일 실시예에 따른 관리 서버(300)는 서버 통신부(310), 서버 제어부(320) 및 서버 메모리부(330)를 포함할 수 있다.The
서버 통신부(310)는 이동 단말(200)과 외부 장치와의 무선 통신을 수행하게 하는 하나 이상의 구성요소를 포함할 수 있다. 예컨대, 서버 통신부(310)는 무선 인터넷 모듈, 근거리 통신 모듈을 포함할 수 있다.The
본 발명의 일 실시예에 따른 서버 통신부(310)는 이동 단말(200)로부터 임시 비밀번호를 포함한 접속 요청 신호를 수신할 수 있으며, 이동 단말(200)를 통해 디지털 도어록(100)으로부터 전송된 비밀번호 정보를 수신할 수 있으며, 서버 제어부(320)에서 생성된 변수값과 해쉬값 정보를 이동 단말(200)를 통해 디지털 도어록(100)으로 전송할 수 있도록 이동 단말(200)로 전송할 수 있다.The
서버 제어부(320)는 이동 단말(200)로부터 수신한 비밀번호 정보를 이용하여 디지털 도어록(100) 개방에 필요한 해쉬값을 산출할 수 있으며, 서버 해쉬값 산출부(321)를 포함할 수 있다.The
서버 해쉬값 산출부(321)는 이동 단말(200)로부터 수신한 비밀번호 정보가 수신되면, 서버 메모리부(330)에 저장되어 있는 미등록 비밀번호 열을 추출하고, 추출한 비밀번호 열에서 이동 단말(200)로부터 수신한 비밀번호 정보에 포함된 오프셋(L) 및 구간길이(n) 정보에 해당하는 소정의 비밀번호 열을 추출할 수 있다. 서버 해쉬값 산출부(321)는 추출한 소정의 비밀번호 열로부터 해쉬값을 산출하기 위해 추출한 소정의 비밀번호 열에 대한 제2 변수값을 생성할 수 있다. 서버 해쉬값 산출부(321)는 추출한 소정의 비밀번호 열에 생성한 제2 변수값을 적용하여 해쉬 함수를 통해 제3 해쉬값을 산출할 수 있다. 이동 단말 해쉬값 산출부(271)는 제2 변수값 및 제3 해쉬값을 이동 단말(200)을 통해 디지털 도어록(100)으로 전송할 수 있도록 제2 변수값 및 제3 해쉬값을 이동 단말(200)로 전송하도록 제어할 수 있다.When the password information received from the
서버 메모리부(330)는 서버 제어부(320)의 처리 및 제어를 위한 프로그램을 저장할 수 있으며, 입/출력되는 데이터들의 임시 저장을 위한 기능을 수행할 수 있다. 본 발명의 일 실시예에 따른 서버 메모리부(330)는 적어도 하나 이상의 미등록 비밀번호 열 데이터를 저장할 수 있으며, 접속이 허용된 비밀번호 데이터를 저장할 수 있다.The
도 12 는 본 발명의 일 실시예에 따른 관리 서버의 제어방법을 도시한 순서도이다.12 is a flowchart illustrating a control method of a management server according to an embodiment of the present invention.
먼저, 이동 단말(200)로부터 임시 비밀번호가 포함된 접속 요청 신호를 수신(710)하고, 이동 단말(200)로부터 수신한 임시 비밀번호와 접속이 허용된 비밀번호가 저장되어 있는 접속허용 비밀번호 데이터를 비교하여 수신한 임시 비밀번호가 접속이 허용된 비밀번호인지 여부를 확인한다(720).First, an access request signal including a temporary password is received (710) from the
이때, 이동 단말(200)로부터 수신한 임시 비밀번호가 접속이 허용된 비밀번호가 아니면, 해당 이동 단말(200)에 대한 관리 서버(300)로의 접속을 차단한다(730).At this time, if the temporary password received from the
또한, 이동 단말(200)로부터 수신한 임시 비밀번호가 접속이 허용된 비밀번호이면, 이동 단말(200)로부터 오프셋(L) 및 구간길이(n) 정보를 수신(740)하고, 서버 메모리부(330)에 미등록 비밀번호 열로 저장되어 있는 비밀번호 열에서 수신한 오프셋(L) 및 구간길이(n) 정보에 해당하는 소정의 비밀번호 열을 추출한다(750).If the temporary password received from the
추출한 소정의 비밀번호 열로부터 디지털 도어록(100) 개방에 필요한 해쉬값을 산출하기 위해 필요한 제2 변수값을 생성하고, 추출한 소정의 비밀번호 열에 생성한 제2 변수값을 적용하여 해쉬 함수로 제3 해쉬값을 산출한다(760).Generates a second variable value necessary for calculating a hash value necessary for opening the digital door lock (100) from the extracted predetermined password string, applies the generated second variable value to the extracted password string, and outputs the third hash value (760).
생성한 제2 변수값 및 산출한 제3 해쉬값을 이동 단말(200)을 통해 디지털 도어록(100)으로 전송될 수 있도록 생성한 제2 변수값 및 산출한 제3 해쉬값을 이동 단말(200)로 전송(770)하고, 이동 단말(200)과의 접속을 해제한다(780).The generated second parameter value and the calculated third hash value are transmitted through the
이와 같은, 이동 단말을 이용하여 디지털 도어록을 개방하는 기술은 애플리케이션으로 구현되거나 다양한 컴퓨터 구성요소를 통하여 수행될 수 있는 프로그램 명령어의 형태로 구현되어 컴퓨터 판독 가능한 기록 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능한 기록 매체는 프로그램 명령어, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다.Such a technique of opening a digital door lock using a mobile terminal can be implemented in an application or can be implemented in the form of program instructions that can be executed through various computer components and recorded in a computer-readable recording medium. The computer-readable recording medium may include program commands, data files, data structures, and the like, alone or in combination.
상기 컴퓨터 판독 가능한 기록 매체에 기록되는 프로그램 명령어는 본 발명을 위하여 특별히 설계되고 구성된 것들이거니와 컴퓨터 소프트웨어 분야의 당업자에게 공지되어 사용 가능한 것일 수도 있다.The program instructions recorded on the computer-readable recording medium may be ones that are specially designed and configured for the present invention and are known and available to those skilled in the art of computer software.
컴퓨터 판독 가능한 기록 매체의 예에는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM, DVD 와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 ROM, RAM, 플래시 메모리 등과 같은 프로그램 명령어를 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다.Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape, optical recording media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like.
프로그램 명령어의 예에는, 컴파일러에 의해 만들어지는 것과 같은 기계어 코드 뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드도 포함된다. 상기 하드웨어 장치는 본 발명에 따른 처리를 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.Examples of program instructions include machine language code such as those generated by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like. The hardware device may be configured to operate as one or more software modules for performing the processing according to the present invention, and vice versa.
이상에서는 실시예들을 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those skilled in the art that various changes and modifications may be made therein without departing from the spirit and scope of the invention as defined in the appended claims. It will be possible.
100: 디지털 도어록
200: 이동 단말
300: 관리 서버100: Digital Door Lock
200: mobile terminal
300: management server
Claims (14)
상기 이동 단말부터 ID 정보를 수신하고, 상기 ID 정보를 이용하여 상기 이동 단말이 등록된 이동 단말인지를 확인하고,
상기 이동 단말이 등록된 이동 단말일 경우 상기 ID 정보에 대응하는 비밀번호 정보를 상기 이동 단말로 전송하고,
상기 이동 단말로부터 상기 비밀번호 정보에 대한 제1 변수값 및 상기 이동 단말 내에서 산출된 제1 해쉬값을 수신하고, 상기 제1 변수값을 이용하여 자체적으로 제2 해쉬값을 산출하고, 상기 제1 해쉬값과 상기 제2 해쉬값을 비교하여 그 동일 여부에 따라 상기 도어록을 개방하도록 제어하는 디지털 도어록의 제어방법.A method of controlling a digital door lock (100) for opening a door lock using a mobile terminal,
Receives ID information from the mobile terminal, confirms whether the mobile terminal is a registered mobile terminal using the ID information,
When the mobile terminal is a registered mobile terminal, transmits password information corresponding to the ID information to the mobile terminal,
Receiving a first parameter value for the password information and a first hash value calculated in the mobile terminal from the mobile terminal, calculating a second hash value by itself using the first variable value, Comparing the hash value with the second hash value, and controlling the door lock to be opened according to whether the hash value is identical to the second hash value.
상기 ID 정보에 대응하는 비밀번호 정보는,
상기 도어록 내부에 저장되어 있는 복수 개의 비밀번호 열 정보 중 상기 ID 정보에 대응하는 비밀번호 열의 오프셋 및 구간길이 정보를 포함하는 디지털 도어록의 제어방법.The method according to claim 1,
The password information corresponding to the ID information is,
And the offset of the secret number column and the information of the segment length corresponding to the ID information among the plurality of secret number column information stored in the door lock.
상기 이동 단말로부터 상기 제1 변수값 및 상기 제1 해쉬값을 수신하는 것은,
상기 이동 단말에 의해 상기 이동 단말 내부에 저장되어 있는 비밀번호 열에서 상기 비밀번호 정보에 포함된 오프셋 및 구간길이 정보에 해당하는 소정의 비밀번호 열을 추출하고, 상기 소정의 비밀번호 열에 대응하여 임의로 생성된 제1 변수값 및 상기 소정의 비밀번호 열에 상기 제1 변수값을 적용하여 생성된 상기 제1 해쉬값을 수신하는 디지털 도어록의 제어방법.3. The method of claim 2,
Receiving the first variable value and the first hash value from the mobile terminal,
Extracting a predetermined password string corresponding to the offset and the section length information included in the password information from the password string stored in the mobile terminal by the mobile terminal, And receiving the first hash value generated by applying the first variable value to the predetermined password string.
상기 제1 변수값을 이용하여 자체적으로 제2 해쉬값을 산출하는 것은,
상기 ID 정보에 대응하는 비밀번호 열에서 상기 오프셋 및 구간길이 정보에 해당하는 소정의 비밀번호 열을 추출하고, 상기 소정의 비밀번호 열에 상기 이동 단말로부터 수신한 제1 변수값을 적용하여 상기 제2 해쉬값을 산출하는 디지털 도어록의 제어방법.3. The method of claim 2,
Calculating a second hash value by itself using the first variable value is performed by:
Extracting a predetermined secret code string corresponding to the offset and the section length information from the secret code string corresponding to the ID information and applying the first variable value received from the mobile terminal to the predetermined secret code string to obtain the second hash value A method of controlling a digital door lock to be calculated.
상기 비밀번호 열의 오프셋 및 구간길이는 상기 이동 단말을 이용하여 도어록을 개방할 때마다 상이한 오프셋 및 구간길이 정보를 포함하는 디지털 도어록의 제어방법.3. The method of claim 2,
Wherein the offset and interval length of the secret number sequence include different offset and interval length information each time the door lock is opened using the mobile terminal.
상기 도어록은 상기 비밀번호 정보를 상기 이동 단말로 전송하는 동시에 타이머를 작동시키고, 미리 정해진 시간 이상 상기 이동 단말로부터 상기 제1 변수값 및 상기 제1 해쉬값이 수신되지 않으면 경고 신호를 출력하고, 상기 이동 단말로부터 ID 정보를 수신받기 전의 초기 상태로 전환되는 디지털 도어록의 제어방법.The method according to claim 1,
The door lock transmits the password information to the mobile terminal and activates a timer and outputs a warning signal if the first variable value and the first hash value are not received from the mobile terminal for a predetermined time or more, And the initial state before receiving the ID information from the terminal.
상기 이동 단말이 미등록된 이동 단말일 경우 상기 미등록된 이동 단말은 관리자로부터 발급받은 임시 비밀번호를 이용하여 외부에 있는 관리 서버에 접속하고, 상기 디지털 도어록으로부터 상기 비밀번호 정보를 수신하여 상기 관리 서버로 전송하고, 상기 관리 서버로부터 상기 비밀번호 정보에 대한 제2 변수값 및 상기 관리 서버 내에서 산출된 제3 해쉬값을 수신하여 상기 도어록으로 전송하고,
상기 도어록은 상기 미등록된 이동 단말로부터 수신한 상기 제2 변수값을 이용하여 자체적으로 제4 해쉬값을 산출하고, 상기 제3 해쉬값과 상기 제4 해쉬값을 비교하여 그 동일 여부에 따라 상기 디지털 도어록을 개방하도록 제어하는 디지털 도어록의 제어방법.The method according to claim 1,
If the mobile terminal is an unregistered mobile terminal, the unregistered mobile terminal accesses an external management server using a temporary password issued from an administrator, receives the password information from the digital door lock, and transmits the password information to the management server Receives a second parameter value for the password information and a third hash value calculated in the management server from the management server and transmits the third hash value to the door lock,
Wherein the door lock calculates a fourth hash value by itself using the second variable value received from the unregistered mobile terminal, compares the third hash value with the fourth hash value, A method of controlling a digital door lock to control opening of a door lock.
상기 도어록으로부터 수신한 상기 비밀번호 정보는,
상기 도어록 내부에 저장되어 있는 비밀번호 열의 오프셋 및 구간길이 정보를 포함하는 디지털 도어록의 제어방법.8. The method of claim 7,
Wherein the password information received from the door-
And an offset and a length information of a secret code stored in the door lock.
상기 관리 서버로부터 상기 제2 변수값 및 상기 제3 해쉬값을 수신하는 것은,
상기 비밀번호 정보에 포함된 오프셋 및 구간길이 정보에 해당하는 소정의 비밀번호 열을 추출하고, 상기 관리 서버에 의해 상기 소정의 비밀번호 열에 대응하여 임의로 생성된 제2 변수값 및 상기 소정의 비밀번호 열에 상기 제2 변수값을 적용하여 생성된 상기 제3 해쉬값을 수신하는 디지털 도어록의 제어방법.9. The method of claim 8,
Receiving the second variable value and the third hash value from the management server,
Extracting a predetermined password string corresponding to the offset and the section length information included in the password information and generating a second variable value arbitrarily generated corresponding to the predetermined password string by the management server and a second variable value corresponding to the second And receiving the third hash value generated by applying the variable value.
상기 제2 변수값을 이용하여 상기 도어록 자체적으로 제4 해쉬값을 산출하는 것은,
상기 비밀번호 열에서 상기 오프셋 및 구간길이 정보에 해당하는 소정의 비밀번호 열을 추출하고, 상기 소정의 비밀번호 열에 상기 제2 변수값을 적용하여 상기 제4 해쉬값을 산출하는 디지털 도어록의 제어방법.9. The method of claim 8,
And calculating the fourth hash value by itself using the second variable value,
Extracting a predetermined secret code string corresponding to the offset and the section length information from the secret code string and applying the second variable value to the predetermined secret code string to calculate the fourth hash value.
상기 비밀번호 열의 오프셋 및 구간길이는 상기 미등록된 이동 단말을 이용하여 도어록을 개방할 때마다 상기 오프셋 및 구간길이와 상이한 오프셋 및 구간길이 정보를 포함하거나 상기 비밀번호 열과 길이 및 배열 정보가 다른 비밀번호 열의 오프셋 및 구간길이 정보를 포함하는 디지털 도어록의 제어방법.9. The method of claim 8,
The offset and interval length of the secret number sequence may include offset and interval length information different from the offset and interval length each time the door lock is opened using the unregistered mobile terminal or may include offset and length information of the secret number, A method of controlling a digital door lock including section length information.
상기 이동 단말과 소정의 정보를 송수신하는 도어록 통신부; 및
상기 이동 단말로부터 ID 정보를 수신하여 상기 이동 단말이 등록된 이동 단말인지를 확인하고, 상기 이동 단말이 등록된 이동 단말일 경우 상기 ID 정보에 대응하는 비밀번호 열의 오프셋 및 구간길이 정보를 상기 이동 단말로 전송하고, 상기 이동 단말로부터 상기 오프셋 및 구간길이 정보에 대한 제1 변수값 및 상기 이동 단말 내에서 산출된 제1 해쉬값을 수신하고, 상기 제1 변수값을 이용하여 자체적으로 제2 해쉬값을 산출하고, 상기 제1 해쉬값과 제2 해쉬값을 비교하여 그 동일 여부에 따라 상기 도어록을 개방하는 도어록 제어부를 포함하는 디지털 도어록.A digital door lock for opening a door lock using a mobile terminal,
A door lock communication unit for transmitting / receiving predetermined information to / from the mobile terminal; And
Receiving the ID information from the mobile terminal and confirming whether the mobile terminal is a registered mobile terminal and, if the mobile terminal is a registered mobile terminal, transmitting offset and interval length information corresponding to the ID information to the mobile terminal And receives from the mobile terminal a first parameter value for the offset and the section length information and a first hash value calculated in the mobile terminal, and uses the first variable value to obtain a second hash value by itself And comparing the first hash value with a second hash value, and opening the door lock according to whether the first or second hash value is the same.
상기 제어부는,
상기 이동 단말이 미등록된 이동 단말인 경우, 상기 미등록된 이동 단말을 통해 외부에 있는 관리 서버로 상기 미등록된 이동 단말로 미등록된 ID 정보에 대응하는 비밀번호 열의 오프셋 및 구간길이 정보를 전송할 수 있도록 상기 미등록된 이동 단말로 상기 미등록된 ID 정보에 대응하는 비밀번호 열의 오프셋 및 구간길이 정보를 전송하고,
상기 미등록된 이동 단말로부터 상기 미등록된 이동 단말이 상기 관리 서버와 접속하여 수신한 제2 변수값 및 상기 관리 서버 내에서 산출된 제3 해쉬값을 수신하고, 상기 제2 변수값을 이용하여 자체적으로 제4 해쉬값을 산출하고, 상기 제3 해쉬값과 상기 제4 해쉬값을 비교하여 그 동일 여부에 따라 상기 도어록을 개방하는 디지털 도어록.14. The method of claim 13,
Wherein,
The method of claim 1, wherein if the mobile terminal is an unregistered mobile terminal, the unregistered mobile terminal transmits the offset and length information of the secret number corresponding to the unregistered ID information to the unregistered mobile terminal through the unregistered mobile terminal, And transmits the offset and length information of the secret number corresponding to the unregistered ID information to the mobile terminal,
Receiving a second parameter value received from the unregistered mobile terminal in connection with the management server by the unregistered mobile terminal, and a third hash value calculated in the management server, and using the second variable value, Calculates a fourth hash value, compares the third hash value with the fourth hash value, and opens the door lock according to whether the third hash value is identical to the fourth hash value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140175506A KR101595897B1 (en) | 2014-12-09 | 2014-12-09 | Digital doorlock and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140175506A KR101595897B1 (en) | 2014-12-09 | 2014-12-09 | Digital doorlock and control method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR101595897B1 true KR101595897B1 (en) | 2016-02-19 |
Family
ID=55448903
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020140175506A KR101595897B1 (en) | 2014-12-09 | 2014-12-09 | Digital doorlock and control method thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101595897B1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101755565B1 (en) * | 2016-02-22 | 2017-07-07 | 경일대학교산학협력단 | Apparatus for controlling door lock based on Internet of Things, method thereof and computer recordable medium storing the method |
KR101755564B1 (en) * | 2016-02-22 | 2017-07-19 | 경일대학교산학협력단 | Apparatus for controlling door lock based on authentication procedure, method thereof and computer recordable medium storing the method |
WO2018049193A1 (en) * | 2016-09-08 | 2018-03-15 | Honeywell International Inc. | Door access control via a mobile device |
KR20220040735A (en) * | 2020-09-24 | 2022-03-31 | (주)아이준 | Entrance management system of smart doorbell and method thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100658301B1 (en) * | 1999-11-22 | 2006-12-14 | 주식회사 케이티 | Public key based mutual authentication method in wireless communication system |
KR100795587B1 (en) | 2006-10-26 | 2008-01-21 | 주식회사 케이티프리텔 | Electronic key providing system and method thereof, terminal for electronic key providing system and recoding medium thereof |
KR101269095B1 (en) * | 2010-12-13 | 2013-05-29 | 고려대학교 산학협력단 | Remote storage device using mobile phone and method thereof |
KR20130101658A (en) | 2012-02-24 | 2013-09-16 | 주식회사 케이티 | System and method for security service |
KR101453379B1 (en) * | 2010-01-27 | 2014-10-22 | 아르텍 컴퓨터 게엠베하 | Method of securely downloading from distributed download sources |
-
2014
- 2014-12-09 KR KR1020140175506A patent/KR101595897B1/en active IP Right Grant
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100658301B1 (en) * | 1999-11-22 | 2006-12-14 | 주식회사 케이티 | Public key based mutual authentication method in wireless communication system |
KR100795587B1 (en) | 2006-10-26 | 2008-01-21 | 주식회사 케이티프리텔 | Electronic key providing system and method thereof, terminal for electronic key providing system and recoding medium thereof |
KR101453379B1 (en) * | 2010-01-27 | 2014-10-22 | 아르텍 컴퓨터 게엠베하 | Method of securely downloading from distributed download sources |
KR101269095B1 (en) * | 2010-12-13 | 2013-05-29 | 고려대학교 산학협력단 | Remote storage device using mobile phone and method thereof |
KR20130101658A (en) | 2012-02-24 | 2013-09-16 | 주식회사 케이티 | System and method for security service |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101755565B1 (en) * | 2016-02-22 | 2017-07-07 | 경일대학교산학협력단 | Apparatus for controlling door lock based on Internet of Things, method thereof and computer recordable medium storing the method |
KR101755564B1 (en) * | 2016-02-22 | 2017-07-19 | 경일대학교산학협력단 | Apparatus for controlling door lock based on authentication procedure, method thereof and computer recordable medium storing the method |
WO2018049193A1 (en) * | 2016-09-08 | 2018-03-15 | Honeywell International Inc. | Door access control via a mobile device |
US10255732B2 (en) | 2016-09-08 | 2019-04-09 | Honeywell International Inc. | Door access control via a mobile device |
US11043056B2 (en) | 2016-09-08 | 2021-06-22 | Honeywell International Inc. | Door access control via a mobile device |
US11721149B2 (en) | 2016-09-08 | 2023-08-08 | Honeywell International Inc. | Door access control via a mobile device |
KR20220040735A (en) * | 2020-09-24 | 2022-03-31 | (주)아이준 | Entrance management system of smart doorbell and method thereof |
KR102489134B1 (en) * | 2020-09-24 | 2023-01-16 | (주)아이준 | Entrance management system of smart doorbell and method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220109561A1 (en) | Smart lock unlocking method and related device | |
KR102495293B1 (en) | Method and system for managing a door entry using beacon signal | |
US10366551B2 (en) | Analytic identity measures for physical access control methods | |
EP4273820A2 (en) | Method and system for automated physical access control system using biometric recognition coupled with tag authentication | |
US20140292481A1 (en) | Wireless access control system and related methods | |
US20200329037A1 (en) | Security system with a wireless security device | |
KR101595897B1 (en) | Digital doorlock and control method thereof | |
KR101765080B1 (en) | smart door lock system based on iot and the method thereof | |
KR20200140023A (en) | Entrance management system and method thereof | |
US9253633B2 (en) | Method and mobile device for generating a data authentication key | |
KR20180062692A (en) | Method, user terminal, door lock device and entry security system for controlling of opening and closing door | |
KR101599055B1 (en) | a locking control apparatus using a password | |
KR101783377B1 (en) | A security management method using a face recognition algorithm | |
KR20200140024A (en) | Entrance management system and method thereof | |
KR102393498B1 (en) | Enhanced Security Admission Control Method Using Beacon And Geofencing Technology And System Threof | |
KR20210038201A (en) | Apparatus, system, and control method for access control | |
WO2018232654A1 (en) | Mobile terminal capable of being used for security information protection and related product | |
WO2018232653A1 (en) | Mobile terminal having theft protection function and related device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20200217 Year of fee payment: 5 |