Door lock opening method, device, long power supply equipment and door lock opening system

By building UWB modules in the long-powered equipment of smart door locks and using the long-powered equipment of mains power to maintain the long-term operation of the UWB module, the problem of frequent broadcast of UWB modules shortened battery life is solved, and a more stable and efficient automatic lock unlocking function is achieved.

CN119785463APending Publication Date: 2025-04-08SHENZHEN LUMIUNITED TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411979181.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

When the smart door lock is automatically unlocked using UWB technology, the UWB module needs to be broadcast frequently, resulting in a shortening of the battery life, reducing the stability and battery life of the automatic unlocking function.

Method used

By building a UWB module in a long-powered device and establishing a wireless communication connection with the smart door lock, the long-powered powered device is used to maintain the long-term operation of the UWB module. The UWB module is only awakened when an outdoor object is detected to be close to the door lock for precise positioning and unlocking instructions.

Benefits of technology

It extends the battery life of the UWB module, improves the stability and accuracy of the automatic lock-opening function, and avoids functional degradation caused by short battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119785463A_ABST
    Figure CN119785463A_ABST
Patent Text Reader

Abstract

The present application relates to a door lock opening method, device, long power supply equipment and door lock opening system. The method is applied to the long power supply equipment, and the long power supply equipment and the UWB module are in a long power supply state. The method includes: determining whether there is an outdoor object approaching the door lock according to the UWB signal collected by the UWB module, and when the long power supply equipment determines that there is an outdoor object approaching the door lock, sending an unlocking instruction to the door lock to instruct the door lock to perform the unlocking operation. The present application can solve the problem that the performance of the UWB module is limited by the battery life, so that the UWB module can maintain long-term operation in a high-performance state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic equipment, and in particular to a door lock opening method, device, long power supply equipment and door lock opening system. Background Art

[0002] At present, UWB (Ultra-Wide Band) technology is applied in some smart door locks with automatic unlocking function. In order to realize the unlocking function, these smart door locks need UWB modules to maintain long-term and frequent broadcasting, which leads to a significant shortening of the battery life of smart door locks powered by dry batteries or rechargeable batteries, and reduces the stability of the automatic unlocking function. Summary of the invention

[0003] Based on this, it is necessary to provide a door lock opening method, device, long power supply equipment and door lock opening system that can improve the battery life of smart door locks and improve the stability of automatic unlocking functions in response to the above technical problems.

[0004] In a first aspect, the present application provides a door lock opening method, which is applied to a long power supply device, the long power supply device includes a UWB module, and the long power supply device and the UWB module are in a long power supply state, and the method includes:

[0005] Get the UWB signal collected by the UWB module;

[0006] If it is determined based on the UWB signal that an outdoor object is approaching the door lock, an unlock command is sent to the door lock; the unlock command is used to instruct the door lock to perform an unlock operation.

[0007] In a second aspect, the present application provides a door lock opening method, which is applied to a door lock, wherein the door lock is connected to a long power supply device, the long power supply device includes a UWB module, and the long power supply device and the UWB module are in a long power supply state, and the method includes:

[0008] Receiving an unlocking instruction from a long power supply device; the unlocking instruction is sent by the long power supply device when it determines that an outdoor object is approaching the door lock based on the UWB signal collected by the UWB module;

[0009] According to the unlocking instruction, perform the unlocking operation.

[0010] In one embodiment, the method further comprises:

[0011] Receive the pairing instruction sent by the terminal device; the pairing instruction is obtained by the terminal device based on the device configuration interface;

[0012] Based on the pairing instruction, a wireless communication connection is established with the long power supply device.

[0013] In a third aspect, the present application provides a door lock opening device, which is applied to a long power supply device, the long power supply device includes a UWB module in a long power supply state, and the device includes:

[0014] A UWB signal acquisition module, used to acquire the UWB signal collected by the UWB module;

[0015] The unlocking instruction sending module is used to send an unlocking instruction to the door lock if it is determined according to the UWB signal that an outdoor object is close to the door lock; the unlocking instruction is used to instruct the door lock to perform an unlocking operation.

[0016] In a fourth aspect, the present application provides a door lock opening device, which is applied to a door lock, the door lock is connected to a long power supply device, the long power supply device includes a UWB module in a long power supply state, and the device includes:

[0017] The unlocking instruction receiving module is used to receive the unlocking instruction from the long power supply device; the unlocking instruction is sent by the long power supply device when it determines that an outdoor object is close to the door lock according to the UWB signal collected by the UWB module;

[0018] The unlocking module is used to perform the unlocking operation according to the unlocking instruction.

[0019] In a fifth aspect, the present application provides a long power supply device, including a power module, a control module connected to the power module, and a UWB module connected to the control module; the power module includes a mains interface for connecting to the mains; the UWB module is coupled to the power module, and the power module and the UWB module are in a long power supply state; the long power supply device also includes a communication module connected to the control module;

[0020] The control module is used to obtain the UWB signal collected by the UWB module; and if it is determined according to the UWB signal that an outdoor object is close to the door lock, an unlocking instruction is sent to the door lock through the communication module; the unlocking instruction is used to instruct the door lock to perform an unlocking operation.

[0021] In the sixth aspect, the present application provides a door lock opening system, the system including a smart door lock and a long power supply device; wherein the smart door lock is in a battery-powered state, the long power supply device includes a control module and a UWB module, a power module and a communication module respectively connected to the control module; the power module includes a mains power interface for connecting to the mains power; the UWB module is coupled to the power module, and the power module and the UWB module are in a long power supply state; the control module is used to obtain the UWB signal collected by the UWB module; and if it is determined according to the UWB signal that an outdoor object is close to the door lock, an unlocking instruction is sent to the door lock through the communication module; the unlocking instruction is used to instruct the door lock to perform an unlocking operation.

[0022] In a seventh aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the steps in the above-mentioned door lock opening method when the computer program is executed by a processor.

[0023] In an eighth aspect, the present application provides a computer program product, including a computer program, which implements the steps in the above-mentioned door lock opening method when the computer program is executed by a processor.

[0024] The above-mentioned door lock opening method, device, long power supply device and door lock opening system, the long power supply device determines whether there is an outdoor object approaching the door lock based on the UWB signal collected by the UWB module, and when the long power supply device determines that there is an outdoor object approaching the door lock, it sends an unlocking instruction to the door lock to instruct the door lock to perform the unlocking operation. In this application, the long power supply device and the UWB module are in a long power supply state. Through the communication connection between the long power supply device and the smart door lock, the problem that the performance of the UWB module is limited by the battery life can be solved, so that the UWB module can maintain long-term operation in a high-performance state and provide accurate positioning services, thereby realizing convenient unlocking of the smart door lock. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0026] Figure 1 A diagram showing an application environment of a door lock opening method in an embodiment;

[0027] Figure 2 is an application environment diagram of a door lock opening method in another embodiment;

[0028] Figure 3 It is a schematic diagram of a flow chart of a door lock opening method in one embodiment;

[0029] Figure 4 A schematic diagram of a process for determining an unlocking object in one embodiment;

[0030] Figure 5 A schematic diagram of a process of collecting and sending image information in one embodiment;

[0031] Figure 6 A schematic flow chart of a door lock opening method in another embodiment;

[0032] Figure 7 It is a structural block diagram of a door lock opening device in one embodiment;

[0033] Figure 8 It is a structural block diagram of a door lock opening device in another embodiment;

[0034] Fig. 9 It is a structural block diagram of a long power supply device in an embodiment;

[0035] Fig.10 A schematic diagram of the structure of a smart doorbell in one embodiment;

[0036] Fig.11 A schematic diagram of a flow chart of a door lock opening method in another embodiment;

