Door lock control method, door lock and computer readable storage medium

Ultrasonic sensors are used to recognize the human body and detect grasping movements to realize automatic unlocking of smart door locks, solve the problem of user privacy leakage caused by camera recognition, and improve the safety and aesthetics of door locks.

CN118553036APending Publication Date: 2024-08-27GEER TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410634850.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-21
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Smart door locks use cameras for face recognition and grasp detection, which leads to the problem of user privacy leakage.

Method used

Ultrasonic sensors are used to identify the human body, and automatic unlocking is achieved through grasping movement detection to avoid taking user images, thereby protecting user privacy.

Benefits of technology

It realizes the automatic unlocking function without taking user images, avoids the leakage of user privacy, reduces the cost of door locks, and improves the aesthetics and detection accuracy of door locks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118553036A
    Figure CN118553036A
Patent Text Reader

Abstract

The invention discloses a door lock control method, a door lock and a computer readable storage medium, and relates to the technical field of door lock control, and the door lock control method comprises the steps that an ultrasonic sensor is controlled to emit a first ultrasonic detection signal, and a first return signal of the first ultrasonic detection signal is received; if it is detected that a human body exists in a target area based on the first return signal, the ultrasonic sensor is controlled to emit a second ultrasonic detection signal, and a second return signal of the second ultrasonic detection signal is received; if the grabbing action is detected based on the second return signal, the unlocking action is executed. The ultrasonic sensor is used for recognizing the human body and detecting the grabbing of the handle, automatic unlocking is achieved, and user privacy leakage can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of door lock control, and in particular to a door lock control method, a door lock and a computer-readable storage medium. Background Art

[0002] At present, smart door locks mostly use cameras to identify the user's unlocking needs. When it is identified that the user needs to unlock, semi-automatic or fully automatic unlocking is performed, realizing keyless or passwordless unlocking, providing convenience for users to unlock. However, using cameras to identify unlocking needs requires taking user images for face recognition and / or grip detection, which is prone to user privacy leakage.

[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of this application is to provide an invention name, aiming to solve the technical problems corresponding to the background technology.

[0005] To achieve the above object, the present application proposes a door lock control method, the door lock control method comprising:

[0006] Controlling the ultrasonic sensor to transmit a first ultrasonic detection signal and receive a first return signal of the first ultrasonic detection signal;

[0007] If a human body is detected in the target area based on the first return signal, controlling the ultrasonic sensor to transmit a second ultrasonic detection signal and receiving a second return signal of the second ultrasonic detection signal;

[0008] If a gripping action is detected based on the second return signal, an unlocking action is performed.

[0009] In some embodiments, before the step of controlling the ultrasonic sensor to transmit the second ultrasonic detection signal and receiving the second return signal of the second ultrasonic detection signal, the method further comprises:

[0010] If a human body is detected in the target area based on the first return signal, the ultrasonic sensor is adjusted from a long-range mode to a short-range mode.

[0011] In some embodiments, after the step of controlling the ultrasonic sensor to transmit the second ultrasonic detection signal and receiving the second return signal of the second ultrasonic detection signal, the method further includes:

[0012] If the grasping action is not detected within a preset time period, or if a locking action is detected after the unlocking action, the ultrasonic sensor is adjusted from the short-range mode to the long-range mode;

[0013] The step of controlling the ultrasonic sensor to transmit a first ultrasonic detection signal and receiving a first return signal of the first ultrasonic detection signal is skipped and executed.

[0014] In some embodiments, the door lock is provided with a long-range ultrasonic sensor and a short-range ultrasonic sensor, the long-range ultrasonic sensor is used to transmit the first ultrasonic detection signal and receive the first return signal; the short-range ultrasonic sensor is used to transmit the second ultrasonic detection signal and receive the second return signal.

[0015] In some embodiments, the door lock is provided with at least two ultrasonic sensors, and after the step of controlling the ultrasonic sensor to send the first ultrasonic detection signal and receiving the first return signal of the first ultrasonic detection signal, the method further includes:

[0016] Selecting a target ultrasonic sensor from among ultrasonic sensors that detect a human body;

[0017] Based on the target ultrasonic sensor, the steps of controlling the ultrasonic sensor to transmit a second ultrasonic detection signal and receiving a second return signal of the second ultrasonic detection signal are performed.

[0018] In some embodiments, after the step of controlling the ultrasonic sensor to transmit a first ultrasonic detection signal and receiving a first return signal of the first ultrasonic detection signal, the method further includes:

[0019] If a human body is detected in the target area based on the first return signal, the control system adjusts the relevant module from a low power consumption state to an active state;

[0020] Obtain the current location of the target user based on the positioning module;

[0021] The steps of performing the unlocking action include:

[0022] If the grasping action is detected and the current position is within a preset position interval, an unlocking action is performed.

[0023] In some embodiments, before the step of performing the unlocking action, the steps include:

[0024] Establishing a communication connection between the positioning module and the target terminal;

[0025] Receiving and verifying user authentication information sent by the target terminal;

[0026] The steps of performing the unlocking action include:

[0027] If the grasping action is detected, the current position is within a preset position interval, and / or the user authentication information is successfully verified, an unlocking action is performed.

[0028] In some embodiments, before the step of performing the unlocking action, the method further includes:

[0029] Acquire biological characteristics of a human body in the target area;

[0030] Determining an authentication result based on the biometric feature;

[0031] The steps of performing the unlocking action include:

[0032] If the grasping action is detected and the authentication result is passed, the unlocking action is performed.

[0033] In addition, to achieve the above-mentioned purpose, the present application also proposes a door lock, which includes: an ultrasonic sensor, a memory, a processor, and a door lock control program stored on the memory and runnable on the processor, and the door lock control program is configured to implement the steps of the door lock control method described above.

[0034] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a door lock control program is stored on the storage medium. When the door lock control program is executed by the processor, the steps of the door lock control method described above are implemented.

[0035] The present application proposes a door lock control method, which controls an ultrasonic sensor to emit a first ultrasonic detection signal and receives a first return signal of the first ultrasonic detection signal. If a human body is detected in a target area based on the first return signal, the ultrasonic sensor is controlled to emit a second ultrasonic detection signal and receives a second return signal of the second ultrasonic detection signal. If a gripping action is detected based on the second return signal, an unlocking action is performed. The present application uses an ultrasonic sensor to identify a human body and perform gripping detection of a handle to achieve automatic unlocking and avoid user privacy leakage. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0038] Figure 1 A flow chart of the first embodiment of the door lock control method of the present application;

