KR20040092852A - Digital doorlock using a key-code algorithm - Google Patents

Digital doorlock using a key-code algorithm Download PDF

Info

Publication number
KR20040092852A
KR20040092852A KR1020030027267A KR20030027267A KR20040092852A KR 20040092852 A KR20040092852 A KR 20040092852A KR 1020030027267 A KR1020030027267 A KR 1020030027267A KR 20030027267 A KR20030027267 A KR 20030027267A KR 20040092852 A KR20040092852 A KR 20040092852A
Authority
KR
South Korea
Prior art keywords
card
proximity card
value
key
proximity
Prior art date
Application number
KR1020030027267A
Other languages
Korean (ko)
Other versions
KR100509799B1 (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 KR10-2003-0027267A priority Critical patent/KR100509799B1/en
Publication of KR20040092852A publication Critical patent/KR20040092852A/en
Application granted granted Critical
Publication of KR100509799B1 publication Critical patent/KR100509799B1/en

Links

Classifications

    • EFIXED CONSTRUCTIONS
    • E01CONSTRUCTION OF ROADS, RAILWAYS, OR BRIDGES
    • E01FADDITIONAL WORK, SUCH AS EQUIPPING ROADS OR THE CONSTRUCTION OF PLATFORMS, HELICOPTER LANDING STAGES, SIGNS, SNOW FENCES, OR THE LIKE
    • E01F13/00Arrangements for obstructing or restricting traffic, e.g. gates, barricades ; Preventing passage of vehicles of selected category or dimensions
    • E01F13/12Arrangements for obstructing or restricting traffic, e.g. gates, barricades ; Preventing passage of vehicles of selected category or dimensions for forcibly arresting or disabling vehicles, e.g. spiked mats
    • EFIXED CONSTRUCTIONS
    • E04BUILDING
    • E04HBUILDINGS OR LIKE STRUCTURES FOR PARTICULAR PURPOSES; SWIMMING OR SPLASH BATHS OR POOLS; MASTS; FENCING; TENTS OR CANOPIES, IN GENERAL
    • E04H6/00Buildings for parking cars, rolling-stock, aircraft, vessels or like vehicles, e.g. garages
    • E04H6/42Devices or arrangements peculiar to garages, not covered elsewhere, e.g. securing devices, safety devices, monitoring and operating schemes; centering devices
    • E04H6/426Parking guides

Landscapes

  • Engineering & Computer Science (AREA)
  • Architecture (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Lock And Its Accessories (AREA)

Abstract

PURPOSE: A digital door lock using an intelligent encryption generation key is provided to improve the security by reading and authenticating an encryption key of a proximate card and generating a new encryption key. CONSTITUTION: A digital door lock using an intelligent encryption generation key includes a proximate card and a proximate card terminal. The proximate card is formed with a card memory and a transmitter. The digital door lock further includes an outer plate(410) for opening a door, a number input part for inputting numbers to unlock a door lock system, an antenna window for reading the proximate card, a sensor having a wake-up function, an outside lever(404), an internal plate(411), a battery cover installed at an upper end of the internal plate, a button for releasing a secret number, a button for performing an opening and a shutting function, a manual lever for controlling directly a motor, a button for preventing the opening of the door, and an inside lever(408).

Description

지능형 암호 생성키를 이용한 디지털도어락{Digital doorlock using a key-code algorithm}Digital door lock using intelligent password generation key {Digital doorlock using a key-code algorithm}

본 고안은 근접식카드(204)를 근접식카드단말기(401)에 근접할 경우 근접식카드의 암호키를 해독 및 인증하며 이를 다시 암호화 알고리즘을 이용하여 새로운 암호키를 생성함으로써 보안성을 갖춘 근접식 디지털도어락을 개발하는데 있으며 근접식 카드방식을 사용함으로써 사용자에게 보다 나은 편리성을 제공한다.The present invention decrypts and authenticates the encryption key of the proximity card when the proximity card 204 is close to the proximity card terminal 401, and generates a new encryption key by using an encryption algorithm. It is developing a digital door lock, and by using a proximity card method, it provides more convenience for the user.

지문 인식 디지털도어락은 지문센서에 남은 지문의 흔적을 이용해서 지문을 복제할 수 있으며 노인 등 지문의 손상이 생긴 경우에는 사용이 불가능하다.Fingerprint Recognition The digital door lock can duplicate the fingerprint by using the traces of the fingerprint left on the fingerprint sensor and cannot be used in case of fingerprint damage such as the elderly.

contactless 카드에 의한 디지털도어락에서 일반적인 근접카드(125Khz)는 카드 리더(reader)단말기만 있으면 ID해킹이 가능하고 카드에 저장된 데이터 접근이 용이하다. 또한, 스마트카드방식(13.56Mhz)은 카드의 칩ID를 이용하므로 카드 리더단말기만 있으면 ID접근이 가능하며 암호화 알고리즘을 적용하지 않았고 읽기(read) 기능만을 사용하므로 자체 ID부여가 불가능하다.In a digital door lock by a contactless card, a general proximity card (125Khz) can be hacked with ID only by using a card reader terminal, and data stored in the card can be easily accessed. In addition, since the smart card method (13.56Mhz) uses the chip ID of the card, ID access is possible only by using a card reader terminal, and since an encryption algorithm is not applied and only a read function is used, an ID cannot be assigned.

기존의 암호화 방식은 도 1 처럼 구성되어 암호화 수준을 높이는 데는 주력하였으나 키 자체는 고정된 비밀키로 하였다. 그래서, 여러 가지로 암호화 해독방법이 연구되어 그 알고리즘을 해독하는 방법이 나오면 비밀키는 자연스럽게 알게 되었다.The existing encryption scheme is composed as shown in FIG. 1 to focus on raising the encryption level, but the key itself is a fixed secret key. Therefore, when various methods of decryption were studied and a method of decrypting the algorithm came out, the secret key was naturally known.

기존기술과 달리 지능형 암호 생성키는 기존의 암호화 알고리즘을 사용하면서 불규칙적인 RANDOM 비밀키를 적용함으로써 비밀키를 RANDOM하게 매번 변화시켜 사용한다. 또한 한번 사용된 키는 바로 폐기 시켜서 CRACKER가 키를 COPY하더라도 CRACKER는 다시 한번 비밀키를 해독하는 번거로운 작업을 해야하므로 비밀키 해독은 불가능하다Unlike the existing technology, the intelligent encryption key is used by changing the secret key to RANDOM every time by applying an irregular RANDOM secret key while using the existing encryption algorithm. Also, once the used key is discarded, even if the CRACKER copies the key, the CRACKER has to do the complicated work of decrypting the secret key once again, so it is impossible to decrypt the key.

이처럼 근접식 카드의 비밀키 해독을 불가능하게 함으로써 기존의 디지털도어락 제품이 갖고 있는 출입키 해킹의 문제점을 해결할 수 있다.By disabling the secret key decryption of the proximity card, it is possible to solve the problem of access key hacking of the existing digital door lock product.

도 1은 종래의 암호화 기술과 본 발명의 암호화 기술을 비교하는 표이다.1 is a table comparing a conventional encryption technique with the encryption technique of the present invention.

도 2는 본 발명의 일 실시예에 따른 근접식 카드의 내부 투시도이다.2 is an internal perspective view of a proximity card in accordance with one embodiment of the present invention.

도 3은 본 발명의 일 실시예에 따른 근접식카드 단말기의 상세블록도이다.3 is a detailed block diagram of a proximity card terminal according to an embodiment of the present invention.

도 4a는 본 발명의 일 실시예에 따른 디지털도어락의 좌측면도이다.Figure 4a is a left side view of the digital door lock according to an embodiment of the present invention.

도 4b는 본 발명의 일 실시예에 따른 디지털도어락의 정면사시도이다.4B is a front perspective view of the digital door lock according to the embodiment of the present invention.

도 4c는 본 발명의 일 실시예에 따른 디지털도어락의 배면도이다.Figure 4c is a rear view of the digital door lock according to an embodiment of the present invention.

도 4d는 본 발명의 일 실시예에 따른 자석감지기의 설치예이다4D is an example of installation of a magnet sensor according to an embodiment of the present invention.

도 4e는 본 발명의 일 실시예에 따른 자석감지기의 확대 사시도이다.4E is an enlarged perspective view of a magnet sensor according to an embodiment of the present invention.

도 5는 본 발명의 일 실시예에 따른 센서부의 구조이다.5 is a structure of a sensor unit according to an embodiment of the present invention.

도 6은 본 발명의 일 실시예에 따른 센서부에서의 신호이다.6 is a signal from a sensor unit according to an embodiment of the present invention.

도 7은 본 발명의 일 실시예에 따른 근접식 카드의 메모리 맵의 구조이다.7 is a structure of a memory map of a proximity card according to an embodiment of the present invention.

도 8은 본 발명의 일 실시예에 따른 근접식 카드단말기의 메모리맵 구조이다.8 is a memory map structure of a proximity card terminal according to an embodiment of the present invention.

도 9는 본 발명의 일 실시예에 따른 지능형 알고리즘을 나타낸 플로어 차트이다.9 is a floor chart showing an intelligent algorithm according to an embodiment of the present invention.

도 10은 본 발명의 일 실시예에 따른 비밀번호로 도어를 해정하는 키패드방식의 플로어 차트이다.10 is a floor chart of the keypad method to unlock the door with a password according to an embodiment of the present invention.

도 11은 본 발명의 일 실시예에 따른 암호화 알고리즘을 적용한 근접식 카드를 이용하여 도어를 해정하는 방식의 플로어 차트이다.11 is a floor chart of a door unlocking method using a proximity card to which an encryption algorithm is applied according to an embodiment of the present invention.

도 12는 본 발명의 일 실시예에 따른 근접식 카드를 근접식 카드단말기에 근접시 카드등록 알고리즘을 설명하는 플로어차트이다.12 is a flowchart illustrating a card registration algorithm when a proximity card is in proximity to a proximity card terminal according to an embodiment of the present invention.

도 13은 본 발명의 일 실시예에 따른 근접식 카드를 근접식 카드단말기에 근접시 카드동작 알고리즘을 설명하는 플로어차트이다.13 is a flowchart illustrating a card operation algorithm when a proximity card is in proximity to a proximity card terminal according to an embodiment of the present invention.

도 14는 본 발명의 일 실시예에 따른 암호키 생성방법의 알고리즘을 나타낸 플로어 차트이다.14 is a floor chart showing an algorithm of a method for generating an encryption key according to an embodiment of the present invention.

{도면의 주요부분에 대한 부호의 설명}{Description of symbols for main parts of the drawing}

201 : 코일 (안테나) 202 : 반도체소자201: coil (antenna) 202: semiconductor device

203 : 플라스틱몰딩 204 : 근접식카드203: plastic molding 204: proximity card

401 : 근접식카드 단말기 402 : 안테나 창401: proximity card terminal 402: antenna window

403 : key pad부 404 : 외측레버403: key pad portion 404: outer lever

405 : 데드볼트 406 : 레치볼트405: dead bolt 406: latch bolt

407 : Lock Driver 408 : 내측레버407: Lock Driver 408: Inner Lever

409 : Mortise Body 410 : 외부플레이트409: Mortise Body 410: External plate

411 : 내부플레이트 412 : 밧데리커버411: inner plate 412: battery cover

413 : key pad 커버 420 : Sensor413: key pad cover 420: Sensor

431 : open/close 버튼 432 : 수동레버431: open / close button 432: manual lever

433 : 도어열림방지 버튼 434 : 등록, 해제버튼433: door opening prevention button 434: registration, release button

507 : controller부 508 : 전원부507: controller unit 508: power unit

상기의 목적을 달성하기 위해서 본 발명의 디지털도어락은 근접식카드(204)의 암호화된 데이터의 전송에 의해 도어를 개폐하는 근접식카드 단말기(401)를 포함한다.In order to achieve the above object, the digital door lock of the present invention includes a proximity card terminal 401 that opens and closes a door by transmitting encrypted data of the proximity card 204.

본 발명에서 근접식카드는 내부에 전송부(201)와 카드 메모리부를(202) 가지고 있으며, 상기 카드 메모리부에는 암호화된 키(key)값(704)과 메모리영역(703)을포함한다.In the present invention, the proximity card has a transmitting unit 201 and a card memory unit 202 therein, and the card memory unit includes an encrypted key value 704 and a memory area 703.

본 발명에서 근접식 카드단말기(401)는 상기 근접식 카드의 접근신호를 처리하는 신호처리부; 키값과 ID값을 암호 생성 알고리즘으로 처리하는 암호화처리부; 상기 처리한 데이터를 저장하는 단말기 메모리부; 상기 데이터 값에 의해 해정장치를 조절하는 조절부를 포함한다.In the present invention, the proximity card terminal 401 includes a signal processor for processing an access signal of the proximity card; An encryption processing unit for processing the key value and the ID value with an encryption generation algorithm; A terminal memory unit for storing the processed data; It includes a control unit for adjusting the release device by the data value.

본 발명에서 상기 메모리부에는 상기 근접식 카드마다 부여된 카드번호값(801), 소정의 알고리즘에 의해 암호화되어 생성된 키(key)값(802), ID값(803)을 포함한다.In the present invention, the memory unit includes a card number value 801 assigned to each proximity card, a key value 802 generated by encryption by a predetermined algorithm, and an ID value 803.

본 발명에서 key 값은, 소정의 방식을 이용하여 도출된 공개키와 개인키를 포함한다.In the present invention, the key value includes a public key and a private key derived using a predetermined method.

본 발명에서 근접식 카드 단말기(401)는 카드의 접근을 감지하며 카드접근에 따라 전원을 슬립모드 또는 활성화 모드로 변경시키는 센서(420)를 포함한다.In the present invention, the proximity card terminal 401 includes a sensor 420 that detects the approach of the card and changes the power to the sleep mode or the activation mode according to the card access.

본 발명에서 디지털 도어락은 문의 개폐여부를 체크하는 자석감지기를 포함한다.In the present invention, the digital door lock includes a magnet sensor for checking whether the door is opened or closed.

본 발명에서 디지털도어락을 개폐하기 위한 근접식 카드를 등록하는 방법은 복수개의 카드의 접근시 하나의 카드만을 선택하는 단계(S1202); 상기 선택한 근접식카드의 초기 key값을 전송하는 단계(S1203); 상기 key값을 전송 받은 근접식카드에서 해당 메모리의 접근허용신호를 근접식 카드단말기로 전송하는 단계(S1204); 상기 신호를 받은 근접식 카드단말기에서 초기 key값과 초기 ID값을 생성하는 단계(S1205); 상기 생성된 초기 key값과 초기 ID값을 암호화 과정을 통해 암호키를생성하는 단계(S1400); 상기 암호화된 초기 key값과 초기 ID값을 소정의 저장영역에 분류 및 저장하는 단계(S1207); 상기 암호화된 초기 key 값과 ID값을 상기 근접식카드로 전송하는 단계(S1208); 상기 key값과 ID값을 근접식카드와 단말기에 저장하는 단계(S1209); 상기 근접식 카드에서 근접식 카드단말기로 저장완료신호를 전송하는 단계(S1210) 및 상기 전송신호를 확인 후 종료하는 단계를 포함한다.In the present invention, a method of registering a proximity card for opening and closing a digital door lock includes selecting only one card when approaching a plurality of cards (S1202); Transmitting an initial key value of the selected proximity card (S1203); Transmitting the access permission signal of the corresponding memory to the proximity card terminal in the proximity card receiving the key value (S1204); Generating an initial key value and an initial ID value in the proximity card terminal receiving the signal (S1205); Generating an encryption key by encrypting the generated initial key value and initial ID value (S1400); Classifying and storing the encrypted initial key value and initial ID value in a predetermined storage area (S1207); Transmitting the encrypted initial key value and ID value to the proximity card (S1208); Storing the key value and the ID value in a proximity card and a terminal (S1209); And transmitting the storage completion signal from the proximity card to the proximity card terminal (S1210) and checking the transmission signal and ending.

본 발명에서 근접식카드에 의해서 도어를 개폐하는 방법은 근접식카드로부터 근접식 카드단말기로 카드번호를 전송하는 단계(S1302); 상기 송신된 카드번호에 해당하는 Key값을 근접식 카드로 전송하는 단계(S1303); 상기 송신된 key값에 의해서 해당 메모리영역을 활성화시키는 단계(S1304); 상기 활성화된 메모리에서 저장된 ID를 근접식 카드단말기로 전송하는 단계(S1305); 상기 송신된 ID를 소정의 방식에 의해 해독하고(S1306), 비교한 후 도어의 개폐여부를 판단하여 도어를 오픈(open)하는 단계(S1307); 상기 도어의 오픈후, 새로운 key 값을 소정의 방식으로 생성하고(S1308) 암호화에 의한 암호키를 생성하는 단계(S1400); 상기 새로이 암호화된 key 값과 ID값을 저장하는 단계(S1311); 및 상기 새로이 암호화된 key 값과 ID값을 근접식 카드로 전송하는 단계(S1312)를 포함한다.In the present invention, a method of opening and closing a door by a proximity card includes transmitting a card number from a proximity card to a proximity card terminal (S1302); Transmitting a key value corresponding to the transmitted card number to a proximity card (S1303); Activating a corresponding memory area by the transmitted key value (S1304); Transmitting an ID stored in the activated memory to a proximity card terminal (S1305); Deciphering the transmitted ID by a predetermined method (S1306), and comparing the determined ID to determine whether the door is opened or closed (S1307); After opening the door, generating a new key value in a predetermined manner (S1308) and generating an encryption key by encryption (S1400); Storing the newly encrypted key value and ID value (S1311); And transmitting the newly encrypted key value and ID value to a proximity card (S1312).

본 발명에서 암호키 생성방법은 공개되지 않은 소정의 홀수를 선택하는 단계(S1401); 상기 선택된 수에 의해 공동키를 구하는 단계(S1402); 상기 선택된 수를 가지고 오일러(Euler)함수를 구하는 단계(S1403); 상기 도출된 함수와 서로소인수를 선택하는 단계(S1404); 상기 도출된 서로소인 수를 이용하여 유클리드(Euclid) 호제법에 의해 소정의 키를 구하는 단계(S1405); 및 상기 단계1402와 단계 1404에서 도출된 값을 공개키로 사용하고 상기 단계 1402와 단계1405에서 도출된 값을 개인키로 사용하는 단계(S1406.S1407)를 포함한다.In the present invention, the method for generating an encryption key includes selecting a predetermined odd number that is not disclosed (S1401); Obtaining a common key by the selected number (S1402); Obtaining an Euler function with the selected number (S1403); Selecting the derived function and a prime factor (S1404); Obtaining a predetermined key by Euclid's method using the derived mutually significant numbers (S1405); And using the values derived in steps 1402 and 1404 as the public key and using the values derived in steps 1402 and 1405 as the private key (S1406.S1407).

이하 첨부한 도면을 참조하여 본 고안을 보다 상세하게 설명하고자 한다.Hereinafter, the present invention will be described in more detail with reference to the accompanying drawings.

도 2는 본 발명의 일 실시예에 따른 근접식카드(204)를 개략적으로 나타낸 내부도이다.2 is a schematic internal view of proximity card 204 in accordance with one embodiment of the present invention.

상기 실시예에서, 근접식카드(204)는 내부에 코일(wire coil)(201)과 반도체소자(202)를 포함한다.In the above embodiment, the proximity card 204 includes a coil 201 and a semiconductor element 202 therein.

도 2를 참조하면, 근접식카드(204)의 내부외측으로는 코일(201)이 둘러싸고 있으며, 상기 코일의 양끝은 반도체소자(202)에 의해 연결된다.Referring to FIG. 2, a coil 201 is surrounded inside and outside the proximity card 204, and both ends of the coil are connected by a semiconductor device 202.

상기 근접식카드의 외부는 플라스틱으로 몰딩(molding)(203)이 되어 있고, 내부의 반도체 소자는 Key 값과 ID값을 가지고 있어 단말기의 해정신호를 제공한다.The outside of the proximity card is molded in plastic (203), and the semiconductor element inside has a key value and an ID value to provide the unlock signal of the terminal.

상기 코일(201)은 근접식 카드(204)내부를 둘러싸고 있으므로 어느 방향으로 카드를 근접시키더라도 근접식카드단말기(401)는 데이터를 전송 받을 수 있으며 근접식 카드(204)의 인식이 가능하다.Since the coil 201 surrounds the inside of the proximity card 204, the proximity card terminal 401 may receive data and recognize the proximity card 204 regardless of the proximity of the card in any direction.

도 3은 본 발명의 일 실시예에 따른 근접식카드단말기의 상세블록도이다.3 is a detailed block diagram of a proximity card terminal according to an embodiment of the present invention.

상기 실시예에서, 근접식카드단말기(401)는 컨트롤러(Controller)(507), 락드라이버(Lock driver)(407), 모티스바디(mortise body)(409), 내측레버(In lever)(408), 외측레버(Outer lever)(404), 키패드(Key pad)(403), 카드리더(Card reader)(402), 전원(Power)(508), 센서(Sensor)(420)를 포함한다.In the above embodiment, the proximity card terminal 401 may include a controller 507, a lock driver 407, a mortise body 409, and an inner lever 408. , An outer lever 404, a keypad 403, a card reader 402, a power 508, and a sensor 420.

상기 실시예는 근접식카드단말기 부분을 도어를 기준으로 내측(311)과 외측(310)으로 구분해 놓은 블록도이다.The above embodiment is a block diagram in which the proximity card terminal is divided into an inner side 311 and an outer side 310 based on the door.

도 3을 참조하면, 상기 근접식 카드단말기의 외측부분(310)에는 키패드(403), 카드리더(402), 외측레버(404)가 포함되고, 내측부분에는 콘트롤러(507), 락 드라이버(407), 모티스바디(409), 전원(508), 센서(420), 내측레버(408)가 포함된다.Referring to FIG. 3, the outer portion 310 of the proximity card terminal includes a keypad 403, a card reader 402, an outer lever 404, and an inner portion of the controller 507 and a lock driver 407. ), A mortise body 409, a power supply 508, a sensor 420, the inner lever 408.

상기 키패드(403)와 카드 리더(402)는 카드단말기 내측의 콘트롤러(507)에 연결되어 있고 외측 레버(408)는 모티스바디(409)에 연결되어 있다.The keypad 403 and the card reader 402 are connected to the controller 507 inside the card terminal, and the outer lever 408 is connected to the mortise body 409.

상기 전원(508)과 센서(420) 역시 컨트롤러(507)에 연결되어 있고 내측레버(408)는 모티스 바디(409)에 연결되어 있다.The power source 508 and the sensor 420 are also connected to the controller 507 and the inner lever 408 is connected to the mortise body 409.

상기 모티스 바디(409)는 락 드라이버(407)에 연결되어 컨트롤러(507)와 연결된다.The mortise body 409 is connected to the lock driver 407 and to the controller 507.

상기 키패드(403)는 번호 입력에 의한 해정이 가능하게 하고 소정의 알고리즘을 거쳐서 입력여부를 판단하여 개폐를 결정한다.The keypad 403 enables unlocking by number input and determines whether to open or close the input through a predetermined algorithm.

상기 컨트롤러(507)에는 전원(508)과 센서(420)가 연결되어 있다. 상기 센서(420)는 근접식카드의 접근을 감지하며 근접식카드의 접근시 전원을 활성화 모드로 변경시켜 전력의 소비를 최소화 할 수 있다.The power supply 508 and the sensor 420 are connected to the controller 507. The sensor 420 detects the proximity of the proximity card and minimizes the power consumption by changing the power to an activation mode when the proximity card is approached.

이하 자세한 과정은 도 4와 같이 상술한다.Hereinafter, a detailed process will be described in detail with reference to FIG. 4.

도 4a, 4b, 4c는 본 고안의 일 실시예에 따른 디지털도어락의 좌측면도, 정면 사시도, 배면도이다4A, 4B, and 4C are left side, front perspective, and rear views of a digital door lock according to an embodiment of the present invention.

상기 실시예에서 디지털도어락은 외부 플레이트(410), 키패드부(403), 근접식카드단말기(401), 안테나창(402), 센서(420), 내부플레이트(411), 데드볼트(405), 레치볼트(406), 배터리커버(412), 등록해제버튼(434), 개폐버튼(431), 수동레버(432), 도어열림방지버튼(433), 내측레버(408)를 포함한다.In the above embodiment, the digital door lock includes an outer plate 410, a keypad 403, a proximity card terminal 401, an antenna window 402, a sensor 420, an inner plate 411, a dead bolt 405, The latch bolt 406, the battery cover 412, the registration release button 434, opening and closing button 431, manual lever 432, door opening prevention button 433, the inner lever 408.

상기 실시예는 근접식카드리더기가 디지털도어락의 외측에 포함된 상태를 나타낸 것이다.The embodiment shows a state in which the proximity card reader is included outside the digital door lock.

도 4를 참조하면, 디지털도어락의 외측은 외부충격을 방지하기 위한 외부플레이트(410)가 형성되고, 외부플레이트 상부에는 키패드(403)가 위치하며, 상기 키패드 외측에는 키패드를 보호하는 키패드 커버(413)가 형성되고, 하부에는 근접식 카드단말기(401)가 형성되며 상기 카드단말기의 외측에는 안테나창(402)과 센서(420)가 구비되고 최하부에는 외측레버(404)가 형성된다.Referring to FIG. 4, an outer plate 410 is formed at an outer side of the digital door lock to prevent an external shock, a keypad 403 is positioned at an upper side of the outer plate, and a keypad cover 413 protecting the keypad at an outer side of the keypad. ) Is formed, a proximity card terminal 401 is formed at the bottom, the antenna window 402 and the sensor 420 is provided on the outside of the card terminal and the outer lever 404 is formed at the bottom.