[0037] Fig.12 FIG. 4 is a diagram showing the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0039] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0040] It is to be understood that terms such as “first”, “second”, etc. in the present application are only used to distinguish similar objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features.

[0041] It can be understood that the “connection” in the following embodiments should be understood as “electrical connection”, “communication connection”, etc. if the connected circuits, modules, units, etc. have electrical signals or data transmission between each other.

[0042] It will be understood that “at least one” means one or more, and “plurality” means two or more.

[0043] When used herein, the singular forms "a", "an", and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" and the like specify the presence of stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not exclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. At the same time, the term "and / or" used in this specification includes any and all combinations of the relevant listed items.

[0044] Currently, smart door locks based on biometric technology are used, such as face and finger vein recognition door locks. However, the cost of biometric sensor components is higher than that of general communication components, which leads to greater limitations in long-term cost reduction of products. In addition, biometric unlocking technology also requires a lot of calculations and data processing, which requires high processor performance of product equipment, and further increases the application cost. In addition, many users also attach importance to protecting personal biological information and resist using smart door lock products based on biometric recognition technology.

[0045] Compared with biometric authentication unlocking technology, UWB unlocking technology is a low-cost unlocking solution that does not require the collection of biometric features. Currently, based on UWB, it is possible to achieve: 1. High-precision positioning of objects. In the process of unlocking smart door locks, UWB technology can accurately determine the position of the unlocking object by sending and receiving ultra-short pulse signals, so that the door lock can be opened accurately and quickly; 2. The installation of UWB modules is not easily restricted by the material, shape or installation position of the carrier, while the installation of related hardware of biometric technology may have high requirements for identification equipment or installation environment; 3. Compared with traditional Bluetooth or RFID technology (Radio Frequency Identification, radio frequency identification technology), UWB technology has a faster data transmission rate, so that unlocking instructions can be transmitted faster, improving the user's unlocking experience.

[0046] Traditional smart door locks cannot be powered by indoor adapters or power supplies for a long time, and can only be powered by dry batteries or lithium batteries. Since UWB technology requires high energy consumption to achieve accurate positioning and distance measurement of the unlocking object, if smart door locks use UWB technology, the life of the installed batteries may be short. In addition, smart door locks usually need to run for a long time, and frequent replacement of smart door lock batteries will obviously affect the user experience and increase the user's cost of use.

[0047] In order to solve the problem of high power consumption of UWB automatic unlocking technology, the following two solutions are usually adopted: ① Increase the number of dry batteries or the capacity of rechargeable batteries in smart door locks, however, this solution will cause battery pollution. ② Reduce the UWB scanning frequency or reduce the UWB recognition distance, however, this solution to reduce power consumption will also reduce the positioning accuracy and functional stability of the smart door lock UWB, which is equivalent to castrating the performance of UWB, making the original accurate UWB real-time positioning function greatly reduced.

[0048] The door lock opening method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown in the figure, Figure 1A smart home system 10 is provided, which includes a terminal device 102, multiple sub-devices 104, a gateway 106, a router 108 and a server 110; wherein the terminal device 102 can be any device with communication and storage functions, and can be but not limited to various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices, and the Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc.

[0049] Optionally, a client that can manage multiple sub-devices 104 is installed in the terminal device 102. The client can be an application client (such as a mobile phone APP) or a web client, which is not limited here. As a method, the user can add the same account information to the terminal device 102 and the sub-device 104, and the data of the sub-device 104 and the terminal device 102 can be synchronized through the account.

[0050] The process of multiple sub-devices 104 accessing the gateway 106 through the local area network includes: the gateway 106 first establishes a local area network, and the sub-device 104 joins the local area network established by the gateway 106 by connecting to the gateway 106. This local area network includes but is not limited to: Zigbee or Bluetooth. Among them, the multiple sub-devices 104 can be smart printers, smart fax machines, smart cameras, smart air conditioners, smart door locks, smart lights, or human sensors equipped with communication modules, door and window sensors, temperature and humidity sensors, water immersion sensors, natural gas alarms, smoke alarms, wall switches, wall sockets, wireless switches, wireless wall sticker switches, magic cube controllers, curtain motors, smart speakers, smart doorbells, smart door locks and other devices.

[0051] The interaction between the terminal device 102 and the multiple sub-devices 104 can be achieved through a local area network or a wide area network. In some embodiments, when the terminal device 102, the router 108, and the gateway 106 are in the same local area network, the terminal device 102 can interact with the gateway 106 and the multiple sub-devices 104 connected to the gateway 106 through a local area network path, or can also interact with the gateway 106 and the multiple sub-devices 104 connected to the gateway 106 through a wide area network path. In addition, when the terminal device 102, the router 108, and the gateway 106 are not in the same local area network, the terminal device 102 can also interact with the gateway 106 and the multiple sub-devices 104 connected to the gateway 106 through a wide area network path. In addition, the terminal device 102 can also interact with the server 110 through a specified communication method, where the specified communication method includes: 2G (2-Generation wireless telephone technology, second-generation mobile phone communication technology specifications), 3G (3rd-Generation, third-generation mobile communication technology), 4G (the 4th generation mobile communication technology, fourth-generation mobile communication technology), 5G (5th-Generation Mobile Communication Technology, fifth-generation mobile communication technology) and wireless network communication technology WIFI, etc., which can be set specifically according to actual conditions.

[0052] Among them, the server 110 can also be considered as the cloud, cloud platform, platform end, service end, etc. This server 110 can be a single server, or a server cluster composed of multiple servers, or a cloud computing center composed of multiple servers, so as to better provide background services to the terminal device 102. For example, the background service may include sub-device control services, etc.

[0053] Furthermore, the automation of the smart home system 10 is a linkage application built between the gateway 106 or multiple sub-devices 104 connected to the gateway 106, including a trigger device and a controlled device (or an execution device), which are connected to each other through the gateway 106. When the trigger device meets the trigger condition, the gateway 106 controls the controlled device to perform the corresponding execution action. Among them, the trigger device can be various sensors, such as pressure sensors, temperature sensors, humidity sensors, door and window sensors or smoke sensors, etc.; the controlled device can be various switches, sockets, electric lights, infrared transmitters and camera devices, etc. It should be noted that in some cases, the trigger device and the controlled device can be the same device, which can be set according to actual conditions.

[0054] For example, the sub-devices 104 are respectively a smart doorbell and a smart door lock. Figure 2 As shown, the smart doorbell can be installed outdoors. In some embodiments, the smart doorbell may include a control module and a communication module connected to the control module. Furthermore, the smart door lock may include a front lock (outdoor lock) for installation outdoors and a rear lock (indoor lock) for installation indoors; the door lock may also include a door lock main control module and a door lock communication module with the door lock main control module. The door lock can establish a wireless communication connection with the communication module of the smart doorbell through the door lock communication module.

[0055] Optionally, the sub-device 104 may include a long power supply device. It should be understood that the long power supply device used in the door lock opening method of the present application may include not only the above-mentioned smart doorbell, but also other application forms, such as long-power supply gun cameras near the gate, garage shutters, long-power supply password input keyboards and other electronic devices, and is not limited to the forms mentioned in the above embodiments, as long as the above-mentioned long power supply device can realize the function of long power supply for the UWB module.

[0056] Before introducing the specific embodiments of the present application, the professional terms involved in the present application are explained first:

[0057] UWB (Ultra Wide Band) technology: Ultra Wide Band technology is a wireless carrier communication technology that does not use a sinusoidal carrier but uses nanosecond non-sinusoidal narrow pulses to transmit data, so it occupies a wide spectrum range. UWB technology can also detect human body movements that are difficult to detect (such as breathing, slight movement).