[0039] Figure 2 A schematic diagram of a door lock for the door lock control method of this application;

[0040] Figure 3 Another door lock schematic diagram of the door lock control method of the present application;

[0041] Figure 4 A flow chart of the second embodiment of the door lock control method of the present application;

[0042] Figure 5 A schematic diagram of another door lock of the door lock control method of the present application;

[0043] Figure 6 A flow chart of the third embodiment of the door lock control method of the present application;

[0044] Figure 7 Schematic diagram of the device structure of the hardware operating environment involved in the door lock control method in the embodiment of the present application.

[0045] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0046] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0047] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0048] The main solution of the embodiment of the present application is: by controlling the ultrasonic sensor to emit a first ultrasonic detection signal and receiving a first return signal of the first ultrasonic detection signal, if a human body is detected in the target area based on the first return signal, controlling the ultrasonic sensor to emit a second ultrasonic detection signal and receiving a second return signal of the second ultrasonic detection signal, if a grasping action is detected based on the second return signal, performing an unlocking action. The present application uses an ultrasonic sensor to identify the human body and perform a grasping detection of the handle to achieve automatic unlocking and avoid user privacy leakage.

[0049] In this embodiment, for ease of description, the following description is made with identification of door locks as the execution subject.

[0050] At present, smart door locks mostly use cameras to identify the user's unlocking needs. When it is identified that the user needs to unlock, semi-automatic or fully automatic unlocking is performed, realizing keyless or passwordless unlocking, providing convenience for users to unlock. However, using cameras to identify unlocking needs requires taking user images for face recognition and / or grip detection, which is prone to user privacy leakage.

[0051] This application uses an ultrasonic sensor to identify the human body and detect the grip of the handle to achieve automatic unlocking, which can avoid user privacy leakage.

[0052] Based on this, the embodiment of the present application provides a door lock control method, which is applied to the control system of the door lock, wherein the door lock is provided with an ultrasonic sensor, Figure 1 , Figure 1 This is a flow chart of the first embodiment of the door lock control method of the present application.

[0053] In this embodiment, the door lock control method includes steps S10 to S30:

[0054] Step S10: controlling the ultrasonic sensor to transmit a first ultrasonic detection signal, and receiving a first return signal of the first ultrasonic detection signal;

