WO2022156254A1 - Intelligent unlocking method and system, server, and storage medium - Google Patents

Intelligent unlocking method and system, server, and storage medium Download PDF

Info

Publication number
WO2022156254A1
WO2022156254A1 PCT/CN2021/119619 CN2021119619W WO2022156254A1 WO 2022156254 A1 WO2022156254 A1 WO 2022156254A1 CN 2021119619 W CN2021119619 W CN 2021119619W WO 2022156254 A1 WO2022156254 A1 WO 2022156254A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
information
fingerprint information
unlocking
smart lock
Prior art date
Application number
PCT/CN2021/119619
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 WO2022156254A1 publication Critical patent/WO2022156254A1/en

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/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

  • Embodiments of the present invention relate to the field of smart homes, and in particular, to an intelligent unlocking method, system, server and storage medium.
  • fingerprint recognition is easy to leave fingerprints on the lock, which is easy to cause personal information to be leaked and stolen, and there is a certain risk in security.
  • Using a key to unlock may forget to bring the key, making it inconvenient for the user to unlock.
  • the present invention provides an intelligent unlocking method, system, server and storage medium.
  • the user inputs fingerprint information into a mobile terminal, and the mobile terminal communicates with the intelligent lock wirelessly to unlock, thereby improving the security and convenience of unlocking.
  • the present invention provides an intelligent unlocking method, comprising:
  • the user ID and fingerprint information are sent to the smart lock, so that the smart lock judges whether the fingerprint information and the user ID match based on a preset database, if they match, then unlock and generate unlock prompt information, if they do not match, Then the lock will not be unlocked and the unlock failure message will be generated;
  • the unlocking instruction further includes voiceprint information, and after obtaining the unlocking instruction of the user, it further includes:
  • the voiceprint information is an unlocking command
  • the user ID and the fingerprint information are sent to the smart lock.
  • the sending of the user ID and the fingerprint information to the smart lock includes:
  • the encrypted information is sent to the smart lock, so that the smart lock decrypts the encrypted information and obtains the decrypted user ID and the fingerprint information.
  • the sending of the user ID and the fingerprint information to the smart lock also includes:
  • the user ID and the fingerprint information are sent to the smart lock through Bluetooth wireless transmission.
  • the fingerprint information of one or more users and the user ID order corresponding to the fingerprint information it also includes:
  • the present invention provides an intelligent unlocking system, including:
  • the first obtaining module is used to obtain the unlocking instruction of the user, and the unlocking instruction to which it belongs includes the user ID and fingerprint information;
  • the first sending module is used to send the user ID and fingerprint information to the smart lock, so that the smart lock judges whether the fingerprint information and the user ID match based on a preset database, and if they match, unlock and generate an unlock Prompt information, if it does not match, the lock will not be unlocked and the unlock failure message will be generated;
  • the second obtaining module is used to obtain the unlocking prompt information or unlocking failure information of the smart lock and send it to the user.
  • the system further includes:
  • a second sending module configured to send the voiceprint information to a preset voiceprint recognition model, so that the voiceprint recognition model determines whether the voiceprint information is an unlocking command, and generates a judgment result;
  • a second obtaining module configured to obtain the judgment result from the voiceprint recognition model
  • a third sending module configured to send the user ID and the fingerprint information to the smart lock if the judgment result is that the voiceprint information is an unlocking command.
  • the present invention provides a server, including a memory, a processor, and a program stored in the memory and running on the processor, the processor implementing the intelligent unlocking according to any one of the above when the processor executes the program method.
  • the present invention provides a terminal-readable storage medium on which a program is stored, characterized in that, when the program is executed by a processor, any one of the above-mentioned intelligent unlocking methods can be implemented.
  • the user inputs the fingerprint information into the mobile terminal, and the mobile terminal communicates wirelessly with the smart lock to unlock, thereby preventing the user from leaking the fingerprint information by using the smart lock to open the door, and improving the security and convenience of unlocking.
  • FIG. 1 is a flowchart of the intelligent unlocking method according to the first embodiment of the present invention.
  • FIG. 2 is a flowchart of an alternative embodiment of the first embodiment.
  • FIG. 3 is a flowchart of an alternative embodiment of the first embodiment.
  • FIG. 4 is a flowchart of the intelligent unlocking method of the second embodiment of the present invention.
  • FIG. 5 is a flowchart of the intelligent unlocking method of the third embodiment.
  • FIG. 6 is a block diagram of the intelligent unlocking system of the fourth embodiment.
  • FIG. 7 is a block diagram of an alternative embodiment of the fourth embodiment.
  • FIG. 8 shows the server structure diagram of the fifth embodiment.
  • first, second, etc. may be used herein to describe various directions, acts, steps or elements, etc., but are not limited by these terms. These terms are only used to distinguish a first direction, act, step or element from another direction, act, step or element.
  • the first feature information may be the second feature information or the third feature information, and similarly, the second feature information and the third feature information may be the first feature information.
  • the first characteristic information, the second characteristic information, and the third characteristic information are all characteristic information of the intelligent unlocking system, but they are not the same characteristic information.
  • the terms “first”, “second” and the like should not be understood as indicating or implying relative importance or implying the number of technical features indicated.
  • a feature defined as “first” or “second” may expressly or implicitly include one or more of that feature.
  • “plurality” and “batch” mean at least two, such as two, three, etc., unless otherwise expressly and specifically defined.
  • This embodiment provides an intelligent unlocking method, which is executed by a mobile terminal.
  • a user inputs a fingerprint through a mobile phone, and the mobile phone sends the fingerprint information and the user ID to the smart lock to realize unlocking, as shown in FIG. 1 , including:
  • the database may be a fingerprint identification model, a user ID-fingerprint information comparison table, or the like.
  • the connection process between the mobile phone and the smart lock adopts the close-contact unlocking technology to realize the proximity sensing between the mobile phone and the door lock.
  • both the mobile phone and the smart lock have Bluetooth devices.
  • the mobile APP will automatically scan the Bluetooth device on the lock and match it. After the matching is successful, the mobile APP will broadcast the user ID and fingerprint information to the smart lock. The lock, the smart lock will automatically unlock after passing the verification.
  • the lock end of the smart lock pre-stores the user ID and the corresponding fingerprint information, and judges whether the user ID and the fingerprint information match through identification. , the user can get the information to open the door.
  • the user inputs his fingerprint through the touch screen of the mobile phone, the mobile phone APP obtains the fingerprint, and the mobile phone pre-stores a user ID corresponding to the user's fingerprint, and the user ID refers to the ID of one or more owners of the house .
  • a user ID may correspond to one or more fingerprint information (for example, fingerprint information of ten fingers of a user).
  • step S150 before using the smart lock for the first time, the user needs to log in as an administrator on the unlocking APP on the mobile terminal and connect via Bluetooth. After step S150, it also includes:
  • the user logs in to the unlocking APP as an administrator, inputs the fingerprint information from the mobile phone, and manually sets the user ID.
  • the user ID can also be automatically generated by the mobile phone without manual setting.
  • the mobile phone terminal sends the set user ID and fingerprint information to the lock terminal of the smart lock for storage, and can also initialize the settings for other users at home. So far, the use of the smart lock has been initialized.
  • the user can send an unlocking command to the mobile phone every time he goes home a few meters before the door lock.
  • the fingerprint information is transmitted to the lock end through encryption, and the built-in control system of the lock end will verify it after receiving the authentication information. After the verification is passed, the lock will be automatically unlocked, and the unlock result will be returned to the user's mobile phone unlocking APP.
  • the user inputs the fingerprint information into the mobile terminal, and the method can realize the automatic safety unlocking function without contact, which reduces the trouble that the user needs to carry the key with him or needs to collect the fingerprint every time for unlocking, and at the same time, the safety of unlocking is ensured.
  • the close connection between the mobile phone and the smart lock the proximity sensing between the mobile phone and the door lock is realized, which improves the convenience and safety of unlocking.
  • the turn-on and control of Bluetooth through voiceprint recognition is added. As shown in Figure 4, it includes the following steps:
  • the user Before this step, the user has performed initial settings on the mobile phone APP in advance, for example, inputting a variety of door-opening commands as a training set to train and generate a voiceprint recognition model. After identifying the correct unlocking command, the mobile phone will connect and match with the nearby lock.
  • Bluetooth, wireless network, etc. can be used to connect with the lock end. For example, when it is recognized that the command can be turned on, the mobile phone automatically turns on the Bluetooth scanning function, which can avoid the waste of battery power of the mobile phone caused by waiting for the Bluetooth of the mobile phone to be turned on all the time.
  • the sending to the smart lock may be sending the user ID and the fingerprint information to the smart lock through Bluetooth wireless transmission.
  • This embodiment realizes the voice control of the unlocking process of the smart lock through voiceprint recognition, and also communicates with the lock terminal through wireless communication such as Bluetooth, which makes unlocking more convenient.
  • this embodiment adds a step of encrypting the transmission information on the basis of the above-mentioned embodiment, so as to encrypt the biometric information of the user to avoid privacy leakage.
  • the mobile APP After the pairing is successful, the mobile APP will encrypt the user id and fingerprint information to the lock terminal by means of Bluetooth broadcast.
  • the lock end decrypts the received unlock authentication information. After decryption, the lock end will perform fingerprint identification and user information verification through the fingerprint identification model. After the verification is passed, it will automatically unlock and return the unlock success message to the user's mobile phone APP. If the verification fails, a reminder of unlocking error will be returned.
  • the method can effectively improve the convenience and safety of unlocking by adopting the intelligent unlocking method based on the close connection technology.
  • the present embodiment provides an intelligent unlocking system 4, including the following modules:
  • the first obtaining module 401 is used to obtain the unlocking instruction of the user, and the belonging unlocking instruction includes the user ID and fingerprint information;
  • the first sending module 402 is used to send the user ID and fingerprint information to the smart lock, so that the smart lock judges whether the fingerprint information and the user ID match based on a preset database, and if they match, unlock and generate The unlock prompt information, if it does not match, the lock will not be unlocked and the unlock failure message will be generated.
  • the module is also used to: encrypt the user ID and the fingerprint information to generate encrypted information; send the encrypted information to the smart lock, so that the smart lock decrypts the encrypted information and obtains decryption After the user ID and the fingerprint information. It is also used for: sending the user ID and the fingerprint information to the smart lock through Bluetooth wireless transmission.
  • the second obtaining module 403 is configured to obtain the unlocking prompt information or unlocking failure information of the smart lock and send it to the user.
  • the second sending module 404 is configured to send the voiceprint information to a preset voiceprint recognition model, so that the voiceprint recognition model judges whether the voiceprint information is an unlocking command, and generates a judgment result;
  • the third obtaining module 405 is configured to obtain the judgment result from the voiceprint recognition model
  • the third sending module 406 is configured to send the user ID and the fingerprint information to the smart lock if the judgment result is that the voiceprint information is an unlocking command.
  • it also includes:
  • the fourth acquisition module 407 is used to acquire the fingerprint information of one or more users and the user ID corresponding to the fingerprint information;
  • the fourth sending module 408 is configured to send the fingerprint information and the user ID corresponding to the fingerprint information to the smart lock, so that the smart lock stores the fingerprint information and the user ID corresponding to the fingerprint information in the database.
  • an authority judgment module 409 configured to: judge whether the user ID is a preset administrator ID; if so, send the fingerprint information and the user ID corresponding to the fingerprint information to Smart lock; if not, send the user no permission prompt message.
  • An intelligent unlocking system provided by the embodiment of the present invention can execute the intelligent unlocking method provided by any embodiment of the present invention, and has corresponding execution methods and beneficial effects of functional modules.
  • the server includes a processor 501, a memory 502, an input system 503, and an output system 504; the number of processors 501 in the server may be one or more,
  • the figure takes a processor 501 as an example; the processor 501, memory 502, input system 503 and output system 504 in the device/terminal/server can be linked by a bus or other means.
  • the memory 502 can be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the intelligent unlocking method in the embodiment of the present invention.
  • the processor 501 executes various functional applications and data processing of the device/terminal/server by running the software programs, instructions and modules stored in the memory 502, that is, to implement the above-mentioned intelligent unlocking method.
  • the memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Additionally, memory 502 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, memory 502 may further include memory located remotely relative to processor 501, and these remote memories may be linked to a device/terminal/server through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the input system 503 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the device/terminal/server.
  • the output system 504 may include a display device such as a display screen.
  • the fifth embodiment of the present invention provides a server that can execute the intelligent unlocking method provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
  • Embodiment 6 of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, implements the intelligent unlocking method provided by any embodiment of the present invention:
  • the user ID and fingerprint information are sent to the smart lock, so that the smart lock judges whether the fingerprint information and the user ID match based on a preset database, if they match, then unlock and generate unlock prompt information, if they do not match, Then the lock will not be unlocked and the unlock failure message will be generated;
  • the computer-readable storage medium of the embodiments of the present invention may adopt any combination of one or more computer-readable mediums.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, system or device, or a combination of any of the above.
  • a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system, or device.
  • a computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium can also be any computer-readable medium, other than a computer-readable storage medium, that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, system, or device .
  • Program code embodied on a storage medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • Computer program code for carrying out operations of the present invention may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, but also conventional procedural languages, or a combination thereof.
  • a programming language such as the "C" language or similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or terminal.
  • the remote computer may be linked to the user's computer through any kind of network, including a local area network (LAN) or wide area network (WAN), or may be linked to an external computer (eg, using an Internet service provider through Internet link).
  • LAN local area network
  • WAN wide area network

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)
  • Lock And Its Accessories (AREA)