[0058] Passive Infrared Radiation (PIR): Any object with temperature is constantly radiating infrared rays to the outside world. The surface temperature of the human body is 36-27°C, and most of its radiation energy is concentrated in the wavelength range of 8-12um. The passive infrared alarm can be structurally divided into an infrared detector (infrared probe) and an alarm control part.

[0059] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0060] In an exemplary embodiment, Figure 3As shown, a door lock opening method is provided, and the method is applied to the above-mentioned long power supply device as an example for explanation. The long power supply device includes a UWB module, and the long power supply device and the UWB module are in a long power supply state. The method includes the following steps 302 to 304. Among them:

[0061] Step 302: Acquire the UWB signal collected by the UWB module.

[0062] The UWB module in the long power supply device may refer to a module with UWB function, which can realize the UWB function by collecting and outputting UWB signals. Furthermore, the long power supply device and the UWB module are in a long power supply state, which can be understood as a state in which the required power can be obtained stably and continuously.

[0063] Specifically, the long power supply device collects UWB signals through the built-in UWB module. Based on the collected UWB signals, it can achieve accurate positioning of outdoor objects, and then cooperate with the door lock to achieve contactless unlocking.

[0064] Exemplarily, the UWB signal collected by the UWB module can be sent by the UWB signaling device of the outdoor object, and the UWB signaling device can refer to a terminal device with a UWB signaling function (or a UWB signaling function). For example, the UWB signaling device may include a mobile phone, a watch, a pet smart collar equipped with a UWB transmitter, etc. Furthermore, the UWB signaling device can establish UWB communication with a long-powered device. It can be understood that the specific type of the above-mentioned UWB signaling device is not limited to the implementation method mentioned in the above-mentioned embodiment. As long as it can realize the UWB function, the present application does not specifically limit the specific type of the UWB signaling device.

[0065] In actual applications, the long-power supply device can wake up the UWB module to collect UWB signals. Optionally, the operating mode of the UWB module may include a sleep mode and a wake-up mode. Among them, the sleep mode can be a standby state in which the UWB module turns off most power-consuming functions and only maintains power supply; the wake-up mode can be the working state of the UWB module after turning on the UWB function. In the case where it is not necessary to accurately locate the terminal device of the outdoor object, the UWB module in the long-power supply state can be controlled to enter the sleep mode to reduce the power consumption of the long-power supply device, thereby reducing the operating cost of the device. In the case of needing to locate the terminal device with unlocking authority, the UWB module in the long-power supply state can be controlled to be activated from the sleep mode and enter the wake-up mode, so that it can collect and output UWB signals, thereby achieving accurate positioning of the terminal device of the outdoor object.

[0066] Regarding long power supply equipment, in some embodiments, the long power supply equipment may include smart doorbells, long power supply gun cameras near the gate, garage shutters, long power supply password input keyboards and other electronic devices. The specific types of the above-mentioned long power supply equipment are not limited to the implementation methods mentioned in the above-mentioned embodiments. As long as it is in a long power supply state with the UWB module, this application does not make specific limitations on the specific implementation form of the long power supply equipment.

[0067] It should be noted that the smart door lock and the long power supply device are respectively packaged as two independent devices; the long power supply device is powered by the mains, while the smart door lock is powered by a battery or other energy storage unit. For example, if the long power supply device is a smart doorbell with long power supply, the smart doorbell with long power supply and the smart door lock are respectively packaged in two independent shells, and a wireless communication connection is established between the two.

[0068] Step 304: If it is determined according to the UWB signal that an outdoor object is close to the door lock, an unlocking instruction is sent to the door lock; the unlocking instruction is used to instruct the door lock to perform an unlocking operation.

[0069] In one embodiment, the door lock (smart door lock) and the long power supply device are both installed on the outdoor side of the door. The long power supply device can obtain the relative position information between the outdoor object and the door lock (smart door lock) / long power supply device by parsing the UWB signal. Exemplarily, the relative distance and / or relative orientation of the terminal device of the outdoor object relative to the door lock / long power supply device can be parsed according to the UWB signal. It can be understood that by parsing the UWB signal, it is possible to accurately locate the outdoor object, thereby determining whether to send an unlocking instruction to the door lock based on the accurate positioning information.

[0070] Specifically, the long power supply device accurately locates the outdoor object according to the UWB signal, and when it is determined according to the UWB signal that the outdoor object is close to the door lock / long power supply device, it sends an unlocking instruction to the door lock to instruct the door lock to perform an unlocking operation.

[0071] Further, the unlocking instruction can be used to instruct the door lock to perform an unlocking operation when it is determined that an outdoor object is close to the door lock. Optionally, the unlocking instruction can be sent via a wireless communication connection such as Bluetooth communication.

[0072] Exemplarily, an outdoor object may refer to an object within a certain range of the area outside the smart door lock. In some possible implementations, the outdoor object may be a passerby passing by the area outside the smart door lock, a resident or a visiting guest who is about to unlock the door and enter the house, or an animal carrying a UWB signaling device (e.g., a cat or dog wearing a smart collar with UWB function).

[0073] It should be noted that the types of outdoor objects are not limited to the implementation methods mentioned in the above embodiments. As long as they are within a certain range of the area outside the smart door lock and hold a UWB signaling device, they can be regarded as outdoor objects. This application does not specifically limit the specific types of outdoor objects. It should be noted that the certain range of the area outside the smart door lock can be delineated according to the actual application needs of the door lock, and this application does not specifically limit the above range.

[0074] Optionally, the door lock can be a smart door lock that establishes a communication connection with a long power supply device. After receiving the unlocking instruction from the long power supply device, the door lock can perform a corresponding unlocking operation. Optionally, the unlocking instruction can also be used to instruct the door lock to perform operations such as playing a door opening prompt sound and lighting a door lock prompt light to remind outdoor objects that the door lock has been opened. It can be understood that in addition to being used to instruct the door lock to perform an unlocking operation, the unlocking instruction can also be used to instruct the door lock to perform other types of actions. The specific action type can be determined according to the specific hardware configuration of the door lock and the requirements of the application scenario, and this application will not go into details here.

[0075] It is understandable that the realization of UWB functions requires high energy consumption for precise positioning and distance measurement. In traditional technologies, smart door locks are powered by energy storage devices such as batteries. This method is difficult to maintain a long battery life, and this problem is often alleviated by actively reducing the positioning performance of the UWB module or increasing the cost to purchase a larger capacity battery. However, this application enables the long power supply device and the UWB module to be in a long power supply state, and then enables the long power supply device to communicate with the smart door lock. This can not only solve the problem that the performance of the UWB module is limited by the battery life, but also enable the UWB module to maintain long-term operation in a high-performance state, and can provide accurate positioning services, thereby realizing the convenient unlocking of the smart door lock.

[0076] In one embodiment, determining that an outdoor object is close to a door lock according to a UWB signal includes:

[0077] If it is determined based on the UWB signal that the outdoor object meets the unlocking condition, then it is determined that the outdoor object is close to the door lock; wherein the unlocking condition represents the position condition that the relative position of the outdoor object relative to the door lock needs to meet;

[0078] The relative position includes the relative distance of the terminal device of the outdoor object relative to the door lock, and the position condition includes the distance condition; and / or, the relative position includes the relative orientation of the terminal device of the outdoor object relative to the door lock, and the position condition includes the orientation condition.

[0079] The unlocking condition refers to the position condition that the relative position of the terminal device of the outdoor object relative to the smart door lock needs to meet when the outdoor object needs to control the smart door lock to perform related actions. In some embodiments, the position condition may include a distance condition and / or an orientation condition.

[0080] Exemplarily, the distance condition may be that the relative distance between the terminal device of the outdoor object and the door lock meets a certain distance requirement. For example, when the relative distance between the terminal device of the outdoor object and the door lock is less than a specified distance threshold, it is determined that the outdoor object meets the unlocking condition.