상기 디지털도어락의 부분중 도어의 중앙에 위치하는 부분에는 모티스바디(409)가 형성되고, 상기 모티스바디(409)에는 데드볼트(405)와 레치볼트(406)가 구비되어 도어의 개폐가 가능하도록 하는 역할을 하며, 디지털도어락 내측의 락드라이버(407)는 모터를 동작시키기 위한 기어드 모터와 모터센서가 형성되어 모터를 제어하는 역활을 한다.A motibody body 409 is formed at a part of the digital door lock positioned at the center of the door, and the mortise body 409 is provided with a dead bolt 405 and a latch bolt 406 to open and close the door. The lock driver 407 inside the digital door lock has a geared motor and a motor sensor for operating the motor to control the motor.

상기 디지털도어락중 도어의 내부로 형성되는 부분은 전원인 배터리의 손상을 방지하기 위한 배터리 커버(412)와 그 하부로 카드를 등록하고 해제시키는 등록, 해제버튼(434)이 위치한다. 그 하부에는 차례로 개폐버튼(431),수동레버(432), 도어열림방지버튼(433)이 위치하고 최하부측에는 내측레버(408)가 위치한다.A portion of the digital door lock formed inside the door includes a battery cover 412 for preventing damage to a battery, which is a power source, and a registration and release button 434 for registering and releasing a card under the battery cover 412. In the lower part, the opening / closing button 431, the manual lever 432, and the door opening preventing button 433 are positioned, and the inner lever 408 is located at the lowermost side.

