WO2018113181A1 - Electronic lock and digital authentication method of same - Google Patents

Electronic lock and digital authentication method of same Download PDF

Info

Publication number
WO2018113181A1
WO2018113181A1 PCT/CN2017/085625 CN2017085625W WO2018113181A1 WO 2018113181 A1 WO2018113181 A1 WO 2018113181A1 CN 2017085625 W CN2017085625 W CN 2017085625W WO 2018113181 A1 WO2018113181 A1 WO 2018113181A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic lock
electronic
feature value
controller
electronic key
Prior art date
Application number
PCT/CN2017/085625
Other languages
French (fr)
Chinese (zh)
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 WO2018113181A1 publication Critical patent/WO2018113181A1/en

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • E05B47/0001Operating or controlling locks or other fastening devices by electric or magnetic means with electric actuators; Constructional features thereof
    • E05B47/0012Operating or controlling locks or other fastening devices by electric or magnetic means with electric actuators; Constructional features thereof with rotary electromotors
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • E05B47/02Movement of the bolt by electromagnetic means; Adaptation of locks, latches, or parts thereof, for movement of the bolt by electromagnetic means
    • 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
    • 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
    • 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/00563Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys using personal physical data of the operator, e.g. finger prints, retinal images, voicepatterns

Definitions

  • the invention belongs to the technical field of security devices, and in particular relates to an electronic lock and a digital authentication method for the electronic lock.
  • the electronic lock is a new type of lock composed of an electronic control circuit and an electromagnetic actuator.
  • the unlocking method is various and the confidentiality is strong. You can use a specific object such as a card or a plug as a key, or you can use a set of passwords at the same time. Or press the button or toggle switch in sequence to control the electromagnetic actuator to open the lock. In the password, you can also arrange some damage keys and alarm keys. If you press them by mistake, you can not open the lock within a certain period of time, and you can make an alarm. With the electronic lock, it is very easy to change the key and password once the key is lost or the password is leaked. In view of the above advantages of electronic locks, electronic locks are receiving more and more attention, and are being used more and more widely in various fields such as office buildings, hotels, and warehouses.
  • FIG. 1 A prior art electronic lock is shown in FIG. 1.
  • the electronic lock includes an electronic key end 11, the electronic key end 11 includes a user identification module 111 and a controller 112, and the user identification module 111 and the control
  • the device 112 is connected to the electronic lock end 12, and the electronic lock end 12 includes a drive motor 121 and a mechanical lock 122.
  • the drive motor 121 is coupled to the controller 112 and the mechanical lock 122, wherein the drive The motor 121 is connected to the controller 112 through an analog signal line;
  • the user identification module 111 is adapted to collect user identity feature information, and the controller 112 is adapted to collect the collected user identity feature information with a target user.
  • the identity information is compared and verified, and the drive motor 121 is controlled to unlock the mechanical lock 122 when the verification is passed.
  • the electronic key end 11 When the electronic lock is used for a home user door, the electronic key end 11 is generally placed outside the door The side, that is, the controller 112 is located outside the door, and since the controller 112 is connected to the driving motor 121 through an analog signal line, as long as the controller 112 successfully powers the driving motor 121
  • the drive motor 121 controls the mechanical lock 122 to open, that is, if the user himself removes the electronic key end 11 and replaces it with any electronic key end, and replaces the replaced electronic key end with the electronic lock end.
  • the 12-phase connection can control the drive motor 121 to unlock the mechanical lock 122. Therefore, the current electronic lock has low security performance and cannot meet the user's increasing demand for the safety performance of the electronic lock.
  • an object of the present invention to provide an electronic lock and a digital authentication method for the electronic lock for solving the problem of low security performance of the electronic latch in the prior art.
  • an electronic lock comprising:
  • Electronic key end including a controller
  • An electronic lock end comprising a memory, a drive motor and a mechanical lock, wherein the memory and the drive motor are connected to the controller, and the mechanical lock is connected to the drive motor;
  • the memory is adapted to store a target feature value; the controller is adapted to read the target feature value stored in the memory when the electronic key end is electrically activated, and to select a feature value of the electronic key end.
  • the target feature value is compared and verified, and its matching with the drive motor is completed when the comparison verification passes.
  • the electronic lock end further includes a power board, the power board is connected to the electronic key end, the storage device and the driving motor, and is suitable for the Each module of the electronic key end, the memory, and the drive motor are powered.
  • the electronic key end further includes a power-on detecting circuit, and the power-on detecting circuit is connected to the controller, and is adapted to detect a power-on signal of the electronic key end, And feeding back information to the controller when detecting the power-on signal of the electronic key end.
  • the electronic lock end further includes a button device,
  • the button device is connected to the controller and is adapted to match the electronic key end with the electronic lock end.
  • the characteristic value of the electronic key end and the target characteristic value are physical ID, check code or physical ID and check code of the electronic lock end.
  • the controller is connected to an alarm device, and is adapted to generate an alarm message when the comparison between the feature value of the electronic key end and the target feature value verification fails, and The alarm information is sent to the alarm device for an alarm.
  • the electronic key end further includes a user identification module, and the user identification module is adapted to collect user identity characteristic information after the electronic key end is electrically activated.
  • the controller is further adapted to verify the collected user identity characteristic information and the target user identity feature information after the matching with the driving motor is successful, and control the driving motor to the mechanical lock when the comparison verification passes Unlock it.
  • the user identification module includes any one or more of a user password collection module, a face recognition module, a fingerprint recognition module, a voice recognition module, or a smart card reading module. combination.
  • the invention also provides a digital authentication method for an electronic lock, the digital authentication method of the electronic lock comprising the following steps:
  • the process of verifying the feature value of the electronic key end and the target feature value further includes: if the electronic key end has the feature value and the target feature value The step of checking the alarm if the verification fails.
  • the method before the digital lock is digitally authenticated, the method further includes the step of matching the electronic key end with the electronic lock end, and the electronic Matching the key end with the electronic lock end includes the following steps:
  • the controller generates a random number check code to be sent to the electronic lock end as a target feature value, and the controller stores the target feature value;
  • the memory stores the target feature value.
  • the method before the digital lock is digitally authenticated, the method further includes the step of matching the electronic key end with the electronic lock end, and the electronic Matching the key end with the electronic lock end includes the following steps:
  • the controller extracts a physical ID of the electronic lock as a seed, generates a random number check code based on the seed, and sends the physical ID of the electronic lock and the check code as a target feature value to the electronic lock. End, and the controller stores the target feature value;
  • the memory stores the target feature value.
  • the electronic lock of the present invention and the digital authentication method of the electronic lock have the following advantageous effects:
  • the electronic lock of the present invention is provided with a memory at the electronic lock end, and the controller of the electronic key end is used in conjunction with the memory
  • the controller compares the feature value of the electronic key end with the target feature value stored in the memory every time the electronic key end is restarted, and the verification is performed when the comparison is verified.
  • the controller is matched with the drive motor to control the drive motor to unlock the mechanical lock, which greatly enhances the safety of the electronic lock.
  • FIG. 1 shows a structural block diagram of an electronic lock in the prior art.
  • FIGS 2 to 3 are block diagrams showing the structure of an electronic lock provided in the first embodiment of the present invention.
  • Embodiment 4 is a structural block diagram of an electronic lock provided in Embodiment 2 of the present invention.
  • FIG. 6 are block diagrams showing the structure of an electronic lock provided in Embodiment 3 of the present invention.
  • FIG. 7 is a flow chart showing a digital authentication method for an electronic lock provided in Embodiment 4 of the present invention.
  • the present invention provides an electronic lock including: an electronic key end 21, the electronic key end 21 includes a controller 211; an electronic lock end 22, the electronic lock 22 including a memory 221, a drive motor 222 and a mechanical lock 223, the memory 221 and the drive motor 222 are both connected to the controller 211, the mechanical lock 223 is connected to the drive motor 222; the memory 221 is adapted Storing the target feature value; the controller 211 is adapted to read the target feature value stored in the memory 221 when the electronic key end 21 is electrically activated, and to compare the feature value of the electronic key end 21 with The target feature value is compared and verified, and the matching with the driving motor 222 is completed when the comparison verification passes, so that the controller 211 can subsequently control the driving motor 222 to drive the mechanical lock 223.
  • the electronic lock of the present invention is provided with a memory at the electronic lock end 22, and the controller 211 of the electronic key end 21 is used in conjunction with the memory 221, each time the electronic key end 21 is powered on again.
  • the controller 211 compares the feature value of the electronic key terminal 21 with the target feature value stored in the memory 221, and the controller 211 and the driving motor are used when the comparison verification is passed.
  • the driving motor 222 can be controlled to unlock the mechanical lock 223, which greatly enhances the safety of the electronic lock.
  • the feature value and the target feature value may both be physical IDs of the electronic lock end 22 .
  • the feature value and the target feature value may both be check codes, and the check code may be any number or combination of letters and letters.
  • the feature value and the target feature value may both be a physical ID including the electronic lock end 22 and a check code format, and the check code may be any number or / And a combination of letters.
  • the electronic lock end 21 further includes a power board 224 connected to the electronic key end 21, the memory 221 and the drive motor 222, and is adapted to be the electronic key end 21
  • a power board 224 connected to the electronic key end 21, the memory 221 and the drive motor 222, and is adapted to be the electronic key end 21
  • Each module, the memory 221, and the drive motor 222 are powered.
  • the power strip 224 can include a main power strip and an auxiliary power strip.
  • the electronic key terminal 21 further includes a power-on detection circuit 212, and the power-on detection circuit 212 is connected to the controller 211, and is adapted to detect a power-on signal of the electronic key terminal 21, and is detecting Returning information to the controller 211 when the power-on signal of the electronic key end 21 is reached, The controller 211 reads the target feature value stored in the memory 221 when receiving the feedback information, and compares the feature value of the electronic key terminal 21 with the target feature value.
  • the electronic key end 21 further includes a user identification module 213, and the user identification module 213 is adapted to collect user identity information after the electronic key end 21 is electrically activated.
  • the controller 211 is further adapted to verify the collected user identity characteristic information and the target user identity feature information after the matching with the driving motor 222 is successful, and control the driving motor 222 when the comparison verification passes.
  • the mechanical lock 223 is unlocked.
  • the target user identity information may be stored in the controller 211 or may be stored in the memory 221.
  • the target user identity information is stored in the memory 221.
  • the controller After the controller 211 is successfully matched with the driving motor 222, the controller first reads the stored target user identity information from the controller 221, and then collects the collected user identity information and The target user identity information is verified.
  • the electronic lock is a door lock
  • since the electronic key end 21 including the controller 211 is generally located outside the door, if the target user identity feature information is stored in the controller 211, other personnel It is easy to change the identity information of the target user by replacing the electronic key end, and thus the electronic lock can be easily opened, which has great security risks.
  • storing the target user identity feature information in the memory 221 located inside the door and the other personnel cannot replace the target user identity information by replacing the memory 221 without opening the door, thereby improving the The security of the electronic lock.
  • the first processing module and the second processing module may be disposed in the controller 211; the first processing module is connected to the power-on detecting circuit 212 and the memory 221, and is adapted to receive the Reading the target feature value stored in the memory 221 when the information is fed back, and comparing the feature value of the electronic key end 21 with the target feature value; the second processing module and the user
  • the identification module 213 and the controller 211 are connected, and are adapted to verify the collected user identity feature information and the target user identity feature information after the controller 211 and the driver motor 222 are successfully matched.
  • the mechanical lock 223 is unlocked by controlling the drive motor 222 when the verification is passed.
  • the user identification module 213 can be a password collection module for collecting a user password set by a user through a touch screen or a button.
  • the user password may be one or a combination of a digital password or a gesture password.
  • the user password is a digital password.
  • the user identification module 213 can be a face recognition module for collecting facial features of the user through a device such as a camera.
  • the user identification module 213 can be a fingerprint identification module for collecting fingerprints of the user through the fingerprint sensor.
  • the user identification module 213 can also be a voice recognition module for collecting the voice of the user through a device such as a microphone.
  • the user identification module 213 can also be a smart card reading module for collecting user information in the smart card through a device such as a card reader.
  • the user identification module 213 may also be a combination of any two or more of a user password collection module, a face recognition module, a fingerprint recognition module, a voice recognition module, or a smart card reading module.
  • the controller 211 may be an MCU (Microcontroller Unit).
  • MCU Microcontroller Unit
  • the electronic lock terminal 22 uses the memory 221 to store the target feature value and the target user identity feature information, and the comparison process is performed.
  • the electronic key end 21 is completed. Because the cost of the MCU is high, the electronic lock of the embodiment uses only one MCU in the electronic key end 21, and is no longer used in the electronic lock end 22, The number of uses of the MCU is reduced, thereby saving costs.
  • the electronic lock may be a door lock, a car lock or a luggage lock.
  • the electronic lock is a door lock.
  • the embodiment further provides an electronic lock.
  • the structure of the electronic lock in the embodiment is substantially the same as the structure of the electronic lock in the first embodiment.
  • the difference between the two is as follows:
  • the electronic lock end 22 of the electronic lock has a button device 225 added to the electronic lock described in the first embodiment, and the button device 225 is connected to the controller 211, and is adapted to be in the A matching request is issued to the controller 211 when the electronic lock end 22 needs to match the electronic key end 21; the controller 211 sends a target feature value to the memory 221 upon receiving a matching request, the memory 221 will save the target feature value.
  • the embodiment further provides an electronic lock.
  • the structure of the electronic lock described in this embodiment is substantially the same as the structure of the electronic lock described in the second embodiment.
  • the difference between the two is as follows:
  • the electronic lock described in this embodiment is further provided with an alarm device 3 than the electronic lock described in the second embodiment.
  • the alarm device 3 is connected to the controller 211 and is adapted to be at the electronic key end 21
  • the eigenvalue is compared with the target eigenvalue to alarm when the verification fails.
  • the alarm device 3 may be located at the electronic key end 21, as shown in FIG. 5, or at the electronic lock end 22, as shown in FIG.
  • the Su-search alarm device 3 can also be independent of the exterior of the electronic lock.
  • the present invention further provides a digital authentication method for any electronic lock according to any one of Embodiments 1 to 3.
  • the digital authentication method for the electronic lock includes the following steps:
  • S2 Perform comparison verification of the feature value of the electronic key end with the target feature value, and complete matching of the controller with the driving motor when the comparison verification passes.
  • step S1 referring to step S1 in FIG. 7, the target feature value stored in the memory is read when the electronic key end is powered on again.
  • step S1 the step of matching the electronic key end with the electronic lock end is further included.
  • matching the electronic key end with the electronic lock end comprises the following steps:
  • the controller generates a random number check code to be sent to the electronic lock end as a target feature value, and the controller stores the target feature value;
  • the memory stores the target feature value.
  • matching the electronic key end with the electronic lock end includes the following steps:
  • the controller extracts a physical ID of the electronic lock as a seed, generates a random number check code based on the seed, and sends the physical ID of the electronic lock and the check code as a target feature value to the electronic lock. End, and the controller stores the target feature value;
  • the memory stores the target feature value.
  • the memory further includes clearing the other target feature values before storing the target feature values sent by the controller. A step of.
  • step S2 referring to step S2 in FIG. 7, the feature value of the electronic key end is compared with the target feature value, and the controller and the driving motor are completed when the comparison verification is passed. match.
  • the feature value and the target feature value may both be physical IDs of the electronic lock end.
  • the feature value and the target feature value may both be check codes, and the check code may be any number or combination of letters and letters.
  • the feature value and the target feature value may both be a physical ID including the electronic lock end 22 and a check code format, and the check code may be any number or / And a combination of letters.
  • the step of verifying the feature value of the electronic key end and the target feature value further includes: step of alarming if the feature value of the electronic key end and the target feature value are compared and the verification fails.
  • the present invention provides an electronic lock and a digital authentication method for the electronic lock.
  • the electronic lock includes: an electronic key end, including a controller; and an electronic lock end, including a memory, a drive motor, and a mechanical lock.
  • Said memory and said drive motor are each coupled to said controller, said mechanical lock being coupled to said drive motor; said memory being adapted to store a target characteristic value; said controller being adapted to be in said electrical Reading the target feature value stored in the memory when the sub-key end is powered on, and comparing the feature value of the electronic key end with the target feature value, and completing the comparison when the comparison verification is passed Matching of the drive motor.
  • the electronic lock of the present invention uses a memory at an electronic lock end, and the controller of the electronic key end is used in conjunction with the memory, and the controller will use the controller every time the electronic key end is powered on again.
  • the characteristic value of the electronic key end is compared with the target characteristic value stored in the memory, and the controller is matched with the driving motor when the comparison verification passes, and the driving motor can be controlled to the mechanical lock Unlocking greatly enhances the security of the electronic lock.

