Automatic unlocking method and system of intelligent lock in emergency, intelligent lock and storage medium

By integrating emergency detection module and wireless communication functions into the smart lock, automatic lock unlocking is achieved in emergencies, solving the problem that existing smart locks cannot be unlocked automatically, and improving the reliability and safety of escape and rescue.

CN120472566APending Publication Date: 2025-08-12SHENZHEN KAADAS INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510553191.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-29
Publication Date
2025-08-12

AI Technical Summary

Technical Problem

The existing smart lock cannot be unlocked automatically in an emergency situation, resulting in obstacles to escape and rescue, posing safety hazards.

Method used

By installing an emergency detection module to detect emergency situations, such as earthquakes, fires, and gas leakage, send early warning signals to the intelligent lock control module, the control module determines whether there is an emergency and sends unlocking instructions, and at the same time, through the wireless communication module, the electronic lock body performs unlocking.

Benefits of technology

It realizes automatic unlocking of smart locks in emergency situations, improves the reliability of escape and rescue, has a variety of emergency detection and processing capabilities, supports remote control, and enhances the timeliness and accuracy of unlocking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120472566A_ABST
    Figure CN120472566A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic unlocking method and system for an intelligent lock in emergency, the intelligent lock and a storage medium, and the method comprises the steps: detecting target emergency information through an emergency detection module, and sending a target early warning signal to an intelligent lock control module when the detected target emergency information reaches a preset condition; the intelligent lock control module judges whether an emergency situation exists or not according to the target early warning signal, and if the emergency situation exists, the intelligent lock control module sends an unlocking instruction to the electronic lock body and sends alarm information to a mobile terminal of a main user through the wireless communication module; and the electronic lock body executes unlocking according to the unlocking instruction. The intelligent lock has the functions of detecting emergencies such as earthquakes, fire disasters and gas leakage, can be automatically unlocked when abnormal conditions are detected, and meanwhile, sends alarm information to a user to open a life channel for escape and rescue, so that the safety and the reliability of the intelligent lock are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart locks, and in particular to a method and system for automatically unlocking a smart lock in an emergency, a smart lock, and a computer-readable storage medium. Background Art

[0002] With the development of technology and the increasing awareness of safety, smart locks have gradually entered thousands of households. While existing smart locks provide convenience, they also pose some safety risks. Because smart locks are electronic devices, in emergency situations such as fires and earthquakes, the circuits may fail and the lock may not be unlocked, hindering the escape and rescue of people inside.

[0003] Most smart locks currently on the market use traditional unlocking methods such as fingerprints, passwords, and card swipes. These methods are limited, making remote unlocking impossible and unable to automatically unlock in an emergency. If the electronic function of a smart lock fails, the user can only unlock it with a backup key, but most users often cannot find or carry a backup key with them, posing a significant safety hazard when escaping.

[0004] Therefore, the existing technology still needs to be improved and developed. Summary of the Invention

[0005] The main purpose of the present invention is to provide a method, system, smart lock and computer-readable storage medium for automatic unlocking of smart locks in emergency situations, aiming to solve the problem in the prior art that smart locks cannot be automatically unlocked in emergency situations, hindering the escape and rescue of people indoors and posing a huge safety hazard to escape.

[0006] To achieve the above object, the present invention provides a method for automatically unlocking a smart lock in an emergency, the method comprising the following steps:

[0007] Detect target emergency information through the emergency detection module, and when the detected target emergency information meets the preset conditions, send a target warning signal to the smart lock control module;

[0008] The smart lock control module determines whether there is an emergency situation based on the target warning signal. If there is an emergency situation, the smart lock control module sends an unlocking instruction to the electronic lock body and simultaneously sends an alarm message to the mobile terminal of the main user through the wireless communication module;

[0009] The electronic lock body is unlocked according to the unlocking instruction.

[0010] Optionally, the method for automatically unlocking a smart lock in an emergency situation further comprises:

[0011] The smart lock control module sends a power supply instruction to the power control module before sending an unlocking instruction to the motor module of the electronic lock body;

[0012] After receiving the power supply instruction, the power control module turns on the power supply switch to connect the motor module circuit;

[0013] When the circuit is connected, the smart lock control module sends an unlocking instruction to the motor module, and the motor module drives the electronic lock body to unlock after receiving the unlocking instruction.

[0014] Optionally, in the method for automatically unlocking a smart lock in an emergency, the emergency detection module includes an earthquake detection module, a fire detection module, and a gas detection module;

[0015] The target emergency information includes earthquake information, fire information, smoke concentration, and gas concentration;

[0016] The target early warning signals include earthquake signals, fire signals and gas signals.

[0017] Optionally, the method for automatically unlocking a smart lock in an emergency situation, wherein the emergency detection module detects target emergency information, and when the detected target emergency information meets a preset condition, sends a target warning signal to the smart lock control module, specifically includes:

[0018] Detecting earthquake information through the earthquake detection module, and sending an earthquake signal to the smart lock control module when an earthquake is detected;

[0019] The fire detection module detects fire information and smoke concentration, and sends a fire signal to the smart lock control module when it is detected that the temperature exceeds a preset temperature threshold or the smoke concentration exceeds a preset smoke threshold;

[0020] The gas detection module detects the gas concentration in the indoor environment, and when it is detected that the gas concentration exceeds a preset gas threshold, a gas signal is sent to the smart lock control module.

[0021] Optionally, the method for automatically unlocking a smart lock in an emergency situation, wherein the smart lock control module determines whether an emergency situation exists based on the target warning signal, and if an emergency situation exists, the smart lock control module sends an unlocking instruction to the electronic lock body and simultaneously sends an alarm message to the mobile terminal of the primary user through the wireless communication module, specifically includes:

[0022] The smart lock control module determines whether an earthquake occurs based on the earthquake signal. When the earthquake is confirmed to occur, the smart lock control module sends an unlocking instruction to the electronic lock body and simultaneously sends an earthquake alarm message to the mobile terminal of the main user through the wireless communication module.

[0023] The smart lock control module determines whether there is a fire based on the fire signal. When the fire is confirmed to exist, the smart lock control module sends an unlocking command to the electronic lock body and simultaneously sends a fire alarm message to the mobile terminal of the main user through the wireless communication module;

[0024] The smart lock control module determines whether there is a gas leak based on the gas signal. When the gas leak is confirmed for the second time, the smart lock control module sends an unlocking command to the electronic lock body and simultaneously sends a gas leak alarm message to the mobile terminal of the main user through the wireless communication module.

[0025] Optionally, the method for automatically unlocking a smart lock in an emergency situation further comprises:

[0026] A remote control function is integrated into the smart lock control module, and two-way communication is performed with the main user's mobile terminal through the wireless communication module to achieve remote monitoring and control of the status of the smart lock.

[0027] In addition, to achieve the above-mentioned purpose, the present invention further provides a smart lock automatic unlocking system in an emergency, wherein the smart lock automatic unlocking system in an emergency comprises:

[0028] An emergency detection module is used to detect target emergency information and send a target warning signal to the smart lock control module when the detected target emergency information meets a preset condition;

[0029] The smart lock control module is used to determine whether an emergency situation exists based on the target warning signal. If an emergency situation exists, it sends an unlocking instruction to the electronic lock body and simultaneously sends an alarm message to the mobile terminal of the main user through the wireless communication module;

[0030] An electronic lock body, used for unlocking according to the unlocking instruction;

[0031] The wireless communication module is connected to the smart lock control module and is used to wirelessly communicate with the mobile terminal of the main user and forward the alarm information sent by the smart lock control module to the mobile terminal of the main user.

[0032] Optionally, in the smart lock automatic unlocking system in emergency situations, the electronic lock body further comprises a motor module;

[0033] The smart lock control module also includes: a power control module for controlling the power switch of the motor module;