사용자는 키입력 또는 카드근접에 의한 도어의 개폐여부를 결정한다. 키입력에 의해 도어를 오픈 시키고자 하는 경우에는 도어의 암호를 입력하여 도어를 오픈 시키고, 카드에 의해서 오픈 하고자 하는 경우 안테나창(402)에 근접식 카드(204)를 근접시키면 센서(420)는 근접거리에 위치됨을 감지하고 외측레버(404)를 회전가능 하게 한다. 상기 센서의 동작에 대해서는 차후 도면과 함께 자세하게 설명한다.The user determines whether the door is opened or closed by key input or card proximity. If you want to open the door by key input, enter the password of the door to open the door, if you want to open by card proximity sensor 420 near the antenna window 402, the sensor 420 It senses its position in close proximity and makes the outer lever 404 rotatable. The operation of the sensor will be described in detail with the following drawings.

상기 근접식카드(204)가 근접식카드단말기(401)에 근접된 상태에서 외측레버(404)가 회전됨에 따라 도어 틀에서 데드볼트(405)와 레치볼트(406)가 해정되며 상기 모티스바디(409)는 데드볼트(405)와 레치볼트(406)가 수평방향으로 이동 가능하게 하고 락드라이버(407)의 작동에 의해 레버가 회전함으로서 도어가 해정된다.As the outer lever 404 is rotated while the proximity card 204 is close to the proximity card terminal 401, the dead bolt 405 and the latch bolt 406 are released from the door frame, and the mortise body ( The door 409 is unlocked by allowing the dead bolt 405 and the latch bolt 406 to move in the horizontal direction and rotating the lever by the operation of the lock driver 407.

도 4d는 본 발명의 일 실시예에 따른 자석감지기의 설치예이다4D is an example of installation of a magnet sensor according to an embodiment of the present invention.

본 발명에는 자석감지기가 포함될 수 있다. 상기 자석감지기는 문의 개폐여부를 체크할 수 있어, 외부에 의해 강제적으로 문이 열리는 경우 비상벨을 울리게 할 수도 있고 문이 닫힌 경우 자동으로 잠기게 하는데 사용될 수도 있다.The present invention may include a magnet sensor. The magnet sensor can check whether the door is opened or closed, it may be used to ring the emergency bell when the door is forcibly opened by the outside or to automatically lock when the door is closed.

도 4e는 본 발명의 일 실시예에 따른 자석감지기의 확대 사시도이다.4E is an enlarged perspective view of a magnet sensor according to an embodiment of the present invention.

상기 자석감지기는 두개가 하나의 쌍을 이루어 문의 개폐여부를 체크하게 된다.The magnet detector is a pair of two to check whether the door is opened or closed.

도 5는 근접식 카드가 센서에 접근될 때의 동작을 설명한 도면이다.5 is a diagram illustrating an operation when a proximity card approaches a sensor.

상기 실시예에서 센서는 발광부(Emitter)(503), 수광부(Detector)(504), 펄스 발진회로(Pulse Oscillator)(501), 발광부 구동회로(Emitter Driver)(502), 필터 및 증폭회로(Filter & Op-Amp)(505), 신호처리회로(Signal Processor)(506)를 포함한다.In the above embodiment, the sensor includes an emitter 503, a receiver 504, a pulse oscillator 501, an emitter driver 502, a filter and an amplifier circuit. (Filter & Op-Amp) 505 and a signal processor 506.

도 5를 참조하면, 상기 센서(420)는 펄스 발진회로(501)에서 전력소비를 최소화하기 위해 일정시간 펄스신호를 발생하게 된다. 상기 발생된 펄스신호에 따라서 발광부 구동회로(502)에서는 발광부 구동신호를 발생한다.Referring to FIG. 5, the sensor 420 generates a pulse signal for a predetermined time in order to minimize power consumption in the pulse oscillation circuit 501. According to the generated pulse signal, the light emitting unit driving circuit 502 generates the light emitting unit driving signal.

상기 발생된 발광부 구동신호에 의해 발광부(503)에서는 적외선을 방출하게 되며 상기 근접식 카드(204)가 접근하게 되면 상기 발광부(503)에서 발생한 적외선신호가 카드에 반사되어 수광부(504)에 의해 감지한다.In response to the generated light emitting unit driving signal, the light emitting unit 503 emits infrared rays. When the proximity card 204 approaches, the infrared signal generated by the light emitting unit 503 is reflected on the card to receive the light receiving unit 504. To be detected by.

상기 감지된 신호는 필터 및 증폭회로(505)에 의해 필터링 및 증폭되고 상기 필터링 및 증폭된 신호는 신호처리회로(506)를 통과하면서 Logic신호로 바뀌게 된다. 상기 신호처리회로는 카드의 유무를 알려주고 카드가 수신상태가 되도록 컨트롤러(Controller)(507)에 알려주는 기능을 수행한다.The sensed signal is filtered and amplified by the filter and amplification circuit 505, and the filtered and amplified signal is converted into a logic signal while passing through the signal processing circuit 506. The signal processing circuit notifies the presence of a card and performs a function of informing the controller 507 such that the card is in a reception state.

상기 신호처리회로에서 컨트롤러에 신호가 인가되는 순간 컨트롤러는 Card Reader에 전원(508)을 인가한다.The moment the signal is applied to the controller in the signal processing circuit, the controller applies power 508 to the card reader.

도 6은 본 발명의 일 실시예에 따른 센서부에서의 신호이다.6 is a signal from a sensor unit according to an embodiment of the present invention.

Q1은 펄스 발진회로에서 발생되는 신호이다. 상기 Q1신호는 일정한 시간 간격을 두고 펄스파를 발생시키게 된다. 펄스 발생 주기는 고정되어 있는 것은 아니지만 센서의 목적에 부합하게 펄스발생시간 보다 펄스발생주기를 더 길게 함이 바람직하다. 본 발명에서는 300ms의 주기간격을 가지고 있는 펄스파를 10ms동안 일정하게 Emitter에 전원을 인가한다.Q1 is a signal generated from the pulse oscillation circuit. The Q1 signal generates pulse waves at regular time intervals. Although the pulse generation period is not fixed, it is desirable to make the pulse generation period longer than the pulse generation time in accordance with the purpose of the sensor. In the present invention, a pulse wave having a main period of 300 ms is applied to the emitter constantly for 10 ms.

Q2는 카드가 접근했을 때의 신호이다. 카드가 근접한 경우 신호가 발생하고 멀어지면 소멸한다.Q2 is the signal when the card approaches. If the card is close, a signal is generated and disappears when it is far away.

Q3은 수광부에 의해서 상기 카드접근 신호가 발생한 부분의 펄스파 신호이다. Q1과 Q2가 일치하는 시간에 수광부에서 미약의 펄스신호를 발생한다.Q3 is a pulse wave signal of a portion where the card access signal is generated by the light receiving unit. At the time when Q1 and Q2 coincide, the light receiving unit generates a weak pulse signal.

Q4는 상기 Q3의 미약한 신호를 필터링 및 증폭기에 의해 증폭시킨 신호이다.Q4 is a signal obtained by amplifying the weak signal of Q3 by filtering and amplifier.

Q5는 Q4의 동작을 거친 펄스신호가 카드 근접의 유무를 확인하도록 '0' 과 '1' 의 Logic신호를 발생시키는 과정이다.Q5 is the process of generating the logic signals of '0' and '1' to check the proximity of the card after the pulse signal which has been operated by Q4.

도 7과 8은 본 발명의 일 실시예에 따른 근접식카드와 단말기의 메모리맵 구조이다.7 and 8 are memory map structures of a proximity card and a terminal according to an embodiment of the present invention.

상기 실시예에서, 카드메모리맵 구조는 카드번호, key값(704), memory영역(703)을 포함하고, 단말기 메모리맵 구조는 카드번호(801)와 key값(802) ,ID code(803)를 갖는다.In the above embodiment, the card memory map structure includes a card number, a key value 704, and a memory area 703, and the terminal memory map structure includes a card number 801, a key value 802, and an ID code 803. Has

도 7과 8을 참조하면, 하나의 카드에 대한 메모리는 48bit의 용량을 갖는 key값과 memory영역으로 구성되어 있으며 key값(704)과 memory(703)는 카드의 기억영역중의 일부를 사용한다.7 and 8, the memory for one card is composed of a key value and a memory area having a capacity of 48 bits, and the key value 704 and the memory 703 use a part of the memory area of the card. .

상기 key값(704)은 Memory 영역(703)에 접근을 허용하는 key값(704)을 저장하며 상기 key값(704)은 카드에서 보내지 못하고 단말기에서만 보내게 되며 Memory영역(703)에 접근이 허용되더라도 key값은 모두 '0' 으로 표시되어 읽을 수가 없게된다. 또한, key값(704)은 1 byte의 명령어군 코드와 128byte의 ID코드를 갖는다.The key value 704 stores a key value 704 allowing access to the memory area 703 and the key value 704 is sent only from the terminal and not from the card, and access is allowed to the memory area 703. Even though the key values are all displayed as '0', they cannot be read. In addition, the key value 704 has an instruction group code of 1 byte and an ID code of 128 bytes.

도 9는 본 발명의 일 실시예에 따른 지능형 알고리즘을 나타낸 플로어 차트이다.9 is a floor chart showing an intelligent algorithm according to an embodiment of the present invention.

상기 플로어차트는 암호문의 확정(S901), data의 분석(S903), 적합판정(S904), 암호문을 확정하는 단계(S906)를 포함한다.The floor chart includes determining a cipher text (S901), analyzing data (S903), determining a suitability (S904), and determining a cipher text (S906).

도 9를 참조하면, 새로운 암호문을 읽은 경우(S901) Range Sector data를 통하여 Data를 분석하고(S902, S903)) 그 적합성을 판단하여(S904) 부적합 시에는 수정후 다시 분석에 들어가게 되고(S905), 적합시에는 암호문을 확정(S906)하고 종료시킨다.Referring to FIG. 9, when a new cipher text is read (S901), the data is analyzed through Range Sector data (S902 and S903), and the suitability thereof is determined (S904). In case of conformity, the ciphertext is confirmed (S906) and terminated.