[0081] Furthermore, the orientation condition may be that the relative orientation of the terminal device of the outdoor object relative to the door lock meets a certain orientation requirement. For example, when the relative orientation of the terminal device of the outdoor object relative to the door lock is within a specified orientation angle range, it is determined that the outdoor object meets the unlocking condition.

[0082] Specifically, based on the collected UWB signal, when the relative position of the terminal device of the outdoor object meets the preset position condition, the long power supply device can determine that the outdoor object meets the unlocking condition, and thus can send an unlocking instruction to the door lock to instruct the door lock to perform the unlocking operation. In this way, the accuracy of controlling the intelligent door lock to perform the unlocking operation is improved.

[0083] In one embodiment, the distance condition may include a preset unlocking distance; before determining that the outdoor object meets the unlocking condition based on the UWB signal, the process includes:

[0084] Receiving configuration information from a terminal device; the configuration information is generated by the terminal device based on the configuration instructions obtained from the unlocking distance configuration interface;

[0085] The preset unlocking distance is obtained based on the configuration information.

[0086] Among them, when the distance between the terminal device of the outdoor object and the door lock meets the preset unlocking distance, it can be determined that the terminal device of the outdoor object meets the distance condition. It can be understood that the preset unlocking distance can be set according to the detection performance of the UWB module and the specific application scenario requirements, and the present application does not specifically limit the specific numerical range of the preset unlocking distance.

[0087] Specifically, the user can set the preset unlocking distance in the unlocking distance configuration interface on the terminal device. After the preset unlocking distance is set, the terminal device for which the user sets the preset unlocking distance will send a configuration instruction to the long power supply device. The long power supply device sets the distance condition based on the configuration information of the preset unlocking distance contained in the configuration instruction, so that when the distance of the terminal device of the outdoor object relative to the door lock meets the preset unlocking distance, it is determined that the outdoor object meets the distance condition. In the above manner, the present application enables the user to flexibly configure the unlocking distance through the unlocking distance configuration interface on the terminal device, effectively improving the flexibility and personalization of the unlocking function.

[0088] It should be noted that the terminal device for setting the preset unlocking distance and the terminal device for the outdoor object can be the same terminal device or different terminal devices. Exemplarily, the terminal device for setting the preset unlocking distance can be a terminal device with administrator privileges, such as a mobile phone, tablet computer, smart watch, etc. of the owner of the house with an unlocking distance configuration interface; the terminal device for the outdoor object can be a terminal device with UWB function, such as a mobile phone, tablet computer and smart watch of a visiting guest, or a terminal device such as a smart collar with UWB signaling function worn by a pet.

[0089] It can be understood that the terminal device of the above-mentioned outdoor object does not have to have the function of setting a preset unlocking distance, and the terminal device for setting a preset unlocking distance is not limited to the implementation method mentioned in the above-mentioned embodiment. As long as it can realize the function of configuring a preset unlocking distance, the present application does not specifically limit the specific implementation form of the terminal device for setting a preset unlocking distance.

[0090] In one embodiment, before acquiring the UWB signal collected by the UWB module, the method includes:

[0091] When the outdoor object is determined to be the unlocking object, the UWB module is started;

[0092] After sending the unlock command to the door lock, including:

[0093] Turn off the UWB module.

[0094] The unlocking object may be an outdoor object with unlocking authority of the smart door lock. Optionally, whether the outdoor object has unlocking authority may be confirmed by pre-stored key information to determine whether the outdoor object is an unlocking object. Exemplarily, the pre-stored key information may include a UWB key.

[0095] Specifically, before accurately locating an outdoor object through the UWB module, it is necessary to first determine whether the outdoor object is an unlocking object with unlocking authority. If the outdoor object is an unlocking object, the outdoor object is accurately located through the UWB module. When the outdoor object is determined to be close to the door lock based on the collected UWB signal, an unlocking instruction is sent to the door lock to instruct the smart door lock to perform the unlocking operation. In this way, the security of automatic unlocking is improved.

[0096] In addition, when the long power supply device sends an unlocking command to the smart door lock, the UWB module is turned off to stop the UWB module from accurately locating outdoor objects, thereby reducing the energy consumption of the long power supply device.

[0097] In one embodiment, if Figure 4 As shown, the long power supply device also includes an identification module; determining that the outdoor object is an unlocking object includes the following steps S402 to S404. Among them:

[0098] Step S402: obtaining an identification signal of a terminal device of an outdoor object by an identification module.

[0099] The identification module can be used to identify whether the terminal device of the outdoor object has the unlocking authority. For example, if the identification module identifies that the terminal device of the outdoor object has the unlocking authority, it outputs an identification signal of having the unlocking authority; if the identification module identifies that the terminal device of the outdoor object does not have the unlocking authority, it outputs an identification signal of not having the unlocking authority.

[0100] Exemplarily, the recognition module can set a preset period for scanning and recognition according to the environmental conditions of the area in front of the smart door lock. Optionally, when the environment of the area in front of the smart door lock is relatively complex, for example, when there are many obstacles (such as large potted plants, shoe cabinets, etc.) piled up in the area in front of the door, the preset period for scanning by the recognition module can be set to be smaller, thereby improving the recognition efficiency of the recognition module; when the environment of the area in front of the smart door lock is relatively open and flat, the preset period for scanning by the recognition module can be set to be larger, thereby reducing the power consumption of the long power supply equipment and saving electricity. Optionally, the value range of the preset period for scanning by the recognition module can include scanning once every 100~500ms.

[0101] In some possible implementations, if it is identified that the terminal device of the outdoor object has logged into an application client account with unlocking authority, the identification module can confirm that the terminal device of the outdoor object is a registered device, and correspondingly output an identification signal indicating that the terminal device has unlocking authority. In some embodiments, the registered device can be a terminal device holding pre-stored key information as described in the above embodiments, or it can be a terminal device with shared unlocking authority. Optionally, the identification module can identify whether the terminal device of the outdoor object has logged into an application client account with unlocking authority through Bluetooth.

[0102] Specifically, the identification module outputs a corresponding identification signal according to the identification result of the outdoor object, so as to determine whether the outdoor object has the unlocking authority according to the identification signal. It can be understood that the terminal device of the outdoor object is authenticated by the identification module, which effectively improves the security of the unlocking function.

[0103] Step S404: If it is determined according to the identification signal that the terminal device of the outdoor object has the unlocking authority, the outdoor object is confirmed as an unlocking object.

[0104] Specifically, when the terminal device of the outdoor object is confirmed to have unlocking authority according to the identification signal, the outdoor object identified above is determined to be the unlocking object, and the UWB module is started accordingly to accurately locate the outdoor object. The present application uses the identification module to identify the unlocking authority of the outdoor object, effectively improving the security and reliability of the unlocking function.

[0105] In one embodiment, the identification module includes a Bluetooth module; the identification signal includes a Bluetooth signal between the Bluetooth module and a terminal device within a Bluetooth scanning range;

[0106] Before obtaining the identification signal of the identification module for the terminal device of the outdoor object, it includes:

[0107] The Bluetooth module performs Bluetooth signal scanning at a preset period, and when a Bluetooth signal of a terminal device of an outdoor object is scanned, a Bluetooth connection is established with the terminal device of the outdoor object through the Bluetooth module.

[0108] Among them, the Bluetooth module can be used to scan Bluetooth signals at a preset period, and establish a Bluetooth connection with the terminal device when scanning the Bluetooth signal of the terminal device of the outdoor object, and collect the Bluetooth signal emitted by the terminal device of the outdoor object as an identification signal output.

