KR100236407B1 - Locker and recording apparatus therewith - Google Patents

Locker and recording apparatus therewith Download PDF

Info

Publication number
KR100236407B1
KR100236407B1 KR1019910022856A KR910022856A KR100236407B1 KR 100236407 B1 KR100236407 B1 KR 100236407B1 KR 1019910022856 A KR1019910022856 A KR 1019910022856A KR 910022856 A KR910022856 A KR 910022856A KR 100236407 B1 KR100236407 B1 KR 100236407B1
Authority
KR
South Korea
Prior art keywords
code
lock
key device
response
unique
Prior art date
Application number
KR1019910022856A
Other languages
Korean (ko)
Other versions
KR930013408A (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 KR1019910022856A priority Critical patent/KR100236407B1/en
Publication of KR930013408A publication Critical patent/KR930013408A/en
Application granted granted Critical
Publication of KR100236407B1 publication Critical patent/KR100236407B1/en

Links

Classifications

    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B49/00Electric permutation locks; Circuits therefor ; Mechanical aspects of electronic locks; Mechanical keys therefor

Abstract

비접촉으로 적어도 자물쇠 잠금해제가 가능한 자물쇠 잠금장치를 실현하여, 열쇠장치가 정규아닌 복제를 실2질적으로 불가능하게 한다.By realizing a lock lock that can be unlocked at least in contact without lock, the key device practically makes non-normal duplication possible.

열쇠장치(10)의 조작버튼(21)을 조작하면, 열쇠장치(10)는 그 발광부(12)로부터 호출코드를 출력한다.When the operation button 21 of the key device 10 is operated, the key device 10 outputs a call code from the light emitting portion 12.

이 호출코드를 접수하여, 자물쇠 제어장치(11)는 램덤한 99개의 응답코드와 이 조(組)의 자물쇠 잠금장치에 고유한 단 하나의 응답코드를 출력한다.Accepting this call code, the lock control device 11 outputs a random 99 response codes and only one response code unique to this lock lock device.

고유코드의 위치는, 난수에 의하여 결정된다.The location of the unique code is determined by a random number.

따라서, 외부로부터는, 어느것이 고유코드 인가를 알려는 것은 쉽지가 않다.Therefore, it is not easy to know from the outside which is the unique code.

고유코드가 출력되면, 열쇠장치(10)는 이 코드를 받아서, 인식코드(S)를 생성하여, 이것을 출력한다.When the unique code is outputted, the key device 10 receives this code, generates a recognition code S, and outputs it.

이 인식코드(S)를 받아, 자물쇠 제어장치(11)는, 인식코드가 바른 코드라면, 도어(1)의 자물쇠 잠금을 해제한다.Receiving this identification code S, the lock control device 11 unlocks the lock of the door 1, if the identification code is correct.

또한, 인식코드가 틀렸거나, 응답이 없는 경우에는, 호스트 컴퓨터(15)에 통지를 한다.If the recognition code is incorrect or there is no response, the host computer 15 is notified.

Description

자물쇠 잠금장치 및 이에 사용되는 기록장치Padlock locks and recording devices used therein

제1도는, 본 발명의 기본적인 구성을 예시하는 블록도,1 is a block diagram illustrating the basic configuration of the present invention;

제2도는, 본 발명의 1실시예인 자물쇠 잠금장치의 사용상태를 나타낸 사시도,2 is a perspective view showing a state of use of the lock lock device which is an embodiment of the present invention,

제3도는, 실시예의 자물쇠 잠금장치를 구성하는 열쇠장치와 자물쇠 제어장치의 개략 구성을 나타낸 블록도,3 is a block diagram showing a schematic configuration of a key device and a lock control device constituting the lock lock device of the embodiment;

제4도는, 열쇠장치에서의 조작버튼 개입루틴의 개요를 나타낸 플로우차트,4 is a flowchart showing an outline of an operation button intervention routine in the key device;

제5도는, 자물쇠 제어장치에서의 응답코드 처리루틴의 개요를 나타낸 플로우차트,5 is a flowchart showing an outline of a response code processing routine in the lock control device;

제6도는, 제5도의 자물쇠 제어장치에서의 신호입력 개입 처리루틴을 나타낸 플로우차트,6 is a flowchart showing a signal input intervention processing routine in the lock control device of FIG. 5;

제7도는, 열쇠장치와의 코드 정보의 주고 받기 모양을 나타낸 타이밍차트,7 is a timing chart showing how the code information with the key device is exchanged;

제8도는, 응답 코드 기록장치를 구성하는 호스트 컴퓨터의 요부를 나타낸 블록도,8 is a block diagram showing the main parts of a host computer constituting a response code recording apparatus;

제9도는, 응답코드의 갱신을 위한 열쇠장치쪽의 수순을 나타낸 코드 초기화 처리 루틴의 플로우차트,9 is a flowchart of a code initialization processing routine showing a procedure of a key device for updating a response code;

제10도는, 제7도의 호스트 컴퓨터쪽의 수순을 나타낸 호스트쪽 코드초기화 처리루틴을 나타낸 플로우 차트이다.FIG. 10 is a flowchart showing a host-side code initialization processing routine showing the procedure of the host computer in FIG.

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

1 : 도어 2 : 소형 모우터1: door 2: small motor

3 : 문빗장 5 : 오목부3: door lock 5: recess

7 : 문빗장 구동기구 10 : 열쇠장치7: door lock drive mechanism 10: key device

11 : 자물쇠 제어장치 12 : 발광(發光)부11: lock control device 12: light emitting unit

13 : 수광(受光)부 14 : 통신 케이블13 light-receiving unit 14 communication cable

15 : 호스트 컴퓨터 17 : 핸들15: host computer 17: handle

19 : 래치 구동기구 20 : 래치19: latch driving mechanism 20: latch

21 : 조작버트 23 : 발광부21: Operation Butt 23: Light Emitting Part

25 : 수광부 31 : MPU25: light receiver 31: MPU

33 : EEPROM 41 : MPU33: EEPROM 41: MPU

43 : EEPROM 45 : 리세트 버튼43: EEPROM 45: Reset Button

101 : CPU 102 : ROM101: CPU 102: ROM

103 : RAM 105 : 입출력 포트103: RAM 105: I / O port

112 : 발광부 113 : 수광부112: light emitting unit 113: light receiving unit

본 발명은, 자물쇠 잠금장치 및 이 자물쇠 잠금장치에 사용하는 응답 코드 기록장치에 관한 것으로, 상세하게는 문을 물리적으로 폐쇄하는 자물쇠 본체와 이것을 비접촉으로 자물쇠를 여는 열쇠장치로 되는 자물쇠 잠금장치 및 그의 관련장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a lock lock device and a response code recording device for use in the lock lock device. More specifically, the lock lock device includes a lock body for physically closing a door and a key device for opening the lock in a non-contact manner. It relates to a related device.

종래의 자물쇠 잠금장치는, 자물쇠 본체의 열쇠구멍에 열쇠를 삽입하여, 양자가 접촉한 상태에서 물리적으로 자물쇠 여는 조작을 하는 것이 일반적이다.In the conventional lock locking device, it is common to insert a key into the keyhole of the lock main body and to physically open the lock in a state where both are in contact with each other.

카드 형상의 열쇠에 수비트의 코드를 나타내는 구멍을 뚫거나 자석을 묻거나한 전자키라고 호칭되는 것도 존재 하지만, 이들은, 대응하는 열쇠구멍에 카드등을 꽂아넣으므로써, 개구부의 위치나 자석의 위치를 검출하여 정규의 열쇠로서 인식된다면 전자석이나 모우터를 구동하여 자물쇠를 여는 것이다.Some of them are called electronic keys, which are made by drilling a hole representing a few bits of code into a card-shaped key or by embedding a magnet, but they can be used to adjust the position of the opening or the position of the magnet by inserting a card into the corresponding keyhole. If it is detected and recognized as a regular key, the lock is opened by driving an electromagnet or motor.

이 경우, 카드의 복제는 용이한 것이기 때문에, 도어를 부착한 패널로 많은 자릿수 수치를 입력 시키는 등의 방법으로 비밀 확보하고 있다.In this case, since card duplication is easy, a secret is secured by inputting a large number of digits into a panel with a door.

한편, 비접촉으로 자물쇠 여는 조작이 가능한 자물쇠 잠금장치는, 자동차의 도어용으로 사용되는 용도가 한정되어 있는 것이 현상태이다.On the other hand, the lock-locking device which can operate a lock-opening by a non-contact is the present state that the use used for the door of an automobile is limited.

이것은, 노이즈에 의한 오조작의 가능성이 조금이라도 있으면, 자물쇠 잠금 장치로서의 신뢰성은 전혀 유지할수 없고, 도대체가 자물쇠 잠금장치로서의 몸체가 되지 않기 때문이다.This is because, if there is any possibility of false operation by noise, the reliability as the lock locking device cannot be maintained at all, and the whole body does not become the body as the lock locking device.

비접촉으로 자물쇠 여는 조작을 가능하게 하는 경우에는, 미리 정한 코드를 열쇠장치로 전파나 초으파 등으로 출력하고, 자물쇠 본체쪽의 수신기가 이것을 받아서 적정한 코드라면 자물쇠를 여는 구성이 고려된다.In the case where the lock opening operation can be performed in a non-contact manner, a configuration may be considered in which a predetermined code is output by a key device through radio waves, ultrasonic waves, or the like, and the lock is opened if the receiver on the lock body receives the appropriate code.

그러나, 열쇠장치로부터 자물쇠 잠금해제(이하 잠금해제라함)용의 코드를 발신하는 구성에서는, 하나 하나의 열쇠장치에 고유의 코드를 부여할 필요가 있으며, 통상 이러한 코드는 PROM 등에 기록되기 때문에, 열쇠장치를 입수하면 코드를 해석하는 것이 용이하고, 신뢰성에 나빠진다는 문제가 있었다.However, in the configuration of sending a code for unlocking a lock (hereinafter referred to as unlocking) from the key device, it is necessary to assign a unique code to each key device, and since such a code is usually recorded in a PROM or the like, the key When a device is obtained, there is a problem that it is easy to interpret the code, and the reliability thereof becomes poor.

더구나, 비접촉으로 자금해제 조작을 가능케하는 구성을 채택하면, 열쇠장치로부터 잠금해제에 필요한 코드를 외부 공간으로 발신하게 되어 잠금 해제용 코드의 해석은 더욱 용이하게 된다.Moreover, by adopting a configuration that enables contact release of funds in a non-contact manner, the code necessary for unlocking is transmitted from the key device to the external space, so that the interpretation of the unlocking code becomes easier.

이 때문에, 열쇠장치 쪽으로부터 자물쇠 본체쪽으로 향해서 코드를 발신하는 형태의 잠금 해제장치에서는, 열쇠장치의 불법 복제(이른바 맞는 열쇠제작)를 방지하는 것이 곤란 하였다.For this reason, in the unlocking device of the type in which the code is sent from the key device side to the lock main body, it is difficult to prevent illegal copying of the key device (so-called key production).

따라서, 호텔의 도어등 부특정 다수에 의해 취급되는 자물쇠 잠금장치에서는, 맞는열쇠의 불법복제의 가능성을 고려하여, 소정기간 마다 자물쇠 본체와 열쇠장치를 교환하는 것이 통상이었고, 많은 일손과 시간, 장치의 낭비를 가져왔었다.Therefore, in the lock lock device handled by an unspecified number of doors, such as a hotel door, it was common to replace the lock body and the key device every predetermined period in consideration of the possibility of illegal copying of the correct key. Had brought waste.

본 발명의 자물쇠 잠금장치는, 이러한 문제를 해결하여, 비접촉으로 잠금해제가 가능 하면서도, 코드의 해석이나 복제가 사실상 불가능한 자물쇠 잠금장치를 실현하는 것을 목적으로 하여 이루어지고, 다음의 구성을 채택 하였다.The lock lock device of the present invention solves such a problem, and aims at realizing a lock lock device that can be unlocked in a non-contact manner, but practically impossible to interpret or duplicate codes, and adopts the following configuration.

본 발명의 자물쇠 잠금장치는, 제1도의 블록도에 예시한 바와 같이, 문을 물리적으로 폐쇄하는 자물쇠 본체 (M1)와, 적어도 잠금해제 조작을 지시하는 지시수단 (M2)을 가지며 상기 자물쇠 본체 (M1)를 비접촉으로 잠금해제하는 열쇠를 구비한 자물쇠 잠금장치로서, 상기 열쇠장치 (M3)에 설치되어, 지시수단 (M2)에 의한 잠금해제 지시에 따라서 호출코드를 출력하는 코드 출력수단 (M4)과, 이 호출코드를 받았을때, 미리 그 자물쇠 본체 (M1)와 조합하게 되는 열쇠장치 (M3)에 고유의 코드로서 정의된 코드를 포함한 복수의 응답 코드를 출력하는 응답코드 출력수단 (M5)과, 상기 열쇠장치 (M3)에 설치되어, 이 출력된 복수의 응답 코드를 받아서 그 열쇠장치 (M3)에 고유의 응답코드에 대응한 코드를 인식 했을때, 미리 정해진 또는 미리 정해진 수속에 따라서 생성되는 인식코드를 출력하는 인식코드 출력수단 (M6)과, 이 인식코드를 받았을때, 상기 자물쇠 본체 (M1)를 잠금해제 상태로 하는 잠금해제 수단 (M7)과,를 구비한 것을 요지로 한다.The lock lock apparatus of the present invention, as illustrated in the block diagram of FIG. 1, has a lock body M1 for physically closing a door, and at least an instruction means M2 for instructing an unlocking operation. A lock lock device having a key for unlocking M1 in a non-contact manner, the lock device being provided in the key device M3 and outputting a call code in accordance with an unlocking instruction by the indicating means M2. And response code output means M5 for outputting a plurality of response codes including a code defined as a code unique to the key device M3 which is combined with the lock main body M1 in advance when the call code is received; Is installed in the key device M3, and receives the output of the plurality of response codes and generates a code according to a predetermined or predetermined procedure when the key device M3 recognizes a code corresponding to a unique response code. Identification code output means (M6) for outputting the identification code and, when receiving the identification code, and comprising an unlocking means (M7), and that the lock body (M1) to the unlocked state to the base.

여기서, 열쇠장치 (M3)와 주고 받기하는 각 코드는 광학적인 신호로서 출력되는 구성을 취할 수가 있다.Here, each code exchanged with the key device M3 can take the configuration of being output as an optical signal.

광학적인 신호에 의해 주고받기 하는 것으로, 잡음에 대하여 강해지고, 더구나 지향성을 부여할 수 있기 때문에, 자물쇠 잠금장치로서 알맞은 것이다.It is suitable as a lock lock because it can be strong against noise and can provide directivity by sending and receiving by an optical signal.

이러한 자물쇠 잠금장치를 취급하는 것으로서, 응답코드 기록장치의 발명이 이루어졌다.By dealing with such a lock locking device, the invention of the response code recording device has been made.

그 응답코드 기록장치는, 자물쇠 잠금본체 (M1)의 한쌍으로된 열쇠장치 (M3)와 응답코드 출력수단 (M5)에 대하여, 그 한쌍에 고유의 응답코드 또는 이 코드에 대응한 코드를 기록하는 기록수단 (N)을 구비한 것을 요지로 한다.The response code recording apparatus records a unique response code or a code corresponding to the code in the pair with respect to the pair of key devices M3 and the response code output means M5 of the lock lock body M1. The summary is provided with the recording means (N).

이상과 같이 구성된 본 발명의 자물쇠 잠금장치에서는, 자물쇠 본체 (M1)의 잠금해제는, 열쇠장치 (M3)와 자물쇠 본체 (M1)쪽과의 서로의 주고 받기에 의하여 실현된다.In the lock locking device of the present invention configured as described above, unlocking of the lock main body M1 is realized by the exchange between the key device M3 and the lock main body M1.

이하에 주고받기를 설명한다.Sending and receiving will be described below.

열쇠장치 (M3)에 설치된 지시수단 (M2)에 의해 잠금해제 조작을 지시하면, 열쇠장치 (M3)에 설치된 코드 출력수단 (M2)이, 호출코드를 출력한다.When the unlocking operation is instructed by the instruction means M2 provided in the key device M3, the code output means M2 provided in the key device M3 outputs the call code.

이 호출코드를 받았을때, 응답코드 출력수단 (M5)이, 미리 그 자물쇠 본체 (M1)와 조합하게 되는 열쇠장치 (M3)에 고유의 코드로서 정의된 코드를 포함한 복수의 응답코드를 출력한다.Upon receiving this call code, the response code output means M5 outputs a plurality of response codes including a code defined as a unique code to the key device M3, which is to be combined with the lock body M1 in advance.

이 출력된 복수의 응답코드는, 열쇠장치 (M3)에 설치되어 인식코드 출력수단 (M6)에 의해 받아진다.The output plurality of response codes are provided in the key device M3 and received by the recognition code output means M6.

인식코드 출력수단 (M6)은, 그 열쇠장치 (M3)에 고유의 응답코드에 대응한 코드를 인식 했을때, 미리 정해진 또는 미리 정해진 수속에 따라서 생성되는 인식코드를 출력한다.Recognition code output means M6, when recognizing the code corresponding to the response code unique to the key device M3, outputs a recognition code generated according to a predetermined or predetermined procedure.

이 인식코드는 잠금해제 수단 (M7)에 의해 받아진다.This identification code is received by the unlocking means M7.

잠금해제 수단 (M7)은, 인식코드를 받으면, 문을 물리적으로 폐쇄하고 있던 자물쇠 본체 (M1)를 잠금해제 상태로 한다.Upon receiving the identification code, the unlocking means M7 sets the lock main body M1 that has physically closed the door to the unlocked state.

한편, 이 자물쇠 잠금장치를 취급하는 발명인 응답코드 기록장치에서는, 기록수단 (N)에의해, 자물쇠 잠금장치의 한쌍으로된 열쇠장치 (M3)와 응답코드 출력수단 (M5)에 대하여, 그 한쌍에 고유의 응답코드 또는 이 응답코드에 대응한 코드를 기록한다.On the other hand, in the response code recording device of the inventor who handles the lock lock device, the record means (N) provides a pair of locks (M3) and response code output means (M5) of the lock lock device. Record a unique response code or a code corresponding to this response code.

[실시예]EXAMPLE

이상 설명한 본 발명의 구성 작용을 더한층 명확하게 하기 위하여, 이하 본 발명의 알맞은 실시예에 대해서 설명한다.In order to further clarify the constitution of the present invention described above, preferred embodiments of the present invention will be described below.

제2도는, 실시예로서의 자물쇠 잠금장치의 구성예를 나타낸 사시도, 제3도는, 자물쇠 본체쪽과 열쇠장치의 구성을 나타낸 블록도이다.2 is a perspective view showing an example of the configuration of the lock locking device as an embodiment, and FIG. 3 is a block diagram showing the configuration of the lock main body and the key device.

본 실시예에서는, 자물쇠 본체는, 호텔의 도어(1)에 묻혀졌으며, 소형 모우터(2)에 의해 문빗장(3)을 벽쪽의 오목부(5)에 삽입 이탈 시키는 문빗장 구동기구(7), 열쇠장치(10)와 광통신에 의해 정보를 문빗장 구동기구(7)를 직접구동하는 자물쇠 제어장치(11)로 구성되어 있다.In the present embodiment, the lock main body is buried in the door 1 of the hotel, the door lock drive mechanism 7 for inserting and removing the door lock 3 in the recess 5 of the wall by the small motor 2, The key device 10 and the lock control device 11 which drives the door lock drive mechanism 7 directly by optical communication are comprised.

자물쇠 제어장치 (11)가 묻혀진 부위의 도어 (1)표면에는, 개구부가 2개 설치되어 있으며, 이 개구부에 자물쇠 제어장치 (11)의 케이싱체에 부착된 광통신용의 발광부 (12)와 수광부 (13)가 임해있다.On the surface of the door 1 at the portion where the lock control device 11 is buried, two openings are provided, and the light emitting part 12 and the light receiving part for optical communication attached to the casing of the lock control device 11 are provided in the opening. (13) comes up.

자물쇠 제어장치 (11)는, 응답코드 출력수단과, 잠금해제 수단에 대응한다.The lock control apparatus 11 corresponds to the response code output means and the unlocking means.

또한, 이들 문빗장 구동기구 (7) 및 자물쇠 제어장치 (11)에는, 도시하지 않는 전원 케이블로부터 구동전원이 공급되고 있다.In addition, drive power is supplied to these door lock drive mechanism 7 and the lock control device 11 from the power supply cable which is not shown in figure.

호텔의 각 도어 (1)마다 이들 자물쇠 제어장치 (11)등이 설치되어 있으며, 모든 자물쇠 제어장치 (11)는, 통신 케이블 (14)을 통하여, 호스트 컴퓨터 (15)와 서로 통신이 가능하게 접속 되어있다.These lock control devices 11 and the like are provided in each door 1 of the hotel, and all the lock control devices 11 are connected to the host computer 15 so as to be able to communicate with each other via the communication cable 14. It is.

또한, 도어 (1)에는, 도어 (1)를 열기위한 핸들 (17)도 설치되어 있으며, 문빗장 (3)이 오목부 (5)로부터 이탈한 상태에서 이 핸들 (17)을 아래 방향으로 회전 조작하면, 래치 구동기구 (19)에 의해 래치 (20)가 벽쪽 오목부로부터 빠져서, 도어 (1)를 열수 있게된다.The door 1 is also provided with a handle 17 for opening the door 1, and the handle 17 is rotated downward in a state where the door latch 3 is separated from the recess 5. The latch drive mechanism 19 allows the latch 20 to come out of the wall recess and open the door 1.

열쇠장치 (10)는, 제2도에 나타낸 바와같이, 단면 정방형 스틱 형상의 부재이며, 한쪽면에 조작버튼 (21)이 설치되어 있으며, 그 동일한 면에, 대응하는 호텔의 방번호가 가입되어 있다.As shown in FIG. 2, the key device 10 is a square-shaped square stick-shaped member, and an operation button 21 is provided on one side, and the room number of the corresponding hotel is joined to the same side. have.

제2도에는 도시되지 않았으나, 선단에는, 광통신을 실시하기 위한 발광부 (23)와 수광부 (25)가 설치되어 있다(제3도참조).Although not shown in FIG. 2, a light emitting portion 23 and a light receiving portion 25 for performing optical communication are provided at the tip (see FIG. 3).

자물쇠 제어장치(11)의 발광부(12) 및 열쇠장치(10)의 발광부(23)는, 적외선 광을 발신하는 LED를 사용하여 구성되어 있으며, 그 수광부(13) 및 수광부(25)는, 적외선 광에 감응 하는 포트 다이오드를 사용하여 구성되어 있다.The light emitting part 12 of the lock control apparatus 11 and the light emitting part 23 of the key device 10 are comprised using the LED which transmits infrared light, The light receiving part 13 and the light receiving part 25 are It is constructed using a port diode that is sensitive to infrared light.

자물쇠 제어장치(11)와 열쇠장치(10)의 내부구성에 대해서 설명한다.The internal structure of the lock control apparatus 11 and the key apparatus 10 is demonstrated.

제3도에 나타낸 바와같이, 자물쇠 제어장치(11)는 제어 프로그램을 기억한 ROM 및 작업용 RAM을 내장하고, 입출력 포트를 갖춘 원칩 마이크로 프로세서(이하, MPU라 호칭함)(31), 이 자물쇠 잠금장치에 고유의 응답코드를 기억하는 EEPROM(33)을 구비한다.As shown in FIG. 3, the lock control device 11 is a one-chip microprocessor (hereinafter referred to as MPU) 31, which has a built-in ROM storing a control program and a working RAM, and has an input / output port. The device is provided with an EEPROM 33 for storing a unique response code.

한편, 열쇠장치(10)는, 자물쇠 제어장치(11)와 동일하게 MPU(41)과 EEPROM(43)로 구성되어 있다.On the other hand, the key device 10 is composed of the MPU 41 and the EEPROM 43 similarly to the lock control device 11.

MPU(31), MPU(41)는, 그 출력포트를 통하여 발광부(12), 발광부(23)를 직접구동하여, 위상변조된 신호를 출력 할 수가 있다.The MPU 31 and the MPU 41 can drive the light emitting unit 12 and the light emitting unit 23 directly through the output port to output a phase-modulated signal.

또, 입력포트를 센서(sense)하여, 서로 상대방이 출력하는 신호를 판독할 수가 있다. 자물쇠 제어장치(11)와 열쇠장치(10)의 EEPROM(33), (43)에는 호스트 컴퓨터(15)에 의해 동시에 동일한 응답코드가 기록되지만, 기록수법에 대해서는, 후술한다.In addition, the input ports can be sensed to read signals output from each other. The same response code is simultaneously recorded in the EEPROMs 33 and 43 of the lock control device 11 and the key device 10 by the host computer 15, but the recording method will be described later.

또, 열쇠장치(10)의 MPU(41)는, 조작버튼 (21)의 조작을 개입(interrupt)신호원으로 하고 있으며, 조작버튼(21)이 조작되면 제4도에 나타낸 조작버튼 인터럽트 루틴을 실행한다.The MPU 41 of the key device 10 uses the operation of the operation button 21 as an interrupt signal source. When the operation button 21 is operated, the operation button interrupt routine shown in FIG. Run

MPU(41)는, 수광부(25)로부터의 신호를 판독하고, 발광부(23)를 제어하여 자물쇠 제어장치(11)와의 통신을 실현한다.The MPU 41 reads the signal from the light receiving unit 25, controls the light emitting unit 23 to realize communication with the lock control device 11.

한편, 자물쇠 제어장치(11)의 MPU(31)는, 수광부(13)로부터의 신호를 판독하여 발광부(12)를 제어하여 열쇠장치(10)와의 통신을 실행한다.On the other hand, the MPU 31 of the lock control device 11 reads the signal from the light receiving unit 13 to control the light emitting unit 12 to communicate with the key device 10.

MPU(31)는, 제5도에 나타낸 응답코드 처리루틴을 정상(定常)적으로 실행하고 있다.The MPU 31 executes the response code processing routine shown in FIG. 5 normally.

MPU(31)는, 수광부(13)로부터의 신호를 인터럽트 신호로서 취급 할수도 있고, 인터럽트 마스크(interrupt mask)가 해제된 경우에는, 제6도에 나타낸 인터럽트 처리루틴을 실행한다.The MPU 31 may treat the signal from the light receiving section 13 as an interrupt signal, and if the interrupt mask is released, the MPU 31 executes the interrupt processing routine shown in FIG.

각 도면에 나타낸 처리는, 서로 주고받기하는 코드를 참조하면서 실시되므로, 순차로 참조도면을 바꾸어서 이하에 설명 하지만, 이해의 편의를 도모하기 위해서, 제4도의 플로우 차트에 나타낸 각 스텝을 400번대의 숫자로, 제5도의 플로우 차트에 나타낸 각 스텝을 500번대의 숫자로, 제6도의 플로우 차트에 나타낸 각 스텝을 600번대의 숫자로 각각 나타내는 것으로 한다.Since the processing shown in each drawing is performed while referring to the codes to be exchanged with each other, the reference drawings will be changed in order in the following, but for convenience of understanding, 400 steps are shown for each step shown in the flowchart of FIG. Numerically, each step shown in the flowchart of FIG. 5 is represented by 500 numbers, and each step shown in the flowchart of FIG. 6 is represented by 600 numbers.

호텔의 객실을 사용하는 자가 열쇠장치(10)를 가지고서, 도어(1)앞에 이르러, 발광부(23), 수광부(25)를 도어(1)쪽으로 향해서 조작버튼(21)을 누른다.A person using a guest room of the hotel, with the key device 10, arrives in front of the door 1 and pushes the operation button 21 toward the light emitting part 23 and the light receiving part 25 toward the door 1.

조작버튼(21)의 조작을 받아서, 열쇠장치(10)의 MPU(41)는, 제4도에 나타낸 인터럽트 처리를 시작하여, 먼저 호출코드(C)를 출력하는 처리를 실시한다(스텝 S 400).In response to the operation of the operation button 21, the MPU 41 of the key device 10 starts the interrupt process shown in FIG. 4, and first performs a process of outputting the call code C (step S 400). ).