[0034] Before sending an unlocking instruction to the motor module, the smart lock control module first sends a power supply instruction to the power supply control module. After receiving the power supply instruction, the power supply control module turns on the power switch to connect the motor module circuit. When the circuit is connected, the smart lock control module sends an unlocking instruction to the motor module. After receiving the unlocking instruction, the motor module drives the electronic lock body to unlock.

[0035] In addition, to achieve the above-mentioned purpose, the present invention also provides a smart lock, wherein the smart lock includes: a memory, a processor, and a smart lock automatic unlocking program in an emergency situation stored on the memory and runnable on the processor. When the smart lock automatic unlocking program in an emergency situation is executed by the processor, the steps of the smart lock automatic unlocking method in an emergency situation as described above are implemented.

[0036] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a smart lock automatic unlocking program in an emergency situation, and when the smart lock automatic unlocking program in an emergency situation is executed by the processor, the steps of the smart lock automatic unlocking method in an emergency situation as described above are implemented.

[0037] In the present invention, an emergency detection module detects target emergency information. When the detected target emergency information meets preset conditions, a target warning signal is sent to the smart lock control module. The smart lock control module determines whether an emergency situation exists based on the target warning signal. If an emergency situation exists, the smart lock control module sends an unlocking instruction to the electronic lock body and simultaneously sends an alarm message to the main user's mobile terminal via the wireless communication module. The electronic lock body executes the unlocking according to the unlocking instruction. The smart lock of the present invention has the function of detecting emergency situations such as earthquakes, fires, and gas leaks, and automatically unlocks when an anomaly is detected, while sending an alarm message to the user, opening a life channel for escape and rescue, thereby improving the safety and reliability of the smart lock. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 It is a flow chart of a preferred embodiment of the method for automatically unlocking a smart lock in an emergency situation of the present invention;

[0039] Figure 2 This is a workflow diagram of the automatic unlocking of a smart lock in a preferred embodiment of the method for automatic unlocking of a smart lock in an emergency situation of the present invention;

[0040] Figure 3 This is a structural diagram of a preferred embodiment of the intelligent lock automatic unlocking system in an emergency situation of the present invention;

[0041] Figure 4 This is a structural diagram of a preferred embodiment of the smart lock of the present invention. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solutions and advantages of the present invention more clear and distinct, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0043] The existing technology has problems such as the inability to automatically unlock in an emergency, a single unlocking method, inaccurate alarm signal processing strategy, insufficient detection accuracy of human proximity sensors, and a lack of comprehensive detection and processing capabilities for emergencies such as earthquakes, fires, and gas leaks.

[0044] The automatic unlocking method of the smart lock in an emergency situation according to the preferred embodiment of the present invention is as follows: Figure 1 As shown, the method for automatically unlocking a smart lock in an emergency situation includes the following steps:

[0045] Step S10: Detect target emergency information through the emergency detection module, and when the detected target emergency information meets the preset conditions, send a target warning signal to the smart lock control module.

[0046] Specifically, an emergency detection module for detecting target emergency information is pre-installed on the smart lock, and the emergency detection module includes an earthquake detection module, a fire detection module and a gas detection module (that is, the emergency detection module is a three-in-one emergency detection module); the target emergency information includes earthquake information, fire information and smoke concentration, as well as gas concentration; the target early warning signal includes earthquake signal, fire signal and gas signal.