Abstract

An intelligent unlocking method executed by a mobile terminal, comprising: acquiring an unlocking instruction of a user, wherein the unlocking instruction comprises a user ID and fingerprint information; sending the user ID and the fingerprint information to an intelligent lock, so that the intelligent lock determines, on the basis of a preset database, whether the fingerprint information matches the user ID, if yes, performing unlocking and generating unlocking prompt information, and if not, not performing unlocking and generating unlocking failure information; and acquiring the unlocking prompt information or unlocking failure information of the intelligent lock and sending same to the user.

Description

智能开锁方法、***、服务器和存储介质Intelligent unlocking method, system, server and storage medium 技术领域technical field
本发明实施例涉及智能家居领域,尤其涉及一种智能开锁方法、***、服务器和存储介质。Embodiments of the present invention relate to the field of smart homes, and in particular, to an intelligent unlocking method, system, server and storage medium.
背景技术Background technique
随着互联网技术的发展,智能家居大大的改变了人们的生活方式,其中智能锁逐步取代传统机械锁便是一个很好的例子。在智能锁的技术发展上,指纹识别得到了广泛的应用。With the development of Internet technology, smart home has greatly changed people's way of life, of which smart locks are gradually replacing traditional mechanical locks is a good example. In the technological development of smart locks, fingerprint recognition has been widely used.
但指纹识别容易在锁具上留下指纹,容易造成个人信息泄露和被窃取,在安全存在一定的风险。使用钥匙开锁又可能忘记带钥匙,使用户开锁不够便捷。However, fingerprint recognition is easy to leave fingerprints on the lock, which is easy to cause personal information to be leaked and stolen, and there is a certain risk in security. Using a key to unlock may forget to bring the key, making it inconvenient for the user to unlock.
技术问题technical problem
本发明提供了一种智能开锁方法、***、服务器和存储介质,用户通过将指纹信息输入移动终端,移动终端与智能锁进行无线通信并进行开锁,提高了开锁的安全性和便捷性。The present invention provides an intelligent unlocking method, system, server and storage medium. The user inputs fingerprint information into a mobile terminal, and the mobile terminal communicates with the intelligent lock wirelessly to unlock, thereby improving the security and convenience of unlocking.
技术解决方案technical solutions
第一方面,本发明提供一种智能开锁方法,包括:In a first aspect, the present invention provides an intelligent unlocking method, comprising:
获取用户的开锁指令,所属开锁指令包括用户ID和指纹信息;Obtain the unlocking instruction of the user, which includes the user ID and fingerprint information;
将所述用户ID和指纹信息发送至智能锁,以使所述智能锁基于预设的数据库判断所述指纹信息和用户ID是否匹配,若匹配,则开锁并生成开锁提示信息,若不匹配,则不开锁并生成开锁失败信息;The user ID and fingerprint information are sent to the smart lock, so that the smart lock judges whether the fingerprint information and the user ID match based on a preset database, if they match, then unlock and generate unlock prompt information, if they do not match, Then the lock will not be unlocked and the unlock failure message will be generated;
获取智能锁的开锁提示信息或开锁失败信息并发送至用户。Obtain the unlocking prompt information or unlocking failure information of the smart lock and send it to the user.
进一步地,所述开锁指令还包括声纹信息,则所述获取用户的开锁指令之后,还包括:Further, the unlocking instruction further includes voiceprint information, and after obtaining the unlocking instruction of the user, it further includes:
将所述声纹信息发送至预设的声纹识别模型,以使所述声纹识别模型判断所述声纹信息是否为开锁语令,生成判断结果;Sending the voiceprint information to a preset voiceprint recognition model, so that the voiceprint recognition model judges whether the voiceprint information is an unlock command, and generates a judgment result;
从声纹识别模型获取所述判断结果;Obtain the judgment result from the voiceprint recognition model;
若所述判断结果为所述声纹信息是开锁语令,则将所述用户ID和所述指纹信息发送至智能锁。If the judgment result is that the voiceprint information is an unlocking command, the user ID and the fingerprint information are sent to the smart lock.
进一步地,所述将所述用户ID和所述指纹信息发送至智能锁,包括:Further, the sending of the user ID and the fingerprint information to the smart lock includes:
将所述用户ID和所述指纹信息进行加密,生成加密信息;Encrypting the user ID and the fingerprint information to generate encrypted information;
将所述加密信息并发送至智能锁,以使所述智能锁对所述加密信息进行解密,获取解密后的所述用户ID和所述指纹信息。The encrypted information is sent to the smart lock, so that the smart lock decrypts the encrypted information and obtains the decrypted user ID and the fingerprint information.
进一步地,所述将所述用户ID和所述指纹信息发送至智能锁,还包括:Further, the sending of the user ID and the fingerprint information to the smart lock also includes:
通过蓝牙无线传输将所述用户ID和所述指纹信息发送至智能锁。The user ID and the fingerprint information are sent to the smart lock through Bluetooth wireless transmission.
进一步地,还包括:Further, it also includes:
获取一个或多个用户的指纹信息和所述指纹信息对应的用户ID;Obtain the fingerprint information of one or more users and the user ID corresponding to the fingerprint information;
将所述指纹信息和所述指纹信息对应的用户ID发送至智能锁,以使智能锁将所述指纹信息和所述指纹信息对应的用户ID存储在数据库中。Send the fingerprint information and the user ID corresponding to the fingerprint information to the smart lock, so that the smart lock stores the fingerprint information and the user ID corresponding to the fingerprint information in the database.
进一步地,在所述获取一个或多个用户的指纹信息和所述指纹信息对应的用户ID令之后,还包括:Further, after obtaining the fingerprint information of one or more users and the user ID order corresponding to the fingerprint information, it also includes:
判断所述用户ID是否为预设的管理员ID;Determine whether the user ID is a preset administrator ID;
若是,则将所述指纹信息和所述指纹信息对应的用户ID发送至智能锁;If so, send the fingerprint information and the user ID corresponding to the fingerprint information to the smart lock;
若不是,则向用户发送无权限提示信息。If not, send the user no permission prompt message.
第二方面本发明提供一种智能开锁***,包括:In the second aspect, the present invention provides an intelligent unlocking system, including:
第一获取模块,用于获取用户的开锁指令,所属开锁指令包括用户ID和指纹信息;The first obtaining module is used to obtain the unlocking instruction of the user, and the unlocking instruction to which it belongs includes the user ID and fingerprint information;
第一发送模块,用于将所述用户ID和指纹信息发送至智能锁,以使所述智能锁基于预设的数据库判断所述指纹信息和用户ID是否匹配,若匹配,则开锁并生成开锁提示信息,若不匹配,则不开锁并生成开锁失败信息;The first sending module is used to send the user ID and fingerprint information to the smart lock, so that the smart lock judges whether the fingerprint information and the user ID match based on a preset database, and if they match, unlock and generate an unlock Prompt information, if it does not match, the lock will not be unlocked and the unlock failure message will be generated;
第二获取模块,用于获取智能锁的开锁提示信息或开锁失败信息并发送至用户。The second obtaining module is used to obtain the unlocking prompt information or unlocking failure information of the smart lock and send it to the user.
进一步地,所述开锁指令还包括声纹信息,则***还包括:Further, if the unlocking instruction also includes voiceprint information, the system further includes:
第二发送模块,用于将所述声纹信息发送至预设的声纹识别模型,以使所述声纹识别模型判断所述声纹信息是否为开锁语令,生成判断结果;A second sending module, configured to send the voiceprint information to a preset voiceprint recognition model, so that the voiceprint recognition model determines whether the voiceprint information is an unlocking command, and generates a judgment result;
第二获取模块,用于从声纹识别模型获取所述判断结果;a second obtaining module, configured to obtain the judgment result from the voiceprint recognition model;
第三发送模块,用于若所述判断结果为所述声纹信息是开锁语令,则将所述用户ID和所述指纹信息发送至智能锁。A third sending module, configured to send the user ID and the fingerprint information to the smart lock if the judgment result is that the voiceprint information is an unlocking command.
第三方面,本发明提供一种服务器,包括存储器、处理器及存储在存储器上并可在处理器上运行的程序,所述处理器执行所述程序时实现如上述任一所述的智能开锁方法。In a third aspect, the present invention provides a server, including a memory, a processor, and a program stored in the memory and running on the processor, the processor implementing the intelligent unlocking according to any one of the above when the processor executes the program method.
第四方面,本发明提供一种终端可读存储介质,其上存储有程序,其特征在于,所述程序被处理器执行时能够实现如上述任一所述的智能开锁方法。In a fourth aspect, the present invention provides a terminal-readable storage medium on which a program is stored, characterized in that, when the program is executed by a processor, any one of the above-mentioned intelligent unlocking methods can be implemented.
有益效果beneficial effect
本发明的用户将指纹信息输入移动终端,移动终端与智能锁进行无线通信并进行开锁,避免用户使用智能锁开门泄露指纹信息,提高了开锁的安全性和便捷性。In the present invention, the user inputs the fingerprint information into the mobile terminal, and the mobile terminal communicates wirelessly with the smart lock to unlock, thereby preventing the user from leaking the fingerprint information by using the smart lock to open the door, and improving the security and convenience of unlocking.
附图说明Description of drawings
如图1所示为本实施例一的智能开锁方法流程图。FIG. 1 is a flowchart of the intelligent unlocking method according to the first embodiment of the present invention.
如图2所示为本实施例一的替代实施例流程图。FIG. 2 is a flowchart of an alternative embodiment of the first embodiment.
如图3所示为本实施例一的替代实施例流程图。FIG. 3 is a flowchart of an alternative embodiment of the first embodiment.
如图4所示为本实施例二的智能开锁方法流程图。FIG. 4 is a flowchart of the intelligent unlocking method of the second embodiment of the present invention.
如图5所示为本实施例三的智能开锁方法流程图。FIG. 5 is a flowchart of the intelligent unlocking method of the third embodiment.
如图6所示为本实施例四的智能开锁***模块图。FIG. 6 is a block diagram of the intelligent unlocking system of the fourth embodiment.
如图7所示为本实施例四的替代实施例模块图。FIG. 7 is a block diagram of an alternative embodiment of the fourth embodiment.
如图8所示本实施例五的服务器结构图。FIG. 8 shows the server structure diagram of the fifth embodiment.
本发明的实施方式Embodiments of the present invention
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the present invention.
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时处理可以被终止,但是还可以具有未包括在附图中的附加步骤。处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in greater detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowchart depicts the steps as a sequential process, many of the steps may be performed in parallel, concurrently, or concurrently. Furthermore, the order of the steps can be rearranged. The process may be terminated when its operation is complete, but may also have additional steps not included in the figures. A process may correspond to a method, function, procedure, subroutine, subroutine, or the like.
此外,术语“第一”、“第二”等可在本文中用于描述各种方向、动作、步骤或元件等,但这些方向、动作、步骤或元件不受这些术语限制。这些术语仅用于将第一个方向、动作、步骤或元件与另一个方向、动作、步骤或元件区分。举例来说,在不脱离本申请的范围的情况下,第一特征信息可以为第二特征信息或第三特征信息,类似地,第二特征信息、第三特征信息可以为第一特征信息。第一特征信息和第二特征信息、第三特征信息都是智能开锁***的特征信息,但其不是同一特征信息。术语“第一”、“第二”等而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本发明的描述中,“多个”、“批量”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。Furthermore, the terms "first," "second," etc. may be used herein to describe various directions, acts, steps or elements, etc., but are not limited by these terms. These terms are only used to distinguish a first direction, act, step or element from another direction, act, step or element. For example, without departing from the scope of the present application, the first feature information may be the second feature information or the third feature information, and similarly, the second feature information and the third feature information may be the first feature information. The first characteristic information, the second characteristic information, and the third characteristic information are all characteristic information of the intelligent unlocking system, but they are not the same characteristic information. The terms "first", "second" and the like should not be understood as indicating or implying relative importance or implying the number of technical features indicated. Thus, a feature defined as "first" or "second" may expressly or implicitly include one or more of that feature. In the description of the present invention, "plurality" and "batch" mean at least two, such as two, three, etc., unless otherwise expressly and specifically defined.
实施例一Example 1
本实施例提供了一种智能开锁方法,由移动端执行,用户通过手机输入指纹,手机将指纹信息和用户ID发送至智能锁以实现开锁,如图1所示,包括:This embodiment provides an intelligent unlocking method, which is executed by a mobile terminal. A user inputs a fingerprint through a mobile phone, and the mobile phone sends the fingerprint information and the user ID to the smart lock to realize unlocking, as shown in FIG. 1 , including:
S110、获取用户的开锁指令,所属开锁指令包括用户ID和指纹信息;S110. Obtain the unlocking instruction of the user, where the unlocking instruction belongs to the user ID and fingerprint information;
S120、将所述用户ID和指纹信息发送至智能锁,以使所述智能锁基于预设的数据库判断所述指纹信息和用户ID是否匹配,若匹配,则开锁并生成开锁提示信息,若不匹配,则不开锁并生成开锁失败信息。S120, sending the user ID and fingerprint information to the smart lock, so that the smart lock judges whether the fingerprint information and the user ID match based on a preset database, if they match, unlock the lock and generate unlock prompt information, if not If it matches, the lock will not be unlocked and the unlock failure message will be generated.
该步骤中,数据库可以是指纹识别模型,或用户ID-指纹信息对比表等。在该步骤中,手机端与智能锁的连接过程采用密接开锁技术,实现手机与门锁的近距离感应。以蓝牙连接为例,手机端和智能锁都具有蓝牙设备。当手机端离智能锁的距离小于一个预设距离时,手机端APP会自动扫描到锁端的蓝牙设备并进行匹配,匹配成功后手机APP会通过蓝牙广播的方式将用户ID和指纹信息发送给智能锁,智能锁校验通过后进行自动开锁。In this step, the database may be a fingerprint identification model, a user ID-fingerprint information comparison table, or the like. In this step, the connection process between the mobile phone and the smart lock adopts the close-contact unlocking technology to realize the proximity sensing between the mobile phone and the door lock. Taking Bluetooth connection as an example, both the mobile phone and the smart lock have Bluetooth devices. When the distance between the mobile phone and the smart lock is less than a preset distance, the mobile APP will automatically scan the Bluetooth device on the lock and match it. After the matching is successful, the mobile APP will broadcast the user ID and fingerprint information to the smart lock. The lock, the smart lock will automatically unlock after passing the verification.
S130、获取智能锁的开锁提示信息或开锁失败信息并发送至用户。S130: Obtain the unlocking prompt information or unlocking failure information of the smart lock and send it to the user.
该步骤中,智能锁的锁端预先存储有用户ID和对应的指纹信息,通过识别判断用户ID和指纹信息是否匹配,若匹配则锁端进行开锁,智能锁开锁后生成提示信息发送至手机APP,用户获取该信息即可开门。In this step, the lock end of the smart lock pre-stores the user ID and the corresponding fingerprint information, and judges whether the user ID and the fingerprint information match through identification. , the user can get the information to open the door.
在替代实施例中,如图2,还包括:In an alternative embodiment, as shown in Figure 2, further comprising:
S140、获取一个或多个用户的指纹信息和所述指纹信息对应的用户ID;S140, obtaining fingerprint information of one or more users and a user ID corresponding to the fingerprint information;
S150、将所述指纹信息和所述指纹信息对应的用户ID发送至智能锁,以使智能锁将所述指纹信息和所述指纹信息对应的用户ID存储在数据库中。S150. Send the fingerprint information and the user ID corresponding to the fingerprint information to the smart lock, so that the smart lock stores the fingerprint information and the user ID corresponding to the fingerprint information in a database.
在上述步骤中,用户通过手机端触摸屏输入自己的指纹,手机端APP获取该指纹,手机中预存有与用户指纹对应的用户ID,用户ID指的是该房屋的一个或多个屋主的ID。其中,一个用户ID可以对应一个或多个指纹信息(如一个用户十个手指的指纹信息)。In the above steps, the user inputs his fingerprint through the touch screen of the mobile phone, the mobile phone APP obtains the fingerprint, and the mobile phone pre-stores a user ID corresponding to the user's fingerprint, and the user ID refers to the ID of one or more owners of the house . Wherein, a user ID may correspond to one or more fingerprint information (for example, fingerprint information of ten fingers of a user).
如图3,在替代实施例中,用户在首次使用智能锁之前,需要在移动端的开锁APP上以管理员身份登录,并通过蓝牙连接。在步骤S150之后还包括:As shown in FIG. 3 , in an alternative embodiment, before using the smart lock for the first time, the user needs to log in as an administrator on the unlocking APP on the mobile terminal and connect via Bluetooth. After step S150, it also includes:
S161、判断所述用户ID是否为预设的管理员ID;S161, determine whether the user ID is a preset administrator ID;
S162、若是,则将所述指纹信息和所述指纹信息对应的用户ID发送至智能锁。S162. If yes, send the fingerprint information and the user ID corresponding to the fingerprint information to the smart lock.
该步骤中,用户以管理员身份登录开锁APP后,从手机端输入指纹信息,并人工设置用户ID,该用户ID也可不经过人工设置而是由手机端自动生成。手机端将设置好的用户ID和指纹信息发送至智能锁的锁端保存,同样可以为家里的其他用户进行初始化设置,至此已完成智能锁的使用初始化。In this step, after the user logs in to the unlocking APP as an administrator, inputs the fingerprint information from the mobile phone, and manually sets the user ID. The user ID can also be automatically generated by the mobile phone without manual setting. The mobile phone terminal sends the set user ID and fingerprint information to the lock terminal of the smart lock for storage, and can also initialize the settings for other users at home. So far, the use of the smart lock has been initialized.
S163、若不是,则向用户发送无权限提示信息。S163: If not, send a prompt message of no permission to the user.
设置好认证信息后,用户可以在每次回家距离门锁前几米时通过向手机发出开锁语令,当手机开锁APP接收到用户的开锁指令后,会通过开启蓝牙将用户对应的用户id和指纹信息通过加密的方式传输到锁端,锁端内置的控制***在接收到认证信息后会对其进行验证,验证通过后会自动开锁,并将开锁结果返回给用户手机开锁APP。After setting the authentication information, the user can send an unlocking command to the mobile phone every time he goes home a few meters before the door lock. The fingerprint information is transmitted to the lock end through encryption, and the built-in control system of the lock end will verify it after receiving the authentication information. After the verification is passed, the lock will be automatically unlocked, and the unlock result will be returned to the user's mobile phone unlocking APP.
本发明的用户将指纹信息输入移动终端,该方法可以实现无接触的自动安全开锁功能,减少了用户需随身携带钥匙或每次都需要采集手指指纹进行开锁的麻烦,同时又保证了开锁的安全性,通过手机端与智能锁实施密接开锁,实现手机与门锁的近距离感应,提高了开锁的便捷性和安全性。In the present invention, the user inputs the fingerprint information into the mobile terminal, and the method can realize the automatic safety unlocking function without contact, which reduces the trouble that the user needs to carry the key with him or needs to collect the fingerprint every time for unlocking, and at the same time, the safety of unlocking is ensured. Through the close connection between the mobile phone and the smart lock, the proximity sensing between the mobile phone and the door lock is realized, which improves the convenience and safety of unlocking.
实施例二Embodiment 2
本实施例在上述实施例的基础上增加了通过声纹识别控制蓝牙的开启和控制。如图4,包括如下步骤:In this embodiment, on the basis of the above-mentioned embodiment, the turn-on and control of Bluetooth through voiceprint recognition is added. As shown in Figure 4, it includes the following steps:
S210、获取用户的开锁指令,所属开锁指令包括声纹信息;S210, obtaining the unlocking instruction of the user, where the unlocking instruction to which it belongs includes voiceprint information;
当用户外出回来接近门锁时,用户可以通过说话的方式发出类似“开门”“开锁”“进屋”等语令,用户手中的手机APP在接收到语令后会对其进行声纹识别。When the user comes back from going out and approaches the door lock, the user can issue commands such as "open the door", "unlock" and "enter the house" by speaking.
S220、将所述声纹信息发送至预设的声纹识别模型,以使所述声纹识别模型判断所述声纹信息是否为开锁语令,生成判断结果。S220. Send the voiceprint information to a preset voiceprint recognition model, so that the voiceprint recognition model determines whether the voiceprint information is an unlocking command, and generates a judgment result.
在该步骤之前,用户预先在手机APP上进行过初始化设置,例如输入多种开门语令作为训练集训练生成声纹识别模型。在识别为正确的开锁语令后,手机会与身边的锁端进行连接和匹配。该步骤可选地,可以使用蓝牙、无线网络等与锁端连接。例如,当识别为可开启语令时,手机就自动开启蓝牙扫描功能,可以避免手机蓝牙一直开启等待而造成手机电量的浪费。Before this step, the user has performed initial settings on the mobile phone APP in advance, for example, inputting a variety of door-opening commands as a training set to train and generate a voiceprint recognition model. After identifying the correct unlocking command, the mobile phone will connect and match with the nearby lock. Optionally, in this step, Bluetooth, wireless network, etc. can be used to connect with the lock end. For example, when it is recognized that the command can be turned on, the mobile phone automatically turns on the Bluetooth scanning function, which can avoid the waste of battery power of the mobile phone caused by waiting for the Bluetooth of the mobile phone to be turned on all the time.
S230、从声纹识别模型获取所述判断结果;S230, obtaining the judgment result from the voiceprint recognition model;
S240、若所述判断结果为所述声纹信息是开锁语令,则将所述用户ID和所述指纹信息发送至智能锁。S240. If the judgment result is that the voiceprint information is an unlocking command, send the user ID and the fingerprint information to the smart lock.
S250、将所述用户ID和指纹信息发送至智能锁,以使所述智能锁基于预设的数据库判断所述指纹信息和用户ID是否匹配,若匹配,则开锁并生成开锁提示信息,若不匹配,则不开锁并生成开锁失败信息。S250, sending the user ID and fingerprint information to the smart lock, so that the smart lock judges whether the fingerprint information and the user ID match based on a preset database, if they match, then unlock and generate unlock prompt information, if not If it matches, the lock will not be unlocked and the unlock failure message will be generated.
该步骤中,发送至智能锁可以是通过蓝牙无线传输将所述用户ID和所述指纹信息发送至智能锁。In this step, the sending to the smart lock may be sending the user ID and the fingerprint information to the smart lock through Bluetooth wireless transmission.
S260、获取智能锁的开锁提示信息或开锁失败信息并发送至用户。S260. Obtain the unlocking prompt information or unlocking failure information of the smart lock and send it to the user.
本实施例通过声纹识别实现了智能锁开锁过程的语音控制,还通过蓝牙等无线通信与锁端进行通信,使开锁更便捷。This embodiment realizes the voice control of the unlocking process of the smart lock through voiceprint recognition, and also communicates with the lock terminal through wireless communication such as Bluetooth, which makes unlocking more convenient.
实施例三Embodiment 3
如图5,本实施例在上述实施例的基础上增加了对所述传输信息进行加密的步骤,以实现对用户的生物特征信息进行加密避免泄露隐私。步骤如下:As shown in FIG. 5 , this embodiment adds a step of encrypting the transmission information on the basis of the above-mentioned embodiment, so as to encrypt the biometric information of the user to avoid privacy leakage. Proceed as follows:
S310、获取用户的开锁指令,所属开锁指令包括用户ID和指纹信息;S310, acquiring the unlocking instruction of the user, where the unlocking instruction belongs to the user ID and fingerprint information;
S321、将所述用户ID和所述指纹信息进行加密,生成加密信息;S321, encrypt the user ID and the fingerprint information to generate encrypted information;
S322、将所述加密信息并发送至智能锁,以使所述智能锁对所述加密信息进行解密,获取解密后的所述用户ID和所述指纹信息,所述智能锁基于预设的数据库判断所述指纹信息和用户ID是否匹配,若匹配,则开锁并生成开锁提示信息,若不匹配,则不开锁并生成开锁失败信息;S322, sending the encrypted information to the smart lock, so that the smart lock decrypts the encrypted information, and obtains the decrypted user ID and the fingerprint information, and the smart lock is based on a preset database Judging whether the fingerprint information and the user ID match, if they match, then unlock and generate unlock prompt information, if they do not match, then do not unlock and generate unlock failure information;
在配对成功后,手机APP会通过蓝牙广播的方式将用户id和指纹信息通过加密发送给锁端。After the pairing is successful, the mobile APP will encrypt the user id and fingerprint information to the lock terminal by means of Bluetooth broadcast.
锁端将接收到的开锁认证信息进行解密,解密后锁端会通过指纹识别模型进行指纹识别和用户信息校验,校验通过后进行自动开锁并向用户手机APP返回开锁成功消息,反之,校验不通过则会返回开锁错误的提醒。The lock end decrypts the received unlock authentication information. After decryption, the lock end will perform fingerprint identification and user information verification through the fingerprint identification model. After the verification is passed, it will automatically unlock and return the unlock success message to the user's mobile phone APP. If the verification fails, a reminder of unlocking error will be returned.
S330、获取智能锁的开锁提示信息或开锁失败信息并发送至用户。S330 , acquiring the unlocking prompt information or unlocking failure information of the smart lock and sending it to the user.
该方法通过采用基于密接技术的智能开锁方法,可以有效缩提高开锁的便捷性和安全性。The method can effectively improve the convenience and safety of unlocking by adopting the intelligent unlocking method based on the close connection technology.
实施例四Embodiment 4
如图6,本实施例提供了一种智能开锁***4,包括如下模块:As shown in FIG. 6, the present embodiment provides an intelligent unlocking system 4, including the following modules:
第一获取模块401,用于获取用户的开锁指令,所属开锁指令包括用户ID和指纹信息;The first obtaining module 401 is used to obtain the unlocking instruction of the user, and the belonging unlocking instruction includes the user ID and fingerprint information;
第一发送模块402,用于将所述用户ID和指纹信息发送至智能锁,以使所述智能锁基于预设的数据库判断所述指纹信息和用户ID是否匹配,若匹配,则开锁并生成开锁提示信息,若不匹配,则不开锁并生成开锁失败信息。该模块还用于:将所述用户ID和所述指纹信息进行加密,生成加密信息;将所述加密信息并发送至智能锁,以使所述智能锁对所述加密信息进行解密,获取解密后的所述用户ID和所述指纹信息。还用于:通过蓝牙无线传输将所述用户ID和所述指纹信息发送至智能锁。The first sending module 402 is used to send the user ID and fingerprint information to the smart lock, so that the smart lock judges whether the fingerprint information and the user ID match based on a preset database, and if they match, unlock and generate The unlock prompt information, if it does not match, the lock will not be unlocked and the unlock failure message will be generated. The module is also used to: encrypt the user ID and the fingerprint information to generate encrypted information; send the encrypted information to the smart lock, so that the smart lock decrypts the encrypted information and obtains decryption After the user ID and the fingerprint information. It is also used for: sending the user ID and the fingerprint information to the smart lock through Bluetooth wireless transmission.
第二获取模块403,用于获取智能锁的开锁提示信息或开锁失败信息并发送至用户。The second obtaining module 403 is configured to obtain the unlocking prompt information or unlocking failure information of the smart lock and send it to the user.
如图7,在替代实施例中,还包括:As shown in Figure 7, in an alternative embodiment, it also includes:
第二发送模块404,用于将所述声纹信息发送至预设的声纹识别模型,以使所述声纹识别模型判断所述声纹信息是否为开锁语令,生成判断结果;The second sending module 404 is configured to send the voiceprint information to a preset voiceprint recognition model, so that the voiceprint recognition model judges whether the voiceprint information is an unlocking command, and generates a judgment result;
第三获取模块405,用于从声纹识别模型获取所述判断结果;The third obtaining module 405 is configured to obtain the judgment result from the voiceprint recognition model;
第三发送模块406,用于若所述判断结果为所述声纹信息是开锁语令,则将所述用户ID和所述指纹信息发送至智能锁。The third sending module 406 is configured to send the user ID and the fingerprint information to the smart lock if the judgment result is that the voiceprint information is an unlocking command.
在替代实施例中,还包括:In an alternative embodiment, it also includes:
第四获取模块407,用于获取一个或多个用户的指纹信息和所述指纹信息对应的用户ID;The fourth acquisition module 407 is used to acquire the fingerprint information of one or more users and the user ID corresponding to the fingerprint information;
第四发送模块408,用于将所述指纹信息和所述指纹信息对应的用户ID发送至智能锁,以使智能锁将所述指纹信息和所述指纹信息对应的用户ID存储在数据库中。The fourth sending module 408 is configured to send the fingerprint information and the user ID corresponding to the fingerprint information to the smart lock, so that the smart lock stores the fingerprint information and the user ID corresponding to the fingerprint information in the database.
在替代实施例中,还包括:权限判断模块409,用于:判断所述用户ID是否为预设的管理员ID;若是,则将所述指纹信息和所述指纹信息对应的用户ID发送至智能锁;若不是,则向用户发送无权限提示信息。In an alternative embodiment, it also includes: an authority judgment module 409, configured to: judge whether the user ID is a preset administrator ID; if so, send the fingerprint information and the user ID corresponding to the fingerprint information to Smart lock; if not, send the user no permission prompt message.
本发明实施例所提供的一种智能开锁***可执行本发明任意实施例所提供的智能开锁方法,具备功能模块相应的执行方法和有益效果。An intelligent unlocking system provided by the embodiment of the present invention can execute the intelligent unlocking method provided by any embodiment of the present invention, and has corresponding execution methods and beneficial effects of functional modules.
实施例五Embodiment 5
本实施例提供了一种服务器的结构示意图,如图8所示,该服务器包括处理器501、存储器502、输入***503和输出***504;服务器中处理器501的数量可以是一个或多个,图中以一个处理器501为例;设备/终端/服务器中的处理器501、存储器502、输入***503和输出***504可以通过总线或其他方式链接,图8中以通过总线链接为例。This embodiment provides a schematic structural diagram of a server. As shown in FIG. 8 , the server includes a processor 501, a memory 502, an input system 503, and an output system 504; the number of processors 501 in the server may be one or more, The figure takes a processor 501 as an example; the processor 501, memory 502, input system 503 and output system 504 in the device/terminal/server can be linked by a bus or other means.
存储器502作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本发明实施例中的智能开锁方法对应的程序指令/模块。处理器501通过运行存储在存储器502中的软件程序、指令以及模块,从而执行设备/终端/服务器的各种功能应用以及数据处理,即实现上述的智能开锁方法。As a computer-readable storage medium, the memory 502 can be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the intelligent unlocking method in the embodiment of the present invention. The processor 501 executes various functional applications and data processing of the device/terminal/server by running the software programs, instructions and modules stored in the memory 502, that is, to implement the above-mentioned intelligent unlocking method.
存储器502可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储器502可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器502可进一步包括相对于处理器501远程设置的存储器,这些远程存储器可以通过网络链接至设备/终端/服务器。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Additionally, memory 502 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, memory 502 may further include memory located remotely relative to processor 501, and these remote memories may be linked to a device/terminal/server through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
输入***503可用于接收输入的数字或字符信息,以及产生与设备/终端/服务器的用户设置以及功能控制有关的键信号输入。输出***504可包括显示屏等显示设备。The input system 503 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the device/terminal/server. The output system 504 may include a display device such as a display screen.
本发明实施例五通过提供一种服务器,可执行本发明任意实施例所提供的智能开锁方法,具备执行方法相应的功能模块和有益效果。The fifth embodiment of the present invention provides a server that can execute the intelligent unlocking method provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
实施例六Embodiment 6
本发明实施例六还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本发明任意实施例所提供的智能开锁方法:Embodiment 6 of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, implements the intelligent unlocking method provided by any embodiment of the present invention:
获取用户的开锁指令,所属开锁指令包括用户ID和指纹信息;Obtain the unlocking instruction of the user, which includes the user ID and fingerprint information;
将所述用户ID和指纹信息发送至智能锁,以使所述智能锁基于预设的数据库判断所述指纹信息和用户ID是否匹配,若匹配,则开锁并生成开锁提示信息,若不匹配,则不开锁并生成开锁失败信息;The user ID and fingerprint information are sent to the smart lock, so that the smart lock judges whether the fingerprint information and the user ID match based on a preset database, if they match, then unlock and generate unlock prompt information, if they do not match, Then the lock will not be unlocked and the unlock failure message will be generated;
获取智能锁的开锁提示信息或开锁失败信息并发送至用户。Obtain the unlocking prompt information or unlocking failure information of the smart lock and send it to the user.
本发明实施例的计算机可读存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的***、***或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电链接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行***、***或者器件使用或者与其结合使用。The computer-readable storage medium of the embodiments of the present invention may adopt any combination of one or more computer-readable mediums. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, system or device, or a combination of any of the above. More specific examples (non-exhaustive list) of computer readable storage media include: an electrical link having one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行***、***或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium, other than a computer-readable storage medium, that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, system, or device .
存储介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a storage medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或终端上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—链接到用户计算机,或者,可以链接到外部计算机(例如利用因特网服务提供商来通过因特网链接)。Computer program code for carrying out operations of the present invention may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, but also conventional procedural languages, or a combination thereof. A programming language such as the "C" language or similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or terminal. Where a remote computer is involved, the remote computer may be linked to the user's computer through any kind of network, including a local area network (LAN) or wide area network (WAN), or may be linked to an external computer (eg, using an Internet service provider through Internet link).
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention. The scope is determined by the scope of the appended claims.

Claims (10)

  1. 一种智能开锁方法,其特征在于,由移动端执行,包括: An intelligent unlocking method, characterized in that, being executed by a mobile terminal, comprising:
    获取用户的开锁指令,所属开锁指令包括用户ID和指纹信息;Obtain the unlocking instruction of the user, which includes the user ID and fingerprint information;
    将所述用户ID和指纹信息发送至智能锁,以使所述智能锁基于预设的数据库判断所述指纹信息和用户ID是否匹配,若匹配,则开锁并生成开锁提示信息,若不匹配,则不开锁并生成开锁失败信息;The user ID and fingerprint information are sent to the smart lock, so that the smart lock judges whether the fingerprint information and the user ID match based on a preset database, if they match, then unlock and generate unlock prompt information, if they do not match, Then the lock will not be unlocked and the unlock failure message will be generated;
    获取智能锁的开锁提示信息或开锁失败信息并发送至用户。Obtain the unlocking prompt information or unlocking failure information of the smart lock and send it to the user.
  2. 根据权利要求1的方法,其特征在于,所述开锁指令还包括声纹信息,则所述获取用户的开锁指令之后,还包括: The method according to claim 1, wherein the unlocking instruction further includes voiceprint information, and after acquiring the user's unlocking instruction, the method further includes:
    将所述声纹信息发送至预设的声纹识别模型,以使所述声纹识别模型判断所述声纹信息是否为开锁语令,生成判断结果;Sending the voiceprint information to a preset voiceprint recognition model, so that the voiceprint recognition model judges whether the voiceprint information is an unlock command, and generates a judgment result;
    从声纹识别模型获取所述判断结果;Obtain the judgment result from the voiceprint recognition model;
    若所述判断结果为所述声纹信息是开锁语令,则将所述用户ID和所述指纹信息发送至智能锁。If the judgment result is that the voiceprint information is an unlocking command, the user ID and the fingerprint information are sent to the smart lock.
  3. 根据权利要求1的方法,其特征在于,所述将所述用户ID和所述指纹信息发送至智能锁,包括: The method according to claim 1, wherein the sending the user ID and the fingerprint information to the smart lock comprises:
    将所述用户ID和所述指纹信息进行加密,生成加密信息;Encrypting the user ID and the fingerprint information to generate encrypted information;
    将所述加密信息并发送至智能锁,以使所述智能锁对所述加密信息进行解密,获取解密后的所述用户ID和所述指纹信息。The encrypted information is sent to the smart lock, so that the smart lock decrypts the encrypted information and obtains the decrypted user ID and the fingerprint information.
  4. 根据权利要求1所述的智能开锁方法,其特征在于,所述将所述用户ID和所述指纹信息发送至智能锁,还包括: The smart unlocking method according to claim 1, wherein the sending the user ID and the fingerprint information to the smart lock further comprises:
    通过蓝牙无线传输将所述用户ID和所述指纹信息发送至智能锁。The user ID and the fingerprint information are sent to the smart lock through Bluetooth wireless transmission.
  5. 根据权利要求1所述的智能开锁方法,其特征在于,还包括: The intelligent unlocking method according to claim 1, further comprising:
    获取一个或多个用户的指纹信息和所述指纹信息对应的用户ID;Obtain the fingerprint information of one or more users and the user ID corresponding to the fingerprint information;
    将所述指纹信息和所述指纹信息对应的用户ID发送至智能锁,以使智能锁将所述指纹信息和所述指纹信息对应的用户ID存储在数据库中。The fingerprint information and the user ID corresponding to the fingerprint information are sent to the smart lock, so that the smart lock stores the fingerprint information and the user ID corresponding to the fingerprint information in the database.
  6. 根据权利要求5所述的智能开锁方法,其特征在于,在所述获取一个或多个用户的指纹信息和所述指纹信息对应的用户ID令之后,还包括: The intelligent unlocking method according to claim 5, characterized in that, after acquiring the fingerprint information of one or more users and the user ID order corresponding to the fingerprint information, the method further comprises:
    判断所述用户ID是否为预设的管理员ID;Determine whether the user ID is a preset administrator ID;
    若是,则将所述指纹信息和所述指纹信息对应的用户ID发送至智能锁;If so, send the fingerprint information and the user ID corresponding to the fingerprint information to the smart lock;
    若不是,则向用户发送无权限提示信息。If not, send the user no permission prompt message.
  7. 一种智能开锁***,其特征在于,包括: An intelligent unlocking system, characterized in that it includes:
    第一获取模块,用于获取用户的开锁指令,所属开锁指令包括用户ID和指纹信息;The first acquisition module is used to acquire the unlocking instruction of the user, and the unlocking instruction to which it belongs includes the user ID and fingerprint information;
    第一发送模块,用于将所述用户ID和指纹信息发送至智能锁,以使所述智能锁基于预设的数据库判断所述指纹信息和用户ID是否匹配,若匹配,则开锁并生成开锁提示信息,若不匹配,则不开锁并生成开锁失败信息;The first sending module is used to send the user ID and fingerprint information to the smart lock, so that the smart lock judges whether the fingerprint information and the user ID match based on a preset database, and if they match, unlock and generate an unlock Prompt information, if it does not match, the lock will not be unlocked and the unlock failure message will be generated;
    第二获取模块,用于获取智能锁的开锁提示信息或开锁失败信息并发送至用户。The second obtaining module is used to obtain the unlocking prompt information or unlocking failure information of the smart lock and send it to the user.
  8. 根据权利要求7的***,其特征在于,所述开锁指令还包括声纹信息,则***还包括: The system according to claim 7, wherein the unlocking instruction further includes voiceprint information, and the system further includes:
    第二发送模块,用于将所述声纹信息发送至预设的声纹识别模型,以使所述声纹识别模型判断所述声纹信息是否为开锁语令,生成判断结果;a second sending module, configured to send the voiceprint information to a preset voiceprint recognition model, so that the voiceprint recognition model judges whether the voiceprint information is an unlocking command, and generates a judgment result;
    第三获取模块,用于从声纹识别模型获取所述判断结果;a third obtaining module, configured to obtain the judgment result from the voiceprint recognition model;
    第三发送模块,用于若所述判断结果为所述声纹信息是开锁语令,则将所述用户ID和所述指纹信息发送至智能锁。A third sending module, configured to send the user ID and the fingerprint information to the smart lock if the judgment result is that the voiceprint information is an unlocking command.
  9. 一种服务器,包括存储器、处理器及存储在存储器上并可在处理器上运行的程序,其特征在于,所述处理器执行所述程序时实现如权利要求1-7任一所述的智能开锁方法。 A server, comprising a memory, a processor, and a program stored in the memory and running on the processor, characterized in that, when the processor executes the program, the intelligent system according to any one of claims 1-7 is implemented. unlock method.
  10. 一种终端可读存储介质,其上存储有程序,其特征在于,所述程序被处理器执行时能够实现如权利要求1-7任一所述的智能开锁方法。 A terminal-readable storage medium on which a program is stored, characterized in that, when the program is executed by a processor, the intelligent unlocking method according to any one of claims 1-7 can be implemented.
PCT/CN2021/119619 2021-01-20 2021-09-22 Intelligent unlocking method and system, server, and storage medium WO2022156254A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110075512.4A CN112863016A (en) 2021-01-20 2021-01-20 Intelligent unlocking method, system, server and storage medium
CN202110075512.4 2021-01-20

Publications (1)

Publication Number Publication Date
WO2022156254A1 true WO2022156254A1 (en) 2022-07-28

Family

ID=76007682

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/119619 WO2022156254A1 (en) 2021-01-20 2021-09-22 Intelligent unlocking method and system, server, and storage medium

Country Status (2)

Country Link
CN (1) CN112863016A (en)
WO (1) WO2022156254A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116403388A (en) * 2023-06-02 2023-07-07 深圳市微克科技有限公司 Control method and system for realizing remote unlocking based on intelligent watch

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112863016A (en) * 2021-01-20 2021-05-28 南方科技大学 Intelligent unlocking method, system, server and storage medium
CN117768217A (en) * 2023-12-27 2024-03-26 无锡晒福智能电子科技有限公司 Data security management system and method based on intelligent lock

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106296900A (en) * 2016-08-02 2017-01-04 成都荷码科技有限公司 A kind of method opening smart lock
CN107358698A (en) * 2017-07-17 2017-11-17 惠州Tcl移动通信有限公司 A kind of unlocking method and system based on mobile terminal fingerprint recognition
US20180240122A1 (en) * 2017-02-17 2018-08-23 Lg Electronics Inc. Mobile terminal and controlling method thereof
CN208873198U (en) * 2018-08-02 2019-05-17 北京集创北方***技术有限公司 Smart lock and intelligent lock system
CN112863016A (en) * 2021-01-20 2021-05-28 南方科技大学 Intelligent unlocking method, system, server and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915588B (en) * 2012-11-02 2015-07-29 凯拔(中国)科技有限公司 Based on intelligent lock system and the control method thereof of Bluetooth technology
CN110232754A (en) * 2019-04-22 2019-09-13 深圳市昇润科技有限公司 A kind of blue-tooth intelligence unlocking system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106296900A (en) * 2016-08-02 2017-01-04 成都荷码科技有限公司 A kind of method opening smart lock
US20180240122A1 (en) * 2017-02-17 2018-08-23 Lg Electronics Inc. Mobile terminal and controlling method thereof
CN107358698A (en) * 2017-07-17 2017-11-17 惠州Tcl移动通信有限公司 A kind of unlocking method and system based on mobile terminal fingerprint recognition
CN208873198U (en) * 2018-08-02 2019-05-17 北京集创北方***技术有限公司 Smart lock and intelligent lock system
CN112863016A (en) * 2021-01-20 2021-05-28 南方科技大学 Intelligent unlocking method, system, server and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116403388A (en) * 2023-06-02 2023-07-07 深圳市微克科技有限公司 Control method and system for realizing remote unlocking based on intelligent watch
CN116403388B (en) * 2023-06-02 2023-08-08 深圳市微克科技有限公司 Control method and system for realizing remote unlocking based on intelligent watch

Also Published As

Publication number Publication date
CN112863016A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
WO2022156254A1 (en) Intelligent unlocking method and system, server, and storage medium
US7664961B2 (en) Wireless handheld device with local biometric authentication
CN103229184B (en) For the method and system of the access to secure resources
WO2017177435A1 (en) Identity authentication method, terminal and server
KR101757214B1 (en) Vehicle control method and system using user terminal in trusted execution environment
WO2018040639A1 (en) Authorization method and system for virtual key, mobile terminal and server
CN105141615A (en) Method and system for opening account remotely, authentication method and system
JP2019220935A (en) Digital door lock having unique master key and method of operating the same
WO2011147204A1 (en) Entrance guard control method and system thereof
CN103927806A (en) Unlocking system and method for performing password verification based on wireless communication module pairing
WO2017166355A1 (en) Method, device and system for processing information, mobile terminal and smart lock
CN108109242B (en) Hardware encryption method and system based on fingerprint unlocking and intelligent cloud lock
CN106127900A (en) A kind of user identity comprehensive verification method for unlocking and device
CN107288443A (en) One kind refers to vein intelligent door lock control system
CN105243314A (en) USB-key based security system and usage method therefor
KR20110138856A (en) System and method for processing opening and shutting door-lock using one-time bar code, door-lock device
CN111222167A (en) Private data access method based on block chain and explicit authorization mechanism
US20180165436A1 (en) Login mechanism for operating system
CN111340987A (en) Internet of things door lock communication method, device and system and computer storage medium
JP5178249B2 (en) Key authentication system
CN106157409A (en) Communication means between intelligent terminal and gate inhibition and device
WO2018006318A1 (en) Method and system for using intelligent entrance guard on basis of mobile terminal
CN207123882U (en) A kind of antitheft cloud service door-locking system of multiple intelligent
JP2006060392A (en) Unauthorized-use preventive system and identification method for information terminal device
JP4621967B2 (en) Locking system and unlocking method thereof

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

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

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21920632

Country of ref document: EP

Kind code of ref document: A1