Unlocking method and system based on inductive sensor, intelligent door lock and storage medium
By embedding sensing sensors on both sides of the smart door lock handle and using proximity sensing algorithm to identify the grip direction, the problem that the smart door lock cannot recognize the user's grip direction is solved, and high-precision unlocking control is achieved to avoid hand clamping accidents and maintain aesthetics.
Patent Information
- Application Number
- CN202510441897.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-09
- Publication Date
- 2025-07-11
AI Technical Summary
The existing smart door lock cannot recognize the user's grip direction in the wrong grip posture, resulting in hand clamping accidents, especially smart electronic locks designed with vertical grip.
Induction sensors (such as capacitive sensing sensors, pressure sensing sensors and infrared sensing sensors) are embedded on both sides of the smart door lock handle. The user's grip position and direction are identified through proximity sensing algorithms, and the amplitude tongue lock is controlled for unlocking or pausing unlocking, and the user is prompted to hold correctly through sound, mechanical vibration and light.
Improve the recognition accuracy of smart door locks in the wrong grip posture, avoid hand clamping accidents, and maintain product aesthetics and user experience.
Smart Images

Figure CN120299115A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent door locks, and in particular, to an unlocking method, system, intelligent door lock and computer-readable storage medium based on an induction sensor. Background Art
[0002] In the current market, intelligent locks, especially intelligent electronic locks with a vertical grip design, have potential pinch safety hazards. The traditional solution is to avoid pinching by increasing the distance between the handle and the door frame. However, this approach not only has high design complexity, requires distinguishing between left and right unlocking directions, but may also affect the overall aesthetics of the product and increase the manufacturing cost. Another part prevents users from reaching out in the wrong direction by adding a handle baffle to avoid pinching. However, this method not only affects the aesthetics but also the user experience, and requires additional partition accessories, resulting in the intelligent door lock being unable to recognize the correct direction of the user's grip for unlocking in the case of unlocking with an incorrect gripping posture, which has become an urgent problem to be solved.
[0003] Therefore, the prior art still needs to be improved and developed. Summary of the Invention
[0004] The main object of the present invention is to provide an unlocking method, system, intelligent door lock and computer-readable storage medium based on an induction sensor, aiming to solve the problem that in the case of unlocking with an incorrect gripping posture in the prior art, the intelligent door lock cannot recognize the correct direction of the user's grip for unlocking, resulting in the intelligent door lock with a vertical grip being prone to pinching.
[0005] To achieve the above object, the present invention provides an unlocking method based on an induction sensor, and the unlocking method based on the induction sensor includes the following steps:
[0006] Obtain the key input by the user, verify the key to obtain a verification result, control the main tongue lock of the intelligent door lock to be unlocked according to the verification result, and control the auxiliary tongue lock of the intelligent door lock to be locked to obtain an opening activation instruction;
[0007] Activate the induction sensor of the intelligent door lock according to the opening activation instruction, and the activated induction sensor senses and detects the user's gripping position to obtain an induction result. Based on the proximity induction algorithm, judge the direction of the gripping position according to the induction result to obtain a gripping direction;
[0008] If the gripping direction is a preset opening gripping direction, then control the auxiliary tongue lock of the intelligent door lock to be unlocked so that the user can be fully unlocked and opened when in the correct gripping direction.
[0009] Optionally, in the unlocking method based on an induction sensor, the induction sensor includes any one or more of a capacitance induction sensor, a pressure induction sensor, and an infrared induction sensor;
[0010] Activating the induction sensor of the intelligent door lock according to the door opening activation instruction, and after activation, the induction sensor senses and detects the user's holding position to obtain an induction result. Based on a proximity induction algorithm, the direction of the holding position is judged according to the induction result to obtain a holding direction, which specifically includes:
[0011] When the user's hand is less than a preset distance from the handle of the intelligent door lock, any one or more of the capacitance induction sensor, the pressure induction sensor, and the infrared induction sensor on both sides of the intelligent door lock are activated according to the door opening activation signal;
[0012] Any one or more of the activated capacitance induction sensor, pressure induction sensor, and infrared induction sensor sense and detect the user's holding position to obtain an induction result. Based on a proximity induction algorithm, the direction of the holding position is judged according to the induction result to obtain a holding direction;
[0013] Wherein, the induction result is used to verify whether the user's hand is placed at the holding position.
[0014] Optionally, in the unlocking method based on an induction sensor, any one or more of the activated capacitance induction sensor, pressure induction sensor, and infrared induction sensor sense and detect the user's holding position to obtain an induction result. Based on a proximity induction algorithm, the direction of the holding position is judged according to the induction result to obtain a holding direction, which specifically includes:
[0015] The activated capacitance induction sensor performs capacitance detection on the user's holding position to obtain a first induction result, the activated pressure induction sensor performs pressure detection on the user's holding position to obtain a second induction result, and the activated infrared induction sensor performs infrared detection on the user's holding distance to obtain a third induction result;
[0016] Based on a proximity induction algorithm, the direction of the holding position is judged according to any one or more of the first induction result, the second induction result, and the third induction result to obtain a holding direction;
[0017] Wherein, the holding direction includes the left side and the right side of the intelligent door lock.
[0018] Optionally, the activated capacitance sensing sensor performs capacitance detection on the user's holding position to obtain a first sensing result, the activated pressure sensing sensor performs pressure detection on the user's holding position to obtain a second sensing result, and the activated infrared sensing sensor performs infrared detection on the user's holding distance to obtain a third sensing result. Specifically, it includes:
[0019] The activated capacitance sensing sensor performs capacitance detection on the direction of the holding position to obtain a capacitance value, and judges the capacitance value according to a first preset threshold to obtain a first sensing result;
[0020] The activated pressure sensing sensor performs pressure detection on the direction of the holding position to obtain a feedback voltage value, and judges the feedback voltage value according to a second preset threshold to obtain a second sensing result;
[0021] The activated infrared sensing sensor performs infrared detection on the distance of the direction of the user's holding position to obtain a reflected light intensity value, and judges the reflected light intensity value according to a third preset threshold to obtain a third sensing result.
[0022] Optionally, the tongue lock includes: a locking oblique tongue or a scissors tongue;
[0023] If the holding direction is a preset opening holding direction, then control the tongue lock of the intelligent door lock to unlock, so that the user can fully unlock and open the door when in the correct holding direction. Specifically, it includes:
[0024] Judge whether the left or right side of the intelligent door lock is a preset opening holding direction;
[0025] If the left or right side of the intelligent door lock is a preset opening holding direction, then control the locking oblique tongue or scissors tongue of the intelligent door lock to unlock, so that the user can fully unlock and open the door when in the correct holding direction.
[0026] Optionally, for the unlocking method based on the induction sensor, wherein, after judging whether the left and right sides of the intelligent door lock are preset opening holding directions, it further includes:
[0027] If the left and right sides of the intelligent door lock are not preset opening holding directions, then control the locking oblique tongue or scissors tongue of the intelligent door lock to pause the unlocking operation, and remind the user through a preset feedback mechanism;
[0028] Wherein, the preset feedback mechanism includes: sound alarm, mechanical vibration and light prompt.
[0029] Optionally, in the above-described unlocking method based on an induction sensor, when the holding direction is a preset door-opening holding direction, the latch lock of the intelligent door lock is controlled to unlock, so that when the user holds the door lock in the correct direction, the door can be fully unlocked and opened. After that, the method further includes:
[0030] Automatically adjust the first preset threshold, the second preset threshold, and the third preset threshold respectively according to the first induction result, the second induction result, and the third induction result to obtain a plurality of the first preset thresholds, a plurality of the second preset thresholds, and a plurality of the third preset thresholds;
[0031] Based on a proximity induction algorithm, calculate according to the plurality of the first preset thresholds, the plurality of the second preset thresholds, and the plurality of the third preset thresholds to obtain an optimal first preset threshold, an optimal second preset threshold, and an optimal third preset threshold.
[0032] In addition, to achieve the above object, the present invention further provides an unlocking system based on an induction sensor, wherein the unlocking system based on an induction sensor:
[0033] The main tongue lock unlocking module is configured to obtain a key input by a user, verify the key to obtain a verification result, control the main tongue lock of the intelligent door lock to unlock according to the verification result, and control the latch lock of the intelligent door lock to lock to obtain a door-opening activation instruction;
[0034] The holding direction detection module is configured to activate the induction sensor of the intelligent door lock according to the door-opening activation instruction. The activated induction sensor senses and detects the holding position of the user to obtain an induction result, and based on a proximity induction algorithm, judges the direction of the holding position according to the induction result to obtain a holding direction;
[0035] The intelligent door lock unlocking module is configured to control the latch lock of the intelligent door lock to unlock when the holding direction is a preset door-opening holding direction, so that the user can be fully unlocked and opened when in the correct holding direction.
[0036] In addition, to achieve the above object, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores an unlocking program based on an induction sensor. When the unlocking program based on the induction sensor is executed by a processor, the steps of the above-described unlocking method based on the induction sensor are implemented.
[0037] In the present invention, a user-entered key is obtained, the key is verified to obtain a verification result, the main tongue lock of the intelligent door lock is controlled to unlock according to the verification result, and the auxiliary tongue lock of the intelligent door lock is controlled to lock to obtain an opening activation instruction; the induction sensor of the intelligent door lock is activated according to the opening activation instruction, and the activated induction sensor senses and detects the user's holding position to obtain a sensing result. Based on a proximity sensing algorithm, the direction of the holding position is judged according to the sensing result to obtain a holding direction; if the holding direction is a preset opening holding direction, the auxiliary tongue lock of the intelligent door lock is controlled to unlock, so that when the user is in the correct holding direction, the door can be completely unlocked and opened. The present invention unlocks by identifying the correct direction of the user's holding through the induction sensor, greatly improving the recognition accuracy of the intelligent door lock and avoiding accidents of pinching the user's hand. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 is a flowchart of a preferred embodiment of the unlocking method of the present invention based on an induction sensor;
[0039] Figure 2 is a flowchart of step S20 of a preferred embodiment of the unlocking method of the present invention based on an induction sensor;
[0040] Figure 3 is a flowchart of S22 of a preferred embodiment of the unlocking method of the present invention based on an induction sensor;
[0041] Figure 4 is a flowchart of S221 of a preferred embodiment of the unlocking method of the present invention based on an induction sensor;
[0042] Figure 5 is a flowchart of S30 of a preferred embodiment of the unlocking method of the present invention based on an induction sensor;
[0043] Figure 6 is a schematic diagram of unlocking of a preferred embodiment of the unlocking method of the present invention based on an induction sensor;
[0044] Figure 7 is a schematic diagram of the position of the induction sensor of the intelligent door lock of a preferred embodiment of the unlocking method of the present invention based on an induction sensor;
[0045] Figure 8 is a structural diagram of a preferred embodiment of the unlocking system of the present invention based on an induction sensor;
[0046] Figure 9 is a structural diagram of a preferred embodiment of the intelligent door lock of the device of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0047] To make the objectives, technical solutions and advantages of the present invention clearer and more explicit, the following further describes the present invention in detail with reference to the accompanying drawings and by way of examples. It should be understood that the specific examples described herein are merely used to explain the present invention and are not intended to limit the present invention.
[0048] There are safety hazards in the handle designs of some current smart locks. For example, the vertical-grip smart electronic lock is prone to pinching accidents, especially for groups such as children. The conventional design is to optimize the handle design by increasing the distance between the handle and the door frame to avoid pinching. However, this method requires high design requirements, needs to distinguish between left and right unlocking, affects the aesthetics of the appearance and increases costs. This approach not only has high design complexity and requires distinguishing between left and right unlocking directions, but may also affect the overall aesthetics of the product and increase manufacturing costs. Another part prevents users from reaching out in the wrong direction by adding a handle baffle to avoid pinching. However, this method not only affects the aesthetics but also the user experience, and requires additional partition accessories. As a result, in the case of unlocking with an incorrect gripping posture, the smart door lock cannot recognize the correct direction of the user's grip to unlock. Therefore, there is a need for an unlocking method based on an induction sensor. Using this method, induction sensors can be embedded on both sides of the vertical grip of the smart lock to identify the correct direction of the user's grip for unlocking, avoiding pinching while maintaining aesthetics.
[0049] The unlocking method based on an induction sensor according to a preferred embodiment of the present invention, as Figure 1 shown, the unlocking method based on an induction sensor includes the following steps:
[0050] Step S10: Obtain the key input by the user, verify the key to obtain a verification result, control the main tongue lock of the smart door lock to unlock according to the verification result, and control the auxiliary tongue lock of the smart door lock to lock to obtain an opening activation instruction.
[0051] Specifically, when the user attempts to unlock, the smart door lock verifies the key (face recognition and fingerprint recognition) to obtain a verification result. After verifying the key, according to the verification result, control the main lock tongue of the smart door lock to unlock, and control the auxiliary tongue lock (latch bolt or shear bolt) of the smart door lock not to unlock first. At this time, the door cannot be opened directly. When the user's hand approaches the handle, the induction sensors on both sides of the handle are activated.
[0052] Step S20: Activate the induction sensor of the smart door lock according to the opening activation instruction. After activation, the induction sensor senses and detects the user's gripping position to obtain an induction result. Based on the proximity induction algorithm, judge the direction of the gripping position according to the induction result to obtain the gripping direction.
[0053] As Figure 2As shown, the step S20 includes:
[0054] Step S21: When the distance between the user's hand and the handle of the intelligent door lock is less than a preset distance, any one or more of the capacitance induction sensors, the pressure induction sensors, and the infrared induction sensors on both sides of the intelligent door lock are activated according to the door-opening activation signal;
[0055] Step S22: Any one or more of the activated capacitance induction sensors, pressure induction sensors, and infrared induction sensors detect the user's holding position to obtain an induction result, and based on the proximity induction algorithm, the direction of the holding position is judged according to the induction result to obtain the holding direction.
[0056] Specifically, if the user's hand is less than a preset distance from the handle of the smart door lock, any one or more of the capacitive sensing sensors, the pressure sensing sensors and the infrared sensing sensors on both sides of the smart door lock are activated according to the door opening activation signal, and any one or more of the activated capacitive sensing sensors, the pressure sensing sensors and the infrared sensing sensors sense and detect the user's holding position to obtain a sensing result (sensing sensors are added on both sides of the vertical handle, such as capacitive sensing sensors, pressure sensing sensors and infrared sensing sensors, etc., and the capacitive sensing sensors, pressure sensing sensors and infrared sensing sensors can sense whether the hand is holding on the left or right), wherein the sensing result is used to verify whether the user's hand is placed in the holding position, and based on the proximity sensing algorithm, the direction of the holding position is judged according to the sensing result to obtain the holding direction (when the hand approaches the left or right capacitive sensing sensor, pressure sensing sensor and infrared sensing sensor, the capacitive sensing sensor, pressure sensing sensor and infrared sensing sensor are sensed by the capacitive sensing sensor, pressure sensing sensor and infrared sensing sensor). The capacitance value of the sensor increases, and the voltage or infrared light intensity increases, which is significantly different from not placing the hand, and based on this, it can be judged whether the hand is on the left or right side). The sensing sensor includes: any one or more of a capacitive sensing sensor, a pressure sensing sensor, and an infrared sensing sensor (the three sensing sensors can be alternatives to each other, and only one of them is built-in to achieve the same sensing effect, or more than two can be built-in at the same time to increase the detection dimension to enhance the accuracy of sensing judgment). The capacitive sensing sensor, the pressure sensing sensor, and the infrared sensing sensor are connected to the control unit via a wired manner to transmit the holding state data in real time. The sensing sensors are cleverly embedded on both sides of the vertical handle to ensure that when the user holds the handle, no matter what the size of the palm or the holding position is, it can be accurately detected. The positions of the capacitive sensing sensor, the pressure sensing sensor, and the infrared sensing sensor are accurately calculated to minimize false alarms and missed alarms. A non-contact (infrared sensor) method is used to detect the proximity of the user's hand to the handle, and the pressure sensor can sense the pressure distribution during holding. Both can effectively identify the holding state.
[0057] like Figure 3 As shown, the step S22 includes:
[0058] Step S221: the activated capacitive sensing sensor performs capacitive detection on the user's holding position to obtain a first sensing result, the activated pressure sensing sensor performs pressure detection on the user's holding position to obtain a second sensing result, and the activated infrared sensing sensor performs infrared detection on the user's holding distance to obtain a third sensing result;
[0059] Step S222: Based on the proximity sensing algorithm, determine the direction of the holding position according to any one or more of the first sensing result, the second sensing result, and the third sensing result, to obtain the holding direction.
[0060] Specifically, the activated capacitance sensing sensor performs capacitance detection on the user's holding position (capacitance sensing, when the hand approaches the capacitance sensing sensor, the capacitance value increases), to obtain the first sensing result; the activated pressure sensing sensor performs pressure detection on the user's holding position (the greater the deformation caused by the pressure, the greater the feedback voltage value), to obtain the second sensing result; the activated infrared sensing sensor performs infrared detection on the distance of the user's holding position (infrared sensing, when the hand approaches the infrared sensor, the intensity of the reflected infrared light increases), to obtain the third sensing result. Based on the proximity sensing algorithm, determine the direction of the holding position according to any one or more of the first sensing result, the second sensing result, and the third sensing result, to obtain the holding direction (the capacitance sensing sensor, the pressure sensing sensor, or the infrared sensing sensor can sense whether the direction of the hand holding is on the left or right side of the smart door lock), where the holding direction includes the left side and the right side of the smart door lock.
[0061] As Figure 4 shown, step S221 includes:
[0062] Step S2211: The activated capacitance sensing sensor performs capacitance detection on the direction of the holding position, to obtain a capacitance value, and determine the first sensing result according to the first preset threshold for the capacitance value;
[0063] Step S2212: The activated pressure sensing sensor performs pressure detection on the direction of the holding position, to obtain a feedback voltage value, and determine the second sensing result according to the second preset threshold for the feedback voltage value;
[0064] Step S2213: The activated infrared sensing sensor performs infrared detection on the distance of the direction of the user's holding position, to obtain a reflected light intensity value, and determine the third sensing result according to the third preset threshold for the reflected light intensity value.
[0065] Specifically, the activated capacitive induction sensor performs capacitive detection on the direction of the holding position to obtain a capacitance value, and judges the capacitance value according to a first preset threshold to obtain a first induction result (for the capacitive sensor, there is a base value when no hand is placed on it, and when a hand is placed on it, the capacitance value will increase. When designing, the system will build in a value, which is used as the threshold for judging whether a hand is placed on it. When the sensed value is greater than this value, it is considered that a hand is placed on it). The activated pressure induction sensor performs pressure detection on the direction of the holding position to obtain a feedback voltage value, and judges the feedback voltage value according to a second preset threshold to obtain a second induction result (for the pressure induction sensor, there is a base value when no hand is placed on it, and when a hand is placed on it, the feedback voltage value will increase. When designing, the system will build in a value, which is used as the threshold for judging whether a hand is placed on it. When the sensed value is greater than this value, it is considered that a hand is placed on it). The activated infrared induction sensor performs infrared detection on the distance in the direction of the user's holding position to obtain a reflected light intensity value, and judges the reflected light intensity value according to a third preset threshold to obtain a third induction result (for the infrared induction sensor, there is a base value when no hand is placed on it, and when a hand is placed on it, the reflected light intensity value will increase. When designing, the system will build in a value, which is used as the threshold for judging whether a hand is placed on it. When the sensed value is greater than this value, it is considered that a hand is placed on it).
[0066] Step S30: If the holding direction is the preset opening holding direction, then control the latch lock of the intelligent door lock to unlock, so that the user can be fully unlocked and opened when in the correct holding direction.
[0067] As Figure 5 shown, step S30 includes:
[0068] Step S31: Judge whether the left or right side of the intelligent door lock is the preset opening holding direction;
[0069] Step S32: If the left or right side of the intelligent door lock is the preset opening holding direction, then control the oblique latch or the scissors latch of the intelligent door lock to unlock, so that the user can be fully unlocked and opened when in the correct holding direction.
[0070] Specifically, it is determined whether the left or right side of the intelligent door lock is the preset opening and holding direction (the control unit is embedded with intelligent algorithms for analyzing the data of the capacitance induction sensor, pressure induction sensor, and infrared induction sensor to determine whether the holding direction is correct). If the left or right side of the intelligent door lock is the preset opening and holding direction, then the locking tongue or scissor tongue of the intelligent door lock is controlled to unlock (when the holding direction is correct, the control unit immediately triggers the unlocking process to unlock the scissor tongue or locking tongue), so that when the user is in the correct holding direction, the door can be fully unlocked and opened. If the capacitance induction sensor, pressure induction sensor, and infrared induction sensor detect that the direction of the handle held by the user is the correct opening direction (i.e., the preset opening and holding position), the system continues to execute the unlocking, such as releasing the locking of the locking tongue / scissor tongue to allow the door leaf to open; if it is detected that the holding direction is incorrect, the unlocking is immediately stopped, and the user is reminded to hold correctly again through sound and light. The bolt lock includes: a locking tongue or scissor tongue, that is, only the main locking tongue is unlocked after verifying the secret key, and the locking tongue / scissor tongue is not unlocked. At this time, the scissor tongue / locking tongue is not retracted, and the user still cannot directly open the door. When the user's hand is placed in the correct position, the scissor tongue / locking tongue is unlocked at this time to allow the user to open the door, otherwise it is prompted that the hand placement position is incorrect and the scissor tongue / locking tongue is not unlocked, which can effectively avoid the situation of pinching hands.
[0071] Further, after the step S31, it also includes that if the left and right sides of the intelligent door lock are not the preset opening and holding directions, then the locking tongue or scissor tongue of the intelligent door lock is controlled to pause the unlocking operation, and the user is reminded through a preset feedback mechanism (if the holding is incorrect, the user is informed through means such as sound alarm, mechanical vibration, and light prompt (such as the LED indicator flashing), and the unlocking operation is paused); wherein, the preset feedback mechanism includes: sound alarm, mechanical vibration, and light prompt. After the step S30, it also includes automatically adjusting the first preset threshold, the second preset threshold, and the third preset threshold respectively according to the first induction result, the second induction result, and the third induction result to obtain multiple first preset thresholds, multiple second preset thresholds, and multiple third preset thresholds; based on the proximity induction algorithm, calculating according to multiple first preset thresholds, multiple second preset thresholds, and multiple third preset thresholds to obtain the optimal first preset threshold, the optimal second preset threshold, and the optimal third preset threshold (the threshold is generally determined by the parameters during the debugging process, or the value when no hand is placed is automatically scanned, and generally multiple samples are taken and averaged, and then a little increment is added as the adaptive threshold), wherein, the preset feedback mechanism includes: sound alarm, mechanical vibration, and light prompt.
[0072] As Figure 6 and Figure 7 shown, by way of example, Figure 7The holding area of the intelligent door lock, where a capacitive induction sensor, a pressure induction sensor, and an infrared induction sensor are installed in the holding area. Figure 7 Below the holding area on the side is a hollow area, combined with Figure 6 In the case where the intelligent door lock is set on the right side of the door, if the user's hand is on the right side of the capacitive induction sensor, pressure induction sensor, and infrared induction sensor, there is a risk of being pinched by the door gap, and the holding direction is determined to be incorrect. Unlock is immediately stopped, and the user is reminded to hold correctly again through sound and light. If the user's hand is on the left side of the capacitive induction sensor, pressure induction sensor, and infrared induction sensor, the diagonal tongue / scissor tongue lock is released to allow the door leaf to open. Further, if the intelligent door lock is set on the left side of the door, if the user's hand is on the right side of the capacitive induction sensor, pressure induction sensor, and infrared induction sensor, the diagonal tongue / scissor tongue lock is released to allow the door leaf to open. If the user's hand is on the left side of the capacitive induction sensor, pressure induction sensor, and infrared induction sensor, the holding direction is determined to be incorrect, unlock is immediately stopped, and the user is reminded to hold correctly again through sound and light. Further, when the door lock is in the unlocked state and in the open door state, and the user holds the door lock handle to close the door, the door lock determines whether the user's hand-held direction is the correct direction according to the sensing of the induction sensor. If the direction is correct, the user is allowed to close the door and lock it normally. If the user's hand-held direction is incorrect, the user is reminded of the incorrect hand-held direction through sound alarm, mechanical vibration, and light prompt, and there is a risk of pinching the hand when closing the door.
[0073] Further, as Figure 8 shown, based on the above unlocking method based on the induction sensor, the present invention also correspondingly provides an unlocking system based on the induction sensor. Among them, the unlocking system based on the induction sensor includes:
[0074] The main tongue lock unlocking module 51 is used to obtain the key input by the user, verify the key to obtain a verification result, control the main tongue lock of the intelligent door lock to unlock according to the verification result, and control the auxiliary tongue lock of the intelligent door lock to lock to obtain an opening activation instruction.
[0075] The holding direction detection module 52 is used to activate the induction sensor of the intelligent door lock according to the opening activation instruction. The activated induction sensor senses and detects the user's holding position to obtain an induction result. Based on the proximity induction algorithm, the direction of the holding position is judged according to the induction result to obtain the holding direction.
[0076] The intelligent door lock unlocking module 53 is used to control the auxiliary tongue lock of the intelligent door lock to unlock if the holding direction is the preset opening holding direction, so that the user can fully unlock and open the door when in the correct holding direction.
[0077] Further, asFigure 9 As shown, based on the above-mentioned unlocking method and system based on an inductive sensor, the present invention also correspondingly provides an intelligent door lock, which includes a processor 10, a memory 20, and a display 30. Figure 9 Only some components of the intelligent door lock are shown, but it should be understood that it is not required to implement all the shown components, and more or fewer components can be alternatively implemented.
[0078] In some embodiments, the memory 20 can be an internal storage unit of the intelligent door lock, such as a hard disk or memory of the intelligent door lock. In other embodiments, the memory 20 can also be an external storage device of the intelligent door lock, such as a plug-in hard disk equipped on the intelligent door lock, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. Further, the memory 20 can also include both the internal storage unit and the external storage device of the intelligent door lock. The memory 20 is used to store application software installed on the intelligent door lock and various types of data, such as program codes for installing the intelligent door lock. The memory 20 can also be used to temporarily store data that has been output or will be output. In one embodiment, an unlocking program 40 based on an inductive sensor is stored on the memory 20, and this unlocking program 40 based on an inductive sensor can be executed by the processor 10, thereby implementing the unlocking method based on an inductive sensor in the present application.
[0079] In some embodiments, the processor 10 can be a Central Processing Unit (CPU), a microprocessor, or other data processing chips, and is used to run the program codes stored in the memory 20 or process data, such as executing the unlocking method based on an inductive sensor, etc.
[0080] In some embodiments, the display 30 can be an LED display, a liquid crystal display, a touch liquid crystal display, and an OLED (Organic Light-Emitting Diode) toucher, etc. The display 30 is used to display information on the intelligent door lock and to display a visual user interface. The components of the intelligent door lock communicate with each other through a system bus.
[0081] In one embodiment, when the processor 10 executes the unlocking program 40 based on an inductive sensor in the memory 20, the following steps are implemented:
[0082] Obtain the key input by the user, verify the key to obtain a verification result, control the main tongue lock of the intelligent door lock to unlock according to the verification result, and control the auxiliary tongue lock of the intelligent door lock to lock to obtain an opening activation instruction;
[0083] Activate the induction sensor of the intelligent door lock according to the opening activation instruction. After activation, the induction sensor senses and detects the user's holding position to obtain an induction result. Based on the proximity induction algorithm, judge the direction of the holding position according to the induction result to obtain the holding direction;
[0084] If the holding direction is the preset opening holding direction, control the auxiliary tongue lock of the intelligent door lock to unlock so that the user can fully unlock and open the door when in the correct holding direction;
[0085] Among them, the induction sensor includes any one or more of a capacitance induction sensor, a pressure induction sensor, and an infrared induction sensor;
[0086] The activation of the induction sensor of the intelligent door lock according to the opening activation instruction. After activation, the induction sensor senses and detects the user's holding position to obtain an induction result. Based on the proximity induction algorithm, judge the direction of the holding position according to the induction result to obtain the holding direction specifically includes:
[0087] If the user's hand is less than the preset distance from the handle of the intelligent door lock, activate any one or more of the capacitance induction sensor, the pressure induction sensor, and the infrared induction sensor on both sides of the intelligent door lock according to the opening activation signal;
[0088] Any one or more of the activated capacitance induction sensor, pressure induction sensor, and infrared induction sensor sense and detect the user's holding position to obtain an induction result. Based on the proximity induction algorithm, judge the direction of the holding position according to the induction result to obtain the holding direction;
[0089] Among them, the induction result is used to verify whether the user's hand is placed on the holding position;
[0090] Among them, any one or more of the activated capacitance induction sensor, pressure induction sensor, and infrared induction sensor sense and detect the user's holding position to obtain an induction result. Based on the proximity induction algorithm, judge the direction of the holding position according to the induction result to obtain the holding direction specifically includes:
[0091] After activation, the capacitance induction sensor performs capacitance detection on the user's holding position to obtain a first induction result. After activation, the pressure induction sensor performs pressure detection on the user's holding position to obtain a second induction result. After activation, the infrared induction sensor performs infrared detection on the user's holding distance to obtain a third induction result;
[0092] Based on the proximity induction algorithm, the direction of the holding position is judged according to any one or more of the first induction result, the second induction result, and the third induction result to obtain the holding direction;
[0093] Among them, the holding direction includes the left side and the right side of the intelligent door lock.
[0094] Among them, after activation, the capacitance induction sensor performs capacitance detection on the user's holding position to obtain a first induction result. After activation, the pressure induction sensor performs pressure detection on the user's holding position to obtain a second induction result. After activation, the infrared induction sensor performs infrared detection on the user's holding distance to obtain a third induction result, which specifically includes:
[0095] After activation, the capacitance induction sensor performs capacitance detection on the direction of the holding position to obtain a capacitance value, and judges the capacitance value according to a first preset threshold to obtain a first induction result;
[0096] After activation, the pressure induction sensor performs pressure detection on the direction of the holding position to obtain a feedback voltage value, and judges the feedback voltage value according to a second preset threshold, the second induction result;
[0097] After activation, the infrared induction sensor performs infrared detection on the distance of the direction of the user's holding position to obtain a reflected light intensity value, and judges the reflected light intensity value according to a third preset threshold to obtain a third induction result.
[0098] Among them, the latch lock includes: a locking dog or a scissors tongue;
[0099] If the holding direction is a preset opening holding direction, then control the latch lock of the intelligent door lock to unlock, so that the user can fully unlock and open the door when in the correct holding direction, which specifically includes:
[0100] Judge whether the left side or the right side of the intelligent door lock is the preset opening holding direction;
[0101] If the left side or the right side of the intelligent door lock is the preset opening holding direction, then control the locking dog or the scissors tongue of the intelligent door lock to unlock, so that the user can fully unlock and open the door when in the correct holding direction.
[0102] Wherein, the step of determining whether the left side and the right side of the smart door lock are the preset door opening holding directions further includes:
[0103] If the left and right sides of the smart door lock are not in the preset door opening holding direction, the lock oblique tongue or scissor tongue of the smart door lock is controlled to suspend the unlocking operation, and the user is reminded through a preset feedback mechanism;
[0104] The preset feedback mechanism includes: sound alarm, mechanical vibration and light prompt.
[0105] Wherein, if the holding direction is the preset door opening holding direction, the tongue lock of the smart door lock is controlled to unlock, so that the user can completely unlock and open the door when holding in the correct direction, and then also includes:
[0106] Automatically adjusting the first preset threshold, the second preset threshold, and the third preset threshold according to the first sensing result, the second sensing result, and the third sensing result, respectively, to obtain a plurality of the first preset thresholds, a plurality of the second preset thresholds, and a plurality of the third preset thresholds;
[0107] Based on the proximity sensing algorithm, calculation is performed according to the plurality of first preset thresholds, the plurality of second preset thresholds and the plurality of third preset thresholds to obtain an optimal first preset threshold, an optimal second preset threshold and an optimal third preset threshold.
[0108] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores an unlocking program based on an inductive sensor, and when the unlocking program based on the inductive sensor is executed by a processor, the steps of the unlocking method based on the inductive sensor as described above are implemented.
[0109] In summary, the present invention provides an unlocking method, system, smart door lock and storage medium based on an induction sensor, the method comprising: obtaining a key input by a user, verifying the key to obtain a verification result, controlling the main tongue lock of the smart door lock to unlock according to the verification result, and controlling the width tongue lock of the smart door lock to lock, to obtain a door opening activation instruction; activating the induction sensor of the smart door lock according to the door opening activation instruction, the activated induction sensor senses and detects the user's holding position to obtain a sensing result, based on a proximity sensing algorithm, judging the direction of the holding position according to the sensing result to obtain a holding direction; if the holding direction is a preset door opening holding direction, controlling the width tongue lock of the smart door lock to unlock, so that the door is completely unlocked when the user is in the correct holding direction. The present invention unlocks the door by identifying the correct direction of the user's holding through the induction sensor, which greatly improves the accuracy of smart door lock recognition and avoids accidents of users pinching their hands.
[0110] It should be noted that in this text, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or intelligent door lock system including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such a process, method, article or intelligent door lock system. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article or intelligent door lock system including that element.
[0111] Of course, those of ordinary skill in the art can understand that all or part of the processes in the above-described method embodiments can be completed by instructing relevant hardware (such as a processor, a controller, etc.) through a computer program. The program can be stored in a computer-readable storage medium readable by a computer. When the program is executed, it can include the processes of the above-described method embodiments. The computer-readable storage medium can be a memory, a magnetic disk, an optical disc, etc.
[0112] It should be understood that the application of the present invention is not limited to the above examples. For those of ordinary skill in the art, improvements or transformations can be made according to the above description. All such improvements and transformations should fall within the protection scope of the appended claims of the present invention.
Claims
1. An unlocking method based on an induction sensor, characterized in that, The unlocking method based on the induction sensor includes: Obtain the key input by the user, verify the key to obtain a verification result, control the main tongue lock of the intelligent door lock to unlock according to the verification result, and control the auxiliary tongue lock of the intelligent door lock to lock to obtain an opening activation instruction; Activate the induction sensor of the intelligent door lock according to the opening activation instruction. After activation, the induction sensor senses and detects the user's holding position to obtain an induction result. Based on the proximity induction algorithm, judge the direction of the holding position according to the induction result to obtain the holding direction; If the holding direction is the preset opening holding direction, control the auxiliary tongue lock of the intelligent door lock to unlock so that the user can fully unlock and open the door when in the correct holding direction.
2. The unlocking method based on an inductive sensor according to claim 1, characterized in that The induction sensor includes any one or more of a capacitance induction sensor, a pressure induction sensor, and an infrared induction sensor; The activating the induction sensor of the intelligent door lock according to the opening activation instruction. After activation, the induction sensor senses and detects the user's holding position to obtain an induction result. Based on the proximity induction algorithm, judge the direction of the holding position according to the induction result to obtain the holding direction specifically includes: If the user's hand is less than a preset distance from the handle of the intelligent door lock, activate any one or more of the capacitance induction sensor, the pressure induction sensor, and the infrared induction sensor on both sides of the intelligent door lock according to the opening activation signal; Any one or more of the activated capacitance induction sensor, pressure induction sensor, and infrared induction sensor sense and detect the user's holding position to obtain an induction result. Based on the proximity induction algorithm, judge the direction of the holding position according to the induction result to obtain the holding direction; Wherein, the induction result is used to verify whether the user's hand is placed at the holding position.
3. The unlocking method based on an inductive sensor according to claim 2, wherein, The activating any one or more of the activated capacitance induction sensor, pressure induction sensor, and infrared induction sensor sense and detect the user's holding position to obtain an induction result. Based on the proximity induction algorithm, judge the direction of the holding position according to the induction result to obtain the holding direction specifically includes: The activated capacitance induction sensor performs capacitance detection on the user's holding position to obtain a first induction result, the activated pressure induction sensor performs pressure detection on the user's holding position to obtain a second induction result, and the activated infrared induction sensor performs infrared detection on the user's holding distance to obtain a third induction result; Based on the proximity induction algorithm, judge the direction of the holding position according to any one or more of the first induction result, the second induction result, and the third induction result to obtain the holding direction; Wherein, the holding direction includes the left side and the right side of the intelligent door lock.
4. The unlocking method based on an inductive sensor according to claim 3, wherein The activated capacitive induction sensor performs capacitive detection on the user's holding position to obtain a first induction result. The activated pressure induction sensor performs pressure detection on the user's holding position to obtain a second induction result. The activated infrared induction sensor performs infrared detection on the user's holding distance to obtain a third induction result, specifically including: The activated capacitive induction sensor performs capacitive detection on the direction of the holding position to obtain a capacitance value, and judges the capacitance value according to a first preset threshold to obtain a first induction result; The activated pressure induction sensor performs pressure detection on the direction of the holding position to obtain a feedback voltage value, and judges the feedback voltage value according to a second preset threshold to obtain a second induction result; The activated infrared induction sensor performs infrared detection on the distance in the direction of the user's holding position to obtain a reflected light intensity value, and judges the reflected light intensity value according to a third preset threshold to obtain a third induction result.
5. The unlocking method based on an induction sensor according to claim 3, wherein The latch tongue lock includes: a locking oblique tongue or a scissor tongue; If the holding direction is a preset opening holding direction, then control the latch tongue lock of the intelligent door lock to unlock, so that the user can fully unlock and open the door when in the correct holding direction, specifically including: Judge whether the left or right side of the intelligent door lock is a preset opening holding direction; If the left or right side of the intelligent door lock is a preset opening holding direction, then control the locking oblique tongue or the scissor tongue of the intelligent door lock to unlock, so that the user can fully unlock and open the door when in the correct holding direction.
6. The unlocking method based on an inductive sensor according to claim 5, wherein After judging whether the left and right sides of the intelligent door lock are preset opening holding directions, it further includes: If the left and right sides of the intelligent door lock are not preset opening holding directions, then control the locking oblique tongue or the scissor tongue of the intelligent door lock to pause the unlocking operation, and remind the user through a preset feedback mechanism; Among them, the preset feedback mechanism includes: sound alarm, mechanical vibration and light prompt.
7. The unlocking method based on an inductive sensor according to claim 4, wherein If the holding direction is a preset opening holding direction, then control the latch tongue lock of the intelligent door lock to unlock, so that the user can fully unlock and open the door when in the correct holding direction. After that, it further includes: Automatically adjust the first preset threshold, the second preset threshold and the third preset threshold respectively according to the first induction result, the second induction result and the third induction result to obtain a plurality of the first preset thresholds, a plurality of the second preset thresholds and a plurality of the third preset thresholds; Based on the proximity induction algorithm, calculate according to a plurality of the first preset thresholds, a plurality of the second preset thresholds and a plurality of the third preset thresholds to obtain an optimal first preset threshold, an optimal second preset threshold and an optimal third preset threshold.
8. An unlocking system based on an induction sensor, characterized in that, The unlocking system based on the induction sensor includes: A main tongue lock unlocking module, which is used to obtain the key input by the user, verify the key to obtain a verification result, control the main tongue lock of the intelligent door lock to unlock according to the verification result, and control the latch tongue lock of the intelligent door lock to lock to obtain an opening activation instruction; A holding direction detection module is configured to activate an induction sensor of the intelligent door lock according to the door opening activation instruction. After activation, the induction sensor senses and detects the holding position of the user to obtain an induction result. Based on a proximity induction algorithm, the direction of the holding position is judged according to the induction result to obtain the holding direction. An intelligent door lock unlocking module is configured to control the bolt lock of the intelligent door lock to unlock if the holding direction is a preset door opening holding direction, so that the user can be fully unlocked and open the door when in the correct holding direction.
9. An intelligent door lock, characterized in that, The intelligent door lock includes: a memory, a processor, and an unlocking program based on an induction sensor stored on the memory and executable on the processor. When the unlocking program based on the induction sensor is executed by the processor, the steps of the unlocking method based on the induction sensor according to any one of claims 1-7 are implemented.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores an unlocking program based on an induction sensor. When the unlocking program based on the induction sensor is executed by a processor, the steps of the unlocking method based on the induction sensor according to any one of claims 1-7 are implemented.