Unlocking method of intelligent door lock, mobile terminal and computer readable storage medium
Through the close connection between the mobile terminal and the smart door lock, biometrics are entered and sent, which solves the problems of high power consumption and inconvenient operation of the smart door lock, extends the battery life and improves the user experience.
Patent Information
- Application Number
- CN202310253783.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-09
- Publication Date
- 2024-09-10
AI Technical Summary
Smart door locks consume high power when unlocked through biometric recognition, resulting in shortened battery life, and are inconvenient to operate when the ambient light is insufficient, which is especially detrimental to the elderly and children.
By establishing a short-distance connection between the mobile terminal and the smart door lock, the mobile terminal enters and sends biometrics instead of the smart door lock. The smart door lock performs the unlocking operation when the authentication is passed, reducing the power consumption of the smart door lock and unlocking the door when the light is insufficient. Allows users to record facial features in well-lit areas.
It extends the battery life of smart door locks, improves user experience, especially the convenience of operation for the elderly and children, and improves unlocking efficiency and safety.
Smart Images

Figure CN118629119A
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart door locks, and in particular to a smart door lock unlocking method, a mobile terminal, a smart door lock unlocking system and a computer-readable storage medium. Background Art
[0002] With the development of science and technology and the improvement of living standards, various intelligent products have entered people's lives. Among them, smart door locks have been recognized by consumers for their advantages such as safety and convenience.
[0003] Smart door locks are composite locks that are different from traditional mechanical locks and are more intelligent in terms of user security, identification, and management. Smart door locks can be unlocked through biometric identification such as fingerprint recognition or face recognition, bringing convenience to users.
[0004] However, the biometric unlocking methods such as fingerprint recognition or face recognition of smart door locks bring convenience to users, but also increase the power consumption of smart door locks. According to big data statistics, unlocking the smart door lock through biometric features accounts for 60-70% of the total power consumption of smart door locks. Frequent use will shorten the battery life of smart door locks and affect the user experience.
[0005] In addition, the success rate of face recognition of smart door locks may be reduced in the case of insufficient light; and because smart door locks cannot be moved, users may need to constantly adjust the direction of their fingers when pressing fingerprints on smart door locks for fingerprint recognition, which is not conducive to operation by the elderly and children. These problems will also affect the user experience. Summary of the invention
[0006] The purpose of this application is to provide a smart door lock unlocking method, a mobile terminal, a smart door lock unlocking system and a computer-readable storage medium to extend the battery life of the smart door lock.
[0007] The above-mentioned and other objects are achieved by the features of the independent claims, with further implementations being apparent from the dependent claims, the description and the drawings.
[0008] In a first aspect, a method for unlocking a smart door lock is provided, the method comprising:
[0009] When the mobile terminal detects the first operation, it initiates a detection message to establish a short-range connection with the smart door lock; the mobile terminal enters the user's biometric features (such as fingerprint features, facial features) after establishing the short-range connection; the mobile terminal sends the biometric features to the smart door lock through the short-range connection; after receiving the biometric features, the smart door lock authenticates the user according to the biometric features; the smart door lock performs an unlocking operation when the authentication is successful.
[0010] Since the mobile terminal can replace the smart door lock to enter biometrics, the power consumption of the smart door lock can be reduced, thereby increasing the battery life of the smart door lock and improving the user experience. In addition, the mobile terminal actively detects the door lock instead of the smart door lock triggering the detection of the mobile terminal, which can further reduce the power consumption of the smart door lock.
[0011] According to the first aspect, in a first possible implementation manner of the unlocking method, the mobile terminal includes a fingerprint sensor; and the entering of the user's biometric features includes: entering fingerprint features through the fingerprint sensor.
[0012] In the embodiment of the present application, the mobile terminal needs to include a fingerprint sensor, and the user enters the fingerprint feature through the fingerprint sensor. Fingerprint biometrics are widely used in mobile terminals, and users can enter fingerprints more conveniently and quickly. They only need to press their fingers on the fingerprint sensor to collect fingerprint biometrics. During the collection process, the direction of the finger can be easily adjusted to facilitate the fingerprint sensor to collect.
[0013] According to the first aspect or the first possible implementation method of the first aspect, in a second possible implementation method of the unlocking method of the smart door lock, the mobile terminal includes a face recognition camera; and the entering of the user's biometric features includes: entering facial features through the face recognition camera.
[0014] In the embodiment of the present application, the mobile terminal needs to include a face recognition camera, and the user enters the face biometric features through the face recognition camera. Face biometric features are also widely used on mobile terminals, and users can enter them more conveniently and quickly. They only need to point the face recognition camera at the face to collect face biometric features. If the current light is insufficient to enter the face biometric features, the user can carry the mobile device to a well-lit location to enter the face biometric features.
[0015] According to the first aspect or any implementation of the first aspect above, in a third possible implementation of the unlocking method of the smart door lock, the first operation is an operation of opening a target page of a target application, and the target application has a function of recording biometrics for the smart door lock; or, the first operation is an operation of opening a target application component, and the target application component has a function of recording biometrics for the smart door lock. The user can install the target application through an application market or an official download channel of the target application.
[0016] In the third possible implementation, the target application has the function of recording biometrics for the smart door lock, and opening the target page of the target application usually means that the user intends to open the smart door lock; or the target application component has the function of recording biometrics for the smart door lock, and opening the target application component also means that the user intends to open the smart door lock. This triggers the establishment of a close-range connection with the smart door lock and then records the biometrics and sends them to the smart door lock, effectively improving the unlocking efficiency and the convenience of user operation.
[0017] According to the third implementation method of the first aspect, in a fourth possible implementation method of the unlocking method of the smart door lock, the entering of the user's biometric features includes: entering the biometric features through the first interface of the target application or the target application component.
[0018] In the embodiment of the present application, the user can enter the biometric feature through the first interface of the target application or the target application component. The user opens the target application or the target application component and can enter the interface for entering the biometric feature to enter the biometric feature. The biometric feature entered in the first interface includes a face biometric feature and / or a fingerprint biometric feature.
[0019] According to the fourth implementation method of the first aspect, in a fifth possible implementation method of the unlocking method of the smart door lock, the first interface includes a control for entering the biometric feature; when connected to the smart door lock, the control for entering the biometric feature is usable; when not connected to the smart door lock, the control for entering the biometric feature is not usable.
[0020] In the embodiment of the present application, the first interface includes controls for entering the biometric features, such as a face biometric feature entry control and a fingerprint biometric feature entry control. When entering the biometric features, the user can select one of the biometric feature controls to enter the biometric features. When connected to the smart door lock, the control for entering the biometric features can be used. For example, if the user presses the fingerprint entry control with a finger, the control collects the user's fingerprint biometric features. If the user points the face entry control at the face, the control collects the user's face biometric features through the face recognition camera. When not connected to the smart door lock, the control for entering the biometric features cannot be used. Even if the user presses the fingerprint entry control with a finger or points the face entry control at the face, the control will not collect the user's biometric features.
[0021] According to the first aspect or any implementation of the first aspect above, in a sixth possible implementation of the unlocking method of the smart door lock, when the mobile terminal sends the biometric feature to the smart door lock, the biometric feature is an encrypted biometric feature.
[0022] In the embodiment of the present application, the mobile terminal encrypts the biometric feature and sends the encrypted biometric feature to the smart door lock to ensure that the transmission between the mobile terminal and the smart door lock is secure. Encrypting messages between devices is a common technical means. Even if the message is maliciously intercepted, the ciphertext cannot be decrypted without the key, which improves the security of the transmission.
[0023] According to the first aspect or any implementation of the first aspect above, in a seventh possible implementation of the unlocking method of the smart door lock, authenticating the user based on the biometric feature includes: the smart door lock sends the biometric feature to a server to authenticate the user through the server.
[0024] In the embodiment of the present application, the biometric features of the user are authenticated, and the biometric features can also be sent to the server through the smart door lock, and the user is authenticated by the server. If the chip of the smart door lock does not support biometric authentication, the biometric features can be sent to the server, and the authentication module of the server authenticates the biometric features. The smart door lock determines whether the authentication is passed based on the result returned by the server. In this application example, the smart door lock is only used as a transmission setting, and does not process computing capabilities such as authentication, which further reduces the power consumption of the smart door lock.
[0025] According to the first aspect or any implementation of the first aspect above, in an eighth possible implementation of the unlocking method of the smart door lock, the smart door lock does not include a collection device for recording biometrics.
[0026] In the embodiment of the present application, the smart door lock does not include a collection device for recording biometrics. For example, some low-end smart door locks do not have face recognition or even fingerprint recognition capabilities, but the chip in the smart door lock has digital information authentication capabilities. After the mobile terminal records the biometrics, it will be converted into digital information. The smart door lock can be authenticated through digital information, thereby expanding the biometric recognition capabilities of the smart door lock.
[0027] According to the first aspect or the first to seventh implementation methods of the first aspect, in a ninth possible implementation method of the unlocking method of the smart door lock, when the smart door lock authenticates the user, the collection device on the smart door lock for recording the biometric features is in a dormant state.
[0028] In an embodiment of the present application, when the smart door lock performs biometric authentication, the collection device used to enter biometrics on the smart door lock, such as a face recognition camera, a fingerprint sensor, etc., is not started. These devices are in a dormant state, further reducing the power consumption of the smart door lock.
[0029] In a second aspect, an embodiment of the present disclosure provides a method for unlocking a smart door lock, which is applied to a mobile terminal and includes:
[0030] When a first operation is detected, a detection message is initiated to establish a short-range connection with the smart door lock; after the short-range connection is established, the user's biometric features are entered; the biometric features are sent to the smart door lock through the short-range connection, and the biometric features are used by the smart door lock to authenticate the user and perform an unlocking operation when the authentication is successful.
[0031] According to the second aspect, in a first possible implementation of the unlocking method of the smart door lock, the mobile terminal includes a fingerprint sensor; and the entering of the user's biometric features includes: entering the fingerprint features through the fingerprint sensor.
[0032] According to the second aspect or the first implementation of the second aspect, in a second possible implementation of the unlocking method of the smart door lock, the mobile terminal includes a face recognition camera; and the entering of the user's biometric features includes: entering facial features through the face recognition camera.
[0033] According to the second aspect or any implementation of the second aspect above, in a third possible implementation of the unlocking method of the smart door lock, the first operation is an operation of opening a target page of a target application, and the target application has a function of recording biometrics for the smart door lock; or, the first operation is an operation of opening a target application component, and the target application component has a function of recording biometrics for the smart door lock.
[0034] According to a third implementation of the second aspect, in a fourth possible implementation of the unlocking method of the smart door lock, the entering of the user's biometric features includes: entering the biometric features through the target application or the first interface of the target application component.
[0035] According to the fourth implementation method of the second aspect, in a fifth possible implementation method of the unlocking method of the smart door lock, the first interface includes a control for entering the biometric feature; when connected to the smart door lock, the control for entering the biometric feature is usable; when not connected to the smart door lock, the control for entering the biometric feature is not usable.
[0036] According to the second aspect or any implementation of the second aspect above, in a sixth possible implementation of the unlocking method of the smart door lock, the biometric feature sent to the smart door lock is an encrypted biometric feature.
[0037] In a third aspect, an embodiment of the present disclosure provides a mobile terminal, comprising: a memory, wherein the memory is used to store computer program code, wherein the computer program code comprises instructions, and when the mobile terminal reads the instructions from the memory, the mobile terminal executes the method provided in the second aspect of the embodiment of the present application.
[0038] In a fourth aspect, an embodiment of the present disclosure provides a smart door lock unlocking system, the system comprising: a mobile terminal and a smart door lock; the mobile terminal is used to: initiate a detection message to establish a close connection with the smart door lock when a first operation is detected; and enter the user's biometric features after establishing the close connection; and send the biometric features to the smart door lock through the close connection. The smart door lock is used to: authenticate the user according to the biometric features after receiving the biometric features, and perform an unlocking operation when the authentication is successful.
[0039] According to the fourth aspect, in a first possible implementation of the smart door lock unlocking system, the smart door lock is specifically used to send the biometric feature to the server so as to authenticate the user through the server.
[0040] According to the first possible implementation method of the fourth aspect, in a second possible implementation method of the system, the smart door lock is also used to determine whether the biometric remote authentication switch is turned on, and when it is determined that it is turned on, send the biometric to the server to authenticate the user through the server.
[0041] According to the fourth aspect or any one of the implementations of the third aspect above, in a third possible implementation of the smart door lock unlocking system, the smart door lock does not include a collection device for recording biometric features.
[0042] According to the fourth aspect or any one of the implementations of the fourth aspect above, in a fourth possible implementation of the smart door lock unlocking system, when the smart door lock authenticates the user, the collection device for recording biometrics is in a dormant state.
[0043] In a fifth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, applied to a mobile terminal, comprising computer instructions. When the computer instructions are executed on the mobile terminal, the mobile terminal executes the method provided in the second aspect of the embodiment of the present application.
[0044] In a sixth aspect, an embodiment of the present disclosure further provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method provided in the second aspect of the embodiment of the present application.
[0045] It can be understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0047] Figure 1 A schematic diagram of the architecture of the smart door lock control device provided in an embodiment of the present application.
[0048] Figure 2 A possible structural diagram of the mobile terminal 100 provided in an embodiment of the present application.
[0049] Figure 3 A possible structural diagram of the smart door lock 200 provided in an embodiment of the present application.
[0050] Figure 4 A schematic flow chart of an unlocking method provided in the first embodiment of the present application.
[0051] Figure 5 This is a flow chart of the trust relationship binding between the mobile terminal and the smart door lock for this application.
[0052] Figure 6 A schematic diagram of a face recognition camera in a mobile terminal of the present application.
[0053] Figure 7A schematic diagram of a fingerprint sensor in a mobile terminal of the present application.
[0054] Figure 8 This is a schematic diagram of a target application program being grayed out in the mobile terminal of this application.
[0055] Fig. 9 This is a schematic diagram of expanding the biometric recognition function of the smart door lock in the mobile terminal of this application.
[0056] Fig.10 Schematic diagram of the face recognition camera and fingerprint sensor of the smart door lock for this application.
[0057] Fig.11 This is a schematic diagram of the encrypted transmission process between the mobile terminal and the smart door lock in this application.
[0058] Fig.12 This is a flow chart of the interaction between the smart door lock and the server for this application.
[0059] Fig.13 This is a configuration diagram for the biometric remote authentication of smart door locks for this application.
[0060] Fig.14 This is a structural diagram of the mobile terminal control device of this application. DETAILED DESCRIPTION
[0061] The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure. Among them, in the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0062] Smart door locks are composite locks that are different from traditional mechanical locks and are more intelligent in terms of user security, identification, and management. Smart door locks can be unlocked through biometric identification such as fingerprint recognition or face recognition, bringing convenience to users.
[0063] However, the biometric unlocking methods such as fingerprint recognition or face recognition of smart door locks bring convenience to users, but also increase the power consumption of smart door locks. According to big data statistics, unlocking the smart door lock through biometric features accounts for 60-70% of the total power consumption of smart door locks. Frequent use will shorten the battery life of smart door locks and affect the user experience.
[0064] Based on the above problems, an embodiment of the present application proposes a method for unlocking a smart door lock.
[0065] Figure 1 This is a schematic diagram of the architecture of the smart door lock control device provided in the embodiment of the present application. Figure 1 As shown, the smart door lock control device may include: a mobile terminal 100 and a smart door lock 200.
[0066] The mobile terminal 100 is a device with a biometric sensor. The mobile terminal may also be referred to as a terminal device, a user equipment (UE), an access terminal, a user unit, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent or a user device. The mobile terminal may also be a wearable device, such as a smart watch, a smart bracelet, etc. The embodiment of the present application does not impose any special restrictions on the specific form of the mobile terminal 100 that implements the technical solution.
[0067] The mobile terminal 100 can establish a short-range communication connection with the smart door lock 200, and exchange data through the established short-range communication connection, or exchange data between the mobile terminal 100 and the smart door lock 200 through a cloud device; wherein, the technology for establishing a short-range communication connection includes but is not limited to: wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT) technology and ultra-wide band (UWB) technology. The mobile terminal 100 and the smart door lock 200 can also establish a wired communication connection through a universal serial bus (USB) interface, etc., to provide a more flexible data transmission method.
[0068] See also Figure 2 , which is a possible structural diagram of the mobile terminal 100 provided in an embodiment of the present application.
[0069] The mobile terminal 100 may include a processor 110, an external memory interface 120, an internal memory 121, a USB interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0070] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the mobile terminal 100. In other embodiments of the present application, the mobile terminal 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0071] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0072] The controller may be the nerve center and command center of the mobile terminal 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0073] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0074] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the mobile terminal 100. While the charging management module 140 is charging the battery 142, it may also power the mobile terminal 100 through the power management module 141.
[0075] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0076] The wireless communication function of the mobile terminal 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0077] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the mobile terminal 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0078] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the mobile terminal 100. The mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.
[0079] The wireless communication module 160 can provide wireless communication solutions including WLAN (such as Wi-Fi network), Bluetooth, global navigation satellite system (GNSS), frequency modulation (FM), infrared technology (IR), ultra-wideband, etc. applied to the mobile terminal 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and filters it, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0080] The mobile terminal 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the mobile terminal 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0081] The mobile terminal 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.
[0082] The ISP is used to process data fed back by the camera 193. The camera 193 is used to capture static images or videos. The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. The video codec is used to compress or decompress digital videos.
[0083] The internal memory 121 may be used to store computer executable program codes, wherein the executable program codes include instructions. The processor 110 executes the instructions stored in the internal memory 121 to execute various functional applications and data processing of the mobile terminal 100.
[0084] The external memory interface 120 can be used to connect an external memory, such as a Micro SD card, to expand the storage capacity of the mobile terminal 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement a data storage function.
[0085] The mobile terminal 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor.
[0086] The key 190 includes a power key, a volume key, etc. The key 190 can be a mechanical key or a touch key. The mobile terminal 100 can receive key input and generate key signal input related to the user settings and function control of the mobile terminal 100. The motor 191 can generate a vibration prompt. The motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power changes, messages, missed calls, notifications, etc. The SIM card interface 195 is used to connect the SIM card. The mobile terminal 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
[0087] See also Figure 3 , which is a possible structural diagram of the smart door lock 200 provided in an embodiment of the present application. The smart door lock 200 may include: a processor 210, a memory 220, a power module 230, a USB interface 240, a communication module 250, an audio module 261, a speaker 262, a microphone 263, a button 271, a camera 272, a display screen 273 and a sensor module 280, etc. Among them, the sensor module 280 may include: a fingerprint sensor 281, a touch sensor 282 and a distance sensor 283, etc.
[0088] It is understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the smart door lock 200. In other embodiments of the present application, the smart door lock 200 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware. Each component may include one or more.
[0089] The processor 210 is the overall control unit of the smart door lock 200, which can be a processing unit such as a microcontroller unit (MCU) or a digital signal processor (DSP). The processor 210 can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0090] The memory 220 is used to store instructions and data, and the processor 210 executes various functional applications and data processing of the smart door lock 200 by running the instructions stored in the memory 220. For example, the processor 210 can execute the above-mentioned authentication and unlocking process by running relevant instructions.
[0091] The power module 230 is used to power the smart door lock 200, and may include a battery and a power management unit. The battery may include a rechargeable battery and / or a non-rechargeable battery. The power management unit may receive charging input from a wired charger through the USB interface 240, or may receive wireless charging input through a wireless charging coil, thereby charging the battery; and may monitor parameters such as battery capacity and battery health status. The power management unit may be an independent device or may be integrated in the processor 210.
[0092] The communication module 250 can provide wireless communication solutions including WLAN (such as Wi-Fi network), Bluetooth, IR, UWB and NFC applied to the smart door lock 200. The processor 210 can exchange data with the mobile terminal 100 through the communication module 250.
[0093] The smart door lock 200 can implement audio functions, such as voice prompts, voice collection and recognition, etc., through an audio module 261, a speaker 262, and a microphone 263.
[0094] The button 271 may be a mechanical button 271 or a touch button 271. The smart door lock 200 may receive the button 271 input and generate a key signal input related to the user settings and function control of the smart door lock 200. For example, the smart door lock 200 may perform password authentication on the password input by the user through the button 271, and perform related system settings according to the instructions input by the user through the button 271.
[0095] The camera 272 is used to capture static images or videos; the smart door lock 200 can implement functions such as monitoring, face collection and face authentication through the camera 272 and the processor 210.
[0096] The display screen 273 is used to display images and videos, etc. The smart door lock 200 can realize the display function through the display screen 273 and the processor 210.
[0097] The fingerprint sensor 281 is used to collect fingerprints. The smart door lock 200 can use the collected fingerprint characteristics to implement functions such as fingerprint authentication and unlocking.
[0098] The touch sensor 282 is used to detect touch operations acting on or near it. It can be set on the display screen 273 to form a touch screen with the display screen 273; it can also be set on the surface of the button 271 to form a touch key with the button 271; it can also be set on the handle to realize the above-mentioned induction unlocking function.
[0099] The distance sensor 283 is used to measure the distance. The distance sensor 283 can use infrared distance measurement, laser distance measurement or ultrasonic distance measurement technology to measure the distance. The specific algorithm used can be time of flight (TOF) distance measurement method or triangulation distance measurement method.
[0100] After the user has installed the smart door lock 200, the user can configure the smart door lock 200 through the relevant smart door lock management application on the mobile terminal 100, and establish a communication connection between the smart door lock 200 and the mobile terminal 100. Among them, the smart door lock management application can be an independent application or integrated in other applications.
[0101] After establishing a communication connection between the smart door lock 200 and the mobile terminal 100, the user can view the status information and lock opening and closing records of the smart door lock 200 through the application, and can also perform settings and control operations of the smart door lock 200 through the application.
[0102] For example, the user can use the application to set the authentication and unlocking methods of the smart door lock 200 inside and outside the door, set the authentication and unlocking method outside the door to a single or combined authentication method, and set the authentication and unlocking method inside the door to mechanical unlocking or induction unlocking.
[0103] Taking into account the influence of factors such as humid air and high temperature, the touch sensor 282 may have false detection, thereby causing the inductive unlocking function to be mistakenly triggered. In order to improve the safety of inductive unlocking inside the door, in the embodiment of the present application, the smart door lock 200 can perform distance detection through the above-mentioned distance sensor 283. In addition to touch sensing authentication, distance authentication is also performed, and automatic unlocking is performed when both authentications are passed.
[0104] The unlocking method provided by the embodiment of the present disclosure is described below in conjunction with the accompanying drawings, where the following smart door lock is the above-mentioned smart door lock 200, and the mobile terminal is the above-mentioned mobile terminal 100.
[0105] Figure 4 A schematic flow chart of a method for unlocking provided in the first embodiment of the present application, the method comprising the following steps:
[0106] S401, when detecting the first operation, the mobile terminal initiates a detection message to establish a close distance connection with the smart door lock.
[0107] Specifically, when the first operation is detected, a detection message is sent to the smart door lock, and the detection message includes user token information; after receiving the detection message sent by the mobile terminal, the smart door lock verifies the user token, and sends a return message to the mobile terminal after the verification is passed; when the mobile terminal receives the returned detection message, it determines that the smart door lock is detected and establishes a close-range connection with the smart door lock. The mobile terminal can be in a close-range network (such as connected to a Wi-Fi network), and when the first operation is detected, it sends a detection message to the smart door lock.
[0108] Specifically, the above-mentioned short-range connection may include Bluetooth connection and Wi-Fi protocol connection, etc. It can be understood that the above-mentioned Bluetooth connection and Wi-Fi protocol connection are only exemplary descriptions and do not constitute a limitation on the embodiments of the present application. In some embodiments, other types of short-range connections may also be included. When the mobile terminal connects to the smart door lock via Wi-Fi, the detection message (i.e., detection request message) initiated by the mobile terminal adopts the get method of the http protocol, that is, HTTP getrequest method to establish a connection; when the mobile terminal connects to the smart door lock via Bluetooth, the detection message (i.e., detection request message) initiated by the mobile terminal adopts the Bluetooth BLE4.0 protocol to establish a connection through PIN authentication.
[0109] In one implementation, the mobile terminal and the smart door lock are connected via the Wi-Fi protocol. The mobile terminal and the smart door lock can be directly connected to the wireless local area network through the Wi-Fi router and establish a connection relationship. The user does not need to purchase gateway devices of other wireless protocols separately. In addition, Wi-Fi has stronger wireless anti-interference, performance and security capabilities in complex wireless environments than protocols such as Bluetooth. It has high integration, low power consumption and small size. After being installed in the smart door lock, it will not significantly increase the product volume, which is more convenient.
[0110] In one embodiment, the first operation is an operation of opening a target page of a target application, and the target application has a function of recording biometric features for the smart door lock; or, the first operation is an operation of opening a target application component (Application Widget, App Widget), and the target application component has a function of recording biometric features for the smart door lock.
[0111] Specifically, the user needs to install the target application on the mobile terminal in advance. The target application can be downloaded from the application market or according to the requirements of the official guide of the smart door lock, and has the function of entering biometric features for the smart door lock, such as smart life and other applications. After the user installs the target application on the mobile terminal, when the mobile terminal enters the range where it can be connected to the smart door lock at close range, the user opens the target page of the target application, which can be the home page or a non-home page. If the target page is the home page, the target page can be opened by clicking the icon of the target application. If the target page is not the home page, the target page can be opened by operating other pages of the target application (such as the home page), or by clicking the shortcut of the target page. After the target page of the target application is opened, the mobile terminal initiates a detection message, establishes a close distance with the smart door lock, and enters fingerprint or face information through the target page of the target application.
[0112] Alternatively, the user performs an operation to open the target application component, which has the function of recording biometrics for the smart door lock. The user opens the target application component, the mobile terminal initiates a detection message, establishes a close distance with the smart door lock, and records fingerprint or face information through the target application component.
[0113] The so-called application component, which can also be called a card or service card or service component (Service Widget) or application widget or application small component, is a small window or widget provided by the business module A (business end, such as an application) of the electronic device on the interface of module B (host end, such as the desktop). Application components are usually used to display important information of the application (Application) on the desktop of the electronic device to realize a certain business feature of the application. Users can use application components through shortcut gestures to achieve the purpose of one-step direct access to services and reduce level jumps.
[0114] An application component is a form of interface display, which is usually customized independently by a third party (such as an application developer), that is, it is customized independently of the application corresponding to the application component. Among them, the application component can be used to be embedded in other applications as part of their interface display. For example, it can allow the user (such as a desktop application) to embed the application component into its own interface (such as embedded in the activity component of the Android operating system) for display. In other words, for any application, the application component corresponding to the application is independent of the application, that is, the application component corresponding to the application is not the application interface of the application, but the application component corresponding to the application can interact with the application to update or add important information or operations of the application to the application component, so as to achieve direct service and reduce the experience level. For example, an application component set based on the Android operating system can be called an ongoing card, and an application component set based on the Hongmeng operating system can be called a service card, such as formability (FA).
[0115] S402, the mobile terminal enters the user's biometrics after establishing a short-range connection.
[0116] Specifically, after the mobile terminal detects the first operation, it initiates a detection message to establish a close connection with the smart door lock, and then enters the user's biometrics. The mobile terminal is not limited to terminal devices such as smart phones, tablet computers, smart watches, etc. that have fingerprint sensors or face recognition cameras, and the entered biometrics include but are not limited to more commonly used biometrics such as fingerprints or faces.
[0117] The smart door lock can pre-store fingerprints of multiple fingers, so that users can select different fingers for remote unlocking when entering. After entering the fingerprint features, the mobile terminal extracts key data of the biometric features, such as fingerprint features, which will extract fingerprint terminal points, bifurcation points, divergence points, isolated points, ring points, short lines and other information for digital conversion to form digital information.
[0118] For the entry of facial feature roots, the user can enter the face into the face recognition window of the mobile terminal (such as the face recognition window of the target application installed on the mobile terminal). The face entered here is not a video or an image, but the 3D facial features of the current visitor are captured by the face recognition camera, and the digital information of the current facial features is generated. If a user attempts to enter biometric features through a face video or a face photo, the mobile terminal or the target application installed on the mobile terminal may not respond, and the entry in this case will be confirmed as illegal, and will not be entered as normal feature information.
[0119] In one implementation, the mobile terminal includes a face recognition camera, and recording the user's biometric features includes: recording facial features through the face recognition camera.
[0120] Specifically, the user turns on the face recognition camera in the mobile terminal and records the facial features through the face recognition camera. For example, the mobile terminal may be a smart phone, such as Figure 6 As shown, the smartphone is equipped with a face recognition camera for recording the user's facial biometric features and converting the recorded facial biometric features into digital information. If the facial biometric features cannot be recorded due to insufficient light, the user can carry the smartphone to a well-lit location to record the facial biometric features, which brings convenience to the user and improves the user experience.
[0121] In one implementation, the mobile terminal includes a fingerprint sensor, and entering the user's biometric features includes: entering the fingerprint features through the fingerprint sensor.
[0122] Specifically, the user turns on the fingerprint sensor in the mobile terminal and enters the fingerprint feature through the fingerprint sensor. For example, the mobile terminal may be a smart phone, such as Figure 7 As shown, a fingerprint sensor is provided on a smartphone for recording the user's fingerprint biometrics and converting the fingerprint biometrics into digital information. When recording fingerprint biometrics using a smartphone, the user can easily adjust the direction of the finger or the smartphone for the fingerprint sensor to collect. This solves the problem that the user cannot adjust the direction of the smart door lock due to the fixed position of the smart door lock and has to constantly adjust the direction of the finger, which affects the user experience.
[0123] Compared with other biometric features, such as iris, voiceprint, palmprint, etc., fingerprint and face are more commonly used, and it is more convenient for users to collect them when using mobile terminals.
[0124] In one implementation, the user may enter the user's biometrics through the first interface of the target application or target application component.
[0125] Specifically, the first interface may be a target page of a target application or a target application component, or may be an interface jumped to through the target page of the target application or the target application component.
[0126] In one embodiment, the first interface includes controls for entering biometrics; when connected to a smart door lock, the controls for entering biometrics are available; when not connected to a smart door lock, the controls for entering biometrics are not available.
[0127] Specifically, the first interface includes a control for entering fingerprint biometrics. The mobile terminal first displays the fingerprint entry control. When it is not connected to the smart door lock, the control for entering biometrics is not available, that is, the control is in a disabled state, which also becomes an unavailable state, and the user cannot operate the control. When the control is in a disabled state, the mobile terminal can display the control in a grayed-out manner. When the mobile terminal is connected to the smart door lock, the control for entering biometrics can be used. At this time, the fingerprint entry control changes to a normal state so that the control can be operated, that is, the user presses the fingerprint entry control with a finger, and the control collects the user's fingerprint.
[0128] like Figure 8 As shown, the mobile terminal is a smart phone. If the distance between the mobile terminal and the smart door lock is not within a certain distance range and a close distance connection is not established, even if the user opens the interface of the target application or target application component, the fingerprint entry button and the face recognition window area will be displayed in gray, indicating that biometrics cannot be entered.
[0129] When the mobile terminal approaches the smart door lock and establishes a close connection, the target application connects to the smart door lock, and the corresponding fingerprint entry button and face recognition window button or area return to normal, prompting the user to enter biometrics, indicating that the user can enter biometrics at this time.
[0130] In one embodiment, the smart door lock does not include a collection device for entering biometric features.
[0131] Specifically, the smart door lock expands the biometric recognition capability of the smart door lock through the biometric recognition capability of the mobile terminal. In this way, the smart door lock does not include a collection device for recording biometrics, but can still have biometric recognition capabilities. Fig. 9 When smart door locks do not have biometric recognition capabilities or only have one of the recognition functions, the biometric recognition capabilities of mobile terminals can be used to expand the biometric recognition functions of smart door locks. For example, some smart door locks do not have face recognition functions, and the face recognition device of the mobile terminal can be used for face entry. For lower-end door locks, even if there is no face recognition camera or even fingerprint sensor, the face and fingerprint entry capabilities of mobile terminals can enable lower-end smart door locks to have face recognition and fingerprint recognition capabilities.
[0132] This method utilizes the authentication capability of smart door locks. Generally, smart door locks have password digital authentication capabilities. After the biometrics are entered through the mobile terminal, they will be converted into digital information and sent to the smart door lock. The smart door lock uses its own authentication capability to authenticate whether the biometrics sent by the mobile terminal match the saved biometrics, thereby achieving the purpose of expanding the biometric recognition function of the smart door lock.
[0133] S403, the mobile terminal sends the biometric feature to the smart door lock via a short-range connection.
[0134] Specifically, the mobile terminal enters the user's biometric features, such as fingerprints, faces, etc. after establishing a close distance. After extracting key data and converting it into digital information, the biometric features are sent to the smart door lock through a close distance connection, such as WIFI, Bluetooth, etc.
[0135] In one embodiment, when the mobile terminal sends the biometric feature to the smart door lock, the biometric feature is an encrypted biometric feature.
[0136] Specifically, in order to improve the security transmission between the mobile terminal and the smart door lock, when the mobile terminal sends the biometric feature to the smart door lock, the biometric feature can be an encrypted biometric feature. That is, the mobile terminal sends the biometric feature of the recorded user to the smart door lock after encryption.
[0137] S404, the smart door lock authenticates the user based on the biometric features after receiving the biometric features.
[0138] Specifically, when a close-range connection is established, the smart door lock receives the biometric features entered by the mobile terminal and compares the received biometric features with the biometric features stored in the smart door lock. After receiving the biometric features entered by the mobile terminal, the smart door lock can also send the biometric features to the server to authenticate the user through the server. If the comparison is successful, it means that the authentication is passed, and the user is confirmed to be a trusted user; otherwise, it means that the authentication fails, and the user is confirmed to be an untrusted user.
[0139] In one embodiment, when the smart door lock authenticates the user, the collection device on the smart door lock for recording biometric features is in a dormant state.
[0140] Specifically, in order to further reduce the power consumption of smart door locks and improve the battery life of smart door locks, when the smart door lock authenticates the user's biometrics, the collection devices for recording biometrics on the smart door lock, such as fingerprint sensors and face recognition cameras, are in a dormant state.
[0141] like Fig.10 As shown, the face recognition camera and fingerprint sensor installed on the smart door lock are used to record face feature recognition and fingerprint features, respectively. Generally, when the user is within a preset distance in front of the smart door lock, such as within 3 meters, the smart door lock will start the dormant face recognition camera to record the face; or when the user approaches the door lock and presses his finger on the fingerprint sensor, the dormant fingerprint sensor will be started to record the fingerprint. In this embodiment, the biometric feature entry is performed by the mobile terminal instead of the smart door lock, and the smart door lock does not need to start the collection device for entering the biometric feature, which reduces the power consumption of the smart door lock.
[0142] In one embodiment, the method of authenticating the user based on biometric features also includes the smart door lock sending the biometric features to a server to authenticate the user through the server.
[0143] Specifically, the smart door lock receives the biometric features sent by the mobile terminal, and sends the received biometric features and door lock number to the server. After the server receives the biometric features and door lock number sent by the smart door lock, it confirms whether the association between the biometric features and the door lock number matches the association stored in the server. If they match, it confirms that the user authentication is successful.
[0144] S405, the smart door lock performs an unlocking operation when the authentication is passed.
[0145] When a user passes the biometric authentication of the smart door lock, he or she is confirmed as a trusted user, and the smart door lock performs the unlocking operation for the user.
[0146] Users can unlock the door without using the biometric recognition function of the smart door lock, and the smart door lock does not need to wake up the collection device with biometric features, which reduces the power consumption of the smart door lock and improves the battery life of the smart door lock. For mid- and low-end smart door locks, which are not equipped with face recognition cameras or even fingerprint sensors and other collection devices for recording biometric features, users can still unlock the door through mobile terminals and enjoy the convenience of using biometric features to unlock the door.
[0147] For example, Figure 5 As shown, when the mobile terminal establishes a close-range connection with the smart door lock, the user can bind the mobile terminal or the target application in the mobile terminal to the smart door lock in advance to avoid performing this operation every time the connection is made, thereby improving the unlocking efficiency. The specific steps are as follows:
[0148] S501, the mobile terminal establishes a close distance connection with the smart door lock.
[0149] S502, the mobile terminal sends a binding message to the smart door lock.
[0150] When the mobile terminal establishes a close-range connection with the smart door lock, such as a Wi-Fi network, the mobile terminal can scan the identification code of the smart door lock, which can be a QR code or other identification code. After scanning, the mobile terminal selects the operation of adding a smart door lock, and the mobile terminal sends a binding message to the smart door lock, wherein the binding message contains the device information of the mobile terminal.
[0151] S503, the smart door lock saves the mobile terminal information.
[0152] The smart door lock receives the binding message sent by the mobile terminal, obtains the device information of the mobile terminal from the binding message, and records the information of the mobile terminal in the smart door lock. Successful recording indicates that the smart door lock and the mobile terminal have completed the binding. Furthermore, the smart door lock can be set to bind multiple mobile terminals, and the number of bound mobile terminals can be pre-set, which is convenient for users to carry different mobile terminals to connect to the smart door lock for unlocking or other operations.
[0153] S504, the smart door lock sends a binding result message to the mobile terminal.
[0154] After the smart door lock successfully binds the mobile terminal, it sends a response message to notify the mobile terminal. If the binding is successful, it will be a success response message. After the mobile terminal receives the success response message, it will prompt the user that the mobile terminal is successfully bound and prompt the user to continue the next step of entering the biometric feature; if the binding fails, it will be a failure response message. The mobile terminal will prompt the user that the binding has failed and ask the user to repeat the binding operation or exit the binding operation.
[0155] Furthermore, if a network abnormality occurs, such as the mobile terminal is not within the connection range of the Wi-Fi, or there is network packet loss or delay, the mobile terminal cannot receive a response message from the smart door lock within the set timeout period, then the mobile terminal prompts the user that the binding failed due to network abnormality. The user can confirm that the short-range connection is successful and choose to rebind.
[0156] S505, the mobile terminal inputs biometrics.
[0157] After the mobile terminal is successfully bound to the smart door lock, the mobile terminal prompts the user to continue to enter the biometrics through the biometric sensor on the mobile terminal. For example, the user's fingerprint biometrics are entered through the fingerprint recognition sensor, or the user's face biometrics are entered through the face recognition camera. After the entry is completed, the mobile terminal converts the entered biometrics into digital information.
[0158] S506, the mobile terminal sends the biometric feature to the smart door lock.
[0159] The mobile terminal records the user's biometric features, and then sends the biometric features to the smart door lock. Furthermore, the sent biometric features can be encrypted to ensure the transmission security between the smart door lock and the mobile terminal.
[0160] S507, the smart door lock saves the biometric features.
[0161] The smart door lock receives the biometric feature sent by the mobile terminal. If the received biometric feature is encrypted, the ciphertext of the biometric feature needs to be sent to a decryption device, and the plaintext is obtained after being decrypted by the decryption device.
[0162] S508, the smart door lock sends a saving result message to the mobile terminal.
[0163] The smart door lock will receive the user's biometrics or the decrypted plain text and save it in the smart door lock for subsequent biometric authentication, and notify the mobile terminal of successful saving. If the saving fails, the mobile terminal will be notified to save, and the user will decide to continue entering the biometrics or exit the biometric entry.
[0164] Furthermore, if a network abnormality occurs, such as the mobile terminal is not within the connection range of the Wi-Fi, or there is network packet loss or delay, the mobile terminal cannot receive a response message from the smart door lock within the set timeout period, then the mobile terminal prompts the user that the biometric entry failed due to network abnormality. The user can choose to re-enter after confirming that the short-range connection is successful.
[0165] After completing the binding operation, the mobile terminal becomes a device trusted by the smart door lock. When the user brings the mobile terminal close to the smart door lock, there is no need to bind the association when establishing a close-range connection on the same wireless network, which brings convenience to the user.
[0166] For example, Fig.12 As shown, the smart door lock sends the biometric feature to the server to authenticate the user through the server. Specifically, before sending the biometric feature to the server for authentication, the smart door lock can first determine the biometric feature remote authentication switch of the smart door lock to control whether the smart door lock authenticates the biometric feature on the server. If the biometric feature remote authentication switch is turned off, the biometric feature authentication is performed locally on the smart door lock; if the biometric feature remote authentication switch is turned on, the biometric feature authentication is performed on the server.
[0167] When the biometric remote authentication switch is turned on, the smart door lock will enter the trusted user's biometrics when establishing a trust relationship with the mobile terminal, and send the association between the biometrics and the door lock number to the server for storage, so that the server can perform biometric verification. Fig.12 As shown, the specific steps are as follows:
[0168] S1201, the smart door lock receives the input biometric features.
[0169] The smart door lock receives the biometric feature sent by the mobile terminal. If the biometric feature is encrypted ciphertext, the smart door lock needs to decrypt it to obtain plaintext.
[0170] S1202, smart door lock encrypts biometrics.
[0171] The smart door lock encrypts the biometric features again and sends them to the server. To ensure security, the encryption key used for the ciphertext sent to the server must be independent and cannot be shared with the keys of other scenarios. The encryption operation is still performed in the TEE of the smart door lock.
[0172] Before sending the biometrics to the server, you need to set the biometric remote authentication switch on the target smartphone application in advance and turn it on. Fig.13 As shown in the figure, the biometric remote authentication switch can be set on the target application of the mobile terminal. The user opens the target application, connects to the smart door lock through a wireless network (such as Wi-Fi), and opens the setting page of the target application after confirming the connection to set the biometric remote authentication switch. The biometric remote authentication switch shown in the figure is in the on state.
[0173] S1203, the smart door lock sends the biometric features to the server.
[0174] The smart door lock sends the ciphertext of the biometric features and the door lock number to the server, where the smart door lock and the server communicate via a wireless network and use the https security encryption protocol to further ensure the security of the transmission.
[0175] S1204, the server decrypts the biometric digital information.
[0176] The server receives the encrypted biometric ciphertext sent by the smart door lock, decrypts the ciphertext through the decryption device, and obtains the corresponding plaintext.
[0177] S1205, matching pre-stored biological digital information.
[0178] The server confirms whether the association between the decrypted biometric feature and the door lock number matches the association stored in the server. If they match, the authentication is considered to be successful and the user is a trusted user; if they do not match, the authentication is considered to have failed and the user is an untrusted user.
[0179] S1206, return the authentication result.
[0180] The server sends an authentication result message to the smart door lock. If the server authentication is successful, a message is sent to notify the smart door lock to unlock the door; if the server authentication fails, a message is sent to notify the smart door lock of a biometric matching error and prompt the user of a biometric authentication error.
[0181] S1207, the smart door lock receives a successful matching message and performs an unlocking operation.
[0182] The smart door lock receives the successful matching message from the server and performs the unlocking operation.
[0183] For example, Fig.11 As shown, in order to improve the security transmission between the mobile terminal and the smart door lock, when the mobile terminal sends the biometric feature to the smart door lock, the biometric feature can be an encrypted biometric feature. That is, the mobile terminal sends the biometric feature of the input user to the smart door lock after encryption.
[0184] For example, the AES encryption algorithm can be used between the mobile terminal and the smart door lock. The encryption algorithm requires the use of a key to encrypt the biometric features. The encryption algorithm includes but is not limited to AES, and can also be a password-based key derivation function encryption algorithm PBKDF2 (Password-Based Key Derivation Function 2), an elliptic curve encryption algorithm ECC (Ellipse Curve Ctyptography) and other commonly used encryption algorithms. The key of the mobile terminal needs to be stored in a secure environment. If the mobile terminal includes a smart phone, a tablet computer, a smart watch, etc., the key will be stored in the trusted execution environment TEE (Trusted Execution Environment). TEE is a secure area on the main processor of the mobile device, which can ensure the security, confidentiality and integrity of the code and data loaded into the environment. TEE provides an isolated execution environment, and the security features provided include: isolated execution, integrity of trusted applications, confidentiality of trusted data, secure storage, etc. In general, the execution space provided by TEE provides a higher level of security than common mobile operating systems (such as iOS, Android, etc.); it provides more functions than secure elements SE (Secure Element, such as smart cards, SIM cards, etc.). The specific steps are as follows:
[0185] S1101, the mobile terminal control module sends the biometric features to the mobile terminal TEE.
[0186] After the mobile terminal enters the user's biometrics, the control module will send the biometrics to the TEE of the mobile terminal, which will perform encryption processing to ensure that the key acquisition and encryption are performed in a secure environment.
[0187] S1102, obtain the key in the mobile terminal TEE, using AES biometrics.
[0188] The TEE of the mobile terminal receives the biometric feature, obtains the key stored in the TEE, and uses the AES encryption algorithm to encrypt the ciphertext. The encryption algorithm is not limited to AES, and can also be PBKDF2, ECC and other commonly used encryption algorithms.
[0189] S1103, the mobile terminal TEE returns the biometric ciphertext.
[0190] After the mobile terminal TEE completes the encryption operation using the AES method, it sends the ciphertext to the mobile terminal control module. If the encryption operation fails or the obtained ciphertext is empty, a failure message needs to be sent to notify the mobile terminal that it needs to re-enter the biometrics or terminate the operation.
[0191] S1104, the mobile terminal sends the biometric ciphertext to the smart door lock control module.
[0192] After receiving the encrypted ciphertext, the mobile terminal control module sends the encrypted ciphertext to the smart door lock control module for authentication. Transmission through ciphertext is a common method of communication between devices. Even if the ciphertext is intercepted, it cannot be cracked without the key, which improves the security of transmission.
[0193] S1105, the smart door lock control module sends the biometric features to the smart door lock TEE.
[0194] After receiving the biometric ciphertext sent by the mobile terminal, the smart door lock control module sends the ciphertext to the TEE of the smart door lock, which decrypts it to ensure that the key acquisition and decryption are performed in a secure environment.
[0195] S1106, smart door lock TEE obtains the key and uses AES to decrypt the biometric digital information
[0196] After receiving the biometric ciphertext sent by the smart door lock control module, the smart door lock TEE obtains the key stored in the TEE and uses the AES decryption algorithm to decrypt the ciphertext. The decryption algorithm is the same as the encryption algorithm to ensure that the plain text can be obtained.
[0197] S1107, the smart door lock TEE compares the decrypted biometric plaintext.
[0198] After the smart door lock TEE completes the decryption operation, it compares the obtained biometric plaintext with the biometric stored in the smart door lock. If the comparison is successful, it means that the authentication is successful, then the user is confirmed as a trusted user, and the smart door lock is notified to perform the unlocking operation.
[0199] S1108, the smart door lock TEE notifies the smart door lock control module that the comparison is successful.
[0200] The smart door lock TEE successfully compares the biometric features, and the user is a trusted user, so it notifies the smart door lock control module to perform the unlocking operation.
[0201] S1109, the smart door lock control module executes unlocking.
[0202] The smart door lock control module performs the unlocking operation after receiving the unlocking notification sent by the smart door lock TEE.
[0203] It should be noted that all or part of the above embodiments provided in this application can be freely and arbitrarily combined with each other, and the combined technical solutions are also within the scope of this application.
[0204] In order to implement the functions of the method provided in the above embodiment of the present application, the mobile terminal or the second mobile terminal may include a hardware structure and / or a software module, and implement the above functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether a function of the above functions is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.
[0205] Fig.14 A schematic diagram of the structure of a mobile terminal control device provided in an embodiment of the present application, such as Fig.14 As shown, the device provided in this embodiment includes:
[0206] Processing module 1410, input module 1420, communication module 1430. Among them:
[0207] The processing module 1410 is used to support the mobile terminal to execute the processing operations in the steps of the methods in the above embodiments or other processes used for the technology described herein.
[0208] The input module 1420 is used to receive biometric input by the user on the mobile terminal, such as fingerprint input, face input, etc., and is also used to support the mobile terminal to execute the steps of receiving user operations in the above embodiments or other processes for the technology described in this article.
[0209] The communication module 1430 is used to support the mobile terminal to perform operations related to the communication process between other mobile terminals in the above embodiments or other processes used for the technology described herein.
[0210] The device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0211] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0212] Based on the above embodiments, the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a computer, the computer executes the method provided in the above embodiments.
[0213] A computer program product is also provided in an embodiment of the present application, including instructions, which, when executed on a computer, enable the computer to execute the method provided in the above embodiment.
[0214] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by instructions. These instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0215] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
Claims
1. A method for unlocking a smart door lock, characterized in that: The method comprises: When the mobile terminal detects the first operation, it initiates a detection message to establish a close distance connection with the smart door lock; The mobile terminal records the user's biometrics after establishing the short-range connection; The mobile terminal sends the biometric feature to the smart door lock via the short-range connection; The smart door lock authenticates the user according to the biometric feature after receiving the biometric feature; The smart door lock performs an unlocking operation when the authentication is passed.
2. The method according to claim 1, characterized in that The mobile terminal includes a fingerprint sensor; and the entering of the user's biometric features includes: entering the fingerprint features through the fingerprint sensor.
3. The method according to claim 1 or 2, characterized in that: The mobile terminal includes a face recognition camera; and the entering of the user's biological characteristics includes: entering the facial features through the face recognition camera.
4. The method according to any one of claims 1 to 3, characterized in that: The first operation is an operation of opening a target page of a target application, and the target application has a function of recording biometric features for the smart door lock; or, the first operation is an operation of opening a target application component, and the target application component has a function of recording biometric features for the smart door lock.
5. The method according to claim 4, characterized in that The biometric features of the user are input, including: The biometric feature is entered through the first interface of the target application or the target application component.
6. The method according to claim 5, characterized in that The first interface includes a control for entering the biometric feature; When connected to the smart door lock, the control for entering the biometric feature is usable; When not connected to the smart door lock, the control for entering the biometric feature is not available.
7. The method according to any one of claims 1 to 6, characterized in that: When the mobile terminal sends the biometric feature to the smart door lock, the biometric feature is an encrypted biometric feature.
8. The method according to any one of claims 1 to 7, characterized in that: The authenticating the user according to the biometric feature comprises: The smart door lock sends the biometric feature to a server to authenticate the user through the server.
9. The method according to any one of claims 1 to 8, characterized in that: The smart door lock does not include a collection device for entering biometric features.
10. The method according to any one of claims 1 to 8, characterized in that: When the smart door lock authenticates the user, the collection device on the smart door lock for recording the biometric features is in a dormant state.
11. A method for unlocking a smart door lock, characterized in that: The unlocking method is applied to a mobile terminal, and the method comprises: Initiating a detection message to establish a close distance connection with the smart door lock when the first operation is detected; Entering the user's biometrics after establishing the close proximity connection; The biometric feature is sent to the smart door lock through the short-range connection, so that the smart door lock authenticates the user according to the biometric feature and performs an unlocking operation when the authentication is successful.
12. The method according to claim 11, characterized in that The mobile terminal includes a fingerprint sensor; and the entering of the user's biometric features includes: entering the fingerprint features through the fingerprint sensor.
13. The method according to claim 11 or 12, characterized in that: The mobile terminal includes a face recognition camera; and the entering of the user's biological characteristics includes: entering the facial features through the face recognition camera.
14. The method according to any one of claims 11 to 13, characterized in that: The first operation is an operation of opening a target page of a target application, and the target application has a function of recording biometric features for the smart door lock; or, the first operation is an operation of opening a target application component, and the target application component has a function of recording biometric features for the smart door lock.
15. The method according to claim 14, characterized in that The biometric features of the user are input, including: The biometric feature is entered through the first interface of the target application or the target application component.
16. The method according to claim 15, characterized in that The first interface includes a control for entering the biometric feature; When connected to the smart door lock, the control for entering the biometric feature is usable; When not connected to the smart door lock, the control for entering the biometric feature is not available.
17. The method according to any one of claims 11 to 16, characterized in that: The biometric feature is sent to the smart door lock as an encrypted biometric feature.
18. A mobile terminal, characterized in that: include: A memory, wherein the memory is used to store computer program codes, wherein the computer program codes include instructions, and when the mobile terminal reads the instructions from the memory, the mobile terminal executes the method according to any one of claims 11 to 17.
19. A system for realizing intelligent door lock unlocking, characterized in that: The system comprises: a mobile terminal and a smart door lock; The mobile terminal is used to: initiate a detection message to establish a short-range connection with the smart door lock when a first operation is detected; and enter the user's biometric features after establishing the short-range connection; and send the biometric features to the smart door lock via the short-range connection. The smart door lock is used to: authenticate the user according to the biometric feature after receiving the biometric feature, and perform an unlocking operation when the authentication is successful.
20. The system according to claim 20, characterized in that The smart door lock is specifically used to send the biometric feature to the server so as to authenticate the user through the server.
21. The system according to claim 19 or 20, characterized in that The smart door lock does not include a collection device for entering biometric features.
22. The method according to any one of claims 19-20, characterized in that: When the smart door lock authenticates the user, the collection device on the smart door lock for recording biometric features is in a dormant state.
23. A computer-readable storage medium, applied to a mobile terminal, characterized in that: The method comprises computer instructions, and when the computer instructions are executed on the mobile terminal, the mobile terminal is caused to execute the method according to any one of claims 11 to 17.
Citation Information
Patent Citations
Method for intelligent door opening based on mobile phone shaking function
CN105488879A
AR-based home smart door lock interaction method, storage medium, and electronic device
CN110211265A
Intelligent door lock control method and system based on biological feature recognition
CN113205628A
Method for locking door by biometric information inmobile phone
KR1020050086140A
Roasting apparatus using far infrared radiation
KR102415215B1
Cited By
Man-machine cooperative charging management method and system based on intelligent door lock and storage medium
CN120422705A
