Lock control method, lock and storage medium

The smart door lock adjusts its rotation speed based on mode settings or manual input to reduce noise during unlocking and locking, addressing the issue of loud operation in quiet environments and improving user experience.

EP4654162A1Pending Publication Date: 2025-11-26SHENZHEN LUMIUNITED TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
EP2024213178
Authority / Receiving Office
EP · EP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-06-07
Filing Date
2024-11-15
Publication Date
2025-11-26

AI Technical Summary

Technical Problem

Existing smart door locks generate loud noises during unlocking and locking operations, which is particularly disruptive in quiet environments.

Method used

The smart door lock can be set to operate in a first mode with a slow rotation speed for quiet operation or a second mode with a fast rotation speed for normal operation, based on scenario requirements or manual rotation information, to reduce noise during unlocking and locking.

Benefits of technology

This approach allows for quiet and efficient unlocking and locking operations, adapting to different scenarios and user preferences, thereby enhancing the user experience by minimizing noise disruption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure IMGAF001_ABST
    Figure IMGAF001_ABST
Patent Text Reader

Abstract

Provided are a lock control method, a lock and a storage medium, relating to the technical field of Internet of Things technologies. In the lock control method, in response to detecting triggering of a target action on the lock, a current control mode of the lock is determined. In response to the current control mode being a first mode, a control component of the lock is controlled to perform the target action at a first rotation speed. In response to the current control mode being a second mode, the control component is controlled to perform the target action at a second rotation speed. The first rotation speed is lower than the second rotation speed.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of Internet of Things (IoT) technologies, and more particularly to a lock control method, a lock and a storage medium.BACKGROUND

[0002] With the development of IoT technology and the popularity of smart devices, smart door locks are applied in fields such as smart homes.

[0003] In the existing lock control technology, when a lock such as a smart door lock is controlled to be unlocked or locked, a loud sound is always generated, resulting a problem of high noise.SUMMARY

[0004] In view of this, embodiments of the present disclosure provide a lock control method, a lock, and a storage medium. The technical solutions of the disclosure are set out in the appended set of claims.

[0005] With the provided lock control method, lock, and computer-readable storage medium, when an execution condition of a target action of the lock is met, the rotation speed of the control component of the lock is controlled based on a fact that the lock is currently in a first mode or a second mode; specifically, the control component is rotated at a slow first rotation speed in the first mode and is rotated at a fast second rotation speed in the second mode, for execution of the target action. This enables the target action to be performed under the controlled rotation speed of the control component. The lock may be set to be in the first mode or the second mode based on scenario requirements, or the smart door lock may be determined to be in the first mode or the second mode based on rotation information of the control component of the lock under a manual rotation operation. In a scene requiring quietness, in order to avoid a loud sound from being generated when the lock performs an unlocking or locking action, the rotation speed can be reduced when the lock is in the first mode, which can lower the noise of performing the unlocking or locking action, and enable an effect of unlocking or locking with a low noise.BRIEF DESCRIPTION OF DRAWINGS

[0006] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or in the related art, drawings needed to be used in the description of the embodiments or the related art are briefly described below. Apparently, the drawings below are just some embodiments of the present disclosure, and other drawings can also be acquired by those skilled in the art based on these drawings without paying any creative effort. FIG. 1 is a schematic diagram illustrating an application environment in which a lock control method is applied according to some embodiments of the present disclosure. FIG. 2 is flowchart illustrating a lock control method according to some embodiments of the present disclosure. FIG. 3 is a flowchart illustrating steps for activation of a first mode according to some embodiments of the present disclosure. FIG. 4 is flowchart illustrating a lock information configuration method according to some embodiments of the present disclosure. FIG. 5 is schematic diagram illustrating a configuration page used to configure a first mode of a lock according to some embodiments of the present disclosure. FIG. 6 is a flowchart illustrating sub-steps of step 201 according to some embodiments of the present disclosure. FIG. 7 is a flowchart illustrating steps of determining a fourth rotation speed according to some embodiments of the present disclosure. FIG. 8 illustrates a structural block diagram of a lock according to some embodiments of the present disclosure. FIG. 9 illustrates a schematic diagram of a keyboard according to some embodiments of the present disclosure. FIG. 10 is a flowchart illustrating a lock control method according to some embodiments of the present disclosure. FIG. 11 illustrates an internal structural block diagram of an electronic device according to some embodiments of the present disclosure. DETAILED DESCRIPTION OF EMBODIMENTS

[0007] In order to make the purposes, technical solutions, and advantages of the present disclosure clearer and more understandable, the present disclosure will be further detailed described, in conjunction with the drawings and the embodiments of the present disclosure. It is understandable that the specific embodiments described herein are only used to explain the disclosure, rather than limiting it.

[0008] The lock control method and lock information configuration method provided in the embodiments of present disclosure may be applied to an application environment shown in FIG. 1. The application environment may be a smart home system. The smart home system may include cloud / cloud servers, routers, gateways, user terminals (such as mobile phones, tablets), multiple devices (such as smart lamps, smart sockets, smart curtains, smart air conditioners, sensors, switches, and smart door locks), etc. In the smart home system, each device may be connected with the gateway through ZIGBEE / Bluetooth, and the gateway and user terminals may all be connected with the router through WiFi. In addition, the user terminals may also establish network connections with the cloud / cloud servers through 2G / 3G / 4G / 5G, WiFi, etc., so as to acquire data issued from the cloud / cloud servers and be connected with various devices.

[0009] A system configuration method of the smart home system may be generally as follows. The user terminal is installed thereon with an application (APP) corresponding to the smart home system, and at least one gateway device may be first added on the application. When adding other devices (such as a smart door lock), the user may click a key for device addition in the interface of the application, and select, in the adding interface, a gateway device that this device needs to be connected with. In this way, the device can be added to the ZIGBEE network corresponding to the gateway, and then form a ZIGBEE local area network together with other added devices and gateways. When the application is in the same local area network as the router and the gateway, the application may interact with the gateway and devices connected with the gateway, through local area network paths. When the application is not in the same local area network as the router or the gateway, the application may interact with the gateway and devices connected with the gateway, through a wide area network path.

[0010] The smart home system shown in FIG. 1 may include a smart door lock. In the related technology of locks, a motor gearbox is usually connected with a mechanical knob through a gear. When the existing lock control technology is used to control the smart door lock to be unlocked or locked, a significant noise is always generated during the rotation process. Especially in a quiet environment, this noise is particularly prominent. It has a technical problem of loud noise, which affects the user's use experience.

[0011] The method provided in the present disclosure can enable the unlocking and locking actions to be performed under a controlled rotation speed. Specifically, the smart door lock may be set to be in a first mode or a second mode based on scenario requirements, or the smart door lock may be determined to be in the first mode or the second mode based on rotation information of a control component of the lock under a manual rotation operation. In a scene requiring quietness, the smart door lock may be placed in the first mode, and the noise generated in performing the unlocking or locking and other actions can be reduced by controlling the rotation speed. This avoids a loud sound from being generated when the smart door lock performs the unlocking or locking action, thereby enabling an effect of unlocking or locking with a low noise, and creating a quiet living environment for users. In a scene not having a specific quiet requirement, the smart door lock may be placed in the second mode, and the target action may be performed at a second rotation speed for quick unlocking or locking. As such, the present disclosure enables the smart door lock to meet different application scenarios and requirements.

[0012] The method of the present disclosure will be further described in detail, in conjunction with the drawings and the embodiments of the present disclosure.

[0013] In an exemplary embodiment, referring to FIG. 2, a lock control method is provided. The method may be applied to a lock 800, and particularly applied to a controller of the lock 800. The lock 800 may be used as one of the devices in the application environment shown in FIG. 1. The lock control method may include following steps S201 to S203.

[0014] S201, in response to detecting triggering of a target action on the lock 800, a current control mode of the lock 800 is determined.

[0015] In this step, the target action on the lock 800 may include an automatic / electric unlocking or locking action. The target action on the lock 800 may be triggered by performing an operation on a corresponding object on the lock 800 with valid fingerprints, NFC, passwords, keys, and other methods. If the triggering of the target action on the lock 800 is detected, the controller of the lock 800 may determine the current control mode of the lock 800. The current control mode of the lock 800 may be one of two or more control modes. The current control mode of the lock 800 may be either a first mode or a second mode. The first mode and the second mode are different control modes from each other. The current control mode of the lock 800 may be determined by the lock 800 based on current time information, environmental information, etc., or it may also be set by the user. The lock 800 can be set to be in the first mode or the second mode based on scenario requirements. In a scene requiring quietness, the lock 800 of the smart door lock may be set to be in the first mode, that is, a quiet mode. In a scene not having a specific quiet requirement, the lock 800 of the smart door lock may be placed in the second mode, that is, a normal mode.