[0047] The earthquake information is detected by the earthquake detection module (for example, the earthquake detection module adopts the earthquake detection sensor model GS-1000), and when an earthquake is detected, an earthquake signal is sent to the smart lock control module; the fire detection module detects fire information and smoke concentration, and when it is detected that the temperature exceeds the preset temperature threshold or the smoke concentration exceeds the preset smoke threshold, a fire signal is sent to the smart lock control module. The fire detection module includes a temperature sensor, a smoke sensor and an analog signal processing module. For example, the temperature sensor adopts a thermal resistance temperature sensor with a detection range of -40°C to 150°C. When the temperature exceeds 80°C (the preset temperature threshold), a fire signal is sent to the smart lock control module. The control module sends a high temperature alarm signal. The smoke sensor is an ion smoke sensor, model MQ-2, which is used to detect the smoke concentration. When the smoke depth reaches 0.5dB / m (preset smoke threshold), a fire alarm signal is sent to the smart lock control module; the gas concentration in the indoor environment is detected by the gas detection module, and when the gas concentration is detected to exceed the preset gas threshold, a gas signal is sent to the smart lock control module. For example, the gas detection module uses a semiconductor gas sensor MQ-2, which is used to detect the gas concentration in the indoor environment. When the gas concentration is detected to exceed 300ppm (preset gas threshold), a gas leak signal is sent to the smart lock control module.

[0048] Step S20: The smart lock control module determines whether an emergency situation exists based on the target warning signal. If an emergency situation exists, the smart lock control module sends an unlocking command to the electronic lock body and simultaneously sends an alarm message to the mobile terminal of the main user through the wireless communication module.

[0049] Specifically, when the emergency detection module detects any of the occurrence of earthquake, fire, or gas leakage, it immediately sends a target warning signal to the smart lock control module (which can be composed of an STM32F103 single chip). The smart lock control module is used to receive the target warning signal sent by the emergency detection module, and determine whether it is an emergency situation based on the received target warning signal (secondary confirmation). When it is determined that an emergency situation exists, the smart lock control module sends an unlocking command to the electronic lock body, and at the same time sends an alarm message to the main user's mobile terminal through the wireless communication module (an ESP8266 WiFi module can be used).

[0050] Among them, the smart lock control module determines whether there is an earthquake based on the earthquake signal. When it is confirmed for the second time that there is an earthquake, the smart lock control module sends an unlocking command to the electronic lock body and simultaneously sends an earthquake alarm information to the main user's mobile terminal through the wireless communication module.

[0051] Among them, the smart lock control module determines whether there is a fire based on the fire signal. When it is confirmed for the second time that there is a fire, the smart lock control module sends an unlocking command to the electronic lock body and simultaneously sends a fire alarm message to the main user's mobile terminal through the wireless communication module.

[0052] Among them, the smart lock control module determines whether there is a gas leak based on the gas signal. When the gas leak is confirmed for the second time, the smart lock control module sends an unlocking command to the electronic lock body, and at the same time sends a gas leak alarm information to the main user's mobile terminal through the wireless communication module.

[0053] In addition, a remote control function is integrated into the smart lock control module, and two-way communication is carried out with the main user's mobile terminal through the wireless communication module to realize remote monitoring and control of the status of the smart lock (for example, remote unlocking, which solves the problem that the existing smart lock has a single unlocking method and cannot realize remote unlocking. Once the electronic function fails, the user can only unlock the lock with a spare key, but most users often cannot find or do not carry a spare key with them, which poses a great safety hazard to escape).

[0054] Step S30: The electronic lock body is unlocked according to the unlocking instruction.

[0055] Specifically, after the smart lock control module sends an unlocking instruction to the electronic lock body, the electronic lock body (the electronic lock body is composed of a mechanical lock driven by a motor) is used to execute the unlocking instruction sent by the smart lock control module to achieve automatic unlocking.

[0056] Furthermore, the smart lock control module also includes a power control module (composed of a relay, used to control the power switch of the motor module). Before sending an unlock command to the motor module of the electronic lock body, the smart lock control module first sends a power supply command to the power control module. After receiving the power supply command, the power control module turns on the power switch to connect the motor module circuit. When the circuit is connected, the smart lock control module sends an unlock command to the motor module. After receiving the unlock command, the motor module drives the electronic lock body to unlock. By adding the power control module, the system's anti-interference ability is improved, ensuring that the lock will not be automatically unlocked due to external interference, and improving user safety.

