KR19980086957A - Identification device and identification method - Google Patents

Identification device and identification method Download PDF

Info

Publication number
KR19980086957A
KR19980086957A KR1019980016884A KR19980016884A KR19980086957A KR 19980086957 A KR19980086957 A KR 19980086957A KR 1019980016884 A KR1019980016884 A KR 1019980016884A KR 19980016884 A KR19980016884 A KR 19980016884A KR 19980086957 A KR19980086957 A KR 19980086957A
Authority
KR
South Korea
Prior art keywords
divisions
identification code
random number
identification
signal
Prior art date
Application number
KR1019980016884A
Other languages
Korean (ko)
Inventor
요시오 하라다
히로유키 다카마츠
미츠야스 다무라
Original Assignee
이데이 노부유키
소니 가부시기가이샤
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 이데이 노부유키, 소니 가부시기가이샤 filed Critical 이데이 노부유키
Publication of KR19980086957A publication Critical patent/KR19980086957A/en

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • G07C2009/0042Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks the transmitted data signal containing a code which is changed
    • G07C2009/00476Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks the transmitted data signal containing a code which is changed dynamically
    • G07C2009/005Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks the transmitted data signal containing a code which is changed dynamically whereby the code is a random code

Abstract

본 발명의 식별장치는, 비트수가 각각 소정수로 결정된 복수의 구분으로 구성되는 특정식별코드를 나타내는 제1의 식별신호를 송신하는 피검출장치와, 당해 피검출장치로부터 상기 제1의 식별신호를 수신하여, 상기 피검출장치가 미리 등록된 것인가 여부를 식별하는 검출장치와로 구성되고, 상기 검출장치는, 비트수가 각각 소정수로 결정된 복수의 구분으로 구성되는 등록식별코드를 나타내는 제2의 식별신호가 미리 기억되어 있는 기억부와, 수신한 상기 제1의 식별신호를, 상기 기억부로부터 독출한 제2의 식별신호와대조하는 대조부와, 상기 대조부를 제어하여 동일한 상기 구분에 대하여 상기 특정식별코드와 상기 등록식별코드와의 대조를 행하게 하고, 당해 구분에서 특정 식별코드와 일치한 다음에 대조해야 할 등록식별코드를 특정하고, 당해 구분간에서 행하는 대조의 제어와, 다음에 대조해야 할 등록식별코드의 특정과를, 대조하는 구분을 변경하면서 모든 구분간의 대조가 종료하기까지 반복하여 행하는 처리제어부와 를 가지는 것을 특징으로 한다. 또한, 그 식별방법을 제공한다.An identification device of the present invention is a detection device for transmitting a first identification signal representing a specific identification code composed of a plurality of divisions each of which has been determined with a predetermined number of bits, and the first identification signal is sent from the detection device. And a detection device for identifying whether or not the device to be detected has been registered in advance, wherein the detection device has a second identification indicating a registration identification code composed of a plurality of divisions each having a predetermined number of bits. A storage unit in which a signal is stored in advance; a matching unit for matching the received first identification signal with a second identification signal read out from the storage unit; and controlling the matching unit to specify the same classification for the same division. The identification code is compared with the registration identification code, and the registration identification code to be compared after matching with the specific identification code in the classification is specified. And a processing control unit for repeating the control of the matching between the divisions and the specific section of the registration identification code to be compared next, and repeatedly performing the matching between all the divisions while changing the matching division. It also provides an identification method.

Description

식별장치 및 식별방법Identification device and identification method

본 발명은, 예를 들면 키레스 엔트리 시스템으로서 적합한 식별장치 및 식별방법에 관한 것이다.The present invention relates to an identification device and an identification method suitable for example as a keyless entry system.

종래, 휴대단말(携帶端末)로서의 키(key) 장치와, 도어(door) 등의 제어대상측에 설치되는 본체장치로서의 록(lock) 장치로 구성되고, 무선에 의한 키 장치의 조작이 미리 등록된 키 장치에 의한 것인지 여부를 록 장치가 식별하여 록 해제/록을 행하는 키레스 엔트리 시스템이 제안되어 있다.Conventionally, a key device as a mobile terminal and a lock device as a main body device provided on a control target side, such as a door, are registered in advance, and the operation of the key device by wireless is registered in advance. A keyless entry system has been proposed in which a lock device identifies whether or not the key device is unlocked and performs lock release / lock.

이 종래의 키레스 엔트리 시스템은, 적외선 또는 전파 등을 사용하고, 키 장치측으로부터 록 장치측에 식별신호를 송신하여, 록 또는 록 해제를 행하도록 한 것이다.This conventional keyless entry system uses an infrared ray or radio wave to transmit an identification signal from the key device side to the lock device side so as to perform lock or unlock.

이러한 종래의 키레스 엔트리 시스템에 있어서는, 키 장치측으로부터 항상 동일식별신호를 송신하는 한쪽방향통신이므로, 이 통신을 제3자가 수신했을 때는, 이 식별신호가 간단히 도난당해 버린다고 하는 위험성이 있다.In such a conventional keyless entry system, since the one-way communication always transmits the same identification signal from the key device side, there is a risk that the identification signal is simply stolen when the third party receives the communication.

특히, 적외선을 사용하여 식별신호를 송신하도록 했을 때는, 이른바 학습 리모콘과 동일원리에 의해 간단히 이 식별신호를 코피할 수 있으므로, 사회적 문제로 되지 않을 수 없다.In particular, when the identification signal is transmitted using infrared rays, the identification signal can be simply copied by the same principle as the so-called learning remote control, which is a social problem.

또한, 전술한 키레스 엔트리 시스템에서는, 몇번이나 여러 가지의 식별신호를 시도함으로써, 특정의 식별신호를 찾을 수 있게 되어 버리는 등, 시큐리티(security)의 면에서 큰 문제가 있었다.In addition, in the keyless entry system described above, there is a big problem in terms of security, such as being able to find a specific identification signal by trying various identification signals many times.

그래서, 휴대장치(키 장치)측으로부터 본체장치(록 장치)측에 암증수치(暗證數値)를 나타내는 암증신호를 송신하고, 본체장치는 암증신호의 연산처리로 산정한 자체의 암증수치와 수신한 암증수치와의 일치를 판단하는 키레스 엔트리 시스템이 먼저 제안되어 있다.Therefore, a darkening signal indicating a darkening value is transmitted from the portable device (key device) side to the main body device (locking device) side, and the main body device has its own darkening value calculated by arithmetic processing of the darkening signal. A keyless entry system that first determines the correspondence with the received cancer symptom value has been proposed.

이러한 먼저 제안되어 있는 키레스 엔트리 시스템에 있어서는, 본체장치에서 수치신호의 연산처리로 산정하여 등록되어 있는 자체의 암증수치와 수신한 암증수치와의 일치를 판단하도록 하고 있으므로, 시큐리티성이 높은 이점이 있다.The keyless entry system proposed above has the advantage of high security since the main body apparatus judges the coincidence between its registered cancer value and the received cancer value, which is calculated by arithmetic processing of numerical signals. .

이 종래의 키레스 엔트리 시스템에서는, 암증수치의 대조에 있어서, 내부에서 산정하여 메모리 등에 기억(등록)되어 있는 암증수치를 예를 들면 메모리의 기억번지의 첫 번 째로부터 검색하여 수신한 암증수치와 대조하고, 일치하지 않으면 다음의 번지의 암증수치를 검색한다고 하는 식으로, 메모리 내의 암증수치를 차례로 검색하면서 대조하는 방법이 일반적이다.In the conventional keyless entry system, in contrast to the cancer value, the cancer value calculated internally and stored (registered) in the memory or the like is compared with the cancer value received by retrieving, for example, from the first memory address. If the numbers do not match, the cancer value of the next address is searched, and a method of contrasting the cancer value in the memory is searched in order.

그런데, 이 축차검색(逐次檢索)에 의한 대조방법에서는, 등록한 암증수치가 많아지면 그만큼 대조에 시간이 걸려, 수만이나 되는 암증수치를 취급하는 경우에는 록/록 해제에 상당한 시간을 요한다고 하는 불이익이 있었다.However, in this method of matching by sequential search, when the registered cancer symptom value increases, it takes time to collate so much, and when dealing with tens of thousands of cancer symptom values, it is disadvantageous that it requires considerable time to unlock / lock. There was this.

그러므로, 종래의 키레스 엔트리 시스템은, 사용자가 록/록 해제를 지시하고 나서 실제로 록/록 해제가 이루어지기까지의 시간이 길어 응답성이 나쁘므로, 사용상황이 나쁜 것이었다.Therefore, in the conventional keyless entry system, since the response time is long since the user instructs the lock / lock release until the lock / lock release is actually performed, the responsiveness is bad.

본 발명은, 이와 같은 실정을 감안하여 이루어지며, 지시를 내리고 나서 동작을 개시하기까지의 응답성이 우수하고, 또 소비전력의 면에서도 유리한 식별장치 및 식별방법을 제공하는 것을 목적으로 한다.SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an identification device and an identification method which are excellent in responsiveness after giving an instruction to start operation and are advantageous in terms of power consumption.

도 1은 본 실시형태에 관한 식별장치(키레스 엔트리 시스템(keyless entry system))의 개략구성을 나타낸 블록도.1 is a block diagram showing a schematic configuration of an identification device (keyless entry system) according to the present embodiment.

도 2는 도 1의 키레스 엔트리 시스템의 동작을 나타낸 플로차트.2 is a flow chart illustrating operation of the keyless entry system of FIG.

도 3은 도 1의 키레스 엔트리 시스템에 있어서의 송수신 및 간헐 동작을 나타낸 타이밍차트.3 is a timing chart illustrating transmission and reception and intermittent operation in the keyless entry system of FIG. 1;

도 4는 식별코드의 포맷 구성을 나타낸 설명도.4 is an explanatory diagram showing a format structure of an identification code;

도 5는 등록식별코드의 검색을 용이하게 하기 위해 식별코드를 계통적으로 나란히 한 도면.5 is a view systematically side-by-side identification code to facilitate the search of the registration identification code.

도 6은 도 5의 위로부터 아래로 향해 등록식별코드를 검색하여 특정 식별코드와 대조하는 경우를 예로, 도 2의 ID코드 대조(스텝 S12)의 수순을 나타낸 플로차트.Fig. 6 is a flowchart showing the procedure of ID code matching (step S12) in Fig. 2 as an example of searching for a registration identification code from top to bottom in Fig. 5 and matching it with a specific identification code.

도 7은 난수(亂數) 발생에 관한 변형예 1을 나타낸 키레스 엔트리 시스템의 블록도.Fig. 7 is a block diagram of a keyless entry system showing a modification 1 related to random number generation.

도 8은 변형예 1에 있어서의 난수 발생(도 2의 S4)의 내용을 나타낸 플로차트.FIG. 8 is a flowchart showing the contents of random number generation (S4 in FIG. 2) in the modification 1. FIG.

도 9는 난수 발생에 관한 변형예 2를 나타낸 키레스 엔트리 시스템의 블록도.Fig. 9 is a block diagram of a keyless entry system showing a modification 2 related to random number generation.

도 10은 변형예 2에 있어서의 난수 발생(도 2의 S4)의 내용을 나타낸 플로차트.10 is a flowchart showing the contents of random number generation (S4 in FIG. 2) in the modification 2. FIG.