[0055] It should be noted that the door lock of the present application includes a main body, a handle and an ultrasonic sensor. The handle and the ultrasonic sensor are arranged on the main body. The control system of the door lock can be arranged in the main body. It can be understood that the main body is a door. The control system can communicate with the ultrasonic sensor, thereby controlling the ultrasonic sensor to transmit an ultrasonic detection signal and receive a return signal. The communication method can be I2C (Inter-Integrated Circuit) or other communication methods, which is not specifically limited in this embodiment.

[0056] In addition, it should be noted that the present application does not specifically limit the location of the ultrasonic sensor, which can be set on the surface of the main body or inside the main body, or at any location on the front, back, left, or right side of the main body.

[0057] In this embodiment, the ranging mode of the ultrasonic sensor is adjusted to the long-range mode in advance, so that the ultrasonic sensor is controlled to emit a first ultrasonic detection signal of long distance and high intensity, and receive a first return signal corresponding to the first ultrasonic detection signal, so as to determine the detection distance based on the round-trip time of the first ultrasonic detection signal and the first return signal and the propagation speed of the ultrasonic detection signal in the air. If the detection distance is less than the preset distance threshold corresponding to the target area, it is determined that a human body is detected in the target area. If the detection distance is greater than or equal to the preset distance threshold corresponding to the target area, it is determined that no human body is detected in the target area.

[0058] It should be noted that the preset distance threshold corresponding to the target area can be set to be less than or equal to the distance between the farthest boundary point in the target area and the ultrasonic sensor, or set to the maximum distance at which a human body can touch the handle of the door lock. This embodiment does not specifically limit this.

[0059] It is understandable that in the long-range mode, the ultrasonic sensor can emit a first ultrasonic detection signal with a long range and high intensity to realize human body recognition in the target area. The ultrasonic sensor is adjusted to different ranging modes by changing the transmission power and / or transmission frequency so as to be used in different ranging scenarios.

[0060] In a feasible implementation, in some scenarios, the user may just stay in the target area or perform other operations instead of trying to unlock the door. Therefore, in order to improve the detection accuracy of the unlocking requirement, at least two detection distances within the preset time period may be determined based on the first return signal received within the preset time period, and whether a human body is approaching the target area may be determined based on the trend between the at least two detection distances. If it is determined that a human body is continuously approaching the target area, the steps of controlling the ultrasonic sensor to emit a second ultrasonic detection signal and receiving a second return signal of the second ultrasonic detection signal are executed.

[0061] In this embodiment, if the trend between at least two detection distances is a decreasing trend, it is determined that a human body is approaching the target area, indicating that the user wants to unlock. If the trend between at least two detection distances is another trend, it is determined that no human body is approaching the target area, indicating that the user does not want to unlock.

[0062] For example, the detection distance determined in the first second is 45 cm, the detection distance determined in the second second is 40 cm, and the detection distance determined in the third second is 30 cm. The three detection distances show a decreasing trend, which indicates that a human body is approaching the target area, indicating that the user has a need to unlock the door.

[0063] Step S20: If a human body is detected in the target area based on the first return signal, control the ultrasonic sensor to transmit a second ultrasonic detection signal, and receive a second return signal of the second ultrasonic detection signal;

[0064] In this embodiment, when a human body is detected in the target area, the ultrasonic sensor is controlled to emit a second ultrasonic detection signal with high intensity and low divergence by adjusting the ranging mode of the ultrasonic sensor from the long-range mode to the short-range mode, and then the second return signal of the second ultrasonic detection signal is received, and then the detection distance is determined based on the round-trip time between the second ultrasonic detection signal and the second return signal and the propagation speed of the ultrasonic detection signal in the air. If the detection distance is less than the preset distance threshold corresponding to the handle, it is determined that the grasping action is detected, and if the detection distance is greater than or equal to the preset distance threshold corresponding to the handle, it is determined that the grasping action is not detected.

[0065] It should be noted that the preset distance threshold corresponding to the handle can be set to the distance between the handle and the ultrasonic sensor measured when the handle is not grasped by any object.

[0066] Regardless of the ranging mode of the ultrasonic sensor, the intensity of the ultrasonic detection signal emitted by the ultrasonic sensor will weaken as the transmission distance increases, and the divergence of the ultrasonic detection signal emitted by the ultrasonic sensor will increase as the transmission distance increases, thereby affecting the detection accuracy of the ultrasonic sensor.

[0067] In a feasible implementation, the ultrasonic sensor may be disposed on the edge of the handle so that the distance between the handle and the ultrasonic sensor is closer, causing the second ultrasonic detection signal emitted to the handle to have the characteristics of high intensity and small divergence, thereby improving the accuracy of the handle grasping detection, thereby accurately detecting the user's grasping action on the handle.