상기 Range sector 는 분포정수와 공분산을 이용한 확률, 통계적인 방식으로 결정된 data값을 저장하는 암호코드의 메모리 영역이다.The range sector is a memory area of an encryption code that stores a data value determined in a statistical manner, using a probability of distribution and covariance.

상기 블록도에 의하면, Data 분포의 일정함을 없애고 규칙성을 제거함으로서 해킹의 방지를 도모할 수 있다.According to the above block diagram, hacking can be prevented by removing the uniformity of the data distribution and removing the regularity.

도 10은 본 발명의 일 실시예에 따른 비밀번호로 도어를 해정하는 키패드방식을 나타낸 플로어 차트이다.10 is a floor chart showing a keypad method for unlocking a door with a password according to an embodiment of the present invention.

도 10을 참조하면, 우선 키패드 케이스를 오픈하고(S1001) 비밀번호를 입력하며(S1002) 키패드 커버 버튼을 누른다(S1003). 이후 단말기에서는 눌러진 비밀번호가 등록된 비밀번호와 일치하는지 여부를 판단하여(S1004) 값이 일치하면 "OK Melody" 음이 나며 "OK LED"가 켜지면서 도어가 열리게 된다.(S1005)Referring to FIG. 10, first, the keypad case is opened (S1001), a password is input (S1002), and the keypad cover button is pressed (S1003). Thereafter, the terminal determines whether the pressed password matches the registered password (S1004). If the values match, a "OK Melody" tone sounds and the "OK LED" turns on, and the door is opened. (S1005)