[0109] Optionally, in the case where the UWB module has very high power consumption, it can be made to enter an extremely low power sleep mode when there is no need to measure the distance and position the terminal device, and the Bluetooth module with relatively low power consumption can be scanned at a preset period.

[0110] Specifically, the Bluetooth module can scan the designated area at a preset period. If a terminal device of an outdoor object enters the scanning area of ​​the Bluetooth module, the Bluetooth module establishes a Bluetooth connection with the terminal device of the outdoor object and outputs the Bluetooth signal sent by the terminal device as an identification signal to determine whether the outdoor object has the unlocking authority based on the Bluetooth signal. It can be understood that the use of the Bluetooth module has the advantages of low power consumption and low production cost.

[0111] In one embodiment, before obtaining the UWB signal collected by the UWB module, the following steps S502 to S504 are included. Among them:

[0112] Step S502, receiving a pairing instruction sent by the terminal device; the pairing instruction is obtained by the terminal device based on the device configuration interface.

[0113] Among them, the pairing instruction can be used to instruct the long power supply device to establish a wireless communication connection with the smart door lock.

[0114] Specifically, after completing the pairing of the long power supply device and the smart door lock in the device configuration interface of the terminal device, the terminal device will send a corresponding pairing instruction to the designated long power supply device; after receiving the pairing instruction, the long power supply device will establish a wireless communication connection with the smart door lock.

[0115] It should be noted that the terminal device for pairing the device in the device configuration interface and the terminal device of the outdoor object can be the same terminal device or different terminal devices. Exemplarily, the terminal device that sends the pairing instruction can be a terminal device with administrator privileges, such as the mobile phone, tablet computer, smart watch, etc. of the house owner that has a device configuration interface.

[0116] It can be understood that the terminal device for device pairing is not limited to the implementation methods mentioned in the above embodiments. As long as it can perform device pairing between a specified long power supply device and a specified smart door lock, this application does not specifically limit the specific implementation form of the terminal device for device pairing.

[0117] Step S504: establishing a wireless communication connection with the door lock based on the pairing instruction.

[0118] Among them, the wireless communication connection between the long power supply device and the smart door lock can be used to transmit control signals such as unlocking instructions. Optionally, the wireless communication connection between the long power supply device and the smart door lock can be a P2P (Peer-to-Peer) communication connection, through which the long power supply device and the smart door lock can achieve point-to-point communication, thereby improving system performance and stability.

[0119] Specifically, after receiving the pairing command sent by the terminal device, the long power supply device can establish a wireless communication connection with the smart door lock. It can be understood that the UWB module in the traditional technology requires the built-in power supply of the smart door lock for line power supply, which greatly limits the installation position of the UWB module and greatly affects the battery life of the smart door lock. The long power supply device with a built-in UWB module in this application establishes a wireless communication connection with the smart door lock, which gets rid of the restrictions of the smart door lock on the installation position of the UWB module, improves the flexibility of the UWB module, and does not affect the battery life of the smart door lock.

[0120] Furthermore, sending an unlock instruction to the door lock may include:

[0121] Send unlocking instructions to the door lock via wireless communication connection.

[0122] Specifically, based on the wireless communication connection between the long power supply device and the smart door lock, the long power supply device can send an unlocking instruction to the smart door lock when it is determined that an outdoor object is approaching the door lock, so as to instruct the smart door lock to perform an unlocking operation.

[0123] In a possible implementation, sending an unlock instruction to a door lock further includes the following steps:

[0124] The unlocking instruction is encrypted to obtain an encrypted unlocking instruction, and the encrypted unlocking instruction is transmitted to the door lock via a wireless communication connection; wherein the encrypted unlocking instruction can be used to instruct the door lock to decrypt to obtain a decryption instruction, so as to perform an unlocking operation based on the decryption instruction.

[0125] Exemplarily, the long power supply device may encrypt the unlocking instruction using a preset encryption algorithm to obtain an encrypted unlocking instruction. Optionally, the preset encryption algorithm may be an Advanced Encryption Standard (AES) algorithm.

[0126] Specifically, the wireless communication connection between the long power supply device and the smart door lock can be encrypted by the AES algorithm. By encrypting the wireless communication connection between the long power supply device and the smart door lock, the security and reliability of the unlocking function can be effectively improved.

[0127] In one embodiment, obtaining a UWB signal collected by a UWB module includes:

[0128] Decrypting the UWB signal using pre-stored key information to obtain a decrypted UWB signal;

[0129] The pre-stored key information includes key information corresponding to the registered terminal device; wherein the registered terminal device indicates that the terminal device has the unlocking authority.

[0130] The pre-stored key information can be used to encrypt and decrypt UWB communication between the UWB module and the terminal device of the outdoor object. Optionally, the pre-stored key information can include a UWB key, and the terminal device holding the corresponding UWB key can have the unlocking authority to open the smart door lock.

[0131] In some possible implementations, the terminal device can register the device on the long-power supply device in a preset registration method to enter the pre-stored key information into the long-power supply device. Exemplarily, the preset registration method can be to register the device through NFC (NearField Communication), so that the long-power supply device registers that the terminal device has the unlocking authority.

[0132] In some embodiments, the pre-stored key information can also be shared with other terminal devices through the application client of the terminal device (such as a mobile phone APP) to share the unlocking authority with other terminal devices. Optionally, the terminal device that can share the unlocking authority needs to have the management authority of the long power supply device and the smart door lock.

[0133] Specifically, when the long power supply device collects UWB signals through the UWB module, the collected UWB signals are decrypted through the pre-stored key information, and the terminal device of the outdoor object is accurately located based on the decrypted UWB signal. The communication between the UWB module and the terminal device of the outdoor object is encrypted and decrypted through the pre-stored key information, which effectively improves the reliability and security of UWB positioning.

[0134] In one embodiment, if Figure 5 As shown, the long power supply device further includes an image acquisition module; the method further includes the following steps S602 to S604. Among them:

[0135] Step S602: If it is determined according to the UWB signal that an outdoor object is close to the door lock, an image acquisition module is started to obtain image information.

[0136] The image acquisition module may be used to acquire and output image information. Exemplarily, the image information may be image information of a specified image acquisition area. In some possible implementations, the image acquisition area may be a certain area outside the smart door lock, and the specific situation of the outdoor object may be known based on the image information within the area. Optionally, the image acquisition module may include a camera.

[0137] Specifically, when it is determined that an outdoor object is close to the door lock according to the UWB signal, the image acquisition module of the long power supply device is started to obtain image information of a certain area outside the door. Optionally, when the long power supply device does not perform UWB positioning on the outdoor object, the image acquisition module can be turned off by default to save energy.

[0138] Step S604: in response to receiving a stream pull request from a terminal device, sending image information to the terminal device.

[0139] The stream pull request may be a request for pulling image information issued by a terminal device. Optionally, the terminal device that issues the stream pull request needs to have management authority for a long power supply device and a smart door lock.

[0140] Specifically, when the long power supply device receives a streaming request from a terminal device, it can start the image acquisition module and instruct the image acquisition module to obtain image information of the image acquisition area, and send the acquired image information to the terminal device that issued the streaming request. It can be understood that the image acquisition module allows the terminal device to easily obtain image information of the outdoor designated area, thereby improving the security of the unlocking function.

[0141] In an exemplary embodiment, Figure 6 As shown, the present application also provides a door lock opening method, which is applied to Figure 2 Taking the door lock (smart door lock) in the example as an example, the door lock is connected to a long power supply device, the long power supply device includes a UWB module, and the long power supply device and the UWB module are in a long power supply state. The method includes the following steps S702 to S704. Among them:

[0142] Step S702, receiving an unlocking instruction from the long power supply device; the unlocking instruction is sent by the long power supply device when it determines that an outdoor object is close to the door lock based on the UWB signal collected by the UWB module.