도 11은 난수 발생에 관한 변형예 3을 나타낸 키레스 엔트리 시스템의 블록도.Fig. 11 is a block diagram of a keyless entry system showing a modification 3 related to random number generation.

도 12는 변형예 3에 있어서의 난수 발생(도 2의 S4)의 내용을 나타낸 플로차트.Fig. 12 is a flowchart showing the contents of random number generation (S4 in Fig. 2) in the third modification.

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

1 : 키 장치(피검출장치), 2 : 도어, 3,20,30,40 : 록 장치(검출장치), 4 : 스위치부, 5 : 신호처리부, 6 : 송수신부, 7 : ID메모리, 8 : 전지, 9 : 송수신부, 10 : 구동장치, 11,21,31,41 : 처리제어부, 12 : 등록ID메모리(기억부), 13 : 난수발생부, 14 : 전지, 15 : 전원제어부, 16 : 타이머, 17 : 해독부, 18 : 대조부, 22,42 : 난수변경부, 23 : 난수메모리, 24 : 비교수단, 25 : 출력제어수단, 33 : 연산처리수단, 43 : 카운터, IDS : 특정 식별코드, IDR : 등록식별코드, MID : 메인그룹 ID코드, SID : 서브그룹 ID코드, IID : 개별 ID코드, X : 난수, C : 카운트치.1: key device (detection device), 2: door, 3,20,30,40: lock device (detection device), 4: switch part, 5: signal processing part, 6: transceiver part, 7: ID memory, 8 : Battery, 9: transceiver, 10: drive unit, 11, 21, 31, 41: processing controller, 12: registration ID memory (memory), 13: random number generator, 14: battery, 15: power controller, 16 : Timer, 17: decryption unit, 18: control unit, 22, 42: random number changing unit, 23: random number memory, 24: comparison unit, 25: output control unit, 33: arithmetic processing unit, 43: counter, IDS: specific Identification code, IDR: Registration identification code, MID: Main group ID code, SID: Subgroup ID code, IID: Individual ID code, X: Random number, C: Count value.

본 발명의 식별장치는, 제1의 식별신호를 송신하는 피검출장치, 상기 피검출장치가 미리 등록된 것인지 여부를 식별하는 검출장치라고 하는 상호 무선에 의한 신호의 송수신이 가능한 2종류의 장치로 구성되어 있다.The identification device of the present invention is provided with two types of devices capable of transmitting and receiving signals by mutual radio: a detection device for transmitting the first identification signal and a detection device for identifying whether the detection device is registered in advance. Consists of.

상기 검출장치는, 제2의 식별신호가 미리 기억되어 있는 기억부와, 수신한 상기 제1의 식별신호와, 상기 기억부로부터 독출된 제2의 식별신호와 대조하는 대조부를 가지고, 상기 제1의 식별신호가 나타내는 특정 식별코드, 및 상기 제2의 식별신호가 나타내는 등록식별코드의 각각은, 비트수가 소정 수로 각각 결정된 복수의 구분으로 구성되어 있다.The detection apparatus has a storage unit in which a second identification signal is stored in advance, a first identification signal received, and a matching unit which matches the second identification signal read out from the storage unit, and the first identification signal. Each of the specific identification code indicated by the identification signal and the registration identification code indicated by the second identification signal is composed of a plurality of divisions in which the number of bits is respectively determined by a predetermined number.

또, 상기 검출장치는, 상기 대조부를 제어하여 동일한 상기 구분에 대하여 상기 특정 식별코드와 상기 등록식별코드와의 대조를 행하게 하고, 당해 구분에서 특정 식별코드와 일치한 다음에 대조해야 할 등록식별코드를 특정하고, 당해 구분간에서 행하는 대조의 제어와, 다음에 대조해야 할 등록식별코드의 특정을, 대조하는 구분을 변경하면서 모든 구분간의 대조가 종료되기까지 반복하여 행하는 처리제어부를 더 가진다.Further, the detection apparatus controls the matching unit to perform matching between the specific identification code and the registration identification code for the same division, and the registration identification code to be collated after matching with the specific identification code in the division. And a processing control unit for repeatedly performing the control of the matching between the divisions, and the specification of the registration identification code to be collated next, and repeatedly performing the matching between all the divisions while changing the division to be collated.

또, 본 발명에서는, 상기 검출장치는, 난수(亂數)신호로서 상기 피검출장치에 송신되는 난수를 발생하는 난수발생부를 더 가지고, 상기 피검출장치는, 수신한 상기 난수신호를 사용하여 상기 제1의 식별신호를 암호화하여, 상기 검출장치에 송신시키는 신호처리부를 가진다.In the present invention, the detection device further includes a random number generator that generates a random number transmitted as the random number signal to the device to be detected, and the device to be detected uses the received random number signal to perform the detection. And a signal processing unit for encrypting the first identification signal and transmitting the same to the detection apparatus.

이 경우, 상기 처리제어부는, 상기 암호화 후의 제1의 식별신호를 해독하여 암호화 전의 제1의 식별신호를 독출한 후, 상기 구분간의 대조를 행하는 것이다.In this case, the processing control unit decrypts the first identification signal after encryption, reads out the first identification signal before encryption, and then performs matching between the divisions.

또한, 본 발명에서는, 상기 등록식별코드는, 최소한 상위 구분과 하위 구분을 가지고, 상기 기억수단에 기억되어 있는 등록식별코드 전체에서는, 코드가 동일한 상기 상위 구분의 어느 것에 대해서도 코드가 상이한 복수의 상기 하위 구분의 조(組)가 동일하게 할당되고, 구분간이 계층화되어 있다.Further, in the present invention, the registration identification code has at least an upper division and a lower division, and in the entire registration identification code stored in the storage means, a plurality of the above-mentioned codes different in any of the upper divisions having the same code. The sets of lower divisions are equally assigned, and the divisions are layered.

이 경우, 상기 처리제어부는, 상기 대조부를 제어하여 최상위의 구분으로부터 처음으로 순차, 하위측의 구분으로, 상기 대조하는 구분을 변경하는 것이다.In this case, the processing control section controls the matching section to change the matching section from the uppermost division to the first and the lower division.

이상과 같이 구성되어 있는 식별장치에서는, 그 대조부에 의한 대조시에, 처리제어부가 대조부를 제어하여, 먼저, 예를 들면 최상위 구분을 검색하면서 당해 상위 구분에 대하여 특정 식별코드와 등록식별코드를 차례로 대조하여, 이 구분에서 일치하는 등록식별코드를 특정한다. 다음에, 최상위 구분이 공통의 등록식별코드에 대하여, 예를 들면, 그 최상위 구분보다 하나 하위측의 구분을 검색하면서, 동일하게, 당해 구분간의 대조와 일치를 판정한다. 그리고, 이 구분간의 대조를 구분을 변경하면서 반복함으로써, 대조해야 할 범위를 서서히 좁게 해 가며, 특정 식별코드에 완전히 일치하는 등록식별코드를 최종적으로 특정한다. 그리고, 대조한 구분 내에서 일치하는 것이 없을 때는, 그 시점에서 처리를 강제로 종료시킨다.In the identification device configured as described above, at the time of collation by the collation unit, the processing control unit controls the collation unit, and first, for example, searches for the uppermost division, and selects the specific identification code and the registration identification code for the upper division. In turn, the matching registration identification codes are identified in this division. Next, with respect to the common registration identification code, the most significant division is searched for, for example, one division lower than the most significant division, and similarly, the matching and matching between the divisions are determined. By repeating the matching between the divisions while changing the division, the range to be contrasted is gradually narrowed down, and finally, the registration identification code that completely matches the specific identification code is specified. If no match is found within the checked division, the process is forcibly terminated at that point.

일반적으로, 구분간의 검색 및 대조에서는, 한번에 대조하는 코드의 단위가 작아 시간이 걸리지 않지만, 검색하고 대조하는 회수는 많아 진다.In general, in searching and matching between divisions, the unit of code for matching at one time is small and does not take time, but the number of searching and matching is increased.

그러나, 전술한 계층화된 구분을 가지는 코드간의 대조에서는, 일반적으로 상위 구분일수록 코드수가 적고 하위측의 구분일수록 코드수는 증가하지만, 검색하는 범위가 점점 좁게 한정되어 가고 있으므로, 관계 없이 코드가 검색되어 대조하는 일이 적어 진다.However, in the comparison between codes having the above-described hierarchical division, in general, the number of codes increases as the upper division decreases and the number of codes increases as the division on the lower side, but since the search range is narrowly narrowed, the codes are searched regardless. Less contrast is needed.

본 발명의 식별방법은, 피검출장치로부터 송신되어 온 식별신호를 수신하여, 당해 식별신호가 나타내는 특정 식별코드를 미리 등록되어 있는 등록식별코드와 대조함으로써, 식별신호가 미리 등록된 것인지 여부를 식별하는 식별방법으로서, 상기 특정 식별코드 및 상기 등록식별코드의 각각은, 비트수가 각각 소정 수로 결정된 복수의 구분으로 구성되고, 상기 대조에 있어서는, 동일한 상기 구분에 대하여 상기 특정 식별코드와 상기 등록식별코드를 대조하여, 당해 구분에서 특정 식별코드와 일치한 다음에 대조해야 할 등록식별코드를 특정하고, 당해 구분간에서 행하는 대조와, 다음에 대조해야 할 등록식별코드의 특정을, 대조하는 구분을 변경하면서 모든 구분간의 대조가 종료되기까지 반복하여 행한다.The identification method of the present invention receives the identification signal transmitted from the apparatus to be detected and checks whether the identification signal is registered in advance by matching the specific identification code indicated by the identification signal with a registration identification code registered in advance. As the identification method, each of the specific identification code and the registration identification code is composed of a plurality of divisions each having a predetermined number of bits, and in the matching, the specific identification code and the registration identification code for the same division. In contrast, the registration identification code to be matched after the matching with the specific identification code in the classification is specified, and the classification to check the comparison between the classification and the specification of the registration identification code to be compared next is changed. Repeatedly until all the divisions are finished.

또한 본 발명의 식별방법은, 난수를 발생시켜 난수신호로서 상기 피검출장치에 송신한 후, 송신한 난수신호를 사용하여 상기 피검출장치가 암호화된 상기 식별신호를 수신하고, 당해 암호화 후의 식별신호를 해독하여 암호화 전의 상기 식별신호를 독출한 후에, 상기 구분간의 대조를 행한다.In addition, the identification method of the present invention generates a random number and transmits the random number signal to the apparatus to be detected as a random number signal, and then receives the identification signal encrypted by the apparatus to be detected using the transmitted random number signal, and then identifies the encrypted signal. After decrypting to read the identification signal before encryption, the classification is performed.

상기 각 등록식별코드는, 최소한 상위 구분과 하위 구분을 가지고, 상기 기억수단에 기억되어 있는 등록식별코드 전체에서는, 코드가 동일한 상기 상위 구분의 어느 것에 대해서도 코드가 상이한 복수의 상기 하위 구분의 조가 동일하게 할당되어, 구분간이 계층화되어 있고, 상기 구분간의 대조는, 최상위의 구분으로부터 처음으로 순차, 하위측의 구분으로 대조하는 구분을 변경하면서 행하는 스텝을 포함한다.Each of the registration identification codes has at least an upper division and a lower division, and in the entire registration identification code stored in the storage means, a plurality of sets of the lower divisions having different codes are the same for any of the upper divisions having the same code. The divisions between the divisions are hierarchically arranged, and the division between the divisions includes a step of changing the divisions to be contrasted by the divisions of the lowermost and the first divisions from the top division.

