Control method, device, electronic device, smart door lock and storage medium
By acquiring the user's image and door handle current information, the smart door lock recognizes the user's intention and avoids automatically locking the main lock tongue every time the door is closed. This solves the problem of inconvenience in opening the door in the existing technology and improves the user experience.
Patent Information
- Application Number
- CN202211659428.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-22
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2042-12-22
AI Technical Summary
Existing smart door locks frequently cause the main lock tongue to step forward and retract when opening and closing the door, resulting in inconvenience in opening the door and a poor user experience.
By obtaining image information and door handle current information when the user closes the door, it identifies whether the user is a face and determines whether the hand has been placed on the door handle for a preset time. If the face is not recognized and the hand is not placed for a sufficient period of time, the door is locked only through the oblique lock tongue, preventing the main lock tongue from locking.
It improves the convenience of users opening the door, reduces waiting time, and improves user experience.
Smart Images

Figure CN116152959B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smart door locks, and in particular to a control method, device, electronic device smart door lock, and storage medium. Background Art
[0002] Currently, the smart door locks on the market include: oblique lock tongue, main lock tongue and reverse lock tongue. Figure 1 This is a schematic diagram of the structure of a smart door lock provided in the related art. Figure 1 As shown, the smart door lock provided in the related art is equipped with a motor control module to realize automatic control of the motor for unlocking and locking. However, its motor will control the main lock tongue of the lock body to lock. During the unlocking and locking process, the main lock tongue mechanism will frequently step and retract. There must be a certain rotation time, and it is necessary to wait for the main lock tongue to be fully opened before the door can be opened. Compared with the user's daily door opening and closing using only the door's oblique tongue to lock, it can be obviously found that the user experience of opening the door with automatic lock is poor. Summary of the Invention
[0003] In response to the problems in the above-mentioned related technologies, the present application provides a control method, device, electronic device, smart door lock and storage medium, which can avoid the problem of automatic locking of the main lock tongue every time the door is closed, causing inconvenience in opening the door, thereby improving the user experience.
[0004] This application provides a control method, comprising:
[0005] When the user closes the door, acquiring image information of the user and current information on the door handle on the door;
[0006] Determining whether a human face is recognized based on the image information, and determining whether the user's hand is placed on the door handle and whether the time the hand is placed on the door handle reaches a preset time based on the current information;
[0007] When no face is recognized and it is determined that the time the user's hand is placed on the door handle does not reach the preset time length, the smart door lock is controlled to execute the first locking mode, wherein, in the first locking mode, the smart door lock is locked by the oblique lock tongue of the smart door lock, and the main lock tongue of the smart door lock is not locked.
[0008] In some embodiments, the method further comprises:
[0009] When a human face is recognized and / or it is determined that the time the user's hand is placed on the door handle does not reach the preset time length, the smart door lock is controlled to execute a second locking model, wherein, in the case of the second locking model, the smart door lock is locked by the oblique lock tongue and the main lock tongue.
[0010] In some embodiments, obtaining the user's image information and the current information on the door handle includes:
[0011] The user's image information is obtained through a face recognition module, and the current information on the door handle on the door is obtained through a microcurrent sensor.
[0012] In some embodiments, the method further comprises:
[0013] Obtaining the switch status of the smart door lock;
[0014] When it is detected that the smart door lock is turned on, the face recognition module and the microcurrent sensor are started.
[0015] In some embodiments, determining whether the user's hand is placed on the door handle and determining whether the user's hand has been placed on the door handle for a preset time period based on the current information includes:
[0016] determining whether there is a current change based on the current information;
[0017] determining whether the user's hand is placed on the door handle based on whether there is a change in current;
[0018] The duration of the changed current is obtained, and based on the duration, it is determined whether the time the door handle is placed on the door handle reaches a preset time.
[0019] In some embodiments, controlling the smart door lock to execute the second locking model includes:
[0020] The motor of the smart door lock is controlled to start, so as to drive the main lock tongue to lock.
[0021] An embodiment of the present application provides a control device, including:
[0022] an acquisition module, configured to acquire image information of the user and current information on the door handle when the user closes the door;
[0023] a determination module, configured to determine whether a human face is recognized based on the image information, and to determine whether the user's hand is placed on the door handle and whether the hand has been placed on the door handle for a preset time period based on the current information;
[0024] A control module is used to control the smart door lock to execute a first locking mode when no face is recognized and it is determined that the time the user's hand is placed on the door handle does not reach the preset time length, wherein, in the first locking mode, the smart door lock is locked by the oblique lock tongue of the smart door lock, and the main lock tongue of the smart door lock is not locked.
[0025] An embodiment of the present application provides an electronic device, including:
[0026] A memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, any one of the control methods described above is executed.
[0027] An embodiment of the present application provides a smart door lock, including: the electronic device described above.
[0028] An embodiment of the present application provides a storage medium, which stores a computer program that can be executed by one or more processors and can be used to implement any of the control methods described above.
[0029] The present application provides a control method, device, electronic device smart door lock and storage medium, which obtains user image information and current information on the door handle on the door when the user closes the door; determines whether a face is recognized based on the image information, and determines whether the user's hand is placed on the door handle and whether the time it is placed on the door handle reaches a preset time based on the current information; if no face is recognized and it is determined that the time the user's hand is placed on the door handle does not reach the preset time, controls the smart door lock to execute a first locking mode, wherein, in the first locking mode, the smart door lock is locked by the oblique lock tongue of the smart door lock, and the main lock tongue of the smart door lock is not locked, which can avoid the problem of automatically locking the main lock tongue every time the door is closed, causing inconvenience in opening the door, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Hereinafter, the present application will be described in more detail based on embodiments with reference to the accompanying drawings.
[0031] Figure 1 This is a schematic diagram of the structure of a smart door lock provided in the related art;
[0032] Figure 2 A schematic diagram of an implementation flow of a control method provided in an embodiment of the present application;
[0033] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0034] In the drawings, like components are given like reference numerals, and the drawings are not drawn to scale. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solutions and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limiting this application. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0036] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0037] If similar descriptions of "first\second\third" appear in the application documents, the following explanation will be added. In the following description, the terms "first\second\third" are only used to distinguish similar objects and do not represent a specific order for the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0038] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.
[0039] Example 1:
[0040] To address the problems in the related art, embodiments of the present application provide a control method, which is applied to an electronic device, such as a mobile terminal, a computer, or a server. In some embodiments, the electronic device may be a controller for a smart door lock, which controls the main lock tongue by clicking. The functions implemented by the control method provided in embodiments of the present application can be implemented by a processor of the electronic device calling program code, wherein the program code can be stored in a computer storage medium.
[0041] The embodiment of the present application provides a control method, Figure 2 A schematic diagram of the implementation flow of a control method provided in an embodiment of the present application is shown in FIG. Figure 2 Shown, including:
[0042] Step S1: When a user closes a door, image information of the user and current information on the door handle on the door are obtained.
[0043] In an embodiment of the present application, the electronic device can be connected to a facial recognition module to obtain user image information through the facial recognition module. The facial recognition module can include a camera. The electronic device can be connected to a microcurrent sensor to obtain current information on the door handle. The microcurrent sensor can be installed on the door handle and generate current information when the user touches the door handle.
[0044] In some embodiments, the user can input the user's image information and the current information on the door handle through the APP.
[0045] In some embodiments, before step S1, the method further includes:
[0046] Step S11, obtaining the switch status of the smart door lock.
[0047] In an embodiment of the present application, the electronic device can obtain the status of the motor of the smart door lock to determine the switch status of the smart door lock.
[0048] Step S12: When it is detected that the smart door lock is turned on, the face recognition module and the microcurrent sensor are started.
[0049] In an embodiment of the present application, when the door is in a closed state, the face recognition module and the microcurrent sensor are also in a closed state, and the face recognition module and the microcurrent sensor are only started when the door is in an open state.
[0050] Step S2: determining whether a face is recognized based on the image information, and determining whether the user's hand is placed on the door handle and whether the time the hand is placed on the door handle reaches a preset time based on the current information.
[0051] In an embodiment of the present application, the electronic device can input image information into a neural network model to determine whether a face is recognized, and the neural network model can be trained using sample data.
[0052] In the embodiment of the present application, whether the face is recognized is determined to determine whether the user is facing the door when closing the door.
[0053] In an embodiment of the present application, it is possible to determine whether there is a current change based on the current information; determine whether the user's hand is placed on the door handle based on whether there is a current change; obtain the duration of the changed current, and determine whether the time placed on the door handle reaches a preset duration based on the duration.
[0054] In an embodiment of the present application, if a person's hand is placed on the door handle, the microcurrent sensor will detect the change in current and determine whether the user's hand is placed on the door handle based on the change in current. The duration of the changed current can be continuously detected, and by monitoring the duration, it can be determined whether the time the hand is placed on the door handle reaches a preset time. The preset time can be configured, for example, it can be 2 seconds. In an embodiment of the present application, the user can configure the preset time through the app.
[0055] Step S3, when no face is recognized and it is determined that the time the user's hand is placed on the door handle does not reach the preset time length, control the smart door lock to execute the first locking mode, wherein, in the first locking mode, the smart door lock is locked by the oblique lock tongue of the smart door lock, and the main lock tongue of the smart door lock is not locked.
[0056] In an embodiment of the present application, if no face is recognized and it is determined that the user's hand is placed on the door handle for less than the preset time period, that is, the user closes the door and leaves directly, it can be considered that the user has no intention of locking the main lock tongue. Therefore, only the oblique lock tongue is used to lock the door, and the main lock tongue is not locked.
[0057] The present application provides a control method, which obtains user image information and current information on the door handle on the door when the user closes the door; determines whether a face is recognized based on the image information, and determines whether the user's hand is placed on the door handle and whether the time the hand is placed on the door handle reaches a preset time based on the current information; if no face is recognized and it is determined that the time the user's hand is placed on the door handle does not reach the preset time, controls the smart door lock to execute a first locking mode, wherein, in the first locking mode, the smart door lock is locked by the oblique lock tongue of the smart door lock, and the main lock tongue of the smart door lock is not locked, which can avoid the problem of automatically locking the main lock tongue every time the door is closed, causing inconvenience in opening the door, thereby improving user experience.
[0058] In some embodiments, after step S2, the method further includes:
[0059] Step S4, when a human face is recognized and / or it is determined that the time the user's hand is placed on the door handle does not reach the preset time length, control the smart door lock to execute a second locking model, wherein, in the case of the second locking model, the smart door lock is locked by the oblique lock tongue and the main lock tongue.
[0060] In an embodiment of the present application, when a human face is recognized and / or it is determined that the time the user's hand is placed on the door handle does not reach the preset time length, it can be considered that the user has the intention to lock the main lock tongue, and the smart door lock is controlled to execute a second locking model, wherein, in the case of the second locking model, the smart door lock is locked by the oblique lock tongue and the main lock tongue.
[0061] In an embodiment of the present application, the motor of the smart door lock can be controlled to turn on to drive the main lock tongue to lock.
[0062] Example 2:
[0063] Based on the aforementioned embodiments, the embodiments of the present application further provide a control method, which mainly utilizes the combination of the smart door lock face recognition module and the microcurrent human body sensor to realize the characteristic intention recognition of the user after closing the door and actively control the opening and locking control of the smart door lock motor, so as to accurately obtain the user's locking intention, avoid automatically controlling the lock to rotate the three-level main lock tongue every time the door is closed, reduce the user's waiting time to open the door, and improve the user's experience of returning home.
[0064] The smart door locks provided in the embodiments of this application all feature a multi-module communication design. They enable data transmission and communication between modules via built-in UART, I2C, SPI, and other communication buses, and can aggregate data between modules to the module's main control chip. Using a facial recognition module and a microcurrent body sensor, they proactively determine the user's intention to lock the door, enhancing the user's door opening and closing experience.
[0065] In the embodiment of the present application, after the smart lock opens the door through the door opening button of the inner lock part inside the house or manually pressing the door handle, the main control can know the user's door opening action, wait for the user to go out, execute the door closing action, and start the face recognition module. Secondly, the human body microcurrent sensor built into the outer door handle can be used to know whether the user's hand is still on the door handle at this time. Combined with the face recognition screen, it can be known whether the user is facing the door lock. When the data of the two are unified and collected in the main control chip for processing, the user's intention to close the door and lock it at this time can be judged according to the different user status at this moment, and the automatic control motor can be realized to lock the main lock tongue.
[0066] In the local embedded system of a smart door lock, the door lock device includes a camera module and a microcurrent sensor module. The microcurrent sensor module is pre-installed in the door lock handle by default and wired to the door handle. The main control chip implements basic data communication through communication methods such as, but not limited to, I2C. The communication protocol is customized according to the logic of the main control chip. The current change in the door handle can be used to determine whether the user's hand is on the door handle and the time the user's hand has been on the door handle. Facial recognition is first used to determine whether the user's face is recognized to determine whether the user is facing the door lock. The main control program then analyzes the two signals and distinguishes between different states based on the conditions. If the user is facing the door lock and their hand is on the door handle, it determines that the user needs to lock the main deadbolt. The main program then controls the door lock motor to rotate, driving the main deadbolt stepping forward, achieving automatic locking. Conversely, if the user is not facing the door lock and the two pre-set conditions for the hand on the door handle duration are not met, it is determined that the user has no intention to lock the main deadbolt, and the main control does not execute the motor control action. If the two preset conditions are in an OR relationship and one of them is met, it can be determined that the user intends to lock the main lock tongue. At this time, the door lock will execute the motor-controlled locking action. This can achieve active judgment of the user's intention to close the door and lock and execute the corresponding locking operation.
[0067] For example, when a user leaves the house, they first press the door open button or turn the doorknob from inside. The door lock's main control program then receives a signal indicating the user has unlocked the door. The facial recognition module activates according to this pre-set condition, preparing to recognize the user's face outside. Once the user exits the house and turns to face the door lock, the lock captures the user's facial image and determines that the main deadbolt is locked, automatically executing the motor-controlled locking operation. If the user's face is not detected, but the microcurrent sensor detects a change in the level of placement and no change in departure, after a pre-set time, it is determined that the user's hand remains on the handle. The microcurrent sensor sends a signal to the main control program, also determining that the user intends to lock the door, and the locking action is executed. Conversely, if neither of these pre-set conditions is met, the user is determined to have no intention to lock the main deadbolt. The door lock then does not automatically lock, and the door is closed using the latch bolt of the lock body. This allows the user to simply wait for the latch bolt to rotate before opening the door, significantly improving the user experience.
[0068] Since the judgment and recognition of human features are relatively complex, the smart door lock device system must have logic that is not limited to feature recognition and active learning algorithms, so that the smart door lock device can identify user features, and this function can be manually calibrated through the mobile phone APP client. When errors occur in recognition, manual calibration can be performed to confirm whether it is the user himself, or the user can choose whether to turn on this function.
[0069] The control method provided in the embodiment of the present application has the advantage of being able to actively identify the user's locking intention, and can provide the user with a convenient door opening, unlocking, and door closing and locking experience.
[0070] Example 3:
[0071] Based on the foregoing embodiments, an embodiment of the present application provides a control device, wherein the modules included in the device and the units included in each module can be implemented by a processor in a computer device; of course, they can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital page display (DSP), or a field programmable gate array (FPGA), etc.
[0072] An embodiment of the present application provides a control device, including:
[0073] an acquisition module, configured to acquire image information of the user and current information on the door handle when the user closes the door;
[0074] a determination module, configured to determine whether a human face is recognized based on the image information, and to determine whether the user's hand is placed on the door handle and whether the hand has been placed on the door handle for a preset time period based on the current information;
[0075] A control module is used to control the smart door lock to execute a first locking mode when no face is recognized and it is determined that the time the user's hand is placed on the door handle does not reach the preset time length, wherein, in the first locking mode, the smart door lock is locked by the oblique lock tongue of the smart door lock, and the main lock tongue of the smart door lock is not locked.
[0076] In some embodiments, the control device is further configured to:
[0077] When a human face is recognized and / or it is determined that the time the user's hand is placed on the door handle does not reach the preset time length, the smart door lock is controlled to execute a second locking model, wherein, in the case of the second locking model, the smart door lock is locked by the oblique lock tongue and the main lock tongue.
[0078] In some embodiments, obtaining the user's image information and the current information on the door handle includes:
[0079] The user's image information is obtained through a face recognition module, and the current information on the door handle on the door is obtained through a microcurrent sensor.
[0080] In some embodiments, the control device is further configured to:
[0081] Obtaining the switch status of the smart door lock;
[0082] When it is detected that the smart door lock is turned on, the face recognition module and the microcurrent sensor are started.
[0083] In some embodiments, determining whether the user's hand is placed on the door handle and determining whether the user's hand has been placed on the door handle for a preset time period based on the current information includes:
[0084] determining whether there is a current change based on the current information;
[0085] determining whether the user's hand is placed on the door handle based on whether there is a change in current;
[0086] The duration of the changed current is obtained, and based on the duration, it is determined whether the time the door handle is placed on the door handle reaches a preset time.
[0087] In some embodiments, controlling the smart door lock to execute the second locking model includes:
[0088] The motor of the smart door lock is controlled to start, so as to drive the main lock tongue to lock.
[0089] It should be noted that, in the embodiment of the present application, if the above-mentioned control method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM, Read Only Memory), a magnetic disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.
[0090] Accordingly, an embodiment of the present application provides a storage medium on which a computer program is stored, characterized in that when the computer program is executed by a processor, the steps in the control method provided in the above embodiment are implemented.
[0091] Example 4
[0092] An embodiment of the present application provides an electronic device; Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the electronic device 500 includes: a processor 501, at least one communication bus 502, a user interface 503, at least one external communication interface 504, and a memory 505. The communication bus 502 is configured to enable communication between these components. The user interface 503 may include a display screen, and the external communication interface 504 may include a standard wired interface and a wireless interface. The processor 501 is configured to execute the control method program stored in the memory to implement the steps of the control method provided in the above embodiment.
[0093] It should be noted that the description of the above storage medium and electronic device embodiments is similar to the description of the above method embodiments and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
[0094] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments.
[0095] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, object, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, object, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of other identical elements in the process, method, object, or apparatus comprising the element.
[0096] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0097] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed across multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.
[0098] In addition, all functional units in the embodiments of the present application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the above-mentioned integrated units can be implemented in the form of hardware or in the form of hardware plus software functional units.
[0099] Those skilled in the art will understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROMs), magnetic disks, optical disks, and other media that can store program codes.
[0100] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling a controller to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks or optical disks.
[0101] The above is merely an embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A control method, characterized in that: include: Get the switch status of the smart door lock; When detecting that the smart door lock is opened, starting the face recognition module and the microcurrent sensor; When the user closes the door, the face recognition module is used to obtain the user's image information, and the micro-current sensor is used to obtain the current information on the door handle of the smart door lock; Determining whether a human face is recognized based on the image information, and determining whether the user's hand is placed on the door handle and whether the time the hand is placed on the door handle reaches a preset time based on the current information; When no face is recognized and it is determined that the time the user's hand is placed on the door handle does not reach the preset time length, the smart door lock is controlled to execute the first locking mode, wherein, in the first locking mode, the smart door lock is locked by the oblique lock tongue of the smart door lock, and the main lock tongue of the smart door lock is not locked.
2. The method according to claim 1, characterized in that The method further comprises: When a human face is recognized and / or it is determined that the time the user's hand is placed on the door handle does not reach the preset time length, the smart door lock is controlled to execute a second locking model, wherein, in the case of the second locking model, the smart door lock is locked by the oblique lock tongue and the main lock tongue.
3. The method according to claim 1, characterized in that The determining, based on the current information, whether the user's hand is placed on the door handle and whether the time the hand is placed on the door handle reaches a preset time period includes: determining whether there is a current change based on the current information; determining whether the user's hand is placed on the door handle based on whether there is a change in current; The duration of the changed current is obtained, and based on the duration, it is determined whether the time the door handle is placed on the door handle reaches a preset time.
4. The method according to claim 2, characterized in that The controlling the smart door lock to execute the second locking model includes: The motor of the smart door lock is controlled to start, so as to drive the main lock tongue to lock.
5. A control device, characterized in that: include: An acquisition module is used to obtain the user's image information through the face recognition module and obtain the current information on the door handle of the smart door lock through the microcurrent sensor; a determination module, configured to determine whether a human face is recognized based on the image information, and to determine whether the user's hand is placed on the door handle and whether the hand has been placed on the door handle for a preset time period based on the current information; a control module, configured to, if no face is recognized and it is determined that the time the user's hand is placed on the door handle does not reach the preset time length, control the smart door lock to execute a first locking mode, wherein, in the first locking mode, the smart door lock is locked by the oblique lock tongue of the smart door lock, and the main lock tongue of the smart door lock is not locked; The control module is also used to: obtain the switch status of the smart door lock; and start the face recognition module and the microcurrent sensor when it is detected that the smart door lock is turned on.
6. An electronic device, characterized in that: include: A memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the control method according to any one of claims 1 to 4 is executed.
7. A smart door lock, characterized in that: include: The electronic device according to claim 6.
8. A storage medium, characterized in that: The computer program stored in the storage medium can be executed by one or more processors and can be used to implement the control method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Smart Entry System
CN105730372A
Lock control method, lock, control device, door and storage medium
CN114445934A
Vehicle entry control system based on face recognition
CN214728672U