Control method and device of smart door lock, smart door lock, electronic device and medium
By placing sensors on the left and right sides of the smart door lock to identify the unlocking direction and trigger the anti-pinch operation, the risk of pinching fingers in symmetrical handle designs is solved, improving the user experience and reducing production costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2024-11-28
- Publication Date
- 2026-05-29
AI Technical Summary
Existing smart door locks with symmetrical handle designs pose a risk of pinching fingers when opening and closing the door. While installing additional baffles can reduce the risk, it affects the aesthetics and is not entirely effective.
By setting multiple sensors on the left and right sides of the smart door lock, objects are identified to determine the current unlocking direction. When the current unlocking direction is the same as the preset unlocking direction, an anti-pinch operation is triggered, including prompt information and adjustment of the unlocking direction.
It effectively avoids the risk of pinching fingers without installing accessories, improves user experience, and reduces production costs.
Smart Images

Figure CN122116508A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of smart door lock technology, and in particular to a control method, device, smart door lock, electronic device and medium for a smart door lock. Background Technology
[0002] Currently, smart locks with symmetrical handles pose a risk of pinching fingers when opening and closing the door. To address this issue, some manufacturers install additional baffles after the smart lock is installed to reduce the risk. However, installing baffles and other accessories to prevent pinching fingers makes the smart lock less aesthetically pleasing and does not completely eliminate the risk. Summary of the Invention
[0003] To overcome the problems existing in related technologies, this disclosure provides a control method, device, smart lock, electronic device, and medium for a smart door lock.
[0004] According to a first aspect of the present disclosure, a control method for a smart door lock is provided, comprising:
[0005] Determine the current unlocking direction of the target object; the current unlocking direction is used to characterize the direction of the target object's hand relative to the smart lock when the target object's hand unlocks the smart lock;
[0006] When the current unlocking direction is the same as the preset unlocking direction, an anti-pinch operation is triggered; wherein, the preset unlocking direction is used to indicate that there is a risk of pinching when unlocking the smart door lock from the preset unlocking direction.
[0007] In some embodiments, the smart lock has multiple sensors symmetrically arranged on its left and right sides for identifying objects, and determining the current unlocking direction of the target object includes:
[0008] Identify the target sensor among the plurality of sensors that detected the object;
[0009] The current unlocking direction is determined based on the target position of the target sensor.
[0010] In some embodiments, determining the current unlocking direction based on the target position of the target sensor includes:
[0011] When the target position indicates that the target sensor is located on the left side of the smart lock, the current unlocking direction is determined to be the left side of the smart lock; or,
[0012] When the target position indicates that the target sensor is located on the right side of the smart lock, the current unlocking direction is determined to be the right side of the smart lock.
[0013] In some embodiments, triggering the anti-pinch operation when the current unlocking direction is the same as the preset unlocking direction includes:
[0014] If the current unlocking direction is the same as the preset unlocking direction, the locked state is maintained and a prompt message is issued; the prompt message is used to prompt the target object to unlock in the opposite direction of the current unlocking direction.
[0015] In some embodiments, issuing the prompt message includes:
[0016] Play the aforementioned prompt message; and / or,
[0017] The aforementioned prompt message will be displayed.
[0018] In some embodiments, the method further includes:
[0019] If the current unlocking direction is different from the preset unlocking direction, the unlocking operation is performed.
[0020] In some embodiments, the method for obtaining the preset unlock direction includes:
[0021] Receive location information sent by an electronic device; the location information is used to characterize the relative positional relationship between the smart lock and the door frame of the door on which the smart lock is installed;
[0022] Based on the location information, the preset unlocking direction is determined.
[0023] In some embodiments, determining the preset unlocking direction based on the location information includes:
[0024] When the location information indicates that the door frame is located to the left of the smart door lock, the preset unlocking direction is determined to be to the left of the smart door lock;
[0025] When the location information indicates that the door frame is located on the right side of the smart door lock, the preset unlocking direction is determined to be the right side of the smart door lock.
[0026] According to a second aspect of the present disclosure, a control method for a smart door lock is provided, comprising:
[0027] In the settings interface of the smart lock, position information is set; the position information is used to characterize the relative positional relationship between the smart lock and the door frame of the door on which the smart lock is installed;
[0028] The location information is sent to the smart lock so that the smart lock determines a preset unlocking direction based on the location information, and triggers an anti-pinch operation when the current unlocking direction is the same as the preset unlocking direction; the preset unlocking direction is used to indicate that there is a risk of pinching when unlocking the smart lock from the preset unlocking direction, and the current unlocking direction is used to indicate the direction of the target object's hand relative to the smart lock when the target object's hand unlocks the smart lock.
[0029] According to a third aspect of the present disclosure, a control device for a smart door lock is provided, comprising:
[0030] The determining module is configured to determine the current unlocking direction of the target object; the current unlocking direction is used to characterize the direction of the target object's hand relative to the smart lock when the target object's hand unlocks the smart lock;
[0031] The first processing module is configured to trigger an anti-pinch operation when the current unlocking direction is the same as the preset unlocking direction; wherein, the preset unlocking direction is used to indicate that there is a risk of pinching when unlocking the smart door lock from the preset unlocking direction.
[0032] According to a fourth aspect of the present disclosure, a control device for a smart door lock is provided, comprising:
[0033] The second processing module is configured to set position information in the settings interface of the smart lock; the position information is used to characterize the relative positional relationship between the smart lock and the door frame of the door on which the smart lock is installed.
[0034] The sending module is configured to send the positional relationship to the smart lock so that the smart lock determines a preset unlocking direction based on the positional relationship, and triggers an anti-pinch operation when the current unlocking direction is the same as the preset unlocking direction; the preset unlocking direction is used to indicate that there is a risk of pinching when unlocking the smart lock from the preset unlocking direction, and the current unlocking direction is used to indicate the direction of the target object's hand relative to the smart lock when the target object's hand unlocks the smart lock.
[0035] According to a fifth aspect of the present disclosure, a smart door lock is provided, comprising:
[0036] processor;
[0037] Memory used to store processor-executable instructions;
[0038] The processor is configured to execute the control method for the smart lock as described in the first aspect of this disclosure.
[0039] According to a sixth aspect of the present disclosure, an electronic device is provided, comprising:
[0040] processor;
[0041] Memory used to store processor-executable instructions;
[0042] The processor is configured to execute the control method for the smart door lock as described in the second aspect of this disclosure.
[0043] According to a seventh aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, which, when instructions in the storage medium are executed by a processor of a smart lock, enables the smart lock to perform the control method of the smart lock as described in the first aspect of the present disclosure.
[0044] According to an eighth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, which, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform a control method for a smart lock as described in a second aspect of the present disclosure.
[0045] The method described above has the following advantages: When it is determined that there is a risk of pinching fingers in the current unlocking direction, the method can trigger an anti-pinch operation to effectively avoid the risk of pinching fingers without installing accessories, thereby improving the user experience.
[0046] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0047] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0048] Figure 1 This is a schematic diagram of a semi-handle smart door lock according to an exemplary embodiment.
[0049] Figure 2 This is a schematic diagram of a full-handle smart door lock according to an exemplary embodiment.
[0050] Figure 3 This is a flowchart illustrating a control method for a smart door lock according to an exemplary embodiment.
[0051] Figure 4 This is a schematic diagram illustrating the setup of a sensor according to an exemplary embodiment.
[0052] Figure 5 This is a schematic diagram illustrating the setup of a sensor according to an exemplary embodiment.
[0053] Figure 6 This is a flowchart illustrating a control method for a smart door lock according to an exemplary embodiment.
[0054] Figure 7 This is a flowchart illustrating a control method for a smart door lock according to an exemplary embodiment.
[0055] Figure 8 This is a schematic diagram illustrating a setup process according to an exemplary embodiment.
[0056] Figure 9 This is a schematic diagram illustrating an application scenario according to an exemplary embodiment.
[0057] Figure 10 This is a flowchart illustrating an interaction method between a smart lock and an electronic device according to an exemplary embodiment.
[0058] Figure 11 This is a block diagram illustrating a control device for a smart door lock according to an exemplary embodiment.
[0059] Figure 12 This is a block diagram illustrating a control device for a smart door lock according to an exemplary embodiment.
[0060] Figure 13 This is a block diagram of an electronic device according to an exemplary embodiment. Detailed Implementation
[0061] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0062] Currently, there are various types of smart locks on the market, such as those with asymmetrical handles and those with symmetrical handles. Symmetrical handle smart locks include half-handle and full-handle designs. Symmetrical handles solve the problem of switching between left and right directions, increasing the application scenarios for smart locks. However, they also pose a risk of pinching fingers when opening and closing the door. To address this issue, some manufacturers install additional baffles after the smart lock is installed to reduce the risk of pinching fingers. However, installing baffles and other accessories to prevent pinching fingers makes the smart lock less aesthetically pleasing and does not completely eliminate the risk.
[0063] To address the aforementioned issues, this disclosure provides a control method for a smart door lock. This method allows for the acquisition of a preset unlocking direction, which indicates a risk of pinching a hand when unlocking the smart door lock from that direction. The method then determines the current unlocking direction of the target object, representing the direction of the target object's hand relative to the smart door lock when unlocking. When the current unlocking direction matches the preset unlocking direction, an anti-pinch operation is triggered. This method can trigger an anti-pinch operation when a risk of pinching is determined to exist in the current unlocking direction, effectively avoiding the risk of pinching without the need for additional accessories, thereby improving the user experience.
[0064] The control method for a smart lock provided in this embodiment is executed by the smart lock, and the smart lock can... Figure 1 The diagram shown illustrates a semi-handle smart door lock, which can also be used as... Figure 2 The diagram shown is of a full-handle smart door lock. Figure 1 and Figure 2 The half-handle and full-handle smart locks shown feature symmetrical handle designs. Furthermore, smart locks can communicate with electronic devices, meaning they can exchange information; for example, the smart lock can send signals to or receive signals from the electronic device.
[0065] Furthermore, it should be noted that to address the risk of pinching fingers associated with symmetrical handle designs, some manufacturers employ asymmetrical handle designs, thereby reducing this risk when opening and closing doors. However, manufacturing asymmetrical handles requires more materials, thus increasing the production cost of smart locks with asymmetrical handles. Therefore, the smart lock in this embodiment features a symmetrical handle design, effectively mitigating the risk of pinching fingers while reducing manufacturing costs.
[0066] Figure 3 This is a flowchart illustrating a control method for a smart lock according to an exemplary embodiment, executed by the smart lock, which is a smart lock with a symmetrical handle design. See also... Figure 3 The method includes the following steps:
[0067] Step S301: Determine the current unlocking direction of the target object; the current unlocking direction is used to represent the direction of the target object's hand relative to the smart lock when the target object's hand unlocks the smart lock.
[0068] In some embodiments, multiple sensors for object recognition are symmetrically arranged on the left and right sides of the smart lock. The smart lock can determine the current unlocking direction based on these multiple sensors. It should be noted that the positions and numbers of the sensors on the left and right sides of the smart lock are the same, and the positions and numbers of the sensors can be set based on the length of the smart lock handle and the recognition range of a single sensor. In one example, when the smart lock handle is long, more sensors can be used to ensure accurate determination of the current unlocking direction. In another example, when the recognition range of a single sensor is small, more sensors can be used to increase the recognition range of the multiple sensors.
[0069] like Figure 4 The diagram shows a sensor setup. For a half-handle smart door lock, a set of sensors can be installed on the left and right sides of the smart door lock. Figure 4 The area formed by the two dashed lines on the sensor represents the sensor's recognition range. For example, as... Figure 5 The diagram shows a sensor setup. For a full-handle smart lock, where the handle length is greater than that of a half-handle smart lock, two sensors can be installed on the left and right sides of the smart lock respectively. Figure 5 The area formed by the two dashed lines of a single sensor in the image represents the sensor's recognition range.
[0070] Optionally, the sensor may include an infrared sensor. The infrared sensor may include a transmitter and a receiver. The transmitter emits infrared radiation, which is reflected when it encounters an object. The receiver detects the reflected infrared radiation, thereby identifying the object.
[0071] In some embodiments, a target sensor among multiple sensors that identifies the object can be determined, and the current unlocking direction can be determined based on the target sensor's target position. When the sensor is an infrared sensor, the target sensor that identifies the object can be the sensor whose receiver receives the reflected signal among the multiple sensors. Additionally, it should be noted that the target sensor can be at least one sensor. For example, refer to... Figure 5 The diagram shows the location of a sensor. When a user unlocks the smart lock from the left side, both sensors located on the left side of the smart lock may receive reflected signals. In this case, these two sensors can be identified as target sensors.
[0072] The target position of the target sensor refers to its position relative to the smart lock. It's important to note that the target sensor's position relative to the smart lock is the same as the position of an object relative to the smart lock. Accordingly, the object's position can be determined based on the target position, thus determining the current unlocking direction. Optionally, when the target position indicates that the target sensor is located on the left side of the smart lock, the current unlocking direction is determined to be to the left of the smart lock; when the target position indicates that the target sensor is located on the right side of the smart lock, the current unlocking direction is determined to be to the right of the smart lock. For example, if the smart lock has infrared sensors 1 and 2 on the left side and infrared sensors 3 and 4 on the right side, when the smart device detects that infrared sensor 2 has received a reflected signal, infrared sensor 2 can be identified as the target sensor, and based on the target position of infrared sensor 2, the current unlocking direction can be determined to be to the left of the smart lock.
[0073] Additionally, it should be noted that the sensor can be a low-power sensor, which can trigger the anti-pinch operation with low power consumption, thereby achieving the purpose of preventing finger pinching and protecting the user's hand.
[0074] Step S302: If the current unlocking direction is the same as the preset unlocking direction, trigger the anti-pinch operation; wherein, the preset unlocking direction is used to indicate that there is a risk of pinching when unlocking the smart door lock from the preset unlocking direction.
[0075] Smart locks can communicate and connect with electronic devices to enable interaction. These connections can be made via Bluetooth or wireless networks, such as WiFi (Wireless Fidelity). Correspondingly, to enhance convenience, security, and intelligent management, corresponding applications are installed in the electronic devices. Users can then control the smart lock through these applications, such as remotely unlocking the door, checking the arrival and departure times of family members, and retrieving entry records, thus improving convenience. Alternatively, the application can provide lock / unlock records, reminders, and alarms to enhance security. Furthermore, the application can manage access permissions, such as adding or deleting users from the unlocking list and setting temporary passwords, enabling intelligent management of the smart lock.
[0076] In some embodiments, users set a preset unlocking direction in the application corresponding to the smart lock, i.e., in the electronic device. The electronic device can obtain the preset unlocking direction and send it to the smart lock. For example, if the door frame where the smart lock is installed is on the left side of the smart lock, there is a risk of pinching a user's hand if the user unlocks the smart lock from the left side. In this case, the electronic device can set the left side of the smart lock as the preset unlocking direction. Similarly, if the door frame where the smart lock is installed is on the right side of the smart lock, there is a risk of pinching a user's hand if the user unlocks the smart lock from the right side. In this case, the electronic device can set the right side of the smart lock as the preset unlocking direction.
[0077] Understandably, if the current unlocking direction is the same as the preset unlocking direction, it means that there is a risk of pinching the target's hand when unlocking the smart door lock. In this case, in order to prevent the target's hand from being pinched, the anti-pinch operation can be triggered.
[0078] In some embodiments, the anti-pinch operation may include pausing the unlocking operation and maintaining the locked state. Simultaneously, a prompt message may be issued to instruct the target object to unlock in the opposite direction from the current unlocking direction. This prompt message may include audio and / or display information. Accordingly, issuing the prompt message may include playing a prompt message and / or displaying a prompt message. The content of the audio and display information can be set and selected based on actual needs. For example, playing a message such as "Unlocking in the current direction poses a risk of pinching your hand; please switch to the opposite direction to unlock," and / or displaying flashing light or graphic information, such as a square, on the smart lock's display screen.
[0079] In some embodiments, unlocking in the opposite direction of the current unlocking direction includes the target object using its current hand to unlock in the opposite direction, or the target object using a hand other than its current hand to unlock in the opposite direction. For example, when the preset unlocking direction is the left side of the smart lock, if the user uses their left hand to unlock on the left side of the smart lock, and the current unlocking direction is the left side of the smart lock, to avoid the user's hand being pinched, the user can be prompted to switch to the right side of the smart lock to unlock. After hearing or seeing the prompt, the user can use either their left or right hand to unlock on the right side of the smart lock.
[0080] In some embodiments, a difference between the current unlocking direction and the preset unlocking direction indicates that there is no risk of pinching a hand when unlocking the smart lock from the current unlocking direction. Therefore, in cases where the current unlocking direction differs from the preset unlocking direction, a conventional unlocking procedure can be performed. This unlocking procedure may include acquiring the fingerprint information of the target object, comparing it with preset fingerprint information, and successfully unlocking and opening the door where the smart lock is installed when the similarity between the fingerprint information and the preset fingerprint information exceeds a threshold. Alternatively, the unlocking procedure may also include acquiring the password information entered by the target object, comparing it with preset password information, and successfully unlocking and opening the door where the smart lock is installed when the password information matches the preset password information.
[0081] This disclosed embodiment can trigger an anti-pinch operation without installing any accessories when there is a risk of pinching a hand when unlocking the smart lock from the current unlocking direction. This not only improves the aesthetics of the smart lock but also effectively avoids the risk of pinching, enhancing the user experience. Furthermore, determining the current unlocking direction via a sensor enables low-power anti-pinch operation, protecting the user's hand with minimal power consumption, thus further improving the user experience.
[0082] In some embodiments, when the door frame of the door with the smart lock installed is located on the left side of the smart lock, there is a risk of pinching a user's hand when unlocking the smart lock from the left side; conversely, when the door frame of the door with the smart lock installed is located on the right side of the smart lock, there is a risk of pinching a user's hand when unlocking the smart lock from the right side. Therefore, the preset unlocking direction is related to the position of the door frame. The following is a description of... Figure 6 The illustrated embodiment explains the process of determining the preset unlocking direction.
[0083] Figure 6 This is a flowchart illustrating a control method for a smart door lock according to an exemplary embodiment, executed by an electronic device. See also... Figure 6 The method includes the following steps:
[0084] Step S601: Receive location information sent by the electronic device; the location information is used to characterize the relative positional relationship between the smart lock and the door frame of the door where the smart lock is installed.
[0085] In some embodiments, when the unlocking direction is the same as the direction of the door frame relative to the smart lock, there may be a risk of hand pinching if the user unlocks the smart lock at this time. For example, when the door frame is on the left side of the smart lock, if the user unlocks the smart lock from the left side, the door where the smart lock is installed is likely to pinch the user's hand after the smart lock performs the unlocking operation.
[0086] In some embodiments, location information transmitted by an electronic device may be received. This location information characterizes the relative positional relationship between the smart lock and the door frame on which the smart lock is installed. In one example, the location information may include the door frame being located to the left of the smart lock and the door frame being located to the right of the smart lock.
[0087] Correspondingly, location information can be set in the electronic device, which can then send this location information to the smart lock. The specific process of setting the location information in the electronic device and sending it to the smart lock can be found in step S702 below.
[0088] Step S602: Determine the preset unlocking direction based on the location information.
[0089] After receiving location information, the smart lock can determine the preset unlocking direction based on the location information. That is, when the location information indicates that the door frame is on the left side of the smart lock, the preset unlocking direction is determined to be on the left side of the smart lock; when the location information indicates that the door frame is on the right side of the smart lock, the preset unlocking direction is determined to be on the right side of the smart lock.
[0090] In this embodiment of the disclosure, location information can be obtained through the interaction between the electronic device and the smart door lock, and then a preset unlocking direction can be determined based on the location information. In this way, an accurate preset unlocking direction can be determined based on the actual door frame position, thereby better avoiding the risk of fingers being pinched.
[0091] The control method for the smart lock provided in this disclosure is executed by an electronic device, which can be a mobile phone, tablet computer, laptop, smart robot, smart wearable device, or other smart device. In addition, the electronic device is equipped with various hardware resources and an energy storage device that provides power for the operation of these hardware resources. A communication connection exists between the electronic device and the smart lock, and the electronic device contains an application program corresponding to the smart lock. The electronic device can send information to the smart lock and receive information sent by the smart lock; for example, the electronic device can send a signal to the smart lock, or the smart lock can receive a signal sent by the electronic device.
[0092] Figure 7 This is a flowchart illustrating a control method for a smart door lock according to an exemplary embodiment, executed by an electronic device. See also... Figure 7 The method includes the following steps:
[0093] In step S701, position information is set in the settings interface of the smart lock; the position information is used to characterize the relative positional relationship between the smart lock and the door frame of the door on which the smart lock is installed.
[0094] In some embodiments, the electronic device has an application corresponding to the smart lock. In response to the selection of a target object, the electronic device can set location information in the smart lock's settings interface. For example... Figure 8 The diagram illustrates a setup process. In the smart lock's setup interface, the user selects the door frame to be on the left. In response to the user's selection, the electronic device sets the location information in the setup interface of the smart lock's corresponding application. This location information indicates that the door frame is located on the left side of the smart lock.
[0095] In step S702, location information is sent to the smart door lock so that the smart door lock can determine the preset unlocking direction based on the location information, and trigger the anti-pinch operation when the current unlocking direction is the same as the preset unlocking direction.
[0096] The preset unlocking direction is used to indicate the risk of pinching a hand when unlocking the smart lock from the preset unlocking direction, and the current unlocking direction is used to indicate the direction of the target object's hand relative to the smart lock when the target object's hand unlocks the smart lock.
[0097] In some embodiments, the electronic device can send location information to the smart lock via a communication connection. The electronic device and the smart lock can establish a communication connection via communication methods such as WiFi and Bluetooth. For example, see... Figure 8 The diagram shown illustrates the setup process, where electronic devices can send location information to the smart lock via a WiFi connection.
[0098] In one example, achieving WiFi connectivity between an electronic device and a smart lock includes: connecting the smart lock to a wireless router, and then connecting the electronic device to the wireless router, thereby establishing a WiFi connection between the smart lock and the electronic device. In another example, achieving Bluetooth connectivity between the electronic device and the smart lock includes: bringing the electronic device close to the smart lock to complete Bluetooth pairing; and then communicating between the electronic device and the smart lock via a Bluetooth module.
[0099] In this embodiment of the disclosure, through the interaction between the electronic device and the smart lock, the set location information can be sent to the smart lock, enabling the smart lock to determine a preset unlocking direction based on the location information. In this way, the smart lock can determine an accurate preset unlocking direction based on the actual door frame position, thereby better avoiding the risk of fingers being pinched.
[0100] To facilitate understanding, a specific example is given below: The electronic device sets location information in the smart lock's settings interface, indicating that the door frame is located on the left side of the smart lock, and sends this location information to the smart lock. Based on this location information, the smart lock determines that the preset unlocking direction is the left side of the smart lock. At this time, if the current unlocking direction is the left side of the smart lock, meaning the user is unlocking from the left side, a risk of pinching a finger can be identified, so the lock remains locked and a prompt message is issued to encourage the user to unlock the smart lock from the right side. Conversely, if the current unlocking direction is the right side of the smart lock, meaning the user is unlocking from the right side, a risk of pinching a finger can be identified, and the normal unlocking process can be followed to successfully open the door.
[0101] In one example, a user typically unlocks the smart lock using their right hand from the right side or their left hand from the left side. See [link to example]. Figure 9 The diagram illustrates an application scenario where, when the door frame is located to the left of the smart lock, the user will not risk pinching their hand when opening the door with their right hand, assuming it aligns with their hand-holding habits. Figure 9 The unlocking direction shown on the left is the correct unlocking direction. That is, when the sensor on the right side of the smart lock detects a hand opening motion, the door can be opened normally; however, if the user uses their left hand to open the door, there is a risk of pinching their hand (i.e.,...). Figure 9 The unlocking direction shown on the right is the incorrect unlocking direction. That is, when the sensor on the left side of the smart lock detects a hand opening motion, the door cannot be opened normally, and the smart lock will issue a voice prompt (such as...). Figure 9 The message "There is a risk of pinching your hand if you open the door from this side, please open the door from the other side" reminds users to open the door from the other side.
[0102] like Figure 10 As shown below, an embodiment of an interaction method between a smart door lock and an electronic device is given:
[0103] Step S1001: The electronic device sets the location information in the smart door lock's settings interface.
[0104] In step S1002, the electronic device sends location information to the smart door lock.
[0105] Step S1003: The smart door lock receives location information sent by the electronic device.
[0106] Step S1004: The smart door lock determines the preset unlocking direction based on the location information.
[0107] Step S1005: The smart door lock identifies the target sensor among multiple sensors that recognizes the object.
[0108] Step S1006: The smart door lock determines the target location of the target sensor.
[0109] In step S1007, the smart door lock determines the current unlocking direction based on the target position of the target sensor.
[0110] In step S1008, if the current unlocking direction is the same as the preset unlocking direction, the smart door lock remains locked and issues a prompt message.
[0111] Step S1009: If the current unlocking direction is different from the preset unlocking direction, the smart door lock performs an unlocking operation.
[0112] Figure 11 This is a block diagram illustrating a control device for a smart door lock according to an exemplary embodiment. See also... Figure 11 The device includes:
[0113] The determining module 1101 is configured to determine the current unlocking direction of the target object; the current unlocking direction is used to characterize the direction of the target object's hand relative to the smart lock when the target object's hand unlocks the smart lock.
[0114] The first processing module 1102 is configured to trigger an anti-pinch operation when the current unlocking direction is the same as the preset unlocking direction; wherein, the preset unlocking direction is used to indicate that there is a risk of pinching when unlocking the smart door lock from the preset unlocking direction.
[0115] In some embodiments, multiple sensors for object recognition are symmetrically arranged on the left and right sides of the smart lock, and the determination module 1101 is configured to:
[0116] Identify the target sensor among multiple sensors that detected the object;
[0117] The current unlocking direction is determined based on the target position of the target sensor.
[0118] In some embodiments, the determining module 1101 is configured to:
[0119] When the target position sensor is positioned on the left side of the smart lock, the current unlocking direction is determined to be the left side of the smart lock; or,
[0120] When the target position sensor is located on the right side of the smart lock, the current unlocking direction is determined to be the right side of the smart lock.
[0121] In some embodiments, the first processing module 1102 is configured to:
[0122] If the current unlocking direction is the same as the preset unlocking direction, the device remains locked and a prompt message is issued. The prompt message is used to instruct the target object to unlock in the opposite direction of the current unlocking direction.
[0123] In some embodiments, the first processing module 1102 is configured to:
[0124] Play notification messages; and / or,
[0125] A prompt message will be displayed.
[0126] In some embodiments, the first processing module 1102 is further configured to:
[0127] If the current unlock direction is different from the preset unlock direction, perform the unlock operation.
[0128] In some embodiments, the determining module 1101 is configured to:
[0129] Receives location information sent by electronic devices; the location information is used to characterize the relative positional relationship between the smart lock and the door frame where the smart lock is installed;
[0130] Based on location information, determine the preset unlock direction.
[0131] In some embodiments, the determining module 1101 is configured to:
[0132] When the location information indicates that the door frame is on the left side of the smart lock, the preset unlocking direction is determined to be the left side of the smart lock;
[0133] When the location information indicates that the door frame is located on the right side of the smart lock, the preset unlocking direction is determined to be the right side of the smart lock.
[0134] Figure 12 This is a block diagram illustrating a control device for a smart door lock according to an exemplary embodiment. See also... Figure 12 The device includes:
[0135] The second processing module 1201 is configured to set position information in the settings interface of the smart lock; the position information is used to characterize the relative positional relationship between the smart lock and the door frame of the door where the smart lock is installed.
[0136] The sending module 1202 is configured to send a position relationship to the smart lock so that the smart lock can determine a preset unlocking direction based on the position relationship, and trigger an anti-pinch operation when the current unlocking direction is the same as the preset unlocking direction. The preset unlocking direction is used to indicate that there is a risk of pinching when unlocking the smart lock from the preset unlocking direction, and the current unlocking direction is used to indicate the direction of the target object's hand relative to the smart lock when the target object's hand unlocks the smart lock.
[0137] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0138] This disclosure also provides a smart door lock, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the control method of the smart door lock in the above embodiments.
[0139] This disclosure also provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the control method of the smart door lock in the above embodiments.
[0140] Figure 13 This is a block diagram of an electronic device 1300 according to an exemplary embodiment.
[0141] Reference Figure 13 The electronic device 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power supply component 1306, a multimedia component 1308, an audio component 1310, an input / output (I / O) interface 1312, a sensor component 1314, and a communication component 1316.
[0142] Processing component 1302 typically controls the overall operation of electronic device 1300, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 1302 may include one or more modules to facilitate interaction between processing component 1302 and other components. For example, processing component 1302 may include a multimedia module to facilitate interaction between multimedia component 1308 and processing component 1302.
[0143] Memory 1304 is configured to store various types of data to support the operation of electronic device 1300. Examples of such data include instructions for any application or method operating on electronic device 1300, contact data, phonebook data, messages, pictures, videos, etc. Memory 1304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0144] Power supply component 1306 provides power to various components of electronic device 1300. Power supply component 1306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 1300.
[0145] Multimedia component 1308 includes a screen that provides an output interface between the electronic device 1300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 1308 includes a front-facing camera and / or a rear-facing camera. When the electronic device 1300 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0146] Audio component 1310 is configured to output and / or input audio signals. For example, audio component 1310 includes a microphone (MIC) configured to receive external audio signals when electronic device 1300 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1304 or transmitted via communication component 1316. In some embodiments, audio component 1310 also includes a speaker for outputting audio signals.
[0147] I / O interface 1312 provides an interface between processing component 1302 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0148] Sensor assembly 1314 includes one or more sensors for providing state assessments of various aspects of electronic device 1300. For example, sensor assembly 1314 may detect the on / off state of electronic device 1300, the relative positioning of components such as the display and keypad of electronic device 1300, changes in position of electronic device 1300 or a component of electronic device 1300, the presence or absence of user contact with electronic device 1300, the orientation or acceleration / deceleration of electronic device 1300, and temperature changes of electronic device 1300. Sensor assembly 1314 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 1314 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0149] Communication component 1316 is configured to facilitate wired or wireless communication between electronic device 1300 and other devices. Electronic device 1300 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 1316 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 1316 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0150] In an exemplary embodiment, the electronic device 1300 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0151] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1304 including instructions, which can be executed by a processor 1320 of an electronic device 1300 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0152] This disclosure also provides a non-transitory computer-readable storage medium, wherein when instructions in the storage medium are executed by the processor of a smart lock, the smart lock is able to perform the control method of the smart lock provided in the exemplary embodiments of this disclosure.
[0153] This disclosure also provides a non-transitory computer-readable storage medium, wherein when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is able to perform the control method for a smart lock provided in an exemplary embodiment of this disclosure.
[0154] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0155] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A control method for an intelligent door lock, characterized in that, include: Determine the current unlock direction of the target object; The current unlocking direction is used to characterize the direction of the target object's hand relative to the smart lock when the target object's hand unlocks the smart lock; When the current unlocking direction is the same as the preset unlocking direction, an anti-pinch operation is triggered; wherein, the preset unlocking direction is used to indicate that there is a risk of pinching when unlocking the smart door lock from the preset unlocking direction.
2. The control method for the smart door lock according to claim 1, characterized in that, The smart door lock has multiple sensors symmetrically arranged on its left and right sides for object recognition. Determining the current unlocking direction of the target object includes: Identify the target sensor among the plurality of sensors that detected the object; The current unlocking direction is determined based on the target position of the target sensor.
3. The control method for the smart door lock according to claim 2, characterized in that, Determining the current unlocking direction based on the target position of the target sensor includes: When the target position indicates that the target sensor is located on the left side of the smart lock, the current unlocking direction is determined to be the left side of the smart lock; or, When the target position indicates that the target sensor is located on the right side of the smart lock, the current unlocking direction is determined to be the right side of the smart lock.
4. The control method for the smart door lock according to claim 1, characterized in that, When the current unlocking direction is the same as the preset unlocking direction, triggering the anti-pinch operation includes: If the current unlocking direction is the same as the preset unlocking direction, the locked state is maintained and a prompt message is issued; the prompt message is used to prompt the target object to unlock in the opposite direction of the current unlocking direction.
5. The control method for the smart door lock according to claim 4, characterized in that, The notification message includes: Play the aforementioned prompt message; and / or, The aforementioned prompt message will be displayed.
6. The control method for the smart door lock according to claim 4, characterized in that, The method further includes: If the current unlocking direction is different from the preset unlocking direction, the unlocking operation is performed.
7. The control method for the smart door lock according to claim 1, characterized in that, The method for obtaining the preset unlock direction includes: Receive location information sent by an electronic device; the location information is used to characterize the relative positional relationship between the smart lock and the door frame of the door on which the smart lock is installed; Based on the location information, the preset unlocking direction is determined.
8. The control method for the smart door lock according to claim 7, characterized in that, Determining the preset unlocking direction based on the location information includes: When the location information indicates that the door frame is located to the left of the smart door lock, the preset unlocking direction is determined to be to the left of the smart door lock; When the location information indicates that the door frame is located on the right side of the smart door lock, the preset unlocking direction is determined to be the right side of the smart door lock.
9. A control method for an intelligent door lock, characterized in that, include: Set the location information in the smart lock's settings interface; The location information is used to characterize the relative positional relationship between the smart lock and the door frame of the door on which the smart lock is installed; The location information is sent to the smart door lock so that the smart door lock determines a preset unlocking direction based on the location information, and triggers an anti-pinch operation when the current unlocking direction is the same as the preset unlocking direction; The preset unlocking direction is used to indicate the risk of pinching a hand when unlocking the smart lock from the preset unlocking direction, and the current unlocking direction is used to indicate the direction of the target object's hand relative to the smart lock when the target object's hand unlocks the smart lock.
10. A control device for an intelligent door lock, characterized in that, include: The determination module is configured to determine the current unlocking direction of the target object; The current unlocking direction is used to characterize the direction of the target object's hand relative to the smart lock when the target object's hand unlocks the smart lock; The first processing module is configured to trigger an anti-pinch operation when the current unlocking direction is the same as the preset unlocking direction; wherein, the preset unlocking direction is used to indicate that there is a risk of pinching when unlocking the smart door lock from the preset unlocking direction.
11. A control device for an intelligent door lock, characterized in that, include: The second processing module is configured to set location information in the smart lock's settings interface; The location information is used to characterize the relative positional relationship between the smart lock and the door frame of the door on which the smart lock is installed; The sending module is configured to send the location information to the smart lock so that the smart lock determines a preset unlocking direction based on the location information, and triggers an anti-pinch operation when the current unlocking direction is the same as the preset unlocking direction; The preset unlocking direction is used to indicate the risk of pinching a hand when unlocking the smart lock from the preset unlocking direction, and the current unlocking direction is used to indicate the direction of the target object's hand relative to the smart lock when the target object's hand unlocks the smart lock.
12. A smart door lock, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to execute the control method of the smart door lock as described in any one of claims 1-9.
13. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to execute the control method for the smart door lock as described in claim 10.
14. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the smart lock, the smart lock is able to perform the control method of the smart lock as described in any one of claims 1-9.
15. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the control method of the smart door lock as described in claim 10.