만약에 상기 등록된 비밀번호와 그 값이 일치되지 않으면 "Error Melody"음이 나고 "Alarm LED"가 2초 동안 점멸하게 된다.(S1006)If the registered password and its value do not match, "Error Melody" sounds and "Alarm LED" flashes for 2 seconds. (S1006)

도 11은 본 발명의 일 실시예에 따른 암호화 알고리즘을 적용한 근접식 카드를 이용하여 도어를 해정하는 방식의 플로어 차트이다.11 is a floor chart of a door unlocking method using a proximity card to which an encryption algorithm is applied according to an embodiment of the present invention.

근접식 카드가 단말기에 접근시 일정영역에 들어오면(S1101) 단말기가 카드를 인식하여 Wake-up 되며(S1102) 카드가 등록된 카드인지 여부를 판단한다(S1103). 카드가 등록카드라면 "OK Melody"음이 나며 "OK LED"가 켜지면서 도어가 열리고(S1104) 등록된 카드가 아니라면 "Error Melody"음이 나고 "Alarm LED"가 2초동안 점멸된다(S1105).When the proximity card enters a certain area when the terminal approaches the terminal (S1101), the terminal recognizes the card and wakes up (S1102) and determines whether the card is a registered card (S1103). If the card is a registration card, it will sound "OK Melody" and the door will open with the "OK LED" on (S1104). If it is not a registered card, it will sound "Error Melody" and the "Alarm LED" will flash for 2 seconds (S1105). .

