The present application claims priority to CN Application No. 202310231051.4, filed on Mar. 10, 2023. The above application is incorporated by reference in its entirety.
This application relates to the field of lock technology, particularly to a type of lock and a control method for locking and unlocking the lock.
In today's era of smart technology, various traditional products are increasingly transitioning into the digital phase. In the smart lock industry, as digitalization continues to advance, various new smart technologies are constantly being integrated, increasing the level of automation of locks. Specifically, when smart locks perform electronic locking and unlocking operations (non-manual operations), a controller needs to determine whether the lock is currently in a fully unlocked state or a fully locked state, and then control the rotation direction of the motor based on the current state of the lock. However, there is a lack of accurate and convenient solutions for detecting whether a lock is fully unlocked or locked state in the related technologies.
It should be noted that the information disclosed in the aforementioned background technology section is only used to enhance the understanding of the background of this specification. Therefore, it may include information that does not constitute existing technology known to those of ordinary skill in the art.
This specification provides a lock and a method for controlling the locking and unlocking mechanisms of the lock, which can accurately and conveniently detect whether the lock is in the fully locked or unlocked state.
Other characteristics and advantages of this specification will become apparent through the detailed description below, or be acquired in part through the practice of this specification.
According to one aspect of this specification, a lock includes a rotating component, the rotation of which drives the retractable movement of a latch bolt, and a triggering component set on the rotating component. The lock includes a first sensing component, fixedly set or arranged at a first position of the lock, the first position being the position pointed to by the knob, which in turn is fixedly connected to the rotating component when the lock is in the unlocked state. The first sensing component generates a first trigger signal when the triggering component is at the first position. The lock further includes a second sensing component, fixedly set or arranged at a second position of the lock, the second position being a position pointed to by the knob when the lock is in the locked state. The second sensing component generates a second trigger signal when the triggering component is at the second position.
In some examples, based on the aforementioned scheme, the lock further includes a third sensing component fixedly installed or arranged at a third position of the lock, the third position being located between the first position and the second position. The third sensing component sends a detection signal to a control component of the lock when the third sensing component senses the trigger component.
In some examples, based on the aforementioned scheme, the control component (e.g., a controller) performs an unlocking action or a locking action based on the detection signal. The control component switches from a low power mode to a working mode based on the detection signal, where in the low power mode, components of the lock that are in a dormant or sleep state are not powered; and in the working mode, components of the lock that are in a dormant or sleep state are powered.
In some examples, based on the aforementioned scheme, the first sensing component and the second sensing component comprise photoelectric sensors, and the trigger component comprises a light-blocking piece; the third sensing component comprises a Hall sensor, and the trigger component includes a magnetic piece.
In some examples, based on the aforementioned scheme, the lock further includes a drive component. The drive component is connected to the rotating component, and the drive component is also electrically connected to the controller (e.g., the control component).
In some examples, the controller is configured to detect the rotation of the rotating component. The controller is further configured to receive, from the first sensing component, the first trigger signal, and receive, from the second sensing component, the second trigger signal. After receiving the first trigger signal, the controller generates an unlock completion signal, and controls the rotating component to continue rotating a preset angle. The preset angle is determined by a compensation strategy. After receiving the second trigger signal, the controller generates a lock completion signal, and controls the rotating component to continue rotating the preset angle.
In some examples, based on the aforementioned scheme, the controller is further configured to control the rotating component to rotate towards the second position after receiving, from a terminal, a reminder message of a pending lock status, wherein the reminder message is generated based on determining that the position of the rotating component is neither at the first position nor at the second position and the duration of stay is greater than a preset duration.
In some examples, based on the aforementioned scheme, during the rotation of the rotating component and after receiving, from the third sensing component, the detection signal, the controller is configured to cause the rotating component to rotate towards the first position and to point to the first position to perform an unlocking action. During the rotation of the rotating component and after receiving the detection signal, the controller is further configured to control the rotating component to continue rotating towards the second position and to point to the second position to perform the locking action.
In some examples, based on the aforementioned scheme, after determining that the driving component is not activated, and in response to receiving a detection signal from the third sensing component, the controller is further configured to switch the lock from a low-power mode to a working mode. In the low-power mode, components of the lock in a sleep state are not powered; and in the working mode, the components in a sleep state are powered.
In some examples, based on the aforementioned scheme, after generating the unlock completion signal and controlling the rotating component to continue rotating the preset angle, the controller is further configured to send a first notification to the terminal, and the first notification indicates a successful unlocking of the lock. After generating the lock completion signal and controlling the rotating component to continue rotating the preset angle, the controller is further configured to send a second notification to the terminal, and the second notification indicates a successful locking of the lock.
In some examples, a method for controlling locking and unlocking mechanisms of a lock is provided. The lock includes a controller, a rotating component comprising a triggering component, a first sensing component and a second sensing component. The method includes: receiving, by the controller, a first triggering signal or a second triggering signal, wherein the first triggering signal is generated by the first sensing component when the triggering component is in a first position, and the second triggering signal is generated by the second sensing component when the triggering component is in a second position; based on the receipt of the first triggering signal, generating a lock opening completion signal, wherein the rotating component is configured to continue rotating a preset angle, wherein the preset angle is determined by a compensation strategy; and based on the receipt of the second triggering signal, generating a lock closing completion signal, wherein the rotating component is configured to continue rotating the preset angle.
In some examples, the lock further includes a third sensing component fixedly arranged at a third position of the lock, the third position being between the first position and the second position. The method further includes: receiving, by the controller and from a terminal, a reminder message that a status of the lock is pending; determining that the rotating component is neither at the first position nor at the second position, and a duration of stay of the rotating component is greater than a preset duration; and causing the rotating component to rotate towards the second position.
In some examples, the controller receives, from the third sensing component, a detection signal indicating that the third sensing component senses the triggering component at the third position. During the rotation of the rotating component and after receiving the detection signal, the controller causes the rotating component to rotate towards the first position and to point to the first position to perform an unlocking action. Alternatively, during the rotation of the rotating component and after receiving the detection signal, the controller causes the rotating component to rotate towards the second position and to point to the second position to perform a locking action. Still alternatively, after receiving the detection signal indicating that the third sensing component senses the triggering component at the third position, the controller causes the lock to switch from a low power mode to a working mode. In the low power mode, one or more components of the lock in a sleep state are not powered, and in the working mode, the one or more components in the sleep state are powered. In some examples, the lock further comprises a driving component connected to the rotating component, and the driving component is also electrically connected to the controller.
In some examples, after generating the lock opening completion signal and causing the rotating component to continue rotating the preset angle, the controller sends a first notification to a terminal, and the first notification indicates a successful unlocking. Alternatively, after generating the lock closing completion signal and causing the rotating component to continue rotating the preset angle, the controller sends a second notification a terminal, and the second notification indicates a successful locking.
In some examples, the lock is in an unlocked state when the triggering component is at the first position, and the lock is in a locked state when the triggering component is at the second position. The first sensing component and the second sensing component comprise photoelectric sensors, the triggering component comprises a light-blocking piece, the third sensing component comprises a Hall sensor, and the triggering component includes a magnetic piece.
According to another aspect of this specification, a computer-readable storage medium is provided, which stores a computer program that, when executed by the processor, implements the control method for locking and unlocking the lock as described in the examples of this disclosure.
The lock and the control method for locking and unlocking provided in the examples of this disclosure have the following technical effects:
The examples of this disclosure provide a lock that includes a first sensing component, a second sensing component and a rotating component comprising a triggering component. The first sensing component is fixedly arranged at a first position of the lock, where the first position is a position towards which the rotating component points to when the lock is in the unlocked state. For example, a knob is fixedly connected to the rotating component and the knob points to the first position when the lock is in an unlocked state. Thus, when a trigger component set on the rotating component rotates to the first position during its rotation, the first sensing component will generate a first trigger signal. The second sensing component is fixedly located at the second position of the lock, where the second position is the position towards which the rotating component points when the lock is in the locked state. For example, the knob points to the second position when the lock is in a locked state. Thus, when the trigger component set on the rotating component rotates to the second position during its rotation, the second sensing component will generate a second trigger signal. Therefore, based on the aforementioned first trigger signal, it is possible to accurately and conveniently detect when the lock is properly unlocked, and likewise, based on the aforementioned second trigger signal, it is possible to accurately and conveniently detect when the lock is properly locked.
It should be understood that the above general description and the detailed description to follow are only exemplary and explanatory and should not limit this specification.
The accompanying drawings are incorporated into the specification as part of the description of the examples of the present disclosure and are used in conjunction with the specification to explain the principles of the present disclosure. It is apparent that the drawings described below are only some examples of the present disclosure, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
To make the objectives, technical solutions, and advantages of this specification clearer, the examples of this specification will be further described in detail in conjunction with the accompanying drawings.
When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The examples described in the following examples do not represent all examples consistent with this specification. Instead, they are merely examples of devices and methods consistent with some aspects of this specification as detailed in the accompanying claims.
Now, a more comprehensive description of the example examples will be provided with reference to the accompanying drawings. However, it should be understood that the examples can be implemented in many different forms and should not be construed as limited to the examples set forth herein; rather, these examples are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the examples to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more examples. In the following description, numerous specific details are provided to give a thorough understanding of examples of the description. However, it will be apparent to one skilled in the art that one or more of the specific details can be omitted or that other methods, components, devices, steps, etc., can be used. In other instances, well-known technical solutions are not shown or described in detail to avoid obscuring aspects of the description.
Furthermore, the drawings are only schematic illustrations of the description and are not necessarily drawn to scale. The same reference numerals in the drawings indicate the same or similar parts, and thus their description will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software, or realized in one or more hardware modules or integrated circuits, or implemented across different networks and/or processor devices and/or microcontroller devices.
This specification example can solve the technical problems existing in the related technology. Specifically, this specification example provides the following contents:
For example,
As shown in
For example, the network 120 can be a communication medium of various connection types that can provide a communication link between the terminal 110 and the server 130, such as a wired communication link, a wireless communication link, or an optical fiber cable, etc., which is not limited in this specification. The server 130 can be an independent physical server, or it can be a server cluster or distributed system composed of multiple physical servers, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, as well as big data and artificial intelligence platforms. The terminal 140 can be a mobile phone, computer, tablet, etc., that includes a camera component or video playback function.
For example, the lock 110 can be a fingerprint lock, a password lock, and locks based on terminal applications, etc. Under the intelligent lock switching mode (such as switching locks through fingerprints, remote switching locks based on applications, switching locks through passwords), it adopts the method of driving by a driving component (such as a motor) 11 to achieve locking/unlocking. At the same time, it can also realize manual locking/unlocking through a door handle 15, a knob 16, etc., and the manual locking/unlocking mode does not require the driving of the driving component 11.
In an example, the working principle of the lock in the intelligent lock switching mode is introduced through
It should be noted that the rotating component 10 is connected to the external components on the outside of the lock (such as the door handle 15, the knob 16), so that in the manual lock switching mode, when a user acts on the external components on the outside of the lock, it can also drive the rotating component 10 to rotate, thereby achieving the movement of the lock bolt and ultimately realizing manual lock switching.
In the examples,
Since the door opening method can be divided into left-opening and right-opening, the example shown in
In the examples, the aforementioned first sensing component and second sensing component can include photoelectric sensors or Hall sensors. In the examples of this specification, the first sensing component and the second sensing component can include photoelectric sensors. Using photoelectric sensors to detect the position of the rotating component has high accuracy for position detection and good consistency in triggering signals at the same angle. In the case where both the first sensing component and the second sensing component include photoelectric sensors, the triggering component includes a light-blocking piece, that is, the material of the triggering component is capable of blocking light.
For example,
In S710, it is determined whether a first trigger signal sent by the first sensing component or a second trigger signal sent by the second sensing component is received.
In the example, referring to
For example, referring to
Specifically, referring to
Continuing to refer to
For example, referring to
Specifically, referring to
In the above implementation, the checking method for whether the lock is properly unlocked or locked is realized by the fixedly set photoelectric sensor and the rotating component driving the trigger component to rotate. However, generally, if the trigger component has not fully entered the gap between the emitting end and the receiving end of the photoelectric sensor (that is, the rotating component has not rotated into position), the photoelectric sensor will generate a trigger signal. Referring to FIG. 4, if the unlocking is in place, the trigger component D should coincide with the Y-axis, but due to the aforementioned reasons, before the trigger component coincides with the Y-axis, the photoelectric sensor B has already issued the first trigger signal. Therefore, when the controller generates the unlocking completion signal, the trigger component has not actually coincided with the Y-axis (and has not truly reached the unlocked position). To address this issue, the example of this disclosure provides the following solution: that is, to execute S740: control the rotating component to continue rotating a preset angle.
As described in the above-mentioned example, when the controller generates the aforementioned unlock completion signal, there is a certain angle (generally around 5 degrees) between the trigger component and the positive direction of the Y-axis. Under this circumstance, the control driving component continues to move for a preset duration, thereby controlling the rotating component to continue rotating a preset angle, which can ensure that the trigger component is fully inserted between the emitting end and the receiving end of the photoelectric sensor, while also aligning the knob correctly to the unlock position. The preset duration for the continued movement of the control driving component can be determined according to a compensation strategy.
For example, since the rotation speed of the rotating components such as the motor and gears in the lock is related to the current battery level of the lock, in the aforementioned compensation strategy, the preset duration for the continued movement of the control driving component is related to the current battery level of the lock. Specifically, the current battery level is negatively correlated with the preset duration for the continued movement of the control driving component. That is, the higher the current battery level, the faster the rotation speed of the rotating components such as the motor and gears in the lock, and thus the shorter the time required to rotate the same angle, resulting in a shorter preset duration for the continued movement; conversely, the lower the current battery level, the slower the rotation speed of the rotating components, and thus the longer the time required to rotate the same angle, resulting in a longer preset duration for the continued movement. Through the aforementioned compensation operation, it is possible to effectively avoid issues such as the knob or door handle being misaligned due to the rotating component not turning into the correct position.
In the examples, after performing a lock opening action or a lock closing action, the lock may experience rotational stuttering or, in severe cases, jamming. This is due to the issue of the lock jamming caused by the gears meshing too tightly. To address this issue, after performing the lock opening or closing action, the controller also controls the drive component to perform a disengagement action (also called a relocking action). For example, referring to
For example, since the rotational speed of rotating components such as motors and gears in the lock is related to the current battery level in the lock, the relocking duration controlled by the drive component in the above relocking is related to the current battery level in the lock. Specifically, the current battery level is negatively correlated with the relocking duration. That is, the higher the current battery level, the faster the rotational speed of the rotating components such as motors and gears in the lock, and therefore the shorter the time required to rotate the same angle, resulting in a shorter relocking duration. Conversely, the lower the current battery level, the slower the rotational speed of the rotating components such as motors and gears in the lock, and therefore the longer the time required to rotate the same angle, resulting in a longer relocking duration.
In the example, referring to
In the example, the lock also comprises a third sensing component. The third sensing component is fixedly set or arranged at the third position of the lock, which is located between the aforementioned first position and second position. The third sensing component can include a Hall sensor or a photoelectric sensor. It should be noted that, in the case where the third sensing component adopts a Hall sensor, the aforementioned trigger component needs to be made of a magnetic material. In the following examples, the third sensing component is implemented using a Hall sensor.
Refer to
In an example, the controller of the lock can execute an unlocking action or a locking action based on the above detection signals, specifically occurring in the case where the rotating component does not rotate into position. For example, if a user manually rotates the knob to unlock, but does not rotate the knob into the correct position. For example, during the unlocking process, if the final position of the knob does not stop at the first position as shown in
In response to the situation where the rotating component does not rotate into position, the user's control intention of unlocking or locking can be determined based on the aforementioned detection signal. Furthermore, based on the rotating component not reaching its position, the rotation position of the component can be corrected according to the control intention. Specifically,
In step S910, the lock controller generates or receives a reminder message that the lock status is pending.
In one example, the lock controller generates a pending lock status reminder message when it detects that the position of the triggering component does not meet the preset conditions. Here, the aforementioned preset conditions not being met means that the position of the triggering component is neither at the first position nor the second position, thus failing to trigger a signal from either the first sensor or the second sensor. If this state lasts longer than the preset duration, the controller will generate a reminder message that the lock status is pending. For example, referring to
In another example, the user can also send a pending lock status reminder message to the lock controller through the terminal, instructing the lock to self-correct.
Upon the lock controller generating or receiving a reminder message that the lock status is pending, execute S920: Control the rotating component to turn towards the second position.
For example, after the controller generates a reminder message of pending status, for safety reasons, the lock controller controls the rotating component 10 to turn in the locking direction, that is, towards the “second position” as shown in
In S930, during the process of the rotating component turning towards the second position, determine whether it is possible to receive a detection signal sent by the third sensing component.
For example, referring to
In the event that the lock controller generates or receives a pending lock status notification, execute S920: Control the rotating component to turn towards the second position.
For example, after the controller generates a pending status notification, for safety reasons, the lock controller controls the rotating component 10 to turn in the direction of locking, that is, towards the “second position” as shown in
In S930, during the process of the rotating component turning towards the second position, it is determined whether a detection signal sent by the third sensing component can be received.
For example, referring to
For example, referring to
In an example, in order to improve the accuracy of the judgment of the aforementioned user control intention, the third sensing component can be set at a position equidistant from both the first and second positions. For instance, if the first position is at 90 degrees and the second position is at 0 degrees, to enhance the accuracy of the judgment of the user's control intention, the third sensing component can be set at 45 degrees.
The disclosure relates to predicting the user's control intent based on the aforementioned target information, and then executing the unlocking action or locking action based on the predicted user intention, so as to cause the rotating component to rotate to the first position corresponding to unlocking, thereby generating unlocking information and reporting it to the user terminal. Alternatively, the controller causes the rotating component to rotate to the second position corresponding to locking, thereby generating locking information and reporting it to the user terminal. Thus, it can effectively enhance the intelligence level of the lock, reduce the user's sense of insecurity, and improve the user experience.
In an example,
Specifically, under the initial state 100, if the controller does not receive the first trigger signal nor the second trigger signal (situation a) and a preset duration is realized, it indicates that the current rotating component is not in an un-positioned state (i.e., neither the first sensing component nor the second sensing component can detect it), then it can be determined that the rotating component of the lock is in an unknown position, that is, the lock is in an unknown position state 103.
Furthermore, in the unknown position state 103, if the controller receives a detection signal while controlling the execution of the locking action, then the controller executes the unlocking action (situation b), and the lock enters the unlocked state 101. In the unknown position state 103, if the controller does not receive a detection signal while controlling the execution of the locking action, then the controller executes the locking action (situation c), and the lock enters the locked state 102.
Specifically, under the initial state 100, if the controller receives the first trigger signal (situation f), it indicates that the triggering component in the current rotating component is at the first position (i.e., the first sensing component can detect it), then it can be determined that the lock is in the unlocked state 101. Under the initial state 100, if the controller receives the second trigger signal (situation g), it indicates that the triggering component in the current rotating component is at the second position (i.e., the second sensing component can detect it), then it can be determined that the lock is in the locked state 102.
Further, in the unlocked state 101, if in smart mode or manual mode towards locking action and the lock is not in place (situation d), then the lock enters the unknown position state 103. In the unlocked state 101, if in smart mode or manual mode towards locking action and the lock is in place (situation h), then the lock enters the locked state 102.
Further, in the locked state 102, if in smart mode or manual mode towards unlocking action and the unlock is not in place (situation e), then the lock enters the unknown position state 103. In the locked state 102, if in smart mode or manual mode towards unlocking action and the unlock is in place (situation i), then the lock enters the unlocked state 101.
As can be seen from the example shown in
In the example, in addition to executing unlocking or locking actions based on the above detection signals to determine the user's control intent, the lock controller intelligently switches from low power mode to working mode based on the above detection signals. Specifically, door lock devices are usually powered by batteries, and to save power, when the user does not operate the lock for a certain period of time, such as pressing a fingerprint, touching a button, or remote operation, etc., the lock will automatically enter standby mode (low power mode) to reduce power consumption.
For example, referring to
The solution provided by the examples in this disclosure allows for accurate and convenient detection of the lock being properly unlocked based on the first trigger signal generated by the first sensing component, and likewise, accurate and convenient detection of the lock being properly locked based on the second trigger signal generated by the second sensing component. Additionally, to avoid the issue of rotational angle errors when determining the lock position with a photoelectric sensor, the examples in this disclosure also offer angle compensation to ensure that the rotating component is accurately positioned after locking or unlocking.
On the other hand, to address potential issues of the lock becoming stuck or jammed after performing locking or unlocking actions, the examples in this disclosure also provide a re-locking scheme that adjusts the re-locking duration in real-time based on the battery level of the lock. This helps to precisely control the re-locking process and effectively prevent the lock from becoming stuck or jammed.
Furthermore, the examples in this disclosure utilize the detection signal generated by the third sensing component to achieve intelligent device wake-up, which is convenient for users and effectively saves power. The examples also use the detection signal from the third sensing component to accurately predict the user's control intentions. Based on the predicted user intentions, the system performs locking or unlocking actions, causing the rotating component to turn to the first position corresponding to unlocking, thereby generating unlocking information and reporting it to the user terminal, or to the second position corresponding to locking, thereby generating locking information and reporting it to the user terminal. This effectively enhances the intelligence level of the lock, reduces the user's sense of insecurity, and is beneficial in improving the user experience.
This application example also provides a computer-readable storage medium, which stores a computer program that, when executed by a processor (such as the controller in the aforementioned lock), implements the steps of any of the aforementioned example methods. The computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, DVDs (Digital Video Discs), CD-ROMs (Compact Disc Read-Only Memory), micro-drives, and magneto-optical disks, ROMs (Read-Only Memory), RAMs (Random Access Memory), EPROMs (Erasable Programmable Read-Only Memory), EEPROMs (Electrically Erasable Programmable Read-Only Memory), DRAMs (Dynamic Random Access Memory), VRAMs (Video Random Access Memory), flash memory devices, magnetic cards or optical cards, Nano systems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and/or data.
In the description of this specification, it should be understood that terms such as “first,” “second,” etc., are used only for descriptive purposes and should not be construed as indicating or implying relative importance. The specific meaning of the above terms in this specification can be understood by those of ordinary skill in the art according to the specific circumstances. Furthermore, in the description of this specification, unless otherwise specified, “multiple” refers to two or more. “And/or” describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and/or B can mean: A exists alone, A and B exist together, or B exists alone. The character “/” generally indicates that the associated objects before and after are in an “or” relationship.
It should be noted that specific examples have been described above for this specification. Other examples are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order from that described in the examples and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific sequence shown or the continuous sequence to achieve the desired results. In some examples, multitasking and parallel processing may also be possible or advantageous.
As described above, these are only specific examples of this specification, but the scope of protection of this specification is not limited to these. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by this specification, and they should be covered within the scope of protection of this specification. Therefore, equivalent changes made according to the claims of this specification are still within the scope covered by this specification.
Number | Date | Country | Kind |
---|---|---|---|
202310231051.4 | Mar 2023 | CN | national |