[0143] Specifically, the smart door lock can receive an unlocking instruction sent by the long power supply device when it determines that an outdoor object is approaching the door lock based on the UWB signal collected by the UWB module.

[0144] Step S704: Execute the unlocking operation according to the unlocking instruction.

[0145] Specifically, the smart door lock can perform corresponding unlocking operations according to the received unlocking instructions, so that outdoor objects can enter the room.

[0146] In some possible implementations, receiving an unlocking instruction from a long power supply device includes the following steps:

[0147] The encrypted unlocking instruction is decrypted to obtain a decrypted unlocking instruction; the decrypted unlocking instruction can be used to instruct the door lock to perform an unlocking operation.

[0148] Optionally, the encrypted unlocking instruction may be encrypted using an AES algorithm.

[0149] Specifically, when the door lock receives the encrypted unlocking instruction from the long power supply device, the encrypted unlocking instruction is decrypted to perform the unlocking operation according to the decrypted unlocking instruction.

[0150] It can be understood that the implementation solution to the problem provided by the above-mentioned door lock opening method implemented from the perspective of the door lock is similar to the implementation solution recorded in the above-mentioned door lock opening method implemented from the perspective of the long power supply device. Therefore, the specific limitations in one or more embodiments of the door lock opening method implemented from the perspective of the door lock provided below can be referred to the above limitations on the door lock opening method implemented from the perspective of the long power supply device, and will not be repeated here.

[0151] In one embodiment, the method further includes the following steps S802 to S804.

[0152] Step S802, receiving a pairing instruction sent by the terminal device; the pairing instruction is obtained by the terminal device based on the device configuration interface.

[0153] Specifically, the smart door lock can receive a pairing instruction sent by the terminal device based on the device configuration interface, and the pairing instruction can be used to establish a wireless communication connection between the long power supply device and the smart door lock.

[0154] Step S804: establishing a wireless communication connection with the long power supply device based on the pairing instruction.

[0155] Optionally, the wireless communication connection between the long power supply device and the smart door lock can be a P2P (Peer-to-Peer) communication connection. Through the P2P communication connection, point-to-point communication between the long power supply device and the smart door lock can be achieved, thereby improving system performance and stability.

[0156] Specifically, the smart door lock can establish a wireless communication connection with a designated long power supply device based on a pairing instruction, thereby realizing device pairing between the smart door lock and the long power supply device.

[0157] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0158] Based on the same inventive concept, the embodiment of the present application also provides a door lock opening device for implementing the door lock opening method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations of one or more embodiments of the door lock opening device provided below can refer to the limitations of the door lock opening method above, and will not be repeated here.

[0159] In an exemplary embodiment, Figure 7 As shown, the present application provides a door lock opening device 700, which is applied to a long power supply device, the long power supply device includes a UWB module in a long power supply state, and the device 700 includes:

[0160] UWB signal acquisition module 701, used to acquire UWB signals collected by the UWB module;

[0161] The unlocking instruction sending module 703 is used to send an unlocking instruction to the door lock if it is determined according to the UWB signal that an outdoor object is close to the door lock; the unlocking instruction is used to instruct the door lock to perform an unlocking operation.

[0162] In one embodiment, the unlocking instruction sending module 703 is further used to:

[0163] If it is determined based on the UWB signal that the outdoor object meets the unlocking condition, then it is determined that the outdoor object is close to the door lock; wherein the unlocking condition represents the position condition that the relative position of the outdoor object relative to the door lock needs to meet;

[0164] The relative position includes the relative distance of the terminal device of the outdoor object relative to the door lock, and the position condition includes the distance condition; and / or, the relative position includes the relative orientation of the terminal device of the outdoor object relative to the door lock, and the position condition includes the orientation condition.

[0165] In one embodiment, the distance condition includes a preset unlocking distance;

[0166] The unlocking instruction sending module 703 is also used for:

[0167] Receiving configuration information from a terminal device; the configuration information is generated by the terminal device based on the configuration instructions obtained from the unlocking distance configuration interface;

[0168] The preset unlocking distance is obtained based on the configuration information.

[0169] In one embodiment, the apparatus 700 further includes:

[0170] The unlocking object determination module is used to start the UWB module when the outdoor object is determined to be the unlocking object;

[0171] UWB function shutdown module is used to shut down the UWB module.

[0172] In one embodiment, the long power supply device further includes an identification module; and the unlocking object determination module is further used for:

[0173] Acquire an identification signal of a terminal device of an outdoor object by an identification module;

[0174] If it is determined according to the identification signal that the terminal device of the outdoor object has the unlocking authority, the outdoor object is confirmed as the unlocking object.

[0175] In one embodiment, the identification module includes a Bluetooth module; the identification signal includes a Bluetooth signal between the Bluetooth module and a terminal device within a Bluetooth scanning range;

[0176] The unlocking object determination module is also used for:

[0177] The Bluetooth module performs Bluetooth signal scanning at a preset period, and when a Bluetooth signal of a terminal device of an outdoor object is scanned, a Bluetooth connection is established with the terminal device of the outdoor object through the Bluetooth module.

[0178] In one embodiment, the apparatus 700 further includes:

[0179] A pairing instruction receiving module is used to receive a pairing instruction sent by a terminal device; the pairing instruction is obtained by the terminal device based on a device configuration interface;

[0180] A wireless communication connection establishing module, used to establish a wireless communication connection with the door lock based on a pairing instruction;

[0181] The unlocking instruction sending module 703 is also used to send an unlocking instruction to the door lock via a wireless communication connection.

[0182] In one embodiment, the UWB signal acquisition module 701 is further used for:

[0183] Decrypting the UWB signal using pre-stored key information to obtain a decrypted UWB signal;

[0184] The pre-stored key information includes key information corresponding to the registered terminal device; wherein the registered terminal device indicates that the terminal device has the unlocking authority.

[0185] In one embodiment, the long power supply device further includes an image acquisition module; the apparatus 700 further includes:

[0186] An image information acquisition module, used to start the image acquisition module to acquire image information if it is determined that an outdoor object is close to the door lock according to the UWB signal;

[0187] The stream pulling response module is used to send image information to the terminal device in response to receiving a stream pulling request from the terminal device.

[0188] In an exemplary embodiment, Figure 8 As shown, the present application provides a door lock opening device 800, which is applied to a door lock, the door lock is connected to a long power supply device, the long power supply device includes a UWB module in a long power supply state, and the device 800 includes:

[0189] The unlocking instruction receiving module 801 is used to receive the unlocking instruction from the long power supply device; the unlocking instruction is sent by the long power supply device when it determines that an outdoor object is close to the door lock according to the UWB signal collected by the UWB module;

[0190] The unlocking module 803 is used to perform an unlocking operation according to an unlocking instruction.

[0191] In one embodiment, the apparatus 800 further includes:

[0192] A pairing instruction receiving module is used to receive a pairing instruction sent by a terminal device; the pairing instruction is obtained by the terminal device based on a device configuration interface;

[0193] The wireless communication connection establishing module is used to establish a wireless communication connection with a long power supply device based on a pairing instruction.

[0194] Each module in the door lock opening device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0195] In an exemplary embodiment, Fig. 9 As shown, the present application provides a long power supply device 90, including a power module 902, a control module 908 connected to the power module 902, and a UWB module 906 connected to the control module 908; the power module 902 includes a mains power interface for connecting to the mains; the UWB module 906 is coupled to the power module 902, and the power module 902 and the UWB module 906 are in a long power supply state; the long power supply device 90 also includes a communication module 912 connected to the control module 908;

[0196] The control module 908 is used to obtain the UWB signal collected by the UWB module 906; and if it is determined based on the UWB signal that an outdoor object is close to the door lock, an unlocking instruction is sent to the door lock through the communication module 912; the unlocking instruction is used to instruct the door lock to perform an unlocking operation.

[0197] Among them, the control module of the long power supply device 90 and the door lock main control module of the door lock can be a microcontroller unit (MCU) or a central processing unit (CPU). In some embodiments, the control module can also be a DSP (Digital Signal Processor), FPGA (Field-Programmable Gate Array), etc., which is not limited here.

[0198] Optionally, the communication module of the long power supply device 90 may include but is not limited to Bluetooth, Thread, Zigbee, Wi-Fi and other modules, which are not limited here. It can be understood that the communication module can also take other forms, not limited to the forms mentioned in the above embodiments, as long as it can realize the wireless communication connection between the long power supply device 90 and the door lock.

[0199] In one embodiment, the long power supply device 90 further includes an identification module 910 connected to the control module 908; the identification module 910 is used to identify the terminal device representing the outdoor object and output an identification signal indicating whether the terminal device has unlocking authority.

[0200] In one embodiment, the long power supply device 90 also includes an image acquisition module 904 connected to the control module 908; the control module 908 is used to start the image acquisition module 904 when it is determined that an outdoor object is close to the door lock, and the image acquisition module 904 is used to obtain image information of the outdoor object close to the door lock.

[0201] In one embodiment, the long power supply device 90 is a smart doorbell.

[0202] For example, the long power supply device may be Fig.10 A smart doorbell installed outside a door is shown. Optionally, on the one hand, the smart doorbell can trigger the doorbell master control through the PIR module or the ultrasonic positioning module to control the smart door unlocking through the communication chip; on the other hand, when the smart doorbell detects that the unlocking object enters a certain distance in front of the door through the UWB module, the doorbell master control will also send a control signal to the smart door connected to it to instruct the smart door to unlock automatically.

[0203] Taking the UWB module using a UWB chip as an example, this application builds a UWB chip into a smart doorbell that can be powered for a long time. When the user approaches the doorbell, it will communicate with the door lock in an encrypted manner to unlock the door for the user. The embodiment of this application can provide users with a senseless unlocking experience.

[0204] In some embodiments, the long power supply device 90 may also be any one of a camera, a rolling shutter device, and a password input keyboard.

[0205] Exemplarily, the long-powered device is a long-powered camera installed outside the door. When the long-powered camera detects through the UWB module that the unlocking object enters a certain distance in front of the door, the long-powered camera sends a control signal to the smart door connected to it to instruct the door to unlock automatically.

[0206] Optionally, the long-powered device is a long-powered rolling shutter device in the garage. When the long-powered rolling shutter device detects through the UWB module that the unlocking object is within a certain distance from the garage gate, the long-powered rolling shutter device will send an unlocking command to the gate connected thereto to open the door automatically.

[0207] In addition, the long-power supply device can also be a long-power supply password input keyboard on the password lock. When the long-power supply password input keyboard detects through the UWB module that the unlocking object is within a certain distance of the password lock, the long-power supply password input keyboard will send an unlocking command to the password lock connected to it for automatic unlocking, thus providing another convenient unlocking method.

[0208] It can be understood that the type of the above-mentioned long power supply device is not limited to the implementation method mentioned in the above embodiment. As long as it can realize long power supply to the UWB module, this application will not go into details here.

[0209] In one embodiment, the present application provides a door lock opening system, the system includes a smart door lock and a long power supply device; wherein the smart door lock is in a battery-powered state, the long power supply device includes a control module and a UWB module, a power module and a communication module respectively connected to the control module; the power module includes a mains power interface for connecting to the mains power; the UWB module is coupled to the power module, and the power module and the UWB module are in a long power supply state; the control module is used to obtain the UWB signal collected by the UWB module; and if it is determined according to the UWB signal that an outdoor object is close to the door lock, an unlocking instruction is sent to the door lock through the communication module; the unlocking instruction is used to instruct the door lock to perform an unlocking operation.

[0210] Specifically, the door lock opening system may include a smart door lock (such as a separate door lock device) and a long-power supply device (such as a doorbell device). Taking the door lock device and the doorbell device, and the UWB module using the UWB chip as an example, the doorbell device can be powered by the mains, and the door lock device is powered by a battery. The UWB chip will be built into the doorbell device that can be powered by the mains, and then the UWB high frequency can be used to scan the user's location; when the user is found near the doorbell and the door lock by sensing the UWB signal, the doorbell device can communicate with the door lock device in an encrypted manner and send an unlocking command to the door lock device to unlock the door for the user. Through the embodiments of the present application, the door lock device (smart door lock) can provide users with a more stable and fast automatic unlocking experience, realize non-sensing unlocking, and at the same time ensure that it does not affect the endurance of the door lock, thereby improving the user's experience and reducing endurance anxiety.

[0211] In order to further illustrate the present application, a specific example is described below. Fig. 9 The long-power supply device 40 shown is an example of a smart doorbell capable of long-power supply, and the present application provides an exemplary specific implementation. Fig.11 , the specific implementation is as follows:

[0212] ①User and equipment preparation stage:

[0213] First, users can use terminal devices (such as mobile phones, tablet computers, etc.) to open the application client (i.e. Fig.11 The smart doorbell (i.e. Fig.11 Device side shown) and door lock device (i.e. Fig.11 The smart door lock shown in the figure) is used, and the smart door lock and the smart doorbell are paired and P2P encrypted on the device configuration interface of the application client, thereby establishing a local AES encrypted communication connection for wireless communication between the smart door lock and the smart doorbell.

[0214] Then, the user can register the UWB signaling device (such as a mobile phone / watch) on the smart doorbell through the terminal device, thereby registering the corresponding UWB key on the smart doorbell; for example, the registration method can be similar to the NFC registration method, so that the device side knows that the terminal device has the unlocking authority. Optionally, the application client account can also be associated and bound with the smart door lock and the smart doorbell, so that the account can obtain the management authority of the smart door lock and the smart doorbell.

[0215] Next, the user can set the unlocking distance in the unlocking distance configuration interface of the application client, and can also share the UWB unlocking permission of the above smart door lock with other users in the unlocking permission management interface. After the relevant parameters of the above configuration are set, they will be sent to the smart doorbell and door lock through the terminal device or the cloud, so that the parameter changes are synchronized on each end.

[0216] ②Equipment activation phase:

[0217] Since the power consumption of the UWB module is very high, when the smart doorbell does not detect any registered device, it is put into sleep mode, and the smart doorbell is kept powered for a long time through the AC power interface of the power module.

[0218] The smart doorbell uses the Bluetooth module to scan the area near the door at a cycle of every 100-500ms. If the Bluetooth device does not find any terminal device of an outdoor object entering the scanning area, it will continue to scan. When the smart doorbell detects that an outdoor object carrying a terminal device (i.e., a user device) enters the scanning range, it establishes a Bluetooth communication connection with the user device through the Bluetooth module. Based on the Bluetooth communication connection, if the smart doorbell recognizes through the Bluetooth signal that the user device has logged in to a client application account with unlocking authority, it determines that the terminal device carried by the outdoor object is a registered device, wakes up the built-in UWB module of the smart doorbell, and turns on the UWB ranging function of the UWB module to accurately locate the outdoor object.

[0219] The smart doorbell communicates with the user device through the UWB module, and continuously uses UWB signals to determine whether the registered device (such as a mobile phone) has reached the preset unlocking distance and outdoor position. During the UWB communication process, after receiving the UWB signal sent by the user device, the smart doorbell first decrypts the received UWB signal using the pre-registered UWB key, and determines whether the user device has reached the preset unlocking distance and outdoor position based on the decrypted UWB signal, and maintains continuous and accurate positioning of the user device.

[0220] If the UWB module's ranging results show that the user device has reached the preset unlocking distance and outdoor position, and is still approaching the device, the smart doorbell sends an encrypted unlocking command to the smart door lock through wireless communication (such as Thread, Zigbee, BLE and other communication modules), and simultaneously ends the UWB ranging and turns off the UWB module (enters sleep mode).

[0221] After receiving the encrypted unlocking command (i.e., the encrypted command), the smart door lock first decrypts the encrypted command to verify the security of the command. If the unlocking command is successfully verified, the smart door lock will perform the unlocking operation, allowing the user to unlock and enter the house; if the unlocking command fails to be verified, an error will be fed back through the device.

[0222] In an exemplary embodiment, an electronic device is provided. The electronic device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.12As shown. The electronic device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, 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 a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the electronic device is used to exchange information between the processor and the external device. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (Near Field Communication, NFC) or other technologies. When the computer program is executed by the processor, a door lock wake-up method is implemented. The display unit of the electronic device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the electronic device casing, or an external keyboard, touchpad or mouse.

[0223] Those skilled in the art will understand that Fig.12 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0224] In an exemplary embodiment, the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the above-mentioned door lock opening method are implemented.