또한, 상기 식별방법은, 상기 구분간의 대조에 있어서, 일치하는 코드가 없을 때는 당해 대조를 강제로 종료시키는 스텝을 포함한다.The identification method further includes a step of forcibly terminating the matching when there is no matching code in the matching between the divisions.

다음에, 본 발명에 관한 식별장치 및 식별방법을, 도어의 개폐를 원격조작하는 키레스 엔트리 시스템에 적용한 경우를 예로 하여, 도면을 참조하면서 상세히 설명한다.Next, a case where the identification device and the identification method according to the present invention are applied to a keyless entry system for remotely opening and closing a door will be described in detail with reference to the drawings.

도 1은, 본 실시형태에 관한 식별장치(키레스 엔트리 시스템)의 개략구성을 나타낸 블록도이다.1 is a block diagram showing a schematic configuration of an identification device (keyless entry system) according to the present embodiment.

이 키레스 엔트리 시스템은, 휴대형의 키 장치(1)와, 구동대상물(예를 들면, 도어(2))측에 설치되고, 도어(2)의 개폐를 지시하는 동시에 록/록 해제를 행하는 록 장치(3)로 구성된다. 통상, 키 장치(1)는 각 개인에게 할당되고, 록 장치(3)는 구동대상물마다 설치된다.The keyless entry system is provided on the portable key device 1 and the driving object (for example, the door 2), and instructs the opening and closing of the door 2 and lock / lock release. It consists of (3). Usually, the key device 1 is assigned to each individual, and the lock device 3 is provided for each driving object.

키 장치(1)는, 사용자의 조작에 의해 도어의 개폐를 명령하는 스위치부(4), 각종 신호처리를 행하는 신호처리부(5), 록 장치(3)와의 사이에서 통신을 행하는 송수신부(6), 키 장치(1)의 소유자 등에 할당되어 당해 키 장치(1)에 고유의 식별코드(이하, 특정 식별코드 IDS)를 기억하는 ID메모리(7), 및 당해 키 장치(1)의 각 부(5∼7)에 전력을 공급하는 전지(8)를 가진다.The key device 1 includes a switch unit 4 for instructing the door to be opened and closed by a user's operation, a signal processing unit 5 for performing various signal processing, and a transmission / reception unit 6 for communicating with the lock device 3. ), An ID memory 7 which is assigned to the owner of the key device 1 or the like and stores an identification code (hereinafter referred to as a specific identification code IDS) unique to the key device 1, and each part of the key device 1. It has the battery 8 which supplies electric power to (5-7).

스위치부(4)는, 전지(8)의 전력공급라인의 도중에 삽입되고, 도어의 개폐 및 록/록 해제를 지시하는 조작스위치, 키 장치(1)의 전원스위치 등으로 구성된다.The switch section 4 is inserted in the middle of the power supply line of the battery 8, and is composed of an operation switch for instructing the opening and closing of the door and the unlocking / locking release, a power switch of the key device 1, and the like.

신호처리부(5)는, 스위치부(4)의 조작을 받아 응답요구신호를 생성하고, 또 특정 식별코드 IDS를 소정의 함수와 난수를 사용하여 암호화하는 것이고, 통상, 예를 들면 마이크로콤퓨터로 구성된다.The signal processing unit 5 generates a response request signal by the operation of the switch unit 4, and encrypts a specific identification code IDS using a predetermined function and a random number, and is usually composed of, for example, a microcomputer. do.

송수신부(6)는, 상기 응답요구신호 및 암호화 후의 특정 식별코드 IDS를 나타내는 신호(이하, 특정 식별신호)를 송신하고, 특정 식별코드 IDS의 암호화에 사용하는 난수신호를 수신하는 것이고, 이들 각종 신호를 소정의 반송파로 변조하고 또 복조하는 기능을 가진다. 이 변조방식에 한정은 없고, 예를 들면 베이스밴드(base band)방식, ASK변조방식 또는 FSK변조방식이 선택된다. 베이스밴드방식은, ASK나 FSK 등의 변조방식과 비교하여, 저소비 전력으로 고속통신을 할 수 있고, 또한 회로구성이 간단해진다고 하는 이점이 있다. 여기서, 소정의 반송파는, 적외선, 광, 전파, 초음파의 어느 것이라도 된다. 또한, 송수신부(6)를 송신부와 수신부로 나누어 구성해도 된다.The transmission / reception section 6 transmits the response request signal and a signal indicating a specific identification code IDS after encryption (hereinafter, a specific identification signal), and receives a random number signal used for encryption of the specific identification code IDS. It has a function of modulating and demodulating a signal to a predetermined carrier. There is no limitation on this modulation method. For example, a base band method, an ASK modulation method or an FSK modulation method is selected. The baseband method has the advantage that high-speed communication can be performed at low power consumption and the circuit configuration can be simplified compared with modulation methods such as ASK and FSK. Here, the predetermined carrier may be any of infrared rays, light, radio waves, and ultrasonic waves. In addition, the transmitting and receiving unit 6 may be divided into a transmitting unit and a receiving unit.

ID메모리(7)로서는, 신호처리부(5)를 마이크로컴퓨터로 구성한 경우, 그 내장메모리를 사용할 수도 있다. 그리고, 키 장치(1)의 대수가 적고 특정 식별코드 IDS가 간단한 경우 등에 있어서는, ID메모리(7)를 생략하고, 암증번호 등의 특정 식별코드 IDS를 스위치부(4)에 있어서의 키 입력으로 받아들이는 구성이라도 된다.As the ID memory 7, when the signal processing section 5 is formed of a microcomputer, the internal memory can be used. In the case where the number of the key devices 1 is small and the specific identification code IDS is simple, the ID memory 7 is omitted, and the specific identification code IDS such as the encryption number is used as the key input in the switch unit 4. It may be an acceptable structure.

마주 대하는 록 장치(3)는, 키 장치(1)와의 사이에서 통신을 행하는 송수신부(9), 도어의 록을 구동하여 록/록 해제를 행하는 구동장치(10), 처리제어부(11), 등록ID메모리(12), 난수를 생성하여 난수신호로서 출력하는 난수발생부(13), 이들 록 장치의 각 부(9∼13)에 전력을 공급하는 전지(14), 전지의 전력공급을 제어하여 각 부(9∼13)를 간헐 동작시키는 전원제어부(15), 당해 전원제어부(15)에 계시(計時)신호를 부여하는 타이머(16)를 가지고 있다.The facing lock device 3 includes a transceiver 9 for communicating with the key device 1, a drive device 10 for driving a lock of a door, and a lock / lock release, a processing control unit 11, Register ID memory 12, random number generation section 13 for generating random numbers and outputting them as random number signals, battery 14 for supplying power to the sections 9 to 13 of these lock devices, and controlling the power supply of the batteries. Power supply control section 15 for intermittently operating the respective sections 9 to 13, and a timer 16 for giving a time signal to the power supply control section 15.

송수신부(9)는, 키 장치(1)에 난수신호를 송신하고, 특정 식별신호를 수신하는 것이고, 키 장치측의 송수신부(6)와 동일한 기능을 가지고, 소정의 변조방식, 및 반송파의 종류(적외선, 광, 전파 또는 초음파)에 대응하여 구성되어 있다. 이 송수신부(9)에 대해서도, 송신부와 수신부로 나누어 구성해도 된다.The transmission / reception section 9 transmits a random number signal to the key device 1 and receives a specific identification signal, and has the same function as the transmission / reception section 6 on the key device side. It is comprised corresponding to a kind (infrared, light, radio wave, or ultrasonic wave). The transmission / reception section 9 may also be configured by dividing into a transmission section and a reception section.

처리제어부(11)는, 특정 식별코드 IDS와, 록/록 해제가 허가된 특정자를 식별하기 위해 미리 등록된 식별코드(이하, 등록식별코드 IDR)와의 대조, 및 당해 대조에 부수되는 각종 신호처리를 행하는 동시에, 대조결과에 따라 구동장치(10)를 제어하는 것이고, 통상, 예를 들면 마이크로컴퓨터 등으로 구성되어 있다.The processing control unit 11 checks a specific identification code IDS with a previously registered identification code (hereinafter referred to as a registration identification code IDR) for identifying a specific person authorized to unlock / lock, and various signal processing accompanying the matching. In addition, the drive device 10 is controlled in accordance with the matching result, and is usually constituted by, for example, a microcomputer.

처리제어부(11)는, 예를 들면 도 1에 나타낸 바와 같이, 수신한 특정 식별신호를 기본으로 해독을 행하고, 암호화 전의 특정 식별코드 IDS를 얻는 해독부(17)와, 해독 후의 특정 식별코드 IDS를 등록ID메모리(12)로부터의 등록식별코드 IDR과 대조하고, 대조결과에 따라 구동장치(10)를 제어하는 대조부(18)를 가진다.For example, as shown in FIG. 1, the processing control unit 11 decrypts the received specific identification signal based on the received identification code to obtain the specific identification code IDS before encryption, and the specific identification code IDS after decryption. Is matched with the registration identification code IDR from the registration ID memory 12, and has a matching unit 18 for controlling the drive unit 10 in accordance with the matching result.

해독부(17)는, 해독용의 함수 및 암호화에 사용된 난수를 사용하여 해독을 행하는 것이고, 그러므로 난수발생부(13)로부터의 난수가 입력 가능하게 접속되어 있다.The decryption unit 17 performs decryption using a function for decryption and a random number used for encryption, and therefore the random number from the random number generation unit 13 is connected to be inputable.

등록ID메모리(12)에는, 다수의 등록식별코드 IDR이 기억되어 있다. 이 메모리(12)로서, 마이크로컴퓨터의 내장메모리를 사용할 수 있고, 또, 외부기억장치 또는 휴대형 기록매체 등으로 대용할 수 있다.In the registration ID memory 12, a plurality of registration identification codes IDR are stored. As the memory 12, a built-in memory of a microcomputer can be used, and can be used as an external storage device or a portable recording medium.

난수발생부(13)로서, 예를 들면 소정 비트수의 2진(進)카운터를 사용할 수 있다. 이 경우, 주기적으로 동일난수의 생성이 반복되는 의사(疑似)난수로 된다.As the random number generator 13, for example, a binary counter having a predetermined number of bits can be used. In this case, it becomes a pseudo random number in which generation of the same random number is repeated periodically.

주기성이 없는 난수를 생성하는 난수발생부로서는, 특히 도시하지 않지만, 예를 들면 시프트레지스터(shift resister)와 가산기(exclusive OR)로 이루어지는 M계열(Maximum Length Code)의 생성회로가 있다. 이 회로는, 소정 비트수의 시프트레지스터의 도중에 적절히 탭(tap)을 배설하고, 시프트레지스터의 피드백루프(feedback loop)에 삽입된 가산기의 빈 입력을 상기 탭에 접속한 것이다.As a random number generating unit for generating a random number without periodicity, although not particularly shown, there is, for example, a generation circuit of M series (Maximum Length Code) consisting of a shift register and an exclusive OR. This circuit arranges taps appropriately in the middle of a shift register of a predetermined number of bits, and connects an empty input of an adder inserted into a feedback loop of the shift register to the tap.