[0068] In another feasible implementation, in order to further improve the accuracy of handle grip detection, the emission range of the ultrasonic sensor in the short-range mode may be set to the area where the handle is located, eliminating interference from other areas where the handle is not located.

[0069] Step S30: If a gripping action is detected based on the second return signal, an unlocking action is performed.

[0070] In this embodiment, if the detection distance determined based on the second return signal is less than the preset distance threshold corresponding to the handle, it is determined that a grasping action is detected, and the unlocking action is executed to achieve automatic unlocking.

[0071] In a feasible implementation, if no grasping action is detected within a preset time period, or if a locking action is detected after an unlocking action, the ultrasonic sensor is adjusted from a short-range mode to a long-range mode, and then the step of controlling the ultrasonic sensor to emit a first ultrasonic detection signal and receiving a first return signal of the first ultrasonic detection signal is jumped to continue identifying human bodies in the target area.

[0072] It should be noted that the present application uses the same ultrasonic sensor to realize human body recognition and handle grip detection without taking user images, thereby avoiding user privacy leakage.

[0073] In the related art, the grip detection of some smart door locks is implemented using IR proximity sensors or capacitive sensors. However, because the handle of the capacitive sensor door lock is connected to the internal lock core, the metal volume is too large, which easily exceeds the range of the capacitive sensor and cannot respond to user needs 100%, reducing the user experience. The infrared proximity sensor requires the infrared sensor (IR sensor) and the infrared light emitting diode (IR LED) to cooperate with each other, and the panel used to cover the IR proximity sensor needs to have high permeability for the infrared band of about 850nm. The use of IR ink over a large area will make the panel have an undesirable appearance like orange peel. The use of IR ink over a small area will cause the IR ink area and other areas of the panel to have a color difference problem, resulting in an unsightly appearance.

[0074] The present application uses the same ultrasonic sensor to realize human body recognition and handle grip detection, and does not need to use other materials to cover the surface of the ultrasonic sensor like infrared sensors. Therefore, in addition to preventing user privacy leakage, the present application can also reduce the cost of door locks and improve the aesthetics of door locks.

[0075] For example, refer to Figure 2 , Figure 2 This is a schematic diagram of the door lock layout of the door lock control method of this application. Figure 2 Figure (a) is a schematic diagram of a door lock for a double door, and Figure (b) is a schematic diagram of a door lock for a single door. It can be understood that a double door refers to a door composed of two main bodies (door panels), and a single door refers to a door composed of one main body (door panel). The door lock for a double door includes two main bodies, two handles and an ultrasonic sensor. Each main body is provided with a handle, and the ultrasonic sensor can be provided on one of the main bodies. The door lock for a single door includes a main body, a handle and an ultrasonic sensor, and the handle and the ultrasonic sensor are both provided on the same main body. It can be seen that the ultrasonic sensor is provided on the left edge side of the handle, so that the distance between the handle and the ultrasonic sensor is relatively close, so that the second ultrasonic detection signal emitted to the handle has the characteristics of high intensity and small divergence, and will not be blocked by the handle, which can improve the accuracy of the handle grip detection.

[0076] In another feasible implementation, since the double-opening door has two main bodies, if an ultrasonic sensor is only provided on one of the main bodies, the accuracy of the ultrasonic sensor in detecting the grip of the handle on the other main body will be slightly reduced. Therefore, if the accuracy of the grip detection of the two handles is required to be high, ultrasonic sensors can be provided on different main bodies respectively, and then the ultrasonic sensors on different main bodies are simultaneously controlled to execute the steps of controlling the ultrasonic sensor to emit a first ultrasonic detection signal and receive a first return signal of the first ultrasonic detection signal. When any ultrasonic sensor detects the presence of a human body in the target area based on the first return signal, the steps of controlling the ultrasonic sensor to emit a second ultrasonic detection signal and receive a second return signal of the second ultrasonic detection signal are executed. When any ultrasonic sensor detects a gripping action based on the second return signal, an unlocking action is executed.

[0077] In another feasible embodiment, the door lock is provided with a long-range ultrasonic sensor and a short-range ultrasonic sensor, the long-range ultrasonic sensor is used to transmit a first ultrasonic detection signal and receive a first return signal, and the short-range ultrasonic sensor is used to transmit a second ultrasonic detection signal and receive a second return signal.