[0016] S202, in response to the current control mode being a first mode, a control component of the lock 800 is controlled to perform the target action at a first rotation speed.

[0017] S203, in response to the current control mode being a second mode, the control component is controlled to perform the target action at a second rotation speed, the first rotation speed is lower than the second rotation speed.

[0018] In different control modes of the lock 800, the control component may be controlled to perform the target action at different rotation speeds, that is, different control modes may correspond to different rotation speeds of the control component. In the first mode, the control component performs the target action at the corresponding first rotation speed. In the second mode, the control component performs the target action at the second rotation speed. The first rotation speed may be less than the second rotation speed. The rotation speeds corresponding to different control modes may be configured in advance, or may also be set by the user or in other ways (as described below). The embodiments of the present disclosure are not limited thereto, as long as the rotation speed in the first mode is lower than the rotation speed in the second mode. Therefore, based on a fact whether the current control mode of the lock 800 is the first mode or the second mode, step S202 or S203 is correspondingly be executed, to perform the unlocking, locking or other actions at different rotation speeds in different modes. Specifically, in S202, if the current control mode is the first mode, the controller of the lock 800 may control the control component of the lock 800 to perform the unlocking, locking or other actions at the first rotation speed. In S203, if the current control mode is the second mode, the controller of the lock 800 may control the control component of the lock 800 to perform the unlocking, locking or other actions at the second rotation speed. As mentioned above, the first rotation speed is lower than the second rotation speed. Therefore, based on a specific time and / or environment, the lock 800 may be placed in the first mode, in which mode the control component would perform the target action at a relatively slow first rotation speed. The control component may be the mechanical knob on the lock 800, and the motor gearbox is usually connected with the knob through a gear. By accurately controlling the speed of the motor, the running speed of the knob may be reduced, which enables low-noise operation. This makes the noise generated by the lock 800 during the unlocking or locking process be extremely low, and makes a light sound generated in unlocking or locking the door lock, thereby creating a quiet living environment for users.

[0019] In the lock control method of the embodiments, when the triggering of the target action on the lock 800 is detected, the rotation speed of the control component of the lock 800 is correspondingly controlled based on a fact whether the lock 800 is in the first mode or the second mode. Specifically, the control component may perform the target action at a slow first rotation speed in the first mode, or at a fast second rotation speed in the second mode. This enables the target action to be performed under the controlled rotation speed of the control component. In particular, in the scene requiring quietness, the lock 800 may be set in the first mode, and the control component correspondingly performs the target action at the slow first rotation speed, to avoid a loud sound from being generated when the lock 800 performs actions such as the unlocking or locking action. That is, when the lock 800 is in the first mode, the noise generated in performing the unlocking or locking action can be reduced by controlling the rotation speed, which enables the effect of unlocking or locking with a low noise. In the scene not having a specific quiet requirement, the smart door lock may be set in the second mode, and the control component correspondingly performs the target action at the fast second rotation speed, which enables fast unlocking or locking. Accordingly, the present disclosure enables the smart door lock to meet different application scenarios and requirements.

[0020] Next, it is first illustrated by taking, as an example, a case where the unlocking / locking action is triggered with fingerprints, NFC, passwords, keys, etc. (i.e., it is not triggered by manually rotating the control component). In an exemplary embodiment, as shown in FIG. 3, before determining the current control mode of the lock 800 in response to detecting the triggering of the target action on the lock 800 in S201, the lock control method may further includes steps S301 and S302.

[0021] S301, a start command for the first mode is acquired.

[0022] S302, based on the start command for the first mode, the control mode of the lock 800 is set as the first mode.

[0023] In the embodiments, when acquiring the start command for the first mode, the controller of the lock 800 may set the control mode of the lock 800 as the first mode, based on the start command for the first mode. The first rotation speed corresponding to the first mode is less than the second rotation speed corresponding to the second mode, and the start command for the first mode may be usually used to set the control mode of the lock 800 as the first mode in the scene where the target action needs to be performed at a low speed (the target action is performed quietly), so as to meet the requirement of unlocking or locking at a low speed (quietly) in some specific scenarios. The controller of the lock 800 may set the control mode of the lock 800 as the first mode upon receiving the start command for the first mode (for example, the controller sets the control mode of the lock 800 in the first mode, when a trigger operation is received on a specific object of the lock 800), or may also set, based on information in the start command for the first mode, the control mode of the lock 800 as the first mode when a condition such as a specific time is met (for example, the controller sets the control mode of the lock 800 as the first mode at a specific time every day), thereby enabling the mode setting of the lock 800 to adapt to more scene needs.

[0024] In an exemplary embodiment, the acquiring the start command for the first mode in S301 may include: acquiring the start command for the first mode, based on a first operation triggered on a first object of the lock 800; or acquiring the start command for the first mode, based on configuration information of the first mode received from a terminal connected with the lock 800.

[0025] In some implementations, the controller of the lock 800 may acquire the start command for the first mode in at least two ways. The controller of the lock 800 may acquire the start command for the first mode, based on the first operation triggered on the first object of the lock 800. The lock 800 may be provided with multiple objects thereon, and the first object may include one or more keys on the lock 800. The first object may include a specified key on the lock 800 (such as a confirm key on the lock 800), or may also include a combination of one or more keys designated by the user. The user may trigger the first operation (such as single-click, and double-click) on the first object of the lock 800, so that the controller of the lock 800 acquires the start command for the first mode based on the first operation. The controller of the lock 800 may set the control mode of the lock 800 as the first mode when acquiring the start command for the first mode. Based on this, before unlocking or locking the lock, the user may determine whether it needs to perform the unlocking or locking action at a low speed (quietly). If it needs to perform the unlocking or locking action at a low speed (quietly), the user may single-click a specific key on the lock 800 to make the lock 800 enter the first mode, and then the unlocking or locking action is performed at a low speed (quietly). The user can conveniently set the lock 800 to the first mode without complicated operation, which can meet the user's needs of performing the unlocking or locking action at a low speed (quietly) timely and temporarily.

[0026] In some other embodiments, the controller of the lock 800 may also acquire the start command for the first mode based on the configuration information of the first mode received from the terminal. The user may configure the first mode of the lock 800 in the application of the terminal (user terminal), and the terminal may thereby acquire the configuration information of the first mode. The configuration information may include a start time at which the first mode of the lock 800 is started (or a time period during which the first mode is activated) and other information of the first mode of the lock 800. The terminal may send the configuration information to the lock 800, and the controller of the lock 800 may receive the configuration information, and obtain the start command for the first mode based on the configuration information. As an example, the user may configure the first mode of the lock 800 in an application of the terminal (user terminal), and the configuration information includes information indicating that the first mode of the lock 800 is activated from time A to time B every day; then, the start command for the first mode, acquired by the controller of the lock 800 based on the configuration information, may be one instructing the lock 800 to be in the first mode from time A to time B every day. Based on the start command for the first mode, the controller of the lock 800 may set the control mode of the lock 800 as the first mode when time A comes every day, and set the control mode of the lock 800 as the second mode after time B every day. Based on this, the user can flexibly configure, in the application of the terminal (user terminal), the time period during which the unlocking or locking action needs to be performed at a low speed (quietly). This time period may be effective once, for multiple times, or periodically, to meet the needs of different scenarios. In addition, the user can remotely configure it on the terminal (user terminal), which is convenient for a family member who is not familiar with the operation of the lock 800 to set the specific time for performing the unlocking or locking action at a low speed (quietly).

[0027] In an exemplary embodiment, after setting the control mode of the lock 800 as the first mode based on the start command for the first mode in S302, the method may further include the following steps: when a failure condition of the first mode is not met, setting the control mode of the lock 800 as the second mode, in response to a second operation triggered on the first object, or in response to a close command for the first mode received from the terminal. The failure condition includes a time condition and / or a condition about number of times.

[0028] The embodiments provide a variety of ways for the user to actively switch the control mode of the lock 800 from the first mode back to the second mode, which is convenient. The failure condition of the first mode of the lock 800 may be set, and the failure condition may include a failure condition in a time dimension or a failure condition in dimension of number of times. If the failure condition is met, the lock 800 may automatically switch the control mode from the first mode back to the second mode. In the case where the failure condition is not met, the schemes of the embodiments provide multiple ways for the user to actively switch the control mode of the lock 800 from the first mode to the second mode.

