WO2019109202A1 - Lock control method and device, lock, and storage medium - Google Patents

Lock control method and device, lock, and storage medium Download PDF

Info

Publication number
WO2019109202A1
WO2019109202A1 PCT/CN2017/114402 CN2017114402W WO2019109202A1 WO 2019109202 A1 WO2019109202 A1 WO 2019109202A1 CN 2017114402 W CN2017114402 W CN 2017114402W WO 2019109202 A1 WO2019109202 A1 WO 2019109202A1
Authority
WO
WIPO (PCT)
Prior art keywords
unlocking
unlocking unit
lock
control
unit
Prior art date
Application number
PCT/CN2017/114402
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 深圳市爱迪尔电子有限公司
Priority to PCT/CN2017/114402 priority Critical patent/WO2019109202A1/en
Publication of WO2019109202A1 publication Critical patent/WO2019109202A1/en

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B49/00Electric permutation locks; Circuits therefor ; Mechanical aspects of electronic locks; Mechanical keys therefor
    • 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

Definitions

  • the present disclosure relates to the field of lock control technology, such as a control method, device, lock, and storage medium for a lock.
  • Door locks are widely used in homes, hotels, and offices, and are used by people every day. The need for intelligent life makes smart locks more and more popular in people's daily lives.
  • the unlocking method of each type of door lock of the related art is relatively fixed, for example, using a mechanical key to unlock, unlocking by means of a proximity card, a password, a fingerprint, or the like, or a simple combination of the above several unlocking methods. If the unlocking method needs to be replaced or a certain part of the door lock fails, the whole lock needs to be replaced and maintained, and the replacement maintenance cost is high and the efficiency is low.
  • the present disclosure provides a control method, device, lock and storage medium for a lock to realize different unlocking modes of the lock according to different needs of the user at different times, to satisfy the personalized lock control mode of the user, and at the same time reduce the maintenance cost of the lock on the user and improve the maintenance cost of the lock. user experience.
  • the present disclosure provides a control method for a lock, the control method including:
  • the obtained unlocking signal of the unlocking unit is set to an active state or an invalid state.
  • the present disclosure also provides a control device for a lock, the control device comprising:
  • the instruction receiving module is configured to receive an unlock mode start/stop command sent by the control terminal for controlling a start/stop state of the unlocking unit;
  • An unlocking unit acquiring module configured to acquire at least one of an unlocking unit to be activated and an unlocking unit to be disabled from the unlocking mode start and stop command;
  • a state setting module configured to set the acquired unlocking signal of the unlocking unit to be effective Status or invalid status.
  • the present disclosure also provides a lock comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor executing the program to implement the lock of any of the embodiments of the present disclosure Control method.
  • the present disclosure also provides a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements a method of controlling a lock of any of the embodiments of the present disclosure.
  • the at least one of the unlocking unit to be activated and the unlocking unit to be disabled is obtained by receiving the unlocking mode start and stop command, and the unlocking signal of the unlocking unit is correspondingly set to an active state or an invalid state, so as to realize different times according to the user.
  • FIG. 2 is a flow chart of a method for controlling a lock provided by the embodiment
  • FIG. 3 is a structural diagram of a control device for a lock provided by the embodiment.
  • FIG. 4 is a schematic structural diagram of a computer device according to this embodiment.
  • FIG. 1 is a flowchart of a method for controlling a lock according to an embodiment of the present invention.
  • the present embodiment is applicable to a case where a lock is controlled, and the method can be performed by a control device of the lock.
  • the method in this embodiment may include:
  • the control terminal may be, but not limited to, an application end of the terminal device and the terminal device.
  • the terminal device may be, but not limited to, a mobile terminal (eg, a tablet, a smart phone, etc.) and a wearable device (eg, a smart watch, a sports bracelet, etc.).
  • the application end of the terminal device may be a plug-in embedded in a certain terminal of the terminal device, or a plug-in of an operating system of the terminal device, and an authorized lock device embedded in the terminal device.
  • the client of the selected operation or the operating system of the terminal device can be used in conjunction with an application that can perform function selection operations on the authorized lock; the application can also function as a separate executable lockable device in the terminal device.
  • the control terminal accesses the indoor wireless hotspot or accesses the wired network through the wireless fidelity (Wi-Fi), or sets a Subscriber Identity Module (SIM) card module through the mobile communication network. Control the start and stop status of the unlocking unit.
  • Wi-Fi wireless fidelity
  • SIM Subscriber Identity Module
  • At least one of an unlocking unit to be activated and an unlocking unit to be disabled is acquired from the unlocking mode start/stop command.
  • the unlocking unit includes one or more combinations of a proximity card unlocking unit, a fingerprint unlocking unit, a password unlocking unit, and a wireless control unlocking unit. Determining whether the unlocking unit in the lock is enabled or disabled by the unlocking mode start/stop command, and correspondingly setting each unlocking unit included in the unlocking unit, taking the induction card unlocking unit as an example, the unlocking mode starting and stopping command setting When the fixed proximity card unlocking unit is enabled, the start/stop command according to the unlocking mode corresponds to enabling the proximity card unlocking unit.
  • the acquired unlocking signal of the unlocking unit is correspondingly set to an active state or an invalid state.
  • the corresponding unlocking unit is enabled or disabled by obtaining the unlocking mode start/stop command, that is, the unlocking signal of the corresponding unlocking unit is correspondingly set to an active state or an invalid state.
  • the unlocking signal corresponding to the setting of the sensing card unlocking unit is valid. .
  • the two unlocking methods are permanent and effective as long as no fault occurs, that is, if a matching key is screwed in, or detected
  • the proximity card can be unlocked directly.
  • the authority to unlock is not directly determined by the unlocking unit preset by the lock, but is confirmed by the unlocking mode start and stop command sent by the control terminal for controlling the start and stop state of the unlocking unit. At least one of the unlocking unit or the unlocking unit to be disabled, and after the confirmation, invokes the unlocking signal corresponding to the setting of the unlocking unit to be in an active state or an invalid state.
  • the at least one of the unlocking unit to be activated and the unlocking unit to be disabled is obtained by receiving the unlocking mode start and stop command, and the unlocking signal of the unlocking unit is correspondingly set to an active state or an invalid state, so as to realize different times according to the user.
  • the unlocking signal of the unlocking unit is correspondingly set to an active state or an invalid state, so as to realize different times according to the user.
  • Different requirements, to achieve different unlocking methods of locks, to meet the needs The user's personalized lock control mode reduces the user's maintenance cost for the lock and enhances the user experience.
  • FIG. 2 is a flowchart of a method for controlling a lock according to an embodiment of the present invention.
  • the method further includes: receiving an unlock signal sent by the unlocking unit. If the unlock signal is in an active state, the control lock is unlocked.
  • the method before receiving the unlocking start and stop command sent by the control terminal for controlling the start/stop state of the unlocking unit, the method further includes: confirming that the correct authorization key is received from the control terminal.
  • the method in this embodiment may include:
  • the lock needs to authorize the designated control terminal, and after the control terminal receives the correct authorization key, the control terminal can perform a function selection operation on the authorized lock.
  • At least one of an unlocking unit to be activated and an unlocking unit to be disabled is acquired from the unlocking mode start and stop command.
  • the acquired unlocking signal of the unlocking unit is correspondingly set to an active state or an invalid state.
  • the unlocking unit includes one or more combinations of a proximity card unlocking unit, a fingerprint unlocking unit, a password unlocking unit, and a wireless control unlocking unit.
  • the proximity card unlocking unit uses a radio frequency card, that is, a radio frequency (RF) card.
  • the radio frequency card has non-contact, fast reading speed, no wear, no environmental impact, long life, easy to use, and anti-collision function. Can handle multiple cards at the same time.
  • the unlock signal of the proximity card unlocking unit is set to an active state, and the lock can be controlled to open the door.
  • the fingerprint unlocking unit replaces the traditional key with a finger. When you use it, you only need to put your finger on the collection window of the fingerprint collector to complete the unlocking task.
  • the operation is very simple and avoids other access control systems (traditional mechanical lock, password lock) , identification cards, etc.) may be falsified, stolen, forgotten, deciphered and other drawbacks.
  • the lock device sets the unlocking signal of the fingerprint unlocking unit to an active state, and the pre-authorized fingerprint information is consistent with the fingerprint information collected by the current fingerprint collecting device, the fingerprint information may be To control the lock to open the door.
  • the password unlocking unit is stored in the lock by a pre-recorded digital password combination.
  • the user inputs the digital password through the numeric keypad, if the input digital password is combined with the pre-recorded digital password, and the lock is
  • the unlock signal of the password unlocking unit is set to the active state, the lock can be controlled to open the door.
  • the wireless control unlocking unit may include, but is not limited to, Bluetooth and ZigBee.
  • ZigBee is an emerging short-range wireless communication technology for Sensor and Control applications.
  • the lock receives the wireless control signal sent by the Bluetooth and the ZigBee, the unlocking signal of the wireless control unlocking unit is set to an active state, and the lock can be controlled to open the door.
  • the induction card unlocking unit, the fingerprint unlocking unit, the password unlocking unit and the wireless control unlocking unit, the plurality of unlocking units of the locking device are relatively independent, and the use or failure or damage of any one of the unlocking units does not affect other unlocking units.
  • the above-mentioned locks can also be provided with other unlocking units according to the needs of the user.
  • the user can also install the lock on the cloud server by selecting the unlocking method that is needed by the cloud server, and the unlocking function is stored in the cloud service system for the user to select.
  • the lock provided by the present invention is applicable to, but not limited to, the following situations, and the embodiment does not limit this.
  • the user can arbitrarily select the unlocking mode of one of the unlocking units.
  • the basic unlocking mode of the locking device is the fingerprint unlocking, and the user only needs to follow the pre-authorized fingerprint template to the fingerprint template.
  • the user's fingerprint can be identified and used to open the lock.
  • the user's parents or other relatives and friends come together to live, but their fingerprints are not available, they can use the other unlocking methods of the lock to unlock.
  • the user downloads the proximity card unlocking unit from the cloud server through the control terminal and after passing the authentication (the smart lock and the cloud server are authenticated by the relevant algorithm), the function of the sensing card unlocking unit is saved to the smart lock, and then according to the instructions.
  • the RF card and the authorization information of the RF card are simultaneously stored on the cloud server, and the user's fingerprint and RF card can be used at this time.
  • the downloaded proximity card unlocking unit can be deleted through the control terminal.
  • the unlocking signals of the various unlocking units provided by the lock may be all set to an invalid working mode, and the lock is again taught by the control terminal when the user returns. And, according to the unlocking mode start/stop command of the start/stop state of the control unlocking unit sent by the control terminal, acquiring at least one of the unlocking unit to be activated and the unlocking unit to be disabled, and correspondingly unlocking the unlocking unit Set to a valid or invalid state. All unlocking units can also be deleted from the cloud server through the control terminal, and all the unlocking methods of the smart locks are cancelled after being authenticated (the smart lock and the cloud server are authenticated by the relevant algorithm). When the user returns, the required unlocking unit is re-downloaded from the cloud server through the control terminal to the smart lock, and then the smart unlocking device is unlocked by using the downloaded unlocking unit.
  • the control terminal by confirming that the correct authorization key is received from the control terminal, receiving the unlock mode start/stop command, acquiring at least one of the unlocking unit to be enabled and the unlocking unit to be disabled, and setting the unlocking signal of the unlocking unit correspondingly to The active state or the invalid state receives the unlocking signal sent by the unlocking unit. If the unlocking signal is in the active state, the control lock is unlocked, so as to realize different unlocking modes of the locking device according to different requirements of the user at different times, and satisfy the personalized locking device of the user. Control mode, while reducing the user's maintenance costs for the lock and improving the user experience.
  • FIG. 3 is a structural diagram of a control device for a lock according to an embodiment of the present invention.
  • the embodiment can be configured to control a lock.
  • the control device includes: an instruction receiving module 310, an unlocking unit acquiring module 320, and a state setting module 330, wherein:
  • the instruction receiving module 310 is configured to receive an unlock mode start/stop command sent by the control terminal for controlling the start/stop state of the unlocking unit.
  • the unlocking unit acquisition module 320 is configured to acquire at least one of an unlocking unit to be activated and an unlocking unit to be disabled from the unlocking mode start and stop command.
  • the state setting module 330 is configured to correspondingly set the acquired unlocking signal of the unlocking unit to an active state or an invalid state.
  • the control device for the lock device of the present embodiment obtains at least one of the unlocking unit to be activated and the unlocking unit to be disabled by receiving the unlocking mode start and stop command, and correspondingly setting the unlocking signal of the unlocking unit to an effective state or Invalid state, in order to realize different unlocking modes of the lock according to different needs of users at different times, to meet the user's personalized lock control mode, and at the same time reduce the user's maintenance cost of the lock and improve the user experience.
  • control device further includes:
  • the unlocking control module 340 is configured to receive an unlocking signal sent by the unlocking unit, if the unlocking letter is The number is in the active state and the control lock is unlocked.
  • control device further includes:
  • the authorization key receiving module 350 is configured to confirm receipt of the correct authorization key from the control terminal.
  • the unlocking unit includes one or more combinations of a proximity card unlocking unit, a fingerprint unlocking unit, a password unlocking unit, and a wireless control unlocking unit.
  • the control device for the lock provided by the above embodiments can perform the control method of the lock provided by any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the control method for executing the lock.
  • FIG. 4 a hardware structure diagram of a lock provided in this embodiment is shown in FIG. 4, and the lock includes:
  • One or more processors 410, one processor 410 is taken as an example in FIG. 4;
  • the lock may further include an input device 430 and an output device 440.
  • the processor 410, the memory 420, the input device 430, and the output device 440 in the lock may be connected by a bus or other means, and the bus connection is taken as an example in FIG.
  • the memory 420 is a non-transitory computer readable storage medium, and is configurable to store a software program, a computer executable program, and a module, such as a program instruction/module corresponding to a control method of the lock in the embodiment (for example, The instruction receiving module 310, the unlocking unit acquisition module 320, and the state setting module 330) shown in FIG.
  • the processor 410 executes various functional applications and data processing of the lock by executing software programs, instructions, and modules stored in the memory 420, that is, a control method of the lock of the above method embodiment.
  • the memory 420 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to device usage, and the like.
  • memory 420 can include high speed random access memory, and can also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device.
  • memory 420 can optionally include memory remotely located relative to processor 410, which can be connected to the terminal device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Input device 430 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the lock.
  • Output device 440 can include, but is not limited to, LED indicators, buzzers, speakers, display screens, and the like.
  • the embodiment further provides a storage medium comprising computer executable instructions, which when executed by a computer processor, are configured to perform a control method of a lock, the method comprising:
  • the obtained unlocking signal of the unlocking unit is set to an active state or an invalid state.
  • control method further includes:
  • control method before the receiving control terminal sends an unlocking start and stop command for controlling a start/stop state of the unlocking unit, the control method further includes:
  • the computer executable instructions when executed by the computer processor, may also be configured to perform the technical solution of the control method of the lock provided by any embodiment of the present disclosure.
  • the control method of the lock provided by the present disclosure acquires at least one of an unlocking unit to be activated and an unlocking unit to be disabled by receiving an unlocking mode start/stop command, and correspondingly setting an unlocking signal of the unlocking unit to an effective state or an invalid state, thereby realizing According to the different needs of users at different times, the different unlocking modes of the locks are realized, which satisfies the user's personalized lock control mode, and at the same time reduces the maintenance cost of the locks and improves the user experience.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