도 12는 본 발명의 일 실시예에 따른 근접식 카드를 단말기에 접근시 카드등록알고리즘을 설명하는 플로어 차트이다.12 is a floor chart illustrating a card registration algorithm when a proximity card approaches a terminal according to an embodiment of the present invention.

도 12를 참조하면, 먼저 근접식 카드를 안테나 영역에 근접시키면(S1201) 단말기에서 Anticollision을 수행한다(S1202). 상기 Anticollision은 여러 카드가 단말기에 근접시 여러카드중에서 한가지 카드만을 선택하여 수행하는 알고리즘이다.Referring to FIG. 12, first, when the proximity card approaches the antenna area (S1201), the terminal performs anticollision (S1202). The anticollision is an algorithm that selects and executes only one card among several cards when several cards approach the terminal.

상기 Anticollision을 수행한 이후 선택한 해당카드의 초기 key 값을 카드로 전송하고(S1203) 초기 key 값을 받은 카드는 단말기로 Memory접근 허용신호를 전송한다(S1204).After performing the anticollision, the initial key value of the selected card is transmitted to the card (S1203), and the card receiving the initial key value transmits a memory access permission signal to the terminal (S1204).

상기 카드로부터 Memory접근 허용신호를 받은 단말기는 Random 식을 이용하여 초기 ID를 생성하고 초기 key 값을 생성하며(S1205), 상기 초기 key 값을 이용하여 초기 ID값을 암호화하여 Range Sector에 분류 및 저장을 하는 동작을 수행한다(S1207), 상기 Range Sector는 분포정수와 공분산을 이용한 확률, 통계적인 방식으로 결정된 Data값을 저장하는 암호코드의 메모리 영역이다.The terminal receiving the memory access permission signal from the card generates an initial ID and generates an initial key value using a random equation (S1205), and encrypts the initial ID value using the initial key value to classify and store it in a range sector. In operation S1207, the range sector is a memory area of an encryption code that stores a data value determined in a statistical manner, using a probability of distribution and covariance.

상기 근접식 카드단말기는 카드로 암호화된 초기 key값, ID값을 카드로 전송하고 상기 값들을 근접식 카드와 근접식 카드단말기에 저장한다.(S1208, S1209)The proximity card terminal transmits the initial key value and ID value encrypted by the card to the card and stores the values in the proximity card and the proximity card terminal. (S1208, S1209)

상기 카드는 단말기로 저장완료신호를 전송하고(S1210) 단말기에서는 이를 확인 후 종료한다.The card transmits a storage completion signal to the terminal (S1210) and the terminal ends after checking it.

도 13 은 본 발명에 따른 근접식 카드를 근접식 카드단말기에 접근시켰을 때의 카드동작 알고리즘을 설명하는 플로우 차트이다.Fig. 13 is a flowchart illustrating a card operation algorithm when a proximity card according to the present invention is approached to a proximity card terminal.

도 13을 참고하면, 먼저 근접식 카드를 안테나 영역에 접근시키면(S1301) 카드에서 단말기로 카드번호를 전송하고(S1202) 단말기에서는 카드로 해당카드의 key값을 전송하며(S1303) 카드는 key 값에 해당하는 Memory영역을 활성화한다(S1304).Referring to FIG. 13, when the proximity card approaches the antenna area (S1301), the card number is transmitted from the card to the terminal (S1202), and the terminal transmits the key value of the corresponding card to the card (S1303). Activate the corresponding memory area (S1304).

상기 근접식 카드가 key 값에 해당하는 memory영역을 활성화한 후 단말기로 암호화된 ID 를 전송하며(S1305) 상기 근접식 카드 단말기에서는 상기 전송된 ID값을 해독(S1306)하여 비교, 판단한 후에 문의 개폐여부를 판단한다(S1307).After the proximity card activates the memory area corresponding to the key value, the encrypted ID is transmitted to the terminal (S1305). The proximity card terminal decrypts the transmitted ID value (S1306), compares and determines the door, and then opens and closes the door. It is determined whether or not (S1307).

상기 근접식 카드단말기에서는 소정의 방식에 의해서 key 값을 새로이 생성하며(S1308) 상기 새로운 key 값을 이용하여 ID값을 새로이 암호화한다(S1400).The proximity card terminal newly generates a key value by a predetermined method (S1308) and newly encrypts an ID value by using the new key value (S1400).

이후 Range Sector에 새로이 암호화된 ID를 분류 및 저장을 하며(S1311) 카드에 key값을 전송하고 새로운 암호화된 ID 값을 전송한 후 종료한다(S1312).After that, the newly encrypted ID is classified and stored in the Range Sector (S1311), the key value is transmitted to the card, and the new encrypted ID value is transmitted (S1312).

도 14는 본 발명에 따른 일 실시예로서 암호키 생성 알고리즘을 나타내는 플로우 차트이다.14 is a flowchart illustrating an encryption key generation algorithm as an embodiment according to the present invention.

도 14를 참조하면, 암호화과정의 암호문은 C=Pemod n 이며, 여기에서 C는 암호문이고 P는 평문이고 e는 공개키이며 n은 공동키이다.Referring to FIG. 14, the ciphertext of the encryption process is C = P e mod n, where C is a ciphertext, P is a plain text, e is a public key, and n is a common key.

복호화 과정의 암호문은 P=Cdmod n 이며 P는 평문이고 C는 암호문이며 d는 private key 이고 n 은 공동키이다.The ciphertext of the decryption process is P = C d mod n, P is plaintext, C is ciphertext, d is private key and n is common key.