[0029] In one way, the user may trigger a corresponding operation on a specific object of the lock 800, to switch the control mode of the lock 800 from the first mode to the second mode. For example, if the failure condition of the first mode is not met, the user may trigger a second operation on the first object of the lock 800, and then the controller of the lock 800 sets the control mode of the lock 800 as the second mode based on the second operation triggered on the first object. The second operation may be a single-click or long press operation, and the like. Therefore, when the failure condition of the first mode is not met, if the user needs to end the first mode, the user may conveniently switch the control mode of the lock 800 from the first mode back to the second mode by triggering the second operation on the first object of the lock 800.

[0030] In another way, the user may close the first mode on the terminal, and the terminal may acquire the user's close command for the first mode and send the close command to the lock 800. The controller of the lock 800 may receive the close command, and set the control mode of the lock 800 as the second mode based on the close command. Thus, the user can remotely close / end the first mode of the lock 800, so that the mode switching operation of the lock 800 would not be limited to being performed at the vicinity of the lock 800, which is convenient for a family member who is not familiar with the operation of the lock 800 to close / end the mode in which the unlocking or locking action of the lock 800 is performed at a low speed (quietly).

[0031] In an exemplary embodiment, after setting the control mode of the lock 800 as the first mode based on the start command for the first mode in S302, the method may further include the following steps: in response to the failure condition of the first mode is met, setting the control mode of the lock 800 as the second mode, where the failure condition include a time condition and / or a condition about number of times.

[0032] The embodiments provide a solution that the lock 800 can automatically switch from the first mode to the second mode based on the failure condition of the first mode, and thus, after setting the first mode each time, there is no need for the user to concern whether the control mode comes back to the second mode. In the embodiments, the failure condition of the first mode may include a failure condition in the time dimension or may also include a failure condition in the dimension of number of times. The failure condition in the time dimension is named as the time condition, and the failure condition in the dimension of number of times is named as the condition about number of times. If it is detected that the time condition and / or the condition about number of times of the first mode is met, the controller of the lock 800 may switch the control mode of the lock 800 from the first mode to the second mode. The failure condition of the first mode can be set by the user, and the user may set the time condition and / or the condition about number of times. The time condition may be a condition that the target action has not been performed for a period of time, ending of one or more time periods and the like, and the condition about number of times may be a condition that the target action has been performed once or many times.

[0033] In an exemplary embodiment, the above method may further include the following steps: based on the configuration information of the first mode received from the terminal, determining the failure condition of the first mode; or acquiring a pre-configured failure condition of the first mode.

[0034] The solutions of the embodiments provide multiple ways to set the failure condition of the first mode of the lock 800. The user may set the failure condition of the first mode on the terminal, or the pre-configured failure condition of the first mode of the lock 800 may also be used. The user may set the failure condition when setting the configuration information of the first mode. The failure condition may include a time condition and / or a condition about number of times. The terminal acquires the configuration information of the first mode containing the failure condition, and sends the configuration information to the lock 800. The controller of the lock 800 may acquire the failure condition of the first mode based on the configuration information. The lock 800 may be also pre-configured with default failure condition of the first mode, and the failure condition include a time condition and / or a condition about number of times. If the user does not set the failure condition of the first mode, the controller of the lock 800 may use the pre-configured default failure condition of the first mode.

[0035] In an exemplary embodiment, the detecting triggering of the target action on the lock 800 in S201 may further include the following steps: in response to detecting a third operation triggered on a second object of the lock 800, determining that the triggering of the target action is detected. Accordingly, the determining the current control mode of the lock 800 in S201 may include: setting the current control mode of the lock 800 as the first mode.

[0036] The solutions provided in the embodiments allows the user to trigger one operation on the lock 800 to make the control component of the lock 800 perform the target action at a relatively slow rotation speed, which is highly convenient. The second object may be an unlock key, a lock key or a key that may be used to cause the knob of the lock 800 to perform a corresponding unlocking or locking action, and the third operation may be a long press operation. Taking the second object being a lock key as an example, based on the long press operation triggered by the user on the lock key of the lock 800, the controller of the lock 800 may not only determine the triggering of the unlocking action, but also determine the current control mode of the lock 800 as the first mode, and then control the knob of the lock 800 to perform the unlocking action at the first rotation speed, thereby performing the unlocking / locking operation quietly under one-key trigger.

[0037] In an exemplary embodiment, after controlling the control component of the lock 800 to perform the target action at the first rotation speed in S202, the method may further include the following steps: setting the control mode of the lock 800 as the second mode.

[0038] This solution may be carried out based on the above solution of performing the unlocking / locking action quietly under one-key trigger. After the controller of the lock 800 controls, based on the third operation triggered by the user on the second object of the lock 800, the control component of the lock 800 to perform the target action at the first rotation speed, the control mode of the lock 800 may be set as the second mode. Therefore, after performing the unlocking / locking action quietly under one-key trigger each time, the control mode of the lock 800 is automatically switched from the first mode to the second mode without manual switching operation by the user. This further improves the convenience of performing the unlocking / locking action quietly under one-key trigger.

[0039] In an exemplary embodiment, before controlling the control component of the lock 800 to perform the target action at the first rotation speed in S202, the method may further include the following steps: determining the first rotation speed, based on a lower limit of a rotation speed range of the control component. Additionally or alternatively, before controlling the control component to perform the target action at the second rotation speed in S203, the method further includes the following steps: determining the second rotation speed, based on an upper limit of the rotation speed range of the control component.

[0040] The embodiments provide a solution for determining the first rotation speed and the second rotation speed. For the first rotation speed, it may be determined based on the lower limit of the rotation speed range of the control component (the knob on the lock 800). The lower limit of the rotation speed range may be the slowest speed at which the control component (knob) rotates, the upper limit of the rotation speed range be the fastest speed at which the control component (knob) rotates, and the rotation speed range is a range of rotation speed available to the control component (knob). The lower limit of the rotation speed range of the control component may be determined as the first rotation speed, so that the control component rotates at the slowest speed in the first mode, which minimizes the noise generated when the lock 800 performs the target action. On the other hand, the upper limit of the rotation speed range of the control component may be determined as the second rotation speed, so that the control component rotates at the fastest speed in the second mode, which enables the unlocking or locking to be performed as quickly as possible for the user. Of course, other values in the rotation speed range of the control component (the knob on the lock 800) may also be set as the first rotation speed and the second rotation speed, and the embodiments of the present disclosure are not limited thereto.

[0041] In an exemplary embodiment, as shown in FIG. 4, the present disclosure provides an information configuration method for the lock 800, which method may be applied to a user terminal as shown in FIG. 1. The method may include the following steps S401 to S403.

[0042] S401, a configuration page for configuring the first mode of the lock 800 is displayed.

[0043] In this step, the terminal (user terminal) may display the configuration page for configuring the first mode of the lock 800. Taking a case where the unlocking / locking action is performed quietly in the first mode as an example, a configuration page is shown in FIG. 5. The configuration page may display a background picture, which picture may be a default picture related to quiet unlocking / locking in the application of the terminal (user terminal), or may be set by the user. The configuration page may also display function definition for the quiet unlocking / locking, an on / off control for the quiet unlocking / locking, a time condition for the quiet unlocking / locking (start time, end time), and so on.

[0044] S402, configuration information of the first mode is acquired from the configuration page.

[0045] In this step, the user may set the configuration information of the first mode of the lock 800 on the configuration page shown in FIG. 5, and then the terminal may acquire the user's configuration information of the first mode from the configuration page.

[0046] S403, the configuration information is sent to the lock 800, so that the controller of the lock 800 performs control based on the configuration information.

[0047] In this step, after the user sets the configuration information of the first mode, the terminal can send the configuration information to the lock 800. The lock 800 may receive the configuration information of the first mode from the terminal. Based on the configuration information, when the lock 800 detects the triggering of the target action, it may control the control component of the lock 800 to perform the target action at the first rotation speed or the second rotation speed based on a fact whether the control mode of the lock 800 is the first mode or the second mode, thereby realizing the quiet unlocking / locking. For the part of the lock 800, reference may be made to the relevant contents of the previous embodiment, which will not be repeated here.

[0048] The solution of the embodiments allows the user to set the configuration information of the first mode of the lock 800 on the user terminal, so that it can flexibly configure the first mode of the lock 800 based on its own needs, and the setting of the first mode of the lock 800 does not need to be limited to the operation of the lock 800 performed near the lock 800.

[0049] Next, it is first illustrated by taking, as an example, a case where the unlocking / locking action is triggered by manually rotating the control component. The lock 800 may be provided with the control component such as a mechanical knob. The user may also manually perform the target action, such as the unlocking or locking action, by rotating the control component such as the knob of the lock 800 with a key. The knob may cooperate with a lock cylinder transmission component (such as key and lock cylinder tail rod) of the lock 800. When the knob is rotated by hand or a key, it may drive the lock cylinder transmission component to rotate, thereby achieving the unlocking or locking. In addition, the motor and gearbox of the lock 800 may also be connected with the knob through a gear, and the motor and gearbox may also drive the knob to rotate through the gear, thereby achieving the unlocking or locking. In this case, as shown in FIG. 6, the detecting triggering of the target action of the lock 800 in S201, may include following step:

[0050] S601, determining that the triggering of the target action on the lock 800 is detected, in response to detecting that rotation information of the control component of the lock 800 rotated in a target direction under a manual rotation operation indicates that the manual rotation operation meets a starting condition for rotation control in the target direction.

[0051] Specifically, the user may manually rotate the control component of the lock 800, so that the control component of the lock 800 is rotated in the target direction under the manual rotation operation. The target direction may include a first direction and a second direction, where the first direction may correspond to a counterclockwise direction and the second direction may correspond to a clockwise direction. The target direction along which the control component is rotated under the user's rotation operation corresponds to the target action that the user needs to perform on the lock 800. The target action may include a first action corresponding to the first direction and a second action corresponding to the second direction. The first action may correspond to a locking action, and the second action may correspond to an unlocking action. Therefore, the first (counterclockwise) direction may correspond to the locking direction, and the second (clockwise) direction may correspond to the unlocking direction. When the user manually performs a rotation operation on the control component of the lock 800, the controller of the lock 800 may acquire, through a sensor, the rotation information of the control component of the lock 800 along the target direction under the rotation operation. The rotation information may include a rotation angle, a rotation speed, and other information. After acquiring the rotation information, the controller of the lock 800 may determine, based on the rotation information, whether the rotation operation meets the starting condition for rotation control in the target direction. When it is determined that the rotation operation meets the starting condition for rotation control in the target direction, it is determined that the triggering of the target action of the lock 800 is detected in the manual operation mode.

[0052] In the case of manually rotating the control component for unlocking / locking, the controller of the lock 800 may acquire, through an angle sensor, the rotation information of the control component of the lock 800 in the target direction under the manual rotation operation, and the rotation information correspondingly includes the rotation angle of the control component in the target direction. In some embodiments, the controller of the lock 800 may also acquire, through a sensor, a dwell time during which the control component of the lock 800 is kept at a certain angle to which it is rotated along the target direction under the manual rotation operation, and the rotation information further correspondingly includes the dwell time of the rotation angle of the control component.

[0053] In some embodiments, the rotation information includes the rotation angle of the control component in the target direction and the dwell time of the rotation angle of the control component. The detecting that the rotation information of the control component of the lock 800 rotated in the target direction under the manual rotation operation indicates that the manual rotation operation meets the starting condition for rotation control in the target direction, includes: in response to the rotation angle of the control component of the lock 800 in the target direction reaches an angle threshold, and / or in response to the dwell time of the rotation angle reaches a time threshold, determining that the rotation information indicates that the manual rotation operation meets the starting condition for rotation control in the target direction. Thus, it is determined that the triggering of the target action on the lock 800 is detected. For example, the controller of the lock 800 may determine, based on only the rotation angle of the control component in the target direction contained in the rotation information, whether the manual rotation operation in the manual rotation operation mode meets the starting condition for rotation control. Specifically, when it is determined that the rotation angle in the target direction contained in the rotation information is equal to or greater than the angle threshold, it may be determined that the corresponding manual rotation operation meets the starting condition for rotation control. Therefore, when it is detected that the rotation angle of the control component rotated by the user manually in the target direction reaches the angle threshold, it may be determined that the triggering of the target action on the lock 800 is detected. For another example, the controller of the lock 800 may determine, based on only the dwell time of the rotation angle in the target direction contained in the rotation information, whether the manual rotation operation in the manual rotation operation mode meets the starting condition for rotation control. Specifically, when the dwell time of the rotation angle (which may be any angle) of the control component along the target direction reaches the time threshold, it may be determined that the manual rotation operation meets the starting condition for rotation control. For a further example, only when the rotation angle of the control component in the target direction reaches the angle threshold and the dwell time of the rotation angle reaches the time threshold, the controller of the lock 800 determines that the manual rotation operation meets the starting condition for rotation control, that is, it determines, based on both the rotation angle and dwell time, whether the manual rotation operation meets the starting condition for rotation control. As an example, the angle threshold may be, for example, 60 degrees, 45 degrees, or 30 degrees, and the dwell time may be 2 seconds, 1 second, etc., and the embodiments of the present disclosure are not limited thereto. Thus, when it is detected that the rotation angle of the control component rotated by the user manually in the target direction reaches the angle threshold, and / or when it is detected that the dwell time of the rotation angle (which may be any angle) of the control component in the target direction reaches the time threshold, it may be determined that the triggering of the target action on the lock 800 is detected. The starting conditions for rotation control in different target directions may be the same or different, and the embodiments of the present disclosure are not limited thereto. In the case of manually rotating the control component for unlocking / locking, the controller of the lock 800 may also acquire, through a speed sensor (such as a gyroscope or other angular speed sensor), the rotation speed of the control component of the lock 800 in the target direction under the manual rotation operation. Correspondingly, the rotation information may also include the rotation speed of the control component in the target direction. As such, the controller of the lock 800 may acquire, based on the rotation speed contained in the rotation information, the rotation speed of the control component during a rotation operation period, which is referred to as a third rotation speed hereinafter. The rotation operation period refers to a period during which the user manually operates the control component of the lock 800 to rotate in the target direction. For the acquisition of the third rotation speed, as another example, the controller of the lock 800 may also acquire the third rotation speed of the control component during the rotation operation period by differentiating the rotation angle acquired by the angle sensor with respect to time.

[0054] In the case of manually rotating the control component for unlocking / locking, as shown in FIG. 6, when the triggering of the target action on the lock 800 is detected, that is, when it is detected the manual rotation operation in the target direction meets the starting condition for rotation control, the determining the current control mode of the lock 800 may include the following steps S602 and S603.

[0055] S602, in response to the third rotation speed of the control component during the manual rotation operation less than a speed threshold, determining the current control mode of the lock 800 as the first mode.

[0056] S603, in response to the third rotation speed of the control component during the manual rotation operation equal to or greater than the speed threshold, determining the current control mode of the lock 800 as the second mode.

[0057] Specifically, as an example scene of the embodiments, there are many mechanical transmission components (such as gears) inside the door lock. During the locking and unlocking, a lock tongue on the lock cylinder is driven to extend or retract through the movement of. To ensure the sensitivity of unlocking and locking, the speed at which the mechanical transmission components drive the lock tongue on the lock cylinder to extend or retract is quick, which would generate a loud sound during the unlocking or locking, and thus has a significant impact on application scenarios highly sensitive to noise. When the user manually rotates the control component to start unlocking or locking, the controller of the lock 800 can detect, through a sensor, the third rotation speed of the control component during the manual rotation operation. For example, when the user manually rotates the control component, the sensor of the lock 800 may detect a total rotation time and a total rotation angle during this rotation process; and based on the total rotation duration and the total rotation angle, the controller may calculate an average speed during this total rotation time, as the third rotation speed. If the third rotation speed is small (for example, less than the speed threshold), it shows that the user desires to perform the unlocking or locking action in the quiet mode. In this case, the controller of the lock 800 may set the lock 800 to be in the first mode. If the third rotation speed is large (for example, equal to or greater than the speed threshold), it shows that the user does not desire to perform the unlocking or locking action in the quiet mode. In this case, the controller of the lock 800 may set the lock 800 to be in the second mode. The value of the speed threshold may be preset as required, and the embodiments of the present disclosure are not limited thereto.

[0058] In addition, in some embodiments, when it is determined that the manual rotation operation meets the starting condition for rotation control in the target direction, the controller of the lock 800 may also control the motor to drive the control component to continue rotating along the target direction, so that the lock 800 can perform the target action in the target direction without continuing the manual rotation operation by the user. That is, when it is determined that the manual rotation operation meets the starting condition for rotation control in the target direction, the controller of the lock 800 may also trigger switching from a state in which the user manually operating the control component of the lock 800 for unlocking or locking, to a state in which the controller of the lock 800 controls the motor to drive the control component of the lock 800 to automatically continue unlocking or locking. For example, when the user manually operates the control component of the lock 800 to rotate in the first direction with the intention of locking, if the controller of the lock 800 determines that the rotation information indicates that the manual rotation operation meets the starting condition for rotation control in the first direction, the controller of the lock 800 not only determines that the triggering of the target action on the lock 800 is detected in the manual rotation operation mode, but also triggers the motor to drive the control component to continue rotating in the first direction, thereby achieving the switching from manual locking by the user to automatic locking. In this way, there is no need for the user to manually rotate the control component for multiple turns, thereby improving the convenience of operation. This avoids the time-consuming, labor-intensive, and inconvenient operation in the related technology that require the user to manually rotate the knob on the lock for multiple turns to make the lock tongue extend / retract.