Abstract

Disclosed is an electronic lock, comprising: an electronic key terminal (21) comprising a controller (211); and an electronic lock terminal (22) comprising a memory (221), a drive motor (222) and a mechanical lock (223). The memory (221) and the drive motor (222) are both connected to the controller (211), and the mechanical lock (223) is connected to the drive motor (222). The memory (221) is adapted to store a target feature value. The controller (211) is adapted to read the target feature value stored in the memory (221) when the electronic key terminal (21) is electrically started, compare the feature value of the electronic key terminal (21) with the target feature value, and match the electronic key terminal with the drive motor (222) when the comparison verification is passed. A digital authentication method for the electronic lock is further disclosed.

Description

电子锁及所述电子锁的数字认证方法Digital lock and digital authentication method for the electronic lock 技术领域Technical field
本发明属于安保装置技术领域,特别是涉及一种电子锁及所述电子锁的数字认证方法。The invention belongs to the technical field of security devices, and in particular relates to an electronic lock and a digital authentication method for the electronic lock.
背景技术Background technique
当今社会随着经济的飞速发展,各种企业用户、家庭用户对安全的需求也越来越高,因此各种电子锁系统应运而生。With the rapid development of the economy in today's society, the demand for security of various enterprise users and home users is getting higher and higher, so various electronic lock systems have emerged.
电子锁是一种用电子控制电路和电磁执行机构相结合组成的新式锁具,开锁方式多样、保密性强,既可以用卡片或插头等特定物作钥匙,也可以不用钥匙,按照一组密码同时或顺序地按下按钮或拨动开关,控制电磁执行结构打开锁。在密码中还可以安排一些破坏键和报警键,误按它们不但不能在一定时间内打开锁,而且可以进行报警;使用电子锁,一旦钥匙丢失或密码泄露,更改钥匙和密码是很容易的。鉴于电子锁的以上多个优点,电子锁正受到越来越多的重视,在写字楼、宾馆、仓库等各个领域得到越来越广泛的应用。The electronic lock is a new type of lock composed of an electronic control circuit and an electromagnetic actuator. The unlocking method is various and the confidentiality is strong. You can use a specific object such as a card or a plug as a key, or you can use a set of passwords at the same time. Or press the button or toggle switch in sequence to control the electromagnetic actuator to open the lock. In the password, you can also arrange some damage keys and alarm keys. If you press them by mistake, you can not open the lock within a certain period of time, and you can make an alarm. With the electronic lock, it is very easy to change the key and password once the key is lost or the password is leaked. In view of the above advantages of electronic locks, electronic locks are receiving more and more attention, and are being used more and more widely in various fields such as office buildings, hotels, and warehouses.
现有的一种电子锁如图1所示,所述电子锁包括:电子钥匙端11,所述电子钥匙端11包括用户识别模块111及控制器112,所述用户识别模块111与所述控制器112相连接;电子锁端12,所述电子锁端12包括驱动马达121及机械锁122,所述驱动马达121与所述控制器112及所述机械锁122相连接,其中,所述驱动马达121与所述控制器112通过模拟信号线相连接;所述用户识别模块111适于对用户身份特征信息进行采集,所述控制器112适于将采集的所述用户身份特征信息与目标用户身份特征信息进行比对验证,在比对验证通过时控制所述驱动马达121对所述机械锁122进行开锁。A prior art electronic lock is shown in FIG. 1. The electronic lock includes an electronic key end 11, the electronic key end 11 includes a user identification module 111 and a controller 112, and the user identification module 111 and the control The device 112 is connected to the electronic lock end 12, and the electronic lock end 12 includes a drive motor 121 and a mechanical lock 122. The drive motor 121 is coupled to the controller 112 and the mechanical lock 122, wherein the drive The motor 121 is connected to the controller 112 through an analog signal line; the user identification module 111 is adapted to collect user identity feature information, and the controller 112 is adapted to collect the collected user identity feature information with a target user. The identity information is compared and verified, and the drive motor 121 is controlled to unlock the mechanical lock 122 when the verification is passed.
当上述电子锁用于家庭用户房门时,所述电子钥匙端11一般置于房门外 侧,即所述控制器112位于所述房门外侧,又由于所述控制器112与所述驱动马达121通过模拟信号线相连接,只要所述控制器112为所述驱动马达121上电成功,所述驱动马达121就会控制所述机械锁122打开,即若非用户本人将所述电子钥匙端11拆卸下来更换为任一电子钥匙端,并将更换的电子钥匙端与所述电子锁端12相连接即可控制所述驱动马达121对所述机械锁122开锁,因此,目前的所述电子锁安全性能较低,不能满足用户对电子锁安全性能日益提升的需求。When the electronic lock is used for a home user door, the electronic key end 11 is generally placed outside the door The side, that is, the controller 112 is located outside the door, and since the controller 112 is connected to the driving motor 121 through an analog signal line, as long as the controller 112 successfully powers the driving motor 121 The drive motor 121 controls the mechanical lock 122 to open, that is, if the user himself removes the electronic key end 11 and replaces it with any electronic key end, and replaces the replaced electronic key end with the electronic lock end. The 12-phase connection can control the drive motor 121 to unlock the mechanical lock 122. Therefore, the current electronic lock has low security performance and cannot meet the user's increasing demand for the safety performance of the electronic lock.
发明内容Summary of the invention
鉴于以上所述现有技术的缺点,本发明的目的在于提供一种电子锁及所述电子锁的数字认证方法,用于解决现有技术中的电子锁存在的安全性能较低的问题。In view of the above-mentioned shortcomings of the prior art, it is an object of the present invention to provide an electronic lock and a digital authentication method for the electronic lock for solving the problem of low security performance of the electronic latch in the prior art.
为实现上述目的及其他相关目的,本发明提供一种电子锁,所述电子锁包括:To achieve the above and other related objects, the present invention provides an electronic lock comprising:
电子钥匙端,包括控制器;Electronic key end, including a controller;
电子锁端,包括存储器、驱动马达及机械锁,所述存储器及所述驱动马达均与所述控制器相连接,所述机械锁与所述驱动马达相连接;An electronic lock end, comprising a memory, a drive motor and a mechanical lock, wherein the memory and the drive motor are connected to the controller, and the mechanical lock is connected to the drive motor;
所述存储器适于存储目标特征值;所述控制器适于在所述电子钥匙端上电启动时读取所述存储器中存储的所述目标特征值,并将所述电子钥匙端的特征值与所述目标特征值进行比对验证,在比对验证通过时完成其与所述驱动马达的匹配。The memory is adapted to store a target feature value; the controller is adapted to read the target feature value stored in the memory when the electronic key end is electrically activated, and to select a feature value of the electronic key end The target feature value is compared and verified, and its matching with the drive motor is completed when the comparison verification passes.
作为本发明的电子锁的一种优选方案,所述电子锁端还包括电源板,所述电源板与所述电子钥匙端、所述储存器及所述驱动马达相连接,适于为所述电子钥匙端各模块、所述存储器及所述驱动马达供电。As a preferred embodiment of the electronic lock of the present invention, the electronic lock end further includes a power board, the power board is connected to the electronic key end, the storage device and the driving motor, and is suitable for the Each module of the electronic key end, the memory, and the drive motor are powered.
作为本发明的电子锁的一种优选方案,所述电子钥匙端还包括上电检测电路,所述上电检测电路与所述控制器相连接,适于检测所述电子钥匙端的上电信号,并在检测到所述电子钥匙端的上电信号时向所述控制器反馈信息。As a preferred solution of the electronic lock of the present invention, the electronic key end further includes a power-on detecting circuit, and the power-on detecting circuit is connected to the controller, and is adapted to detect a power-on signal of the electronic key end, And feeding back information to the controller when detecting the power-on signal of the electronic key end.
作为本发明的电子锁的一种优选方案,所述电子锁端还包括按键装置,所 述按键装置与所述控制器相连接,适于所述电子钥匙端与所述电子锁端的匹配。As a preferred solution of the electronic lock of the present invention, the electronic lock end further includes a button device, The button device is connected to the controller and is adapted to match the electronic key end with the electronic lock end.
作为本发明的电子锁的一种优选方案,所述电子钥匙端的特征值及所述目标特征值均为所述电子锁端的物理ID、校验码或物理ID及校验码。As a preferred solution of the electronic lock of the present invention, the characteristic value of the electronic key end and the target characteristic value are physical ID, check code or physical ID and check code of the electronic lock end.
作为本发明的电子锁的一种优选方案,所述控制器与一报警装置相连接,适于在所述电子钥匙端的特征值与所述目标特征值比对验证失败时生成报警信息,并将所述报警信息发送至所述报警装置报警。As a preferred solution of the electronic lock of the present invention, the controller is connected to an alarm device, and is adapted to generate an alarm message when the comparison between the feature value of the electronic key end and the target feature value verification fails, and The alarm information is sent to the alarm device for an alarm.
作为本发明的电子锁的一种优选方案,所述电子钥匙端还包括用户识别模块,所述用户识别模块适于在所述电子钥匙端上电启动后对用户身份特征信息进行采集,所述控制器还适于在其与所述驱动马达匹配成功后将采集的所述用户身份特征信息与目标用户身份特征信息进行对验证,在比对验证通过时控制所述驱动马达对所述机械锁进行开锁。As a preferred solution of the electronic lock of the present invention, the electronic key end further includes a user identification module, and the user identification module is adapted to collect user identity characteristic information after the electronic key end is electrically activated. The controller is further adapted to verify the collected user identity characteristic information and the target user identity feature information after the matching with the driving motor is successful, and control the driving motor to the mechanical lock when the comparison verification passes Unlock it.
作为本发明的电子锁的一种优选方案,所述用户识别模块包括用户密码采集模块、人脸识别模块、指纹识别模块、语音识别模块或智能卡读取模块中的任意一种或一种以上的组合。As a preferred solution of the electronic lock of the present invention, the user identification module includes any one or more of a user password collection module, a face recognition module, a fingerprint recognition module, a voice recognition module, or a smart card reading module. combination.
本发明还提供一种电子锁的数字认证方法,所述电子锁的数字认证方法包括以下步骤:The invention also provides a digital authentication method for an electronic lock, the digital authentication method of the electronic lock comprising the following steps:
所述电子钥匙端重新上电时读取所述存储器中存储的所述目标特征值;Reading the target feature value stored in the memory when the electronic key end is powered on again;
将所述电子钥匙端的特征值与所述目标特征值进行比对验证,在比对验证通过时完成所述控制器与所述驱动马达的匹配。And comparing the characteristic value of the electronic key end with the target characteristic value, and completing the matching between the controller and the driving motor when the comparison verification passes.
作为本发明的电子锁的数字认证方法的一种优选方案,将所述电子钥匙端的特征值与目标特征值进行比对验证的过程中还包括:若所述电子钥匙端的特征值与目标特征值比对验证失败则报警的步骤。As a preferred solution of the digital authentication method for the electronic lock of the present invention, the process of verifying the feature value of the electronic key end and the target feature value further includes: if the electronic key end has the feature value and the target feature value The step of checking the alarm if the verification fails.
作为本发明的电子锁的数字认证方法的一种优选方案,在将所述电子锁进行数字认证之前,还包括将所述电子钥匙端与所述电子锁端进行匹配的步骤,将所述电子钥匙端与所述电子锁端进行匹配包括以下步骤:As a preferred solution of the digital authentication method of the electronic lock of the present invention, before the digital lock is digitally authenticated, the method further includes the step of matching the electronic key end with the electronic lock end, and the electronic Matching the key end with the electronic lock end includes the following steps:
所述控制器生成随机数校验码作为目标特征值发送至所述电子锁端,且所述控制器存储所述目标特征值;The controller generates a random number check code to be sent to the electronic lock end as a target feature value, and the controller stores the target feature value;
所述存储器将所述目标特征值存储。 The memory stores the target feature value.
作为本发明的电子锁的数字认证方法的一种优选方案,在将所述电子锁进行数字认证之前,还包括将所述电子钥匙端与所述电子锁端进行匹配的步骤,将所述电子钥匙端与所述电子锁端进行匹配包括以下步骤:As a preferred solution of the digital authentication method of the electronic lock of the present invention, before the digital lock is digitally authenticated, the method further includes the step of matching the electronic key end with the electronic lock end, and the electronic Matching the key end with the electronic lock end includes the following steps:
所述控制器提取所述电子锁端的物理ID作为种子,基于所述种子生成随机数校验码,将所述电子锁端的物理ID及所述校验码作为目标特征值发送至所述电子锁端,且所述控制器存储所述目标特征值;The controller extracts a physical ID of the electronic lock as a seed, generates a random number check code based on the seed, and sends the physical ID of the electronic lock and the check code as a target feature value to the electronic lock. End, and the controller stores the target feature value;
所述存储器将所述目标特征值存储。The memory stores the target feature value.
如上所述,本发明的电子锁及所述电子锁的数字认证方法,具有以下有益效果:本发明的电子锁通过在电子锁端设置存储器,所述电子钥匙端的控制器与所述存储器配合使用,在所述电子钥匙端每次重新上电启动时,所述控制器均会将所述电子钥匙端的特征值与所述存储器中存储的目标特征值进行比对验证,在比对验证通过时所述控制器与所述驱动马达完成匹配,才可以控制所述驱动马达对所述机械锁进行开锁,大大增强了所述电子锁的安全性。As described above, the electronic lock of the present invention and the digital authentication method of the electronic lock have the following advantageous effects: the electronic lock of the present invention is provided with a memory at the electronic lock end, and the controller of the electronic key end is used in conjunction with the memory The controller compares the feature value of the electronic key end with the target feature value stored in the memory every time the electronic key end is restarted, and the verification is performed when the comparison is verified. The controller is matched with the drive motor to control the drive motor to unlock the mechanical lock, which greatly enhances the safety of the electronic lock.
附图说明DRAWINGS
图1显示为现有技术中的的电子锁的结构框图。FIG. 1 shows a structural block diagram of an electronic lock in the prior art.
图2至图3显示为本发明实施例一中提供的电子锁的结构框图。2 to 3 are block diagrams showing the structure of an electronic lock provided in the first embodiment of the present invention.
图4显示为本发明实施例二中提供的电子锁的结构框图。4 is a structural block diagram of an electronic lock provided in Embodiment 2 of the present invention.
图5至图6显示为本发明实施例三中提供的电子锁的结构框图。5 to FIG. 6 are block diagrams showing the structure of an electronic lock provided in Embodiment 3 of the present invention.
图7显示为本发明实施例四中提供的电子锁的数字认证方法的流程图。FIG. 7 is a flow chart showing a digital authentication method for an electronic lock provided in Embodiment 4 of the present invention.
元件标号说明Component label description
11电子钥匙端11 electronic key end
111  用户识别模块111 User Identification Module
112  控制器112 controller
12   电子锁端12 electronic lock
121  驱动马达 121 drive motor
122  机械锁122 mechanical lock
21   电子钥匙端21 electronic key end
211  控制器211 controller
212  上电检测电路212 power-on detection circuit
213  用户识别模块213 User Identification Module
22   电子锁端22 electronic lock
221  存储器221 memory
222  驱动马达222 drive motor
223  机械锁223 mechanical lock
224  电源板224 power board
225  按键装置225 button device
3 报警装置3 alarm device
S1~S2  步骤S1~S2 steps
具体实施方式detailed description
以下通过特定的具体实例说明本发明的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本发明的其他优点与功效。本发明还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本发明的精神下进行各种修饰或改变。The embodiments of the present invention are described below by way of specific examples, and those skilled in the art can readily understand other advantages and effects of the present invention from the disclosure of the present disclosure. The present invention may be embodied or applied in various other specific embodiments, and various modifications and changes can be made without departing from the spirit and scope of the invention.
请参阅图2至图7。需要说明的是,本实施例中所提供的图示仅以示意方式说明本发明的基本构想,虽图示中仅显示与本发明中有关的组件而非按照实际实施时的组件数目、形状及尺寸绘制,其实际实施时各组件的型态、数量及比例可为一种随意的改变,且其组件布局形态也可能更为复杂。Please refer to Figure 2 to Figure 7. It should be noted that the illustrations provided in the embodiments merely illustrate the basic concept of the present invention in a schematic manner, and only the components related to the present invention are shown in the drawings, rather than the number and shape of components in actual implementation. Dimensional drawing, the actual type of each component's type, number and proportion can be a random change, and its component layout form may be more complicated.
实施例一Embodiment 1
请参阅图2,本发明提供一种电子锁,所述电子锁包括:电子钥匙端21,所述电子钥匙端21包括控制器211;电子锁端22,所述电子锁22包括存储器 221、驱动马达222及机械锁223,所述存储器221及所述驱动马达222均与所述控制器211相连接,所述机械锁223与所述驱动马达222相连接;所述存储器221适于存储目标特征值;所述控制器211适于在所述电子钥匙端21上电启动时读取所述存储器221中存储的所述目标特征值,并将所述电子钥匙端21的特征值与所述目标特征值进行比对验证,在比对验证通过时完成其与所述驱动马达222的匹配,使得所述控制器211在后续可以控制所述驱动马达222对所述机械锁223进行驱动。本发明的电子锁通过在所述电子锁端22设置存储器,所述电子钥匙端21的所述控制器211与所述存储器221配合使用,在所述电子钥匙端21每次重新上电启动时,所述控制器211均会将所述电子钥匙端21的特征值与所述存储器221中存储的目标特征值进行比对验证,在比对验证通过时所述控制器211与所述驱动马达222完成匹配,才可以控制所述驱动马达222对所述机械锁223进行开锁,大大增强了所述电子锁的安全性。Referring to FIG. 2, the present invention provides an electronic lock including: an electronic key end 21, the electronic key end 21 includes a controller 211; an electronic lock end 22, the electronic lock 22 including a memory 221, a drive motor 222 and a mechanical lock 223, the memory 221 and the drive motor 222 are both connected to the controller 211, the mechanical lock 223 is connected to the drive motor 222; the memory 221 is adapted Storing the target feature value; the controller 211 is adapted to read the target feature value stored in the memory 221 when the electronic key end 21 is electrically activated, and to compare the feature value of the electronic key end 21 with The target feature value is compared and verified, and the matching with the driving motor 222 is completed when the comparison verification passes, so that the controller 211 can subsequently control the driving motor 222 to drive the mechanical lock 223. . The electronic lock of the present invention is provided with a memory at the electronic lock end 22, and the controller 211 of the electronic key end 21 is used in conjunction with the memory 221, each time the electronic key end 21 is powered on again. The controller 211 compares the feature value of the electronic key terminal 21 with the target feature value stored in the memory 221, and the controller 211 and the driving motor are used when the comparison verification is passed. When the matching is completed 222, the driving motor 222 can be controlled to unlock the mechanical lock 223, which greatly enhances the safety of the electronic lock.
在一示例中,所述特征值及所述目标特征值可以均为所述电子锁端22的物理ID。In an example, the feature value and the target feature value may both be physical IDs of the electronic lock end 22 .
在另一示例,所述特征值及所述目标特征值可以均为校验码,所述校验码可以为任意数字或/及字母的组合。In another example, the feature value and the target feature value may both be check codes, and the check code may be any number or combination of letters and letters.
在又一示例中,所述特征值及所述目标特征值可以均为既包括所述电子锁端22的物理ID,又包括校验码的格式,所述校验码可以为任意数字或/及字母的组合。In still another example, the feature value and the target feature value may both be a physical ID including the electronic lock end 22 and a check code format, and the check code may be any number or / And a combination of letters.
作为示例,所述电子锁端21还包括电源板224,所述电源板224与所述电子钥匙端21、所述存储器221及所述驱动马达222相连接,适于为所述电子钥匙端21各模块、所述存储器221及所述驱动马达222供电。As an example, the electronic lock end 21 further includes a power board 224 connected to the electronic key end 21, the memory 221 and the drive motor 222, and is adapted to be the electronic key end 21 Each module, the memory 221, and the drive motor 222 are powered.
作为示例,所述电源板224可以包括主电源板及辅助电源板。As an example, the power strip 224 can include a main power strip and an auxiliary power strip.
作为示例,所述电子钥匙端21还包括上电检测电路212,所述上电检测电路212与所述控制器211相连接,适于检测所述电子钥匙端21的上电信号,并在检测到所述电子钥匙端21的上电信号时向所述控制器211反馈信息,所 述控制器211在收到所述反馈信息时读取所述存储器221中存储的所述目标特征值,并将所述电子钥匙端21的特征值与所述目标特征值进行比对验证。As an example, the electronic key terminal 21 further includes a power-on detection circuit 212, and the power-on detection circuit 212 is connected to the controller 211, and is adapted to detect a power-on signal of the electronic key terminal 21, and is detecting Returning information to the controller 211 when the power-on signal of the electronic key end 21 is reached, The controller 211 reads the target feature value stored in the memory 221 when receiving the feedback information, and compares the feature value of the electronic key terminal 21 with the target feature value.
作为示例,如图3所示,所述电子钥匙端21还包括用户识别模块213,所述用户识别模块213适于在所述电子钥匙端21上电启动后对用户身份特征信息进行采集,所述控制器211还适于在其与所述驱动马达222匹配成功后将采集的所述用户身份特征信息与目标用户身份特征信息进行对验证,在比对验证通过时控制所述驱动马达222对所述机械锁223进行开锁。As an example, as shown in FIG. 3, the electronic key end 21 further includes a user identification module 213, and the user identification module 213 is adapted to collect user identity information after the electronic key end 21 is electrically activated. The controller 211 is further adapted to verify the collected user identity characteristic information and the target user identity feature information after the matching with the driving motor 222 is successful, and control the driving motor 222 when the comparison verification passes. The mechanical lock 223 is unlocked.
作为示例,所述目标用户身份特征信息可以保存于所述控制器211内,也可以保存在所述存储器221内,优选地,所述目标用户身份特征信息保存于所述存储器221内,在所述控制器211与所述驱动马达222匹配成功后,所述控制器先从所述控制器221内读取存储的所述目标用户身份特征信息,而后再将采集的所述用户身份特征信息与目标用户身份特征信息进行对验证。当所述电子锁为门锁时,由于包括所述控制器211的所述电子钥匙端21一般位于房门的外侧,若所述目标用户身份特征信息保存于所述控制器211内,其他人员很容易通过更换电子钥匙端更换目标用户身份特征信息,进而很容易打开电子锁,存在极大的安全隐患。而将所述目标用户身份特征信息保存于位于房门内侧的所述存储器221内,其他人员在不打开房门的情况下不能通过更换存储器221以更换目标用户身份特征信息,从而提高了所述电子锁的安全性。As an example, the target user identity information may be stored in the controller 211 or may be stored in the memory 221. Preferably, the target user identity information is stored in the memory 221. After the controller 211 is successfully matched with the driving motor 222, the controller first reads the stored target user identity information from the controller 221, and then collects the collected user identity information and The target user identity information is verified. When the electronic lock is a door lock, since the electronic key end 21 including the controller 211 is generally located outside the door, if the target user identity feature information is stored in the controller 211, other personnel It is easy to change the identity information of the target user by replacing the electronic key end, and thus the electronic lock can be easily opened, which has great security risks. And storing the target user identity feature information in the memory 221 located inside the door, and the other personnel cannot replace the target user identity information by replacing the memory 221 without opening the door, thereby improving the The security of the electronic lock.
具体的,所述控制器211中可以设置第一处理模块及第二处理模块;所述第一处理模块与所述上电检测电路212及所述存储器221相连接,适于在收到所述反馈信息时读取所述存储器221中存储的所述目标特征值,并将所述电子钥匙端21的特征值与所述目标特征值进行比对验证;所述第二处理模块与所述用户识别模块213及所述控制器211相连接,适于在所述控制器211与所述驱动马达222匹配成功后将采集的所述用户身份特征信息与目标用户身份特征信息进行对验证,在比对验证通过时控制所述驱动马达222对所述机械锁223进行开锁。 Specifically, the first processing module and the second processing module may be disposed in the controller 211; the first processing module is connected to the power-on detecting circuit 212 and the memory 221, and is adapted to receive the Reading the target feature value stored in the memory 221 when the information is fed back, and comparing the feature value of the electronic key end 21 with the target feature value; the second processing module and the user The identification module 213 and the controller 211 are connected, and are adapted to verify the collected user identity feature information and the target user identity feature information after the controller 211 and the driver motor 222 are successfully matched. The mechanical lock 223 is unlocked by controlling the drive motor 222 when the verification is passed.
在一示例中,所述用户识别模块213可以为密码采集模块,用于通过触摸屏或按键对用户设定的用户密码进行采集。所述用户密码可以为数字密码或手势密码中的一种或两种的组合,优选地,本实施例中,所述用户密码为数字密码。In an example, the user identification module 213 can be a password collection module for collecting a user password set by a user through a touch screen or a button. The user password may be one or a combination of a digital password or a gesture password. Preferably, in the embodiment, the user password is a digital password.
在另一示例中,所述用户识别模块213可以为人脸识别模块,用于通过摄像头等装置对用户的脸部特征进行采集。In another example, the user identification module 213 can be a face recognition module for collecting facial features of the user through a device such as a camera.
在又一示例中,所述用户识别模块213可以为指纹识别模块,用于通过指纹传感器对用户的指纹进行采集。In yet another example, the user identification module 213 can be a fingerprint identification module for collecting fingerprints of the user through the fingerprint sensor.
在又一示例中,所述用户识别模块213还可以为语音识别模块,用于通过麦克风等装置对用户的声音进行采集。In another example, the user identification module 213 can also be a voice recognition module for collecting the voice of the user through a device such as a microphone.
在又一示例中,所述用户识别模块213还可以为智能卡读取模块,用于通过读卡器等装置对智能卡中的用户信息进行采集。In another example, the user identification module 213 can also be a smart card reading module for collecting user information in the smart card through a device such as a card reader.
在又一示例中,所述用户识别模块213还可以为用户密码采集模块、人脸识别模块、指纹识别模块、语音识别模块或智能卡读取模块中的任意两种或两种以上的组合。In another example, the user identification module 213 may also be a combination of any two or more of a user password collection module, a face recognition module, a fingerprint recognition module, a voice recognition module, or a smart card reading module.
作为示例,所述控制器211可以为MCU(Microcontroller Unit,微控制单元)。本发明中仅所述电子钥匙端21内使用到MCU作为所述控制器211,而所述电子锁端22则使用所述存储器221存储目标特征值及目标用户身份特征信息,比对过程均在所述电子钥匙端21完成,由于MCU的成本较高,本实施例的所述电子锁只在所述电子钥匙端21内使用一个所述MCU,而不再所述电子锁端22内使用,减少了所述MCU的使用数量,从而节约了成本。As an example, the controller 211 may be an MCU (Microcontroller Unit). In the present invention, only the MCU is used as the controller 211 in the electronic key terminal 21, and the electronic lock terminal 22 uses the memory 221 to store the target feature value and the target user identity feature information, and the comparison process is performed. The electronic key end 21 is completed. Because the cost of the MCU is high, the electronic lock of the embodiment uses only one MCU in the electronic key end 21, and is no longer used in the electronic lock end 22, The number of uses of the MCU is reduced, thereby saving costs.
作为示例,所述电子锁可以为门锁、车锁或箱包锁,优选地,本实施例中,所述电子锁为门锁。As an example, the electronic lock may be a door lock, a car lock or a luggage lock. Preferably, in the embodiment, the electronic lock is a door lock.
实施例二Embodiment 2
请参阅图4,本实施例还提供一种电子锁,本实施例中所述的电子锁的结构与实施例一中所述的电子锁的结构大致相同,二者的区别在于:本实施例中 所述的电子锁中的所述电子锁端22相较于实施例一中所述的电子锁增设了按键装置225,所述按键装置225与所述控制器211相连接,适于在所述电子锁端22与所述电子钥匙端21需要相匹配时向所述控制器211发出匹配请求;所述制器211在收到匹配请求时会发送目标特征值至所述存储器221,所述存储器221会将所述目标特征值保存。Referring to FIG. 4, the embodiment further provides an electronic lock. The structure of the electronic lock in the embodiment is substantially the same as the structure of the electronic lock in the first embodiment. The difference between the two is as follows: Medium The electronic lock end 22 of the electronic lock has a button device 225 added to the electronic lock described in the first embodiment, and the button device 225 is connected to the controller 211, and is adapted to be in the A matching request is issued to the controller 211 when the electronic lock end 22 needs to match the electronic key end 21; the controller 211 sends a target feature value to the memory 221 upon receiving a matching request, the memory 221 will save the target feature value.
实施例三 Embodiment 3
请参阅图5至图6,本实施例还提供一种电子锁,本实施例中所述的电子锁的结构与实施例二中所述的电子锁的结构大致相同,二者的区别在于:本实施例中所述的电子锁相较于实施例二中所述的电子锁增设了报警装置3,所述报警装置3与所述控制器211相连接,适于在所述电子钥匙端21的特征值与所述目标特征值比对验证失败时报警。具体的,所述报警装置3可以位于所述电子钥匙端21,如图5所示,也可以位于所述电子锁端22,如图6所示。当然,在其他示例中,苏搜报警装置3还可以独立于所述电子锁的外部。Referring to FIG. 5 to FIG. 6 , the embodiment further provides an electronic lock. The structure of the electronic lock described in this embodiment is substantially the same as the structure of the electronic lock described in the second embodiment. The difference between the two is as follows: The electronic lock described in this embodiment is further provided with an alarm device 3 than the electronic lock described in the second embodiment. The alarm device 3 is connected to the controller 211 and is adapted to be at the electronic key end 21 The eigenvalue is compared with the target eigenvalue to alarm when the verification fails. Specifically, the alarm device 3 may be located at the electronic key end 21, as shown in FIG. 5, or at the electronic lock end 22, as shown in FIG. Of course, in other examples, the Su-search alarm device 3 can also be independent of the exterior of the electronic lock.
实施例四Embodiment 4
请参阅图7,本发明还提供一种如实施例一至实施例三中所述的任一电子锁的数字认证方法,所述电子锁的数字认证方法包括以下步骤:Referring to FIG. 7, the present invention further provides a digital authentication method for any electronic lock according to any one of Embodiments 1 to 3. The digital authentication method for the electronic lock includes the following steps:
S1:所述电子钥匙端重新上电时读取所述存储器中存储的所述目标特征值;S1: reading the target feature value stored in the memory when the electronic key end is powered on;
S2:将所述电子钥匙端的特征值与所述目标特征值进行比对验证,在比对验证通过时完成所述控制器与所述驱动马达的匹配。S2: Perform comparison verification of the feature value of the electronic key end with the target feature value, and complete matching of the controller with the driving motor when the comparison verification passes.
在步骤S1中,请参阅图7中的S1步骤,所述电子钥匙端重新上电时读取所述存储器中存储的所述目标特征值。In step S1, referring to step S1 in FIG. 7, the target feature value stored in the memory is read when the electronic key end is powered on again.
需要说明的是,步骤S1之前还包括将所述电子钥匙端与所述电子锁端进行匹配的步骤,在一示例中,将所述电子钥匙端与所述电子锁端进行匹配包括以下步骤:It should be noted that, before step S1, the step of matching the electronic key end with the electronic lock end is further included. In an example, matching the electronic key end with the electronic lock end comprises the following steps:
所述控制器生成随机数校验码作为目标特征值发送至所述电子锁端,且所述控制器存储所述目标特征值; The controller generates a random number check code to be sent to the electronic lock end as a target feature value, and the controller stores the target feature value;
所述存储器将所述目标特征值存储。The memory stores the target feature value.
在另一示例中,将所述电子钥匙端与所述电子锁端进行匹配包括以下步骤:In another example, matching the electronic key end with the electronic lock end includes the following steps:
所述控制器提取所述电子锁端的物理ID作为种子,基于所述种子生成随机数校验码,将所述电子锁端的物理ID及所述校验码作为目标特征值发送至所述电子锁端,且所述控制器存储所述目标特征值;The controller extracts a physical ID of the electronic lock as a seed, generates a random number check code based on the seed, and sends the physical ID of the electronic lock and the check code as a target feature value to the electronic lock. End, and the controller stores the target feature value;
所述存储器将所述目标特征值存储。The memory stores the target feature value.
需要进一步说明的是,在匹配之前,若所述存储器内存储有其他目标特征值,所述存储器在将所述控制器发送的所述目标特征值存储之前还包括将所述其他目标特征值清除的步骤。It should be further noted that, before the matching, if other target feature values are stored in the memory, the memory further includes clearing the other target feature values before storing the target feature values sent by the controller. A step of.
在步骤S2中,请参阅图7中的S2步骤,将所述电子钥匙端的特征值与所述目标特征值进行比对验证,在比对验证通过时完成所述控制器与所述驱动马达的匹配。In step S2, referring to step S2 in FIG. 7, the feature value of the electronic key end is compared with the target feature value, and the controller and the driving motor are completed when the comparison verification is passed. match.
在一示例中,所述特征值及所述目标特征值可以均为所述电子锁端的物理ID。In an example, the feature value and the target feature value may both be physical IDs of the electronic lock end.
在另一示例,所述特征值及所述目标特征值可以均为校验码,所述校验码可以为任意数字或/及字母的组合。In another example, the feature value and the target feature value may both be check codes, and the check code may be any number or combination of letters and letters.
在又一示例中,所述特征值及所述目标特征值可以均为既包括所述电子锁端22的物理ID,又包括校验码的格式,所述校验码可以为任意数字或/及字母的组合。In still another example, the feature value and the target feature value may both be a physical ID including the electronic lock end 22 and a check code format, and the check code may be any number or / And a combination of letters.
作为示例,将所述电子钥匙端的特征值与目标特征值进行比对验证的过程中还包括:若所述电子钥匙端的特征值与目标特征值比对验证失败则报警的步骤As an example, the step of verifying the feature value of the electronic key end and the target feature value further includes: step of alarming if the feature value of the electronic key end and the target feature value are compared and the verification fails.
综上所述,本发明提供一种电子锁及所述电子锁的数字认证方法,所述电子锁包括:电子钥匙端,包括控制器;电子锁端,包括存储器、驱动马达及机械锁,所述存储器及所述驱动马达均与所述控制器相连接,所述机械锁与所述驱动马达相连接;所述存储器适于存储目标特征值;所述控制器适于在所述电 子钥匙端上电启动时读取所述存储器中存储的所述目标特征值,并将所述电子钥匙端的特征值与所述目标特征值进行比对验证,在比对验证通过时完成其与所述驱动马达的匹配。本发明的电子锁通过在电子锁端设置存储器,所述电子钥匙端的控制器与所述存储器配合使用,在所述电子钥匙端每次重新上电启动时,所述控制器均会将所述电子钥匙端的特征值与所述存储器中存储的目标特征值进行比对验证,在比对验证通过时所述控制器与所述驱动马达完成匹配,才可以控制所述驱动马达对所述机械锁进行开锁,大大增强了所述电子锁的安全性。In summary, the present invention provides an electronic lock and a digital authentication method for the electronic lock. The electronic lock includes: an electronic key end, including a controller; and an electronic lock end, including a memory, a drive motor, and a mechanical lock. Said memory and said drive motor are each coupled to said controller, said mechanical lock being coupled to said drive motor; said memory being adapted to store a target characteristic value; said controller being adapted to be in said electrical Reading the target feature value stored in the memory when the sub-key end is powered on, and comparing the feature value of the electronic key end with the target feature value, and completing the comparison when the comparison verification is passed Matching of the drive motor. The electronic lock of the present invention uses a memory at an electronic lock end, and the controller of the electronic key end is used in conjunction with the memory, and the controller will use the controller every time the electronic key end is powered on again. The characteristic value of the electronic key end is compared with the target characteristic value stored in the memory, and the controller is matched with the driving motor when the comparison verification passes, and the driving motor can be controlled to the mechanical lock Unlocking greatly enhances the security of the electronic lock.
上述实施例仅例示性说明本发明的原理及其功效,而非用于限制本发明。任何熟悉此技术的人士皆可在不违背本发明的精神及范畴下,对上述实施例进行修饰或改变。因此,举凡所属技术领域中具有通常知识者在未脱离本发明所揭示的精神与技术思想下所完成的一切等效修饰或改变,仍应由本发明的权利要求所涵盖。 The above-described embodiments are merely illustrative of the principles of the invention and its effects, and are not intended to limit the invention. Modifications or variations of the above-described embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, all equivalent modifications or changes made by those skilled in the art without departing from the spirit and scope of the invention will be covered by the appended claims.

Claims (12)

  1. 一种电子锁,其特征在于,所述电子锁包括:An electronic lock, characterized in that the electronic lock comprises:
    电子钥匙端,包括控制器;Electronic key end, including a controller;
    电子锁端,包括存储器、驱动马达及机械锁,所述存储器及所述驱动马达均与所述控制器相连接,所述机械锁与所述驱动马达相连接;An electronic lock end, comprising a memory, a drive motor and a mechanical lock, wherein the memory and the drive motor are connected to the controller, and the mechanical lock is connected to the drive motor;
    所述存储器适于存储目标特征值;所述控制器适于在所述电子钥匙端上电启动时读取所述存储器中存储的所述目标特征值,并将所述电子钥匙端的特征值与所述目标特征值进行比对验证,在比对验证通过时完成其与所述驱动马达的匹配。The memory is adapted to store a target feature value; the controller is adapted to read the target feature value stored in the memory when the electronic key end is electrically activated, and to select a feature value of the electronic key end The target feature value is compared and verified, and its matching with the drive motor is completed when the comparison verification passes.
  2. 根据权利要求1所述的电子锁,其特征在于:所述电子锁端还包括电源板,所述电源板与所述电子钥匙端、所述存储器及所述驱动马达相连接,适于为所述电子钥匙端各模块、所述存储器及所述驱动马达供电。The electronic lock according to claim 1, wherein said electronic lock end further comprises a power board, said power board being connected to said electronic key end, said memory and said drive motor, adapted to be The modules of the electronic key end, the memory and the drive motor are powered.
  3. 根据权利要求1所述的电子锁,其特征在于:所述电子钥匙端还包括上电检测电路,所述上电检测电路与所述控制器相连接,适于检测所述电子钥匙端的上电信号,并在检测到所述电子钥匙端的上电信号时向所述控制器反馈信息。The electronic lock according to claim 1, wherein the electronic key end further comprises a power-on detecting circuit, wherein the power-on detecting circuit is connected to the controller, and is adapted to detect power-on of the electronic key end Signaling and feeding back information to the controller upon detecting a power up signal at the electronic key end.
  4. 根据权利要求1所述的电子锁,其特征在于:所述电子锁端还包括按键装置,所述按键装置与所述控制器相连接,适于所述电子钥匙端与所述电子锁端的匹配。 The electronic lock according to claim 1, wherein said electronic lock end further comprises a button device, said button device being coupled to said controller, adapted to match said electronic key end with said electronic lock end .
  5. 根据权利要求1所述的电子锁,其特征在于:所述电子钥匙端的特征值及所述目标特征值均为所述电子锁端的物理ID、校验码或物理ID及校验码。The electronic lock according to claim 1, wherein the characteristic value of the electronic key end and the target characteristic value are physical IDs, check codes or physical IDs and check codes of the electronic lock end.
  6. 根据权利要求1所述的电子锁,其特征在于:所述控制器与一报警装置相连接,适于在所述电子钥匙端的特征值与所述目标特征值比对验证失败时生成报警信息,并将所述报警信息发送至所述报警装置报警。The electronic lock according to claim 1, wherein the controller is connected to an alarm device, and is adapted to generate an alarm message when the comparison between the feature value of the electronic key end and the target feature value fails. And sending the alarm information to the alarm device for alarm.
  7. 根据权利要求1至6中任一项所述的电子锁,其特征在于:所述电子钥匙端还包括用户识别模块,所述用户识别模块适于在所述电子钥匙端上电启动后对用户身份特征信息进行采集,所述控制器还适于在其与所述驱动马达匹配成功后将采集的所述用户身份特征信息与目标用户身份特征信息进行对验证,在比对验证通过时控制所述驱动马达对所述机械锁进行开锁。The electronic lock according to any one of claims 1 to 6, wherein the electronic key end further comprises a user identification module, the user identification module being adapted to be electrically activated after the electronic key end is powered on The identity information is collected, and the controller is further adapted to verify the collected user identity feature information and the target user identity feature information after the matching with the driving motor is successful, and control the control when the comparison verification is passed. The drive motor unlocks the mechanical lock.
  8. 根据权利要求7所述的电子锁,其特征在于:所述用户识别模块包括用户密码采集模块、人脸识别模块、指纹识别模块、语音识别模块或智能卡读取模块中的任意一种或一种以上的组合。The electronic lock according to claim 7, wherein the user identification module comprises any one or a combination of a user password collection module, a face recognition module, a fingerprint recognition module, a voice recognition module or a smart card reading module. The combination above.
  9. 一种如权利要求1至8中任一项所述的电子锁的数字认证方法,其特征在于,所述电子锁的数字认证方法包括以下步骤:A digital authentication method for an electronic lock according to any one of claims 1 to 8, wherein the digital authentication method of the electronic lock comprises the following steps:
    所述电子钥匙端重新上电时读取所述存储器中存储的所述目标特征值; Reading the target feature value stored in the memory when the electronic key end is powered on again;
    将所述电子钥匙端的特征值与所述目标特征值进行比对验证,在比对验证通过时完成所述控制器与所述驱动马达的匹配。And comparing the characteristic value of the electronic key end with the target characteristic value, and completing the matching between the controller and the driving motor when the comparison verification passes.
  10. 根据权利要求9所述的电子锁的数字认证方法,其特征在于:将所述电子钥匙端的特征值与目标特征值进行比对验证的过程中还包括:若所述电子钥匙端的特征值与目标特征值比对验证失败则报警的步骤。The digital authentication method for an electronic lock according to claim 9, wherein the process of verifying the feature value of the electronic key end and the target feature value further comprises: if the feature value and the target of the electronic key end The eigenvalue comparison step is an alarm when the verification fails.
  11. 根据权利要求9所述的电子锁的数字认证方法,其特征在于:在将所述电子锁进行数字认证之前,还包括将所述电子钥匙端与所述电子锁端进行匹配的步骤,将所述电子钥匙端与所述电子锁端进行匹配包括以下步骤:The digital authentication method for an electronic lock according to claim 9, wherein before the digital lock is digitally authenticated, the method further comprises the step of matching the electronic key end with the electronic lock end, The matching of the electronic key end with the electronic lock end includes the following steps:
    所述控制器生成随机数校验码作为目标特征值发送至所述电子锁端,且所述控制器存储所述目标特征值;The controller generates a random number check code to be sent to the electronic lock end as a target feature value, and the controller stores the target feature value;
    所述存储器将所述目标特征值存储。The memory stores the target feature value.
  12. 根据权利要求9所述的电子锁的数字认证方法,其特征在于:在将所述电子锁进行数字认证之前,还包括将所述电子钥匙端与所述电子锁端进行匹配的步骤,将所述电子钥匙端与所述电子锁端进行匹配包括以下步骤:The digital authentication method for an electronic lock according to claim 9, wherein before the digital lock is digitally authenticated, the method further comprises the step of matching the electronic key end with the electronic lock end, The matching of the electronic key end with the electronic lock end includes the following steps:
    所述控制器提取所述电子锁端的物理ID作为种子,基于所述种子生成随机数校验码,将所述电子锁端的物理ID及所述校验码作为目标特征值发送至所述电子锁端,且所述控制器存储所述目标特征值;The controller extracts a physical ID of the electronic lock as a seed, generates a random number check code based on the seed, and sends the physical ID of the electronic lock and the check code as a target feature value to the electronic lock. End, and the controller stores the target feature value;
    所述存储器将所述目标特征值存储。 The memory stores the target feature value.
PCT/CN2017/085625 2016-12-23 2017-05-24 Electronic lock and digital authentication method of same WO2018113181A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611205707.1 2016-12-23
CN201611205707.1A CN108240140B (en) 2016-12-23 2016-12-23 Electronic lock and digital authentication method thereof

Publications (1)

Publication Number Publication Date
WO2018113181A1 true WO2018113181A1 (en) 2018-06-28

Family

ID=62624345

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/085625 WO2018113181A1 (en) 2016-12-23 2017-05-24 Electronic lock and digital authentication method of same

Country Status (2)

Country Link
CN (1) CN108240140B (en)
WO (1) WO2018113181A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113708939A (en) * 2021-10-29 2021-11-26 深圳百纳维科技有限公司 Container lock control method and device, container lock and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5561331A (en) * 1994-04-28 1996-10-01 Honda Giken Kogyo Kabushiki Kaisha Ignition key device having chargeable storage cell supplying selectively attachable remote unit
CN101949239A (en) * 2010-09-03 2011-01-19 深圳市科陆电子科技股份有限公司 Passive power intelligent lock
CN202131853U (en) * 2011-06-02 2012-02-01 广州西容有限公司 Novel lockset
US20140218167A1 (en) * 2013-02-04 2014-08-07 K-Jump Health Co., Ltd. Wirelessly sensed and controlled locking device
CN204667499U (en) * 2015-05-27 2015-09-23 河南传通电子科技有限公司 A kind of based on bluetooth password two-way authentication passive locks
CN205486354U (en) * 2015-12-31 2016-08-17 天津拓晟科技发展有限公司 Safety lock among safety monitoring system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8854180B2 (en) * 2009-01-10 2014-10-07 Pro Tech Systems Of Maryland, Inc. Access control system
KR101256920B1 (en) * 2010-12-28 2013-05-02 주식회사 지오아이티 the door lock system of both access management and security system and the door lock operation system using thereof
CN201963068U (en) * 2011-03-14 2011-09-07 汉王科技股份有限公司 Intelligent lock based on the recognition of face
CN202380826U (en) * 2012-01-09 2012-08-15 施奎 Intelligent entrance and alarming device for antitheft door
GB2541838A (en) * 2014-05-21 2017-03-01 Bluetech Automation Llc Automatic wireless door opening system and method of using the same
CN204833406U (en) * 2015-08-03 2015-12-02 上海新微技术研发中心有限公司 Electronic lock based on user identity characteristic recognition
CN205722061U (en) * 2016-05-17 2016-11-23 南京巨量数据技术有限公司 Smart lock based on electron key
CN205665761U (en) * 2016-05-31 2016-10-26 深圳市锠盛电子科技有限公司 Intelligent access control system based on bluetooth module

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5561331A (en) * 1994-04-28 1996-10-01 Honda Giken Kogyo Kabushiki Kaisha Ignition key device having chargeable storage cell supplying selectively attachable remote unit
CN101949239A (en) * 2010-09-03 2011-01-19 深圳市科陆电子科技股份有限公司 Passive power intelligent lock
CN202131853U (en) * 2011-06-02 2012-02-01 广州西容有限公司 Novel lockset
US20140218167A1 (en) * 2013-02-04 2014-08-07 K-Jump Health Co., Ltd. Wirelessly sensed and controlled locking device
CN204667499U (en) * 2015-05-27 2015-09-23 河南传通电子科技有限公司 A kind of based on bluetooth password two-way authentication passive locks
CN205486354U (en) * 2015-12-31 2016-08-17 天津拓晟科技发展有限公司 Safety lock among safety monitoring system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113708939A (en) * 2021-10-29 2021-11-26 深圳百纳维科技有限公司 Container lock control method and device, container lock and storage medium
CN113708939B (en) * 2021-10-29 2022-02-08 深圳百纳维科技有限公司 Container lock control method and device, container lock and storage medium

Also Published As

Publication number Publication date
CN108240140A (en) 2018-07-03
CN108240140B (en) 2020-02-07

Similar Documents

Publication Publication Date Title
US20170198497A1 (en) Padlock and cabinet lock
Okokpujie et al. A face recognition attendance system with GSM notification
CN109712300A (en) A kind of unlocking system based on network identification card certification
CN104268966A (en) Non-contact composite mode access control system and non-contact composite mode access control method
CN116311598A (en) Lock and vehicle
US10186101B2 (en) Method, device and system for controlling opening of A-B doors
US20050235156A1 (en) Method for automatic identification control and management
CN111554020A (en) Internet of things access control system based on RFID and biological identification
CN106097519A (en) Control device, electronic lock, control method and the application thereof of a kind of electronic lock
CN212256412U (en) Internet of things access control system based on RFID and biological identification
CN110349311A (en) A kind of fingerprint lock control system and method based on block chain technology
CN106600773A (en) Multifunctional distributed intelligent access control system using IC card or dynamic password
CN101051345A (en) Non-contact type identifier for personal identity
CN101775932A (en) Lock device with function of fingerprint identification and realizing method thereof
CN107967731A (en) Door-locking system based on two-dimensional code scanning unlock
CN104637140B (en) A kind of smart electronicses lock control system and its control method
WO2018113181A1 (en) Electronic lock and digital authentication method of same
JP2002070375A (en) Electronic key and electronic key system
CN210888401U (en) Intelligent door lock
CN211058500U (en) Novel electronic information lock
CN110223420A (en) A kind of fingerprint unlocking system
CN206249460U (en) A kind of recognition of face intelligent anti-theft is swiped the card door lock
JP2015151739A (en) security system
CN108242093B (en) Electronic lock based on digital authentication and digital authentication method
Siswanto et al. Fingerprint Authentication In Smart Home Environment Based On Embedded System

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17884050

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17884050

Country of ref document: EP

Kind code of ref document: A1