WO1998024998A1 - Electronic key and electronic lock - Google Patents

Electronic key and electronic lock Download PDF

Info

Publication number
WO1998024998A1
WO1998024998A1 PCT/CN1997/000139 CN9700139W WO9824998A1 WO 1998024998 A1 WO1998024998 A1 WO 1998024998A1 CN 9700139 W CN9700139 W CN 9700139W WO 9824998 A1 WO9824998 A1 WO 9824998A1
Authority
WO
WIPO (PCT)
Prior art keywords
circuit
password
electronic
electronic lock
electronic key
Prior art date
Application number
PCT/CN1997/000139
Other languages
French (fr)
Chinese (zh)
Inventor
Xianghou Zong
Original Assignee
Sun, Meng
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 Sun, Meng filed Critical Sun, Meng
Priority to AU51868/98A priority Critical patent/AU5186898A/en
Publication of WO1998024998A1 publication Critical patent/WO1998024998A1/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/00182Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with unidirectional 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
    • G07C2009/00753Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by active electrical keys
    • G07C2009/00769Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by active electrical keys with data transmission performed by wireless means
    • G07C2009/00785Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by active electrical keys with data transmission performed by wireless means by light
    • 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
    • G07C2209/00Indexing scheme relating to groups G07C9/00 - G07C9/38
    • G07C2209/60Indexing scheme relating to groups G07C9/00174 - G07C9/00944
    • G07C2209/62Comprising means for indicating the status of the lock

Definitions

  • the present invention relates to an electronic pair lock, in particular to a digital electronic key and electronic lock, which is characterized in that: an electronic lock operation instruction and an electronic secret code capable of causing the instruction to function are composed of electronic The key to decide.
  • the electronic key and the electronic lock in the prior art are shown in FIG. 1 and are circuit block diagrams thereof.
  • the braking code of the electronic lock 200 is determined by the electronic lock 200, and the braking code of the electronic lock 200 is determined. It is transmitted to the electronic key 100 for storage in various ways.
  • the electronic key has the function of braking the electronic lock, and once the secret code of the electronic key is determined, its body cannot be changed in any way (as shown in the figure
  • the electronic key in the form of a magnetic card, such as: "10237982”, is fixedly written in the electronic key memory of 10G, and the electronic key 200 is read into the electronic key 200 by the electronic key reading device during shackle).
  • the ordinary electronic key 100 can only correspond to one electronic lock 200, which is made once and does not have versatility. It can be said that in such a conventional device, the electronic lock 200 is active, the electronic key 100 is passive, and all functions of the electronic key 100 are determined by the electronic lock.
  • the disadvantages of this electronic key 100 are not universal except Also, because the secret code is naked (the secret code is always naked in the electronic key 100), it is easy to be decoded, so the security is not high.
  • An object of the present invention is to provide an electronic key and an electronic lock with functions such as data lock and storage, and an electronic key to play an active role in response to the shortcomings of the prior art.
  • the function code is determined by the electronic key.
  • Another object of the present invention is to provide an electronic key whose key can correspond to multiple electronic locks. Keys and electronic locks use the functions of the electronic key to store and set data, and set multiple passwords on the electronic key, which can be used to unlock multiple electronic locks, which is universal.
  • the present invention adopts the following measures:
  • the electronic key and the electronic lock of the present invention include: an electronic key and an electronic lock; a circuit part is respectively provided on the electronic key and the electronic lock; the circuit part of the electronic lock includes: a power supply, a microprocessor, a password memory, and a password comparison circuit , Drive circuit, solenoid valve with electronic lock and communication circuit for alarm and recording;
  • the circuit part of the electronic key includes: a human input circuit, a microprocessor, an infrared signal transmitting circuit, and a power supply for power supply;
  • the circuit part of the electronic lock further includes: an infrared signal receiving circuit;
  • the infrared signal receiving circuit for receiving the signal sent by the infrared signal transmitting circuit is connected to the microprocessor of the electronic lock, so as to receive the operation instruction signal and input the secret code in real time;
  • the cryptographic control circuit is connected to the secret memory and the microprocessor;
  • the password is stored in the password memory under the control of the password, or the password is compared by the password comparison circuit;
  • the driving circuit is connected to the microprocessor, the electromagnetic valve of the electronic lock and the communication circuit for alarm and recording; For processing, if the password is correct, then the driving circuit is turned on to drive the electromagnetic valve yoke of the electronic lock. If the password is incorrect, communication and other functions are processed through the alarm and recorded communication circuits.
  • the input circuit may include a key circuit for inputting an input signal and a display circuit for displaying the input signal.
  • the input circuit may further include a touch circuit to input numbers, various characters, Chinese characters and graphics by hand, and store the digital signals in the microprocessor of the electronic key.
  • Both the infrared signal transmitting circuit and the infrared signal receiving circuit may include a transmitting and receiving circuit and an infrared signal / digital signal conversion circuit connected thereto.
  • the transmitting and receiving circuit may include: a light emitting diode capable of transmitting infrared signals and a receiving red External photocell.
  • the password comparison circuit may be composed of a data buffer circuit and a logic comparison circuit, and is used to complete the comparison between the password stored in the electronic lock and the password given by the operator.
  • the communication circuit for alarm and record can adopt RS485 communication protocol circuit.
  • the microprocessor of the electronic key is provided with an operation program for setting, storing and erasing secret codes, an infrared signal transmitting program and a yoke lock program.
  • the microprocessor of the electronic lock is provided with a program for storing and checking secret codes, and a program for alarming and recording.
  • the password memory may be provided with a storage space for storing at least two passwords, and each password is coordinated with a corresponding instruction to implement control and management of the password. In the initial state, the password is zero.
  • FIG. 1 is a circuit block diagram of a conventional electronic key and electronic lock.
  • FIG. 2 is a circuit block diagram of an electronic key and an electronic lock according to the present invention.
  • FIG. 3 is a circuit diagram of an infrared signal transmitting and receiving circuit of an electronic key and an electronic lock according to the present invention.
  • FIG. 4 is a schematic diagram of a work flow of an electronic key according to the present invention.
  • FIG. 5 is a schematic diagram of the working process of the electronic lock of the present invention.
  • FIG. 6 is a schematic diagram of a working process of an electronic key and an electronic lock according to an embodiment of the present invention.
  • FIG. 2 it is a circuit block diagram of an electronic key and an electronic lock according to the present invention.
  • the electronic key 100 includes: a microprocessor 1, an input circuit 2 connected to the microprocessor 1, an infrared signal transmitting circuit 3, and a power source 4.
  • Electronic lock 200 includes: infrared signal receiving circuit ⁇ , password memory 5, password comparison circuit 6, microprocessor 8, driving circuit 9, electromagnetic valve 10 for electronic lock, communication circuit 11 for alarm and recording, and power supply 1 2 .
  • the input circuit 2 receives an input signal (including a password) of an operator key. And instruction signals), and input the input signal to the microprocessor 1, the microprocessor 1 inputs the input signal to the infrared signal transmitting circuit 3, and transmits it; the power supply 4 provides the working voltage for each circuit part.
  • the infrared signal receiving circuit 7 receives the infrared signal emitted by the infrared signal transmitting circuit 3, the signal is input to the microprocessor 8, and the microprocessor 8 specifies according to the received operation instruction, or The password is stored in the password memory 5, or the password is compared with the password comparison circuit 6 to determine whether the password is correct. If the password is correct, the drive circuit 9 is turned on to drive the solenoid valve 10 of the electronic lock.
  • the communication circuit 11 performs processing of communication and other functions, and the power source 12 provides working voltage for each circuit part.
  • the input circuit 2 in this embodiment includes a key circuit, a display circuit, and a touch circuit to implement various input methods: using keys to input instructions, and using keys or touch circuits to input characters, numbers, graphics, etc .; among them, a password comparison circuit 6 is composed of a data buffer circuit and a logic comparison circuit, which is used to complete the comparison between the password stored in the electronic lock 200 and the password given by the operator; the communication part 11 for alarming and recording can use the RS485 communication protocol circuit.
  • FIG. 3 it is a circuit diagram of an infrared signal transmitting and receiving circuit of an electronic key and an electronic lock according to the present invention.
  • the infrared signal transmitting circuit 3 of the electronic key 100 and the infrared signal receiving circuit 7 of the electronic lock 200 are Similarly, the circuit includes: a transmitting and receiving circuit 26 and an infrared signal / digital signal conversion circuit 25 connected thereto; the transmitting and receiving circuit 26 is composed of a light emitting diode 27 and a photo tube 28; the infrared signal / digital signal conversion of the electronic key 100
  • the circuit 25 obtains the digital signal to be transmitted from the microprocessor 1, converts it into an infrared signal, and transmits the digital signal to the transmitting and receiving circuit 26.
  • the transmitting and receiving circuit 26 sends an infrared signal to the electronic lock 200 through the light emitting diode 27; After the transmitting and receiving circuit 26 of the lock 200 receives the infrared signal through the photo tube 28, it transmits the infrared signal to the infrared signal / digital signal conversion circuit 25. After the infrared signal / digital signal conversion circuit 25 converts the infrared signal into a digital signal, It is transmitted to the microprocessor 8; the infrared signal / digital signal conversion circuit 25 and the transmission in the embodiment of the present invention
  • the receiving circuit 26 respectively and TFDS3000 TEMIC TOI 3000 integrated circuit manufactured. As shown in FIG. 4, it is a schematic diagram of the working flow of the electronic key 100 of the present invention.
  • steps 401 and 402 are performed: a password is input and displayed from the input circuit 2 and step 403 is performed; an operation instruction is input from the input circuit 2 and executed Steps 404 and 405; under the control of the microprocessor 1, an infrared signal is transmitted to the electronic lock by the infrared signal transmitting circuit 3, so as to control the functions of opening, closing and setting of the secret code of the electronic lock, so as to remind the user to take precautionary measures in a timely manner .
  • step 502 is first performed: the infrared signal receiving circuit 7 receives the infrared signal transmitted from the infrared signal transmitting circuit 3, The signal is input to the microprocessor 8, and step 503 is executed.
  • the microprocessor 8 judges the function of receiving the signal. If the function of receiving the signal is an on or off instruction of the electronic lock, then step 504 is performed, and the password in the password memory 5 is compared. To verify that the password is correct, perform steps 5 to 5 to realize the opening or closing of the electronic lock, and connect the communication circuit 11 for recording.
  • Step 506 Compare the password in the password memory 5 to verify that the password is correct, then execute step 507, implement storing, erasing the password, and connect the communication circuit for recording; if the password is incorrect, proceed to step 508: switch on for Alarm, record communication measures.
  • FIG. 6 it is an embodiment of a use state of an electronic key and an electronic lock according to the present invention.
  • This embodiment is an electronic key and an electronic lock for an apartment management system.
  • the stored passwords of level I ⁇ N in the password storage circuit 5 are all 0, and the execution sequence is as follows: First, perform step 13 on the digital electronic key 100: the manager inputs the instruction and the level I Password, or resident input instruction and level II password, and related person or special case input instruction and ⁇ -N level password; then after the signal is sent to the electronic lock 200, go to step 16: Receive the input from the administrator After receiving instructions and level I passwords, or receiving instructions from occupants and level ⁇ passwords, or instructions from related parties or special circumstances, and ⁇ -N level passwords, according to the operator's instructions, if it is sent to storage To remove the secret code instruction, the corresponding personnel's operation steps 14, 17 and 18 should be performed respectively.
  • step 16 according to the opening or closing instructions sent by the operator, perform steps 19, 20, or 21 respectively; perform the corresponding level check, and if the check is correct, perform step 22: perform the door opening or closing action ; Otherwise, execute step 24: implement actions such as alarming and recording.
  • the electronic key of the electronic key itself can be stored or deleted according to the instructions, there is no possibility of being used by others after the electronic key is lost. If the electronic lock is to be instructed, it can be re-entered in another electronic key. The signal originally set by the person can restore the function instantly.
  • I, ⁇ , III to N are several levels of passwords
  • level I is a password that can be set by senior managers
  • level ⁇ is a password that can be set by only lower-level managers
  • levels III-N The managers at the lower level agree to keep the passwords for the managers (or affiliates) at a lower level or use them in the abnormal state.
  • the function of using the first-level password is to send the same password as the first-level password to a senior manager using an electronic key to open or close the door of the person under management. Command signals necessary for passwords, and all passwords or all passwords except level I are eliminated (restore the initial state).
  • the function of using the level ⁇ password is that the second level management personnel can not only make their own door open or close the command action, but also enable the level ⁇ -N to obtain the instruction electric signal necessary to start the cipher, and issue The instruction causes all the passwords except I and E to be eliminated individually or together.
  • the function of using the level IIII password is to enable the related person to instruct the opening or closing of the door, and also to generate the command actions such as precautions and alarms used in the abnormal state set by the occupant. However, it does not have the function of eliminating any password.
  • the present invention has the following effects:
  • the electronic password in the present invention is set in an electronic key, that is, the electronic key itself can generate an electronic password independently and change the password instantly, so it has randomness and versatility.
  • the electronic key can generate multiple electronic codes and various set command signals, while the electronic lock can Correspondingly, multiple electronic passwords are stored and various commands are received, so one key can correspond to multiple electronic locks.
  • the method of using the electronic key and the electronic lock of the present invention is simple, and can be used by people of all ages and classes.
  • the electronic key and the electronic lock of the present invention have low manufacturing cost, and therefore are easy to be popularized and popularized.
  • the electronic key used by the electronic key and the electronic lock of the present invention does not need to be set by a computer. It is an independent system in itself, and it can completely complete all work instructions and password settings from the initial state So it can be used very easily and conveniently in all situations where opening and closing devices are present.
  • the electronic key and the electronic lock of the present invention have low manufacturing cost, simple structure, novel function, and circuit components can use existing integrated circuits. Therefore, the electronic key and electronic lock are suitable for automation and mass production, and are easy to be popularized and popularized.

Abstract

The present invention relates to an electronic key (100) and an electronic lock (200). Said key (100) and lock (200) are supplied with circuit part, respectively. The circuit part of the electronic key (100) mainly includes input circuit (2), micro-processor (1) and infra-red transmitting circuit (3) which are connected in sequence. The circuit part of the electronic lock (200) mainly includes infra-red receiving circuit (7), micro-processor (8), code memory (5), code comparing circuit (6), drive circuit (9) and the electromagnetic valve (10) of the lock. Said infra-red receiving circuit (7) is connected to micro-processor (8). Code comparing circuit (6) is connected to code memory (5) and micro-processor (8). Drive circuit (9) is connected to micro-processor (8), the electromagnetic valve (10) of the lock and alarm and recorder communicating circuit (11). The feature of the present invention is that the electronic code of the instruction for lock acting and the code of making these instructions operational are dependent on the electronic key (100).

Description

电子钥匙和电子锁 本发明涉及一种电子对号锁, 特别是一种数字式电子钥匙和电子锁, 其特 点是: 电子锁发生动作的指令和能使指令产生作用的电子暗号, 是由电子钥匙 来决定的。  Electronic key and electronic lock The present invention relates to an electronic pair lock, in particular to a digital electronic key and electronic lock, which is characterized in that: an electronic lock operation instruction and an electronic secret code capable of causing the instruction to function are composed of electronic The key to decide.
背景技术 Background technique
现有技术中的电子钥匙和电子锁, 如图 1所示, 其为它们的电路方框图, 其中, 电子锁 200的制动暗号, 都是由电子锁 200决定的, 电子锁 200 的制动 暗号是利用各种方式传送给电子钥匙 100储存,此时电子钥匙才具备使电子锁 发生制动的功能, 并且电子钥匙的暗号一经决定后, 其本体便无法作任何改变 (如图中所示的磁卡形式的电子钥匙, 暗号如: " 10237982 " , 是固定地写入 在电子钥匙 10G的暗号存储器中的,在幵锁时由暗号读人装置将暗号读入电子 锁 200内部)。 若要改变暗号, 必须先改变电子锁 200的暗号, 然后再生成新 的电子钥匙 100 (比如目前酒店使用的磁卡式电子钥匙)。 也就是说, 通常的 电子钥匙 100只能对应一个电子锁 200, 一次性制作, 不具备通用性。 可以说 以往的这种装置中, 电子锁 200是主动的, 电子钥匙 100是被动的, 电子钥匙 100的一切功能都由电子锁来决定, 这种电子钥匙 100的缺点, 除不具备通用 性外,还因暗号裸露 (暗号永远裸露地存在于电子钥匙 100中)很容易被破译, 因此安全性不高。  The electronic key and the electronic lock in the prior art are shown in FIG. 1 and are circuit block diagrams thereof. The braking code of the electronic lock 200 is determined by the electronic lock 200, and the braking code of the electronic lock 200 is determined. It is transmitted to the electronic key 100 for storage in various ways. At this time, the electronic key has the function of braking the electronic lock, and once the secret code of the electronic key is determined, its body cannot be changed in any way (as shown in the figure The electronic key in the form of a magnetic card, such as: "10237982", is fixedly written in the electronic key memory of 10G, and the electronic key 200 is read into the electronic key 200 by the electronic key reading device during shackle). To change the password, you must first change the password of the electronic lock 200, and then generate a new electronic key 100 (such as a magnetic card type electronic key currently used in hotels). That is to say, the ordinary electronic key 100 can only correspond to one electronic lock 200, which is made once and does not have versatility. It can be said that in such a conventional device, the electronic lock 200 is active, the electronic key 100 is passive, and all functions of the electronic key 100 are determined by the electronic lock. The disadvantages of this electronic key 100 are not universal except Also, because the secret code is naked (the secret code is always naked in the electronic key 100), it is easy to be decoded, so the security is not high.
发明内容 Summary of the Invention
本发明的目的在于针对现有技术的不足之处, 提供一种具有数据锁定、 存 储等功能, 且电子钥匙起主动作用的电子钥匙和电子锁, 使电子锁发生动作 的指令和能使指令产生作用的暗号, 都由电子钥匙来决定。  An object of the present invention is to provide an electronic key and an electronic lock with functions such as data lock and storage, and an electronic key to play an active role in response to the shortcomings of the prior art. The function code is determined by the electronic key.
本发明的另一目的在于提供一种一把钥匙可以对应多个电子锁的电子钥 匙和电子锁, 利用电子钥匙的存储及设定数据的功能, 在电子钥匙上设定多个 暗号, 即可用其幵启多个电子锁, 具有通用性。 Another object of the present invention is to provide an electronic key whose key can correspond to multiple electronic locks. Keys and electronic locks use the functions of the electronic key to store and set data, and set multiple passwords on the electronic key, which can be used to unlock multiple electronic locks, which is universal.
为达到上述目的本发明采取如下措施:  To achieve the above object, the present invention adopts the following measures:
本发明的电子钥匙和电子锁, 包括: 一个电子钥匙和一个电子锁; 电子钥 匙和电子锁上分别设有电路部分; 电子锁的电路部分包括: 电源、 微处理器、 暗号存储器、 暗号对照电路、 驱动电路、 电子锁的电磁阀门及用于报警、 记录 的通讯电路;  The electronic key and the electronic lock of the present invention include: an electronic key and an electronic lock; a circuit part is respectively provided on the electronic key and the electronic lock; the circuit part of the electronic lock includes: a power supply, a microprocessor, a password memory, and a password comparison circuit , Drive circuit, solenoid valve with electronic lock and communication circuit for alarm and recording;
其特征在于:  It is characterized by:
所述电子钥匙的电路部分包括: 依次连接的一输人电路, 一微处理器, 一 红外信号发 射电路, 还包括一用于供电的电源;  The circuit part of the electronic key includes: a human input circuit, a microprocessor, an infrared signal transmitting circuit, and a power supply for power supply;
所述电子锁的电路部分还包括: 一红外信号接收电路;  The circuit part of the electronic lock further includes: an infrared signal receiving circuit;
用于接收红外信号发射电路所发送信号的红外信号接收电路连接电子锁 的微处理器, 以实时接收操作指令信号及输人暗号; 暗号对照电路连接暗号存 储器及微处理器; 以在微处理器的控制下将暗号存储在暗号存储器中, 或通过 暗号对照电路对暗号作比较; 所述驱动电路连接微处理器、 电子锁的电磁阀门 和报警、 记录的通讯电路; 以对经比较过的暗号作处理, 如果暗号正确, 则接 通驱动电路驱动电子锁的电磁阀门幵锁, 如果暗号不正确, 则通过报警、 记录 的通讯电路进行通讯及其他功能的处理。  The infrared signal receiving circuit for receiving the signal sent by the infrared signal transmitting circuit is connected to the microprocessor of the electronic lock, so as to receive the operation instruction signal and input the secret code in real time; the cryptographic control circuit is connected to the secret memory and the microprocessor; The password is stored in the password memory under the control of the password, or the password is compared by the password comparison circuit; the driving circuit is connected to the microprocessor, the electromagnetic valve of the electronic lock and the communication circuit for alarm and recording; For processing, if the password is correct, then the driving circuit is turned on to drive the electromagnetic valve yoke of the electronic lock. If the password is incorrect, communication and other functions are processed through the alarm and recorded communication circuits.
所述输入电路可包括键入输入信号的按键电路及显示输入信号的显示电 路。  The input circuit may include a key circuit for inputting an input signal and a display circuit for displaying the input signal.
所述输入电路还可包括一个触摸电路, 以用手写方式输人数字、 各种字 母、 汉字和图形, 并以数字信号存储在电子钥匙的微处理器中。  The input circuit may further include a touch circuit to input numbers, various characters, Chinese characters and graphics by hand, and store the digital signals in the microprocessor of the electronic key.
所述红外信号发射电路及红外信号接收电路都可包括一发送及接收电路 及一与其连接的红外信号 /数字信号转换电路。  Both the infrared signal transmitting circuit and the infrared signal receiving circuit may include a transmitting and receiving circuit and an infrared signal / digital signal conversion circuit connected thereto.
所述发射及接收电路可包括: 一可发射红外信号的发光二极管及一接收红 外信号的光电管。 The transmitting and receiving circuit may include: a light emitting diode capable of transmitting infrared signals and a receiving red External photocell.
所述暗号对照电路可由数据缓存电路及逻辑比较电路组成,用来完成在电 子锁内存储的暗号与操作人员给出的暗号间的比较。  The password comparison circuit may be composed of a data buffer circuit and a logic comparison circuit, and is used to complete the comparison between the password stored in the electronic lock and the password given by the operator.
所述报警、 记录的通讯电路可采用 RS485通讯协议电路。  The communication circuit for alarm and record can adopt RS485 communication protocol circuit.
所述电子钥匙的微处理器中设有设定、 存储及消除暗号的操作程序, 红外 信号发射程序及幵锁闭锁程序。  The microprocessor of the electronic key is provided with an operation program for setting, storing and erasing secret codes, an infrared signal transmitting program and a yoke lock program.
所述电子锁的微处理器中设有存储及核对暗号的程序, 用于报警、 记录的 程序。  The microprocessor of the electronic lock is provided with a program for storing and checking secret codes, and a program for alarming and recording.
所述暗号存储器可设有存储至少二个暗号的存储空间, 各暗号与相应的指 令配合, 以实现暗号的控制管理, 在初始状态暗号为零。  The password memory may be provided with a storage space for storing at least two passwords, and each password is coordinated with a corresponding instruction to implement control and management of the password. In the initial state, the password is zero.
附图概述 Overview of the drawings
图 1为现有电子钥匙和电子锁的电路方框图。  FIG. 1 is a circuit block diagram of a conventional electronic key and electronic lock.
图 2为本发明电子钥匙和电子锁的电路方框图。  FIG. 2 is a circuit block diagram of an electronic key and an electronic lock according to the present invention.
图 3为本发明电子钥匙和电子锁的红外信号发射及接收电路的电路图。 图 4为本发明电子钥匙的工作流程示意图。  3 is a circuit diagram of an infrared signal transmitting and receiving circuit of an electronic key and an electronic lock according to the present invention. FIG. 4 is a schematic diagram of a work flow of an electronic key according to the present invention.
图 5为本发明电子锁的工作流程示意图。  FIG. 5 is a schematic diagram of the working process of the electronic lock of the present invention.
图 6为本发明电子钥匙和电子锁一实施例的工作流程示意图。  FIG. 6 is a schematic diagram of a working process of an electronic key and an electronic lock according to an embodiment of the present invention.
本发明的最佳实施方式 Best Mode of the Invention
结合实施例及附图对本发明的发明构思及结构详细说明如下:  The inventive concept and structure of the present invention are described in detail with reference to the embodiments and the drawings as follows:
如图 2所示, 其为本发明电子钥匙和电子锁的电路方框图, 电子钥匙 1 00 包括: 微处理器 1, 与微处理器 1连接的输人电路 2、 红外信号发射电路 3及 电源 4; 电子锁 200包括: 红外信号接收电路 Ί、 暗号存储器 5、 暗号对照电 路 6、 微处理器 8、 驱动电路 9、 电子锁的电磁阀门 1 0、 用于报警、 记录的 通讯电路 11及电源 1 2 。  As shown in FIG. 2, it is a circuit block diagram of an electronic key and an electronic lock according to the present invention. The electronic key 100 includes: a microprocessor 1, an input circuit 2 connected to the microprocessor 1, an infrared signal transmitting circuit 3, and a power source 4. Electronic lock 200 includes: infrared signal receiving circuit Ί, password memory 5, password comparison circuit 6, microprocessor 8, driving circuit 9, electromagnetic valve 10 for electronic lock, communication circuit 11 for alarm and recording, and power supply 1 2 .
在电子钥匙 1 00中, 输入电路 2接收操作人员键人的输人信号(包括暗号 及指令信号), 并将输入信号输人到微处理器 1 , 微处理器 1将输人信号输人 到红外信号发射电路 3 , 并发射出去; 电源 4为各电路部分提供工作电压。 In the electronic key 100, the input circuit 2 receives an input signal (including a password) of an operator key. And instruction signals), and input the input signal to the microprocessor 1, the microprocessor 1 inputs the input signal to the infrared signal transmitting circuit 3, and transmits it; the power supply 4 provides the working voltage for each circuit part.
在电子锁 200中, 当红外信号接收电路 7接收到由红外信号发射电路 3发 射的红外信号时, 将该信号输入到微处理器 8 , 微处理器 8根据所接收的操作 指令规定, 或将暗号存储在暗号存储器 5中, 或通过暗号对照电路 6比较暗号 是否正确, 判断暗号的合法性, 如果暗号正确, 就接通驱动电路 9驱动电子锁 的电磁阀门 10幵锁和通过报警、 记录的通讯电路 11 , 进行通讯及其它功能的 处理, 电源 12为各电路部分提供工作电压。  In the electronic lock 200, when the infrared signal receiving circuit 7 receives the infrared signal emitted by the infrared signal transmitting circuit 3, the signal is input to the microprocessor 8, and the microprocessor 8 specifies according to the received operation instruction, or The password is stored in the password memory 5, or the password is compared with the password comparison circuit 6 to determine whether the password is correct. If the password is correct, the drive circuit 9 is turned on to drive the solenoid valve 10 of the electronic lock. The communication circuit 11 performs processing of communication and other functions, and the power source 12 provides working voltage for each circuit part.
本实施例中的输入电路 2包括按键电路、 显示电路及触摸电路, 以实现各 种输人方式: 利用按键键入指令, 利用按键或触摸电路输人文字、 数字 ·图形 等; 其中的暗号对照电路 6由数据缓存电路、 逻辑比较电路组成, 用来完成在 电子锁 200内存储的暗号与操作人员给出的暗号间的比较; 其中用于报警、 记 录的通讯部分 11可采用 RS485通讯协议电路。  The input circuit 2 in this embodiment includes a key circuit, a display circuit, and a touch circuit to implement various input methods: using keys to input instructions, and using keys or touch circuits to input characters, numbers, graphics, etc .; among them, a password comparison circuit 6 is composed of a data buffer circuit and a logic comparison circuit, which is used to complete the comparison between the password stored in the electronic lock 200 and the password given by the operator; the communication part 11 for alarming and recording can use the RS485 communication protocol circuit.
如图 3所示, 其为本发明电子钥匙和电子锁的红外信号发射及接收电路的 电路图, 本实施例中: 电子钥匙 100的红外信号发射电路 3和电子锁 200的红 外信号接收电路 7是相同的, 该电路包括: 发射及接收电路 26及与其连接的 红外信号 /数字信号转换电路 25; 发射及接收电路 26由发光二极管 27及光电 管 28组成; 电子钥匙 100的红外信号 /数字信号转换电路 25从微处理器 1得 到需要传送的数字信号, 将其转换成红外信号后, 传送给发射及接收电路 26 , 发射及接收电路 26通过发光二扱管 27向电子锁 200发送红外信号;电子锁 200 的发射及接收电路 26通过光电管 28接收红外信号后, 将红外信号传送给红外 信号 /数字信号转换电路 25 ,红外信号 /数字信号转换电路 25将红外信号转换 成数字信号后, 再将其传送到微处理器 8 ; 本发明的实施例中的红外信号 /数 字信号转换电路 25及发射及接收电路 26分别采用 TEMIC公司制造的集成电路 TOI 3000及 TFDS3000 。 如图 4所示, 其为本发明电子钥匙 100的工作流程示意图, 首先执行步骤 401及 402 : 从输人电路 2输入及显示暗号, 执行步骤 403 ; 从输人电路 2输 人操作指令, 执行步骤 404及 405 ; 在微处理器 1控制下, 由红外信号发射电 路 3发射红外信号给电子锁, 以控制电子锁的幵启、 关闭及暗号设定的功能, 以便于提醒用户及时采取防范措施。 As shown in FIG. 3, it is a circuit diagram of an infrared signal transmitting and receiving circuit of an electronic key and an electronic lock according to the present invention. In this embodiment: the infrared signal transmitting circuit 3 of the electronic key 100 and the infrared signal receiving circuit 7 of the electronic lock 200 are Similarly, the circuit includes: a transmitting and receiving circuit 26 and an infrared signal / digital signal conversion circuit 25 connected thereto; the transmitting and receiving circuit 26 is composed of a light emitting diode 27 and a photo tube 28; the infrared signal / digital signal conversion of the electronic key 100 The circuit 25 obtains the digital signal to be transmitted from the microprocessor 1, converts it into an infrared signal, and transmits the digital signal to the transmitting and receiving circuit 26. The transmitting and receiving circuit 26 sends an infrared signal to the electronic lock 200 through the light emitting diode 27; After the transmitting and receiving circuit 26 of the lock 200 receives the infrared signal through the photo tube 28, it transmits the infrared signal to the infrared signal / digital signal conversion circuit 25. After the infrared signal / digital signal conversion circuit 25 converts the infrared signal into a digital signal, It is transmitted to the microprocessor 8; the infrared signal / digital signal conversion circuit 25 and the transmission in the embodiment of the present invention The receiving circuit 26 respectively and TFDS3000 TEMIC TOI 3000 integrated circuit manufactured. As shown in FIG. 4, it is a schematic diagram of the working flow of the electronic key 100 of the present invention. First, steps 401 and 402 are performed: a password is input and displayed from the input circuit 2 and step 403 is performed; an operation instruction is input from the input circuit 2 and executed Steps 404 and 405; under the control of the microprocessor 1, an infrared signal is transmitted to the electronic lock by the infrared signal transmitting circuit 3, so as to control the functions of opening, closing and setting of the secret code of the electronic lock, so as to remind the user to take precautionary measures in a timely manner .
如图 5所示,其为本发明电子锁的工作流程示意图,从初始状态 5 G1幵始, 首先执行步骤 502: 由红外信号接收电路 7接收从红外信号发射电路 3发射的 红外信号, 将该信号输入到微处理器 8 , 执行步骤 503: 微处理器 8对接收信 号的功能进行判断, 若接收信号的功能为电子锁的开启或关闭指令, 则执行步 骤 504 , 对照暗号存储器 5中的暗号, 核对暗号无误, 则执行步骤 5 G5 , 实现 电子锁的开启或关闭, 并接通用于记录的通讯电路 11; 在执行步骤 503时, 若接收信号的功能为存储、 消除暗号的指令, 则执行步骤 506 : 对照暗号存储 器 5中的暗号, 核对暗号无误, 则执行步骤 507 , 实施存储、 消除暗号指令, 并接通用于记录的通讯电路; 若核对暗号有误, 则执行步骤 508 : 接通用于报 警、 记录的通措施。  As shown in FIG. 5, it is a schematic diagram of the working process of the electronic lock of the present invention. Starting from the initial state 5 G1, step 502 is first performed: the infrared signal receiving circuit 7 receives the infrared signal transmitted from the infrared signal transmitting circuit 3, The signal is input to the microprocessor 8, and step 503 is executed. The microprocessor 8 judges the function of receiving the signal. If the function of receiving the signal is an on or off instruction of the electronic lock, then step 504 is performed, and the password in the password memory 5 is compared. To verify that the password is correct, perform steps 5 to 5 to realize the opening or closing of the electronic lock, and connect the communication circuit 11 for recording. When performing step 503, if the function of receiving the signal is to store and erase the password, execute Step 506: Compare the password in the password memory 5 to verify that the password is correct, then execute step 507, implement storing, erasing the password, and connect the communication circuit for recording; if the password is incorrect, proceed to step 508: switch on for Alarm, record communication measures.
如图 6所示, 其为本发明电子钥匙和电子锁的一个使用状态的实施例, 本 实施例为用于一个公寓管理系统的电子钥匙和电子锁。 如图所示, 初期状态 15 , 在暗号存储电路 5中第 I→ N级的存储暗号均为 0, 执行步骤顺序如下: 首先在数字电子钥匙 100执行步骤 13: 管理人输人指令和 I级暗号, 或居住 者输入指令和 II级暗号,及关系者或特殊情况输人指令和和 ΙΠ- N级暗号; 然后 待信号送至电子锁 200后, 执行步骤 16 : 接收到管理人输人的指令和 I级暗 号、 或接收到居住者输人的指令和 Π级暗号、 或关系者或特殊情况输人的指令 和和 ΐΠ- N级暗号后, 根据操作者指令, 如发来的是存储、 消除暗号指令, 应分 别执行对应人员的操作步骤 14 、 17 、 18 , 其中 I级暗号权利持有者有权对 II -Ν级暗号存储内容做消除, II级暗号权利持有者有权对 ΙΠ-Ν级暗号存储内 容做消除, 依次类推; 且各级暗号持有者, 只能修改属于本人的暗号, 以实现 分级管理。 另外, 在步骤 16 中, 根据操作者发来的幵启或关闭指令, 分别执 行步骤 19 、 20或 21; 进行相应级别的暗号核对,核对无误,则执行步骤 22: 进行门的开启或关闭动作; 否则执行步骤 24 : 实现报警、 记录等动作。 As shown in FIG. 6, it is an embodiment of a use state of an electronic key and an electronic lock according to the present invention. This embodiment is an electronic key and an electronic lock for an apartment management system. As shown in the figure, in the initial state 15, the stored passwords of level I → N in the password storage circuit 5 are all 0, and the execution sequence is as follows: First, perform step 13 on the digital electronic key 100: the manager inputs the instruction and the level I Password, or resident input instruction and level II password, and related person or special case input instruction and ΙΠ-N level password; then after the signal is sent to the electronic lock 200, go to step 16: Receive the input from the administrator After receiving instructions and level I passwords, or receiving instructions from occupants and level Π passwords, or instructions from related parties or special circumstances, and ΐΠ-N level passwords, according to the operator's instructions, if it is sent to storage To remove the secret code instruction, the corresponding personnel's operation steps 14, 17 and 18 should be performed respectively. Among them, the holders of Class I passwords have the right to remove the contents of the storage of Class II-N passwords, and the holders of Class II passwords have the right to ΙΠ-Ν level password storage Tolerance can be eliminated, and so on; and the holders of passwords at all levels can only modify their own passwords to achieve hierarchical management. In addition, in step 16, according to the opening or closing instructions sent by the operator, perform steps 19, 20, or 21 respectively; perform the corresponding level check, and if the check is correct, perform step 22: perform the door opening or closing action ; Otherwise, execute step 24: implement actions such as alarming and recording.
因电子钥匙本身的电子暗号, 可以按指令被存储或消除, 所以电子钥匙在 遗失后, 则不存在被他人利用的可能, 如要使电子锁发生指令动作, 可以重新 在另一电子钥匙中输人原来设定的信号, 则可瞬时恢复功能。  Because the electronic key of the electronic key itself can be stored or deleted according to the instructions, there is no possibility of being used by others after the electronic key is lost. If the electronic lock is to be instructed, it can be re-entered in another electronic key. The signal originally set by the person can restore the function instantly.
在暗号存储器 5中, I 、 Π、 III至 Ν为数级暗号, 第 I级为高级管理人才 能设定的暗号、第 Π级为只有低一级管理人员才能设定的暗号、第 III- N级为低 一级的管理人员同意给更低一级的管理人员(或关系者)留用的暗号或为非常 状态时使用的暗号。  In the password memory 5, I, Π, III to N are several levels of passwords, level I is a password that can be set by senior managers, level Π is a password that can be set by only lower-level managers, and levels III-N The managers at the lower level agree to keep the passwords for the managers (or affiliates) at a lower level or use them in the abnormal state.
使用第 I级暗号的功能是除了当高级管理人员用电子钥匙发出和第 I级 相同的暗号, 使被管理者的门, 发生开启或关闭的指令动作外, 还能使第 Π级 得到幵始暗号所必须的指令信号, 以及使所有的暗号, 或者除了第 I级以外所 有的暗号消除(恢复初始状态)。  The function of using the first-level password is to send the same password as the first-level password to a senior manager using an electronic key to open or close the door of the person under management. Command signals necessary for passwords, and all passwords or all passwords except level I are eliminated (restore the initial state).
使用第 Π级暗号的功能是第二级管理人员除了能使自己的门,发生幵启或 关闭的指令动作外,还能使第 ΠΙ- N级得到开始暗号所必须的指令电信号, 以及 发出指令使除了第 I及以外的所有的暗号单独或一起消除。  The function of using the level Π password is that the second level management personnel can not only make their own door open or close the command action, but also enable the level ΙΙ-N to obtain the instruction electric signal necessary to start the cipher, and issue The instruction causes all the passwords except I and E to be eliminated individually or together.
使用第 ΙΠ级暗号的功能是除了能使关系者指令门的开启或关闭外,还能产 生居住者设定的非常状态时利用的防范、 报警等指令动作。 但不具备消除任何 暗号的功能。  The function of using the level IIII password is to enable the related person to instruct the opening or closing of the door, and also to generate the command actions such as precautions and alarms used in the abnormal state set by the occupant. However, it does not have the function of eliminating any password.
综上所述, 本发明具有如下效果:  In summary, the present invention has the following effects:
1 . 由于本发明中的电子暗号是设定在电子钥匙中的, 即电子钥匙本身能 独立的产生电子暗号和瞬时地改变暗号, 因此具有随机性及通用性。  1. The electronic password in the present invention is set in an electronic key, that is, the electronic key itself can generate an electronic password independently and change the password instantly, so it has randomness and versatility.
2 . 电子钥匙能产生多个电子暗号和各种设定的指令信号, 而电子锁则能 相应地存储多个电子暗号和接收各项指令, 因此一把钥匙可以对应多把电子 锁。 2. The electronic key can generate multiple electronic codes and various set command signals, while the electronic lock can Correspondingly, multiple electronic passwords are stored and various commands are received, so one key can correspond to multiple electronic locks.
3. 本发明的电子钥匙和电子锁的使用方法简单, 可以被各种年龄和各种 阶层的人使用。  3. The method of using the electronic key and the electronic lock of the present invention is simple, and can be used by people of all ages and classes.
4. 本发明的电子钥匙和电子锁制造成本低廉, 因此容易被推广和普及。 4. The electronic key and the electronic lock of the present invention have low manufacturing cost, and therefore are easy to be popularized and popularized.
5. 本发明的电子钥匙和电子锁利用的电子暗号的概率, 可无限增大, 将 难以破译, 可按人的意愿随意设定功能及暗号, 因此具有很强的保密性, 说明 如下: 5. The probability of the electronic password used by the electronic key and electronic lock of the present invention can be infinitely increased, it will be difficult to decipher, and the function and password can be set at will according to the wishes of the person, so it has strong confidentiality, as described below:
本发明所利用的暗号是以数字、 各种字母、 汉字或图 形等为单元的电子 暗号, 如以数字为单元, 又假定是 5位数, 则这一组数字转换而成的电子暗号 的利用概率, 为 1 / 1 0 0 , 0 0 0。 如以字母为单元, 并假定用 5个英文字 母或 5个日文假名来 例如 "M y key " 或 , 则这一组 英文字母或日文假名转换而成的电子暗号,英文字母的利用概率是 1 / 5 2 5 = 1 / 3 8 0 , 2 0 4 , 0 3 2 (英文字母大小写共 5 2个)、 日文假名的利 用概率是 1 / 1 0 0 5 = 1 / 1 0 1 0 (日文平假名片假名共 1 0 0个) 。 如果再以汉字为单元, 同样假定是 5个, 例如 "樱花的季节" 。 按日本公布的 J I S第一水准汉字( 2, 9 6 5字)和 J I S第二水准汉字( 3 , 3 9 0字) 共计( 6, 3 5 5字)来计算, 则可利用的概率将是 1 / 6 , 3 5 5 5 , 这 已是惊人的概率。 所以, 本发明的电子钥匙和电子锁利用的电子暗号, 是难以 破译的。  The code used in the present invention is an electronic code that uses numbers, various letters, Chinese characters, or graphics as a unit. If a number is used as a unit, and it is assumed to be 5 digits, then the use of this set of numbers is converted to an electronic code. The probability is 1/1 0 0, 0 0 0. If the letter is used as a unit, and it is assumed that 5 English letters or 5 Japanese kana are used, such as "My key" or, then the set of English letters or Japanese kana is converted into an electronic password. The probability of using the English letter is 1 / 5 2 5 = 1/3 8 0, 2 0 4, 0 3 2 (the total number of uppercase and lowercase letters in the English alphabet is 5 2). The probability of using a Japanese kana is 1/1 0 0 5 = 1/1 0 1 0 (Japanese Hiragana Business Card Kana (100 in total). If you take Chinese characters as a unit, it is also assumed to be five, such as "season of cherry blossoms". Calculated according to the total of JIS first-level Chinese characters (2, 965 characters) and JIS second-level Chinese characters (3, 390 characters) announced in Japan, the available probability will be 1/6, 3 5 5 5, this is already an amazing probability. Therefore, the electronic codes used by the electronic key and the electronic lock of the present invention are difficult to decipher.
6. 本发明的电子钥匙和电子锁所利用的电子暗号, 无需依赖计算机来设 定, 其本身就是一个独立的系统, 完全可以独立完成从初始状态幵始所进行的 一切工作指令及暗号的设定,所以其可以非常容易和方便地被利用在所有存在 开启和关闭装置的场合。  6. The electronic key used by the electronic key and the electronic lock of the present invention does not need to be set by a computer. It is an independent system in itself, and it can completely complete all work instructions and password settings from the initial state So it can be used very easily and conveniently in all situations where opening and closing devices are present.
工业应用性 本发明的电子钥匙和电子锁制造成本低廉, 结构简单, 功能新颖, 电路部 件可利用现有的集成电路, 因此, 适于自动化及大批量生产, 容易被推广和普 及。 Industrial applicability The electronic key and the electronic lock of the present invention have low manufacturing cost, simple structure, novel function, and circuit components can use existing integrated circuits. Therefore, the electronic key and electronic lock are suitable for automation and mass production, and are easy to be popularized and popularized.

Claims

权利要求 Rights request
1 ·一种电子钥匙和电子锁, 包括: 一个电子钥匙和一个电子锁; 电子钥 匙和电子锁上分别设有电路部分; 电子锁的电路部分包括: 电源、 微处理器、 暗号存储器、 暗号对照电路、 驱动电路、 电子锁的电磁阀门及用于报警、 记录 的通讯电路; 1. An electronic key and electronic lock, comprising: an electronic key and an electronic lock; a circuit part is respectively provided on the electronic key and the electronic lock; the circuit part of the electronic lock includes: a power supply, a microprocessor, a password memory, and a password comparison Circuit, drive circuit, solenoid valve with electronic lock and communication circuit for alarm and recording;
其特征在于:  It is characterized by:
所述电子钥匙的电路部分包括: 依次连接的一输入电路, 一微处理器, ― 红外信号发 射电路, 以及一用于供电的电源;  The circuit part of the electronic key includes: an input circuit, a microprocessor, an infrared signal transmitting circuit, and a power supply for supplying power in order;
所述电子锁的电路部分还包括: 一红外信号接收电路;  The circuit part of the electronic lock further includes: an infrared signal receiving circuit;
用于接收红外信号发射电路所发射信号的红外信号接收电路连接电子锁 的微处理器, 以实时接收操作指令信号及输入暗号; 暗号对照电路连接暗号存 储器及微处理器; 以在微处理器的控制下实时将暗号存储在暗号存储器中, 或 通过暗号对照电路对暗号作比较; 所述驱动电路连接微处理器、 电子锁的电磁 阀门和报警、 记录的通讯电路; 以对经比较过的暗号作处理, 如果暗号正确, 则接通驱动电路驱动电子锁的电磁阀门幵锁, 如果暗号不正确, 则通过报警、 记录的通讯电路进行通讯及其他功能的处理。  The infrared signal receiving circuit for receiving the signal transmitted by the infrared signal transmitting circuit is connected to the microprocessor of the electronic lock to receive the operation instruction signal and input the secret code in real time; the cryptographic control circuit is connected to the secret memory and the microprocessor; Under control, the password is stored in the password memory in real time, or the password is compared by the password comparison circuit; the driving circuit is connected to the microprocessor, the electromagnetic valve of the electronic lock, and the communication circuit for alarm and recording; For processing, if the password is correct, then the driving circuit is turned on to drive the electromagnetic valve yoke of the electronic lock. If the password is incorrect, communication and other functions are processed through the alarm and recorded communication circuits.
2 -根据权利要求 1所述的电子钥匙和电子锁, 其特征在于:  2-The electronic key and electronic lock according to claim 1, characterized in that:
所述输人电路包括键入输人信号的按键电路及显示输人信号的显示电 路。  The input circuit includes a key circuit for inputting an input signal and a display circuit for displaying the input signal.
3 ·根据权利要求 2所述的电子钥匙和电子锁, 其特征在于:  3. The electronic key and electronic lock according to claim 2, characterized in that:
所述输入电路还包括一个触摸电路, 以用手写方式输入数字、 各种字母、 汉字和图形, 并以数字信号存储在电子钥匙的微处理器中。  The input circuit further includes a touch circuit to input numbers, various letters, Chinese characters and graphics by hand, and store the digital signals in the microprocessor of the electronic key.
4 -根据权利要求 1所述的电子钥匙和电子锁, 其特征在于:  4-The electronic key and electronic lock according to claim 1, wherein:
所述红外信号发射 ¾路及红外信号接收电路都包括一发射及接收电路及 一与其连接的红外信号 /数字信号转换电路。 The infrared signal transmitting and receiving circuit and the infrared signal receiving circuit both include a transmitting and receiving circuit and An infrared signal / digital signal conversion circuit connected to it.
5 -根据权利要求 4所述的电子钥匙和电子锁, 其特征在于:  5-The electronic key and electronic lock according to claim 4, characterized in that:
所述发射及接收电路包括: 一可发射红外信号的发光二极管及一接收红 外信号的光电管。  The transmitting and receiving circuit includes: a light emitting diode capable of transmitting infrared signals and a photocell receiving infrared signals.
6 ·根据权利要求 1所述的电子钥匙和电子锁, 其特征在于:  6. The electronic key and electronic lock according to claim 1, wherein:
所述暗号对照电路由数据缓存电路及逻辑比较电路组成,用来完成在电子 锁内存储的暗号与操作人员给出的暗号间的比较。  The password comparison circuit is composed of a data buffer circuit and a logic comparison circuit, and is used to complete the comparison between the password stored in the electronic lock and the password given by the operator.
7 -根据权利要求 1所述的电子钥匙和电子锁, 其特征在于:  7-The electronic key and electronic lock according to claim 1, wherein:
所述报警、 记录的通讯电路采用 RS485通讯协议电路。  The communication circuit for alarm and record adopts RS485 communication protocol circuit.
8 -根据权利要求 1所述的电子钥匙和电子锁, 其特征在于:  8-The electronic key and electronic lock according to claim 1, wherein:
所述电子钥匙的微处理器中设有设定、 存储及消除暗号的操作程序, 红外 信号发射程序及开锁闭锁程序。  The microprocessor of the electronic key is provided with an operation program for setting, storing and erasing secret codes, an infrared signal transmitting program, and an unlocking and locking program.
9 ·根据权利要求 1所述的电子钥匙和电子锁, 其特征在于:  9. The electronic key and electronic lock according to claim 1, wherein:
所述电子锁的微处理器中设有存储及核对暗号的程序, 用于报警、 记录的 程序。  The microprocessor of the electronic lock is provided with a program for storing and checking secret codes, and a program for alarming and recording.
1 0 ·根据权利要求 1所述的电子钥匙和电子锁, 其特征在于:  1 0. The electronic key and electronic lock according to claim 1, wherein:
所述暗号存储器设有存储至少二个暗号的存储空间,各暗号与相应的指令 配合, 以实现暗号的控制管理, 在初始状态暗号为零。  The password memory is provided with a storage space for storing at least two passwords, and each password is coordinated with a corresponding instruction to implement control and management of the password. In the initial state, the password is zero.
1 1 ·根据权利要求 8所述的电子钥匙和电子锁, 其特征在于:  1 1 The electronic key and electronic lock according to claim 8, characterized in that:
所述电子钥匙的工作程序为: 由输人电路输入及显示暗号, 并输入操作指 令信号, 在微处理器控制下, 由红外信号发射电路发射暗号及操作指令信号。  The working procedure of the electronic key is: inputting and displaying a secret code by an input circuit, and inputting an operation instruction signal; under the control of a microprocessor, the infrared signal transmitting circuit transmits the secret signal and the operation instruction signal.
12 ·根据权利要求 9所述的电子钥匙和电子锁, 其特征在于:  12. The electronic key and electronic lock according to claim 9, characterized in that:
所述电子锁的工作程序为: 首先由红外信号接收电路接收从红外信号发射 电路发射的红外信号, 将该信号输人到微处理器, 微处理器对接收信号的功能 进行判断, 若接收信号的功能为电子锁的开启或关闭指令, 贝 ij , 对照暗号存储 器中的暗号, 核对暗号无误, 则驱动电子锁的开启或关闭, 并接通用于记录的 通讯电路; 若接收信号的功能为存储、 消除暗号的指令, 贝 ij : 对照暗号存储器 中的暗号, 核对暗号无误, 则实施存储、 消除暗号指令, 并接通用于记录的通 讯电路; 若核对暗号有误, 则接通报警、 记录的通讯电路。 The working procedure of the electronic lock is: first, the infrared signal receiving circuit receives the infrared signal transmitted from the infrared signal transmitting circuit, inputs the signal to a microprocessor, and the microprocessor judges the function of receiving the signal. The function is the opening or closing instruction of the electronic lock. The password in the device is checked for correctness, then the electronic lock is turned on or off, and the communication circuit for recording is connected; if the function of receiving the signal is to store and delete the password, beij: compare the password in the password memory, If the password is checked correctly, the storage, erasure of the password command is implemented, and the communication circuit for recording is switched on; if the password is checked incorrectly, the alarm and recording communication circuit is switched on.
PCT/CN1997/000139 1996-12-04 1997-12-04 Electronic key and electronic lock WO1998024998A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU51868/98A AU5186898A (en) 1996-12-04 1997-12-04 Electronic key and electronic lock

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 96120743 CN1044630C (en) 1996-12-04 1996-12-04 Electronic lock and electronic key thereof
CN96120743.4 1996-12-04

Publications (1)

Publication Number Publication Date
WO1998024998A1 true WO1998024998A1 (en) 1998-06-11

Family

ID=5126554

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN1997/000139 WO1998024998A1 (en) 1996-12-04 1997-12-04 Electronic key and electronic lock

Country Status (4)

Country Link
JP (1) JPH10169273A (en)
CN (1) CN1044630C (en)
AU (1) AU5186898A (en)
WO (1) WO1998024998A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105715119A (en) * 2016-01-23 2016-06-29 中山聚昌自动化设备科技有限公司 Multi-functional lockset provided with key password

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744641B (en) * 2004-08-31 2011-03-16 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal based locking method and system
CN103116913B (en) * 2011-11-16 2015-11-18 深圳光启智能光子技术有限公司 A kind of door control method and system
CN103745517A (en) * 2014-01-20 2014-04-23 萧进宏 Key with key password and intelligent lockset matched with key
CN106097505B (en) * 2016-06-15 2018-05-25 苏州经贸职业技术学院 A kind of infrared coded lock
CN108448045A (en) * 2018-02-09 2018-08-24 长园共创电力安全技术股份有限公司 Anti-explosion battery and explosion-proof intelligent key

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4258352A (en) * 1978-03-17 1981-03-24 Neiman, S.A. Control device for vehicle locks
US4573046A (en) * 1983-11-01 1986-02-25 Universal Photonics, Inc. Watch apparatus and method for a universal electronic locking system
US4618804A (en) * 1984-06-28 1986-10-21 Kanematsu-Gosho, Ltd. Remote control apparatus for opening and shutting a blind
US4652860A (en) * 1982-10-11 1987-03-24 Bayerische Motoren Werke Aktiengesellschaft Security installation
US4931789A (en) * 1983-11-01 1990-06-05 Universal Photonix, Inc. Apparatus and method for a universal electronic locking system
US5019812A (en) * 1985-07-01 1991-05-28 Ab Volvo Electronic locking system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4258352A (en) * 1978-03-17 1981-03-24 Neiman, S.A. Control device for vehicle locks
US4652860A (en) * 1982-10-11 1987-03-24 Bayerische Motoren Werke Aktiengesellschaft Security installation
US4573046A (en) * 1983-11-01 1986-02-25 Universal Photonics, Inc. Watch apparatus and method for a universal electronic locking system
US4931789A (en) * 1983-11-01 1990-06-05 Universal Photonix, Inc. Apparatus and method for a universal electronic locking system
US4618804A (en) * 1984-06-28 1986-10-21 Kanematsu-Gosho, Ltd. Remote control apparatus for opening and shutting a blind
US5019812A (en) * 1985-07-01 1991-05-28 Ab Volvo Electronic locking system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105715119A (en) * 2016-01-23 2016-06-29 中山聚昌自动化设备科技有限公司 Multi-functional lockset provided with key password

Also Published As

Publication number Publication date
CN1154435A (en) 1997-07-16
CN1044630C (en) 1999-08-11
JPH10169273A (en) 1998-06-23
AU5186898A (en) 1998-06-29

Similar Documents

Publication Publication Date Title
US4288659A (en) Method and means for securing the distribution of encoding keys
JP3222111B2 (en) Remote identity verification method and apparatus using personal identification device
US4819267A (en) Solid state key for controlling access to computer systems and to computer software and/or for secure communications
EP0924656B2 (en) Personal identification FOB
CA2263465C (en) Cryptogram lock system with automatically variable true random code
JPH07109144B2 (en) Cryptographically-based electronic lock device and operating method
JP2006139757A (en) Locking system and locking method
JPS63139440A (en) Key management system for public communication
JPH07505970A (en) Encrypted data security methods in secure computer systems
CN108868367B (en) Intelligent lock device
EP1139200A2 (en) Access code generating system including smart card and smart card reader
CN109147104A (en) A kind of electronic lock and its verification method of double verification
CN101521573A (en) Fingerprint identification cipher device
CN110163995B (en) Remote control electronic lock system
US7216235B1 (en) Drive/host locking system
CN100460623C (en) Method for opening electronic coded lock and electronic coded lock device
EP0253885A4 (en) Solid state key for controlling access to computer systems and to computer software and/or for secure communications
WO1998024998A1 (en) Electronic key and electronic lock
CN110111464A (en) A kind of individual palpation key controller entrance guard safety system
JP3286995B2 (en) Locking device and writing device used therefor
JP2007217903A (en) Key, unlocking device, key device, program for key, and program for unlocking device
TW451025B (en) Electronic password lock with operation mode of random number input and method thereof
CN109779415A (en) Theft-proof electron cipher hang lock
JP2008106509A (en) Door key system
KR930009089B1 (en) Electronic key and lock device

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AT AU CA DE ES FI GB IL KR NO RU SG TR US VN YU

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

122 Ep: pct application non-entry in european phase