[0059] In the case of determining, based on the fact whether the rotation angle in the target direction reaches the angle threshold, whether the manual rotation operation meets the starting condition for rotation control, it can facilitate the user to quickly trigger the target action on the lock 800 and also trigger the switching of the lock 800 from manual operation to automatic unlocking or locking. In the case of determining, based on the fact whether the dwell time of the rotation angle meets the time threshold, whether the manual rotation operation meets the starting condition for rotation control, the user can trigger, by focusing the dwell time without paying attention to the rotation angle, the target action on the lock 800 and also the switching of the lock 800 from manual operation to automatic unlocking or locking. By determining that the manual rotation operation meets the starting condition for rotation control only when the rotation angle along the target direction reaches the angle threshold and the dwell time of the rotation angle reaches the time threshold, it can effectively avoid false triggering of the target action on the lock 800 and prevent the controller of the lock 800 from misjudging the user's real needs for switching from manual operation to automatic unlocking or locking.

[0060] By setting the starting condition for rotation control, the user may manually rotate the mechanical knob on the lock 800 by only half a turn or a certain angle in the target direction, and the controller of the lock 800 may determine the triggering of the target action on the lock 800 after detecting the rotation information through the sensor, and then start automatic locking or unlocking. As such, the motor of the lock 800 drives the mechanical knob to automatically continue rotating multiple turns in the target direction, to achieve the locking or unlocking. For example, in the case of unlocking, when the user releases his / her hand after manually rotating the mechanical knob by half a turn or a certain angle in the clockwise direction, the motor may drive the gear and mechanical knob to automatically continue rotating clockwise until they reach the unlocking position. In the case of locking, when the user releases his / her hand after manually rotating the mechanical knob by half a turn or a certain angle in the counterclockwise direction, the motor may drive the gear and mechanical knob to automatically continue rotating counterclockwise until they reach the locking position. As described below, when the microcontroller of the controller controls the mechanical knob to continue rotating, the microcontroller may determine a fourth rotation speed matching the third rotation speed during the manual rotation operation by the user. If the third rotation speed is slow, the locking or unlocking action is continued at a slow fourth rotation speed. If the third rotation speed is fast, the locking or unlocking action is continued at a fast fourth rotation speed. This provides a more convenient and intuitive experience for unlocking or locking, which can meet the operational needs of unlocking or locking in various scenarios, reduce the learning cost of the user in use, and lower the probability of misoperation caused by the traditional technology which requires the user to rotate the knob by multiple turns.

[0061] In some embodiments, the controlling the control component of the lock 800 to perform the target action at the first rotation speed, includes: in the first mode, determining, as the first rotation speed, a fourth rotation speed matching the third rotation speed less than the speed threshold, and controlling, by a controller 810 of the lock 800, a motor 840 of the lock 800 to drive the control component of the lock 800 to continue rotating in the target direction at the first rotation speed, thereby performing the target action. The controlling the control component of the lock 800 to perform the target action at the second rotation speed, includes: in the second mode, determining, as the second rotation speed, a fourth rotation speed matching the third rotation speed being equal to or greater than the speed threshold, and controlling, by the controller 810 of the lock 800, the motor 840 of the lock 800 to drive the control component of the lock 800 to continue rotating in the target direction at the second rotation speed, thereby performing the target action.

[0062] In the case of manually rotating the control component for unlocking / locking, after the third rotation speed during the manual rotation operation is acquired and the control mode of the lock 800 is determined based thereon, the controller of the lock 800 may determine, based on the third rotation speed, a fourth rotation speed matching the third rotation speed in the first mode or the second mock examination as the first rotation speed or the second rotation speed respectively. The controller of the lock 800 may control the control component of the lock 800 to continue rotating in the target direction at the matching fourth rotation speed in the first mode or the second mode. As an example, the value of the fourth rotation speed may be the same or close to the value of the third rotation speed, so that the controller of the lock 800 may control, in the stage of automatic control of the lock 800 for unlocking or locking, the control component to unlock at the same or approximate rotation speed as that in the user's manual operation stage, in order to adapt to the user's sensitivity to the speed or noise in the unlocking or locking. Specifically, if the third rotation speed of the control component during the manual rotation operation is less than the speed threshold, it is determined that the lock 800 is in the first mode, and a relatively slow fourth rotation speed having the same or similar value as the third rotation speed may be used as the first rotation speed in the first mode. If the third rotation speed of the control component during the manual rotation operation is equal to or greater than the speed threshold, it is determined that the lock 800 is in the second mode, and a relatively fast fourth rotation speed having the same or similar value as the third rotation speed may be used as the second rotation speed in the second mode. The controller of the lock 800 may determine the user's need for quietness by acquiring the third rotation speed during the manual rotation operation. If the third rotation speed during the manual rotation operation is slow, it may be considered that the user desires to perform the unlocking or locking action quietly, and electric unlocking or locking is performed at a slow fourth rotation speed. If the third rotation speed during the manual rotation operation is fast, it may be considered that the user desires to perform the unlocking or locking action quickly, and the electric unlocking or locking is performed at a fast fourth rotation speed.

[0063] In some embodiments, the acquiring the third rotation speed of the control component during the manual rotation operation may include: based on the rotation information, acquiring third rotation speeds of the control component at multiple time points during the manual rotation operation, to obtain multiple third rotation speeds. Due to a fact that the speed of the control component manually operated by the user during the manual rotation operation may not be completely uniform, the rotation speed of the control component may be collected at multiple times during the manual rotation operation, thereby obtaining multiple different third rotation speeds of the control component during the manual rotation operation. For example, rotation information containing rotation speed may be acquired through a sensor, and the rotation speed may be collected at a certain time interval (every 10 milliseconds). Each time point at which the rotation speed is collected may be used as a time point, and the controller of the lock 800 may acquire, based on the rotation information, the third rotation speeds of the control component at multiple time points during the manual rotation operation, to accurately calculate the rotation speed of the control component during the manual operation by the user.

[0064] In some embodiments, as shown in FIG. 7, when there are multiple third rotation speeds acquired during the manual rotation operation, the determining the fourth rotation speed matching the third rotation speed includes the following steps S701 to S703.

[0065] S701, multiple rotation speed sub-ranges are obtained, where the multiple rotation speed sub-ranges are obtained by dividing the corresponding rotation speed range of the control component.

[0066] S702, based on the multiple rotation speed sub-ranges and the multiple third rotation speeds, a target sub-range among the multiple rotation speed sub-ranges is obtained, where the target sub-range is a rotation speed sub-range in which the number of its contained third rotation speeds meets a preset condition.

[0067] S703, the fourth rotation speed is determined based on the target sub-range.

[0068] The rotation speed range of the control component may represent a theoretical range of rotation speed of the control component, and the rotation speed range may be divided into multiple rotation speed sub-ranges. Furthermore, in the case where multiple third rotation speeds are acquired, based on the multiple rotation speed sub-ranges and the multiple third rotation speeds, the controller of the lock 800 may determine which rotation speed sub-range each third rotation speed falls into, count the number of third rotation speeds contained in each rotation speed sub-range, and determine, based on the counted numbers, the target sub-range from the multiple rotation speed sub-ranges. The target sub-range refers to a rotation speed sub-range in which the number of the contained third rotation speeds meets a preset condition. As an example, the target sub-range refers to a rotation speed sub-range in which the number of the contained third rotation speeds is the largest. For example, the available rotation speed range of the control component is [0, 200], the rotation speed range is divided into 10 rotation speed sub-ranges, then it is determined which rotation speed sub-range each third rotation speed falls into, and then a rotation speed sub-range having the largest number of third rotation speeds among the 10 sub-ranges is determined as the target sub-range. Afterwards, the fourth rotation speed may be determined based on the target sub-range in multiple ways. As an example, the fourth rotation speed may be obtained by averaging the third rotation speeds contained in the target sub-range, or may also be obtained by averaging a lower limit and an upper limit value of the target sub-range, and the embodiments of the present application are not limited thereto. In this way, it can more accurately exclude abnormal speed data that has a sudden change due to damping, and enable the fourth rotation speed to be close to the user's rotation speed during the manual operation. In addition, it also enables the speed at which the automatic unlocking or locking action is performed to better meet the requirement for quietness, after the manual unlocking or locking action is switched to the automatic unlocking or locking action.

[0069] In some other embodiments, the fourth rotation speed may also be determined by performing a moving average operation, a full-range average operation, low-pass filtering, etc. on the multiple third rotation speeds of the control component obtained during the manual rotation operation. After determining the fourth rotation speed, the controller of the lock 800 may control the motor of the lock 800 to drive the control component to continue rotating in the target direction at the fourth rotation speed.