전원제어부(15)는, 통상, 상기 처리제어부(11)를 구성하는 마이크로컴퓨터 내부에 배설된다. 일반적으로, 마이크로컴퓨터는, 통상동작모드와, 일부분만 동작하는 대기상태의 저소비 전력모드를 가지지만, 이 전원제어부(15)는, 저소비 전력모드에 있어서도 동작하는 마이크로컴퓨터부분으로 할 수 있다. 이에 대하여, 상기 처리제어부(11)는, 저소비 전력모드에서는 전력공급이 정지되고 통상동작모드에 있어서만 동작하는 마이크로컴퓨터부분으로 할 수 있다.The power supply control unit 15 is usually disposed inside a microcomputer constituting the processing control unit 11. In general, the microcomputer has a normal operation mode and a low power consumption mode in a standby state where only a part of the power is operated. However, the power supply control unit 15 can be a microcomputer portion that operates even in a low power consumption mode. On the other hand, the processing control unit 11 can be a microcomputer portion in which the power supply is stopped in the low power consumption mode and operates only in the normal operation mode.

이 식별장치중, 록 장치(3)는 전원제어부(15)에 의해 제어되어 간헐 동작하고 있다.Among these identification devices, the lock device 3 is controlled by the power supply control unit 15 to operate intermittently.

간헐 동작은, 키 장치(1)의 조작이 임의이고 응답요구가 언제 걸릴지 모르는 상황에서, 록 장치(3) 내의 각 부에 상시 전력 공급을 행하고 있으면 소비전력이 커 전지(14)의 소모가 심하므로, 록 장치(3)의 동작(전력 공급)을 소정 주기로 간헐적으로 행하여 저소비 전력화를 도모하는 것이다.In the intermittent operation, when the operation of the key device 1 is arbitrary and the response request is not known, when power is constantly supplied to each part of the lock device 3, the power consumption is large and the battery 14 is consumed. Therefore, the operation (power supply) of the lock device 3 is intermittently performed at a predetermined cycle to achieve low power consumption.

전원제어부(15)는, 통상의 간헐 동작과 동일하게, 록 장치(3) 내의 각 부(9∼13)를 일제히 기동(起動)하고 또는 정지시키도록 전력 공급을 제어해도 되지만, 여기에서는, 기동의 타이밍을 변경하고 있다. 즉, 전원제어부(15)는, 간헐 동작에 있어서 전력 공급을 정지상태로부터 개시시킬 때, 처리제어부(11), 등록ID메모리(12) 및 난수발생부(13)에의 전력 공급의 개시타이밍에 대하여, 소정 시간만큼 선행하여 상기 송수신부(9)(엄밀하게는, 수신부만으로 가능)에의 전력 공급을 개시시키는 제어를 행하는 것이다. 이 간헐 동작의 타이밍제어의 상세에 대하여는 후술한다.The power supply control unit 15 may control the power supply so as to start or stop all the sections 9 to 13 in the lock device 3 at the same time as in the normal intermittent operation. You are changing the timing. That is, when the power supply control unit 15 starts the power supply from the stop state in the intermittent operation, the start timing of the power supply to the processing control unit 11, the registration ID memory 12, and the random number generator 13 The control is performed to start supplying power to the transceiver 9 (strictly, only the receiver) before the predetermined time. Details of timing control of this intermittent operation will be described later.

다음에, 본 발명의 식별방법은, 전술한 식별장치에 적용한 경우를 예로 하여, 도 3의 타이밍차트를 참조하면서 도 2의 플로차트에 따라 설명한다.Next, the identification method of this invention is demonstrated according to the flowchart of FIG. 2, referring the timing chart of FIG. 3 as an example when it applies to the above-mentioned identification apparatus.

이제, 키 장치(1) 내의 ID메모리(7)에는 특정 식별코드 IDS가, 또 록 장치(3) 내의 등록ID메모리(12)에는 등록식별코드 IDR이 미리 등록되어 있는 것으로 한다. 이들의 식별코드 IDS, IDR의 비트수, 및 난수발생부(13)로부터 발생하는 난수의 비트수에 한정은 없지만, 여기에서는 설명의 편의상, 모두 24비트의 코드라고 한다.Now, it is assumed that a specific identification code IDS is registered in the ID memory 7 in the key device 1, and a registration identification code IDR is registered in advance in the registration ID memory 12 in the lock device 3. These identification codes IDS, the number of bits of the IDR, and the number of bits of the random number generated from the random number generator 13 are not limited, but for convenience of explanation, all of them are referred to as 24-bit codes.

먼저 설명한 바와 같이, 록 장치(3)는 간헐 동작을 하고 있으며, 그 정지상태로부터 동작상태로 이행하는 개시의 타이밍이, 송수신부(9)에서는 다른 부분보다 △T만큼 빨리 설정되어 있다. 즉, 전원제어부(15)는, 타이밍(16)으로부터의 계시신호에 따라, 도 3 (e)에 나타낸 바와 같이 송수신부(9) 이외의 부분에 대하여 동작시간 T1, 정지시간 T2에서 제어하고, 도 3 (f)에 나타낸 바와 같이 송수신부(9)에 대해서는 동작시간(T1+△T), 정지시간(T2-△T)에서 제어하여 간헐 동작시키고 있다.As described above, the lock device 3 is intermittently operated, and the timing of the start of the transition from the stopped state to the operating state is set earlier by DELTA T in the transmission / reception unit 9 than at other parts. That is, according to the time signal from the timing 16, the power supply control unit 15 controls the portions other than the transmission / reception unit 9 at the operation time T1 and the stop time T2 as shown in Fig. 3E. As shown in Fig. 3 (f), the transmission / reception unit 9 is controlled intermittently by controlling at the operation time T1 + ΔT and the stop time T2-ΔT.

이 간헐 동작이 한창인 때, 사용자가 키 장치(1)의 스위치부(4)를 조작하여 스위치를 누르면 전지(8)로부터의 전력이 각 부(5∼6)에 공급되고, 또 사용자가 스위치부(4)를 조작하여 도어(2)를 「연다」 또는 「닫는다」의 어느 하나를 지시하면, 이 조작신호가 신호처리부(5)에 출력된다(스텝 S1).When this intermittent operation is in full swing, when the user operates the switch unit 4 of the key device 1 and presses the switch, power from the battery 8 is supplied to the units 5 to 6, and the user switches the unit. When operating (4) to instruct either the "open" or the "close" of the door 2, this operation signal is output to the signal processing part 5 (step S1).

이로써 신호처리부(5)는, 도어의 「염」 또는 「닫음」의 명령을 포함하는 응답요구신호를 생성하여, 예를 들면 도 3 (a)에 나타낸 바와 같이, 키 장치(1)로부터 100msec 동안, 연속해서 응답요구신호를 록 장치(3)에 계속 송신한다(스텝 S2). 이 응답요구신호의 송신 기간은, 간헐 동작의 주기(T1+T2)와 같거나 길게 설정되어, 키 장치(1)의 스위치가 어떠한 타이밍에서 온되어도 록 장치(3)가 응답요구신호를 수신할 수 있도록 되어 있다.As a result, the signal processing unit 5 generates a response request signal including a command of "salt" or "close" of the door, and is, for example, 100 msec from the key device 1 as shown in FIG. Subsequently, the response request signal is continuously transmitted to the lock device 3 (step S2). The transmission period of the response request signal is set equal to or longer than the period T1 + T2 of the intermittent operation so that the device 3 can receive the response request signal so that the switch of the key device 1 is turned on at any timing. It is supposed to be.

이 응답요구신호를 록 장치(3)가 수신(스텝 S3, 도 3 (d) 참조)하면, 응답요구신호가 송신되고 있는 것을 전원제어부(15)가 판단하고, 최초로 송수신부(9)에 전력을 공급한다. 시간 △T가 경과한 송수신부(9)가 안정되게 수신 가능한 상태로 되면, 전원제어부(15)는 처리제어부(11)에의 전력 공급을 개시한다.When the lock device 3 receives this response request signal (step S3, see FIG. 3 (d)), the power supply control unit 15 determines that the response request signal is being transmitted, and powers the transceiver 9 first. To supply. When the transmission / reception section 9 in which the time ΔT has elapsed is in a state capable of being stably received, the power supply control section 15 starts supplying power to the processing control section 11.

그리고, 이 처리제어부(11)에의 전력 공급과 동시나, 그 후의 적절한 타이밍으로 다른 부분(10~13)의 전력 공급을 개시한다. 이 타이밍은 그 후의 처리에 지장이 없는 한 임의이지만, 바람직하게는, 처리의 순번, 즉 난수발생부(13), 등록ID메모리(12), 구동장치(10)순으로 전력 공급을 개시한다.Then, the power supply to the other portions 10 to 13 is started at the same time as the power supply to the processing control unit 11 or at an appropriate timing thereafter. This timing is arbitrary as long as there is no problem in the subsequent processing. Preferably, the power supply is started in the order of processing, that is, the random number generator 13, the registration ID memory 12, and the driving device 10.

처리제어부(11)에 전력 공급이 개시되면, 처리제어부(11)는 응답요구신호가 송신되고 있는 것을 검지하고, 난수발생부(13)를 제어하여 24비트의 난수 X를 생성한다(스텝 S4). 난수 생성은, 난수발생부(13)를 24비트의 2진카운터로 구성한 경우, 이 2진카운터를 양 송수신부(6,9)간의 통신과는 무관계한 소정의 클록신호로 카운트동작을 시켜 놓고, 키 장치(1)로부터의 응답요구신호를 수신했을 때 당해 2진카운터를 정지하여, 그 수치를 읽어 넣음으로써 달성된다.When power is supplied to the processing controller 11, the processing controller 11 detects that a response request signal is being transmitted, and controls the random number generator 13 to generate a 24-bit random number X (step S4). . In the random number generation, when the random number generator 13 is composed of a 24-bit binary counter, the binary counter is counted with a predetermined clock signal irrelevant to communication between the two transceivers 6 and 9. When the response request signal from the key device 1 is received, the binary counter is stopped and the numerical value is read.

처리제어부(11)는, 생성된 난수 X를, 도 3 (c)에 나타낸 바와 같이 예를 들면 30msec 동안에 송수신부(9)에 출력하여, 난수신호로서 키 장치(1)에 송신시킨다(스텝 S5).The processing control unit 11 outputs the generated random number X to the transmission / reception unit 9 for 30 msec, for example, as shown in Fig. 3C, and transmits it to the key device 1 as a random number signal (step S5). ).

이 난수신호를 키 장치(1)의 송수신부(6)가 수신(스텝 S6, 도 3 (b) 참조)하면, 송수신부(6)가 수신한 난수신호로부터 난수 X를 꺼낸 후, 신호처리부(5)에 보낸다.When the transmitting / receiving unit 6 of the key device 1 receives the random number signal (see step S6, FIG. 3 (b)), the transmitting / receiving unit 6 extracts the random number X from the received random number signal, and then the signal processing unit ( 5) to send.

다음의 스텝 S7에서는, 신호처리부(5)가 ID메모리(7)에 미리 기억되어 있는 특정 식별코드 IDS를 독출하고, 또 미리 결정되는 또는 임의로 선택 가능한 함수 f를 다른 메모리 등으로부터 독출한다.In the next step S7, the signal processing section 5 reads out a specific identification code IDS stored in the ID memory 7 in advance, and reads a predetermined or arbitrarily selectable function f from another memory or the like.

이 함수 f에 한정은 없지만, 여기서 구체예를 들면 대응하는 2개의 비트가 동일“1” 또는 “0”인 때는, 그 2개의 비트 쌍방을 “1”로 하고, 상이한 때는 2개의 비트 쌍방을 “0”으로 하는, 이른바 배타적 논리합의 논리연산함수를 사용할 수 있다.Although there is no limitation in this function f, for example, when two corresponding bits are the same "1" or "0", both of those bits shall be "1", and when they are different, both bits shall be " The so-called exclusive OR logic function can be used.

그리고, 이어지는 스텝 S8에 있어서, 독출된 특정 식별코드 IDS를 난수 X와 함수 f를 사용하여 암호화(논리연산)하여 스크램블(scramble)을 건다. 이 암호화에 의해, 다음 표에 나타낸 예와 같이, 특정 식별코드 IDS의 암호화 코드 f(X, IDS)를 생성할 수 있다.In a subsequent step S8, the read specific identification code IDS is encrypted (logically operated) using a random number X and a function f to scramble. By this encryption, the encryption code f (X, IDS) of the specific identification code IDS can be generated as in the example shown in the following table.

IDS 010101010101010101010101X 110111011101110111011101IDS 010101010101010101010101X 110111011101110111011101 f(X, IDS) 011101110111011101110111f (X, IDS) 011101110111011101110111

생성된 암호화 코드 f(X, IDS)는, 도 3 (a)에 나타낸 바와 같이, 예를 들면 30msec가 결정된 시간 내에 록 장치(3)에 암호화 ID신호로서 송신된다(스텝 S9).The generated encryption code f (X, IDS) is transmitted to the lock device 3 as an encryption ID signal within a time for which 30 msec is determined, for example, as shown in Fig. 3A (step S9).

이 암호화 ID신호를 록 장치(3)가 수신하면(스텝 S10, 도 3 (d) 참조), 암호화 ID신호가 복호화되고, 이로써 얻어진 암호화 코드 f(X, IDS)가 처리제어부(11) 내의 해독부(17)에 보내지고, 이어지는 스텝 S11에 있어서 해독, 즉 논리연산 등에 의한 원래의 특정 식별코드 IDS의 도출이 행해진다.When the lock apparatus 3 receives this encrypted ID signal (step S10, see FIG. 3 (d)), the encrypted ID signal is decrypted, and the encryption code f (X, IDS) thus obtained is decrypted in the processing control unit 11. In step S11, the original specific identification code IDS is derived by decryption, that is, logical operation or the like, is sent to the unit 17.

구체적으로 해독부(17)는, 상기 함수 f에 대응하는 해독용의 함수 f-1를 소정 메모리로부터 미리 독출해 놓고, 이 함수 f-1과 미리 송신한 난수 X를 사용하여, 입력한 암호화 코드 f(X, IDS)를 논리연산하여, 원래의 특정 식별코드 IDS를 얻는다. 그리고, 상기 〔표 1〕에 나타낸 바와 같이, 암호화에 배타적 논리합의 논리연산함수 f를 사용한 경우, 배타적 논리합연산을 2번 행하면 원래대로 되돌아가므로, 이 해독용의 논리연산함수 f-1은, 여기서는 암호화에 사용한 함수 f와 결과적으로 동일한 것으로 된다.Specifically, the decryption unit 17 reads out the decryption function f- 1 corresponding to the function f from a predetermined memory in advance, and inputs the encryption code by using the function f- 1 and the random number X transmitted in advance. Logical operation f (X, IDS) obtains the original specific identification code IDS. As shown in [Table 1], when the exclusive logical sum function f is used for encryption, the exclusive logical sum operation returns to its original state when the exclusive logical sum operation is performed twice, so that the logical operation function f- 1 for decryption is Here, the result is the same as the function f used for encryption.

스텝 S12에서는, 처리제어부(11) 내의 대조부(18)가, 해독한 특정 식별코드 IDS를, 미리 등록ID메모리(12) 내에 기억되어 있는 복수의 등록식별코드 IDR과 차례로 대조하여, 송신되어 온 특정 식별코드 IDS가 등록된 것인지 여부가 조사된다.In step S12, the matching unit 18 in the processing control unit 11 compares the decrypted specific identification code IDS with a plurality of registration identification codes IDR previously stored in the registration ID memory 12, and has been transmitted. It is checked whether the specific identification code IDS is registered.

본 발명은, 식별코드의 대조방법에 특징을 가지고, 다음에, 그 효율적인 대조방법, 및 이를 위한 코드 기록에 대하여 설명한다.The present invention is characterized by an identification code matching method, and then, an efficient matching method and code recording therefor will be described.

도 4는, 특정 식별코드 IDS 및 등록식별코드 IDR(이하, 양자를 통합하여 단지 “식별코드”)의 포맷구성을 나타낸 설명도이다. 또, 도 5는 식별코드의 검색을 용이하게 하기 위해 식별코드를 계통적으로 나란히 한 도면이다. 그리고, 이 포맷설명에 한해서는, 편의상 식별코드는 16비트라고 한다. 상기 설명과 같이 24비트라고 하는 다른 비트 수의 식별코드에 있어서도, 기본적인 포맷 구성 및 대조방법은, 다음에 설명하는 것과 동일하다.Fig. 4 is an explanatory diagram showing the format configuration of a specific identification code IDS and a registration identification code IDR (hereinafter, simply " identification code " in combination). 5 is a diagram in which identification codes are systematically side-by-side in order to facilitate retrieval of identification codes. In this format description, the identification code is 16 bits for convenience. Also in the identification code of another bit number called 24 bits as described above, the basic format structure and matching method are the same as described below.

도 4에 예시한 식별코드는, 3개의 구분, 즉 상위 4비트로 구성되는 메인그룹 ID코드(MID), 다음의 4비트로 구성되는 서브그룹 ID코드(SID), 및 하위 8비트로 구성되는 개별 ID코드(IID)에 의해 구성되어 있다. 예를 들면, 집합주택의 현관 도어의 키레스 엔트리 시스템에서는, MID는 주택 동(棟), SID는 층, IID는 각 현관 도어를 나타내는 코드에 해당된다.The identification code illustrated in FIG. 4 includes three divisions, namely, a main group ID code (MID) consisting of the upper four bits, a subgroup ID code (SID) consisting of the following four bits, and an individual ID code consisting of the lower eight bits. It consists of (IID). For example, in the keyless entry system of the entrance door of the collective house, the MID corresponds to a code indicating the house wing, the SID the floor, and the IID the respective entrance door.

또, 도 5에 예시하는 계통적인 배치도는, 이른바 계층화된 배치구조이고, 보다 상위측의 동일 계층 내의 상이한 코드(예를 들면, SID0 과 SID1)간에서, 바로 하위의 코드가 동일 수로 동일 순번으로 반복하여 배치되어 있다(예를 들면 SID0 및 SID1의 어느 것에 대해서도, 그 바로 하위측에는 동일 개별 코드 IID0~IID255가 반복하여 배치되어 있다).In addition, the systematic arrangement diagram illustrated in FIG. 5 is a so-called hierarchical arrangement structure, and the lower codes are the same number in the same order between different codes (for example, SID0 and SID1) in the same layer on the upper side. They are arranged repeatedly (for example, the same individual codes IID0 to IID255 are repeatedly arranged immediately below the SID0 and SID1, respectively).

등록ID메모리(12)에는, 기록된 코드의 검색을 계통을 세워서 행할 수 있도록, 도 5와 같은 계통적인 코드 기록이 이루어지고 있다. 예를 들면, 16비트의 등록식별코드 IDR의 수치가 큰 순, 또는 작은 순으로 메모리 내의 최초의 번지로부터 기록하면, 자연히 도 5와 같은 계통적인 배치가 실현된다. 또, MID는 수가 큰 순으로 SID는 작은 순으로 해도 된다.In the registration ID memory 12, systematic code recording as shown in Fig. 5 is performed so that the recorded code can be searched in a system. For example, if the numerical value of the 16-bit registration identification code IDR is recorded from the first address in the memory in ascending order or in descending order, a systematic arrangement as shown in Fig. 5 is naturally realized. The MIDs may be in the order of the largest number, and the SIDs may be the order of the smallest.

도 6은, 도 5의 위로부터 아래로 향해 등록식별코드 IDR을 검색하여 특정 식별코드 IDS와 대조하는 경우를 예로, 도 2의 ID코드 대조(스텝 S12)의 수순을 상세하게 나타낸 플로차트이다.FIG. 6 is a flowchart showing in detail the procedure of ID code collation (step S12) in FIG. 2 as an example in which the registration identification code IDR is searched from top to bottom in FIG. 5 to collate with a specific identification code IDS.

먼저, 스텝 S120에서는, 양 식별코드 IDR, IDS의 MID0끼리를 대조하여, 스텝 S121에서 일치하고 있는가를 판정하고, 일치하고 있지 않으면 스텝 S122에서 검색대상을 1개 어긋나게 하여, MIDm(m=0~15)의 대조를 일치하기까지 반복한다.First, in step S120, the MID0s of both identification codes IDR and IDS are collated to determine whether they match in step S121. If they do not match, the search target is shifted by one in step S122, and MIDm (m = 0 to 15). ) To match the contrast.

스텝 S121에서 MID의 일치가 판정되면, SIDs(s=0~15)에 대해서도, 동일하게 대조(스텝 S123), 일치 판정(스텝 S124) 및 s의 인크리멘트(increment)(스텝 S125)를 일치하는 SIDs가 있으면 판정되기까지 반복한다.When the MID match is determined in step S121, the matching (step S123), the match determination (step S124), and the increment of s (step S125) are also matched for the SIDs (s = 0 to 15). If there are SIDs, the process is repeated until it is determined.

그리고, IIDi(i=0~225)에 대해서도, 동일하게 하여 대조 및 일치 판정이 반복된다(스텝 S126~스텝 S128).And similarly, matching and matching determination are repeated about IIDi (i = 0-225) (step S126-step S128).

그리고, 각 계층(구분) 내에서 모든 코드를 검색하여 대조해도 일치하는 것이 없을 때는, 그 시점에서 처리를 종료하고, 록/록 해제 등의 동작제어 자체도 강제적으로 종료하여, 응답 요구 전의 간헐 동작으로 되돌아간다.If all codes are searched and matched in each layer (division), and if there is no match, processing ends at that point, and operation control itself such as lock / lock release is forcibly terminated, thereby intermittent operation before the response request. Return to

이와 같은 ID코드 대조방법에 의해, 검색에 헛됨이 없이 효율적인 대조가 달성된다.By such an ID code matching method, an efficient matching is achieved without wasted search.

예를 들면, 처리제어부(11)에 4비트의 마이크로컴퓨터를 사용하고, 시스템포맷에 의해 식별코드의 길이가 16비트로 규정되어 있는 경우, 4비트의 코드 대조에 걸리는 시간을 10μsec로 하면, 모든 식별코드를 16비트단위로 대조하면 약 40μsec~2.6sec의 시간이 걸린다.For example, if a 4-bit microcomputer is used for the processing control unit 11 and the length of the identification code is specified as 16 bits by the system format, the identification time of the 4-bit code is set to 10 µsec. Matching the code in 16-bit units takes about 40μsec to 2.6sec.