이어서, 수광부(25)로부터 신호를 입력하여(스텝 S 410), 소정시간 경과내에 신호의 입력이 없다고 판단 되어서(스텝 S 420), [RTN]으로 빠지고서 본 인터럽트 루틴을 종료하기까지, 신호를 입력하는 처리(스텝 S 410) 및 헤더(header)가 검출되는지 안되는지의 판단(스텝 S 430)을 되풀이 한다.Subsequently, a signal is input from the light receiving unit 25 (step S410), and it is determined that there is no signal input within a predetermined time period (step S420), and the signal is released until [RTN] ends and the interrupt routine is completed. The process of input (step S410) and the determination of whether or not the header is detected (step S430) are repeated.

도어(1)쪽의 자물쇠 제어장치(11)의 MPU(31)는, 제5도에 나타낸 응답코드 처리루틴을 항상 실행하고 있으며, 수광부(13)로의 신호의 입력을 끊임없이 감시하고 있다(스텝 S 500).The MPU 31 of the lock control device 11 on the door 1 side always executes the response code processing routine shown in FIG. 5 and constantly monitors the input of the signal to the light receiving unit 13 (step S). 500).

따라서, 열쇠장치(10)로부터 호출코드(C)가 출력되면, 이것을 검출하여(스텝 S 505), 1에서 100까지의 사이의 정수(整數)의 난수(亂數)를 발생 시켜서 이것을 변수(×)에 대입하는 처리를 실시한다(스텝 S 510).Therefore, when the call code C is output from the key device 10, this is detected (step S505), and a random number of integers between 1 and 100 is generated to generate a variable (x). ) Is executed (step S510).