먼저 공개되지 않은 홀수 p와 q를 선택하고(S1401) 공동키 "n"을 p와 q를 곱해서 구해내고(S1402) Euler 함수 ρ(n)=(p-1)(q-1) 식을 이용하여 ρ(n)을 구해낸다(S1403).First, select an undisclosed odd number p and q (S1401), and obtain the common key "n" by multiplying p and q (S1402) using the Euler function ρ (n) = (p-1) (q-1) To obtain ρ (n) (S1403).

상기 도면에 나타난 임의의 홀수 p, q 는 서로 같지 않으며 거의 같은 크기의 자릿수이어야 하고, (p-1) 과 (q-1)은 커다란 소인수를 각각 가져야 하며 (p-1) 과 (q-1)의 최대공약수는 작은 수이어야 한다(S1404).Arbitrary odd numbers p and q shown in the drawing are not equal to each other and should be almost the same number of digits, and (p-1) and (q-1) should have large prime factors, respectively, (p-1) and (q-1). The greatest common divisor of) should be a small number (S1404).

ρ(n) 과 서로소인 수 e를 선택하고 Euclid 호제법을 사용하여 d값을 구해내어(S1405) n과 e를 공개키로 사용하고(S1406) n과 d를 개인키로 사용한다(S1407).ρ (n) and the number e that are mutually different are selected, and d is obtained using Euclid's method (S1405). n and e are used as public keys (S1406), and n and d are used as private keys (S1407).

<실시예 1><Example 1>

p=7, q=11 을 선택하여 공동키 n=7 x 11=77 을 구하고, ρ(n)=(p-1)(q-1) 의 식을 이용하여 ρ(n)=(7-1) x (11-1) = 60 을 구한다. 또한 60과 서로소가 되도록 e=37을 선택하고 Euclid 호제법을 이용하여 e x d = 1 mod ρ(n) 식에서 37 x d = 1 mod 60 을 만족하는 d=13 을 구하여 n=77, d=37을 공개한다.Select p = 7, q = 11 to get the common key n = 7 x 11 = 77, and use the formula ρ (n) = (p-1) (q-1) ρ (n) = (7- 1) Find x (11-1) = 60. In addition, e = 37 is selected so as to be different from 60, and d = 13 satisfying 37 xd = 1 mod 60 is obtained from exd = 1 mod ρ (n) using Euclid method to reveal n = 77 and d = 37. do.

Read/Write용 근접식카드와 근접식인식부인 단말기로 구성된 암호화 알고리즘을 적용한 보안성을 갖춘 안전한 디지털도어락으로서 칩과 코일이 내장된 근접식카드를 단말기에 근접함에 따라 도어를 해정하고 출입할 수 있으며 외부플레이트의 상단에 번호 입력부를 장착하여 카드를 분실하여도 도어의 해정을 용이하게 할 수 있으며 Random하게 변화하는 ID는 고정된 값이 아닌 매번 변경되므로 해킹이 불가능하여 해킹되더라도 분실된 카드의 ID를 삭제하면 더 이상 분실된 카드는 사용할 수 없고 규칙이 매우 Random하여 개발자들도 그 규칙성을 찾을 수가 없을 정도이다.It is a secure digital door lock with a security algorithm that consists of a proximity card for read / write and a terminal that is a proximity recognition device.The door can be unlocked and entered as the proximity card with chip and coil is close to the terminal. Equipped with a number input unit on the top of the external plate, it is easy to unlock the door even if the card is lost.The ID that changes randomly is changed every time, not a fixed value. If you delete it, you can't use the lost card anymore and the rules are so random that developers can't find it.

따라서 보안이 더욱 용이하여 상기 실시예 이외에 출입통제시스템, 무선 리모콘, 디지털금고등 보안이 필요한 분야에 폭넓게 응용 될 수 있다.Therefore, the security can be more easily applied to a wide range of applications, such as access control system, wireless remote control, digital safe, etc. in addition to the above embodiment.

상술한 바와 같이, 본 발명의 바람직한 실시 예를 참조하여 설명하였지만 해당 기술 분야의 숙련된 당업자라면 하기의 특허청구범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.As described above, although described with reference to a preferred embodiment of the present invention, those skilled in the art will be variously modified and modified within the scope of the present invention without departing from the spirit and scope of the present invention described in the claims below. It will be appreciated that it can be changed.

Claims (10)