[0078] In this embodiment, a long-range ultrasonic sensor is used to detect whether there is a human body in the target area, and a short-range ultrasonic sensor is used to detect the gripping action of the handle, thereby eliminating the need to frequently switch the ranging mode of the ultrasonic sensor, thereby reducing the loss of the ultrasonic sensor.

[0079] It is understandable that the long-range ultrasonic sensor can be an ultrasonic sensor whose ranging mode is a long-range mode, or an ultrasonic sensor specifically used for long-range scenes. Similarly, the short-range ultrasonic sensor can be an ultrasonic sensor whose ranging mode is a short-range mode, or an ultrasonic sensor specifically used for short-range scenes, and this embodiment does not specifically limit this.

[0080] It should be noted that the present application does not impose any specific restrictions on the installation positions of the long-range ultrasonic sensor and the short-range ultrasonic sensor.

[0081] In addition, it should be noted that, for a double-door lock, since it has two main bodies, the long-range ultrasonic sensor and the short-range ultrasonic sensor can be respectively arranged on different main bodies, or can be arranged on the same main body, and this embodiment does not make any specific limitation on this.

[0082] In a feasible implementation, the long-range ultrasonic sensor may be disposed below the main body so that the long-range ultrasonic sensor can recognize people of different heights, thereby improving the accuracy of human body recognition.

[0083] In another feasible implementation, a short-range ultrasonic sensor may be disposed on the edge of the handle so that the distance between the handle and the ultrasonic sensor is closer, resulting in a second ultrasonic detection signal emitted to the handle having the characteristics of high intensity and small divergence, thereby improving the accuracy of handle grasping detection, thereby accurately detecting the user's grasping action on the handle.

[0084] In another feasible implementation, in order to further improve the accuracy of handle grip detection, the emission range of the ultrasonic sensor in the short-range mode may be set to the area where the handle is located, eliminating interference from other areas where the handle is not located.

[0085] For example, refer to Figure 3 , Figure 3 This is another schematic diagram of a door lock according to the door lock control method of the present application. Figure 3 Figure (a) is a schematic diagram of another door lock for a double door, and Figure (b) is a schematic diagram of another door lock for a single door. Ultrasonic sensors are respectively provided on the two main bodies of the double door, with the long-range ultrasonic sensor being provided at the bottom of the main body and the short-range ultrasonic sensor being provided at the edge of the handle. Two ultrasonic sensors are provided on one main body of the single door, with the short-range ultrasonic sensor being provided at the edge of the handle to improve the accuracy of handle grip detection. The long-range ultrasonic sensor is provided at the bottom of the main body to detect people of different heights and improve the accuracy of human body recognition.

[0086] In another feasible implementation, for a double-door lock, since it has two main bodies, if a short-range ultrasonic sensor is only set on one of the main bodies, the accuracy of the short-range ultrasonic sensor in detecting the grip of the handle on the other main body will be slightly reduced. Therefore, if the accuracy of the grip detection of the two handles is required to be high, short-range ultrasonic sensors can be set on different main bodies respectively. If any short-range ultrasonic sensor detects a gripping action, the unlocking action is executed.

[0087] In the technical solution provided in this embodiment, the ultrasonic sensor is controlled to emit a first ultrasonic detection signal and receive a first return signal of the first ultrasonic detection signal. If a human body is detected in the target area based on the first return signal, the ultrasonic sensor is controlled to emit a second ultrasonic detection signal and receive a second return signal of the second ultrasonic detection signal. If a gripping action is detected based on the second return signal, an unlocking action is performed. This application uses an ultrasonic sensor to identify the human body and detect the gripping of the handle to achieve automatic unlocking, which can avoid the leakage of user privacy.

[0088] Reference Figure 4 In the second embodiment, based on the first embodiment, after step S10, the following steps are further included:

[0089] In this embodiment, the door lock control method includes steps S40-50:

[0090] Step S40: selecting a target ultrasonic sensor from the ultrasonic sensors that detect a human body;

[0091] In this embodiment, at least two ultrasonic sensors may be provided for a double-door door lock, and the ultrasonic sensors are respectively provided on the edge sides of the handles of different bodies. It is understandable that a human body can be determined to be detected when the detection distance measured by the ultrasonic sensor is less than the preset distance threshold corresponding to the target area. The present application selects a target ultrasonic sensor from the ultrasonic sensors that detect a human body, and selects the ultrasonic sensor with the smallest detection distance as the target ultrasonic sensor for grasping the handle.

[0092] For example, refer to Figure 5 , Figure 5 This is another door lock schematic diagram of the door lock control method of the present application. An ultrasonic sensor is arranged at the same position of the two main bodies of the double door.

[0093] In a feasible implementation, since the ultrasonic sensors are all arranged on the edge of the handle of the main body, only the main body is arranged differently. Therefore, a target ultrasonic sensor can be randomly selected from the ultrasonic sensors, and then when detecting a human body, only ultrasonic sensors other than the target ultrasonic sensor are controlled to emit a first ultrasonic detection signal and receive a first return signal to detect whether there is a human body in the target area. This embodiment does not specifically limit this.

[0094] Step S50: Based on the target ultrasonic sensor, executing the step of controlling the ultrasonic sensor to transmit a second ultrasonic detection signal and receiving a second return signal of the second ultrasonic detection signal.

[0095] In this embodiment, the target ultrasonic sensor is adjusted from the long-range mode to the short-range mode, the target ultrasonic sensor is controlled to transmit the second ultrasonic detection signal, and the second return signal of the second ultrasonic detection signal is received, so as to perform grip detection on the handle.

[0096] It should be noted that when the target ultrasonic sensor does not detect a grasping action within a preset time period, or detects a locking action after an unlocking action, the target ultrasonic sensor is adjusted from a short-range mode to a long-range mode to continue executing the steps of controlling the ultrasonic sensor to emit a first ultrasonic detection signal and receiving a first return signal of the first ultrasonic detection signal.

[0097] In the technical solution provided in this embodiment, after controlling the ultrasonic sensor to send a first ultrasonic detection signal and receiving a first return signal of the first ultrasonic detection signal, a target ultrasonic sensor is selected from the ultrasonic sensors that detect the human body, and then based on the target ultrasonic sensor, the steps of controlling the ultrasonic sensor to transmit a second ultrasonic detection signal and receiving a second return signal of the second ultrasonic detection signal are executed, thereby reducing the power consumption of the ultrasonic sensor.

[0098] Reference Figure 6 In a third embodiment, based on any of the above embodiments, after step S10, the method further includes:

[0099] In this embodiment, the door lock control method includes steps S60-80:

[0100] Step S60: if a human body is detected in the target area based on the first return signal, the control system adjusts the relevant module from a low power consumption state to an active state;

[0101] In this embodiment, in order to save the power consumption of the door lock, the control system of the door lock can set the relevant modules to a low power consumption state. When the ultrasonic sensor detects the presence of a human body in the target area, the control system adjusts the relevant modules from the low power consumption state to the active state, so that the relevant modules are in the working mode and start working. The relevant modules include a positioning module and / or a module for performing an unlocking action.

[0102] In a feasible implementation, if the door lock uses a long-range ultrasonic sensor to transmit a first ultrasonic detection signal and receives a first return signal of the first ultrasonic detection signal, and uses a short-range ultrasonic sensor to transmit a second ultrasonic detection signal and receives a second return signal of the second ultrasonic detection signal, that is, the door lock uses different ultrasonic sensors for human body detection and grasping detection respectively. The control system can set the relevant modules and the short-range ultrasonic sensor to a low power consumption state. When the long-range ultrasonic sensor detects the presence of a human body in the target area, the control system adjusts the relevant modules and the short-range ultrasonic sensor from a low power consumption state to an active state, so that the relevant modules and the short-range ultrasonic sensor are in a working mode and start working.

[0103] Step S70: obtaining the current location of the target user based on the positioning module;

[0104] In this embodiment, after the positioning module is adjusted to the active state, the positioning module is in the working mode, and the control system can obtain the current location of the target user based on the positioning module to determine whether the current unlocking user is the target user, thereby increasing the security of the door lock. The positioning module can obtain the current location of the target user through wireless communication methods such as Bluetooth and WiFi.

[0105] It should be noted that before the step of obtaining the current location of the target user based on the positioning module, it includes: establishing a communication connection between the positioning module and the target terminal, receiving and verifying the user authentication information sent by the target terminal, and when the user authentication information is successfully verified, determining the current location of the target terminal as the current location of the target user.

[0106] In this embodiment, the target user needs to establish a connection with the positioning module of the door lock through the target terminal in advance for user authentication, ensuring that the door lock will only execute the unlocking action when it recognizes that the unlocking user is the target user, thereby increasing the security of the door lock.

[0107] Step S80: The step of performing the unlocking action includes:

[0108] If the grasping action is detected and the current position is within a preset position interval, an unlocking action is performed.

[0109] In this embodiment, when a grasping action is detected based on the second return signal and the current position of the target user is in a preset position interval, it is determined to be a grasping action performed by the target user, and then the control system executes an unlocking action to achieve automatic unlocking and increase the safety of the door lock.

[0110] In a feasible implementation manner, the preset position area may be set as an area where the handle can be grasped.

[0111] In another feasible implementation, the control system can pre-establish a communication connection between the positioning module and the target terminal, and then receive and verify the user authentication information sent by the target terminal, so that the unlocking action is performed only when the grasping action is detected, the current position is in the preset position interval, and / or the user authentication information is successfully verified. This provides automatic unlocking methods for users to choose, and improves the diversity of door lock control.

[0112] In another feasible implementation, before the step of executing the unlocking action, it also includes: acquiring the biometric characteristics of the human body in the target area, and then determining the authentication result based on the biometric characteristics, so that if the control system detects the grasping action and the authentication result is passed, the unlocking action is executed.

[0113] In this embodiment, the biometric feature can be a fingerprint or a face image, which is not specifically limited in this embodiment. Based on the biometric feature, it is determined whether the user currently unlocking the door is the target user. If the user is the target user, the authentication result is passed, which can improve the security of unlocking the door.

[0114] In another feasible implementation manner, before the step of executing the unlocking action, it also includes: if a grasping action is detected and it is detected that a linkage action in the door lock is triggered, executing the unlocking action.

[0115] In this embodiment, the linkage action is triggered by the user, and the triggering action may be pressing or rotating the handle.

[0116] For example, the trigger action is pressing the handle, and the linkage action is the bolt being released. When the target user grasps the handle and presses the handle to release the bolt in the door lock, the control system can detect the grasping action of the handle and detect that the bolt in the door lock is released, thereby performing the unlocking action.

[0117] In the technical solution provided by this embodiment, if a human body is detected in the target area based on the first return signal, the control system adjusts the relevant module from a low power consumption state to an active state, and then obtains the current position of the target user based on the positioning module, so that when a grasping action is detected based on the second return signal and the current position is in a preset position interval, the unlocking action is performed. This application adjusts the relevant module from a low power consumption state to an active state and starts working only when the ultrasonic sensor detects a human body, which can reduce the power consumption of the door lock.

[0118] The present application provides a door lock, which includes an ultrasonic sensor; at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the door lock control method in the above-mentioned embodiment one.

[0119] like Figure 7 As shown, the main body may include a processing device 1001 (e.g., a central processing unit), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the door lock are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: an input device 1007; an output device 1008; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the door lock to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a door lock with various systems, it should be understood that it is not required to implement or have all the systems shown. Greater or fewer systems may alternatively be implemented or provided.

[0120] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a door lock control program product, which includes a door lock control program carried on a computer-readable medium, and the door lock control program contains program code for executing the method shown in the flowchart. In such an embodiment, the door lock control program can be downloaded and installed from the network through a communication device, or installed from the storage device 1003, or installed from the ROM 1002. When the door lock control program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0121] The door lock provided by the present application adopts the door lock control method in the above embodiment, which can solve the technical problem that the user's privacy is easily leaked when the user needs to take a user image for face recognition and / or grip detection when using a camera to identify the unlocking demand. Compared with the prior art, the beneficial effects of the door lock provided by the present application are the same as the beneficial effects of the door lock control method provided by the above embodiment, and the other technical features of the door lock are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0122] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0123] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0124] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, a door lock control program) stored thereon, wherein the computer-readable program instructions are used to execute the door lock control method in the above-mentioned embodiment.

[0125] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0126] The computer-readable storage medium may be included in the door lock; or may exist independently without being assembled in the door lock.

[0127] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the door lock, the door lock: controls the ultrasonic sensor to emit a first ultrasonic detection signal, and receives a first return signal of the first ultrasonic detection signal. If a human body is detected in the target area based on the first return signal, the ultrasonic sensor is controlled to emit a second ultrasonic detection signal, and receives a second return signal of the second ultrasonic detection signal. If a grasping action is detected based on the second return signal, the unlocking action is performed. This application uses an ultrasonic sensor to identify the human body and perform a grasping detection of the handle to achieve automatic unlocking and avoid user privacy leakage.

[0128] The door lock control program code for performing the operations of the present application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, through the Internet using an Internet service provider).

[0129] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and door lock control program product according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment, or a part of a code, and the module, program segment, or a part of a code contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0130] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0131] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., door lock control program) for executing the above-mentioned door lock control method, and can solve the technical problem that the user's privacy is easily leaked when the user's image is taken for face recognition and / or grip detection when using a camera to identify the unlocking demand. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the door lock control method provided by the above-mentioned embodiment, and will not be repeated here.

[0132] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A door lock control method, characterized in that: A control system applied to a door lock, wherein the door lock is provided with an ultrasonic sensor, and the method comprises: Controlling the ultrasonic sensor to transmit a first ultrasonic detection signal and receive a first return signal of the first ultrasonic detection signal; If a human body is detected in the target area based on the first return signal, controlling the ultrasonic sensor to transmit a second ultrasonic detection signal and receiving a second return signal of the second ultrasonic detection signal; If a gripping action is detected based on the second return signal, an unlocking action is performed.

2. The method according to claim 1, characterized in that Before the step of controlling the ultrasonic sensor to transmit the second ultrasonic detection signal and receiving the second return signal of the second ultrasonic detection signal, the method includes: If a human body is detected in the target area based on the first return signal, the ultrasonic sensor is adjusted from a long-range mode to a short-range mode.

3. The method according to claim 2, characterized in that After the step of controlling the ultrasonic sensor to transmit the second ultrasonic detection signal and receiving the second return signal of the second ultrasonic detection signal, the method further includes: If the grasping action is not detected within a preset time period, or if a locking action is detected after the unlocking action, the ultrasonic sensor is adjusted from the short-range mode to the long-range mode; The step of controlling the ultrasonic sensor to transmit a first ultrasonic detection signal and receiving a first return signal of the first ultrasonic detection signal is skipped and executed.

4. The method according to claim 1, characterized in that The door lock is provided with a long-range ultrasonic sensor and a short-range ultrasonic sensor, the long-range ultrasonic sensor is used to transmit the first ultrasonic detection signal and receive the first return signal; the short-range ultrasonic sensor is used to transmit the second ultrasonic detection signal and receive the second return signal.

5. The method according to claim 1, characterized in that The door lock is provided with at least two ultrasonic sensors, and after the step of controlling the ultrasonic sensor to send the first ultrasonic detection signal and receiving the first return signal of the first ultrasonic detection signal, the method further includes: Selecting a target ultrasonic sensor from among ultrasonic sensors that detect a human body; Based on the target ultrasonic sensor, the steps of controlling the ultrasonic sensor to transmit a second ultrasonic detection signal and receiving a second return signal of the second ultrasonic detection signal are performed.

6. The method according to any one of claims 1 to 5, characterized in that After the step of controlling the ultrasonic sensor to transmit a first ultrasonic detection signal and receiving a first return signal of the first ultrasonic detection signal, the method further includes: If a human body is detected in the target area based on the first return signal, the control system adjusts the relevant module from a low power consumption state to an active state; Obtain the current location of the target user based on the positioning module; The steps of performing the unlocking action include: If the grasping action is detected and the current position is within a preset position interval, an unlocking action is performed.

7. The method according to claim 6, characterized in that Before the step of performing the unlocking action, the method includes: Establishing a communication connection between the positioning module and the target terminal; Receiving and verifying user authentication information sent by the target terminal; The steps of performing the unlocking action include: If the grasping action is detected, the current position is within a preset position interval, and / or the user authentication information is successfully verified, an unlocking action is performed.

8. The method according to claim 1, characterized in that Before the step of performing the unlocking action, the method further includes: Acquire biological characteristics of a human body in the target area; Determining an authentication result based on the biometric feature; The steps of performing the unlocking action include: If the grasping action is detected and the authentication result is passed, the unlocking action is performed.

9. A door lock, characterized in that: The door lock comprises: an ultrasonic sensor, a memory, a processor, and a door lock control program stored in the memory and executable on the processor, wherein the door lock control program is configured to implement the steps of the door lock control method according to any one of claims 1 to 8.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, on which a door lock control program is stored. When the door lock control program is executed by a processor, the steps of the door lock control method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Information exchange system based on audio frequency and exchange method thereof

    CN103490826A

  • Unlocking method of intelligent door lock, intelligent door lock and intelligent door lock system

    CN113327353A

  • Automobile ultrasonic radar system and implementation method thereof

    CN117471441A

  • System for realizing obstacle detection through single ultrasonic sensor and smoke alarm

    CN117970339A

  • Recognition unlocking device based on intelligent induction

    CN213751196U