또한, 변수 (n)를 초기화 하기 위하여 값 (1)을 대입하고(스텝 S 515), 플래그(F)에 값(0)을 세트하는 처리를 실시한다(스텝 S 520).In addition, in order to initialize the variable (n), a value (1) is substituted (step S 515), and a process of setting the value 0 to the flag F is performed (step S 520).

이어서, 난수를 대입한 변수(×)가 변수(n)의 값에 동일한지 아닌지의 판단을 실시한다(스텝 S 530).Next, a judgment is made as to whether or not the variable x into which the random number is substituted is equal to the value of the variable n (step S530).

변수(n)는 후술하는 바와같이, 초기값 1부터 차례로 증가되기 때문에, 결국은, 변수(×)와 동일하게 된다고 고려된다.Since the variable n is sequentially increased from the initial value 1 as described later, it is considered that the variable n eventually becomes the same as the variable x.

변수(×)와 (n)와의 값이 동일하지 않는 경우에는, 더미 데이타(dummy data)로서 값 (0)으로부터 2의 20승 까지의 범위의 정수의 난수를 발생하여, 이것을 변수(R)에 대입하는 처리를 실시한다(스텝 S 540).If the values of the variables (x) and (n) are not equal, random integers ranging from the value (0) to the power of 2 to 2 are generated as dummy data, which is converted into the variable R. Substitutive processing is performed (step S540).

2의 20승개의 정수 가운데의 하나를 램덤(random)하게 선택 하므로, 그 값이 미리 EEPROM(33)에 기억된 이 자물쇠 잠금장치의 고유의 코드에 동일하게 되는 확률은 낮지만, 일치하는 가능성도 존재하므로 이것을 체크하여(스텝 S 545), 일치하지 않았으면, 이 변수(R)에 해더(H)를 붙여서, 응답코드로 하여, 발광부(12)를 구동하여 출력하는 처리를 실시한다(스텝 S 550).Since randomly one of the 20 powers of 2 is randomly selected, the probability that the value is equal to the unique code of this lock lock previously stored in the EEPROM 33 is low, but the probability of matching If it is present, this is checked (step S545). If it does not match, a header H is attached to this variable R, and a response code is used to drive and output the light emitting unit 12 (step). S 550).

그후, 변수(n)를 값(1) 만큼 인크리멘트(increment)하고 (스텝 S 555), 변수(n)가 값 (100)을 초과했는지 안했는지의 판단을 실시하여(스텝 S 560), 값 (100)을 초과 할 때까지 스텝(S 530)이하의 처리를 되풀이 한다.Thereafter, the variable n is incremented by the value 1 (step S 555), and it is judged whether or not the variable n exceeds the value 100 (step S 560). The process below step S530 is repeated until the value 100 is exceeded.

몇번씩 더미 데이터(R)를 응답코드로서 출력하고 있는 동안에, 변수(N)의 값은 차차로 커지게 되어서 변수(×)에 동일 해지는 타이밍이 반드시 존재한다.While the dummy data R is outputted as a response code several times, the value of the variable N becomes larger gradually and there is a timing at which the variable X becomes the same.

이때, 처리는, 스텝(S 570)으로 옮겨서, 해더를 붙여서, 미리 자물쇠 제어장치(11)의 EEPROM(33)에 기억된 이 자물쇠 제어장치(11)와 열쇠장치(10)의 조합에 고유의 응답코드(이하, 이를 고유코드라 호칭함) (D)를 발광부(12)를 구동하여 출력하는 처리를 실시한다.At this time, the process moves to step S570, attaches a header, and is inherent to the combination of the lock control device 11 and the key device 10 stored in the EEPROM 33 of the lock control device 11 in advance. The response code (hereinafter referred to as unique code) (D) is driven to output the light emitting unit 12 by outputting it.

고유코드(D)을 출력한후, 플래그(F)에 값(1)을 세트하고(스텝 S 575), 변수(n)를 값(1) 만큼 인크리멘트하여 (스텝 S 555), 변수(n)가 값(100)을 초과할때까지, 상술한 스텝(S 530)으로부터의 처리를 되풀이 한다.After outputting the unique code D, the value 1 is set in the flag F (step S 575), the variable n is incremented by the value (1) (step S 555), and the variable ( The process from step S530 described above is repeated until n) exceeds the value 100.

따라서, 이들 처리가 되풀이 됨으로써, 고유코드(D)를 램던한 위치에서 구비된 100개의 응답코드가 출력되는 것이된다.Therefore, by repeating these processes, 100 response codes provided at the position where the unique code D is randomized are outputted.

또한, 플래그(F)에 값(1)을 세트하는 것과 동시에, MPU(31)은, 수광부(13)로부터의 신호입력을 인터럽트 신호로서 접수를 가능하게 한다.At the same time as setting the value 1 in the flag F, the MPU 31 enables the signal input from the light receiving section 13 to be accepted as an interrupt signal.

이 상태에서, 열쇠장치(10)로부터 어떠한 신호가 입력되면 제6도에 나타낸 신호입력 인터럽트 처리 루틴이 기동(起動)되나, 이 처리에 대해서는 후술한다.In this state, when any signal is input from the key device 10, the signal input interrupt processing routine shown in FIG. 6 is started. This processing will be described later.