A lock control method comprises: receiving an unlocking mode start/stop instruction sent by a control terminal and used for controlling start/stop states of an unlocking control units (S110); obtaining at least one of an unlocking unit to be enabled and an unlocking unit to be disenabled, from the unlocking mode start/stop instruction (S210); and correspondingly setting unlocking signals of the unlocking units to be an effective state or an ineffective state (S130). Also disclosed are a lock control device, a lock for implementing the control method, and a computer readable storage medium in which a computer program for implementing the lock control method is stored.

Description

锁具的控制方法、装置、锁具及存储介质Lock control method, device, lock and storage medium 技术领域Technical field
本公开涉及锁具控制技术领域,例如锁具的控制方法、装置、锁具及存储介质。The present disclosure relates to the field of lock control technology, such as a control method, device, lock, and storage medium for a lock.
背景技术Background technique
门锁广泛应用于家居、酒店以及办公室等各种场所,是人们每天出入各种场所都会用到的。智能化生活的需求让智能锁在人们的日常生活中应用的越来越普遍。Door locks are widely used in homes, hotels, and offices, and are used by people every day. The need for intelligent life makes smart locks more and more popular in people's daily lives.
相关技术的门锁每一款的开锁方式都是相对固定的,例如,采用机械钥匙去开锁,通过感应卡、密码、指纹等方式开锁,或者是以上几种开锁方式的简单组合。如果需要更换开锁方式或者门锁的某一部分出现故障就需要对整把锁进行更换维护,更换维护成本高,效率低下。The unlocking method of each type of door lock of the related art is relatively fixed, for example, using a mechanical key to unlock, unlocking by means of a proximity card, a password, a fingerprint, or the like, or a simple combination of the above several unlocking methods. If the unlocking method needs to be replaced or a certain part of the door lock fails, the whole lock needs to be replaced and maintained, and the replacement maintenance cost is high and the efficiency is low.
发明内容Summary of the invention
本公开提供锁具的控制方法、装置、锁具及存储介质,以实现根据用户不同时间不同需求,实现锁具的不同开锁方式,满足用户个性化的锁具控制方式,同时降低用户对锁具的维护成本,提升用户体验。The present disclosure provides a control method, device, lock and storage medium for a lock to realize different unlocking modes of the lock according to different needs of the user at different times, to satisfy the personalized lock control mode of the user, and at the same time reduce the maintenance cost of the lock on the user and improve the maintenance cost of the lock. user experience.
本公开提供了一种锁具的控制方法,该控制方法包括:The present disclosure provides a control method for a lock, the control method including:
接收控制终端发送的用于控制开锁单元的启停状态的开锁模式启停指令;Receiving an unlock mode start/stop command sent by the control terminal for controlling a start/stop state of the unlocking unit;
从所述开锁模式启停指令获取待启用的开锁单元和待禁用的开锁单元中的至少一个;Obtaining at least one of an unlocking unit to be activated and an unlocking unit to be disabled from the unlocking mode start and stop command;
将获取的所述开锁单元的开锁信号对应设置为有效状态或无效状态。Correspondingly, the obtained unlocking signal of the unlocking unit is set to an active state or an invalid state.
本公开还提供了一种锁具的控制装置,该控制装置包括:The present disclosure also provides a control device for a lock, the control device comprising:
指令接收模块,配置为接收控制终端发送的用于控制开锁单元的启停状态的开锁模式启停指令;The instruction receiving module is configured to receive an unlock mode start/stop command sent by the control terminal for controlling a start/stop state of the unlocking unit;
开锁单元获取模块,配置为从所述开锁模式启停指令获取待启用的开锁单元和待禁用的开锁单元中的至少一个;An unlocking unit acquiring module configured to acquire at least one of an unlocking unit to be activated and an unlocking unit to be disabled from the unlocking mode start and stop command;
状态设置模块,配置为将获取的所述开锁单元的开锁信号对应设置为有效 状态或无效状态。a state setting module configured to set the acquired unlocking signal of the unlocking unit to be effective Status or invalid status.
本公开还提供了一种锁具,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现本公开实施例任一所述的锁具的控制方法。The present disclosure also provides a lock comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor executing the program to implement the lock of any of the embodiments of the present disclosure Control method.
本公开还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本公开实施例任一所述的锁具的控制方法。The present disclosure also provides a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements a method of controlling a lock of any of the embodiments of the present disclosure.
本实施例通过接收开锁模式启停指令获取待启用的开锁单元和待禁用的开锁单元中的至少一个,将所述开锁单元的开锁信号对应设置为有效状态或无效状态,以实现根据用户不同时间不同需求,实现锁具的不同开锁方式,满足用户个性化的锁具控制方式,同时降低用户对锁具的维护成本又提升用户体验。In this embodiment, the at least one of the unlocking unit to be activated and the unlocking unit to be disabled is obtained by receiving the unlocking mode start and stop command, and the unlocking signal of the unlocking unit is correspondingly set to an active state or an invalid state, so as to realize different times according to the user. Different requirements, realize different unlocking methods of locks, meet the user's personalized lock control mode, reduce the user's maintenance cost of the lock and improve the user experience.
附图说明DRAWINGS
图1是本实施例提供的一种锁具的控制方法的流程图;1 is a flow chart of a method for controlling a lock provided by this embodiment;
图2是本实施例提供的一种锁具的控制方法的流程图;2 is a flow chart of a method for controlling a lock provided by the embodiment;
图3是本实施例提供的一种锁具的控制装置的结构图;3 is a structural diagram of a control device for a lock provided by the embodiment;
图4是本实施例提供的一种计算机设备的结构示意图。FIG. 4 is a schematic structural diagram of a computer device according to this embodiment.
具体实施方式Detailed ways
图1为本实施例提供的一种锁具的控制方法的流程图,本实施例可适用于对锁具进行控制的情况,该方法可以由锁具的控制装置来执行。FIG. 1 is a flowchart of a method for controlling a lock according to an embodiment of the present invention. The present embodiment is applicable to a case where a lock is controlled, and the method can be performed by a control device of the lock.
如图1所述,本实施例的方法可以包括:As shown in FIG. 1, the method in this embodiment may include:
在S110中,接收控制终端发送的用于控制开锁单元的启停状态的开锁模式启停指令。In S110, an unlock mode start/stop command sent by the control terminal for controlling the start/stop state of the unlocking unit is received.
其中,控制终端可以是但不限于终端设备和终端设备的应用端。其中,终端设备可以为但不限于为移动终端(例如,平板电脑、智能手机等)和穿戴设备(例如,智能手表、运动手环等)。其中,终端设备的应用端可以为内嵌于终端设备中的某个客户端的插件,或者为所述终端设备的操作系统的插件,与内嵌于终端设备中的可对经授权的锁具进行功能选择操作的客户端或者终端设备的操作系统中的可对经授权的锁具进行功能选择操作的应用程序配合使用;应用端也可以为所述终端设备中一个独立的可对经授权的锁具进行功能选择操 作的客户端,本实施例对此不进行限制。本案中在所述控制终端通过无线保真(Wlreless-Fidelity,Wi-Fi)接入室内无线热点或是接入有线网络或是设置客户识别(Subscriber Identity Module,SIM)卡模块通过移动通信网络进行控制开锁单元的启停状态。The control terminal may be, but not limited to, an application end of the terminal device and the terminal device. The terminal device may be, but not limited to, a mobile terminal (eg, a tablet, a smart phone, etc.) and a wearable device (eg, a smart watch, a sports bracelet, etc.). The application end of the terminal device may be a plug-in embedded in a certain terminal of the terminal device, or a plug-in of an operating system of the terminal device, and an authorized lock device embedded in the terminal device. The client of the selected operation or the operating system of the terminal device can be used in conjunction with an application that can perform function selection operations on the authorized lock; the application can also function as a separate executable lockable device in the terminal device. Choose operation For the client, this embodiment does not limit this. In the present case, the control terminal accesses the indoor wireless hotspot or accesses the wired network through the wireless fidelity (Wi-Fi), or sets a Subscriber Identity Module (SIM) card module through the mobile communication network. Control the start and stop status of the unlocking unit.
在S120中,从所述开锁模式启停指令获取待启用的开锁单元和待禁用的开锁单元中的至少一个。In S120, at least one of an unlocking unit to be activated and an unlocking unit to be disabled is acquired from the unlocking mode start/stop command.
其中,所述开锁单元包括感应卡开锁单元、指纹开锁单元、密码开锁单元和无线控制开锁单元中的一种或多种组合。通过所述开锁模式启停指令确定锁具中的开锁单元是启用还是禁用,对开锁单元中包含的每一种开锁单元进行相应的设定,以感应卡开锁单元为例,开锁模式启停指令设定的感应卡开锁单元为启用,则根据该开锁模式启停指令对应启用感应卡开锁单元。The unlocking unit includes one or more combinations of a proximity card unlocking unit, a fingerprint unlocking unit, a password unlocking unit, and a wireless control unlocking unit. Determining whether the unlocking unit in the lock is enabled or disabled by the unlocking mode start/stop command, and correspondingly setting each unlocking unit included in the unlocking unit, taking the induction card unlocking unit as an example, the unlocking mode starting and stopping command setting When the fixed proximity card unlocking unit is enabled, the start/stop command according to the unlocking mode corresponds to enabling the proximity card unlocking unit.
在S130中,将获取的所述开锁单元的开锁信号对应设置为有效状态或无效状态。In S130, the acquired unlocking signal of the unlocking unit is correspondingly set to an active state or an invalid state.
在上述实施例的基础上,通过获得开锁模式启停指令确定了相应的开锁单元是启用还是禁用,即相应开锁单元的开锁信号对应设置为有效状态或无效状态。以感应卡开锁单元为例,开锁模式启停指令设定的感应卡开锁单元为启用,则根据该开锁模式启停指令对应启用感应卡开锁单元,对应设置感应卡开锁单元的开锁信号为有效状态。On the basis of the above embodiment, it is determined whether the corresponding unlocking unit is enabled or disabled by obtaining the unlocking mode start/stop command, that is, the unlocking signal of the corresponding unlocking unit is correspondingly set to an active state or an invalid state. Taking the proximity card unlocking unit as an example, if the sensing card unlocking unit set by the unlocking mode start/stop command is enabled, the start/stop command according to the unlocking mode is correspondingly enabled to activate the sensing card unlocking unit, and the unlocking signal corresponding to the setting of the sensing card unlocking unit is valid. .
对于相关的锁具,有部分也存在多种开锁方式,例如通过钥匙开门和感应卡开门,但是这两种开锁方式只要不发生故障是永久有效的,也就是如果有匹配钥匙拧到位,或者检测到感应卡,都可以直接实现开锁。这种情况下,相较于单一开锁方式的锁具,虽然给用户提供了多种开锁方式的选择,但是同时也给不法分子提供了更多的获得开锁权项的渠道。在本公开中,开锁的权限并不直接由锁具所预先设置有的开锁单元所决定,而是通过控制终端发送的用于控制开锁单元的启停状态的开锁模式启停指令进行确认待启用的开锁单元或待禁用的开锁单元中的至少一个,并在确认后调用对应设置开锁单元的开锁信号为有效状态或无效状态。For the related locks, there are also a variety of unlocking methods, such as opening the door through the key and opening the sensor card, but the two unlocking methods are permanent and effective as long as no fault occurs, that is, if a matching key is screwed in, or detected The proximity card can be unlocked directly. In this case, compared to the single unlocking type of lock, although the user is provided with a variety of options for unlocking, it also provides the criminals with more access to unlocking rights. In the present disclosure, the authority to unlock is not directly determined by the unlocking unit preset by the lock, but is confirmed by the unlocking mode start and stop command sent by the control terminal for controlling the start and stop state of the unlocking unit. At least one of the unlocking unit or the unlocking unit to be disabled, and after the confirmation, invokes the unlocking signal corresponding to the setting of the unlocking unit to be in an active state or an invalid state.
本实施例通过接收开锁模式启停指令获取待启用的开锁单元和待禁用的开锁单元中的至少一个,将所述开锁单元的开锁信号对应设置为有效状态或无效状态,以实现根据用户不同时间不同需求,实现锁具的不同开锁方式,满足用 户个性化的锁具控制方式,同时降低用户对锁具的维护成本又提升用户体验。In this embodiment, the at least one of the unlocking unit to be activated and the unlocking unit to be disabled is obtained by receiving the unlocking mode start and stop command, and the unlocking signal of the unlocking unit is correspondingly set to an active state or an invalid state, so as to realize different times according to the user. Different requirements, to achieve different unlocking methods of locks, to meet the needs The user's personalized lock control mode reduces the user's maintenance cost for the lock and enhances the user experience.
图2为本实施例提供的一种锁具的控制方法的流程图,本实施例以上述实施例为基础进行优化,在本实施例中,所述方法还包括:接收开锁单元发送的开锁信号,若所述开锁信号处于有效状态,控制锁具开锁。同时,在步骤接收控制终端发送的用于控制开锁单元的启停状态的开锁启停指令之前,还包括:确认从控制终端接收到正确的授权密钥。FIG. 2 is a flowchart of a method for controlling a lock according to an embodiment of the present invention. The present embodiment is optimized based on the foregoing embodiment. In this embodiment, the method further includes: receiving an unlock signal sent by the unlocking unit. If the unlock signal is in an active state, the control lock is unlocked. At the same time, before receiving the unlocking start and stop command sent by the control terminal for controlling the start/stop state of the unlocking unit, the method further includes: confirming that the correct authorization key is received from the control terminal.
相应的,本实施例的方法可以包括:Correspondingly, the method in this embodiment may include:
在S210中,确认从控制终端接收到正确的授权密钥。In S210, it is confirmed that the correct authorization key is received from the control terminal.
可选的,锁具需要对指定的控制终端进行授权,控制终端在接收到正确的授权密钥后,控制终端便可以对经授权的锁具进行功能上的选择操作。Optionally, the lock needs to authorize the designated control terminal, and after the control terminal receives the correct authorization key, the control terminal can perform a function selection operation on the authorized lock.
在S220中,接收控制终端发送的用于控制开锁单元的启停状态的开锁模式启停指令。In S220, an unlock mode start/stop command sent by the control terminal for controlling the start/stop state of the unlocking unit is received.
在S230中,从所述开锁模式启停指令获取待启用的开锁单元和待禁用的开锁单元中的至少一个。In S230, at least one of an unlocking unit to be activated and an unlocking unit to be disabled is acquired from the unlocking mode start and stop command.
在S240中,将获取的所述开锁单元的开锁信号对应设置为有效状态或无效状态。In S240, the acquired unlocking signal of the unlocking unit is correspondingly set to an active state or an invalid state.
在S250中,接收开锁单元发送的开锁信号,若所述开锁信号处于有效状态,控制锁具开锁。In S250, the unlocking signal sent by the unlocking unit is received, and if the unlocking signal is in an active state, the control lock is unlocked.
其中,所述开锁单元包括感应卡开锁单元、指纹开锁单元、密码开锁单元和无线控制开锁单元中的一种或多种组合。The unlocking unit includes one or more combinations of a proximity card unlocking unit, a fingerprint unlocking unit, a password unlocking unit, and a wireless control unlocking unit.
感应卡开锁单元使用无线射频卡,即射频(Radio Frequency,RF)卡,无线射频卡具有非接触、阅读速度快、无磨损、不受环境影响、寿命长、便于使用的特点和具有防冲突功能,能同时处理多张卡片。在本实施例中,在所述锁具检测到预授权的RF卡时,将感应卡开锁单元的开锁信号设置为有效状态,可以控制该锁具进行开门。The proximity card unlocking unit uses a radio frequency card, that is, a radio frequency (RF) card. The radio frequency card has non-contact, fast reading speed, no wear, no environmental impact, long life, easy to use, and anti-collision function. Can handle multiple cards at the same time. In this embodiment, when the lock detects a pre-authorized RF card, the unlock signal of the proximity card unlocking unit is set to an active state, and the lock can be controlled to open the door.
指纹开锁单元是以手指取代传统的钥匙,使用时只需将手指平放在指纹采集仪的采集窗口上,即可完成开锁任务,操作十分简便,避免了其它门禁系统(传统机械锁、密码锁、识别卡等)有可能被伪造、盗用、遗忘、破译等弊端。在实施例中,在所述锁具将指纹开锁单元的开锁信号设置为有效状态时,且预先授权的指纹信息与当前指纹采集仪的采集窗口采集到的指纹信息一致时,可 以控制该锁具进行开门。The fingerprint unlocking unit replaces the traditional key with a finger. When you use it, you only need to put your finger on the collection window of the fingerprint collector to complete the unlocking task. The operation is very simple and avoids other access control systems (traditional mechanical lock, password lock) , identification cards, etc.) may be falsified, stolen, forgotten, deciphered and other drawbacks. In an embodiment, when the lock device sets the unlocking signal of the fingerprint unlocking unit to an active state, and the pre-authorized fingerprint information is consistent with the fingerprint information collected by the current fingerprint collecting device, the fingerprint information may be To control the lock to open the door.
密码开锁单元是通过预记录的数字密码组合存储在所述锁具中,当用户通过数字键盘进行数字密码的输入后,若输入的数字密码与预记录的数字密码组合一致时,且所述锁具的密码开锁单元的开锁信号设置为有效状态,则可以控制该锁具进行开门。The password unlocking unit is stored in the lock by a pre-recorded digital password combination. When the user inputs the digital password through the numeric keypad, if the input digital password is combined with the pre-recorded digital password, and the lock is When the unlock signal of the password unlocking unit is set to the active state, the lock can be controlled to open the door.
无线控制开锁单元中可以包括但不限于蓝牙和ZigBee等。ZigBee是一种新兴的短距离无线通信技术,用于传感控制应用(Sensor and Control)。在所述锁具接收到蓝牙和ZigBee等发出的无线控制信号时,将无线控制开锁单元的开锁信号设置为有效状态,可以控制该锁具进行开门。The wireless control unlocking unit may include, but is not limited to, Bluetooth and ZigBee. ZigBee is an emerging short-range wireless communication technology for Sensor and Control applications. When the lock receives the wireless control signal sent by the Bluetooth and the ZigBee, the unlocking signal of the wireless control unlocking unit is set to an active state, and the lock can be controlled to open the door.
可选的,感应卡开锁单元、指纹开锁单元、密码开锁单元和无线控制开锁单元,上述锁具的多种开锁单元相对独立,任一种开锁单元的使用或故障或损坏不会影响其他开锁单元的正常使用,另外在上述锁具上除本实施例提到的几种开锁单元,还可以根据用户需要添置其他的开锁单元。用户还可以通过云端服务器选择自己所需要的开锁方式安装到所述锁具上,开锁功能方式存储在云端服务系统供用户自己选择。Optionally, the induction card unlocking unit, the fingerprint unlocking unit, the password unlocking unit and the wireless control unlocking unit, the plurality of unlocking units of the locking device are relatively independent, and the use or failure or damage of any one of the unlocking units does not affect other unlocking units. In normal use, in addition to the several unlocking units mentioned in the embodiment, the above-mentioned locks can also be provided with other unlocking units according to the needs of the user. The user can also install the lock on the cloud server by selecting the unlocking method that is needed by the cloud server, and the unlocking function is stored in the cloud service system for the user to select.
可选的,本提供的锁具适用但不限于以下几种情况,本实施例对此不做限制。Optionally, the lock provided by the present invention is applicable to, but not limited to, the following situations, and the embodiment does not limit this.
在只有用户自己一人使用时,用户可以任意选择其中一种开锁单元的开锁方式,以指纹开锁单元为例,锁具的基本开锁方式为指纹开锁,用户只需要按照预先授权的指纹模板,将指纹模板存放在云端服务器上,用户的指纹即可被识别并使用于打开所述锁具。When only the user himself is used by one person, the user can arbitrarily select the unlocking mode of one of the unlocking units. Taking the fingerprint unlocking unit as an example, the basic unlocking mode of the locking device is the fingerprint unlocking, and the user only needs to follow the pre-authorized fingerprint template to the fingerprint template. Stored on the cloud server, the user's fingerprint can be identified and used to open the lock.
假如用户的父母或是其他亲戚朋友过来一起住,但其的指纹不可使用,可以让他们使用锁具的其他开锁方式进行开锁。以RF卡为例,用户通过控制终端从云端服务器下载感应卡开锁单元,经认证(智能锁具和云端服务器通过相关算法认证)通过后,将感应卡开锁单元功能存至智能锁具,再按照说明设置RF卡,RF卡的授权信息同时被存放在云端服务器上,此时用户的指纹和RF卡都可使用。当再次只有用户自己使用所述智能锁具时,可以通过控制终端删除已下载的感应卡开锁单元。If the user's parents or other relatives and friends come together to live, but their fingerprints are not available, they can use the other unlocking methods of the lock to unlock. Taking the RF card as an example, the user downloads the proximity card unlocking unit from the cloud server through the control terminal, and after passing the authentication (the smart lock and the cloud server are authenticated by the relevant algorithm), the function of the sensing card unlocking unit is saved to the smart lock, and then according to the instructions. The RF card and the authorization information of the RF card are simultaneously stored on the cloud server, and the user's fingerprint and RF card can be used at this time. When the user only uses the smart lock by himself, the downloaded proximity card unlocking unit can be deleted through the control terminal.
在用户长期外出的情况下,可以将所述锁具设置的多种开锁单元的开锁信号全部设置为无效的工作模式,待用户返回时再次通过控制终端对锁具进行授 权,进而可以再次根据控制终端发送的控制开锁单元的启停状态的开锁模式启停指令获取待启用的开锁单元和待禁用的开锁单元中的至少一个,再将所述开锁单元的开锁信号对应设置为有效状态或无效状态。也可以通过控制终端从云端服务器中将所有开锁单元删除,经认证(智能锁具和云端服务器通过相关算法认证)通过后,智能锁具的所有开锁方式全部取消。待在用户返回时再次通过控制终端从云端服务器中将需要的开锁单元重新下载在所述智能锁具,之后使用下载的开锁单元对智能锁具进行开锁。In the case that the user is out for a long time, the unlocking signals of the various unlocking units provided by the lock may be all set to an invalid working mode, and the lock is again taught by the control terminal when the user returns. And, according to the unlocking mode start/stop command of the start/stop state of the control unlocking unit sent by the control terminal, acquiring at least one of the unlocking unit to be activated and the unlocking unit to be disabled, and correspondingly unlocking the unlocking unit Set to a valid or invalid state. All unlocking units can also be deleted from the cloud server through the control terminal, and all the unlocking methods of the smart locks are cancelled after being authenticated (the smart lock and the cloud server are authenticated by the relevant algorithm). When the user returns, the required unlocking unit is re-downloaded from the cloud server through the control terminal to the smart lock, and then the smart unlocking device is unlocked by using the downloaded unlocking unit.
本实施例通过确认从控制终端接收到正确的授权密钥,接收开锁模式启停指令获取待启用的开锁单元和待禁用的开锁单元中的至少一个,将所述开锁单元的开锁信号对应设置为有效状态或无效状态,接收开锁单元发送的开锁信号,若所述开锁信号处于有效状态,控制锁具开锁,以实现根据用户不同时间的不同需求,实现锁具的不同开锁方式,满足用户个性化的锁具控制方式,同时降低用户对锁具的维护成本又提升用户体验。In this embodiment, by confirming that the correct authorization key is received from the control terminal, receiving the unlock mode start/stop command, acquiring at least one of the unlocking unit to be enabled and the unlocking unit to be disabled, and setting the unlocking signal of the unlocking unit correspondingly to The active state or the invalid state receives the unlocking signal sent by the unlocking unit. If the unlocking signal is in the active state, the control lock is unlocked, so as to realize different unlocking modes of the locking device according to different requirements of the user at different times, and satisfy the personalized locking device of the user. Control mode, while reducing the user's maintenance costs for the lock and improving the user experience.
图3为本实施例提供的一种锁具的控制装置的结构图,本实施例可适配置为对锁具进行控制的情况。FIG. 3 is a structural diagram of a control device for a lock according to an embodiment of the present invention. The embodiment can be configured to control a lock.
如图3所示,所述控制装置包括:指令接收模块310、开锁单元获取模块320和状态设置模块330,其中:As shown in FIG. 3, the control device includes: an instruction receiving module 310, an unlocking unit acquiring module 320, and a state setting module 330, wherein:
指令接收模块310配置为接收控制终端发送的用于控制开锁单元的启停状态的开锁模式启停指令。The instruction receiving module 310 is configured to receive an unlock mode start/stop command sent by the control terminal for controlling the start/stop state of the unlocking unit.
开锁单元获取模块320配置为从所述开锁模式启停指令获取待启用的开锁单元和待禁用的开锁单元中的至少一个。The unlocking unit acquisition module 320 is configured to acquire at least one of an unlocking unit to be activated and an unlocking unit to be disabled from the unlocking mode start and stop command.
状态设置模块330配置为将获取的所述开锁单元的开锁信号对应设置为有效状态或无效状态。The state setting module 330 is configured to correspondingly set the acquired unlocking signal of the unlocking unit to an active state or an invalid state.
本实施例提供的一种锁具的控制装置,通过接收开锁模式启停指令获取待启用的开锁单元和待禁用的开锁单元中的至少一个,将所述开锁单元的开锁信号对应设置为有效状态或无效状态,以实现根据用户不同时间不同需求,实现锁具的不同开锁方式,满足用户个性化的锁具控制方式,同时降低用户对锁具的维护成本又提升用户体验。The control device for the lock device of the present embodiment obtains at least one of the unlocking unit to be activated and the unlocking unit to be disabled by receiving the unlocking mode start and stop command, and correspondingly setting the unlocking signal of the unlocking unit to an effective state or Invalid state, in order to realize different unlocking modes of the lock according to different needs of users at different times, to meet the user's personalized lock control mode, and at the same time reduce the user's maintenance cost of the lock and improve the user experience.
在上述各实施例的基础上,所述控制装置还包括:Based on the foregoing embodiments, the control device further includes:
开锁控制模块340,配置为接收开锁单元发送的开锁信号,若所述开锁信 号处于有效状态,控制锁具开锁。The unlocking control module 340 is configured to receive an unlocking signal sent by the unlocking unit, if the unlocking letter is The number is in the active state and the control lock is unlocked.
在上述各实施例的基础上,所述控制装置还包括:Based on the foregoing embodiments, the control device further includes:
授权密钥接收模块350,配置为确认从控制终端接收到正确的授权密钥。The authorization key receiving module 350 is configured to confirm receipt of the correct authorization key from the control terminal.
在上述各实施例的基础上,所述开锁单元包括感应卡开锁单元、指纹开锁单元、密码开锁单元和无线控制开锁单元中的一种或多种组合。Based on the foregoing embodiments, the unlocking unit includes one or more combinations of a proximity card unlocking unit, a fingerprint unlocking unit, a password unlocking unit, and a wireless control unlocking unit.
上述各实施例所提供的锁具的控制装置可执行本公开任意实施例所提供的锁具的控制方法,具备执行锁具的控制方法相应的功能模块和有益效果。The control device for the lock provided by the above embodiments can perform the control method of the lock provided by any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the control method for executing the lock.
如图4所示,为本实施例提供的一种锁具的硬件结构示意图,如图4所示,该锁具包括:As shown in FIG. 4, a hardware structure diagram of a lock provided in this embodiment is shown in FIG. 4, and the lock includes:
一个或多个处理器410,图4中以一个处理器410为例;One or more processors 410, one processor 410 is taken as an example in FIG. 4;
存储器420; Memory 420;
所述锁具还可以包括:输入装置430和输出装置440。The lock may further include an input device 430 and an output device 440.
所述锁具中的处理器410、存储器420、输入装置430和输出装置440可以通过总线或者其他方式连接,图4中以通过总线连接为例。The processor 410, the memory 420, the input device 430, and the output device 440 in the lock may be connected by a bus or other means, and the bus connection is taken as an example in FIG.
存储器420作为一种非暂态计算机可读存储介质,可配置为存储软件程序、计算机可执行程序以及模块,如本实施例中的一种锁具的控制方法对应的程序指令/模块(例如,附图3所示的指令接收模块310、开锁单元获取模块320和状态设置模块330)。处理器410通过运行存储在存储器420中的软件程序、指令以及模块,从而执行锁具的各种功能应用以及数据处理,即实现上述方法实施例的一种锁具的控制方法。The memory 420 is a non-transitory computer readable storage medium, and is configurable to store a software program, a computer executable program, and a module, such as a program instruction/module corresponding to a control method of the lock in the embodiment (for example, The instruction receiving module 310, the unlocking unit acquisition module 320, and the state setting module 330) shown in FIG. The processor 410 executes various functional applications and data processing of the lock by executing software programs, instructions, and modules stored in the memory 420, that is, a control method of the lock of the above method embodiment.
存储器420可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据设备使用所创建的数据等。此外,存储器420可以包括高速随机存取存储器,还可以包括非暂态性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态性固态存储器件。在一些实施例中,存储器420可选包括相对于处理器410远程设置的存储器,这些远程存储器可以通过网络连接至终端设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 420 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to device usage, and the like. Moreover, memory 420 can include high speed random access memory, and can also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 420 can optionally include memory remotely located relative to processor 410, which can be connected to the terminal device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置430可配置为接收输入的数字或字符信息,以及产生与锁具的用户设置以及功能控制有关的键信号输入。输出装置440可包括但不限于LED指示灯、蜂鸣器、扬声器、显示屏等设备。 Input device 430 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the lock. Output device 440 can include, but is not limited to, LED indicators, buzzers, speakers, display screens, and the like.
本实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时配置为执行一种锁具的控制方法,该方法包括:The embodiment further provides a storage medium comprising computer executable instructions, which when executed by a computer processor, are configured to perform a control method of a lock, the method comprising:
接收控制终端发送的用于控制开锁单元的启停状态的开锁模式启停指令;Receiving an unlock mode start/stop command sent by the control terminal for controlling a start/stop state of the unlocking unit;
从所述开锁模式启停指令获取待启用的开锁单元和待禁用的开锁单元中的至少一个;Obtaining at least one of an unlocking unit to be activated and an unlocking unit to be disabled from the unlocking mode start and stop command;
将获取的所述开锁单元的开锁信号对应设置为有效状态或无效状态。Correspondingly, the obtained unlocking signal of the unlocking unit is set to an active state or an invalid state.
可选的,所述控制方法还包括:Optionally, the control method further includes:
接收开锁单元发送的开锁信号,若所述开锁信号处于有效状态,控制锁具开锁。Receiving the unlock signal sent by the unlocking unit, if the unlocking signal is in an active state, the control lock is unlocked.
可选的,所述接收控制终端发送的用于控制开锁单元的启停状态的开锁启停指令之前,所述控制方法还包括:Optionally, before the receiving control terminal sends an unlocking start and stop command for controlling a start/stop state of the unlocking unit, the control method further includes:
确认从控制终端接收到正确的授权密钥。Confirm that the correct authorization key was received from the control terminal.
可选的,该计算机可执行指令在由计算机处理器执行时还可以配置为执行本公开任意实施例所提供的一种锁具的控制方法的技术方案。Optionally, the computer executable instructions, when executed by the computer processor, may also be configured to perform the technical solution of the control method of the lock provided by any embodiment of the present disclosure.
通过以上关于实施方式的描述,所属领域的技术人员可以清楚地了解到,本公开可借助软件及必需的通用硬件来实现,当然也可以通过硬件实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the present disclosure can be implemented by software and necessary general hardware, and of course can also be implemented by hardware, but in many cases, the former is a better implementation. . Based on such understanding, portions of the technical solution of the present disclosure that contribute substantially or to the prior art may be embodied in the form of a software product that may be stored in a computer readable storage medium, such as a floppy disk of a computer. , Read-Only Memory (ROM), Random Access Memory (RAM), Flash (FLASH), hard disk or optical disk, etc., including a number of instructions to make a computer device (can be a personal computer) The server, or network device, etc.) performs the methods described in various embodiments of the present disclosure.
工业实用性Industrial applicability
本公开提供的锁具的控制方法,通过接收开锁模式启停指令获取待启用的开锁单元和待禁用的开锁单元中的至少一个,将开锁单元的开锁信号对应设置为有效状态或无效状态,以实现根据用户不同时间不同需求,实现锁具的不同开锁方式,满足用户个性化的锁具控制方式,同时降低用户对锁具的维护成本又提升用户体验。 The control method of the lock provided by the present disclosure acquires at least one of an unlocking unit to be activated and an unlocking unit to be disabled by receiving an unlocking mode start/stop command, and correspondingly setting an unlocking signal of the unlocking unit to an effective state or an invalid state, thereby realizing According to the different needs of users at different times, the different unlocking modes of the locks are realized, which satisfies the user's personalized lock control mode, and at the same time reduces the maintenance cost of the locks and improves the user experience.

Claims (10)

  1. 一种锁具的控制方法,包括:A method for controlling a lock, comprising:
    接收控制终端发送的用于控制开锁单元的启停状态的开锁模式启停指令;Receiving an unlock mode start/stop command sent by the control terminal for controlling a start/stop state of the unlocking unit;
    从所述开锁模式启停指令获取待启用的开锁单元和待禁用的开锁单元中的至少一个;Obtaining at least one of an unlocking unit to be activated and an unlocking unit to be disabled from the unlocking mode start and stop command;
    将获取的所述开锁单元的开锁信号对应设置为有效状态或无效状态。Correspondingly, the obtained unlocking signal of the unlocking unit is set to an active state or an invalid state.
  2. 根据权利要求1所述的控制方法,还包括:The control method according to claim 1, further comprising:
    接收开锁单元发送的开锁信号,若所述开锁信号处于有效状态,控制锁具开锁。Receiving the unlock signal sent by the unlocking unit, if the unlocking signal is in an active state, the control lock is unlocked.
  3. 根据权利要求1所述的控制方法,其中,所述接收控制终端发送的用于控制开锁单元的启停状态的开锁启停指令之前,所述控制方法还包括:The control method according to claim 1, wherein the control method further comprises: before the unlocking start and stop command sent by the control terminal for controlling the start/stop state of the unlocking unit, the control method further comprises:
    确认从控制终端接收到正确的授权密钥。Confirm that the correct authorization key was received from the control terminal.
  4. 根据权利要求1所述的控制方法,其中,所述开锁单元包括感应卡开锁单元、指纹开锁单元、密码开锁单元和无线控制开锁单元中的一种或多种组合。The control method according to claim 1, wherein the unlocking unit comprises one or a combination of a proximity card unlocking unit, a fingerprint unlocking unit, a password unlocking unit, and a wireless control unlocking unit.
  5. 一种锁具的控制装置,包括:A control device for a lock, comprising:
    指令接收模块,配置为接收控制终端发送的用于控制开锁单元的启停状态的开锁模式启停指令;The instruction receiving module is configured to receive an unlock mode start/stop command sent by the control terminal for controlling a start/stop state of the unlocking unit;
    开锁单元获取模块,配置为从所述开锁模式启停指令获取待启用的开锁单元和待禁用的开锁单元中的至少一个;An unlocking unit acquiring module configured to acquire at least one of an unlocking unit to be activated and an unlocking unit to be disabled from the unlocking mode start and stop command;
    状态设置模块,配置为将获取的所述开锁单元的开锁信号对应设置为有效状态或无效状态。The state setting module is configured to set the acquired unlocking signal of the unlocking unit to be in an active state or an invalid state.
  6. 根据权利要求5所述的控制装置,所述控制装置还包括:The control device according to claim 5, the control device further comprising:
    开锁控制模块,配置为接收开锁单元发送的开锁信号,若所述开锁信号处于有效状态,控制锁具开锁。The unlocking control module is configured to receive an unlocking signal sent by the unlocking unit, and if the unlocking signal is in an active state, the control lock is unlocked.
  7. 根据权利要求5所述的控制装置,所述控制装置还包括:The control device according to claim 5, the control device further comprising:
    授权密钥接收模块,配置为确认从控制终端接收到正确的授权密钥。The authorization key receiving module is configured to confirm that the correct authorization key is received from the control terminal.
  8. 根据权利要求5所述的控制装置,其中,所述开锁单元包括感应卡开锁单元、指纹开锁单元、密码开锁单元和无线控制开锁单元中的一种或多种组合。The control device according to claim 5, wherein the unlocking unit comprises one or more combinations of a proximity card unlocking unit, a fingerprint unlocking unit, a password unlocking unit, and a wireless control unlocking unit.
  9. 一种锁具,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如权利要求1-4中任一项所述的锁具的控制方法。 A lock comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor executing the program to implement the lock of any of claims 1-4 Control Method.
  10. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如权利要求1-4中任一项所述的锁具的控制方法。 A computer readable storage medium having stored thereon a computer program, the program being executed by a processor to implement the control method of the lock of any one of claims 1-4.
PCT/CN2017/114402 2017-12-04 2017-12-04 Lock control method and device, lock, and storage medium WO2019109202A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/114402 WO2019109202A1 (en) 2017-12-04 2017-12-04 Lock control method and device, lock, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/114402 WO2019109202A1 (en) 2017-12-04 2017-12-04 Lock control method and device, lock, and storage medium

Publications (1)

Publication Number Publication Date
WO2019109202A1 true WO2019109202A1 (en) 2019-06-13

Family

ID=66750691

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/114402 WO2019109202A1 (en) 2017-12-04 2017-12-04 Lock control method and device, lock, and storage medium

Country Status (1)

Country Link
WO (1) WO2019109202A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0973118A2 (en) * 1998-07-07 2000-01-19 Lsi Card Corporation Fingerprint checking system, fingerprint checking method and memory card used for the same
JP2006144351A (en) * 2004-11-18 2006-06-08 Seiko Epson Corp Authentication system, authentication method, security system and portable device
CN104050739A (en) * 2014-06-18 2014-09-17 北京瑞福临科技有限公司 Double-face fingerprint coded lock and control method thereof
CN106013993A (en) * 2016-07-22 2016-10-12 四川宏图四方智能科技有限公司 Intelligent fingerprint combination lock
CN107067526A (en) * 2017-06-27 2017-08-18 郑廷相 A kind of smart lock control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0973118A2 (en) * 1998-07-07 2000-01-19 Lsi Card Corporation Fingerprint checking system, fingerprint checking method and memory card used for the same
JP2006144351A (en) * 2004-11-18 2006-06-08 Seiko Epson Corp Authentication system, authentication method, security system and portable device
CN104050739A (en) * 2014-06-18 2014-09-17 北京瑞福临科技有限公司 Double-face fingerprint coded lock and control method thereof
CN106013993A (en) * 2016-07-22 2016-10-12 四川宏图四方智能科技有限公司 Intelligent fingerprint combination lock
CN107067526A (en) * 2017-06-27 2017-08-18 郑廷相 A kind of smart lock control system

Similar Documents

Publication Publication Date Title
AU2017276840B2 (en) Padlock device, systems including a padlock device, and methods of operating therefor
US10643414B2 (en) Electronic key device utilizing user input to facilitate access by authorized persons
US10755507B2 (en) Systems and methods for multifactor physical authentication
US9183683B2 (en) Method and system for access to secure resources
CN103310510B (en) Start-up system and start-up method based on dynamic human body characteristic recognition
EP2492878A1 (en) Methods and apparatus to control access
CN104851164B (en) Intelligent lock with biological feature recognition function and control method thereof
WO2014126987A1 (en) Authentication to a first device using a second device
WO2015014128A1 (en) Authentication method for wearable device, and wearable device
CN104134253A (en) Entrance guard system and entrance guard opening method
EP3437020B1 (en) Secure storage of fingerprint related elements
US11632252B2 (en) Two-factor authentication system
US9646434B2 (en) Method and system for controlling access to a restricted location
CN105184135A (en) Fingerprint recognition method and fingerprint recognition system
JP2018010449A (en) Smart lock authentication system and method in smart lock
JP7274613B2 (en) Physical access control system and method
JP2009151568A (en) Security management system, security management method, information processing terminal device and authentication device
CN105243718A (en) Control method and system for access control
JP2023500019A (en) mobile digital lock technology
CN104462929A (en) Privacy protection method and device for mobile equipment
WO2019109202A1 (en) Lock control method and device, lock, and storage medium
US10354463B2 (en) Systems and methods for secure authentication for access control, home control, and alarm systems
Abdullah Design secured smart door lock based on jaro winkler algorithm
JP2021188401A (en) Information processing device, information processing method, program, and mobile terminal
CN109145561B (en) Authentication method of computer, apparatus thereof and storage medium

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: 17934344

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: 17934344

Country of ref document: EP

Kind code of ref document: A1