[0225] In an exemplary embodiment, the present application provides a computer program product, including a computer program, which implements the steps in the above-mentioned door lock opening method when executed by a processor.

[0226] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0227] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the 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 to be within the scope of this application.

[0228] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A door lock opening method, characterized in that: Applied to a long power supply device, the long power supply device includes a UWB module, and the long power supply device and the UWB module are in a long power supply state, the method includes: Acquire the UWB signal collected by the UWB module; If it is determined according to the UWB signal that an outdoor object is close to the door lock, an unlocking instruction is sent to the door lock; the unlocking instruction is used to instruct the door lock to perform an unlocking operation.

2. The method according to claim 1, characterized in that: The determining, according to the UWB signal, that an outdoor object is close to the door lock comprises: If it is determined based on the UWB signal that the outdoor object satisfies the unlocking condition, it is determined that the outdoor object is close to the door lock; wherein the unlocking condition represents the position condition that the relative position of the outdoor object relative to the door lock needs to satisfy; The relative position includes the relative distance of the terminal device of the outdoor object relative to the door lock, and the position condition includes a distance condition; and / or, the relative position includes the relative orientation of the terminal device of the outdoor object relative to the door lock, and the position condition includes an orientation condition.

3. The method according to claim 2, characterized in that The distance condition includes a preset unlocking distance; Before determining that the outdoor object meets the unlocking condition based on the UWB signal, the method includes: Receiving configuration information from a terminal device; the configuration information is generated by the terminal device based on a configuration instruction obtained from an unlocking distance configuration interface; The preset unlocking distance is obtained based on the configuration information.

4. The method according to claim 1, characterized in that: Before acquiring the UWB signal collected by the UWB module, the method includes: When it is determined that the outdoor object is an unlocking object, starting the UWB module; After sending the unlocking instruction to the door lock, the method further comprises: Turn off the UWB module.

5. The method according to claim 4, characterized in that The long power supply device further includes an identification module; and the step of determining that the outdoor object is an unlocking object includes: Acquire an identification signal of the identification module for the terminal device of the outdoor object; If it is determined according to the identification signal that the terminal device of the outdoor object has the unlocking authority, the outdoor object is confirmed to be the unlocking object.

6. The method according to claim 5, characterized in that The identification module includes a Bluetooth module; the identification signal includes a Bluetooth signal between the Bluetooth module and the terminal device within the Bluetooth scanning range; Before acquiring the identification signal of the identification module for the terminal device of the outdoor object, the method includes: The Bluetooth module performs Bluetooth signal scanning at a preset period, and when a Bluetooth signal of a terminal device of the outdoor object is scanned, a Bluetooth connection is established with the terminal device of the outdoor object through the Bluetooth module.

7. The method according to claim 1, characterized in that Before acquiring the UWB signal collected by the UWB module, the method includes: Receiving a pairing instruction sent by a terminal device; the pairing instruction is obtained by the terminal device based on a device configuration interface; Based on the pairing instruction, establishing a wireless communication connection with the door lock; The sending an unlocking instruction to the door lock comprises: An unlocking instruction is sent to the door lock via the wireless communication connection.

8. The method according to claim 1, characterized in that The obtaining of the UWB signal collected by the UWB module includes: Decrypting the UWB signal using pre-stored key information to obtain a decrypted UWB signal; The pre-stored key information includes key information corresponding to a registered terminal device; wherein the registered terminal device indicates that the terminal device has unlocking authority.

9. The method according to claim 1, characterized in that: The long power supply device further includes an image acquisition module; the method further includes: If it is determined according to the UWB signal that an outdoor object is close to the door lock, the image acquisition module is activated to acquire image information; In response to receiving a stream pulling request from a terminal device, the image information is sent to the terminal device.

10. A door lock opening method, characterized in that: Applied to a door lock, the door lock is connected to a long power supply device, the long power supply device includes a UWB module, and the long power supply device and the UWB module are in a long power supply state, the method includes: receiving an unlocking instruction from the long power supply device; the unlocking instruction is sent by the long power supply device when it is determined that an outdoor object is close to the door lock according to the UWB signal collected by the UWB module; According to the unlocking instruction, an unlocking operation is performed.

11. The method according to claim 10, characterized in that The method further comprises: Receiving a pairing instruction sent by a terminal device; the pairing instruction is obtained by the terminal device based on a device configuration interface; Based on the pairing instruction, a wireless communication connection is established with the long power supply device.

12. A door lock opening device, characterized in that: Applied to a long power supply device, the long power supply device includes a UWB module in a long power supply state, and the device includes: A UWB signal acquisition module, used to acquire the UWB signal collected by the UWB module; The unlocking instruction sending module is used to send an unlocking instruction to the door lock if it is determined according to the UWB signal that an outdoor object is close to the door lock; the unlocking instruction is used to instruct the door lock to perform an unlocking operation.

13. A long power supply device, characterized in that: It includes a power module, a control module connected to the power module, and a UWB module connected to the control module; the power module includes a mains power interface for connecting to the mains; the UWB module is coupled to the power module, and the power module and the UWB module are in a long power supply state; the long power supply device also includes a communication module connected to the control module; The control module is used to obtain the UWB signal collected by the UWB module; and if it is determined according to the UWB signal that an outdoor object is close to the door lock, an unlocking instruction is sent to the door lock through the communication module; the unlocking instruction is used to instruct the door lock to perform an unlocking operation.

14. The long power supply device according to claim 13, characterized in that: It also includes an identification module connected to the control module; the identification module is used to identify the terminal device representing the outdoor object and output an identification signal whether the terminal device has the unlocking authority.

15. The long power supply device according to claim 13, characterized in that: It also includes an image acquisition module connected to the control module; the control module is used to start the image acquisition module when it is determined that an outdoor object is close to the door lock, and the image acquisition module is used to obtain image information of the outdoor object close to the door lock.

16. The long power supply device according to any one of claims 13 to 15, characterized in that: The long power supply device is a smart doorbell.

17. A door lock opening system, characterized in that: The system includes a smart door lock and a long power supply device; wherein the smart door lock is in a battery-powered state, and the long power supply device includes a control module and a UWB module, a power module and a communication module respectively connected to the control module; the power module includes a mains power interface for connecting to the mains power; the UWB module is coupled to the power module, and the power module and the UWB module are in a long power supply state; the control module is used to obtain a UWB signal collected by the UWB module; and if it is determined according to the UWB signal that an outdoor object is close to the door lock, an unlocking instruction is sent to the door lock through the communication module; the unlocking instruction is used to instruct the door lock to perform an unlocking operation.

18. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.

19. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.