Door lock control method, intelligent door lock, storage medium and computer program product
By detecting the user's operating intentions in the smart door lock and using palm vein recognition technology for identity verification, the problem of false triggering of smart door locks is solved, achieving more efficient security and energy saving.
Patent Information
- Application Number
- CN202510509598.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-22
- Publication Date
- 2025-07-11
AI Technical Summary
When the smart door lock detects that the user is approaching, it is impossible to predict whether the user expects to perform authentication and unlock operations, or just stay, resulting in the incorrect activation of the authentication component.
By determining whether the target object has entered the set range and detecting whether there is an operating intention of the palm close to the door lock, using palm vein recognition technology for identity verification, the subsequent steps are activated only when confirming the user's intention to avoid accidental triggering.
It improves the safety and user experience of smart door locks, reduces energy consumption, prevents mistriggering, and enhances operational convenience and hygiene.
Smart Images

Figure CN120299116A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet of Things technology. Specifically, this application relates to a door lock control method, an intelligent door lock, an electronic device, a storage medium, and a computer program product. Background Art
[0002] With the rapid development of Internet of Things technology, the traditional access control system of keys and door locks is being replaced by intelligent door locks. Intelligent door locks integrate a variety of advanced technologies, such as BLE (Bluetooth Low Energy), IR (Infrared), and PIR (Passive Infrared Radiation). Intelligent door locks can achieve keyless entry, remote control, and real-time monitoring. Intelligent door locks greatly improve security and convenience, and are widely used in residential buildings, office buildings, and public places, providing users with a more intelligent and efficient access management solution.
[0003] Currently, intelligent door locks usually use technologies such as BLE, IR, and PIR to detect user movement. When a user approaches, the door lock will automatically activate the authentication component, and then use the authentication technology to authenticate the user, and then perform the corresponding unlocking operation according to the authentication result.
[0004] However, when a user approaches, the intelligent door lock cannot predict whether the user expects to perform authentication and unlocking operations, or just stay or pass by. As long as the user's approach is detected, the intelligent door lock will automatically activate the authentication component. Based on this, the problem that the intelligent door lock is prone to misactivate the component still needs to be solved. Summary of the Invention
[0005] This application provides a door lock control method, an intelligent door lock, an electronic device, a storage medium, and a computer program product respectively, which can solve the problem that the intelligent door lock in the related technology is prone to misactivate the component. The technical solutions are as follows:
[0006] According to one aspect of this application, a door lock control method includes: determining whether a target object enters a set range of the door lock; when it is detected that the target object enters the set range, determining the operation intention of the target object for the door lock by detecting whether there is a palm approaching the recognition area of the door lock; if it is determined that the target object has the operation intention of approaching the recognition area of the door lock with the palm, authenticating the target object using palm vein recognition technology; if the target object passes the authentication, controlling the door lock to perform a set operation.
[0007] According to one aspect of the present application, a door lock control device includes: a target determination module configured to determine whether a target object enters a set range of the door lock; an intention recognition module configured to, when detecting that the target object enters the set range, determine an operation intention of the target object on the door lock by detecting whether there is a palm approaching an identification area of the door lock; an identity authentication module configured to, if it is determined that the target object has an operation intention of approaching the identification area of the door lock with the palm, perform identity authentication on the target object by using palm vein recognition technology; and an operation execution module configured to, if the target object passes the identity authentication, control the door lock to execute a set operation.
[0008] In an exemplary embodiment, the target determination module is further configured to control the door lock to activate a first component and perform proximity detection on the target object within the set range through the first component; if the first component detects the target object within the set range, it is determined that the target object enters the set range.
[0009] In an exemplary embodiment, the intention recognition module is further configured to, if it is detected that the target object enters the set range, control the door lock to activate a second component; detect whether there is a palm approaching the identification area of the door lock through the second component, and determine whether the target object has an operation intention of approaching the door lock area with the palm.
[0010] In an exemplary embodiment, the intention recognition module is further configured to collect an image within the identification area of the door lock through the second component and determine whether there is a palm in the image; if there is a palm, determine whether distance information of the palm meets a first set condition; if the distance information of the palm meets the first set condition, determine that the target object has an operation intention of approaching the door lock area with the palm; or collect electric field change information within the identification area of the door lock through the second component, and if the electric field change information meets a second set condition, determine that the target object has an operation intention of approaching the door lock area with the palm.
[0011] In an exemplary embodiment, the intention recognition module is further configured to obtain environmental information; determine a current illumination condition according to the environmental information; according to the current illumination condition, control the second component to adaptively switch a working mode and collect an image of the palm in the corresponding working mode; the image is used to determine whether the target object has an operation intention of approaching the door lock area with the palm; different working modes are used to obtain an image with clarity meeting a set threshold under different illumination conditions.
[0012] In an exemplary embodiment, the illumination condition includes brightness information, and different working modes include a visible light mode and an infrared mode; the intention recognition module is further configured to, if the current illumination condition does not meet the set brightness threshold, control the second component to adaptively adjust to the infrared mode, and collect an image within the recognition area of the door lock in the infrared mode; if it is determined based on the image that the target object has an operation intention of bringing the palm close to the door lock area, the identity recognition module is further configured to continue collecting the recognition image of the palm in the infrared mode, extract palm vein features based on the recognition image, and identify the identity of the target object according to the palm vein features. If the identity of the target object conforms to the preset identity information, the target object passes the identity verification; the intention recognition module is further configured to, if the current illumination condition meets the set brightness threshold, control the second component to adaptively adjust to the visible light mode, and collect an image within the recognition area of the door lock in the visible light mode; if it is determined based on the image that the target object has an operation intention of bringing the palm close to the door lock area, the identity recognition module is further configured to control the second component to switch to the infrared mode, and collect the recognition image of the palm in the infrared mode, extract palm vein features based on the recognition image, and identify the identity of the target object according to the palm vein features. If the identity of the target object conforms to the preset identity information, the target object passes the identity verification.
[0013] In an exemplary embodiment, the intention recognition module is further configured to activate the light sensor component and collect the environmental information through the light sensor component; or determine the environmental information through the image collected by the second component.
[0014] According to one aspect of the present application, an intelligent door lock includes a first component, a second component, and a main control module; the first component is configured to determine whether a target object enters a set range of the door lock; the second component is configured to, when it is detected that the target object enters the set range, determine the operation intention of the target object for the door lock by detecting whether there is a palm close to the recognition area of the door lock; the main control module is configured to, if it is determined that the target object has an operation intention of bringing the palm close to the recognition area of the door lock, perform identity verification on the target object by using palm vein recognition technology; if the target object passes the identity verification, control the door lock to perform a set operation.
[0015] In an exemplary embodiment, the intelligent door lock further includes an environment collection component; the environment collection component is used to collect the environmental information where the door lock is located; the main control module is further configured to determine the current lighting condition according to the environmental information; according to the current lighting condition, control the second component to adaptively switch the working mode, and collect an image of the palm in the corresponding working mode; different working modes are used to obtain the image with clarity meeting the set threshold under different lighting conditions.
[0016] According to one aspect of the present application, an electronic device includes at least one processor and at least one memory, wherein a computer program is stored on the memory, and when the computer program is executed by the processor, the door lock control method as described above is implemented.
[0017] According to one aspect of the present application, a storage medium stores a computer program thereon, and when the computer program is executed by one or more processors, the door lock control method as described above is implemented.
[0018] According to one aspect of the present application, a computer program product includes a computer program, and when the computer program is executed by one or more processors, the door lock control method as described above is implemented.
[0019] The beneficial effects brought by the technical solution provided by the present application are:
[0020] In the above technical solution, when it is detected that the target object enters the set range, the operation intention of the target object for the door lock is determined. When it is determined that the target object has the operation intention of bringing the palm close to the door lock recognition area, the palm vein recognition technology is used to authenticate the identity of the target object, so as to control the door lock to execute the unlocking operation; the above process includes detecting the target object within the set range, determining the operation intention, and finally performing identity verification. Multiple steps cooperate for verification, and finally control the unlocking operation. The multi-step verification process is integrated into the same door lock control method. Only when the user's intention is confirmed will the subsequent steps be activated. Otherwise, the palm vein recognition and other identity verification modules will not be started, which can effectively prevent the door lock from being accidentally triggered, reduce energy consumption, and improve the security and user experience of the intelligent door lock. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments of the present application. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, without creative efforts, other drawings can be obtained according to these drawings.
[0022] Figure 1 It is a schematic diagram of the implementation environment related to the present application;
[0023] Figure 2 is a hardware structure diagram of an intelligent door lock shown according to an exemplary embodiment;
[0024] Figure 3 is a flowchart of a door lock control method shown according to an exemplary embodiment;
[0025] Figure 4 shows a specific implementation schematic diagram of proximity detection implemented using a UWB component;
[0026] Figure 5 shows a specific schematic diagram of determining an operation intention using a second component;
[0027] Figure 6 shows a specific implementation schematic diagram of switching the working mode of a second component;
[0028] Figures 7a to 7b is a specific implementation schematic diagram of a door lock control method in an application scenario;
[0029] Figure 8 is a structural block diagram of a door lock control device shown according to an exemplary embodiment;
[0030] Figure 9 is a structural block diagram of an electronic device shown according to an exemplary embodiment. Detailed implementation manners
[0031] The embodiments of the present application will be described in detail below. The examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be construed as a limitation to the present application.
[0032] Those skilled in the art of the present technology can understand that unless specifically stated otherwise, the singular forms "a", "an", "the" and "said" used herein may also include the plural forms. It should be further understood that the term "including" used in the specification of the present disclosure means the presence of the described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or their groups. It should be understood that when we say that an element is "connected" or "coupled" to another element, it can be directly connected or coupled to other elements, or there may also be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The phrase "and / or" used herein includes all or any unit and all combinations of one or more related listed items.
[0033] As described above, when the smart door lock detects that the user is approaching, the smart door lock cannot predict whether the user expects to perform an authentication and unlocking operation or is just staying. As long as the user's approach is detected, the smart door lock will automatically activate the authentication component.
[0034] Therefore, many door locks directly rely on a single proximity detection signal to trigger the system, lacking a further multi-step verification process. When a person approaches, it is impossible to predict whether the user is performing palm vein recognition, just staying, or wanting to perform other authentication methods. Then, it is easy to erroneously activate one or more authentication components and lack an additional security confirmation mechanism.
[0035] As can be seen from the above, there are still defects in the related art that the smart door lock is prone to erroneously activate the authentication component.
[0036] For this reason, the door lock control method provided in this application can effectively improve the accuracy of door lock control. Correspondingly, the door lock control method is applicable to a door lock control device, which can be deployed on an electronic device, and the electronic device can be a smart door lock.
[0037] To make the purpose, technical solution, and advantages of this application clearer, the following will further describe the embodiments of this application in detail with reference to the accompanying drawings.
[0038] Figure 1 It is a schematic diagram of the implementation environment involved in a door lock control method. The implementation environment at least includes a user terminal 110, a smart device 130, a server end 170, and a network device. In Figure 1 which, the network device includes a gateway 150 and a router 190, and this is not a specific limitation here.
[0039] Among them, the user terminal 110, which can also be considered as the user end or the terminal, can deploy (or understand as install) the client associated with the smart device 130. This user terminal 110 can be an electronic device such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart control panel, and other devices with display and control functions, and is not limited here.
[0040] Among them, the client, which is associated with the smart device 130, actually means that the user registers an account in the client and configures the smart device 130 in the client. For example, the configuration includes adding a device identifier to the smart device 130, so that when the client runs in the user terminal 110, it can provide functions such as device display and device control for the user. This client can be in the form of an application program or a web page. Correspondingly, the interface for the client to display the device can be in the form of a program window or a web page, and this is not limited here either.
[0041] The intelligent device 130 is deployed in the gateway 150 and communicates with the gateway 150 through the communication module configured in itself, and thus is controlled by the gateway 150. It should be understood that the intelligent device 130 generally refers to one of multiple intelligent devices 130. The embodiments of the present application only take the intelligent device 130 as an example for illustration. That is, the embodiments of the present application do not limit the number and device type of the intelligent devices deployed in the gateway 150. In an application scenario, the intelligent device 130 accesses the gateway 150 through a local area network, so as to be deployed in the gateway 150. The process of the intelligent device 130 accessing the gateway 150 through the local area network includes: the gateway 150 first establishes a local area network, and the intelligent device 130 joins the local area network established by the gateway 150 by connecting to the gateway 150. This local area network includes but is not limited to: ZIGBEE or Bluetooth. Among them, the intelligent device 130 can be an intelligent printer, an intelligent fax machine, an intelligent camera, an intelligent air conditioner, an intelligent door lock, an intelligent light, or a human body sensor, a door and window sensor, a temperature and humidity sensor, a water immersion sensor, a natural gas alarm, a smoke alarm, a wall switch, a wall socket, a wireless switch, a wireless wall sticker switch, a magic cube controller, a curtain motor, a millimeter wave radar, etc. configured with a communication module.
[0042] The interaction between the user terminal 110 and the intelligent device 130 can be realized through a local area network or through a wide area network. In an application scenario, the user terminal 110 establishes a wired or wireless communication connection with the gateway 150 through the router 190. For example, the wired or wireless method includes but is not limited to WIFI, etc., so that the user terminal 110 and the gateway 150 are deployed in the same local area network, and thus the user terminal 110 can realize the interaction with the intelligent device 130 through the local area network path. In another application scenario, the user terminal 110 establishes a wired or wireless communication connection with the gateway 150 through the server side 170. For example, the wired or wireless method includes but is not limited to 2G, 3G, 4G, 5G, WIFI, etc., so that the user terminal 110 and the gateway 150 are deployed in the same wide area network, and thus the user terminal 110 can realize the interaction with the intelligent device 130 through the wide area network path.
[0043] Among them, the server side 170 can also be considered as the cloud, the cloud platform, the platform side, the service side, etc. This server side 170 can be a single server, or a server cluster composed of multiple servers, or a cloud computing center composed of multiple servers, so as to better provide background services for a large number of user terminals 110. For example, the background services include door lock control services.
[0044] In an application scenario, the intelligent device 130 can be an intelligent door lock.Figure 2 The structural block diagram of an intelligent door lock is shown, as Figure 2 shown, the intelligent door lock includes a first component, a second component and a main control module. Among them, the first component is used to determine whether a target object enters the set range of the door lock; the second component is used to determine the operation intention of the target object on the door lock by detecting whether there is a palm approaching the recognition area of the door lock when it is detected that the target object enters the set range; the main control module is used to perform identity verification on the target object using palm vein recognition technology if it is determined that the target object has the operation intention of approaching the recognition area of the door lock with the palm; if the target object passes the identity verification, the main control module controls the door lock to perform the set operation.
[0045] Among them, the first component is a proximity detection sensor installed on the intelligent door lock. The proximity detection sensor can maintain a continuous working state, be used to detect the approach of the target object, and compare it with the set distance threshold (trigger distance) to determine whether the target object approaches the intelligent door lock. Among them, the target object can be a person or a pet, etc.
[0046] The first component can be a single proximity detection sensor (such as UWB, IR, PIR, NIR, Bluetooth, NFC, etc.), or a combination of multiple proximity detection sensors. By combining multiple proximity detection sensors to achieve proximity detection and automatically detecting the behavior of the target object approaching the door lock, it can ensure effective detection of the approach behavior of the target object under different ambient lights, different distances or different angles.
[0047] In a possible implementation, the first component selects a UWB (Ultra Wide Band) sensor to detect the approach of the target object to the intelligent door lock through the UWB sensor and accurately judge the distance and position of the target object. Specifically, the UWB sensor can be used to send low-power wireless signals and detect the approach of the target object through the echo signal. Proximity detection based on IR or PIR is easily affected by environmental temperature, light and other moving objects, resulting in a relatively high probability of accidentally activating other components. Proximity detection such as Bluetooth or NFC requires specific devices (such as mobile phones or cards) to be equipped, and does not have the convenience of passive detection. The situation of accidental activation not only increases battery consumption, but may also lead to a poor experience for the target object and reduce the actual application security of the door lock. In this embodiment, the UWB signal is detected in real time by the UWB to judge whether the target object enters the set range of the door lock, realizing high-precision proximity detection and effectively reducing the situation of false triggering. The UWB sensor can accurately judge the target distance and has strong anti-interference ability, which is suitable for detecting the approach of the target object in outdoor environments. Compared with traditional infrared detection sensors or Bluetooth sensors for proximity detection, the UWB sensor has stronger anti-interference and accuracy.
[0048] When the first component detects that the target object enters the set range of the smart door lock (for example, the UWB sensor detects that the approach distance of the target object meets the distance threshold), the power of the second component is turned on to communicate with the second component, and the second component is started and detects whether there is a palm approaching the recognition area of the smart door lock to determine the target object's intention to operate the door lock. The second component can be a camera component, and by starting the camera component and acquiring the image in front of the smart door lock, it can detect whether there is a palm approaching the recognition area of the smart door lock, thereby determining the target object's intention to operate the door lock.
[0049] When the main control module determines that the target object intends to place the palm close to the recognition area of the door lock, it uses palm vein recognition technology to authenticate the target object; if the target object passes the identity authentication, the door lock is controlled to perform the set operation (such as unlocking the door).
[0050] In one possible implementation, the smart door lock also includes an environment acquisition component; the environment acquisition component is used to collect environmental information of the door lock; the main control module is also used to determine the current lighting conditions based on the environmental information; according to the current lighting conditions, the second component is controlled to adaptively switch the working mode, and the image of the palm is collected in the corresponding working mode, and the image is used to determine whether the target object has the intention to move the palm close to the door lock area; different working modes are used to obtain images with clarity that meets the set threshold under different lighting conditions.
[0051] The environment acquisition component can be used to further collect environmental information about the smart door lock, determine the lighting conditions based on the environmental information, and automatically switch the camera to day mode or night vision mode based on the lighting conditions to adapt to image acquisition requirements under different lighting conditions.
[0052] In one possible implementation, the environment collection component may be a separate ambient light sensor, which collects the environment information of the smart door lock through the separate ambient light sensor.
[0053] In another possible implementation, the environment acquisition component can be the same as the second component, that is, the environment information of the smart door lock is collected through the camera. Specifically, the light conditions can be judged by the light sensing algorithm of the camera, so that the camera automatically switches to the appropriate working mode according to the light conditions. The second component / environment acquisition component can use a high-resolution camera that supports visible light mode and infrared (night vision) mode to ensure that images with clarity that meets the set threshold are collected under different lighting conditions.
[0054] Through dynamic working mode switching, the second component can adapt to different lighting conditions. In particular, the introduction of the infrared night vision mode enables the system to clearly obtain images and palm vein features within the door lock recognition area even in low-light environments. By irradiating the palm with an infrared light source, the vein image inside the palm is extracted and feature comparison is performed to authenticate the target object. The target object does not need to touch the door lock and is automatically unlocked after completing the authentication through proximity detection and vein recognition. This feature improves the operation convenience of the target object, reduces physical contact, and enhances hygiene and safety.
[0055] The overall design of the smart door lock in this application is in a low-power mode. Only when it is determined that the target object is approaching and identity verification is required, high-power modules such as the camera are activated. By optimizing the battery management system, the battery life of the system can be extended.
[0056] Please refer to Figure 3 , this application embodiment provides a door lock control method, which is applicable to an electronic device. For example, the electronic device can be Figure 1 the smart device 130 in the shown implementation environment. The hardware structure of the electronic device can be as Figure 2 shown.
[0057] In the following method embodiments, for the convenience of description, the execution subject of each step of the method is taken as an example of an electronic device for illustration, but this is not a specific limitation.
[0058] As Figure 3 shown, the method may include the following steps:
[0059] Step 310, determine whether the target object enters the set range of the door lock.
[0060] Among them, the target object can refer to a person, an animal, etc. For example, the target object is a user, and this is not limited here.
[0061] Regarding the set range, it can refer to the range within which the door lock can detect the target object. The size of the set range is related to the hardware of the door lock and can also be set according to the user's needs, and this is not limited here.
[0062] Regarding determining the target object, it can be realized by the first component of the door lock performing proximity detection within the set range. The first component can refer to a component with the ability to detect the target object. For example, the first component is a UWB component, a PIR component, an IR component, etc., and this is not specifically limited here.
[0063] Furthermore, the first component can also refer to a component with a communication function. For example, the first component is a Bluetooth component, a WIFI component, an NFC component, etc., and this is not limited here.
[0064] In a possible implementation, it can be determined whether the target object enters the set range of the door lock by checking whether a communication connection is established between the Bluetooth component of the door lock and the Bluetooth component of the client carried by the target object. Specifically, when a communication connection is established between the Bluetooth component of the door lock and the Bluetooth component of the client carried by the target object, it can be regarded that the target object has entered the set range of the door lock.
[0065] Step 330, when it is detected that the target object enters the set range, determine the operation intention of the target object for the door lock by detecting whether there is a palm approaching the recognition area of the door lock.
[0066] Among them, the recognition area may refer to the area where the door lock can detect the approach of the user's palm. The operation intention may indicate the set operation that the user expects the door lock to execute when indicating to perform a certain operation or action, for example, an unlocking operation.
[0067] It should be understood that when people use a door lock, there is a relatively consistent natural movement habit. When a person approaches the door lock, if there is no operation intention, generally they walk past the door and stand beside the door, etc.; if a person has a clear operation intention, the next action is often to reach out and touch the door lock or the doorknob.
[0068] Based on this, if the target object enters the set range of the door lock, it does not mean that the target object has an operation intention. If the target object is just a passerby, it can be understood that the passerby should have no operation intention; if the palm of the target object approaches the recognition area of the door lock, it can indicate that the user has an operation intention and expects the door lock to execute the set operation.
[0069] Then, by detecting whether there is a palm approaching the recognition area of the door lock to determine the operation intention of the target object for the door lock, it can effectively prevent the door lock from wrongly activating components such as the identity verification component, thereby reducing energy consumption.
[0070] Step 350, if it is determined that the target object has the operation intention of bringing the palm close to the recognition area of the door lock, use the palm vein recognition technology to authenticate the identity of the target object.
[0071] Specifically, when the target object enters the set range of the door lock and it is detected that its palm approaches the recognition area of the door lock, it can be considered that the target object has the intention of performing the set operation on the door lock (such as an unlocking operation or hoping to perform palm vein verification for unlocking). To achieve the identity recognition of the target object and thus determine whether it has the permission to operate the door lock, the identity of the target object can be authenticated based on the palm vein recognition technology.
[0072] Regarding the palm vein recognition technology, it is a biometric recognition method based on the distribution characteristics of the blood vessels in the human palm.
[0073] In a possible implementation, a second component for collecting palm vein images (such as a near-infrared camera component) is integrated in the recognition area of the door lock. The second component can collect the palm vein information of the target object when the target object brings the palm close to the door lock, and compare the collected palm vein information with the pre-registered palm vein template to complete the authentication operation of the target object.
[0074] Step 370, if the target object passes the authentication, control the door lock to perform a set operation.
[0075] Among them, the set operation refers to the operation performed by the door lock after the target object passes the authentication, such as the unlocking operation; the set operation can be configured by the user himself or pre-configured by the manufacturer, which is not limited here.
[0076] It should be noted that the set operation can be a series of operations. For example, after the target object passes the authentication, the door lock performs an unlocking operation, displays an unlocking prompt message, and sends the information of "user arrives home" to the gateway, so that the gateway controls the intelligent devices connected to it to perform operations, such as controlling the intelligent light to turn on, etc., which is not limited here.
[0077] In summary, when the target object passes the authentication, it indicates that the palm vein information of the target object matches the palm vein template of the pre-registered legitimate user. The control module will control the door lock to perform the set operation corresponding to the operation intention, such as the unlocking operation; if the authentication fails, the set operation will not be performed.
[0078] For example, if the target object passes the authentication, the door lock will automatically unlock and display an unlocking prompt message of "Authentication passed, the door lock has been unlocked"; if the target object fails the authentication, the door lock will display a verification failure message of "Authentication failed, please try again" or "Unauthorized".
[0079] Through the above process, when it is detected that the target object enters the set range, the operation intention of the target object for the door lock is determined. When it is determined that the target object has the operation intention of bringing the palm close to the door lock area, the palm vein recognition technology is used to authenticate the target object, so as to control the door lock to perform the unlocking operation; the above process integrates multiple steps of verification, from detecting the target object in the set range, to determining the operation intention, and finally to authentication, and finally controls the unlocking operation. The multi-step verification process is integrated in the same door lock control method. Only when the user intention is confirmed will the subsequent steps be activated. Otherwise, the palm vein recognition and other recognition modules will not be started, which can effectively prevent the door lock from being accidentally triggered, reduce energy consumption, and improve the security and user experience of the intelligent door lock.
[0080] In an exemplary embodiment, step 310 may further include the following steps: controlling the door lock to activate the first component, and performing proximity detection on the target object within a set range through the first component; if the first component detects the target object within the set range, it is determined that the target object enters the set range.
[0081] Wherein, the first component may refer to a component capable of detecting the proximity of the target object. For example, a UWB component, a PIR component, an IR component, a camera component, an audio recognition component, a laser range finder sensor component, etc., which are not specifically limited herein.
[0082] In a possible implementation, the first component is a UWB component, which can be used to achieve high-precision proximity detection of the target object. The door lock is configured with a UWB component, and the user device (such as a smartphone, a smart bracelet, etc.) carried by the target object is also integrated with a UWB component. When the user enters the set range of the UWB component, the door lock can perform time-of-flight (ToF) ranging through UWB bidirectional communication, and then determine whether the target object is approaching the door lock. This method has advantages such as centimeter-level positioning accuracy, strong penetration, and strong anti-interference ability.
[0083] In a possible implementation, the first component is a PIR component or an IR component. The above components can judge whether the target object is approaching the door lock by detecting whether there is a human body moving heat source within the set range based on the characteristics of human body infrared radiation. When it is detected that the infrared signal changes, the system can judge that the target object enters the set range. This method has the advantages of fast response speed, low power consumption, and low cost, and is suitable for being deployed in a door lock system oriented to energy conservation.
[0084] In a possible implementation, the first component is a camera component. The camera component can collect image or video data of the set area of the door lock in real time, and judge whether there is a target object approaching the door lock by means of image recognition or target detection algorithms. For example, by using an edge computing module to identify whether a human body contour, face, or other specific moving targets appear in the picture, so as to confirm whether the target object enters the set range. This method can provide high recognition accuracy and environmental adaptability, and is especially suitable for application scenarios with high security requirements.
[0085] In a possible implementation, the first component is an audio recognition component. The audio recognition component can judge whether the target object is approaching based on the echo detection of audio signals (such as sound waves or ultrasonic waves). For example, by emitting an audio wave with a certain frequency and receiving its reflected signal, the distance between the target object and the door lock is judged according to the intensity and time delay of the reflected signal. This method is simple to implement and has a low cost, and is suitable for intelligent door lock systems with short distance requirements and limited budgets.
[0086] In a possible implementation, the first component is a laser ranging sensor component. The laser ranging sensor component can calculate the distance between the target object and the door lock by emitting a laser beam and measuring the time required for its reflection. This method has the advantages of high detection accuracy, fast response speed, and a wide applicable distance range, and is especially suitable for deployment in high-end intelligent door locks to provide more accurate proximity detection capabilities.
[0087] Figure 4 A schematic diagram of using a UWB component to achieve proximity detection is shown in Figure 4 As shown, when a user enters the set range (i.e., the trigger distance in the figure) with a smartphone configured with a UWB component, the door lock can use two-way communication for time-of-flight ranging through the UWB component, and then determine that the target object is approaching the door lock. At this time, the intelligent display screen of the door lock shows a welcome message, for example, "Welcome" or "Detecting", etc., to enhance the user interaction experience.
[0088] Under the action of the above embodiments, by using any of the above first components as the means for detecting the approach of the target object, the system can timely and accurately detect the approach behavior when the target object enters the set range of the door lock, and trigger subsequent operations such as wake-up, interaction prompt, or identity authentication, so as to efficiently identify the approach behavior of the target object, enhance the user interaction experience, and also reduce the power consumption and false trigger rate of the system, and improve the intelligent level and reliability of the door lock system.
[0089] In an exemplary embodiment, step 330 may further include the following steps: If it is detected that the target object enters the set range, then control the door lock to activate the second component; detect whether there is a palm approaching the recognition area of the door lock through the second component to determine whether the target object has the operation intention of approaching the door lock area.
[0090] Among them, the second component can be used to detect whether the user's palm approaches the recognition area of the door lock. The second component can be a camera component, or a camera component integrated with an intelligent sensor, which is not limited here.
[0091] In a possible implementation, the second component can be an infrared camera. The infrared camera detects whether there is a target with human thermal characteristics approaching by collecting infrared images of the recognition area, and then determines whether it is the user's palm. The infrared camera does not rely on visible light and is suitable for night or low-light environments, which can improve the all-weather recognition ability.
[0092] In a possible implementation, the second component can be a camera integrated with a capacitive contact sensor. The capacitive contact sensor can be used to detect capacitance changes caused by the approach of a palm near the recognition area, especially the electrophysiological signal disturbances caused when the palm approaches the surface of the door lock. The combination of the camera and the capacitive sensor can achieve dual judgment of images and physiological signals, improving the accuracy of palm approach behavior recognition.
[0093] In a possible implementation, the second component can be a camera integrated with a temperature sensor. The temperature sensor can be used to sense changes in the temperature near the recognition area, and then determine whether a user's palm is approaching. For example, when the temperature in the recognition area suddenly rises, combined with the palm shape features detected in the image, it can be inferred that the target object has an operation intention. This method is particularly suitable for scenarios with high requirements for environmental interference robustness.
[0094] Figure 5 A schematic diagram of using the second component to determine the operation intention is shown in Figure 5 As shown, the user brings the palm close to the door lock, and the second component confirms the user's operation intention. At this time, the screen of the door lock shows "Please align the palm with the camera" or "Palm detection in progress".
[0095] Under the action of the above embodiments, through the second component, it is possible to further determine whether the target object has an operation intention after it enters the set range, improve the accuracy and robustness of operation behavior recognition, and provide a pre-judgment basis for subsequent identity verification, constructing a more efficient interaction process.
[0096] In an exemplary embodiment, the above method may further include the following steps:
[0097] Collect an image within the recognition area of the door lock through the second component, and determine whether there is a palm in the image; if there is a palm, determine whether the distance information of the palm meets the first set condition; if the distance information of the palm meets the first set condition, determine that the target object has an operation intention to bring the palm close to the door lock area.
[0098] As mentioned above, the second component can be a camera. Then, the camera can be used to collect an image within the recognition area of the door lock, so as to determine whether there is a palm in the image. Specifically, it can be to determine whether there is a complete palm shape in the image. If a complete palm shape exists in the collected image, further determine whether the distance information of the palm meets the first set condition.
[0099] Among them, the first set condition is used to determine the operation intention of the target object based on the image including the palm, the distance information is used to indicate the distance between the palm and the second component, and the first set condition can be set according to the actual situation. For example, the distance between the palm and the door lock is less than 15 cm.
[0100] Regarding the distance information, the distance is estimated by combining the size of the palm in the image with the known camera perspective model. For example, the larger the palm, the closer it is to the camera, and the smaller the palm, the farther away it is.
[0101] The second component can also collect the electric field change information within the recognition area of the door lock. If the electric field change information meets the second set condition, it is determined that the target object has the operation intention of bringing the palm closer to the door lock area.
[0102] As mentioned above, the second component can be a capacitive contact sensor or a camera integrated with a capacitive contact sensor. Then, the capacitive contact sensor can be used to collect the electric field change information within the recognition area of the door lock.
[0103] Among them, the second set condition is used to determine the operation intention of the target object according to the electric field change information including. The electric field change information is used to indicate the change of the electric field. The second set condition can be set according to the actual situation. For example, the amplitude of the electric field change reaches or exceeds 2 pF.
[0104] Specifically, when the user's palm gradually approaches the recognition area, the capacitive contact sensor will detect the disturbance of the electric field and generate a response. When the capacitive contact sensor detects that the change amplitude of the capacitance value per unit time exceeds 2 pF, or detects that the change is greater than 1.5 pF for multiple consecutive times, it can be determined that the electric field change information meets the second set condition, and then it is determined that there is an operation intention of bringing the palm closer to the door lock recognition area.
[0105] Through the above process, by combining the distance information of the palm in the image or the electric field change information, it is judged whether the target object has an operation intention. The system can more accurately identify the behavior of the user approaching the door lock, and effectively distinguish between unintentional approach (such as a passerby passing by) and intentional operation (such as approaching to prepare to unlock).
[0106] In an exemplary embodiment, step 330 may include the following steps:
[0107] Obtain environmental information.
[0108] Among them, the environmental information can be the information of the environment where the door lock is located. The environmental information can be detected by using the light sensor component of the door lock, or can be judged by using the image collected by the camera.
[0109] Determine the current lighting condition according to the environmental information.
[0110] The current lighting condition refers to the lighting situation in the space where the door lock is located. For example, daytime, night, dusk, etc., which are not limited here.
[0111] Specifically, by comparing the brightness value in the collected environmental information with the brightness threshold, the current lighting condition can be determined to be in a state such as daytime, dusk, or night.
[0112] According to the current lighting condition, control the second component to adaptively switch the working mode, and collect an image within the recognition area of the door lock in the corresponding working mode. The image within the recognition area of the door lock is used to determine whether the target object has an operation intention of bringing the palm close to the door lock area.
[0113] Among them, different working modes are used to obtain images with clarity meeting the set threshold under different lighting conditions. Specifically, clarity refers to the clarity of the recognition image, and the image can be obtained by the second component photographing the recognition area of the door lock. The set threshold can be used to ensure that palm features can be effectively extracted and recognized. It should be understood that an image with clarity meeting the set threshold can extract clear, detailed, and real palm features, thereby ensuring the subsequent successful completion of identity verification.
[0114] Then, in order to ensure that sufficient rich and real palm feature details can be collected in different working modes under different lighting conditions, the second component can be controlled to adaptively switch the working mode.
[0115] In an exemplary embodiment, the lighting condition includes brightness information, and different working modes include a visible light mode and an infrared mode; the above method may further include the following steps:
[0116] If the current lighting condition does not meet the set brightness threshold, control the second component to adaptively adjust to the infrared mode, and collect an image within the recognition area of the door lock in the infrared mode; if it is determined based on the image that the target object has an operation intention of bringing the palm close to the door lock area, continue to collect the recognition image of the palm in the infrared mode. The recognition image is an image including the palm of the target object, and the recognition image can be obtained by the second component photographing the palm of the target object. Extract the palm vein features based on the recognition image, and identify the identity of the target object according to the palm vein features. If the identity of the target object conforms to the preset identity information, the target object passes the identity verification.
[0117] Among them, the current lighting condition refers to the lighting state where the door lock recognition area is currently located. The current lighting condition not meeting the set brightness threshold may refer to a nighttime or insufficient lighting environment. The brightness threshold is used to distinguish whether the current environment has sufficient lighting, so as to judge whether to switch the infrared / visible light mode of the second component. The lighting threshold can be set according to the imaging performance of the second component. For example, it is set to 200 Lux, and no specific limitation is made here.
[0118] As described above, the second component can be an infrared camera. Then, to ensure that the image clarity meets the set threshold, the second component supports automatically switching to the optimal imaging mode under different lighting conditions.
[0119] It can be understood that if the current environment is a night or low-light environment, the infrared camera in the visible light mode cannot collect an identification image with clarity meeting the set threshold. Therefore, the second component is controlled to adaptively adjust to the infrared mode.
[0120] The infrared mode is applicable to night or low-light environments. Infrared light can penetrate the shallow skin structure and clearly present the vein distribution pattern, which helps to improve the identification accuracy in low-light environments.
[0121] Among them, the palm vein features can include information such as the topological structure of palm vein blood vessels, blood vessel branch points, path directions, blood vessel width distributions, etc. The palm vein features of different target objects are unique. Therefore, the identity of the target object can be determined according to the palm vein features.
[0122] In a possible implementation, the palm vein features can be implemented by image binarization, a blood vessel enhancement filter (such as a Gabor filter), a skeleton extraction algorithm, etc.
[0123] Regarding the preset identity information, it can include the palm vein features of users pre-registered in the Internet of Things. The palm vein features of different registered users can be collected, and each registered user is corresponded with their palm vein features one by one, so as to obtain the preset identity information.
[0124] Regarding the identification of the identity of the target object according to the palm vein features, the extracted palm vein features can be matched and compared with the preset identity information stored in the local or cloud database. If the matching result meets the similarity determination condition (for example, the similarity degree exceeds the threshold), it is determined that the identity of the target object conforms to the preset identity information, and thus it is determined that the target object passes the identity verification.
[0125] In the above process, through extracting palm vein features from the identification image and performing comparison and identification, a contactless and highly secure identity verification method is realized. The palm vein recognition technology has advantages such as strong uniqueness, high anti-counterfeiting performance, and good privacy. Combined with the adaptive switching of the working mode according to the lighting conditions, it can maintain a stable identification accuracy under various environmental conditions, and improve the intelligent experience and security guarantee ability of the door lock.
[0126] If the current illumination condition meets the set brightness threshold, control the second component to adaptively adjust to the visible light mode, and collect an image within the recognition area of the door lock in the visible light mode; if it is determined based on the image that the target object has the operation intention of bringing the palm close to the door lock area, control the second component to switch to the infrared mode, and collect the recognition image of the palm in the infrared mode, extract the palm vein features based on the recognition image, and identify the identity of the target object according to the palm vein features. If the identity of the target object conforms to the preset identity information, the target object passes the identity verification.
[0127] First of all, it should be noted that the current illumination condition meeting the set brightness threshold may refer to daytime or an environment with sufficient light.
[0128] It can be understood that if the current environment is daytime or an environment with sufficient light, the second component can collect an image with clarity meeting the set threshold. Therefore, control the second component to adaptively adjust to the visible light mode. The visible light mode can complete the palm image collection without introducing additional infrared emission power consumption in the link of confirming the user's operation intention, which helps to save energy and reduce consumption.
[0129] Figure 5 and Figure 6 A schematic diagram of switching the working mode of the second component is shown in Figure 5 As shown, the door lock automatically switches the second component to the infrared mode according to the current illumination condition, and the infrared camera of the door lock starts to collect an image within the recognition area of the door lock. At this time, the screen of the door lock displays "Please align your palm with the camera" or "Palm detection in progress". When it is confirmed that the target object has the operation intention of bringing the palm close to the recognition area of the door lock, as Figure 6 shown, the screen of the door lock displays "Identity verification is in progress, please wait" and shows a progress bar.
[0130] Under the action of the above embodiment, adaptively switch to the most suitable image collection mode (infrared mode / visible mode) according to the current illumination condition, so as to still be able to stably extract the image within the recognition area of the door lock in low light or dark environment, improve the recognition success rate of palm positioning, and can improve the consistency of image quality. When it is determined that there is a complete palm within the recognition area of the door lock and the distance information of the palm meets the first set condition, then collect the recognition image of the palm in the infrared mode, and further extract the palm vein features according to the recognition image, so as to accurately identify the identity of the target object.
[0131] In an exemplary embodiment, the above method may further include the following steps:
[0132] Start the light sensor component, and collect environmental information through the light sensor component;
[0133] Among them, the light sensor component can be used to collect the environmental information of the space where the door lock is located. Specifically, the light sensor component can collect the brightness information around the installation position of the door lock in real time.
[0134] The light sensor can be deployed in the door lock or integrated in the second component, and specific limitations are not made here.
[0135] Alternatively, the environmental information is determined by the image collected by the second component.
[0136] It should be noted that to reduce the hardware cost, the independent light sensor can also be omitted, and the image collected by the second component (such as the average brightness of the image frame, the brightness histogram distribution, etc.) is used as the environmental information, thus becoming the basis for judging the current lighting conditions. Specifically, the current lighting situation can be analyzed based on the image gray distribution or contrast index to estimate the current lighting conditions.
[0137] Under the action of the above embodiments, even in door locks with limited resources or cost sensitivity, whether there is a dedicated light sensor component or not, the environmental information can be determined through the image, ensuring the integrity of the function, and thus providing a reliable basis for the subsequent adaptive switching of the working mode.
[0138] Figures 7a to 7b It is a schematic diagram of the specific implementation of a door lock control method in an application scenario. The application scenario is a smart home scenario.
[0139] Figure 7a Shows a hardware architecture block diagram of the smart door lock in this application scenario, as Figure 7a shown, the smart door lock includes a Distance Sensor (distance sensor), a CMOS image sensor, an MCU (microcontroller unit), a CPU (central processing unit), and an NPU (neural network processing unit). Each module communicates and coordinates through different interfaces (SPI / UART / MIPI / USB, etc.) to jointly complete the door lock control process.
[0140] Figure 7b Shows a flowchart of a door lock control method in this application scenario, as Figure 7b shown, this smart home scenario may include the following steps:
[0141] First, the first component of the door lock, the Distance Sensor, works continuously to detect the approach of an object / creature and compare it with the set range.
[0142] Specifically, the Distance Senso transmits the collected information to the MCU through the SPI / UART interface, and the MCU determines whether the user enters the set range.
[0143] If the first component detects that the user enters the set range, the MCU communicates with the CPU via USB / UAPT to inform the CPU that the user has entered the set range, and the CPU turns on the power of the second component, the Camera.
[0144] The Camera keeps running, captures the user's image and transmits it to the CPU and NPU via the MIPI interface. The CPU starts the operation intention recognition process to detect whether there is a palm in the image. If a palm is detected, it further determines whether the palm is close to the camera based on parameters such as the shape, distance, and area of the palm in the palm image.
[0145] Among them, the Camera can be regarded as Figure 7a the CMOS image sensor in , and the CMOS image sensor can capture the user's palm image and transmit the image to the CPU / NPU module via the MIPI interface (high-bandwidth video transmission).
[0146] If the CPU / NPU module determines that the parameters of the palm shape, distance, and area of the palm image meet the first set condition, it confirms the operation intention of the target object to bring the palm close to the door lock.
[0147] Among them, the door lock can also obtain the light information of the current environment. Specifically, the door lock can determine the current lighting condition through the integrated light sensor component, or determine the current lighting condition based on the image gray value / brightness distribution collected by the Camera.
[0148] When the current lighting condition is night or insufficient light, the CPU controls the Camera to switch to the current infrared mode, turns on the infrared fill light and captures the user's image, and detects whether there is a palm in the image. If there is a palm in the image, it continues to capture the recognition image corresponding to the user's palm vein feature in the infrared mode and transmits it to the NPU.
[0149] When the current lighting condition is day or sufficient light, the CPU controls the Camera to run in the visible light mode first, captures the user's image in the visible light mode, and detects whether there is a palm in the image. If there is a palm in the image, it then controls the Camera to switch to the infrared mode, turns on the infrared fill light, and captures the recognition image corresponding to the user's palm vein feature in the infrared mode and transmits it to the NPU.
[0150] The NPU executes the deep neural network model, extracts the palm vein features in the recognition image, and compares them with the preset identity information in the local / cloud. If the identity of the target object conforms to the preset identity information, the NPU notifies the CPU that the target object has passed the identity verification, and the CPU controls the door lock to unlock automatically; if the recognition fails or times out, the CPU controls the door lock to remain closed or enter the subsequent identity verification process (such as password, App unlocking, etc.).
[0151] In this application scenario, through multi-component design, it is ensured that approaching behavior can be effectively detected under different ambient lights, distances, or angles. The multi-step verification in this application scenario not only enhances security, ensuring that the camera switching and authentication processes are only initiated when the user approaches and intends to operate, but also can save energy, guarantee high-precision triggering, avoid misactivation of components, and is suitable for application in different environments. Moreover, the user does not need to manually touch the door lock. After the approach detection, the system is automatically awakened. Combining the palm approach confirmation and palm vein authentication, the contactless operation is fully realized, greatly improving the convenience and comfort of the user. Especially in public places or environments with high hygiene requirements (such as hospitals, offices, homes), the contactless operation reduces the risk of cross-infection and improves the hygiene level.
[0152] It should be understood that although the steps in the flowchart of the accompanying drawings are shown sequentially according to the indication of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same moment, but can be executed at different moments, and their execution order is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or sub-steps or stages of other steps.
[0153] The following is an embodiment of the device of the present application, which can be used to execute the door lock control method involved in the present application. For the details not disclosed in the embodiment of the device of the present application, please refer to the method embodiment of the door lock control method involved in the present application.
[0154] Please refer to Figure 8 , in the embodiment of the present application, a door lock control device 900 is provided, including but not limited to: a target determination module 910, an intention recognition module 930, an identity authentication module 950, and an operation execution module 970.
[0155] Among them, the target determination module 910 is used to determine whether the target object enters the set range of the door lock.
[0156] The intention recognition module 930 is used to, when it is detected that the target object enters the set range, determine the operation intention of the target object for the door lock by detecting whether there is a palm approaching the recognition area of the door lock.
[0157] The identity authentication module 950 is used to, if it is determined that the target object has the operation intention of approaching the recognition area of the door lock with the palm, perform identity authentication on the target object by using palm vein recognition technology.
[0158] An operation execution module 970, configured to control the door lock to perform a set operation if the target object passes the identity authentication.
[0159] In an exemplary embodiment, the target determination module 910 is further configured to control the door lock to activate a first component, and perform a proximity detection on the target object within a set range through the first component; if the first component detects the target object within the set range, it is determined that the target object enters the set range.
[0160] In an exemplary embodiment, the intention recognition module 930 is further configured to control the door lock to activate a second component if it detects that the target object enters the set range; detect whether there is a palm approaching the recognition area of the door lock through the second component, and determine whether the target object has an operation intention of approaching the palm to the door lock area.
[0161] In an exemplary embodiment, the intention recognition module 930 is further configured to collect an image within the recognition area of the door lock through the second component, and determine whether there is a palm in the image; if there is a palm, determine whether the distance information of the palm meets a first set condition; if the distance information of the palm meets the first set condition, it is determined that the target object has an operation intention of approaching the palm to the door lock area; or, collect the electric field change information within the recognition area of the door lock through the second component, and if the electric field change information meets a second set condition, it is determined that the target object has an operation intention of approaching the palm to the door lock area.
[0162] In an exemplary embodiment, the intention recognition module 930 is further configured to obtain environmental information; determine the current illumination condition according to the environmental information; according to the current illumination condition, control the second component to adaptively switch the working mode, and collect an image of the palm in the corresponding working mode; the image is used to determine whether the target object has an operation intention of approaching the palm to the door lock area; different working modes are used to obtain images with clarity meeting a set threshold under different illumination conditions.
[0163] In an exemplary embodiment, the illumination condition includes brightness information, and different working modes include a visible light mode and an infrared mode; the intention recognition module 930 is further configured to control the second component to adaptively adjust to the infrared mode and collect an image within the recognition area of the door lock in the infrared mode if the current illumination condition does not meet the set brightness threshold; if it is determined based on the image that the target object has an operation intention of approaching the palm to the door lock area, the identity recognition module 950 is further configured to continue to collect an identification image of the palm in the infrared mode, extract palm vein features based on the identification image, identify the identity of the target object according to the palm vein features, and if the identity of the target object conforms to the preset identity information, the target object passes the identity authentication;
[0164] The intention recognition module 930 is further configured to control the second component to adaptively adjust to the visible light mode and collect an image within the recognition area of the door lock in the visible light mode if the current light condition meets the set brightness threshold; if it is determined based on the image that the target object has an operation intention of bringing the palm close to the door lock area, the identity recognition module 950 is further configured to control the second component to switch to the infrared mode, collect an identification image of the palm in the infrared mode, extract palm vein features based on the identification image, and identify the identity of the target object according to the palm vein features. If the identity of the target object conforms to the preset identity information, the target object passes the identity verification.
[0165] In an exemplary embodiment, the identity verification module 950 is further configured to activate the light sensor component and collect environmental information through the light sensor component; or determine environmental information based on the image collected by the second component.
[0166] It should be noted that when the door lock control device provided in the above embodiment performs door lock control, only the division of the above functional modules is used for illustration. In actual application, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the door lock control device will be divided into different functional modules to complete all or part of the functions described above.
[0167] In addition, the door lock control device provided in the above embodiment and the embodiment of the door lock control method belong to the same concept. The specific ways in which each module performs operations have been described in detail in the method embodiment, and will not be repeated here.
[0168] Please refer to Figure 9 , in the embodiment of the present application, an electronic device 4000 is provided, and the electronic device 4000 may include: an intelligent door lock, etc.
[0169] In Figure 9 , the electronic device 4000 includes at least one processor 4001 and at least one memory 4003.
[0170] Among them, the data interaction between the processor 4001 and the memory 4003 can be realized through at least one communication bus 4002. The communication bus 4002 may include a path for transmitting data between the processor 4001 and the memory 4003. The communication bus 4002 can be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The communication bus 4002 can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, only a thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0171] Optionally, the electronic device 4000 may further include a transceiver 4004, and the transceiver 4004 can be used for data interaction between the electronic device and other electronic devices, such as data sending and / or data receiving, etc. It should be noted that in practical applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 does not constitute a limitation to the embodiments of the present application.
[0172] The processor 4001 can be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logic blocks, modules, and circuits described in combination with the disclosure of the present application. The processor 4001 can also be a combination that realizes computing functions, such as a combination including one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0173] The memory 4003 can be a ROM (Read Only Memory), or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory), or other types of dynamic storage devices that can store information and instructions. It can also be an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory), or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media, or other magnetic storage devices, or any other medium that can be used to carry or store computer programs in the form of instructions or data structures and can be accessed by the electronic device 400, but is not limited thereto.
[0174] A computer program is stored on the memory 4003, and the processor 4001 can read the computer program stored in the memory 4003 through the communication bus 4002.
[0175] The computer program is executed by one or more processors 4001 to implement the door lock control method in the above embodiments.
[0176] In addition, an embodiment of the present application provides a storage medium on which a computer program is stored, and the computer program is executed by one or more processors to implement the door lock control method as described above.
[0177] An embodiment of the present application provides a computer program product, including a computer program, and the computer program is executed by one or more processors to implement the door lock control method as described above.
[0178] Compared with the related art, when it is detected that the target object enters the set range, the operation intention of the target object on the door lock is determined. When it is determined that the target object has the operation intention of bringing the palm close to the door lock area, the palm vein recognition technology is used to authenticate the identity of the target object, so as to control the door lock to perform the unlocking operation; in the above process, through detecting the target object in the set range, determining the operation intention, and finally performing identity authentication, multiple steps cooperate for verification, and finally control the unlocking operation. The multi-step verification process is integrated into the same door lock control method. Only when the user's intention is confirmed will the subsequent steps be activated, otherwise the palm vein recognition and other recognition modules will not be started, which can effectively prevent the door lock from being accidentally triggered, reduce energy consumption, and improve the security and user experience of the intelligent door lock.
[0179] The above are only some embodiments of the present application. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present application, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present application.
Claims
1. A door lock control method, characterized in that, Including: Determine whether a target object enters the set range of the door lock; When it is detected that the target object enters the set range, determine the operation intention of the target object for the door lock by detecting whether there is a palm approaching the recognition area of the door lock; If it is determined that the target object has the operation intention of approaching the recognition area of the door lock with the palm, use palm vein recognition technology to authenticate the identity of the target object; If the target object passes the identity authentication, control the door lock to perform a set operation.
2. The method according to claim 1, characterized in that, The determination of whether the target object enters the set range of the door lock includes: Control the door lock to activate the first component, and perform a proximity detection on the target object within the set range through the first component; If the first component detects the target object within the set range, determine that the target object enters the set range.
3. The method according to claim 1, wherein The determination of the operation intention of the target object for the door lock by detecting whether there is a palm approaching the recognition area of the door lock includes: If it is detected that the target object enters the set range, control the door lock to activate the second component; Detect whether there is a palm approaching the recognition area of the door lock through the second component, and determine whether the target object has the operation intention of approaching the recognition area of the door lock with the palm.
4. The method according to claim 3, characterized in that, The determination of whether the target object has the operation intention of approaching the recognition area of the door lock by detecting whether there is a palm approaching the recognition area of the door lock through the second component includes: Collect an image within the recognition area of the door lock through the second component, and determine whether there is a palm in the image; if there is a palm, determine whether the distance information of the palm meets a first set condition; if the distance information of the palm meets the first set condition, determine that the target object has the operation intention of approaching the recognition area of the door lock with the palm; Or, Collect the electric field change information within the recognition area of the door lock through the second component, and if the electric field change information meets a second set condition, determine that the target object has the operation intention of approaching the recognition area of the door lock with the palm.
5. The method according to any one of claims 3 to 4, characterized in that The determination of whether the target object has the operation intention of approaching the recognition area of the door lock by detecting whether there is a palm approaching the recognition area of the door lock through the second component includes: Obtain environmental information; Determine the current illumination condition according to the environmental information; According to the current illumination condition, control the second component to adaptively switch the working mode, and collect an image within the recognition area of the door lock in the corresponding working mode, and the image is used to determine whether the target object has the operation intention of approaching the recognition area of the door lock with the palm; Wherein, different working modes are used to obtain images with clarity meeting a set threshold under different illumination conditions.
6. The method according to claim 5, characterized in that, The illumination condition includes brightness information, and different working modes include a visible light mode and an infrared mode; The control of the second component to adaptively adjust and switch the working mode according to the current illumination condition, and collect an image within the recognition area of the door lock in the corresponding working mode includes: If the current lighting condition does not meet the set brightness threshold, control the second component to adaptively adjust to the infrared mode, and collect an image within the recognition area of the door lock in the infrared mode; if it is determined based on the image that the target object has an operation intention of bringing the palm close to the door lock area, then use the palm vein recognition technology to authenticate the identity of the target object, including: continue to collect the recognition image of the palm in the infrared mode, extract the palm vein features based on the recognition image, and identify the identity of the target object according to the palm vein features. If the identity of the target object conforms to the preset identity information, the target object passes the identity authentication; If the current lighting condition meets the set brightness threshold, control the second component to adaptively adjust to the visible light mode, and collect an image within the recognition area of the door lock in the visible light mode; if it is determined based on the image that the target object has an operation intention of bringing the palm close to the door lock area, then use the palm vein recognition technology to authenticate the identity of the target object, including: control the second component to switch to the infrared mode, and collect the recognition image of the palm in the infrared mode, extract the palm vein features based on the recognition image, and identify the identity of the target object according to the palm vein features. If the identity of the target object conforms to the preset identity information, the target object passes the identity authentication.
7. The method according to claim 5, characterized in that, The obtaining of the environmental information includes: Start the light sensor component, and collect the environmental information through the light sensor component; Or, Determine the environmental information based on the image collected by the second component.
8. An intelligent door lock, characterized in that, The intelligent door lock includes a first component, a second component, and a main control module; The first component is used to determine whether the target object enters the set range of the door lock; The second component is used to determine the operation intention of the target object for the door lock by detecting whether there is a palm close to the recognition area of the door lock when it is detected that the target object enters the set range; The main control module is used to use the palm vein recognition technology to authenticate the identity of the target object if it is determined that the target object has an operation intention of bringing the palm close to the recognition area of the door lock; If the target object passes the identity authentication, control the door lock to perform the set operation.
9. The intelligent door lock according to claim 8, characterized in that, The intelligent door lock further includes an environment collection component; The environment collection component is used to collect the environmental information where the door lock is located; The main control module is further used to determine the current lighting condition according to the environmental information; according to the current lighting condition, control the second component to adaptively switch the working mode, and collect an image of the palm in the corresponding working mode, and the image is used to determine whether the target object has an operation intention of bringing the palm close to the door lock area; The different working modes are used to obtain an image with clarity meeting the set threshold under different lighting conditions.
10. An electronic device includes at least one processor and at least one memory, wherein, A computer program is stored on the memory, and it is characterized in that when the computer program is executed by the processor, it implements the door lock control method according to any one of claims 1 to 7.
11. A storage medium, on which a computer program is stored, characterized in that, When the computer program is executed by one or more processors, it implements the door lock control method according to any one of claims 1 to 7.
12. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by one or more processors, it implements the door lock control method according to any one of claims 1 to 7.