[0070] In some embodiments, in the case of manually rotating the control component for unlocking or locking, after the rotation information of the control component of the lock 800 rotated in the target direction under the manual rotation operation is acquired, the method further includes: in response to determining, based on the rotation information, that a starting interval of the manual rotation operation is an execution interval of the first action and the target direction is the first direction, or in response to determining, based on the rotation information, that the starting interval of the manual rotation operation is an execution interval of the second action and the target direction is the second direction, determining that the manual rotation operation does not meet the starting condition for rotation control (thereby determining that no triggering of the target action is detected); in response to determining, based on the rotation information, that the starting interval of the rotation is an already-executed interval of the first action and the manual rotation operation continues until the execution interval of the second action is reached, or in response to determining, based on the rotation information, that the starting interval of the manual rotation operation is an already-executed interval of the second action and the manual rotation operation continues until the execution interval of the first action is reached, determining that the manual rotation operation does not meet the starting condition for rotation control (thereby determining that no triggering of the target action is detected).

[0071] Specifically, the starting interval of the manual rotation operation may be determined based on the rotation information, that is, it is determined which interval the control component is located in when the user starts rotating the control component. The starting interval may be an execution interval of the first action such as a locking interval, or may also be an execution interval of the second action such as an unlocking interval. If it is determined, based on the rotation information, that the starting interval of the manual rotation operation is the execution interval of the first action (such as the locking interval) and the target direction is the first direction (such as the locking direction), it shows that the lock 800 has been locked before the manual rotation operation of the user, but the target direction of the manual rotation operation of the user is still the locking direction, the controller may thus determine that the manual rotation operation does not meet the starting condition for rotation control in the first direction (such as the locking direction), and no triggering of the target action is detected. If it is determined, based on the rotation information, that the starting interval of the manual rotation operation is the execution interval of the second action (such as the unlocking interval) and the target direction is the second direction (such as the unlocking direction), it shows that the lock 800 has been unlocked before the manual rotation operation of the user, but the target direction of the manual rotation operation of the user is still the unlocking direction, the controller may determine that the manual rotation operation does not meet the starting condition for rotation control in the second direction (such as the unlocking direction), and no triggering of the target action is detected. The starting interval may also be the already-executed interval of the first action such as an already-locked interval, or may also be the already-executed interval of the second action such as an already-unlocked interval. If it is determined, based on the rotation information, that the starting interval of the manual rotation operation is the already-executed interval of the first action (such as the already-locked interval) and the manual rotation operation continues until the execution interval of the second action (such as the unlocking interval), it shows that the user completely rotates the control component manually to the unlocking interval, and the controller may thus determine that the manual rotation operation does not meet the starting condition for rotation control, and no triggering of the target action is detected. If it is determined, based on the rotation information, that the starting interval of the manual rotation operation is the already-executed interval of the second action (such as the already-unlocked interval) and the manual rotation operation continues until the execution interval of the first action (such as the locking interval) is reached, in this case, it shows that the user completely rotates the control component manually to the locking interval, and no triggering of the target action is detected.

[0072] In some embodiments, before the controller of the lock 800 controls the motor of the lock 800 to drive the control component to continue rotating in the target direction at the fourth rotation speed, the method may further include the following steps: in response to detecting, based on the rotation information, a change in the target direction, re-determining the starting interval and the target direction of the manual rotation operation based on the rotation information. The controller may determine, based on the rotation information, in real-time whether the target direction is changed, thereby accurately determining whether the starting condition for rotation control is met. If the controller determines, based on the rotation information, that the target direction is changed, the controller re-determines the starting interval and the target direction of the manual rotation operation based on the rotation information. The controller may re-determine, based on the rotation information, whether the target direction is the first direction or the second direction, and may re-determine the starting interval of the manual rotation operation based on an interval in which the control component is located when the target direction is changed. For the detection of whether the target direction is changed, as an example, the controller may determine, based on the change of the positive and negative polarities of the rotation angle data collected by the sensor, whether the target direction is changed.

[0073] In an exemplary embodiment, as shown in FIG. 8, the present disclosure also provides the lock 800, which may include a controller 810, a mechanical knob (control component) 830, a sensor 820, a motor 840, and a keyboard 850. The sensor 820, the keyboard 850, and the motor 840 are all connected with the controller 810, and the mechanical knob 830 is connected with the controller 810 through the motor 840. The keyboard 850 is provided with keys for user operation. The mechanical knob 830 may be manually rotated by the user, and may also be rotated under the driving by the motor 840.

[0074] The controller 810 may be used to implement the control functions described above, and reference may be made to the detailed description above, which will not be repeated here.

[0075] As shown in FIG. 8, in an exemplary embodiment, the sensor 820 may include a speed sensor 821 and an angle sensor 822. The angle sensor 822 may be a grating encoder, a magnetic encoder, a gyroscope, a gravity acceleration sensor, etc., and the speed sensor 821 may be a gyroscope, etc. The controller 810 may include a microcontroller 811 and a control module 812. The speed sensor 821 and the angle sensor 822 may be connected with the microcontroller 811 through a communication interface. The speed sensor 821 and the angle sensor 822 may be used to collect the rotation information such as the rotation angle and the rotation speed of the mechanical knob 830. The microcontroller 811 may acquire the rotation information, such as the rotation angle and the rotation speed, of the mechanical knob 830 collected by the speed sensor 821 and the angle sensor 822, and send a corresponding control instruction to the control module 812 based on the rotation information. The control module 812 may be used to control the motor 840, and based on the control instruction sent by the microcontroller 811, the control module 812 may control the motor 840 to drive the mechanical knob 830 to rotate.

[0076] The rotation data of the mechanical knob 830 may be transmitted to the controller 810 through the angle sensor 822 and the speed sensor 821. The controller 810 may determine, based on data of the rotation angle collected by the angle sensor 822 (the positive or negative value of the rotation angle), the change of the rotation angle of the mechanical knob 830, and determine whether the starting condition for rotation control is met. The microcontroller 811 may acquire the third rotation speed (which may be fast or slow) of the mechanical knob 830 during the manual rotation operation, thereby determining the fourth rotation speed (which is correspondingly fast or slow) for the subsequent automatic control stage. Then, based on the target direction and the fourth rotation speed, the microcontroller 811 sends a corresponding control instruction to the control module 812. Based on the control instruction, the control module 812 drives the motor 840 to rotate. The motor 840 is connected with the mechanical knob 830 through a gearbox mechanism to achieve unlocking or locking. Then, the rotation information of the mechanical knob 830 may be fed back to the microcontroller 811 by the angle sensor 822 and the speed sensor 821. The microcontroller 811 may implement closed-loop control by analyzing the data collected by the angle sensor 822 and the speed sensor 821, and accurately control the motor 840 in real time to drive the mechanical knob 830 to rotate at the first or second rotation speed, so as to perform the unlocking or locking action on the lock 800.

[0077] As shown in FIG. 9, the keyboard 850 of the lock 800 is illustrated. The keyboard 850 is connected with the control module 812. The keyboard 850 may include multiple keys. Twelve keys may be provided above a fingerprint recognition module of the lock 800, ten of the twelve keys represent 0 to 9 respectively and they may be used to input passwords for unlocking. The remaining two keys may be the first key and the second key. The first key may be the confirm key, and the second key may be the lock key. The confirm key may be used as the specified key. In the embodiments, the first operation may be a single-click operation. The controller 810 may acquire the start command for the first mode based on the user's single-click operation performed on the confirmation key of the keyboard 850. Based on the start command for the first mode, the lock 800 is set to be in the first mode, that is, the user may single-click the confirmation key of the keyboard 850 to make the lock 800 enter the first mode (the quiet mode). If the triggering of the target action on the lock 800 is detected, for example, when a specific fingerprint, passwords, NFC or other ways is used for unlocking, the controller 810 may first determine whether the lock 800 is still in the first mode (the quiet mode). If the lock 800 is still in the first mode, the controller 810 may control the control component (knob) of the lock 800 to perform the unlocking action at the first rotation speed, thereby performing the unlocking action quietly. If the lock 800 is switched from being in the first mode to being in the second mode, the controller 810 may control the control component (knob) of the lock 800 to perform the unlocking action at the second rotation speed, which enables quick unlocking for the user.

[0078] In an exemplary embodiment, the controller 810 may also be used to set the lock 800 to be in the second mode in response to the second operation triggered on the first key (such as a further single-click operation triggered on the first key), when the failure condition of the first mode is not met.

[0079] In the embodiments, when the first mode is not invalid, if the user needs to make the lock 800 exit the first mode, the second operation may be triggered on the first key, for example, the confirmation key of the keyboard 850 is single-clicked again or long pressed. In this way, the lock 800 exits the first mode, and the lock 800 is set to be in the second mode. The solution of the embodiments allows the user to switch the lock 800 from being in the first mode to being in the second mode by performing different operations on the first key, which enables the switching between the first and second modes by reusing the first key without providing additional keys.

[0080] In an exemplary embodiment, the controller 810 may also be used to directly control the control component to perform the target action at the first rotation speed, in response to a third operation triggered on the second key of the keyboard 850.

[0081] In the embodiments, the second key may be the lock key (lock button). The solution of the embodiments may enable quiet locking under one-key trigger. The third operation may be a long press operation, that is, the user may long press the lock key on the keyboard 850, and based thereon, the controller 810 may directly control the control component to perform the locking action at the first rotation speed, thereby achieving the effect of quiet locking under one-key trigger.

[0082] In an exemplary embodiment, in combination with the lock 800 shown in FIG. 8 and the keyboard 850 shown in FIG. 9, a control method for the lock 800 is provided, as shown in FIG. 10. The lock 800 may be in the first mode or the second mode, where the first mode may be the quiet mode and the second mode may be the normal mode. In the quiet mode, the transmission component inside the lock 800 may enable the unlocking or locking action to be performed at a relatively slow first rotation speed. In the normal mode, the transmission component inside the lock 800 may enable the unlocking or locking action to be performed at a relatively fast second rotation speed. When the lock 800 is in the normal mode, the user may activate the quiet mode by single-clicking the confirm key on the keyboard 850, and the controller 810 switches the lock 800 from being in the normal mode to being in the quiet mode. When the lock 800 is in the quiet mode, if the user requests verification by using a credential, such as fingerprint, passwords, or NFC, and the verification is successful, the controller 810 may control the knob of the lock 800 to perform the unlocking action quietly. When the lock 800 is in the quiet mode, if the user clicks the lock key on the lock 800, the controller 810 may control the knob of the lock 800 to perform the locking action quietly. The end condition (failure condition) of the quiet mode of the lock 800 may be set, for example, the end condition may be that the quiet mode is exited after one locking or unlocking action is performed. As such, after the lock 800 performs the aforementioned unlocking or locking quietly, the normal mode is activated, and the controller 810 switches the lock 800 from being in the quiet mode to being in the normal mode. In addition, when the lock 800 is in the quiet mode, if the confirm key on the keyboard 850 is single-clicked or long pressed, the lock 800 would also be switched from being in the quiet mode to being in the normal mode. When the lock 800 is in the normal mode, the user may long press the lock key so that the controller 810 controls the knob of the lock 800 to perform the locking action quietly, thereby allowing the user to perform quiet locking under one-key trigger when the lock 800 is in the normal mode.

[0083] Therefore, the embodiments can enable the lock 800 to perform the unlocking or locking action at different rotation speeds in different control modes. In the solutions of the present disclosure, the lock 800 may have the quiet mode and the normal mode, which can meet different application scenarios and usage requirements. The low-speed (quiet) unlocking or locking can be achieved by precisely controlling the speed of the motor 840, thereby achieving low-noise operation. As such, the noise generated by the lock 800 during the unlocking or locking process is extremely low, which can meet the user's demand in specific scenarios for reducing the noise of the lock 800 generated during the unlocking or locking, and create a quiet living environment for the user.

[0084] Overall, if the start command for the quiet mode is received before unlocking, the lock 800 may perform the unlocking action in the quiet mode. If no start command for the quiet mode is received before unlocking, the lock 800 may perform the unlocking action in the normal mode. For the lock 800, two keys on the outdoor keyboard 850 of the door lock may be used as start keys for the quiet mode. One of the two keys may be long pressed to make the lock 800 enter the quiet mode, and the other one of the two keys may be short pressed to make the lock 800 enter the quiet mode, and so on. The keyboard 850 of the lock 800 shown in FIG. 7 may be an outdoor keyboard 850 of a smart door lock, which may be unlocked using various ways such as fingerprint, passwords, and NFC. The outdoor keyboard 850 of the lock may have multiple keys. Twelve keys may be provided above a fingerprint recognition module of the lock 800, ten of the twelve keys represent 0 to 9 respectively and they may be used to input passwords for unlocking. The remaining two keys may be the confirm key and the lock key. The confirm key may be used as the specified key. Based on this, the quiet mode may be activated by long pressing the lock key or short pressing / single-clicking the specified key, and the door lock may be switched from being in the normal mode to being in the quiet mode. After the quiet mode is activated (for one or more operations or within a period of time), if any unlocking method, such as fingerprint unlocking, password unlocking, or NFC induction unlocking, is used for unlocking, the unlocking operation may be performed quietly. For the deactivation of the quiet mode, it may set to end the quiet mode after one locking or unlocking action is performed. In addition, it can also set that the quiet mode is available for multiple locking or unlocking operations, in this case, the user may end the quiet mode by long pressing or single-clicking the specified key. In the quiet mode, it may also set that the quiet mode automatically ends upon expiration of a time period.

[0085] In the use of the lock 800, for the unlocking, the user may use fingerprint, passwords, NFC and other credentials for verification. If the verification is successful, the controller of the lock 800 may determine the current control mode. If the control mode is the quiet mode, the unlocking action is performed at a low speed; and if the control mode is the normal mode, the unlocking action is performed at a normal speed. For the locking, the users may single-click the lock key for locking, and the controller of the lock 800 may determine the current control mode. If the control mode is the quiet mode, the locking action is performed at a low speed; and if the control mode is the normal mode, the locking action is performed at a normal speed. In addition, the user may also make the lock 800 perform the locking action at a low speed on, by long pressing the lock key.

[0086] In addition to activating the quiet mode by performing an operation on the keys of the lock 800, the quiet mode may also activated / deactivated by setting on the configuration page (referring to FIG. 5) displayed by the application of the terminal (user terminal) for configuring the first mode of the lock 800. An option of enabling / disenabling the quiet unlocking / locking may be configured on the configuration page. After the user enables the quiet unlocking / locking on the configuration page, the terminal (user terminal) may send the configuration information to the controller of the lock 800 through cloud, Bluetooth, WIFI and other communication methods, and the controller may control the door lock to activate the quiet mode after receiving the configuration information. After the quiet mode is activated, the unlocking or locking actions are all performed for the user in the quiet mode. After the quiet mode is activated, the voltage for the gearbox may be reduced, thereby reducing the operating speed of the knob during each unlocking or locking, and making a light sound generated during the unlocking or locking. In the configuration page of the terminal (user terminal) for configuring the first mode of the lock 800, the user may also customize the valid time of the quiet mode. The application may set that the quiet mode is valid from time A to time B, and the user may also set other times.

[0087] The embodiments can enable low-noise operation by precisely controlling the speed of the motor 840, which can be applied to smart door locks to provide the user with a quiet and comfortable living environment, while ensuring the safety of homes and workplaces. The control over the motor 840 for producing a low noise also facilitates reduction of energy consumption.

[0088] It should be understood that, although the various steps in the flowcharts involved in the embodiments described above are displayed in the order indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order limit for performing these steps, and they may be performed in other orders. Moreover, at least some of the steps in the flowcharts involved in the embodiments described above may include multiple steps or stages, which are not necessarily completed at a same time, but may be performed at different times. The order of performing these steps or stages is not necessarily sequential, but may be performed in turn or alternated with other steps or at least a part of steps or stages in other steps.

[0089] In an exemplary embodiment, an electronic device is provided, which may be a terminal or a smart door lock, and its internal structure block diagram is shown in FIG. 11. The electronic device may include a processor, a memory, an input / output interface, a communication interface, and input means. The processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, a display unit, and the input means are connected with the system bus through the input / output interface. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. This internal storage provides an environment for the operation of the operating systems and the computer programs in the non-volatile storage medium. The input / output interface of this electronic device is used for information exchange between the processor and external devices. The communication interface of this electronic device is used for wired or wireless communication with external terminals. The wireless communication may be achieved through WIFI, mobile cellular network, Near Field Communication (NFC), or other technologies. The computer program, when being executed by the processor, causes the lock control method or the lock information configuration method to be implemented. The input means of the electronic device may be a touch layer covered on the display screen, or may also be keys, a trackball or a touchpad provided on the casing of the electronic device, or may also be an external keyboard, touchpad or mouse.

[0090] Those skilled in the art can understand that the structure shown in FIG. 11 is only a partial structure related to the present disclosure, and it does not constitute a limitation on the electronic devices to which the present disclosure is applied. Specific electronic device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0091] In an embodiment, an electronic device is further provided, which includes a memory and a processor, wherein the memory stores a computer program therein, and when the processor executes the computer program, the steps of the above method embodiments are executed. In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored. The computer program, when being executed by a processor, causes the steps of the above method embodiments to be implemented.

[0092] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in present disclosure are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data comply with relevant regulations.

[0093] Those of ordinary skill in the art can understand that, all or part of the processes in the above embodiments may be implemented by instructing relevant hardware through a computer program. The computer program may be stored in a non-volatile computer-readable storage medium, and when the computer program executed, the processes of the embodiments of the above methods are implemented. Any referenced memory, database, or other media used in the embodiments provided in present disclosure may include at least one of non-volatile memory and volatile memory. The non-volatile memory may include Read Only Memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, Resistive Random Access Memory (ReRAM), Magnetoresistive Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene memory, etc. The volatile memory may include Random Access Memory (RAM) or external cache memory. As an illustration and not a limitation, RAM may take various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The database involved in the various embodiments provided in present disclosure may include at least one of relational databases and non-relational databases. The non-relational database may include a distributed database based on blockchain, but is not limited thereto. The processor involved in the various embodiments provided in present disclosure may be general-purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing based data processing logic units, Artificial Intelligence (AI) processors, etc., but it is not limited thereto.

[0094] The various technical features of the above embodiments may be combined arbitrarily. In order to make the description concise, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered within the scope of the present disclosure.

[0095] The above embodiments only express several embodiments of the present application, and their descriptions are specific and detailed, but should not be understood as limiting the scope of the present disclosure. It should be noted that, for those of ordinary skill in the art, several modifications and improvements may be made without departing from the concept of present disclosure, which all fall within the scope of protection of present disclosure. Therefore, the scope of protection of the present disclosure should be subject to the attached claims.

Claims

1. A lock control method, comprising: in response to detecting triggering of a target action on a lock (800), determining (S201) a current control mode of the lock (800); in response to the current control mode being a first mode, controlling (S202) a control component (830) of the lock (800) to perform the target action at a first rotation speed; and in response to the current control mode being a second mode, controlling (S203) the control component (830) to perform the target action at a second rotation speed, wherein the first rotation speed is lower than the second rotation speed.

2. The lock control method as claimed in claim 1, wherein in a case where the target action is not triggered by manually rotating the control component (830), before determining (S201) the current control mode of the lock (800) in response to detecting the triggering of the target action on the lock (800), the method further comprises: acquiring (S301) a start command for the first mode; and setting (S302), based on the start command for the first mode, a control mode of the lock (800) as the first mode; wherein the acquiring the start command for the first mode, comprises: acquiring the start command for the first mode, based on a first operation triggered on a first object of the lock (800); or acquiring the start command for the first mode, based on configuration information of the first mode received from a terminal connected with the lock (800).

3. The lock control method as claimed in claim 2, wherein after setting, based on the start command for the first mode, the control mode of the lock (800) as the first mode, the method further comprises: when a failure condition of the first mode is not met, in response to a second operation triggered on the first object or in response to a close command for the first mode received from the terminal, setting the control mode of the lock (800) as the second mode; and in response to the failure condition of the first mode being met, setting the control mode of the lock (800) as the second mode; wherein the failure condition comprises a time condition and / or a condition about number of times.

4. The lock control method as claimed in claim 3, further comprising: determining the failure condition of the first mode, based on the configuration information of the first mode received from the terminal; or acquiring a pre-configured failure condition of the first mode.

5. The lock control method as claimed in claim 2, wherein the detecting the triggering of the target action of the lock (800), comprises: in response to detecting a third operation triggered on a second object of the lock (800), determining that the triggering of the target action is detected; and the determining the current control mode of the lock (800) comprises: determining, based on the third operation on the second object, the current control mode of the lock (800) as the first mode.

6. The lock control method as claimed in claim 5, wherein after the controlling the control component (830) of the lock (800) to perform the target action at the first rotation speed, the lock control method further comprises: setting the control mode of the lock (800) as the second mode.

7. The lock control method as claimed in any one of claims 2 to 6, wherein before the controlling the control component (830) of the lock (800) to perform the target action at the first rotation speed, the lock control method further comprises: determining the first rotation speed, based on a lower limit of a rotation speed range of the control component (830); and / or, before the controlling the control component (830) to perform the target action at the second rotation speed, the lock control method further comprises: determining the second rotation speed, based on an upper limit of the rotation speed range of the control component (830).

8. The lock control method as claimed in any one of claims 2 to 6, further comprising: receiving the configuration information of the first mode acquired by the terminal on a configuration page, wherein the configuration page is configured to be displayed by the terminal for configuring the first mode of the lock (800).

9. The lock control method as claimed in claim 1, wherein in a case where the target action is triggered by manually rotating the control component (830), the detecting the triggering of the target action on the lock (800), comprises: determining (S601) that the triggering of the target action on the lock (800) is detected, in response to detecting that rotation information of the control component (830) of the lock (800) rotated in a target direction under a manual rotation operation indicates that the manual rotation operation meets a starting condition for rotation control in the target direction.

10. The lock control method as claimed in claim 9, wherein the detecting that the rotation information of the control component (830) of the lock (800) rotated in the target direction under the manual rotation operation indicates that the manual rotation operation meets the starting condition for rotation control in the target direction, comprises: in response to a rotation angle of the control component (830) of the lock (800) in the target direction reaches an angle threshold, and / or, in response to a dwell time of the rotation angle reaches a time threshold, determining that the rotation information indicates that the manual rotation operation meets the starting condition for rotation control in the target direction.

11. The lock control method as claimed in claim 9 or 10, further comprising: acquiring a third rotation speed of the control component (830) of the lock (800) at which the control component (830) is rotated in the target direction under the manual rotation operation; wherein the determining the current control mode of the lock (800), comprises: in response to the third rotation speed of the control component (830) during the manual rotation operation being less than a speed threshold, determining (S602) the current control mode of the lock (800) as the first mode; and in response to the third rotation speed of the control component (830) during the manual rotation operation being equal to or greater than the speed threshold, determining (S603) the current control mode of the lock (800) as the second mode.

12. The lock control method as claimed in any one of claims 9 to 11, wherein the controlling the control component (830) of the lock (800) to perform the target action at the first rotation speed, comprises: in the first mode, determining, as the first rotation speed, a fourth rotation speed matching the third rotation speed less than the speed threshold, and controlling, by a controller (810) of the lock (800), a motor (840) of the lock (800) to drive the control component (830) to continue rotating in the target direction at the first rotation speed, thereby performing the target action; and the controlling the control component (830) of the lock (800) to perform the target action at the second rotation speed, comprises: in the second mode, determining, as the second rotation speed, a fourth rotation speed matching the third rotation speed equal to or greater than the speed threshold, and controlling, by the controller (810) of the lock (800), the motor (840) to drive the control component (830) to continue rotating in the target direction at the second rotation speed, thereby performing the target action.

13. The lock control method as claimed in claim 9, wherein the target direction comprises a first direction and a second direction, the target action comprises a first action corresponding to the first direction and a second action corresponding to the second direction, and the lock control method further comprises: in response to determining, based on the rotation information, that a starting interval of the manual rotation operation is an execution interval of the first action and that the target direction is the first direction, or, in response to determining, based on the rotation information, that the starting interval of the manual rotation operation is an execution interval of the second action and the target direction is the second direction, determining that the manual rotation operation does not meet the starting condition for rotation control in the target direction; and in response to determining, based on the rotation information, that the starting interval of the manual rotation operation is an already-executed interval of the first action and the manual rotation operation continues until the execution interval of the second action is reached, or in response to determining, based on the rotation information, that the starting interval of the manual rotation operation is an already-executed interval of the second action and the manual rotation operation continues until the execution interval of the first action is reached, determining that the manual rotation operation does not meet the starting condition for rotation control in the target direction.

14. A lock (800), comprising: a controller (810), a control component (830), a motor (840), and a keyboard (850); wherein the keyboard (850) and the motor (840) are both connected with the controller (810), and the control component (810) is connected with the motor (840); the keyboard (850) is provided with keys for user operation; the control component (830) is capable of being manually rotated by a user and being rotated under driving by the motor (840); and the controller (810) is configured to perform the method as claimed in any one of claims 1 to 13.

15. A computer-readable storage medium having a computer program stored therein, wherein the computer program, when being executed by a processor, cause the method as claimed in any one of claims 1 to 13 to be implemented.

Citation Information

Patent Citations

  • Lockset, lock control method, control device and readable storage medium

    CN111395877A

  • Door lock drive device

    EP3150784A1

  • Barrier operator mechanical transmission assembly

    US20180216388A1