근접식카드에 의해 개폐가 가능한 디지털도어락에 있어서,In the digital door lock which can be opened and closed by a proximity card, 근접식카드(204)의 암호화된 데이터의 전송에 의해 도어를 개폐하는 근접식카드 단말기(401)를 포함하는 것을 특징으로 하는 디지털도어락.Digital door lock, characterized in that it comprises a proximity card terminal 401 for opening and closing the door by the transmission of the encrypted data of the proximity card (204). 디지털도어락의 개폐를 가능하게 하는 근접식카드에 있어서,In the proximity card that enables the opening and closing of the digital door lock, 상기 근접식카드(204)의 내부는 전송부(201)와 카드 메모리부를(202) 가지고 있으며, 상기 카드 메모리부에는 암호화된 키(key)값(704)과 메모리영역(703)을 포함하는 것을 특징으로 하는 근접식카드(204).The proximity card 204 has a transmission unit 201 and a card memory unit 202, and the card memory unit includes an encrypted key value 704 and a memory area 703. Characterized by proximity card 204. 제 1항에 있어서, 근접식 카드단말기(401)는The method of claim 1, wherein the proximity card terminal 401 is 상기 근접식 카드의 접근신호를 처리하는 신호처리부;A signal processor for processing an access signal of the proximity card; 키값과 ID값을 암호 생성 알고리즘으로 처리하는 암호화처리부;An encryption processing unit for processing the key value and the ID value with an encryption generation algorithm; 상기 처리한 데이터를 저장하는 단말기 메모리부;A terminal memory unit for storing the processed data; 상기 데이터 값에 의해 해정장치를 조절하는 조절부를 포함하는 것을 특징으로 하는 디지털도어락.And a control unit for adjusting the unlocking device according to the data value. 제 3항에 있어서, 상기 메모리부에는,The method of claim 3, wherein the memory unit, 상기 근접식 카드마다 부여된 카드번호값(801), 소정의 알고리즘에 의해 암호화되어 생성된 키(key)값(802), ID값(803)을 포함하는 것을 특징으로 하는 디지털도어락.And a card number value (801) assigned to each proximity card, a key value (802) generated by encryption by a predetermined algorithm, and an ID value (803). 제 4항에 있어서, key 값은,The method of claim 4, wherein the key value is, 소정의 방식을 이용하여 도출된 공개키와 개인키를 포함하는 것을 특징으로 하는 디지털도어락.A digital door lock comprising a public key and a private key derived using a predetermined method. 제 1항에 있어서, 근접식 카드 단말기(401)는 카드의 접근을 감지하며 카드접근에 따라 전원을 슬립모드 또는 활성화 모드로 변경시키는 센서(420)를 포함하는 것을 특징으로 하는 디지털도어락.The digital door lock according to claim 1, wherein the proximity card terminal (401) includes a sensor (420) for detecting the proximity of the card and changing the power to a sleep mode or an active mode according to the card access. 제 1항에 있어서, 디지털 도어락은 문의 개폐여부를 체크하는 자석감지기를 포함하는 것을 특징으로 하는 디지털도어락.The digital door lock of claim 1, wherein the digital door lock includes a magnet sensor for checking whether the door is opened or closed. 디지털도어락을 개폐하기 위한 근접식 카드를 등록하는 방법에 있어서,In the method of registering a proximity card for opening and closing the digital door lock, 복수개의 카드의 접근시 하나의 카드만을 선택하는 단계(S1202);Selecting only one card when approaching a plurality of cards (S1202); 상기 선택한 근접식카드의 초기 key값을 전송하는 단계(S1203);Transmitting an initial key value of the selected proximity card (S1203); 상기 key값을 전송 받은 근접식카드에서 해당 메모리의 접근허용신호를 근접식 카드단말기로 전송하는 단계(S1204);Transmitting the access permission signal of the corresponding memory to the proximity card terminal in the proximity card receiving the key value (S1204); 상기 신호를 받은 근접식 카드단말기에서 초기 key값과 초기 ID값을 생성하는 단계(S1205);Generating an initial key value and an initial ID value in the proximity card terminal receiving the signal (S1205); 상기 생성된 초기 key값과 초기 ID값을 암호화 과정을 통해 암호키를 생성하는 단계(S1400);Generating an encryption key by encrypting the generated initial key value and initial ID value (S1400); 상기 암호화된 초기 key값과 초기 ID값을 소정의 저장영역에 분류 및 저장하는 단계(S1207);Classifying and storing the encrypted initial key value and initial ID value in a predetermined storage area (S1207); 상기 암호화된 초기 key 값과 ID값을 상기 근접식카드로 전송하는 단계(S1208);Transmitting the encrypted initial key value and ID value to the proximity card (S1208); 상기 key값과 ID값을 근접식카드와 단말기에 저장하는 단계(S1209);Storing the key value and the ID value in a proximity card and a terminal (S1209); 상기 근접식 카드에서 근접식 카드단말기로 저장완료신호를 전송하는 단계(S1210);및 상기 전송신호를 확인 후 종료하는 단계;Transmitting a storage completion signal from the proximity card to a proximity card terminal (S1210); and checking and ending the transmission signal; 를 포함하는 것을 특징으로 하는 근접식 카드 등록 방법.Proximity card registration method comprising a. 근접식카드에 의해서 도어를 개폐하는 방법에 있어서,In the method of opening and closing the door by a proximity card, 근접식카드로 부터 근접식 카드단말기로 카드번호를 전송하는 단계(S1302);Transmitting the card number from the proximity card to the proximity card terminal (S1302); 상기 송신된 카드번호에 해당하는 Key값을 근접식 카드로 전송하는 단계(S1303);Transmitting a key value corresponding to the transmitted card number to a proximity card (S1303); 상기 송신된 key값에 의해서 해당 메모리영역을 활성화시키는 단계(S1304);Activating a corresponding memory area by the transmitted key value (S1304); 상기 활성화된 메모리에서 저장된 ID를 근접식 카드단말기로 전송하는 단계(S1305);Transmitting an ID stored in the activated memory to a proximity card terminal (S1305); 상기 송신된 ID를 소정의 방식에 의해 해독하고(S1306) 비교한 후 도어의 개폐여부를 판단하여 도어를 오픈(open)하는 단계(S1307);(S1307) decrypting the transmitted ID by a predetermined method (S1306), and then determining whether the door is opened or closed (S1307); 상기 도어의 오픈 후, 새로운 key 값을 소정의 방식으로 생성하고(S1308) 암호화에 의한 암호키를 생성하는 단계(S1400);After opening the door, generating a new key value in a predetermined manner (S1308) and generating an encryption key by encryption (S1400); 상기 새로이 암호화된 key 값과 ID값을 저장하는 단계(S1311); 및Storing the newly encrypted key value and ID value (S1311); And 상기 새로이 암호화된 key 값과 ID값을 근접식 카드로 전송하는 단계(S1312);Transmitting the newly encrypted key value and ID value to a proximity card (S1312); 를 포함하는 것을 특징으로 하는 도어 개폐방법.Door opening and closing method comprising a. 암호키 생성방법에 있어서,In the encryption key generation method, 공개되지 않은 소정의 홀수를 선택하는 단계(S1401);Selecting a predetermined odd number that is not disclosed (S1401); 상기 선택된 수에 의해 공동키를 구하는 단계(S1402);Obtaining a common key by the selected number (S1402); 상기 선택된 수를 가지고 오일러(Euler)함수를 구하는 단계(S1403);Obtaining an Euler function with the selected number (S1403); 상기 도출된 함수와 서로소인 수를 선택하는 단계(S1404);Selecting a number that is mutually different from the derived function (S1404); 상기 도출된 서로소인 수를 이용하여 유클리드(Euclid) 호제법에 의해 소정의 키를 구하는 단계(S1405); 및Obtaining a predetermined key by Euclid's method using the derived mutually significant numbers (S1405); And 상기 단계 1402와 단계 1404에서 도출된 값을 공개키로 사용하고 상기 단계 1402와 단계1405에서 도출된 값을 개인키로 사용하는 단계(S1406.S1407)를 포함하는 것을 특징으로 하는 암호키 생성방법.And using the values derived in steps 1402 and 1404 as a public key and using the values derived in steps 1402 and 1405 as a private key (S1406.S1407).
KR10-2003-0027267A 2003-04-29 2003-04-29 Digital doorlock using a key-code algorithm KR100509799B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2003-0027267A KR100509799B1 (en) 2003-04-29 2003-04-29 Digital doorlock using a key-code algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2003-0027267A KR100509799B1 (en) 2003-04-29 2003-04-29 Digital doorlock using a key-code algorithm

Publications (2)

Publication Number Publication Date
KR20040092852A true KR20040092852A (en) 2004-11-04
KR100509799B1 KR100509799B1 (en) 2005-08-24

Family

ID=37373180

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2003-0027267A KR100509799B1 (en) 2003-04-29 2003-04-29 Digital doorlock using a key-code algorithm

Country Status (1)

Country Link
KR (1) KR100509799B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101017128B1 (en) * 2011-01-18 2011-02-25 주식회사 진성기업 Electric type door-lock

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170124472A (en) * 2016-05-02 2017-11-10 이정륜 System and method for delivery service

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101017128B1 (en) * 2011-01-18 2011-02-25 주식회사 진성기업 Electric type door-lock

Also Published As

Publication number Publication date
KR100509799B1 (en) 2005-08-24

Similar Documents

Publication Publication Date Title
US8587405B2 (en) Electronic access control device
EP0924656B1 (en) Personal identification FOB
CN102330519B (en) Method for open electronic lock with enhanced security
US9495852B1 (en) Electronically switchable RFID tags
KR100483293B1 (en) Security system for preventing a personal computer from being stolen or used by unauthorized people
US20040036573A1 (en) Method and apparatus for providing access to a secure region
KR101668958B1 (en) Security system using a mobile smart terminal and facial recognition
WO1990015211A1 (en) Security system
JP2004348478A (en) Authentication system using ic card and ic card
KR101900446B1 (en) A Door lock apparatus and Door lock system using a piezoresistive sensor
CN104392525A (en) Intelligent lock system
Teh et al. NFC smartphone based access control system using information hiding
KR20210043875A (en) Security enhanced door lock and door security management system using that
WO2007011311A2 (en) Biometric transponder system
KR100509799B1 (en) Digital doorlock using a key-code algorithm
CN204229495U (en) A kind of intelligent lock system
CN100483443C (en) Biological key and biological lock
WO2005045779A1 (en) Service providing device, service providing program, computer-readable recording medium, service providing method, and queue unit
TWI542770B (en) NFC lock system and lock device
CN109743533B (en) Intelligent anti-theft door
KR100634567B1 (en) System for controlling opening/locking of door using mobile terminal and recording-medium storing controlling method
RU165926U1 (en) ELECTRONIC ACCESS DEVICE FOR VEHICLE SAFETY SYSTEM
KR200217982Y1 (en) Door opening-shutting apparatus using fingerprints and key recognition
CN107856636A (en) A kind of control system based on fingerprint and intelligent key unlocking automobile
KR102239276B1 (en) Security enhanced door lock and door security management system using that

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20100817

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee