Control method and device of lock control equipment, equipment, medium and product
By detecting the lock tongue state, the door body state is determined, and when the door body is opened, the problem of the smart door lock being accidentally triggered by the radar module is solved, and energy-saving and efficient power management is achieved.
Patent Information
- Application Number
- CN202510570130.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-30
- Publication Date
- 2025-08-08
AI Technical Summary
The radar module of the existing smart door lock is highly sensitive to moving objects, resulting in frequent awakening of face recognition functions, resulting in problems such as fast power consumption of equipment and low resource utilization.
By detecting the lock tongue state, the switch state of the door body is judged. When the door body is opened, the sensor module is only awakened when the door body is closed for unlock verification.
It reduces unnecessary equipment power consumption, extends the battery life of lock-controlled equipment, improves power utilization, and avoids frequent wake-up of unlocking processes.
Smart Images

Figure CN120452089A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of smart homes, and in particular to a control method, apparatus, device, medium, and product for a lock control device. Background Art
[0002] Smart door locks are high-tech access control devices that enable keyless unlocking through biometric identification (such as fingerprints, faces) or passwords. For example, face recognition smart locks use cameras to capture the user's facial features for authentication, providing a convenient experience for users.
[0003] In related technologies, smart door locks typically use radar modules to monitor the surrounding environment. When someone approaches, the radar detects the motion signal and wakes up the main control board, which then activates the facial recognition module to unlock the door.
[0004] However, since radar is highly sensitive to moving objects, any activity passing through the door lock's detection range may trigger the wake-up mechanism, causing the door lock to repeatedly activate the face recognition function, resulting in rapid device power consumption and low resource utilization. Summary of the Invention
[0005] The embodiments of the present application provide a control method, apparatus, device, medium, and product for a lock control device, which can turn off the sensor module when the door is open, thereby saving power for the lock control device. The technical solution is as follows:
[0006] In one aspect, a method for controlling a lock control device is provided, the method comprising:
[0007] acquiring a door state of the first door based on a lock tongue state of the lock control device, wherein the door state includes any one of an open state and a closed state;
[0008] When the first door body is in the open state, closing the first sensor module in the lock control device, wherein the first sensor module is used to collect a sensor signal, and the sensor signal is used to trigger the lock control device to collect an unlocking signal;
[0009] In response to the door state of the first door being switched to the closed state, the first sensing module is turned on.
[0010] In another aspect, a control device for a lock control device is provided, the device comprising:
[0011] an acquisition module, configured to acquire a door state of a first door based on a lock tongue state of the lock control device, wherein the door state includes any one of an open state and a closed state, and the lock control device is configured on the first door;
[0012] a closing module, configured to close a first sensor module in the lock control device when the first door body is in the open state, wherein the first sensor module is configured to collect a sensor signal, and the sensor signal is configured to trigger the lock control device to collect an unlocking signal;
[0013] An opening module is used to open the first sensing module in response to the door state of the first door being switched to the closed state.
[0014] In an optional embodiment, the locking device includes a first locking tongue, and the first locking tongue is retracted into the interior of the first door body in the door closing state;
[0015] The acquisition module is further configured to acquire a first telescopic state of the first lock tongue; and acquire the door body state of the first door body based on the first telescopic state.
[0016] In an optional embodiment, the first locking tongue comprises a latch tongue of the lock control device;
[0017] The acquisition module is further configured to acquire the open state of the first door body when the tongue is in an extended state; and to acquire the closed state of the first door body when the tongue is in a retracted state.
[0018] In an optional embodiment, the lock control device includes a first lock tongue and a second lock tongue, wherein the first lock tongue is retracted into the interior of the first door body in the door closing state, and the second lock tongue is extended into the door frame groove in the door closing state;
[0019] The acquisition module is further configured to acquire a first telescopic state of the first lock tongue and a second telescopic state of the second lock tongue; and acquire the door body state of the first door body based on the first telescopic state and the second telescopic state.
[0020] In an optional embodiment, the first lock tongue comprises a contact tongue of the lock control device, and the second lock tongue comprises an oblique tongue of the lock control device;
[0021] The acquisition module is also used to obtain the open state of the first door body when the contact tongue is in the first extended state and the inclined tongue is in the second extended state; and to obtain the closed state of the first door body when the contact tongue is in the first retracted state and the inclined tongue is in the second extended state.
[0022] In an optional embodiment, the door state further includes a door opening operation state;
[0023] The acquisition module is further configured to acquire the door opening operation state of the first door body when the contact tongue is in the first retracted state and the oblique tongue is in the second retracted state.
[0024] In an optional embodiment, the lock control device includes a lock tongue detection element, and the lock tongue detection element collects an electrical signal by contacting the lock tongue;
[0025] The acquisition module is further configured to, when the lock tongue detection element does not contact the latch tongue, collect a first level signal emitted by the lock tongue detection element; and acquire the door opening state of the first door body based on the first level signal;
[0026] The acquisition module is further configured to collect a second level signal emitted by the lock tongue detection element when the lock tongue detection element contacts the contact tongue; and acquire the closed state of the first door body based on the second level signal.
[0027] In an optional embodiment, the lock control device includes a lock tongue detection element, which contacts the touch tongue through a first detection point and contacts the tilt tongue through a second detection point to collect an electrical signal;
[0028] The acquisition module is further configured to acquire a first level signal emitted by the lock tongue detection element when the first detection point does not contact the latch tongue and the second detection point does not contact the latch tongue; and acquire the door opening state of the first door body based on the first level signal;
[0029] In an optional embodiment, the acquisition module is also used to collect the second level signal emitted by the lock tongue detection element when the first detection point contacts the contact tongue and the second detection point does not contact the oblique tongue; and obtain the closing state of the first door body based on the second level signal.
[0030] In an optional embodiment, the device further comprises:
[0031] A control module is used to control the lock control device to collect a first unlocking signal in response to the presence of a preset sensor trigger condition between the first main body and the first door body; when the first unlocking signal meets the preset unlocking condition, the lock control device is switched to an unlocking state, and the door body state of the first door body is switched to the open state.
[0032] In an optional embodiment, the control module is further configured to, in response to the distance between the first subject and the first door being less than or equal to a preset sensing distance, collect biometric information of the first subject, the biometric information of the first subject including at least one of the following: texture feature information of the first subject, image information including appearance features of the first subject, and voice feature information of the first subject; obtain a preset information library, the information library storing candidate biometric information of at least one subject; and obtain the first unlock signal based on a degree of match between the candidate biometric information of the at least one subject and the biometric information of the first subject;
[0033] The control module is further configured to switch the lock control device to the unlocked state and switch the door body state of the first door body to the open state in response to the matching degree between the first candidate biometric information of the at least one subject and the biometric information of the first subject reaching a first matching degree threshold.
[0034] In an optional embodiment, the closing module is also used to obtain the device power of the lock control device when the first door body is in the open state; and to close the first sensor module in the lock control device when the device power is lower than a first power threshold.
[0035] In an optional embodiment, the closing module is also used to obtain the number of signal collection times of the sensor signal collected by the first sensing module of the lock control device within a first time period when the first door body is in the open state, the first time period refers to a time period of a preset length from the current moment, and the first time period is a future time period; in response to the first door body maintaining the open state within the first time period and the number of signal collection times reaching the first count threshold, the first sensing module in the lock control device is closed.
[0036] On the other hand, a computer device is provided, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement a control method for a lock control device as described in any of the above-mentioned embodiments of the present application.
[0037] On the other hand, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a code set or an instruction set is stored. The at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement a control method for a lock control device as described in any of the above-mentioned embodiments of the present application.
[0038] In another aspect, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the control method for a lock control device described in any of the above embodiments.
[0039] The beneficial effects of the technical solutions provided in the embodiments of the present application include at least:
[0040] The state of the first door is determined by the state of the lock tongue in the lock tongue device. When the first door is in the open state, the sensor module in the lock control device used to trigger the acquisition of the unlock signal is turned off. When the first door does not need to be unlocked and identified, the working mode of the lock control device is adjusted in a timely manner to avoid unnecessary device power consumption caused by frequent wake-up unlocking processes and extend the battery life of the lock control device. When it is detected that the first door has switched to the closed state, the sensor module is immediately awakened to perform unlocking verification on the subject within the sensing range. When a user enters the sensing range, the sensor module collects the sensor signal in a timely manner to unlock the door. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0042] Figure 1 is a schematic diagram of a control system of a lock control device provided by an exemplary embodiment of the present application;
[0043] Figure 2 is a structural diagram of a lock body line provided by an exemplary embodiment of the present application;
[0044] Figure 3 is a flow chart of a control method for a lock control device provided by an exemplary embodiment of the present application;
[0045] Figure 4 is a flow chart of a control method for a lock control device provided by another exemplary embodiment of the present application;
[0046] Figure 5 is a flow chart of a control method for a lock control device provided by another exemplary embodiment of the present application;
[0047] Figure 6 This is a structural block diagram of a control device for a lock control device provided by an exemplary embodiment of the present application;
[0048] Figure 7 is a structural block diagram of a control device for a lock control device provided by another exemplary embodiment of the present application;
[0049] Figure 8 This is a structural block diagram of a lock control device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0050] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0051] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. As used in this application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0052] It should be noted that the information and data involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0053] First, a brief introduction to the terms involved in the embodiments of this application is given:
[0054] The lock tongue is the core mechanical component of a smart door lock, responsible for securing the door leaf when closed and preventing it from being opened by force. Common lock tongues include the following types, which differ in structure, function, and application scenarios.
[0055] 1. Main Lock Bolt: The core security component of the door lock, the main lock bolt is constructed of solid metal and locks the door by vertical extension. When locked, it fully extends, forming a rigid connection with the door frame, providing the highest level of anti-pry protection.
[0056] 2. Slanted Bolt (Lock Bolt): The latch bolt is the automatic locking component of the door lock and utilizes a sloped spring mechanism. Its unique feature is that when the door is closed, the inclined surface of the latch bolt automatically retracts upon impact with the door frame. Once the door is closed, the spring forces it to eject and snap into the door frame, achieving automatic locking. The latch bolt's sensitivity allows it to adapt to varying door installation tolerances, ensuring reliable automatic locking.
[0057] 3. Latch (Lock) Tongue: Stable extension and retraction are achieved through precise spring pressure control. The latch's primary function is to provide the first line of defense, first contacting the door frame when the door closes. This cushioning action reduces the impact of closing the door and simultaneously triggers the lock's status detection system.
[0058] Among them, the functions of the inclined bolt and the touch bolt are similar, both of which achieve locking through collision, and usually include the following differences: (1) Appearance: The head of the inclined bolt is inclined at a certain angle (such as 45°); the head of the touch bolt may be a round / square inclined surface, and the overall structure is shorter and thicker than the inclined bolt; (2) Working principle: When closing the door, the inclined surface of the inclined bolt hits the door frame and automatically retracts. After the door is fully closed, the spring automatically pops the inclined bolt into the groove of the door body to lock the door frame. It usually needs to be used with a door handle (for example, pressing down the door handle will retract the inclined bolt, and the inclined bolt will pop out after releasing the handle); the touch bolt is triggered to retract by directly colliding with the door frame. Some models of door locks do not require a door handle and can be opened by pushing the door.
[0059] When a door lock has both a latch bolt and a tactile bolt, their physical position relationship can be any of the following: (1) vertical arrangement, with the latch bolt located in the middle of the lock body, connected to the door handle to open and close the door, and the tactile bolt located above or below the latch bolt, serving as an auxiliary sensor to quickly trigger the door lock to open; (2) horizontal and vertical arrangement, with the latch bolt on the left and the tactile bolt on the right, or vice versa. The vertical arrangement is usually adopted so that the two bolts can cooperate with each other in terms of function.
[0060] It is worth noting that the control method of the lock control device provided in this application mainly involves obtaining the telescopic state of the contact tongue and the oblique tongue. The position between the contact tongue and the oblique tongue can be arbitrary, and the above content is only for example.
[0061] A smart door lock is an access control device that uses modern electronic identification technology. Its primary function is to replace traditional mechanical keys to unlock doors. The device authenticates the user through various biometric methods (including but not limited to fingerprint and facial recognition) or by entering a digital password, thereby controlling the door's opening and closing status.
[0062] For example, a facial recognition smart door lock operates as follows: A high-precision image capture camera is integrated into the front of the device. When identity verification is required, the camera actively captures the user's facial image. A built-in image processing algorithm then extracts facial features and compares them with a pre-stored system template of authorized users. When the match reaches a set threshold, the door lock control system executes the unlock command, eliminating the need for a physical key.
[0063] In the related art, such smart door locks are generally equipped with a radar module (e.g. Microwave radar sensor) is used for monitoring the surrounding environment. This module works by continuously transmitting and receiving electromagnetic waves in a specific frequency band, analyzing the reflected wave signals to detect the movement of objects within the monitoring range. When the radar module detects a valid motion signal, it sends a signal to the main control board, which wakes up the facial recognition module to begin facial recognition and then verify door opening.
[0064] However, this approach has limitations. Due to the extremely high sensitivity of microwave radar sensors to moving objects, it can result in a high number of false triggers in real-world applications. Any living object (including authorized users, unauthorized personnel, and pets) or non-living object (such as an object blown by the wind) that enters the door lock's detection area and moves will trigger the system's wake-up mechanism.
[0065] In real-world scenarios, when a user opens the door for ventilation, adults are active in the living room, and children are playing near the door and frequently moving around the lock, the current door lock system exhibits significant flaws. Its detection mechanism is overly sensitive, and any movement, even a child simply walking within the lock's detection area, triggers the system's wake-up mechanism, causing the lock to repeatedly initiate the facial recognition process. This not only accelerates power consumption and significantly shortens device battery life, but also causes the module's computing resources to be continuously occupied, severely reducing overall operational efficiency.
[0066] The present application provides a method that can detect the open and closed status of a door. When the door is in an open state (for example, in an open state), the radar module is turned off. At this time, even if someone passes by the door lock, the face recognition module will not be triggered, which can reduce power consumption and improve power utilization.
[0067] Next, the control system of the lock control device involved in the embodiment of the present application is described. For schematic illustration, please refer to Figure 1 The system 100 includes a control module 110, a first sensor module 120, an unlock identification module 130, and a lock tongue detection element (also known as an electronic lock body) 140. The system 100 corresponds to a lock control device, which is configured on the first door. Together, the lock control device and the first door constitute a smart door lock. The various components of the system 100 are connected in communication, enabling the transmission of electrical signals. The control module 110 controls the lock control device based on the type of electrical signal, enabling the user to control the door status (open or closed) of the first door.
[0068] The control module 110 is used to control the overall operation and function implementation of the lock control device. For example, the control module 110 refers to the main control board of the lock control device, including the MCU (Microcontroller Unit), which is a circuit board that integrates multiple electronic components.
[0069] First sensor module 120 is used to collect sensor signals, which are used to trigger unlock recognition module 130 to collect unlock signals, which are used to control door unlocking. For example, first sensor module 120 is a radar module in the lock control device. A radar module is a device component based on radar technology. It primarily detects information about subjects in the surrounding environment by transmitting and receiving radio waves, determining whether a subject is approaching within a specified range of the smart door lock. This allows control module 110 to promptly send a sensor signal to unlock recognition module 130, waking it up to perform unlock verification.
[0070] The unlocking recognition module 130 is used to collect the biometric information of the subject within the specified range, and perform unlocking verification based on the biometric information of the subject, determine whether the subject meets the door lock opening requirements, obtain the unlocking verification result, and send it as an unlocking signal to the control module 110. When the unlocking verification result meets the unlocking requirements, the control module 110 controls the lock control device to open, so that the first door body is in an open state. Exemplarily, the unlocking recognition module 130 refers to a face cat-eye module. The unlocking recognition module 130 includes a camera (image acquisition component) for collecting facial images for unlocking recognition. After collecting the facial image, the image processing chip included in the unlocking recognition module 130 will extract features from the facial image through a preset algorithm, and match and verify the extracted features with the facial feature information pre-stored in the database to obtain a matching result, and obtain an unlocking signal based on the matching result.
[0071] The lock tongue detection element 140 is used to determine the extension and retraction state of the lock tongue of the lock control device and send a corresponding type of electrical signal to the control module 110, so that the control module 110 determines whether the door body state of the first door is open or closed based on the electrical signal.
[0072] Among them, the position of the lock tongue detection element 140 in the lock control device corresponds to the lock tongue of the lock control device, and the door body state of the first door body is determined by the contact between the designated contact point in the lock tongue detection element 140 and the lock tongue (including the oblique tongue, main lock tongue and touch tongue).
[0073] The lock tongue detection element 140 is connected to the control module 110 via a physical lock body line 141 . The lock tongue detection element 140 sends a corresponding electrical signal to the control module 110 via the lock body line 141 according to the contact status between the designated contact point and the lock tongue.
[0074] Schematic, reference Figure 2 , Figure 2 It is a structural diagram of a lock body line.
[0075] Figure 2The structure images of the lock body line 141 at different viewing angles are included: a first view 210 and a second view 220 .
[0076] The first view 210 is a longitudinal perspective, showing a cross section of the lock body line 141 , and the second view 220 is a perspective perpendicular to the longitudinal perspective, showing a line segment obtained by intercepting the lock body line 141 .
[0077] The lock tongue detection element 140 includes four detection points: (1) Detection point 1 is used to detect the telescopic state (including the extended state and the retracted state) of the inclined tongue of the lock control device; (2) Detection point 2 is used to detect whether the inclined tongue of the lock control device is retracted into place (touched the bottom) when in the retracted state; (3) Detection point 3 is used to detect whether the main lock tongue of the lock control device is extended into place (fully extended) when in the extended state; (4) Detection point 4 is used to detect the telescopic state (including the extended state and the retracted state) of the touch tongue of the lock control device.
[0078] The lock body line 141 includes the following detection lines: a first detection line 201 corresponding to detection point 1 , a second detection line 202 corresponding to detection point 2 , a third detection line 203 corresponding to detection point 3 , a fourth detection line 204 corresponding to detection point 4 , and a common line 205 .
[0079] The detection lines corresponding to the four detection points will separate from or come into contact with the common line 205 according to the contact between the detection points and the lock tongue, thereby changing the type of electrical signal output by the common line 205 to the control module 110 .
[0080] In this application, the state of the first door is determined primarily by the contact between the inclined latch and detection point 1, and the contact between the contact latch and detection point 4. When the first door is in the open or closed state, it is only related to the state of the first detection line 201 and the fourth detection line 204. Therefore, this application only describes how the first detection line 201 and the fourth detection line 204 contact the common line 205 to send corresponding electrical signals to the control module 110.
[0081] Specifically, when the first door is in the open state, the latch bolt and the stop bolt of the lock control device are both fully extended. At this time, detection point 1 contacts the latch bolt, detection point 4 contacts the stop bolt, first detection line 201 separates from common line 205, and fourth detection line 204 separates from common line 205. Common line 205 sends a first level signal to control module 110, indicating that the first door is in the open state. Control module 110 turns off first sensor module 120 in response to the control signal.
[0082] Specifically, when the first door is in the closed state, the latch bolt of the lock control device is located in the door frame groove and is fully extended, and the contact bolt of the lock control device is in a compressed state. At this time, detection point 1 is in contact with the latch bolt, detection point 4 is not in contact with the contact bolt, first detection line 201 is separated from common line 205, and fourth detection line 204 is in contact with common line 205. Since fourth detection line 204 is in contact with common line 205, the type of electrical signal output by common line 205 is changed. At this time, common line 205 sends a second level signal to control module 110, indicating that the first door is in the closed state. Control module 110 activates first sensor module 120 through the control signal.
[0083] The first level signal is a high level signal and the second level signal is a low level signal. In some embodiments, the first level signal may be a low level signal and the second level signal may be a high level signal. The first level signal and the second level signal are of different types.
[0084] It is worth noting that the changes in the type of level signal caused by the detection point contacting or not contacting the lock tongue introduced in the above content are only for example and can be opposite; when the control module 110 determines the state of the door body based on the type of level signal received, the correspondence between the level signal and the state of the door body is only for example and can be opposite, and the embodiments of the present application do not limit this.
[0085] Combined with the above-mentioned noun introduction and application scenarios, the control method of the lock control device provided by this application is described. The method is executed by the control module of the lock control device as an example. The lock control device is configured on the first door body, such as Figure 3 As shown, Figure 3 1 is a flowchart of a method for controlling a lock control device provided by an exemplary embodiment of the present application, the method comprising the following steps.
[0086] Step 310: Obtain the door status of the first door based on the lock tongue status of the lock control device.
[0087] Among them, the control module is the core module of the lock control device, which is used to control the overall operation and function implementation of the lock control device. Exemplarily, the control module refers to the main control board of the lock control device, which contains an MCU.
[0088] The first door body and the lock control device together constitute an intelligent door lock, which realizes the unlocking and locking functions of the door without a key.
[0089] The door state includes either an open state or a closed state.
[0090] The door open state means that the opening angle of the first door body reaches a preset angle threshold, and the opening angle refers to the rotation angle of the door leaf plane of the first door body relative to the door frame plane, with the hinge axis as the rotation center.
[0091] For example, the preset angle threshold is 15°, and the opening angle of the first door body is 90°. At this time, the door is in a fully open state, that is, the door body state is an open state.
[0092] The door closing state means that the opening angle of the first door body is 0°. At this time, the door leaf and the door frame of the first door body reach the physical closing condition, and the locking control device can complete the effective locking.
[0093] Optionally, the lock control device includes a first lock tongue, which is retracted into the inside of the first door body when the door is closed. The first telescopic state of the first lock tongue is obtained, and the door body state of the first door body is obtained based on the first telescopic state.
[0094] Among them, the first telescopic state includes an extended state and a retracted state. Taking the door frame of the first door body as a fixed reference object, the lock tongue pops out toward the door frame of the first door body in the extended state, and retracts in the opposite direction in the retracted state. The telescopic movement direction of the lock tongue is always perpendicular to the door frame plane.
[0095] Exemplarily, the first locking tongue comprises a latch tongue of a locking control device.
[0096] When the latch is in the extended state, the open state of the first door body is obtained. The latch being in the extended state indicates that the door frame and the door leaf of the first door body are not closed, the latch is not squeezed and retracted, and is in the extended state. At this time, the first door body is in the open state.
[0097] When the latch is in the retracted state, the closed state of the first door body is obtained. When the latch is in the extended state, it indicates that the door frame and the door leaf of the first door body are closed, and the latch is squeezed and retracted, showing a retracted state. At this time, the first door body is in the closed state.
[0098] Optionally, the lock control device includes a lock tongue detection element, which collects electrical signals by contacting the lock tongue.
[0099] The lock tongue detection element is manifested as an electronic lock body. There are detection points / contact points on the surface of the lock tongue detection element. The lock tongue detection element and the control module are connected through a lock body line. The lock tongue detection element can convert the contact situation between the detection point and the lock tongue into a corresponding electrical signal and send the electrical signal to the control module.
[0100] When the lock tongue detection element does not contact the latch tongue, a first level signal emitted by the lock tongue detection element is collected, and the door opening state of the first door body is acquired based on the first level signal.
[0101] Exemplarily, when the detection point on the lock tongue detection element does not contact the lock tongue, a first level signal is sent to the control module by default.
[0102] When the lock tongue detection element contacts the latch tongue, a second level signal emitted by the lock tongue detection element is collected, and the closed state of the first door body is acquired based on the second level signal.
[0103] Exemplarily, when the detection point on the lock tongue detection element contacts the latch tongue, the first level signal changes to a second level signal, and the lock tongue detection element sends the second level signal to the control module.
[0104] Exemplarily, the first level signal is a high level signal, and the second level signal is a low level signal.
[0105] The control module determines the door state of the first door according to the type of the received level signal.
[0106] In some embodiments, when the detection point does not contact the tongue, a second level signal may be sent to the control module, and when the detection point contacts the tongue, a first level signal may be sent to the control module. At this time, the control module obtains the open state of the first door body based on the second level signal and obtains the closed state of the first door body based on the first level signal. This embodiment does not limit this.
[0107] It is worth noting that, in addition to the level signal types indicated in the above examples, the first level signal may also be a low level signal. In this case, the second level signal is a high level signal. The first level signal and the second level signal are of different types, which is not limited in this embodiment.
[0108] In some embodiments, in order to increase the accuracy of the control module's judgment of the door status and the safety of the locking control device, the locking control device includes other lock tongues in addition to the touch tongue, and the door status is jointly determined based on the extension and retraction status of these lock tongues.
[0109] Optionally, the locking control device includes a first lock tongue and a second lock tongue, the first lock tongue is retracted into the inside of the first door body when the door is closed, and the second lock tongue is extended into the door frame groove when the door is closed.
[0110] The interior of the first door body refers to the interior of the door leaf of the first door body, and the first lock tongue is squeezed back into the door leaf when the door is closed.
[0111] A first telescopic state of the first lock tongue is obtained, and a second telescopic state of the second lock tongue is obtained, and a door body state of the first door body is obtained based on the first telescopic state and the second telescopic state.
[0112] Among them, the first telescopic state / the second telescopic state includes an extended state and a retracted state. Taking the door frame of the first door body as a fixed reference object, the first lock tongue / the second lock tongue pops out toward the door frame of the first door body in the extended state, and retracts in the opposite direction in the retracted state. The telescopic movement direction of the lock tongue is always perpendicular to the door frame plane.
[0113] Exemplarily, the first locking tongue comprises a contact tongue of a locking device, and the second locking tongue comprises an oblique tongue of a locking device.
[0114] When the contact tongue is in the first extended state and the oblique tongue is in the second extended state, the door opening state of the first door body is obtained.
[0115] The difference between the latch and the catch is that the latch exhibits a second extended state, whether the door is open or closed. When the door is open, the latch naturally extends outside the doorframe groove. When the door is closed, the latch is located within the doorframe groove, with ample space for the latch to extend naturally.
[0116] When the door switches from open to closed, the first door leaf gradually approaches the doorframe. During this process, the latch bolt first contacts the edge of the doorframe's groove. Due to its sloped design, the latch bolt automatically retracts into the first door body when pressed by the doorframe. When the door leaf is fully closed, the latch bolt springs back out, snapping into the doorframe's groove and automatically locking. During this process, the latch bolt undergoes a complete state transition from extended to retracted to extended.
[0117] Therefore, there are two situations when the inclined tongue is in the second extended state. One is that the door body state is the door open state. At this time, the door is open, the door frame of the first door body is not in contact with the inclined tongue, and the inclined tongue is naturally extended and is in the second extended state; the other is that the door body state is the door closed state. At this time, the door frame of the first door body and the door leaf are completely closed, the inclined tongue is located inside the door frame groove, and the inclined tongue is naturally extended and is in the second extended state.
[0118] The opening state of the first door body is obtained by combining the extension and contraction states of the oblique tongue and the contact tongue.
[0119] When the latch is in the first extended state, it indicates that the door frame and door leaf of the first door body are not closed, and the latch is not squeezed and retracted, and is in the extended state. When the latch is in the second extended state, it corresponds to the situation that the door frame and door leaf of the first door body are not closed, and therefore, the door body state of the first door body is the open state.
[0120] When the contact tongue is in the first retracted state and the oblique tongue is in the second extended state, the closed state of the first door body is obtained.
[0121] When the latch is in the first retracted state, it indicates that the door frame and door leaf of the first door are closed, and the latch is squeezed and retracted, showing a retracted state. When the latch is in the second extended state, it corresponds to the situation that the latch is located in the groove of the door frame of the first door. Therefore, the door state of the first door is the closed state.
[0122] Optionally, the lock control device includes a lock tongue detection element, which contacts the touch tongue through a first detection point and contacts the oblique tongue through a second detection point to collect electrical signals.
[0123] The lock tongue detection element is manifested as an electronic lock body. There are at least two detection points / contact points (including a first detection point and a second detection point) on the surface of the lock tongue detection element. The first detection point corresponds to the contact tongue, and the second detection point corresponds to the inclined tongue. The lock tongue detection element and the control module are connected through a lock body line. The lock tongue detection element can convert the contact status of the first detection point with the contact tongue, as well as the contact status of the second detection point with the inclined tongue, into corresponding electrical signals and send the electrical signals to the control module.
[0124] When the first detection point does not contact the latch bolt and the second detection point does not contact the oblique bolt, a first level signal emitted by the latch bolt detection element is collected, and the opening state of the first door body is obtained based on the first level signal.
[0125] Exemplarily, when the first detection point on the lock tongue detection element does not contact the contact tongue and the second detection point does not contact the oblique tongue, a first level signal is sent to the control module by default.
[0126] When the first detection point contacts the latch bolt and the second detection point does not contact the latch bolt, a second level signal emitted by the latch bolt detection element is collected, and the closed state of the first door body is obtained based on the second level signal.
[0127] Exemplarily, when the first detection point on the lock tongue detection element contacts the contact tongue and the second detection point does not contact the oblique tongue, the first level signal changes to a second level signal, and the lock tongue detection element sends the second level signal to the control module.
[0128] Exemplarily, the first level signal is a high level signal, and the second level signal is a low level signal.
[0129] The main principle is that the lock body wiring between the bolt detection element and the control module contains a detection line corresponding to each detection point, as well as a common line that defaults to sending a first-level signal. When the bolt detection element is not in contact with any bolt, each detection line is separated from the common line, and the level of the electrical signal on the common line is not changed. When the first detection point of the bolt detection element contacts the bolt, the detection line corresponding to the first detection point contacts the common line, changing the level of the electrical signal on the common line.
[0130] When the door body is in the open state (door is fully open) and the closed state (door is fully closed), the second detection point and the latch are actually in a separated state. Therefore, the detection line corresponding to the second detection point and the collinear line are also in a separated state and will not affect the collinear electrical signal.
[0131] It is worth noting that, in addition to the level signal types indicated in the above examples, the first level signal may also be a low level signal. In this case, the second level signal is a high level signal. The first level signal and the second level signal are of different types, which is not limited in this embodiment.
[0132] On the basis of the contact tongue, a tilted tongue is added to judge the door body state. The purpose is to eliminate the abnormality of the extension and retraction state of one of the contact tongue / tilt tongue caused by human factors or external forces, which makes the actual door body state mismatch with the type of electrical signal received by the control module, thereby improving the accuracy of the door body state results obtained by the control module.
[0133] For example, the contact tongue and the inclined tongue are both in a retracted state when pressed by the user, and the inclined tongue is not in the groove of the door frame. At this time, the door body is actually in an open state or a half-closed state, and the door frame and the door leaf are not completely closed. If at this time only the first retracted state of the contact tongue is referred to, the determined door body state result is that the first door body is in a closed state, which is an error.
[0134] In some embodiments, the door body state also includes a door opening operation state, which refers to the state when the door body state transitions from a closed state to an open state. When the user performs the door opening operation, the inclined tongue will undergo the following telescopic state changes: Initially, the inclined tongue is in the door frame groove and is in an extended state. The user performs the door opening operation and rotates the door handle, causing the inclined tongue to completely retract to the inside of the first door body (touching the bottom). After the user opens the door and lets go, the inclined tongue extends from the inside of the first door body in the opposite direction and is in an extended state.
[0135] Optionally, when the contact tongue is in the first retracted state and the oblique tongue is in the second retracted state, the door opening operation state of the first door body is obtained.
[0136] It's worth noting that the bolt detection element also includes a third detection point for detecting whether the latch bolt is fully retracted / in place. When the third detection point detects the latch bolt in the second retracted state (i.e., fully retracted), it means that the second detection point has not detected the latch bolt in the second extended state. At this time, the third detection line in the lock body corresponding to the third detection point will contact the collinear line, affecting the level of the collinear electrical signal. Because when the user performs the door opening operation and the latch bolt is fully retracted, the door frame and door leaf of the first door body remain closed from the outside. At this time, the first detection point also detects that the latch bolt is in the first retracted state. The first detection line in the lock body corresponding to the first detection point will also contact the collinear line, also affecting the level of the collinear electrical signal.
[0137] When no detection lines are in contact with the common line, the common line outputs a first-level signal by default; when an odd number of detection lines are in contact with the common line, the electrical signal output by the common line is converted from the default first-level signal to a second-level signal; when an even number of detection lines are in contact with the common line, although this affects the electrical signal output by the common line, the electrical signal still appears as a first-level signal after stabilization.
[0138] During the entire door opening operation, since the extension and retraction states of the oblique tongue and the contact tongue change in real time, the collinearity will come into contact with different numbers of detection lines at different times. At this time, the waveform of the electrical signal may change, switching back and forth between high and low levels. However, when the door opening operation is completed, the door body is in a stable open state, and the electrical signal will also become a stable first-level signal.
[0139] Therefore, the control module can determine that the door is open based on the collected stable first-level signal, and that the door is closed based on the collected stable second-level signal. The level change information of the electrical signal collected during the door opening operation can be used as an auxiliary indicator based on the above-mentioned stable level signal to determine the door state, thereby improving the accuracy of the door state results obtained by the control module.
[0140] Step 320: When the first door is in an open state, close the first sensor module in the lock control device.
[0141] Among them, the first sensor module is used to collect sensor signals, and the sensor signals are used to trigger the lock control device to collect unlocking signals.
[0142] The lock control device collects the unlock signal, which means starting the unlock verification process. In addition to the control module, the lock tongue detection element, the first sensor module, the lock tongue and other components, the lock control device also includes an unlock recognition module.
[0143] The lock control device collects an unlock signal through an unlock recognition module. Specifically, the unlock recognition module is used to collect biometric information of a subject within a specified range of the first door body and perform unlock verification based on the subject's biometric information. It determines whether the subject meets the door lock opening requirements and obtains an unlock verification result as an unlock signal. The unlock signal is transmitted to the control module, which controls whether the lock control device unlocks based on the unlock signal. If the unlock verification result meets the unlock requirements, the control module controls the lock control device to open, leaving the first door body in an open state.
[0144] Optionally, the types of the first sensing module include but are not limited to the following: (1) radar module: for example, using millimeter wave radar technology, detecting the presence and movement of the human body by emitting high-frequency electromagnetic waves and receiving reflected signals; it can penetrate some materials, is not affected by light, and is suitable for detecting stationary and moving human bodies; (2) pyroelectric sensor / infrared sensor: detecting movement by sensing infrared thermal radiation emitted by the human body, and generating an electrical signal when an object with temperature change passes through the detection area; (3) capacitive sensing module: working by detecting changes in the electric field caused by the approach of the human body; (4) ultrasonic sensor: using the principle of sound wave reflection to detect close objects.
[0145] Exemplarily, the first sensing module refers to the radar module of the lock control device. The radar module is an equipment component obtained based on radar technology. It mainly detects the subject information in the surrounding environment by transmitting and receiving radio waves, and determines whether there is a subject approaching within a specified range from the first door body, so as to send a sensing signal to the unlocking identification module in time, wake up the unlocking identification module for unlocking verification, and collect the unlocking signal.
[0146] In some embodiments, when the first door is in an open state, the power level of the lock control device is obtained, and when the power level of the lock control device is lower than a first power threshold, the first sensor module in the lock control device is turned off.
[0147] The system determines whether to immediately shut down the first sensor module based on the remaining battery level of the lock control device. This reduces the frequent waking and shutting down of the first sensor module caused by repeated door opening and closing within a short period of time while ensuring the device's battery life. This reduces wear and tear on the lock control device and reduces the computational burden. When the battery is sufficient, the first sensor module remains active; when the battery is low, the first sensor module is promptly shut down to ensure device battery life.
[0148] The device power level of the lock control device refers to the remaining power of the built-in battery of the lock control device, which is usually displayed in percentage form (such as 100%, 60%, 20%) and is used to determine whether charging or replacing the battery is required.
[0149] Exemplarily, the first power threshold is also in percentage form.
[0150] For example, the first power threshold is 60%. When the first door is in the open state, the power level of the lock control device is 50%, which is lower than the first power threshold of 60%, and the first sensor module in the lock control device is turned off.
[0151] For example, the first power threshold is 70%. When the first door is in the open state, the power level of the lock control device is 90%, which is higher than the first power threshold of 60%. The first sensor module in the lock control device is kept open.
[0152] Step 330 : In response to the first door body switching to a closed state, turning on the first sensor module.
[0153] Optionally, the locking control device includes a first lock tongue and a second lock tongue, the first lock tongue is retracted into the inside of the first door body when the door is closed, and the second lock tongue is extended into the door frame groove when the door is closed.
[0154] A first telescopic state of the first lock tongue is obtained, and a second telescopic state of the second lock tongue is obtained, and a door body state of the first door body is obtained based on the first telescopic state and the second telescopic state.
[0155] Exemplarily, the first locking tongue comprises a contact tongue of a locking device, and the second locking tongue comprises an oblique tongue of a locking device.
[0156] When the contact tongue is in the first retracted state and the oblique tongue is in the second extended state, the closed state of the first door body is obtained.
[0157] Optionally, the lock control device includes a lock tongue detection element, which contacts the touch tongue through a first detection point and contacts the oblique tongue through a second detection point to collect electrical signals.
[0158] The lock tongue detection element is manifested as an electronic lock body. There are at least two detection points / contact points (including a first detection point and a second detection point) on the surface of the lock tongue detection element. The first detection point corresponds to the contact tongue, and the second detection point corresponds to the inclined tongue. The lock tongue detection element and the control module are connected through a lock body line. The lock tongue detection element can convert the contact status of the first detection point with the contact tongue, as well as the contact status of the second detection point with the inclined tongue, into corresponding electrical signals and send the electrical signals to the control module.
[0159] When the first detection point contacts the latch bolt and the second detection point does not contact the latch bolt, a second level signal emitted by the latch bolt detection element is collected, and the closed state of the first door body is obtained based on the second level signal.
[0160] Among them, when the door body state is the door open state, the lock tongue detection element will send a first level signal to the control module, and when the door body state is the door closed state, the lock tongue detection element will send a second level signal to the control module.
[0161] Exemplarily, the first level signal is a high level signal, and the second level signal is a low level signal.
[0162] When the electrical signal received by the control module changes from a first level signal to a second level signal and remains stable at the second level signal for a predetermined level stability period, the door is determined to have switched from an open state to a closed state. At this point, the first sensor module is awakened, allowing it to promptly collect sensor signals and sense any living organisms within the specified range of the first door.
[0163] It is worth noting that, in addition to the level signal types indicated in the above examples, the first level signal may also be a low level signal. In this case, the second level signal is a high level signal. The first level signal and the second level signal are of different types, which is not limited in this embodiment.
[0164] In summary, the control method of the lock control device provided in this embodiment determines the door state of the first door body by the state of the lock tongue in the lock tongue device. When the first door body is in the open state, the sensor module in the lock control device used to trigger the acquisition of the unlocking signal is turned off. When the first door body does not need to be unlocked and identified, the working mode of the lock control device is adjusted in a timely manner to avoid unnecessary device power consumption caused by frequent awakening of the unlocking process, thereby extending the battery life of the lock control device. When it is detected that the first door body has switched to the closed state, the sensor module is immediately awakened to perform unlocking verification on the subject within the sensing range. When a user enters the sensing range, the sensor signal is promptly collected by the sensor module to unlock the door.
[0165] Figure 4 3 is a flowchart of a control method for a lock control device provided by another exemplary embodiment of the present application, which includes the following steps and is executed after step 330 .
[0166] Step 410 : In response to a preset sensing trigger condition being met between the first body and the first door, the lock control device is controlled to collect a first unlocking signal.
[0167] Optionally, in response to the distance between the first subject and the first door being less than or equal to a preset sensing distance, the biometric information of the first subject is collected.
[0168] The biometric information of the first subject includes at least one of the following:
[0169] 1. Texture feature information of the first subject: This primarily refers to the unique textures on the first subject's skin surface, such as fingerprints, palm prints, or finger veins. Examples include microscopic features such as the bifurcation points of fingerprint ridges and the distribution of sweat pores. For example, the fingerprint details recorded when a user unlocks their device using fingerprint recognition.
[0170] 2. Image information containing the first subject's physical features: This includes visual features of body parts such as the face, iris, or ear. For example, facial recognition extracts geometric parameters such as the distance between the eyes, the outline of the nose bridge, and the jawline.
[0171] 3. Voice characteristic information of the first subject: refers to voiceprint characteristics, including pronunciation frequency, formant and other speech parameters.
[0172] Optionally, a preset information database is obtained, in which candidate biometric information of at least one subject is stored.
[0173] At least one subject refers to a subject whose authentication information is pre-stored in the lock control device. For example, the information database includes candidate biometric information corresponding to subject A and subject B respectively. Subject A and master control B can pass the unlocking verification of the lock control and open the door lock.
[0174] A first unlock signal is obtained based on a degree of matching between candidate biometric information of at least one subject and biometric information of the first subject.
[0175] That is, in response to the distance between the first subject and the first door being less than or equal to the preset sensing distance, the first sensing module collects the sensing signal and sends the sensing signal to the control module. The control module sends the sensing signal to the unlocking recognition module. The unlocking recognition module starts to collect the biometric information of the first subject for matching and obtains the first unlocking signal.
[0176] Exemplarily, the first subject is a human subject, and the unlocking and recognition module includes an image acquisition component (camera), which collects image information including the appearance features of the first subject: the facial biometric information of the first subject, as the biometric information of the first subject.
[0177] Among them, facial biometric information includes the following key feature parameters: (1) Geometric features: including facial proportion parameters such as eye distance, nose bridge height, and lip thickness; (2) Texture features: including microscopic features such as skin pore distribution and wrinkle direction; (3) Three-dimensional features: including facial depth information, such as forehead curvature and cheekbone convexity.
[0178] Obtain a preset information database, which stores candidate facial biometric information of at least one subject. For example, the information database contains candidate facial biometric information 1 of subject A and candidate facial biometric information 2 of subject B.
[0179] The candidate facial biometric information contained in the database has the same format as the facial biometric information of the first subject. For example, the three facial biometric information are converted into 512-dimensional feature vectors: feature vector 0 corresponding to the first subject, feature vector 1 corresponding to subject A, and feature vector 2 corresponding to subject B.
[0180] A first similarity between feature vector 0 and feature vector 1 is calculated, and a second similarity between feature vector 0 and feature vector 2 is calculated. The first similarity and the second similarity are used as matching results to obtain a first unlocking signal.
[0181] Step 420 , when the first unlocking signal meets the preset unlocking condition, the lock control device is switched to the unlocking state, and the door state of the first door is switched to the open state.
[0182] Optionally, in response to the matching degree between the first candidate biometric information in the candidate biometric information of at least one subject and the biometric information of the first subject reaching a first matching degree threshold, the lock control device is switched to an unlocked state, and the door state of the first door body is switched to an open state.
[0183] That is, when the matching degree between the first candidate biometric information of the target subject in at least one subject and the biometric information of the first subject reaches a first matching degree threshold, a first unlocking signal meeting the preset unlocking condition is obtained.
[0184] Exemplarily, the matching degree reaching the first matching degree threshold means that the similarity reaches 98%.
[0185] Based on the above example, a first similarity is calculated between feature vector 0 and feature vector 1, and a second similarity is calculated between feature vector 0 and feature vector 2. If one of the first similarity and the second similarity reaches 98%, the first unlocking signal meets the preset unlocking condition.
[0186] For example, the first similarity is 60%, the second similarity is 99%, the second similarity reaches the first matching threshold, the first unlocking signal meets the preset unlocking condition, the lock control device is switched to the unlocked state, and the door state of the first door body is switched to the open state.
[0187] For example, the first similarity is 60%, the second similarity is 50%, both the first similarity and the second similarity do not reach the first matching threshold, the first unlocking signal does not meet the preset unlocking conditions, the locking control device remains in a locked state, and the door body state of the first door body remains in a closed state.
[0188] In summary, the control method of the lock control device provided in this embodiment determines the door state of the first door body by the state of the lock tongue in the lock tongue device. When the first door body is in the open state, the sensor module in the lock control device used to trigger the acquisition of the unlocking signal is turned off. When the first door body does not need to be unlocked and identified, the working mode of the lock control device is adjusted in a timely manner to avoid unnecessary device power consumption caused by frequent awakening of the unlocking process, thereby extending the battery life of the lock control device. When it is detected that the first door body has switched to the closed state, the sensor module is immediately awakened to perform unlocking verification on the subject within the sensing range. When a user enters the sensing range, the sensor signal is promptly collected by the sensor module to unlock the door.
[0189] Figure 5 4 is a flowchart of a control method for a lock control device provided by another exemplary embodiment of the present application, which includes the following steps.
[0190] Step 510: Obtain the door status of the first door based on the lock tongue status of the lock control device.
[0191] The door state includes either an open state or a closed state.
[0192] The lock control device is configured on the first door body and includes a control module, a first sensor module and a lock tongue. Steps 510 to 530 are executed by the control module of the lock control device.
[0193] Among them, the control module is the core module of the lock control device, which is used to control the overall operation and function implementation of the lock control device. Exemplarily, the control module refers to the main control board of the lock control device, which contains an MCU.
[0194] For example, the open state refers to when the opening angle of the first door reaches a preset angle threshold. The open angle refers to the rotation angle of the door leaf plane of the first door relative to the door frame plane, with the hinge axis as the rotation center. The closed state refers to when the opening angle of the first door is 0°, at which point the door leaf of the first door and the door frame are physically closed, and the lock control device is able to effectively lock the door.
[0195] Optionally, the locking control device includes a first lock tongue and a second lock tongue, the first lock tongue is retracted into the inside of the first door body when the door is closed, and the second lock tongue is extended into the door frame groove when the door is closed.
[0196] The interior of the first door body refers to the interior of the door leaf of the first door body, and the first lock tongue is squeezed back into the door leaf when the door is closed.
[0197] A first telescopic state of the first lock tongue is obtained, and a second telescopic state of the second lock tongue is obtained, and a door body state of the first door body is obtained based on the first telescopic state and the second telescopic state.
[0198] Among them, the first telescopic state / the second telescopic state includes an extended state and a retracted state. Taking the door frame of the first door body as a fixed reference object, the first lock tongue / the second lock tongue pops out toward the door frame of the first door body in the extended state, and retracts in the opposite direction in the retracted state. The telescopic movement direction of the lock tongue is always perpendicular to the door frame plane.
[0199] Exemplarily, the first locking tongue comprises a contact tongue of a locking device, and the second locking tongue comprises an oblique tongue of a locking device.
[0200] When the contact tongue is in the first extended state and the oblique tongue is in the second extended state, the door opening state of the first door body is obtained.
[0201] When the contact tongue is in the first retracted state and the oblique tongue is in the second extended state, the closed state of the first door body is obtained.
[0202] Step 520 , when the first door is in an open state, obtain the number of times the first sensor module of the lock control device collects the sensor signal within the first time period.
[0203] The first sensor module is used to collect sensor signals, which are used to trigger the unlocking recognition module of the lock control device to collect unlocking signals. The unlocking signals are used to control the unlocking and opening of the door.
[0204] Exemplarily, the first sensing module 120 refers to the radar module of the lock control device. The radar module is a device component obtained based on radar technology. It mainly detects the subject information in the surrounding environment by transmitting and receiving radio waves, and determines whether there is a subject approaching within a specified range of the smart door lock, so as to send a sensing signal to the unlocking identification module 130 through the control module in time to wake up the unlocking identification module for unlocking verification.
[0205] The first time period refers to a time period of a preset length from the current moment, and the first time period is a future time period.
[0206] Exemplarily, the control module of the lock control device detects that the first door is in an open state at a first moment, starts timing with the first moment as a starting timestamp, and determines a time period from the first moment to a preset time length as a first time period.
[0207] For example, the first time is 09:00:00 and the preset duration is 5 minutes, then the start timestamp of the first time period is 09:00:00 and the end timestamp is 09:05:00.
[0208] During the first time period, the first sensor module is kept open. When the distance between the biological subject and the first door is less than or equal to the preset sensing distance, the first sensor module collects a sensing signal and sends the sensing signal to the control module.
[0209] Exemplarily, the first sensor module may collect sensor signals in the following situations:
[0210] 1. Single-person scenario: When a living subject enters the sensing range and remains within it, the first sensor module will collect a valid sensing signal. For example, if the sensing range is 1 meter and user A stands 1 meter in front of the first door, the first sensor module will collect a sensing signal.
[0211] 2. Multiple people scenario: When multiple biological subjects enter the sensing range at the same time, if the multiple subjects are detected as a whole (such as standing side by side), the sensing module collects a sensing signal (combined signal) once; if the multiple subjects are standing separately and can be distinguished (the distance between them is greater than or equal to the preset distance threshold, for example, 0.5 meters), the sensing signal is collected for each independent individual separately.
[0212] 3. Multiple-person scenario: When multiple biological subjects enter the sensing distance range in sequence, a new sensor signal is collected when the next subject enters after the previous subject leaves the sensing range. In some embodiments, if the previous subject has not completely left the sensing distance range and the next subject has entered the sensing distance range, the number of times the sensor signal is collected is determined based on the time interval. When the time interval between the two subjects entering the sensing distance range is greater than the first interval threshold, the sensor signals are collected twice. For example, if the first interval threshold is 2 seconds, the time interval ≥ 2 seconds: two sensor signals are collected respectively; if the time interval is < 2 seconds: one sensor signal (combined signal) is collected.
[0213] Based on the above example scenarios, the number of times the first sensor module collects sensor signals within the first time period is calculated to obtain the number of signal collection times.
[0214] It is worth noting that the above-mentioned sensor signal collection method is only used as an example. The number of times the sensor signal is collected can also be determined by other methods. In addition to the above-mentioned example scenarios, other types of sensor scenarios can also be included, which are not limited in this embodiment.
[0215] Step 530: In response to the first door remaining in an open state within the first time period and the number of signal collection times reaching a first threshold, the first sensor module in the lock control device is turned off.
[0216] If the first door remains in the open state during the first time period, even if the first sensor module collects the sensor signal and transmits it to the unlocking and identifying module through the control module, the unlocking and identifying module's unlocking and verifying process will not change the first door's state. In other words, the unlocking and identifying module's operation is invalid. Because the unlocking and identifying module's operation is driven by the sensor signal collected by the first sensor module, the first sensor module can be turned off to suspend the transmission of the sensor signal, thus avoiding triggering the invalid operation of the unlocking and identifying module.
[0217] For example, the first count threshold is 5, the first sensor module collects 6 sensor signals within the first time period, and the first door body continues to remain in the open state without change, then the first sensor module in the lock control device is closed.
[0218] For example, the first count threshold is 5, the first sensor module collects sensor signals 3 times within the first time period, and the first door body continues to remain open and does not change. Since the number of signal collection times of the first sensor module does not reach the first count threshold, the first sensor module in the lock control device remains open.
[0219] To sum up, the control method of the lock control device provided in this embodiment determines the door state of the first door body by the state of the lock tongue in the lock tongue device. When the first door body is in the open state, the number of times the first sensor module collects the sensor signal within the specified time period is obtained. If the first door body remains in the open state and the number of times the sensor signal is collected reaches a preset threshold, the sensor module in the lock control device for triggering the collection of the unlocking signal is turned off. When the first door body does not need to be unlocked and identified, the working mode of the lock control device is adjusted in time to avoid unnecessary device power consumption caused by frequent wake-up of the unlocking process, thereby extending the battery life of the lock control device.
[0220] Figure 6 This is a structural block diagram of a control device for a lock control device provided by an exemplary embodiment of the present application. Figure 6 As shown, the device includes the following parts.
[0221] An acquisition module 610 is configured to acquire a door state of a first door based on a lock tongue state of the lock control device, wherein the door state includes either an open state or a closed state, and the lock control device is configured on the first door;
[0222] a closing module 620, configured to close a first sensor module in the lock control device when the first door is in the open state, wherein the first sensor module is configured to collect a sensor signal, and the sensor signal is configured to trigger the lock control device to collect an unlocking signal;
[0223] The opening module 630 is configured to open the first sensing module in response to the door state of the first door being switched to the closed state.
[0224] In an optional embodiment, the locking device includes a first locking tongue, and the first locking tongue is retracted into the interior of the first door body in the door closing state;
[0225] The acquisition module 610 is further configured to acquire a first telescopic state of the first lock tongue; and acquire the door body state of the first door body based on the first telescopic state.
[0226] In an optional embodiment, the first locking tongue comprises a latch tongue of the lock control device;
[0227] The acquisition module 610 is further configured to acquire the open state of the first door body when the tongue is in an extended state; and to acquire the closed state of the first door body when the tongue is in a retracted state.
[0228] In an optional embodiment, the lock control device includes a first lock tongue and a second lock tongue, wherein the first lock tongue is retracted into the interior of the first door body in the door closing state, and the second lock tongue is extended into the door frame groove in the door closing state;
[0229] The acquisition module 610 is further configured to acquire a first telescopic state of the first lock tongue and a second telescopic state of the second lock tongue; and acquire the door body state of the first door body based on the first telescopic state and the second telescopic state.
[0230] In an optional embodiment, the first lock tongue comprises a contact tongue of the lock control device, and the second lock tongue comprises an oblique tongue of the lock control device;
[0231] The acquisition module 610 is also used to obtain the door opening state of the first door body when the contact tongue is in the first extended state and the inclined tongue is in the second extended state; and to obtain the door closing state of the first door body when the contact tongue is in the first retracted state and the inclined tongue is in the second extended state.
[0232] In an optional embodiment, the door state further includes a door opening operation state;
[0233] The acquisition module 610 is further configured to acquire the door opening operation state of the first door body when the contact tongue is in the first retracted state and the oblique tongue is in the second retracted state.
[0234] In an optional embodiment, the lock control device includes a lock tongue detection element, and the lock tongue detection element collects an electrical signal by contacting the lock tongue;
[0235] The acquisition module 610 is further configured to acquire a first level signal emitted by the lock tongue detection element when the lock tongue detection element does not contact the latch tongue; and acquire the door opening state of the first door body based on the first level signal;
[0236] The acquisition module 610 is further configured to collect a second level signal emitted by the lock tongue detection element when the lock tongue detection element contacts the contact tongue; and acquire the closed state of the first door body based on the second level signal.
[0237] In an optional embodiment, the lock control device includes a lock tongue detection element, which contacts the touch tongue through a first detection point and contacts the tilt tongue through a second detection point to collect an electrical signal;
[0238] The acquisition module 610 is further configured to acquire a first level signal emitted by the lock tongue detection element when the first detection point does not contact the latch tongue and the second detection point does not contact the latch tongue; and acquire the door opening state of the first door body based on the first level signal;
[0239] In an optional embodiment, the acquisition module 610 is also used to collect the second level signal emitted by the lock tongue detection element when the first detection point contacts the contact tongue and the second detection point does not contact the oblique tongue; and obtain the closed state of the first door body based on the second level signal.
[0240] In an optional embodiment, if Figure 7 As shown, the device also includes:
[0241] The control module 640 is used to control the lock control device to collect a first unlocking signal in response to the presence of a preset sensor trigger condition between the first subject and the first door body; when the first unlocking signal meets the preset unlocking condition, the lock control device is switched to an unlocking state, and the door body state of the first door body is switched to the open state.
[0242] In an optional embodiment, the control module 640 is further configured to, in response to the distance between the first subject and the first door being less than or equal to a preset sensing distance, collect biometric information of the first subject, the biometric information of the first subject including at least one of the following: texture feature information of the first subject, image information including appearance features of the first subject, and voice feature information of the first subject; obtain a preset information library, the information library storing candidate biometric information of at least one subject; and obtain the first unlock signal based on a degree of match between the candidate biometric information of the at least one subject and the biometric information of the first subject;
[0243] The control module 640 is further configured to switch the lock control device to the unlocked state and switch the door body state of the first door body to the open state in response to the matching degree between the first candidate biometric information of the at least one subject and the biometric information of the first subject reaching a first matching degree threshold.
[0244] In an optional embodiment, the closing module 620 is also used to obtain the device power of the lock control device when the first door body is in the open state; and to close the first sensor module in the lock control device when the device power is lower than a first power threshold.
[0245] In an optional embodiment, the closing module 620 is also used to obtain the number of signal collection times of the sensor signal collected by the first sensing module of the lock control device within a first time period when the first door body is in the open state, the first time period refers to a time period of a preset time length from the current moment, and the first time period is a future time period; in response to the first door body maintaining the open state within the first time period and the number of signal collection times reaching the first count threshold, the first sensing module in the lock control device is closed.
[0246] In summary, the control device of the lock control device provided by the present application determines the door state of the first door body by the state of the lock tongue in the lock tongue device. When the first door body is in the open state, the sensor module in the lock control device used to trigger the acquisition of the unlocking signal is turned off. When the first door body does not need to be unlocked and identified, the working mode of the lock control device is adjusted in a timely manner to avoid unnecessary device power consumption caused by frequent wake-up unlocking processes, thereby extending the battery life of the lock control device. When it is detected that the first door body has switched to the closed state, the sensor module is immediately awakened to perform unlocking verification on the subject within the sensing range. When a user enters the sensing range, the sensor signal is promptly collected by the sensor module to unlock the door.
[0247] It should be noted that the control device for the lock control device provided in the above embodiment is merely an example of the division of the aforementioned functional modules. In actual applications, the aforementioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the control device for the lock control device provided in the above embodiment and the control method embodiment of the lock control device are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0248] Figure 8 The structure block diagram of a lock control device 800 provided by an exemplary embodiment of the present application is shown. The lock control device 800 is configured on a first door body, which includes a door frame and a door leaf, and components of the lock control device 800 are present on both the door frame and the door leaf.
[0249] Typically, the lock control device 800 includes: a camera component 801 , a password input interface 802 , a fingerprint collection area 803 , a key lock hole 804 , and a door handle 805 .
[0250] Camera Component 801 is a visual acquisition unit that integrates a high-definition lens and an infrared fill light module. It uses an image sensor to convert optical images into digital signals through photoelectric conversion principles. This, combined with a built-in DSP (Digital Signal Processor) chip, enables face detection and liveness verification. When a user approaches, the camera automatically wakes up and initiates the facial recognition process.
[0251] The password input interface 802 utilizes capacitive touch technology under a tempered glass panel with a scratch-resistant and fingerprint-resistant coating. The interface includes a touchscreen area with built-in sensing electrodes that accurately detect the user's finger contact location. Its unique anti-peeping design randomly shuffles the numeric keypad during input and supports multi-digit phantom password entry. Input data is encrypted using the AES (Advanced Encryption Standard)-256 algorithm and transmitted to the main control chip for verification.
[0252] Fingerprint acquisition area 803 utilizes a semiconductor capacitive sensor covered with an ultra-wear-resistant sapphire glass protective layer. This sensor, comprised of multiple micro-capacitive sensing units, offers high resolution and accurately captures the ridge details of a fingerprint. During operation, it first performs a self-calibration to eliminate environmental interference, then uses a patented algorithm to extract 30-40 fingerprint feature points for matching, supporting 360° recognition at any angle.
[0253] The key lock hole 804 is used to provide a mechanical unlocking entrance for the user when the lock control device 800 is low on power.
[0254] The door handle 805 is used to provide support for users when opening and closing the door. It can accurately detect the rotation angle and force, and supports the traditional downward unlocking method.
[0255] In some embodiments, the lock control device 800 further includes other components, and the types and quantities of the other components can be selected based on the functional requirements of the lock control device 800. It will be understood by those skilled in the art that Figure 8 The structure shown in the figure does not constitute a limitation on the lock control device 800, and it may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0256] Optionally, the computer-readable storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), Solid State Drives (SSD), or an optical disk. Among them, the random access memory may include resistance random access memory (ReRAM) and dynamic random access memory (DRAM). The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0257] An embodiment of the present application also provides a lock control device, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement a control method for the lock control device as described in any of the above embodiments of the present application.
[0258] An embodiment of the present application also provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set or an instruction set is stored. The at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement a control method for a lock control device as described in any of the above embodiments of the present application.
[0259] Embodiments of the present application also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a lock control device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the lock control device to perform the lock control device control method described in any of the above embodiments.
[0260] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.
[0261] The above description is merely an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A method for controlling a lock control device, characterized in that: The lock control device is configured on the first door body, and the method includes: acquiring a door state of the first door based on a lock tongue state of the lock control device, wherein the door state includes any one of an open state and a closed state; When the first door body is in the open state, closing the first sensor module in the lock control device, wherein the first sensor module is used to collect a sensor signal, and the sensor signal is used to trigger the lock control device to collect an unlocking signal; In response to the door state of the first door being switched to the closed state, the first sensing module is turned on.
2. The method according to claim 1, characterized in that The lock control device includes a first lock tongue, which is retracted into the interior of the first door body in the door closing state; The acquiring the door state of the first door based on the lock tongue state of the lock control device includes: Acquire a first telescopic state of the first lock tongue; The door body state of the first door body is acquired based on the first telescopic state.
3. The method according to claim 2, characterized in that The first lock tongue includes a contact tongue of the lock control device; The acquiring the door body state of the first door body based on the first telescopic state includes: When the tongue is in an extended state, obtaining the door opening state of the first door body; When the tongue is in a retracted state, the closed state of the first door body is obtained.
4. The method according to claim 1, wherein The lock control device includes a first lock tongue and a second lock tongue, wherein the first lock tongue is retracted into the interior of the first door body in the door closing state, and the second lock tongue is extended into the door frame groove in the door closing state; The acquiring the door state of the first door based on the lock tongue state of the lock control device includes: Acquire a first telescopic state of the first lock tongue, and acquire a second telescopic state of the second lock tongue; The door body state of the first door body is acquired based on the first telescopic state and the second telescopic state.
5. The method according to claim 4, characterized in that The first lock tongue comprises a contact tongue of the lock control device, and the second lock tongue comprises an oblique tongue of the lock control device; The acquiring the door body state of the first door body based on the first telescopic state and the second telescopic state includes: When the contact tongue is in a first extended state and the oblique tongue is in a second extended state, obtaining the door opening state of the first door body; When the contact tongue is in the first retracted state and the oblique tongue is in the second extended state, the closed state of the first door body is obtained.
6. The method according to claim 5, characterized in that The door state also includes a door opening operation state; The method further comprises: When the contact tongue is in the first retracted state and the oblique tongue is in the second retracted state, the door opening operation state of the first door body is obtained.
7. The method according to claim 3, characterized in that The lock control device includes a lock tongue detection element, which collects electrical signals by contacting the lock tongue; When the tongue is in the extended state, obtaining the door opening state of the first door body includes: When the lock tongue detection element does not contact the locking tongue, collecting a first level signal emitted by the lock tongue detection element; acquiring the door opening state of the first door body based on the first level signal; When the tongue is in the retracted state, obtaining the closed state of the first door body includes: When the lock tongue detection element contacts the contact tongue, collecting a second level signal emitted by the lock tongue detection element; The closed state of the first door body is acquired based on the second level signal.
8. The method according to claim 5, characterized in that The lock control device includes a lock tongue detection element, which contacts the touch tongue through a first detection point and contacts the tilt tongue through a second detection point to collect an electrical signal; When the contact tongue is in the first extended state and the oblique tongue is in the second extended state, obtaining the door opening state of the first door body includes: When the first detection point does not contact the latch bolt, and the second detection point does not contact the latch bolt, collecting a first level signal emitted by the latch bolt detection element; acquiring the door opening state of the first door body based on the first level signal; When the contact tongue is in the first retracted state and the oblique tongue is in the second extended state, obtaining the closed state of the first door body includes: When the first detection point contacts the latch bolt and the second detection point does not contact the latch bolt, collecting a second level signal emitted by the latch bolt detection element; The closed state of the first door body is acquired based on the second level signal.
9. The method according to any one of claims 1 to 8, characterized in that: In response to the door state of the first door being switched to the closed state, after the first sensor module is turned on, the method includes: In response to a preset sensing trigger condition being met between the first body and the first door, controlling the lock control device to collect a first unlocking signal; When the first unlocking signal meets a preset unlocking condition, the lock control device is switched to an unlocking state, and the door state of the first door is switched to the open state.
10. The method according to claim 9, characterized in that In response to a preset sensing trigger condition being met between the first body and the first door, controlling the lock control device to collect a first unlocking signal includes: In response to the distance between the first subject and the first door being less than or equal to a preset sensing distance, collecting biometric information of the first subject, where the biometric information of the first subject includes at least one of the following: texture feature information of the first subject, image information including appearance features of the first subject, and voice feature information of the first subject; Obtaining a preset information database, wherein the information database stores candidate biometric information of at least one subject; acquiring the first unlock signal based on a degree of matching between candidate biometric information of the at least one subject and the biometric information of the first subject; When the first unlocking signal meets a preset unlocking condition, switching the lock control device to the unlocked state and switching the door state of the first door to the open state includes: In response to the presence of first candidate biometric information in the candidate biometric information of the at least one subject and the degree of matching between the biometric information of the first subject reaching a first matching degree threshold, the lock control device is switched to the unlocked state, and the door body state of the first door body is switched to the open state.
11. The method according to any one of claims 1 to 8, characterized in that: When the first door body is in the open state, closing the first sensor module in the lock control device includes: When the first door body is in the open state, obtaining the power of the lock control device; When the power level of the device is lower than a first power threshold, the first sensor module in the lock control device is turned off.
12. The method according to any one of claims 1 to 8, characterized in that: When the first door body is in the open state, closing the first sensor module in the lock control device includes: When the first door body is in the open state, obtaining a number of times the first sensor module of the lock control device collects the sensor signal within a first time period, where the first time period is a time period of a preset length from the current moment, and the first time period is a future time period; In response to the first door body maintaining the open state within the first time period and the number of signal collection times reaching a first number threshold, the first sensor module in the lock control device is turned off.
13. A control device for a lock control device, characterized in that: The device comprises: an acquisition module, configured to acquire a door state of a first door based on a lock tongue state of the lock control device, wherein the door state includes any one of an open state and a closed state, and the lock control device is configured on the first door; a closing module, configured to close a first sensor module in the lock control device when the first door body is in the open state, wherein the first sensor module is configured to collect a sensor signal, and the sensor signal is configured to trigger the lock control device to collect an unlocking signal; An opening module is used to open the first sensing module in response to the door state of the first door being switched to the closed state.
14. A lock control device, characterized in that: The lock control device includes a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the control method of the lock control device according to any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that The storage medium stores at least one program, and the at least one program is loaded and executed by the processor to implement the control method of the lock control device according to any one of claims 1 to 12.
16. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the control method of the lock control device according to any one of claims 1 to 12.