이에 대하여, 상기한 방법으로 식별코드 내의 계층(구분)마다 대조하면, 약 40μsec~5.5msec의 시간으로 끝나, 대폭 대조의 소요시간이 단축된다.On the other hand, if the matching is performed for each layer (division) in the identification code by the above-described method, it ends in a time of about 40 µsec to 5.5 msec, and the time required for the verification is greatly reduced.

그리고, 도 4 및 도 5는, 식별코드의 구분과 계층화 구조를 예시한 것에 불과하고, 구분 수(도면에서는 3개), 각 구분의 비트 수, 각 구분에서 취득할 수 있는 코드의 수 등에 한정은 없다. 또, 도 5의 계층화의 배치에 한정도 없어, 예를 들면 상위 구분 MID를 한가운데로 하든가, 우측으로 하든가 제한은 없다.4 and 5 illustrate only the classification and hierarchical structure of the identification codes, and are limited to the number of divisions (three in the figure), the number of bits of each division, the number of codes that can be acquired in each division, and the like. There is no. In addition, there is no limitation to the arrangement of the hierarchical structure of FIG. 5, and there is no limitation, for example, whether the upper division MID is in the middle or the right.

또한, 대조의 수순도 한정은 없고, 통상 비트 수 및 코드의 종류가 적은 상위측으로부터 차례로 행하는 것이 바람직하지만, 예를 들면 개별 ID코드 IID의 비트 수가 극단적으로 적어 대조가 용이하면, 먼저 개별 ID코드 IDD로부터 대조를 행해도 괜찮다.In addition, there is no limitation on the order of matching, and in general, it is preferable to sequentially perform the order from the higher side having a smaller number of bits and types of codes. For example, if the number of bits of the individual ID code IID is extremely small and the matching is easy, first of all, the individual ID code. You may check from the IDD.

이 대조의 결과, 해독된 특정 식별코드 IDR과 일치하는 등록식별코드 IDR이 존재할 때는, 처리제어부(11)는 먼저 송신한 응답요구신호 내에 포함되는 도어의 「열림」 또는 「닫힘」의 명령신호에 따라, 도어의 구동신호를 예를 들면 대조부(18)로부터 도어(2)에 출력한다. 이로써, 도어의 개폐가 행해진다.As a result of this check, when there is a registration identification code IDR that matches the decrypted specific identification code IDR, the processing control unit 11 responds to the command signal of "open" or "closed" of the door included in the response request signal sent earlier. Therefore, the drive signal of the door is output from the matching unit 18 to the door 2, for example. In this way, the door is opened and closed.

이 도어의 개폐제어와 동시에, 도어를 열 때는 록 해제, 도어를 닫을 때는 록을 지시하는 록의 구동신호가, 예를 들면 대조부(18)로부터 구동장치(10)에 출력되면, 이 구동신호를 받은 구동장치(10)에 의해 도어의 록 해제 또는 록이 행해진다(스텝 S13).Simultaneously with the opening / closing control of the door, when the drive signal of the lock indicating the lock release when the door is opened and the lock when the door is closed is output from the matching unit 18 to the drive device 10, the drive signal is output. The door 10 is unlocked or locked by the received drive device 10 (step S13).

본 예에 있어서는, 도어의 개폐의 시행 때마다 록 장치(3)에서 난수 X를 발생시켜, 수신한 난수신호를 사용하여 키 장치(1) 내에서 특정 식별코드 IDS를 암호화하고, 이 암호화 코드 f(X, IDS)를 록 장치(3)에 송신하므로, 쌍방향에서 공간 전송되는 신호는 항상 상이한 신호로 되어, 가령 전송 도중에 신호가 제3자에게 수신되어도 특정 식별코드 IDS가 도난 당하는 위험성이 없어진다.In this example, the lock device 3 generates a random number X each time the door is opened and closed, and encrypts the specific identification code IDS in the key device 1 using the received random number signal. Since (X, IDS) is transmitted to the lock device 3, the signal transmitted in both directions is always a different signal, so that even if a signal is received by a third party during transmission, there is no risk of the specific identification code IDS being stolen.

또, 본 예에 있어서는, 전원제어부(15)에 의한 간헐 동작중에 있어서의 전력 공급의 개시타이밍 제어에 있어서, 송수신부(9)에의 전력 공급이 다른 부분(10~13)에 앞서 개시되어, 신속하게 수신상태가 갖추어진다. 그러므로, 종래와 같이, 모든 부분을 동시에 전력을 투입하면 처리제어부(11) 등이 처리 가능하게 되어 있음에도 불구하고 송수신부(9)의 상승시간에 시간을 요하여 쓸데 없는 시간을 낭비하는 일이 없다. 이 결과, 일련의 록/록 해제를 위한 처리제어를 행하는 정상(定常)동작시간이, 그 만큼 짧아져 전력 절약화를 도모할 수 있다. 또, 그 만큼 응답성도 양호하다.In addition, in this example, in the start timing control of the power supply during the intermittent operation by the power supply control unit 15, the power supply to the transceiver 9 is started in advance of the other portions 10 to 13, and quickly. The reception state is prepared. Therefore, as in the prior art, if all parts are simultaneously powered on, the processing control unit 11 or the like is capable of processing, so that the rise time of the transmitting / receiving unit 9 takes no time and wastes unnecessary time. . As a result, the normal operation time for performing a process control for a series of lock / lock release is shortened by that much, and power saving can be aimed at. Moreover, the response is also good by that much.

본 예에서는, 계통적인 식별코드 IDR의 등록이 이루어져, 효율 좋게 특정 식별코드 IDS와의 구분마다의 대조를 할 수 있으므로, 더욱 전력 절약화가 도모될 뿐만 아니라, 지시를 내리고 나서 실제로 록/록 해제의 동작이 행해지는 시간이 짧고, 응답성이 높아 사용감이 좋다.In this example, since the systematic identification code IDR is registered and can efficiently collate with the specific identification code IDS, not only is it possible to save more power, but also the operation of actually unlocking / locking after giving an instruction. This time is short, the response is high, the usability is good.

또 몇번 시행해도 우연히 신호의 코드가 일치되는 확률은 바뀌지 않는다. 이 코드가 일치되는 확률은, 예를 들면 24비트의 코드로부터 신호가 구성되어 있는 경우에는 항상 1670만분의 1 정도로 되어, 극히 높은 시큐리티성을 용이하게 실현할 수 있다.The number of trials does not change the probability of coincidence of the signal by chance. The probability that this code matches is always about 16.7 million when a signal is constructed from a 24-bit code, for example, and extremely high security can be easily realized.

다음에, 시큐리티성의 더 한층의 향상을 목적으로 하고, 난수 X의 중복 발생의 방지를 도모하기 위한 난수 발생에 관한 변형예 1~3에 대하여, 다음에 설명한다.Next, modified examples 1 to 3 relating to random number generation for the purpose of further improving the security and to prevent the occurrence of duplication of the random number X will be described next.

그리고, 다음의 변형예 1~3의 설명에서는, 록 장치 내의 처리제어부의 구성과, 난수메모리를 새로 구비하는 것이 앞의 경우와 상이하고, 다른 부분은 동일하다. 이 동일 부분은, 동일 부호를 붙이고, 그 설명은 생략한다.Incidentally, in the following descriptions of the modifications 1 to 3, the configuration of the processing control unit in the lock apparatus and the new random number memory are different from those in the previous case, and the other parts are the same. This same part attaches | subjects the same code | symbol, and the description is abbreviate | omitted.

구체적으로는, 송수신부(9), 구동장치(10), 등록ID메모리(12), 난수발생부(13), 전지(14), 전원제어부(15) 및 타이머(16)의 구성 및 동작은, 앞의 설명과 조금도 바뀌지 않는다. 또, 처리제어부 내의 해독부(17), 대조부(18)의 구성 및 동작도 앞의 설명과 동일하다.Specifically, the configuration and operation of the transmission / reception unit 9, the drive unit 10, the registration ID memory 12, the random number generation unit 13, the battery 14, the power supply control unit 15, and the timer 16 , Does not change with the previous description. In addition, the structure and operation | movement of the decryption part 17 and the matching part 18 in a process control part are the same as that of the above description.

(변형예 1)(Modification 1)

도 7에 나타낸 본 예의 키레스 엔트리 시스템에 있어서, 록 장치(20)는 그 처리제어부(21) 내에 난수변경부(22)를 가지고, 처리제어부(21)의 외부에 난수메모리(23)를 가진다.In the keyless entry system of this example shown in FIG. 7, the lock device 20 has a random number changing section 22 in the processing control section 21 and a random number memory 23 outside the processing control section 21. As shown in FIG.

또한 난수변경부(22)는, 비교수단(24)과, 출력제어수단(25)을 가지고 있다.The random number changing unit 22 also has a comparison means 24 and an output control means 25.

난수메모리(23)에는, 처리제어부(21)로부터 송수신부(9)에 출력됨으로써, 과거에 특정 식별코드 IDS의 암호화에 사용된 난수 X가, 소정 개수만 기억되어 있다. 그리고, 난수메모리(23)는 난수발생부(13)와 동일 타이밍으로 전원제어부(15)에 의한 간헐적인 전력 공급의 개시타이밍이 제어되고 있다.In the random number memory 23, the predetermined number is stored in the random number X which has been output from the processing control section 21 to the transmission / reception section 9 in the past and used for encrypting the specific identification code IDS. In the random number memory 23, the start timing of the intermittent power supply by the power supply controller 15 is controlled at the same timing as the random number generator 13.

비교수단(23)은, 난수발생부(13)로부터의 최신의 난수 Xk와, 난수메모리(23)로부터 독출된 먼저 사용된 난수(이하, 앞의 난수) Xk-1, Xk-2,… 와를 비교하는 것이고, 비교수단(23)의 입력에, 난수발생부(13) 및 난수메모리(23)가 접속되어 있다.The comparison means 23 includes the latest random number Xk from the random number generator 13 and the first used random number (hereinafter, referred to as the random number) Xk-1, Xk-2,... Read out from the random number memory 23. The random number generator 13 and the random number memory 23 are connected to the input of the comparison means 23.