이와같이 자물쇠 제어장치(11)가 열쇠장치(10)로부터의 호출코드를 받아서 응답코드를 출력하는 처리를 실시하는 동안, 열쇠장치(10)는, 수광부(25)를 센스하여 신호를 판독하고 있다(제4도 참조, 스텝 S 410). 신호를 판독하여 해더부를 검출하면(스텝 S 430), 이어서 해더에 이어지는 응답코드를 판독하는 처리를 실시한다(스텝 S 440).Thus, while the lock control apparatus 11 performs the process which receives the call code from the key device 10, and outputs a response code, the key device 10 senses the light receiving part 25, and reads a signal ( See also FIG. 4, step S 410. When the signal is read and the header portion is detected (step S430), the processing for reading the response code subsequent to the header is performed (step S440).

응답코드를 판독하면, 다음에 이 코드가 자기가 기억하고 있는 고유코드에 일치하는지 안하는지를 판단한다(스텝 S 450). 해더가 검출되지 않거나(스텝 S 430), 판독한 코드가 자기의 고유코드에 일치하지 않는 경우에는, 신호의 입력(스텝 S 410)으로부터 처리를 되풀이한다.When the response code is read, it is next judged whether or not this code matches the unique code stored in it (step S 450). If the header is not detected (step S430) or if the read code does not match its own code, the process is repeated from the signal input (step S410).

또한, 본 실시예의 스텝(S 450)에서는, 양자가 일치하는지 안하는지를 직접 판단하고 있으나, 양자가 미리 정한 대응관계에 있는지 없는지의 판단을 할수도 있다.Further, in step S450 of the present embodiment, it is directly determined whether the two match or not, but it is also possible to judge whether the two have a predetermined correspondence relationship.

자물쇠 제어장치(11)가 100회에 걸쳐서 송출한 응답코드 가운데, 어느 코드가 열쇠장치(10)의 PROM(43)에 기억된 고유 코드에 일치하면(스텝 S 450), 열쇠장치(10)는, 다음에 인식코드(S)를 생성하는 처리를 실시한다(스텝 S 460).Of the response codes sent out by the lock control device 11 over 100 times, if any code matches the unique code stored in the PROM 43 of the key device 10 (step S 450), the key device 10 Next, a process of generating the recognition code S is performed (step S460).

인식코드의 생성에는, 여러 가지 수법이 고려된다.Various methods are considered in the generation of the recognition code.

미리 정한 코드라도 좋고, 자물쇠 제어장치(11)로부터 받은 응답코드에 의거하여 생성되는 코드라도 된다.The code predetermined may be sufficient, or the code generated based on the response code received from the lock control apparatus 11 may be sufficient.

후자의 수법으로서는, 예를들면 미리 정의한 함수를 사용하여 받은 응답코드를 변환하여, 이것을 인식코드로 하는 것, 응답코드를 n등의 상수의 자릿수의 지정에 사용하여 여기서부터 소정 범위의 값을 인식코드로 하는 것, 응답코드의 소정 자릿수를 변환용 상수로서 사용하여 변환을 실시하는것 등을 고려 할 수가 있다.As the latter technique, for example, a response code received using a predefined function is converted into a recognition code, and the response code is used to specify a number of digits such as n to recognize a predetermined range of values from here. It is possible to consider using a code, converting using a predetermined number of response codes as a constant for conversion, and the like.

이리하여 생성된 인식코드는, 발광부(23)에 의하여 외부로 출력된다(스텝 S 470).The recognition code thus generated is output to the outside by the light emitting section 23 (step S470).

그후, 스텝(S 410)으로 되돌아가서 신호입력으로부터의 처리를 되풀이 하지만, 자물쇠 제어장치(11)로부터의 신호가 소정시간에 걸쳐서 입력되지 않는 상태가 되면, 얼마안있어, 스텝(S 240)에서의 판단은 [NO]가 되어서 [RTN]로 빠지고서 본 루틴을 종료한다.After that, the process returns to step S410 and the processing from the signal input is repeated, but when the signal from the lock control device 11 is not input over a predetermined time, it is not long before, at step S240. The judgment of [NO] becomes [RTN], and the routine ends.

열쇠장치(10)로부터 인식코드가 출력되면, 통상은 수광부(13)로의 신호입력에 의한 인터럽트가 허가되어 있기 때문에(제5도, 스텝 S 575) 제6도에 나타낸 신호입력 인터럽트 처리루틴이 기동된다.When the recognition code is output from the key device 10, normally, the interruption by the signal input to the light receiving unit 13 is permitted (FIG. 5, step S575). The signal input interrupt processing routine shown in FIG. 6 is activated. do.

이 처리가 기동되면, 먼저 일련의 코드를 입력하는 처리를 실시하고 (스텝 S 600), 입력한 코드가 바르게 코드로서 인식할 수 있는지 없는지를 판단한다(스텝 S 610). 코드로서의 모양이 되지않는 노이즈 등도 입력될 가능성이 있기 때문이다.When this process is activated, a process of inputting a series of codes is first performed (step S 600), and it is judged whether or not the input code can be correctly recognized as a code (step S 610). This is because noise, which does not look like a code, may also be input.

코드가 아니면 그대로 [RTN]로 빠지고서 본 루틴을 일단 종료한다.If it is not code, it exits to [RTN] and terminates this routine.

입력한 신호가 코드라고 인식 된다면, 다음에 플래그(F)가 값(1)인지 아닌지의 판단을 실시한다(스텝 S 620).If it is recognized that the input signal is a code, it is next judged whether or not the flag F is the value (1) (step S620).

인터럽트 입력이 허가되어 있으면 통상 플래그(F)는 값(1)에 세트되어 있을 것이지만, 더욱 확실히 다짐해 두기 위해서 체크를 실시하는 것이다.If the interrupt input is allowed, the normal flag F will be set to the value (1), but the check is made to ensure more certainty.

플래그(F)가 값(1)이 아님에도 불구하고, 인식코드의 접수를 실시하고 있다고 하면, 무엇인가의 부정이 행해지고 있는 가능성이 있는 것으로 하여 통신 케이블(14)을 통하여 호스트 컴퓨터(15)에 이를 통지하는 처리를 실시하고(스텝 S 625), 그대로 [RTN]로 빠져서 본 루틴을 일단종료한다.Even if the flag F is not the value 1, if the recognition code is being accepted, it is assumed that there is a possibility that something is wrong, and the host computer 15 is connected to the host computer 15 via the communication cable 14. A process of notifying this is performed (step S625), and the routine is immediately exited to [RTN] to end this routine.

한편, 플래그(F)가 값(1)이라면, 이어서 입력한 코드가 인식코드로서 올바른지 아닌지의 판단을 실시하여(스텝 S 630), 올바르지 않으면 호스트 컴퓨터(15)에 통지하고 (스텝 S 625), 올바르면 문빗장 구동기구(7)의 모우터(2)를 구동하여, 도어(1)의 잠금해제를 실시한다(스텝 S 640).On the other hand, if the flag F is the value (1), it is subsequently judged whether or not the input code is correct as the recognition code (step S630). If the flag F is incorrect, the host computer 15 is notified (step S625). If it is correct, the motor 2 of the door lock drive mechanism 7 will be driven, and the door 1 will be unlocked (step S640).

그후, 플래그(F)를 값(0)에 리세트하여 (스텝 S 650), 본 루틴을 종료한다.Thereafter, the flag F is reset to the value (0) (step S650), and the routine ends.

또한, 플래그(F)를 값(0)에 리세트하면, 인터럽트의 기동요구는 마스크되고, 신호입력 인터럽트 처리루틴(제6도)은 기동할수 없게된다.If the flag F is reset to the value 0, the interrupt start request is masked and the signal input interrupt processing routine (Fig. 6) cannot be started.

이상 설명한 신호입력 인터럽트 처리루틴은, 제5도에 나타낸 응답코드 처리루틴의 스텝 S 530 내지 S 560이 되풀이 실행되며, 열쇠장치(10)와 자물쇠 제어장치(11)로 되는 자물쇠 잠금장치 마다 정해진 고유코드를 출력하여 플래그(F)에 값(1)을 세트한 직후부터 실행이 가능하게 된다.In the signal input interrupt processing routine explained above, steps S 530 to S 560 of the response code processing routine shown in FIG. 5 are repeatedly executed, and the intrinsic value is determined for each lock locking device which is the key device 10 and the lock control device 11. Execution is possible immediately after outputting the code and setting the value (1) in the flag (F).

따라서, 제5도에 나타낸 응답코드 처리루틴이, 스텝 S 560에서의 조건판단(N>100)에 의해, 되풀이 처리를 빠졌을때, 그때 까지에 올바른 인식코드가 열쇠장치(10)로부터 출력되고 있으면 플래그(F)는 값(0)에 리세트 되어 있는 것이된다(제6도, 스텝 S 650). 한편, 열쇠장치(10)로부터 어떠한 코드가 소정시간 이내에 출력되지 않았거나, 틀린 코드가 출력되어 있는 경우에는, 프래그(F)는 값(1) 그대로 유지되어 있다.Therefore, when the response code processing routine shown in FIG. 5 has missed the repetitive processing by the condition determination (N> 100) in step S560, if the correct recognition code is output from the key device 10 by then, The flag F is reset to the value 0 (FIG. 6, step S650). On the other hand, if any code is not output from the key device 10 within a predetermined time, or if an incorrect code is output, the flag F is kept as the value (1).

따라서, 플래그(F)의 값을 판별하여(스텝 S 580), 플래그(F)가 값(1)이라면 무엇인가의 이상이 생겼다고 하여 이를 호스트 컴퓨터(15)에 통지한다(스텝 S 585). 플래그(F)가 값(1)이 아니면 그대로 [END]로 빠져서 처리를 종료한다.Therefore, the value of the flag F is determined (step S580), and if the flag F is the value 1, the host computer 15 is notified that something abnormality has occurred (step S585). If the flag F is not the value (1), the process exits to [END] as it is and ends the processing.

이상 설명한 열쇠장치(10)와 자물쇠 제어장치(11)와의 코드의 주고 받기를 제7도에 나타낸다.Fig. 7 shows the exchange of codes between the key device 10 and the lock control device 11 described above.

도시한 바와같이, 열쇠장치(10)의 조작버튼(21)을 조작하면, 열쇠장치(10)의 발광부(12)로부터 호출코드가 출력된다.As shown in the figure, when the operation button 21 of the key device 10 is operated, a call code is output from the light emitting unit 12 of the key device 10.

이 호출코드를 접수하여, 자물쇠 제어장치(11)는, 응답코드로서, 램덤한 99개의 코드와 이 조(組)의 자물쇠 잠금장치에 고유한 단하나의 고유코드를 해더를 붙여서 출력한다.Accepting this call code, the lock control device 11 outputs a random code of 99 random codes and only one unique code unique to this lock lock device as a response code.

램덤한 코드에 대한 고유코드의 위치는, 난수에 의하여 결정되어, 조작버튼(21)의 조작마다 다르다.The position of the unique code with respect to the random code is determined by the random number and is different for each operation of the operation button 21.

따라서, 외부로부터 양자가 주고 받기하는 코드를 모니터 하더라도, 어느것이 고유의 코드인지를 알아내는 것은 쉽지가 않다.Therefore, even if you monitor the code that both send and receive from the outside, it is not easy to find out which code is unique.

또한, 고유코드 자체가 매회 동일 하다면, 그 위치를 바꾸어도 검출이 가능하기 때문에, 2의 20승 값의 소정범위의 여러 자릿수만을 유효로 하고, 매회 그 자릿수의 범위외의 값을 변경하여 출력하는 구성으로 하는것도 적합한 것이다.In addition, if the unique code itself is the same every time, even if the position is changed, it can be detected. Therefore, only multiple digits of a predetermined range of two powers of 20 are valid, and a value outside the range of the digits is changed every time. It is also appropriate.

고유의 코드가 출력되면, 열쇠장치(10)는 이 코드를 받아서, 인식코드(S)를 생성하여 이것을 출력한다.When the unique code is outputted, the key device 10 receives the code, generates a recognition code S, and outputs it.

이 인식코드(S)를 받아서, 자물쇠 제어장치(11)는, 인식코드가 올바른 코드이라면, 도어(1)의 자물쇠 잠금을 해제한다.Receiving this identification code S, the lock control device 11 unlocks the lock of the door 1, if the identification code is a correct code.

또한, 인식코드가 틀렸거나, 응답이 없는 경우에는, 호스트 컴퓨터(15)에 통지를 하지만, 호텔의 도어(1)의 경우, 이용자가 자기가 이용하는 객실 이외의 방을 잘못하여 열려고 한다든지 하는 단순한 과오에 의한 경우와, 부정하게 복제한 열쇠장치의 사용에 의한 불법침입등의 경우등이 있을 수 있다.If the identification code is wrong or there is no response, the host computer 15 is notified. However, in the case of the door 1 of the hotel, the user tries to open a room other than his own room by mistake. There may be cases of mistake, illegal intrusion by use of illegally duplicated key devices, and the like.

그래서, 호스트 컴퓨터(15)는 경고를 발하여, 호텔맨이나 경비원등의 파견 이라고 하는 대응을 지시한다.Thus, the host computer 15 issues a warning and instructs a response such as dispatch of a hotelman or security guard.

또한, 동일한 도어(1)에 대하여 되풀이 과오 코드가 보내지는 경우에, 즉각 경보출력을 내어서 예를들면, 그 층에서 엘리베이터 도어의 개폐등을 금지하여, 그 층으로부터의 퇴거를 경비원이 객실에 도달할때까지 일시적으로 제한 한다고 하는 대응도 가능한 것이다.In addition, when a recurring error code is sent to the same door 1, an alarm is output immediately and, for example, the opening and closing of the elevator door is prohibited on the floor, and the guards can remove the floor from the floor. It is also possible to respond temporarily to reaching it.

또한, 그 객실이 빈객실이라면, 일단 자물쇠 잠금을 해제하여 침입 할려고 한자를 객실에 넣어서, 그후, 호스트 컴퓨터(15)로 지시하여 도어(1)를 거꾸로 자물쇠 잠금하여, 침입자를 가두어 넣는다는 대응도 가능한 것이다.In addition, if the room is an empty room, the response is to lock the door 1 by inverting the door 1 by instructing the host computer 15 to unlock the lock and infiltrating it. It is possible.

이와같이, 본 실시예의 자물쇠 잠금장치에 의하면, 비접촉으로 도어(1)의 잠금해제를 할수 있으므로, 이용자에 있어서는, 취급이 간단하고 더욱 잠금해제 때에는, 열쇠장치(10)와 자물쇠 제어장치(11)가 코드를 주고받고 하여서, 정규의 조합이라는 것을 확인하고 나서 도어(1)의 자물쇠 잠금을 해제하므로, 신뢰성이 매우 높다고 하는 이점을 얻는다.As described above, according to the lock locking device of the present embodiment, the door 1 can be unlocked in a non-contact manner, so that the user can easily handle the lock and the key device 10 and the lock control device 11 will be unlocked. By exchanging codes and confirming that they are a regular combination, the lock of the door 1 is unlocked, so that an advantage of high reliability is obtained.

특히, 본 실시예의 자물쇠 잠금장치는, 주고 받고하는 코드가 2의 20승의 수치(數値)로서 정의하고 있으므로, 단순히 모든 조합을 시험하여 잠금을 해제하는 것은 시간적으로 불가능하고, 더욱이 코드를 주고 받기 하여서 확인을 하고 있기 때문에, 열쇠장치(10)를 복제하는 것이 실질적으로 할수 없다.In particular, in the lock locking device of the present embodiment, since the code to be transmitted and received is defined as a numerical value of two powers of two, it is impossible in time to simply unlock all the combinations by testing them. Since the reception is being confirmed, it is practically impossible to duplicate the key device 10.

본 실시예의 열쇠장치(10)와 자물쇠 제어장치(11)와는, 자물쇠 잠금장치의 고유의 코드를 EEPROM(33) 및 EEPROM(43)에 기억되어 있다.The key code 10 and the lock control device 11 of the present embodiment store the codes unique to the lock lock device in the EEPROM 33 and the EEPROM 43.

따라서, 이 코드를 재기록하는 것으로서, 잠금해제에 필요한 코드를 쉽게 변경 할 수가 있다.Thus, by rewriting this code, you can easily change the code needed to unlock it.

다음에, EEPROM(33), EEPROM(43)의 내용을 갱신기록 하는 구성에 대해서, 설명한다.Next, a configuration for updating and recording the contents of the EEPROM 33 and the EEPROM 43 will be described.

제8도는, 호스트 컴퓨터(15)의 내부구성을 간략하게 나타냄과 동시에 열쇠장치(10)와의 데이터의 주고받는 모양을 나타낸 블록도이다.FIG. 8 is a block diagram showing the internal structure of the host computer 15 in a simplified manner and at the same time transferring data to and from the key device 10. As shown in FIG.

도시한 바와같이, 호스트 컴퓨터(15)에는, 주지한 CPU(101), ROM(102), RAM(103), 입출력 포트(105)가 구비되어 있으며, 이 입출력 포트(105)에는, 광통신용의 수광부(113) 및 발광부(112)가 접속되어 있다.As shown in the drawing, the host computer 15 is provided with a well-known CPU 101, a ROM 102, a RAM 103, and an input / output port 105, and the input / output port 105 is provided for optical communication. The light receiving portion 113 and the light emitting portion 112 are connected.

이 수광부(113) 및 발광부(112)는, 자물쇠 제어장치(11)의 수광부(13) 및 발광부(12)와 동일한 것이다.The light receiving portion 113 and the light emitting portion 112 are the same as the light receiving portion 13 and the light emitting portion 12 of the lock control device 11.

따라서, 도시한 바와같이, 열쇠장치(10)를 이 수광부(113) 및 발광부(112)의 대향하는 위치에 배치하면, 열쇠장치(10)와 호스트 컴퓨터(15)와의 사이에서 광통신을 실시하는 것이 가능하다.Therefore, as shown in the drawing, when the key device 10 is disposed at a position opposite to the light receiving portion 113 and the light emitting portion 112, optical communication is performed between the key device 10 and the host computer 15. It is possible.

열쇠장치(10)로부터 호스트 컴퓨터(15)로의 통신은, 예를들면, 조작버튼(21)을 소정시간 이상 계속 누르거나, 제3도에 나타낸 바와같이, 핀홀을 통하여 리세트 버튼(45)을 조작한 경우에, 시작하도록 구성 할 수가 있다.The communication from the key device 10 to the host computer 15 is, for example, by continuously pressing the operation button 21 for a predetermined time or pressing the reset button 45 through the pinhole as shown in FIG. If you do, you can configure it to start.

여기서는, 조작버튼(21)을 소정시간 이상 계속누른 경우에, 열쇠장치(10)가 제9도에 나타낸 코드 초기화 처리루틴을 개시하는 구성으로 하고 있다.Here, the key device 10 starts the code initialization processing routine shown in FIG. 9 when the operation button 21 is kept pressed for a predetermined time or more.

이 루틴을 개시하면, 열쇠장치(10)는, 호스트 컴퓨터(15)에 대하여 어느 열쇠장치(10)가 통신을 실시 하는가를 알리기 위해서, 그때까지 EEPROM(43)에 기억하고 있던 호출코드와 인식코드를 호스트 컴퓨터(15)에 출력하는 처리를 실시한다(제9도, S 700).When starting this routine, the key device 10 informs the host computer 15 of which key device 10 communicates, and the call code and recognition code stored in the EEPROM 43 up to that time. Is output to the host computer 15 (FIG. 9, S700).

또한, 인식 코트롤, 소정의 알고리즘으로 생성하고 있는 경우에는, 인식코드에 대신하여 고유 코드에 대응하는 코드라도 지장은 없다.In addition, in the case of generating by a recognition code | role and a predetermined algorithm, even if the code | cord | chord corresponding to a unique code is substituted for recognition code, there is no problem.

원래부터 호출코드 만으로도 된다.Originally, the calling code is all that is required.

열쇠장치(10)는, 이들 코드를 출력한후, 다음에 호스트 컴퓨터(15)로부터의 신호를 입력하는 처리를 실시한다(스텝 S 710).The key device 10 outputs these codes and then performs a process of inputting a signal from the host computer 15 (step S710).

열쇠장치(10)는, 호스트 컴퓨터(15)로부터 새로운 코드를 수신완료 하기까지, 신호 입력처리를 되풀이한다(스텝 S 710, 720).The key device 10 repeats the signal input process until the new code is received from the host computer 15 (steps 710 and 720).

그후, 호스트 컴퓨터(15)로부터 새로운 코드를 받으면, 이것을 그 열쇠장치(10)를 특정하기 위한 새로운 고유코드로서 EEPROM(43)에 기록처리를 실시하여(스텝 S 730), 본 루틴을 종료한다.Subsequently, when a new code is received from the host computer 15, it writes to the EEPROM 43 as a new unique code for identifying the key device 10 (step S730), thereby terminating this routine.

또한, 열쇠장치(10)가 고유코드가 그대로 일치 하였을때 미리 기억한 인식코드를 출력하는 구성을 취하고 있는 경우에는, 새로운 고유코드만이 아니라 새로운 인식코드도 받는 것으로 할 수가 있다.In addition, when the key device 10 is configured to output the recognition code stored in advance when the unique codes match, it is possible to receive not only a new unique code but also a new recognition code.

한편, 호스트 컴퓨터(15)는, 열쇠장치(10)로부터의 신호를 판독하여 호출코드 및 인식코드를 입력한다(제10도, 스텝 S 750).On the other hand, the host computer 15 reads the signal from the key device 10 and inputs a call code and a recognition code (Fig. 10, step S 750).

이어서, 호스트 컴퓨터(15)는 ROM(102)에 기억한 테이블을 참조하여, 열쇠장치(10)와 자물쇠 제어장치(11)와의 새로운 고유코드를 결정하는 처리를 실시한다(스텝 S 760).Subsequently, the host computer 15 refers to the table stored in the ROM 102 and performs a process of determining a new unique code between the key device 10 and the lock control device 11 (step S760).

이 테이블은, 호텔의 전객실의 객실번호와 자물쇠 잠금장치의 고유코드와의 대응을 기억하고 있는 것이며, 고유코드가 중복하지 않도록 테이블을 참조하는 것이다.This table stores correspondence between room numbers of all rooms of the hotel and the unique code of the lock lock device, and refers to the table so that the unique codes do not overlap.

호스트 컴퓨터(15)는, 결정한 새로운 고유코드를 발광부(112)를 제어하여 외부로 출력한다(스텝 S 770).The host computer 15 outputs the determined new unique code to the outside by controlling the light emitting unit 112 (step S770).

이와동시에, 호스트 컴퓨터(15)는, 통신 케이블(14)을 개재하여, 도어(1)의 자물쇠 제어장치(11)에 동일한 코드를 송출한다(스텝 S 780).At the same time, the host computer 15 sends the same code to the lock control device 11 of the door 1 via the communication cable 14 (step S 780).

호스트 컴퓨터(15)는, 열쇠장치(10)로부터 호출코드를 받는 것으로서, 이 열쇠장치(10)가 어느 객실의 자물쇠 제어장치(11)에 대응한 것인지 특정 지을수 있으므로, 그 객실도어(1)의 자물쇠 제어장치(11)에 코드를 보내는 것은 쉬운 것이다.The host computer 15 receives the call code from the key device 10, and can determine which key lock device 11 corresponds to the lock control device 11 of the guest room door. Sending the code to the lock control device 11 is easy.

또한, 자물쇠 제어장치(11)는, 받은 코드를 EEPROM(33)에 기록한다.The lock controller 11 also records the received code in the EEPROM 33.

이 결과, 열쇠장치(10)를 호스트 컴퓨터(15)의 수광부(113), 발광부(112)앞에서 조작버튼(21)을 조작하는 것만으로, 열쇠장치(10)와 자물쇠 제어장치(11)와의 잠금 해제용 코드를 새로운 번호로 변경 할수가 있다.As a result, the key device 10 is operated by the operation button 21 in front of the light receiving portion 113 and the light emitting portion 112 of the host computer 15. You can change the unlock code to a new number.

더구나, 이때, 새로운 코드는 일체 외부에 표시되지 않으며, 바꾸어 말하면, 코드의 갱신 조작을 하는 조작자에게도 알려지지 않게 갱신이 실시되므로, 신뢰성이 매우 높다는 특징이 있다.Moreover, at this time, the new code is not displayed at all externally, in other words, since the update is performed unknown to the operator performing the code update operation, there is a feature that the reliability is very high.

또, 고유코드의 갱신이 매우 용이하며, 종래와 같은 자물쇠 잠금장치의 전체의 교환 이라는 시간과 노력을 일체 필요치 않는다.In addition, it is very easy to update the unique code, it does not require any time and effort to replace the entire lock lock device as in the prior art.

이 결과, 잠금 해제용 코드의 변경을 종래보다 빈번히 할수가 있으며, 이런점에서도 신뢰성을 높일수가 있다.As a result, the code for unlocking can be changed more frequently than before, and reliability can be improved in this respect as well.

이상 본 발명의 실시예에 대해서 설명하였으나, 본 발명의 자물쇠 잠금장치는 이러한 실시예에 하등 한정되는 것은 아니며, 예를들면 자동차 도어의 자물쇠 잠금장치에 적용한 구성, 빠찡꼬등의 유기장치의 앞문등에 적용한 구성, 사용자를 제한하고 싶은 리모콘등의 제어기기에 적용한 구성, 열쇠장치에 의해 자물쇠 잠금의 해제만이 아니라 자물쇠의 잠금도 가능하게한 구성, 자물쇠 본체쪽이 잠금해제를 위한 정규의 인식코드를 받았을때 LED를 점등하는 등의 표시수단을 구비한 구성등, 본 발명의 요지를 벗어나지 않는 범위내에서, 여러 가지 상태로 실시할수 있는 것은 물론이다.Although the embodiments of the present invention have been described above, the lock locking device of the present invention is not limited to these embodiments. For example, the configuration applied to the lock locking device of an automobile door, the front door of an organic device such as pachinko, etc. Configuration, configuration applied to control devices such as remote control that wants to restrict user, configuration that enables not only to unlock the lock but also to lock the lock by the key device, and the main body of the lock has received a regular recognition code for unlocking. It is a matter of course that the configuration lamp including the display means such as lighting the LED can be carried out in various states without departing from the gist of the present invention.

본 실시예에서는, 고유코드등을 기억하는데, EEPROM을 사용하여 열쇠장치(10), 자물쇠 제어장치(11)로부터 PROM을 떼내지 않고 코드를 재기록 하는 구성을 취하였으나, PROM을 떼내고서 기록하는 것이라면, 통상의 PROM나 퓨우즈 ROM등을 사용하는 것도 가능하다.In this embodiment, a unique code or the like is stored, but the EEPROM is used to rewrite the code without removing the PROM from the key device 10 and the lock control device 11, but if the PROM is removed and recorded, Ordinary PROM or fuse ROM can also be used.

이 경우, PROM을 들고 나와서 복제하는 것을 생각할수 있으나, 열쇠장치(10)에서 인식코드를 생성할 때, 인식코드 생성용의 알고리즘을 판독 방지 기구를 구비한 CPU내의 마스크 ROM에 기억해 놓으면, 비록 PROM을 불법으로 들고 나와서 고유코드를 복제하더라도, 잠금해제를 시킬수가 없다.In this case, it is conceivable to take out the PROM and duplicate it. However, when generating the recognition code in the key device 10, the algorithm for generating the recognition code is stored in the mask ROM in the CPU provided with the read protection mechanism, even though the PROM is stored. Even if you illegally pick up and copy a unique code, you cannot unlock it.

CPU쪽을 복제하지 않는한, 바른 인식코드를 출력 할 수가 없기 때문이다.This is because the correct identification code cannot be output unless the CPU side is duplicated.

마찬가지로, 자물쇠 제어장치(11)로부터 받은 응답코드중에 열쇠장치(10)에 대응하는 고유코드가 존재하는지 않는지의 판단을 하는 경우, 양자의 단순한 일치를 보는 것이 아니라, 자물쇠 제어장치(11)로부터 보내진 고유코드를 소정의 알고리즘으로 변환하고 나서 열쇠장치(10)에 기억한 고유코드와의 일치를 체크하는 것으로 하여, 이 변환 알고리즘을 동일하게 판독 방지기구를 구비한 마스크 ROM 내에 기억해두면, CPU쪽의 복제를 할수 없는한, 맞는 열쇠를 만들수는 없으며, 충분한 신뢰성을 확보 할 수가 있다.Similarly, when judging whether there is a unique code corresponding to the key device 10 among the response codes received from the lock control device 11, the lock code is sent from the lock control device 11, instead of seeing a simple match between the two. If the unique code is converted into a predetermined algorithm and then the coincidence with the unique code stored in the key device 10 is checked, and the same conversion algorithm is stored in a mask ROM equipped with a read protection mechanism, As long as you can't duplicate it, you won't be able to create the right key, and you'll have sufficient reliability.

또한, 이들 경우, 장치 전체의 신뢰성이 향상되기 때문에, 고유코드의 자릿수를 줄여서 몇자릿수 정도로 하는것도 지장은 없다.In these cases, since the reliability of the entire apparatus is improved, there is no problem in reducing the number of unique codes to a few digits.

한편, 이 자물쇠 잠금장치의 기록장치는, 자물쇠 잠금장치를 자동차 도어에 적용한 경우에는 딜러(dealer) 판매점등에 설치하면 좋으며, 빠찡꼬 장치의 문에 적용한 경우에는, 홀의 감시실등에 설치하면 좋다.On the other hand, when the lock lock device is applied to a car door, the lock device may be installed at a dealer shop or the like, and when the lock lock device is applied to a door of a pachinko device, it may be installed in a monitoring room of a hall.

더욱이, 본 실시예에서는, 자물쇠 잠금장치가 의심스러운 신호입력을 검출한 경우에는, 호스트 컴퓨터(15)에 통지를 하지만, 이 통지에 의해 감시용 카메라를 동작 시키거나, 비디오로의 수록을 개시 시킨다는 구성도 가능하다.Furthermore, in the present embodiment, when the lock lock device detects a suspicious signal input, the host computer 15 is notified. However, this notification causes the surveillance camera to operate or start recording in the video. Configuration is also possible.

이상 설명한 바와같이 본 발명의 자물쇠 잠금장치에서는, 비접촉으로 적어도 자물쇠 잠금을 해제 할 수 있고 , 더구나 열쇠장치의 정규가 아닌 복제를 실질적으로 불가능하게 할 수 있는 뛰어난 효과를 나타낸다.As described above, in the lock locking device of the present invention, it is possible to at least unlock the lock in a non-contact manner, and furthermore, it has an excellent effect of making it impossible to actually make a non-normal copy of the key device.

비접촉으로 잠금해제가 가능함에도 불구하고, 열쇠장치가 외부로 출력하고 있는 코드를 판독하여, 단순히 이것을 모방하는 것 만으로는, 열쇠장치를 복제할 수가 없다.Although it is possible to unlock in a non-contact manner, it is impossible to duplicate the key device by simply reading the code output from the key device and simply imitating it.

열쇠장치는, 자물쇠 본체쪽과는, 코드를 교환하여 동작하고 있기 때문이다.This is because the key device operates by exchanging a code with the lock main body.

따라서, 본 발명의 자물쇠 잠금장치는, 신뢰성이 높고 더구나 사용에 편리함이 좋다.Therefore, the lock locking device of the present invention has high reliability and is convenient for use.

또, 이 발명의 자물쇠 잠금장치의 구성에 의하면, 응답코드를 기록장치에 의해, 열쇠장치와 응답코드 출력수단에 한쌍이된 고유의 응답코드를 동시에 기록하는 것으로, 자물쇠 잠금해제를 위한 코드를 언제라도 재기록 할 수가 있어, 자물쇠 잠금장치로서의 신뢰성을 더욱 높이는 것이 용이하다.According to the structure of the lock lock device of the present invention, the response code is recorded by the recording device at the same time by recording a pair of unique response codes on the key device and the response code output means. Even if it can be rewritten, it is easy to improve the reliability as a lock lock.

따라서, 호텔의 도어등 부특정 다수에 의해 취급되는 자물쇠 잠금장치로, 장치 전체를 교환할 필요가 없고, 또 교환하는 노력과 시간도 불필요하게 된다.Therefore, the lock apparatus handled by an unspecified number of doors, such as a hotel, does not need to replace the whole apparatus, and also the effort and time of replacement are unnecessary.

또, 빠찡꼬 유기장치등의 문에 적용하면, 빠찡꼬 홀에서 자물쇠 잠금해제를 위한 코드를 변경 할 수가 있어, 신뢰성은 매우 높은 것이 된다.In addition, when applied to a door such as a pachinko organic device, the code for unlocking the lock can be changed in the pachinko hole, and the reliability is very high.

Claims (3)

문 (1)을 물리적으로 폐쇄하는 자물쇠 본체 (M1)와, 적어도 자물쇠 잠금해제 조작을 지시하는 지시수단 (M2)을 구비하여 상기 자물쇠 본체 (M1)를 비접촉으로 자물쇠 잠금을 해제하는 열쇠장치 (10)로 이루어지는 자물쇠 잠금해제 장치로서, 상기 열쇠장치 (10)에 설치되어, 지시수단에 의한 자물쇠 잠금해제 지시에 따라서 호출코드 (C)를 출력하는 코드 출력수단 (M4)과, 이 호출코드 (C)를 받았을때, 미리 그 자물쇠 본체 (M1)와, 조합이 되는 열쇠장치 (10)에 고유의 코드로서 정의된 코드를 포함한 복수의 응답코드를 출력하는 응답코드 출력수단과, 상기 열쇠장치 (10)에 설치되어, 이 출력된 복수의 응답코드 (R)를 받아서, 그 열쇠장치 (10)에 고유의 응답코드 (R)에 대응한 코들 인식했을때, 미리 정한 또는 미리 정한 수속에 따라서 생성되는 인식코드 (S)를 출력하는 인식코드 출력수단과, 이 인식코드 (S)를 받았을때, 상기 자물쇠 본체 (10)를 잠금해제 상태로 하는 자물쇠 잠금해제 수단과를 구비한 자물쇠 잠금장치.A lock device M1 which physically closes the door 1 and at least an instruction means M2 for instructing a lock release operation, the key device 10 for unlocking the lock body M1 without contact. A lock output unlocking device comprising: a code output means (M4) installed in the key device (10) and outputting a call code (C) in accordance with the lock unlocking instruction by the indicating means; ), Response code output means for outputting a plurality of response codes including a code defined as a code unique to the lock body M1 and the key device 10 to be combined in advance, and the key device (10). Is generated according to a predetermined or predetermined procedure when the plurality of outputted response codes (R) are received and the key device 10 recognizes the nose corresponding to the unique response code (R). Output the recognition code (S) When the identity code output means, receiving this identification code (S), a locking device with a lock and unlock the lock means for the lock body 10 to the unlocked state. 제1항에 있어서, 각 코드는 광학적인 신호로서 주고 받기하게되는 자물쇠 잠금장치.The lock of claim 1 wherein each code is to be sent and received as an optical signal. 제1항에 기재된 자물쇠 잠금장치의 한쌍으로 된 열쇠장치 (10)와 응답코드 출력수단에 대하여, 이 한쌍에 고유한 응답코드 또는 이 응답코드에 대응한 코드를 기록하는 기록수단 (N)을 가지는 응답코드 기록장치.A pair of key devices 10 of the lock lock device according to claim 1 and a response code output means have a recording means (N) for recording a response code unique to the pair or a code corresponding to the response code. Response code recorder.
KR1019910022856A 1991-12-13 1991-12-13 Locker and recording apparatus therewith KR100236407B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019910022856A KR100236407B1 (en) 1991-12-13 1991-12-13 Locker and recording apparatus therewith

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019910022856A KR100236407B1 (en) 1991-12-13 1991-12-13 Locker and recording apparatus therewith

Publications (2)

Publication Number Publication Date
KR930013408A KR930013408A (en) 1993-07-21
KR100236407B1 true KR100236407B1 (en) 1999-12-15

Family

ID=19324729

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019910022856A KR100236407B1 (en) 1991-12-13 1991-12-13 Locker and recording apparatus therewith

Country Status (1)

Country Link
KR (1) KR100236407B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007100166A1 (en) * 2006-02-28 2007-09-07 Gab-Sik Kim System capable of preventing from copying its own code of inside and method for the same

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100406030B1 (en) * 2001-05-04 2003-11-17 주식회사 케이코하이텍 Locking system having wireless remote controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007100166A1 (en) * 2006-02-28 2007-09-07 Gab-Sik Kim System capable of preventing from copying its own code of inside and method for the same

Also Published As

Publication number Publication date
KR930013408A (en) 1993-07-21

Similar Documents

Publication Publication Date Title
US8587405B2 (en) Electronic access control device
US7741969B2 (en) Door entry security device with electronic lock
JP2673941B2 (en) Vehicle security device with usage rights electronically encoded
US4972182A (en) Electronic security lock
CN101174352A (en) Passive disarming transceiver for security systems
WO2012014143A2 (en) Method and apparatus for electronic lock system
CN110163995B (en) Remote control electronic lock system
US20230177902A1 (en) Electronic locks for server racks
JP3286995B2 (en) Locking device and writing device used therefor
KR100236407B1 (en) Locker and recording apparatus therewith
JPS59476A (en) Apparatus for controlling electric lock
JP3619781B2 (en) Game device locking device and hall computer
KR20030066608A (en) Method and system for unlocking doorway
KR20040043550A (en) Apparatus for Door-keying
KR100649483B1 (en) A Doorlock System Apparatus having a Remote Security means.
KR100316791B1 (en) Intelligent door lock system
JP2007217903A (en) Key, unlocking device, key device, program for key, and program for unlocking device
JP2006322172A (en) Automatic door locking system
KR200217982Y1 (en) Door opening-shutting apparatus using fingerprints and key recognition
KR200310826Y1 (en) Apparatus for Door-keying
JP3388735B2 (en) Locking device
JP2003120095A (en) Digital locking device
KR100664690B1 (en) Apparatus For Electronic Key Switch
KR200289401Y1 (en) Electronic key system using interactive authentication
JP2000179201A (en) Key storage device

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
LAPS Lapse due to unpaid annual fee