[0057] like Figure 2As shown, an emergency monitoring module (integrated with an earthquake detection module, a fire detection module and a gas detection module) is installed on the smart lock, and the emergency monitoring module is in working condition. When an emergency (such as an earthquake, a fire, or a gas leak) occurs, the emergency monitoring module sends early warning information (earthquake signal, fire signal and gas signal) to the smart lock control module. The smart lock control module confirms the early warning information. At the same time, the smart lock control module sends an alarm message to the main user's mobile terminal through the wireless communication module. If the smart lock control module confirms the alarm, the smart lock control module sends a power supply instruction to the power control module. The power control module turns on the power switch, so that the motor module circuit is connected. The smart lock control module sends an unlocking instruction to the motor module, and the motor module of the electronic lock body drives the electronic lock body to unlock according to the unlocking instruction.

[0058] For example, in a fire scenario: there is a 10-year-old child at home, and the parents do not allow the child to go out alone for his safety. The smart lock is set to lock indoors (the door cannot be opened indoors). When a fire breaks out suddenly, the smart lock can detect the fire signal through the fire detection module and send it to the smart lock control module. The smart lock control module determines whether there is an emergency based on the fire signal. If there is indeed a fire emergency, the smart lock control module sends an unlocking command to the electronic lock body to automatically open the door, providing an escape route for subsequent rescue and the child's going out.

[0059] Beneficial effects of the present invention:

[0060] (1) The smart lock can automatically unlock in an emergency, effectively solving the problem that the existing smart lock cannot automatically unlock, providing a life channel for indoor occupants to escape and be rescued, and improving the safety and reliability of the smart lock.

[0061] (2) By integrating earthquake detection module, fire detection module and gas detection module, comprehensive detection and processing of emergency situations such as earthquake, fire, gas leakage, etc. are achieved, fully ensuring user safety.

[0062] (3) The system adopts remote notification and automatic unlocking strategies, which can automatically unlock the door without human intervention, thus improving the timeliness and intelligence level of unlocking and effectively avoiding the risk of users being unable to unlock the door in time.

[0063] (4) The emergency detection module has high detection accuracy, can effectively identify emergency situations and send unlocking signals in a timely manner, avoiding false alarms or missed alarms, and ensuring the accuracy of unlocking.

[0064] (5) The smart lock system integrates multiple functional modules and has diversified unlocking methods. It can not only unlock remotely, but also unlock automatically in an emergency, meeting the unlocking needs in different scenarios and improving the practicality and convenience of smart locks.

[0065] Furthermore, if Figure 3 As shown, based on the above-mentioned smart lock automatic unlocking method in an emergency situation, the present invention also provides a smart lock automatic unlocking system in an emergency situation, wherein the smart lock automatic unlocking system in an emergency situation includes:

[0066] An emergency detection module is used to detect target emergency information and send a target warning signal to the smart lock control module when the detected target emergency information meets a preset condition;

[0067] The smart lock control module is used to determine whether an emergency situation exists based on the target warning signal. If an emergency situation exists, it sends an unlocking instruction to the electronic lock body and simultaneously sends an alarm message to the mobile terminal of the main user through the wireless communication module;

[0068] An electronic lock body, used for unlocking according to the unlocking instruction;

[0069] The wireless communication module is connected to the smart lock control module and is used to wirelessly communicate with the main user's mobile terminal, send emergency information, and forward the alarm information sent by the smart lock control module to the main user's mobile terminal.

[0070] The emergency detection module includes an earthquake detection module, a fire detection module and a gas detection module.

[0071] Among them, the smart lock control module also includes: a power control module, which is used to control the power switch of the motor module.

[0072] The electronic lock body further includes a motor module for driving the electronic lock body to unlock according to an unlocking instruction.

[0073] Before sending an unlocking instruction to the motor module, the smart lock control module first sends a power supply instruction to the power supply control module. After receiving the power supply instruction, the power supply control module turns on the power switch to connect the motor module circuit. When the circuit is connected, the smart lock control module sends an unlocking instruction to the motor module. After receiving the unlocking instruction, the motor module drives the electronic lock body to unlock.

[0074] Furthermore, if Figure 4 As shown, based on the above-mentioned method and system for automatic unlocking of a smart lock in an emergency situation, the present invention also provides a smart lock accordingly, and the smart lock includes a processor 10, a memory 20 and a display 30. Figure 4 Only some of the components of the smart lock are shown, but it should be understood that it is not required to implement all of the shown components, and more or fewer components may be implemented instead.

[0075] In some embodiments, the memory 20 can be the internal storage unit of the smart lock, such as the hard disk or memory of the smart lock. In other embodiments, the memory 20 can also be the external storage device of the smart lock, such as the plug-in hard disk equipped on the smart lock, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. Furthermore, the memory 20 can also include both the internal storage unit of the smart lock and an external storage device. The memory 20 is used to store application software and various types of data installed in the smart lock, such as the program code for installing the smart lock. The memory 20 can also be used to temporarily store data that has been output or is to be output. In one embodiment, the memory 20 stores a smart lock automatic unlocking program 40 in an emergency situation, and the smart lock automatic unlocking program 40 in an emergency situation can be executed by the processor 10, thereby realizing the smart lock automatic unlocking method in an emergency situation in this application.

[0076] In some embodiments, the processor 10 can be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 20, such as executing the automatic unlocking method of the smart lock in an emergency situation.

[0077] In some embodiments, the display 30 can be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. The display 30 is used to display information on the smart lock and to display a visual user interface. The processor 10, memory 20, and display 30 of the smart lock communicate with each other via a system bus.

[0078] In one embodiment, when the processor 10 executes the smart lock automatic unlocking program 40 in the memory 20 in an emergency situation, the following steps are implemented:

[0079] Detect target emergency information through the emergency detection module, and when the detected target emergency information meets the preset conditions, send a target warning signal to the smart lock control module;

[0080] The smart lock control module determines whether there is an emergency situation based on the target warning signal. If there is an emergency situation, the smart lock control module sends an unlocking instruction to the electronic lock body and simultaneously sends an alarm message to the mobile terminal of the main user through the wireless communication module;

[0081] The electronic lock body is unlocked according to the unlocking instruction.

[0082] The method for automatically unlocking a smart lock in an emergency also includes:

[0083] The smart lock control module sends a power supply instruction to the power control module before sending an unlocking instruction to the motor module of the electronic lock body;

[0084] After receiving the power supply instruction, the power control module turns on the power supply switch to connect the motor module circuit;

[0085] When the circuit is connected, the smart lock control module sends an unlocking instruction to the motor module, and the motor module drives the electronic lock body to unlock after receiving the unlocking instruction.

[0086] Wherein, the emergency detection module includes an earthquake detection module, a fire detection module and a gas detection module;

[0087] The target emergency information includes earthquake information, fire information, smoke concentration, and gas concentration;

[0088] The target early warning signals include earthquake signals, fire signals and gas signals.

[0089] The emergency detection module detects target emergency information, and when the detected target emergency information meets the preset conditions, sends a target warning signal to the smart lock control module, specifically including:

[0090] Detecting earthquake information through the earthquake detection module, and sending an earthquake signal to the smart lock control module when an earthquake is detected;

[0091] The fire detection module detects fire information and smoke concentration, and sends a fire signal to the smart lock control module when it is detected that the temperature exceeds a preset temperature threshold or the smoke concentration exceeds a preset smoke threshold;

[0092] The gas detection module detects the gas concentration in the indoor environment, and when it is detected that the gas concentration exceeds a preset gas threshold, a gas signal is sent to the smart lock control module.

[0093] The smart lock control module determines whether an emergency situation exists based on the target warning signal. If an emergency situation exists, the smart lock control module sends an unlocking command to the electronic lock body and simultaneously sends an alarm message to the mobile terminal of the main user through the wireless communication module, specifically including:

[0094] The smart lock control module determines whether an earthquake occurs based on the earthquake signal. When the earthquake is confirmed to occur, the smart lock control module sends an unlocking instruction to the electronic lock body and simultaneously sends an earthquake alarm message to the mobile terminal of the main user through the wireless communication module.

[0095] The smart lock control module determines whether there is a fire based on the fire signal. When the fire is confirmed to exist, the smart lock control module sends an unlocking command to the electronic lock body and simultaneously sends a fire alarm message to the mobile terminal of the main user through the wireless communication module;

[0096] The smart lock control module determines whether there is a gas leak based on the gas signal. When the gas leak is confirmed for the second time, the smart lock control module sends an unlocking command to the electronic lock body and simultaneously sends a gas leak alarm message to the mobile terminal of the main user through the wireless communication module.

[0097] The method for automatically unlocking a smart lock in an emergency also includes:

[0098] A remote control function is integrated into the smart lock control module, and two-way communication is performed with the main user's mobile terminal through the wireless communication module to achieve remote monitoring and control of the status of the smart lock.

[0099] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a smart lock automatic unlocking program in an emergency situation, and when the smart lock automatic unlocking program in an emergency situation is executed by a processor, the steps of the smart lock automatic unlocking method in an emergency situation as described above are implemented.

[0100] In summary, the present invention provides a method, system, smart lock and computer-readable storage medium for automatically unlocking a smart lock in an emergency situation. The method comprises: detecting target emergency information through an emergency detection module, and when the detected target emergency information reaches a preset condition, sending a target warning signal to the smart lock control module; the smart lock control module determines whether an emergency situation exists based on the target warning signal, and if an emergency situation exists, the smart lock control module sends an unlocking instruction to the electronic lock body, and simultaneously sends an alarm message to the mobile terminal of the main user through the wireless communication module; the electronic lock body executes the unlocking according to the unlocking instruction. The smart lock of the present invention has the function of detecting emergency situations such as earthquakes, fires, and gas leaks, and automatically unlocks when an abnormality is detected, and sends an alarm message to the user at the same time, opening a life channel for escape and rescue, thereby improving the safety and reliability of the smart lock.

[0101] It should be noted that, in this document, the terms "include", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or smart lock comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or smart lock. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or smart lock comprising the element.

[0102] Of course, those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing related hardware (such as a processor, controller, etc.) through a computer program. The program can be stored in a computer-readable storage medium that can be read by a computer. When the program is executed, it can include the processes in the above-described method embodiments. The computer-readable storage medium can be a memory, a magnetic disk, an optical disk, etc.

[0103] It should be understood that the application of the present invention is not limited to the above examples. For those skilled in the art, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A method for automatically unlocking a smart lock in an emergency, characterized in that: The method for automatically unlocking a smart lock in an emergency situation includes: Detect target emergency information through the emergency detection module, and when the detected target emergency information meets the preset conditions, send a target warning signal to the smart lock control module; The smart lock control module determines whether there is an emergency situation based on the target warning signal. If there is an emergency situation, the smart lock control module sends an unlocking instruction to the electronic lock body and simultaneously sends an alarm message to the mobile terminal of the main user through the wireless communication module; The electronic lock body is unlocked according to the unlocking instruction.

2. The method for automatically unlocking a smart lock in an emergency according to claim 1, characterized in that: The smart lock automatic unlocking method in an emergency situation also includes: The smart lock control module sends a power supply instruction to the power control module before sending an unlocking instruction to the motor module of the electronic lock body; After receiving the power supply instruction, the power control module turns on the power supply switch to connect the motor module circuit; When the circuit is connected, the smart lock control module sends an unlocking instruction to the motor module, and the motor module drives the electronic lock body to unlock after receiving the unlocking instruction.

3. The method for automatically unlocking a smart lock in an emergency according to claim 1, characterized in that: The emergency detection module includes an earthquake detection module, a fire detection module and a gas detection module; The target emergency information includes earthquake information, fire information, smoke concentration, and gas concentration; The target early warning signals include earthquake signals, fire signals and gas signals.

4. The method for automatically unlocking a smart lock in an emergency according to claim 3, characterized in that: The emergency detection module detects target emergency information, and when the detected target emergency information meets a preset condition, sends a target warning signal to the smart lock control module, specifically including: Detecting earthquake information through the earthquake detection module, and sending an earthquake signal to the smart lock control module when an earthquake is detected; The fire detection module detects fire information and smoke concentration, and sends a fire signal to the smart lock control module when it is detected that the temperature exceeds a preset temperature threshold or the smoke concentration exceeds a preset smoke threshold; The gas detection module detects the gas concentration in the indoor environment, and when it is detected that the gas concentration exceeds a preset gas threshold, a gas signal is sent to the smart lock control module.

5. The method for automatically unlocking a smart lock in an emergency according to claim 4, characterized in that: The smart lock control module determines whether there is an emergency situation based on the target warning signal. If there is an emergency situation, the smart lock control module sends an unlocking instruction to the electronic lock body and simultaneously sends an alarm message to the mobile terminal of the main user through the wireless communication module, specifically including: The smart lock control module determines whether an earthquake occurs based on the earthquake signal. When the earthquake is confirmed to occur, the smart lock control module sends an unlocking instruction to the electronic lock body and simultaneously sends an earthquake alarm message to the mobile terminal of the main user through the wireless communication module. The smart lock control module determines whether there is a fire based on the fire signal. When the fire is confirmed to exist, the smart lock control module sends an unlocking command to the electronic lock body and simultaneously sends a fire alarm message to the mobile terminal of the main user through the wireless communication module; The smart lock control module determines whether there is a gas leak based on the gas signal. When the gas leak is confirmed for the second time, the smart lock control module sends an unlocking command to the electronic lock body and simultaneously sends a gas leak alarm message to the mobile terminal of the main user through the wireless communication module.

6. The method for automatically unlocking a smart lock in an emergency according to claim 1, characterized in that: The smart lock automatic unlocking method in an emergency situation also includes: A remote control function is integrated into the smart lock control module, and two-way communication is performed with the main user's mobile terminal through the wireless communication module to achieve remote monitoring and control of the status of the smart lock.

7. An intelligent lock automatic unlocking system in emergency situations, characterized by: The smart lock automatic unlocking system in an emergency situation includes: An emergency detection module is used to detect target emergency information and send a target warning signal to the smart lock control module when the detected target emergency information meets a preset condition; The smart lock control module is used to determine whether an emergency situation exists based on the target warning signal. If an emergency situation exists, it sends an unlocking instruction to the electronic lock body and simultaneously sends an alarm message to the mobile terminal of the main user through the wireless communication module; An electronic lock body, used for unlocking according to the unlocking instruction; The wireless communication module is connected to the smart lock control module and is used to wirelessly communicate with the mobile terminal of the main user and forward the alarm information sent by the smart lock control module to the mobile terminal of the main user.

8. The smart lock automatic unlocking system in emergency situations according to claim 7, characterized in that: The electronic lock body also includes a motor module; The smart lock control module also includes: a power control module for controlling the power switch of the motor module; Before sending an unlocking instruction to the motor module, the smart lock control module first sends a power supply instruction to the power supply control module. After receiving the power supply instruction, the power supply control module turns on the power switch to connect the motor module circuit. When the circuit is connected, the smart lock control module sends an unlocking instruction to the motor module. After receiving the unlocking instruction, the motor module drives the electronic lock body to unlock.

9. A smart lock, characterized in that: The smart lock includes: a memory, a processor, and a smart lock automatic unlocking program in an emergency situation stored in the memory and runnable on the processor. When the smart lock automatic unlocking program in an emergency situation is executed by the processor, the steps of the smart lock automatic unlocking method in an emergency situation as described in any one of claims 1-6 are implemented.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a smart lock automatic unlocking program in an emergency situation. When the smart lock automatic unlocking program in an emergency situation is executed by the processor, the steps of the smart lock automatic unlocking method in an emergency situation as described in any one of claims 1-6 are implemented.