출력제어수단(25)은, 난수발생부(13)로부터 송수신부(9)에의 출력경로 도중에 배설되고, 비교수단(24)의 비교결과에 따라, 난수 Xk의 출력을 금지하거나, 난수발생부(13)에 두 번의 난수 발생을 지시하여 난수 Xk의 출력 제어를 행하는 것이다.The output control means 25 is arranged in the middle of the output path from the random number generator 13 to the transceiver 9, and according to the comparison result of the comparison means 24, the output of the random number Xk is prohibited or the random number generator ( 13 is instructed to generate two random numbers to control output of the random number Xk.

도 8은, 변형예 1에 있어서의 난수 발생(도 2의 S4)의 내용을 나타낸 플로차트이다.FIG. 8 is a flowchart showing the contents of random number generation (S4 in FIG. 2) in the first modification.

최초의 스텝 S400에서는, 앞의 설명과 동일하게, 난수발생부(13)에 의해 난수 Xk가 생성되어, 처리제어부(21)에 입력된다.In the first step S400, random number Xk is generated by the random number generation unit 13 and input to the process control unit 21 in the same manner as described above.

스텝 S401에서는, 비교수단(24)에 의해, 생성된 난수 Xk와 난수메모리(23) 내의 앞의 난수 Xk-1, Xk-2,… 가 차례로 비교된다.In step S401, the random number Xk generated by the comparing means 24 and the previous random numbers Xk-1, Xk-2,... In the random number memory 23. Are compared in turn.

이 비교의 결과, 최신의 난수 Xk가 앞의 난수 Xk1, Xk-2,… 중의 하나와 일치하는 경우는, 이 결과를 받은 출력제어수단(25)이 난수 Xk의 출력을 금지한 후(스텝 S404), 항상 소정 회수 동안에 중복난수가 발생하지 않도록, 두 번의 난수 Xk의 생성(스텝 S400), 난수비교(스텝 S401), 판정(스텝 S402) 및 난수 Xk의 출력금지(스텝 S404)를 반복한다.As a result of this comparison, the latest random number Xk is the previous random number Xk1, Xk-2,... If it matches with either of them, after the output control means 25 having received this result prohibits the output of the random number Xk (step S404), two random numbers Xk are generated so that duplicate random numbers do not always occur for a predetermined number of times ( Step S400), random number comparison (step S401), determination (step S402) and output prohibition of random number Xk (step S404) are repeated.

한편, 난수메모리(23) 내의 모든 앞의 난수와 일치하지 않을 때는(스텝 S402의 「No」), 이 결과를 받은 출력제어수단(25)이 난수 Xk의 출력을 허가한 후(스텝 S403), 당해 난수발생처리 S4를 종료시킨다.On the other hand, when it does not coincide with all previous random numbers in the random number memory 23 ("No" in step S402), after the output control means 25 which has received this result allows the output of the random number Xk (step S403), The random number generation processing S4 is terminated.

이 변형예 1에서는, 소정 회수 계속하여 동일 난수가 특정 식별코드 IDS의 암호화에 사용되는 것이 회피되어, 시큐리티성이 높은 시스템을 실현할 수 있는 이점이 있다.In this modified example 1, it is avoided that the same random number is used for the encryption of the specific identification code IDS after a predetermined number of times, and there is an advantage that a highly secure system can be realized.

그리고, 본 예에서는 난수의 생성이 계속하여 반복되는 것이 있으므로, 예를 들면 다음에 사용하는 난수를, 앞의 난수와의 중복성을 조사한 후 스토크하는 구성으로 해도 된다.In this example, the random number generation may be repeated continuously. For example, the next random number may be configured to be stoked after checking the redundancy with the previous random number.

(변형예 2)(Modification 2)

도 9에 나타낸 본 예의 키레스 엔트리 시스템에 있어서, 록 장치(30)는 그 처리제어부(31) 내에 난수변경부(32)를 가진다.In the keyless entry system of this example shown in Fig. 9, the lock device 30 has a random number changing section 32 in the processing control section 31.

이 난수변경부(32)가, 상기 변형예 1의 난수변경부(22)와 상이한 점은, 도 7의 출력제어수단(25)에 대신하여, 소정의 연산처리를 행하는 연산처리수단(33)을 배설한 것이다. 이 연산처리로서는, 반드시 상이한 난수를 생성할 수 있는 연산처리면 되고, 예를 들면 난수 Xk를 구성하는 모든 비트의 “0”과 “1”을 반전하는 연산처리가 해당된다.The random number changing unit 32 differs from the random number changing unit 22 in the modification 1 in place of the output control unit 25 in FIG. 7. It is excreted. As this calculation process, the calculation process which can generate | generate a different random number necessarily may be sufficient, for example, the calculation process which inverts "0" and "1" of all the bits which comprise the random number Xk.

도 10은, 변형예 2에 있어서의 난수 발생(도 2의 S4)의 내용을 나타낸 플로차트이다.10 is a flowchart showing the contents of random number generation (S4 in FIG. 2) in the second modification.

스텝 S410~S412는, 앞의 변형예 1에 있어서의 스텝 S400~S402와 동일하게, 난수발생부(13)에 의한 난수 Xk의 생성(스텝 S410), 비교수단(24)에 의한 최신의 난수 Xk와 앞의 난수 Xk-1, Xk-2,… 와의 비교(스텝 S411), 및 판정(스텝 S412)이 행해진다.Steps S410 to S412 are similar to steps S400 to S402 in the first modified example, generation of random number Xk by the random number generating unit 13 (step S410), and latest random number Xk by the comparing means 24. And the preceding random numbers Xk-1, Xk-2,... The comparison with step (step S411) and the determination (step S412) are performed.

이 판정의 결과, 최신의 난수 Xk가 앞의 난수 Xk-1, Xk-2,…중의 하나와 일치하는 경우는, 이 결과를 받은 연산처리수단(33)이, 난수 Xk에 대하여 소정의 연산처리를 실시하여 상이한 난수로 변경한 후에 변경 후의 난수를 Xk로서 출력하면(스텝 S413), 당해 난수발생처리 S4가 종료된다.As a result of this determination, the latest random number Xk is the previous random number Xk-1, Xk-2,... If it matches one of the above, if the arithmetic processing means 33 which has received this result performs a predetermined arithmetic processing on the random number Xk, changes it to a different random number, and outputs the changed random number as Xk (step S413), The random number generation processing S4 is completed.

이 변형예 2에 의해서도, 소정 회수 계속하여 동일 난수가 특정 식별코드 IDS의 암호화에 사용되는 것이 회피되어, 시큐리티성이 높은 시스템을 실현할 수 있다.Also in this modification 2, it is avoided that the same random number is used for the encryption of the specific identification code IDS after a predetermined number of times, thereby achieving a high security system.

그리고, 본 예에서는, 난수가 중복된 경우라도, 한번의 연산처리로 반드시 상이한 난수가 얻어져, 당해 시스템의 난수처리에 대한 타이밍설계가 용이하다고 하는 이점을 가진다.In this example, even when the random numbers are duplicated, different random numbers are necessarily obtained in one calculation process, which has the advantage that the timing design for the random number processing of the system is easy.

(변형예 3)(Modification 3)

도 11에 나타낸 본 예의 키레스 엔트리 시스템에 있어서, 록 장치(40)는 그 처리제어부(41) 내에 난수변경부(42), 처리제어부(41)의 외부에 제2의 난수발생부라고도 해야 할 카운터(43)를 가진다.In the keyless entry system of this example shown in FIG. 11, the lock device 40 is a counter that should be referred to as a second random number generating unit within the processing control unit 41 and a second random number generating unit outside the processing control unit 41. Has 43.

본 예의 난수변경부(42)는, 상기 변형예 1 및 2와는 난수 변경의 방법이 상이하여, 예를 들면, 난수 Xk의 부호열에 카운터(43)로부터의 부호열을 직렬로 연결하여 합성함으로써 난수 Xk를 변경한다. 이 난수의 합성은, 반드시 상이한 난수를 생성할 수 있으면 되고, 예를 들면 23비트의 난수 Xk에 1비트를 “0”과 “1”을 교대로 부가하는, 또는 소정 비트 수의 카운터치를 조금씩 인크리멘트 또는 디크리멘트하는 등으로 생성난수 Xk를 상이한 난수로 변경할 수 있다.The random number changing section 42 of the present example differs from the above-described modifications 1 and 2 in that the random number changing method is different. For example, the random number changing section 42 combines the code string from the counter 43 in series with the code string of the random number Xk to synthesize the random number. Change Xk. Synthesis of this random number only needs to be able to generate a different random number, for example, adds one bit alternately with "0" and "1" to 23-bit random number Xk, or incrementally counters a predetermined number of bits. The resulting random number Xk can be changed to a different random number, for example, by cement or decrement.

도 12는, 변형예 3에 있어서의 난수 발생(도 2의 S4)의 내용을 나타낸 플로차트이다.FIG. 12 is a flowchart showing the contents of random number generation (S4 in FIG. 2) in the third modification.

스텝 S420의 난수 Xk의 생성은, 앞의 변형예 1 및 2와 동일하게, 난수발생부(13)에 의해 행해지고, 생성된 난수 Xk는 난수변경부(42)의 한쪽의 입력에 보내진다.Generation of the random number Xk in step S420 is performed by the random number generation unit 13 similarly to the modifications 1 and 2 described above, and the generated random number Xk is sent to one input of the random number changing unit 42.

한편, 카운터(43)에서의 카운트치 Ck가 독출되어(스텝 S421), 난수변경부(42)의 다른 쪽의 입력에 보내진다. 카운트치 Ck를 출력한 후, 바로 카운터(43)는 소정치만 카운트업 또는 카운트다운되어 정지하고, 다음의 카운트치 Ck를 독출하기 위해 준비한다(스텝 S422).On the other hand, the count value Ck in the counter 43 is read out (step S421) and sent to the other input of the random number changing section 42. Immediately after outputting the count value Ck, the counter 43 counts up or stops only the predetermined value and stops, and prepares to read the next count value Ck (step S422).

그리고, 다음의 스텝 S423에서는, 난수변경부(42)에 있어서, 난수 Xk에 카운트치 Ck를 연결하고, 이 합성 후의 값이 새로운 난수 Xk로서 출력되면, 당해 난수발생처리 S4가 종료된다.In the next step S423, in the random number changing unit 42, when the count value Ck is connected to the random number Xk, and the value after the synthesis is output as a new random number Xk, the random number generation process S4 ends.

이 변형예 3에 의해서도, 소정 회수 계속하여 동일 난수가 특정 식별코드 IDS의 암호화에 사용되는 것이 거의 회피되어, 시큐리티성이 높은 시스템을 실현할 수 있다.Also in this modification 3, it is almost avoided that the same random number is used for the encryption of the specific identification code IDS after a predetermined number of times, and a high security system can be realized.

그리고, 본 예는, 중복방지확률을 극히 낮게 할 수 있는데다, 난수변경부(42)의 구성이 간단하다고 하는 이점을 가진다.The present example has an advantage that the duplication prevention probability can be made extremely low, and the configuration of the random number changing section 42 is simple.

본 발명에 관한 식별장치 및 식별방법에 의하면, 기억부에 계통적인(계층화된) 식별코드의 등록이 이루어져 검색이 용이한데다, 무관계한 구분에서의 코드 검색과 대조가 극력 저감되므로, 효율 좋게 식별코드끼리의 구분마다의 대조를 할 수 있고, 이 결과, 전체의 대조시간이 짧게 끝난다.According to the identification device and the identification method of the present invention, a systematic (layered) identification code is registered in the storage unit to facilitate retrieval, and code retrieval and contrast in irrelevant classifications are greatly reduced. It is possible to collate each division, and as a result, the entire collation time is shortened.

특히, 본 발명의 식별장치에서는, 지시를 내리고 나서 실제로 록/록 해제 등의 제어동작이 행해지는 시간이 짧고, 응답성이 높아 사용감이 좋다.In particular, in the identification device of the present invention, the time for which a control operation such as lock / lock release is actually performed after giving an instruction is short, and the response is high, and the usability is good.

또, 식별코드의 대조시간이 짧게 끝나므로, 그 만큼, 저소비 전력이어서, 유한한 전지를 전원으로 하여 사용하고 있는 코드식별장치에 최적이다.In addition, since the matching time of the identification code is short, the power consumption is low, which is optimal for a code identification device using a finite battery as a power source.

이상의 설명은 본 발명이 양 방향 통신을 사용하는 키레스 엔트리 시스템에 적용되는 경우에 대한 것이나, 본 발명의 요지는 식별신호의 대조에 있다. 암호화 등이 실행되지 않으면, 피검출장치로부터 검출장치로의 일방향 통신을 사용하는 구성도 가능하다.The above description is for the case where the present invention is applied to a keyless entry system using two-way communication, but the gist of the present invention lies in the identification signal identification. If encryption or the like is not executed, a configuration in which one-way communication from the device to be detected to the detection device is used is also possible.

전술한 바와 같이, 본 발명에 대하여 바람직한 실시예를 참조하여 설명하였으나, 본 발명은 이러한 실시예에 한정되지 않고, 이 기술분야에서 숙련된 자는 본 발명의 사상 및 범위를 일탈하지 않고 여러 가지 변경 및 변형을 가할 수 있다는 것을 알 수 있다.As described above, the present invention has been described with reference to the preferred embodiments, but the present invention is not limited to these embodiments, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. It can be seen that modifications can be made.

Claims (7)

비트수가 각각 소정수로 결정된 복수의 구분으로 구성되는 특정식별코드를 나타내는 제1의 식별신호를 송신하는 피검출장치와, 당해 피검출장치로부터 상기 제1의 식별신호를 수신하여, 상기 피검출장치가 미리 등록된 것인가 여부를 식별하는 검출장치와로 구성되고, 상기 검출장치는, 비트수가 각각 소정수로 결정된 복수의 구분으로 구성되는 등록식별코드를 나타내는 제2의 식별신호가 미리 기억되어 있는 기억부와, 수신한 상기 제1의 식별신호를, 상기 기억부로부터 독출한 제2의 식별신호와대조하는 대조부와, 상기 대조부를 제어하여 동일한 상기 구분에 대하여 상기 특정식별코드와 상기 등록식별코드와의 대조를 행하게 하고, 당해 구분에서 특정 식별코드와 일치한 다음에 대조해야 할 등록식별코드를 특정하고, 당해 구분간에서 행하는 대조의 제어와, 다음에 대조해야 할 등록식별코드의 특정과를, 대조하는 구분을 변경하면서 모든 구분간의 대조가 종료하기까지 반복하여 행하는 처리제어부와를 가지는 것을 특징으로 하는 식별장치.A detected device for transmitting a first identification signal representing a specific identification code composed of a plurality of divisions each determined by a predetermined number of bits, and receiving the first identification signal from the detected device, wherein the detected device And a detection device for identifying whether or not the registration has been registered in advance, wherein the detection device stores in advance a second identification signal indicating a registration identification code consisting of a plurality of divisions each of which has been determined with a predetermined number of bits. And a matching unit for matching the received first identification signal with a second identification signal read out from the storage unit, and controlling the matching unit to control the specific identification code and the registration identification code for the same division. The registration identification code to be matched after matching with a specific identification code in the division, and performed between the divisions. And a processing control unit for repeating the control of the pair and the specific section of the registration identification code to be checked next, until the matching between all the divisions is finished while changing the division to be collated. 제1항에 있어서, 상기 검출장치는, 난수(亂數)신호로서 상기 피검출장치에 송신되는 난수를 발생하는 난수발생부를 더 가지고, 상기 피검출장치는, 수신한 상기 난수신호를 사용하여 상기 제1의 식별신호를 암호화하고, 상기 검출장치에 결과를 송신시키는 신호처리부를 더 가지고, 상기 처리제어부는, 상기 암호화 후의 제1의 식별신호를 해독하여 암호화 전의 제1의 식별신호를 독출한 후, 상기 구분간의 대조를 행하는 것을 특징으로 하는 식별장치.2. The detection apparatus according to claim 1, wherein the detection apparatus further includes a random number generator that generates a random number transmitted as the random number signal to the apparatus to be detected, and the apparatus to be detected uses the received random number signal to generate the random number. And a signal processing unit for encrypting a first identification signal and transmitting a result to the detection device, wherein the processing control unit reads the first identification signal before encryption by decrypting the first identification signal after encryption. And discriminating between the divisions. 제1항에 있어서, 상기 등록식별코드는, 최소한 상위 구분과 하위 구분과를가지고, 상기 기억수단에 기억되어 있는 등록식별코드 전체에서는, 상기 상위 구분의 어느 것에 대해서도 코드가 상이한 복수의 상기 하위 구분의 조(組)가 할당되어, 구분간이 계층화되어 있고, 상기 처리제어부는, 상기 대조부를 제어하여 최상위의 구분으로부터 시작하여 순차, 하위측의 구분으로, 상기 대조하는 구분을 변경하는 것을 특징으로 하는 식별장치.The plurality of subdivisions of claim 1, wherein the registration identification code has at least an upper division and a lower division, and in the entire registration identification code stored in the storage means, a plurality of the lower divisions having different codes for any of the upper divisions. The divisions are assigned to each other, and the divisions are stratified, and the processing control unit controls the collation unit to change the collation divisions starting from the highest division and sequentially into lower divisions. Identification device. 피검출장치로부터 송신되어 온, 비트수가 각각 소정 수로 결정된 복수의 구분으로 구성되는 특정식별신호를 수신하고, 상기 특정식별코드를 동일 구분에 미리 등록되어 있는, 등록식별코드와 대조하고, 당해 구분에서 특정식별코드와 일치한 다음에 대조해야 할 등록식별코드를 특정하고, 당해 구분간에서 행하는 대조와, 다음에 대조해야 할 등록식별코드의 특정과를, 대조하는 구분을 변경하면서 모든 구분간의 대조가 종료하기까지 반복하여 행하는 스텝과로 이루어지고, 이로써 식별신호가 미리 등록된 것인가 여부를 식별하는 것을 특징으로 하는 식별방법.Receive a specific identification signal composed of a plurality of divisions, each of which has been transmitted from the apparatus to be detected and whose number of bits is determined to be a predetermined number, and compares the specific identification code with a registration identification code that is registered in the same division in advance. After matching the specific identification code, the registration identification code to be contrasted is specified, and the comparison between all divisions is changed while changing the division to check the comparison between the division and the specific section of the registration identification code to be compared next. And repetitively performing steps until ending, thereby identifying whether an identification signal has been registered in advance. 제4항에 있어서, 난수를 발생시켜 난수신호로서 상기 피검출장치에 송신한 후, 송신한 난수신호를 사용하여 상기 피검출장치에서 암호화된 상기 식별신호를 암호화하고, 당해 암호화 후의 식별신호를 해독하여 암호화 전의 상기 식별신호를 독출한 후에, 상기 구분간의 대조를 행하는 것을 특징으로 하는 식별방법.5. The method according to claim 4, wherein a random number is generated and transmitted to the apparatus to be detected as a random number signal, and then the identification signal encrypted by the apparatus to be detected is encrypted using the transmitted random number signal, and the identification signal after the encryption is decrypted. And reading the identification signal before encryption, and then checking the classification. 제4항에 있어서, 상기 각 등록식별코드는, 최소한 상위 구분과 하위 구분과를가지고, 기억되어 있는 등록식별코드에서는, 상기 상위 구분의 어느 것에 대해서도 코드가 상이한 복수의 상기 하위 구분의 조가 할당되어, 구분간이 계층화되어 있고, 상기 식별방법은, 최상위의 구분으로부터 시작하여 순차, 하위측의 구분으로 대조하는 구분을 변경하는 스텝을 더 가지는 것을 특징으로 하는 식별방법.5. The method according to claim 4, wherein each registration identification code has at least an upper division and a lower division, and in the stored registration identification code, a plurality of sets of the lower divisions having different codes are assigned to any of the upper divisions. And the divisions are stratified, and the identification method further comprises a step of changing the divisions to be contrasted with the divisions in the sequential order, starting with the division at the top. 제4항에 있어서, 상기 구분간의 대조에 있어서, 일치하는 코드가 없을 때는 당해 대조를 강제로 종료시키는 스텝을 더 가지는 것을 특징으로 하는 식별방법.The identification method according to claim 4, further comprising the step of forcibly terminating the matching when there is no matching code in the matching between the divisions.
KR1019980016884A 1997-05-13 1998-05-12 Identification device and identification method KR19980086957A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP9121827A JPH10313307A (en) 1997-05-13 1997-05-13 Identification signal collation device and identification signal collation method
JP97-121827 1997-05-13

Publications (1)

Publication Number Publication Date
KR19980086957A true KR19980086957A (en) 1998-12-05

Family

ID=14820918

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980016884A KR19980086957A (en) 1997-05-13 1998-05-12 Identification device and identification method

Country Status (2)

Country Link
JP (1) JPH10313307A (en)
KR (1) KR19980086957A (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5319388B2 (en) * 2009-05-13 2013-10-16 株式会社東海理化電機製作所 Remote control system and remote control method
CN103295281A (en) * 2012-02-29 2013-09-11 深圳光启创新技术有限公司 Light-operated lock system and implementation method thereof
CN103295283B (en) * 2012-02-29 2017-11-14 深圳光启智能光子技术有限公司 A kind of light-operated lock system and implementation method thereof
CN103295291B (en) * 2012-03-02 2015-07-01 深圳光启创新技术有限公司 Light-operated door lock system based on multipoint trigger
CN103295290B (en) * 2012-03-02 2015-07-01 深圳光启创新技术有限公司 Door lock system and control method thereof
CN103366423B (en) * 2012-03-31 2015-09-09 深圳光启创新技术有限公司 Based on the light-operated gate control system of mobile fingerprint identification
JP2014142699A (en) * 2013-01-22 2014-08-07 Denso Corp Random number generator and vehicle controller using the same
JP6742008B1 (en) 2019-06-25 2020-08-19 株式会社ビットキー Usage control system, usage permit issuing device, usage control method, and computer-readable program
JP2021005870A (en) * 2020-07-21 2021-01-14 株式会社ビットキー Use control system, use permit issuance device, use control method, and computer-readable program

Also Published As

Publication number Publication date
JPH10313307A (en) 1998-11-24

Similar Documents

Publication Publication Date Title
JP2784309B2 (en) Remote control security system
US5523746A (en) Identification system with a passive activator
US6067028A (en) Identification signal registering method and identification signal registering apparatus
KR100503492B1 (en) Code signal transmitter, especially for an anti-theft system in a motor vehicle
US6097307A (en) Security system with randomized synchronization code
WO1996007133A9 (en) Identification system with a passive activator
US5978483A (en) Securely encrypted remote keyless entry system
IL161943A0 (en) Portable device and method for accessing data key actuated devices
JPH1061278A (en) Remote-controllable locking device
US20060223500A1 (en) Authentication system
KR19980086957A (en) Identification device and identification method
CN110163995B (en) Remote control electronic lock system
JP3748635B2 (en) Communication device
US5844990A (en) Transmission-reception system
JP2019105881A (en) Sharing system
JPH10176448A (en) Keyless entry device
US5963141A (en) Apparatus for checking identification signal and method thereof
JPH10303886A (en) Device and method for collating identification signal
JPH10304472A (en) Identification signal collation apparatus and identification signal collation method
JP2006306379A (en) Authenticating system, base station, and portable unit
JPH1030367A (en) Identification signal checking device and identification signal checking method
JPH10303887A (en) Device and method for collating identification signal
JP2001295525A (en) Keyless entry system
JPH1088879A (en) Identification signal reference device and identification signal reference method
KR100509799B1 (en) Digital doorlock using a key-code algorithm

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination