Intelligent door lock control method and intelligent door lock

By introducing indoor wireless chips into the smart door lock and controlling it in the access point mode when the communication connection is abnormal, the communication failure problem caused by the wire harness of the smart door lock is solved, and the effect of improving the unlocking success rate in offline state is achieved.

CN119992694APending Publication Date: 2025-05-13TP-LINK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510147755.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-10
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

When the wiring harness of the smart door lock is loose or disconnected, the indoor panel and the outdoor panel cannot communicate normally, and the lock unlocking command cannot be received, and even the entire outdoor panel cannot be powered, resulting in the inability to remote unlocking.

Method used

By introducing indoor wireless chips into the smart door lock, and when the communication connection between the indoor main control chip and the outdoor main control chip is abnormal, the indoor wireless chip is controlled in the access point mode, so that the mobile terminal can access the local area network of the indoor wireless chip, and realize communication with the smart door lock without connecting to the external network.

Benefits of technology

When the smart door lock fails, it can work offline, improve the unlocking success rate, enhance ease of use and practicality, and avoid violent door breaking caused by inability to unlock.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119992694A_ABST
    Figure CN119992694A_ABST
Patent Text Reader

Abstract

The invention provides an intelligent door lock control method and an intelligent door lock. Relates to the technical field of intelligent locks. In view of the problem that an intelligent door lock needs to be always in a networking state and cannot be unlocked when a fault occurs, the intelligent door lock control method provided by the invention comprises the following steps: under the condition that first communication connection between an indoor main control chip and an outdoor main control chip is abnormal, the indoor main control chip controls an indoor wireless chip to be in an access point mode; in the access point mode, establishing a second communication connection with the mobile terminal, and sending configuration information to the mobile terminal based on the second communication connection; the configuration information is used for indicating the mobile terminal to display a password input interface; a door lock password sent by the mobile terminal is received and verified, and unlocking is controlled after verification is passed; the door lock password is obtained by the mobile terminal based on the password input interface. According to the embodiment of the invention, when the intelligent door lock breaks down, emergency unlocking is carried out based on the local area network of the intelligent door lock, and the unlocking success rate when the intelligent door lock breaks down is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of smart locks, and in particular to a smart door lock control method and a smart door lock. Background Art

[0002] When using the smart door lock, if the wiring harness is loose or scratched by the door panel, the outdoor panel and the indoor panel cannot communicate normally, so the indoor panel cannot receive the unlocking command to unlock; even if the power harness is scratched or loose, the entire outdoor panel cannot be powered. At present, the relevant technology requires that the smart door lock is always connected to the Internet to remotely control the indoor panel to unlock, otherwise it cannot be unlocked remotely when a fault occurs. Summary of the invention

[0003] According to various embodiments of the present application, a smart door lock control method and a smart door lock are provided; the success rate of unlocking the smart door lock when it fails can be improved.

[0004] In the first aspect, the present application provides a smart door lock control method, which is applied to a smart door lock. The smart door lock includes an outdoor main control chip, an indoor main control chip and an indoor wireless chip. A first communication connection is established between the indoor main control chip and the outdoor main control chip, and the indoor main control chip is electrically connected to the indoor wireless chip, and the indoor wireless chip is in a power-off state; the method includes: when the first communication connection between the indoor main control chip and the outdoor main chip is abnormal, the indoor main control chip controls the indoor wireless chip to be in access point mode; in the access point mode, a second communication connection is established with a mobile terminal, and configuration information is sent to the mobile terminal based on the second communication connection; the configuration information is used to instruct the mobile terminal to display a password input interface; receive and verify the door lock password sent by the mobile terminal, and control unlocking after the verification is passed; the door lock password is obtained by the mobile terminal based on the password input interface.

[0005] Through the above method, the smart door lock can work in an offline state, and when a communication failure occurs between the outdoor main control chip and the indoor main control chip of the smart door lock, the indoor main control chip controls the indoor wireless chip to be in access point mode, so that the mobile terminal can access the local area network of the indoor wireless chip, and the smart door lock and the mobile terminal communicate based on the local area network without connecting to the external network; the mobile terminal displays the password input interface based on the accessed local area network, and collects the door lock password based on the password input interface, and then sends the door lock password to the smart door lock, and the transmission of the door lock password does not need to go through the cloud; therefore, when the smart door lock fails, emergency unlocking is performed based on the local area network of the smart door lock, thereby improving the success rate of unlocking when the smart door lock fails; it has strong ease of use and practicality.

[0006] In a possible implementation manner of the first aspect, before the indoor main control chip controls the indoor wireless chip to be in the access point mode, the method includes:

[0007] The indoor main control chip sends a query instruction to the outdoor main control chip, and the query instruction is used to query the status of the first communication connection established with the outdoor main control chip; when the outdoor main control chip fails to return response information to the indoor main control chip based on the query instruction within a preset time period, it is determined that the first communication connection between the indoor main control chip and the outdoor main control chip is abnormal; or, when the indoor main control chip receives the response information sent by the outdoor main control chip based on the query instruction, and the verification result of the response information is wrong, it is determined that the first communication connection between the indoor main control chip and the outdoor main control chip is abnormal.

[0008] In a possible implementation manner of the first aspect, before the indoor main control chip controls the indoor wireless chip to be in the access point mode, the method includes:

[0009] When configuring the initial door lock password, the outdoor main control chip sends the configured initial door lock password to the indoor main control chip based on the first communication connection; wherein, the initial door lock password is used by the indoor main control chip to verify the door lock password sent by the mobile terminal when the first communication connection is abnormal.

[0010] In a possible implementation manner of the first aspect, the indoor main control chip controls the indoor wireless chip to be powered on and in the access point mode, including:

[0011] The indoor main control chip controls the indoor wireless chip to be in a cyclic state of access point mode and low power consumption mode according to a preset duty cycle; accordingly, after establishing a second communication connection with the mobile terminal, the cyclic state enters a continuous access point state; when the duration of disconnecting the second communication connection with the mobile terminal exceeds a preset duration threshold, the cyclic state is entered from the continuous access point state.

[0012] In a possible implementation manner of the first aspect, the indoor main control chip controls the indoor wireless chip to be in a cycle state between the access point mode and the low power consumption mode according to a preset duty cycle, including:

[0013] Based on user usage data, the indoor main control chip controls the indoor wireless chip to switch from a first duty cycle to a second duty cycle in a cyclic state; wherein the duration of the access point mode corresponding to the second duty cycle is greater than the duration of the access point mode corresponding to the first duty cycle, and the preset duty cycle includes the first duty cycle and the second duty cycle.

[0014] In a possible implementation of the first aspect, the smart door lock further includes a signal receiver, which is electrically connected to the indoor main control chip; the indoor main control chip controls the indoor wireless chip to be in access point mode, including:

[0015] The indoor main control chip controls the indoor wireless chip to be in access point mode based on the trigger signal collected by the signal receiver.

[0016] In a possible implementation manner of the first aspect, after establishing the second communication connection with the mobile terminal, the method further includes:

[0017] Based on the time of the mobile terminal, the system time is corrected, and the periodic password or the one-time password is determined based on the corrected system time; accordingly, after receiving the door lock password sent by the mobile terminal, the door lock password is verified based on the periodic password or the one-time password, and the unlocking is controlled after the verification is passed.

[0018] In a possible implementation manner of the first aspect, after establishing the second communication connection with the mobile terminal, the method further includes:

[0019] Obtaining biometric information sent by a mobile terminal; the biometric information is obtained by the mobile terminal based on the password input interface; accordingly, verifying the door lock password sent by the mobile terminal, and controlling the unlocking after the verification is passed, including:

[0020] Verify the biometric information sent by the mobile terminal and control the unlocking after the verification; the door lock password includes the biometric information.

[0021] In a second aspect, the present application provides a smart door lock control method, which is applied to a mobile terminal, and the method includes:

[0022] When the smart door lock is in access point mode, a second communication connection is established with the smart door lock; configuration information sent by the smart door lock is obtained based on the second communication connection, and a password input interface is displayed based on the configuration information; the door lock password input by the user is obtained based on the password input interface, and the door lock password is sent to the smart door lock; the door lock password is used for verification by the smart door lock and the door is unlocked after the door lock password verification is passed; wherein, when the first communication connection between the indoor main control chip and the outdoor main control chip of the smart door lock is abnormal, the smart door lock is in access point mode.

[0023] In a third aspect, the present application provides a smart door lock, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements any one of the methods described in the first aspect when executing the computer program.

[0024] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements any one of the methods described in the first aspect.

[0025] In a fifth aspect, the present application provides a computer program product, which, when executed on a device, enables the device to execute any of the methods described in the first aspect.

[0026] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art 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 drawings can be obtained based on these drawings without paying creative work.

[0028] Figure 1 A schematic diagram of the architecture of a smart door lock provided in an embodiment of the present application;

[0029] Figure 2 A schematic diagram of the implementation flow of the smart door lock control method provided in the embodiment of the present application;

[0030] Figure 3 A schematic diagram of an interface for an application scenario of the smart door lock control method provided in an embodiment of the present application;

[0031] Figure 4 A schematic diagram of the implementation flow of the smart door lock control method provided in the embodiment of the present application;

[0032] Figure 5 A schematic diagram of the structure of a smart door lock is provided for an embodiment of the present application. DETAILED DESCRIPTION

[0033] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.

[0034] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.

[0035] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.

[0036] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0037] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0038] The wireless networked smart door lock includes an indoor panel and an outdoor panel. The wireless communication chip is generally located in the indoor panel, and the master control chip of the indoor panel controls the unlocking through the communication interaction between the outdoor panel and the indoor panel. During the use of the smart door lock, it is easy for the connection harness between the indoor panel and the outdoor panel to loosen or disconnect, so that the indoor panel and the outdoor panel cannot communicate normally, and then the indoor panel cannot receive the unlocking command from the outdoor panel; even when the power harness is scratched or loose, the entire outdoor panel cannot be powered.

[0039] At present, in order to solve the problem of communication failure between the indoor panel and the outdoor panel, in the relevant technology, remote unlocking is performed based on remote wireless communication with the indoor panel; this unlocking mechanism requires the smart door lock to be always connected to the Internet and the door lock cannot be offline, otherwise remote unlocking cannot be performed when a communication failure occurs. Alternatively, a Bluetooth module is set on the indoor panel, and an unlocking command is sent to the indoor panel after successful Bluetooth pairing to unlock the door; this method requires the door lock to have a Bluetooth function, Bluetooth scanning increases power consumption, and the door lock requires a Bluetooth gateway to connect to the Internet, which is not user-friendly.

[0040] In some application scenarios, in order to protect personal privacy and reduce the risk of personal information leakage, the functional parameters and user information related to the smart door lock are stored locally on the door lock; even if the door lock has a wireless networking function, it will be turned off and used as a local stand-alone door lock.

[0041] Since the door lock's wireless chip (also called the indoor wireless chip) is located in the indoor panel, the door lock's unlocking control chip (also called the indoor main control chip) is also located in the indoor panel, and various interactive control chips with the door lock password entered by the user (also called the outdoor main control chip) are located in the outdoor panel, when the connection harness between the indoor panel and the outdoor panel of the door lock is loose or disconnected, resulting in the inability to communicate normally, the user cannot unlock the door normally from the outside.

[0042] In response to the above technical problems, an embodiment of the present application provides an intelligent door lock control method, which can control the power-on startup of the indoor wireless chip through the indoor main control chip of the indoor panel when the door lock is offline and there is a communication failure between the indoor panel and the outdoor panel, and communicate and interact with the user side based on the local area network of the indoor wireless chip, thereby realizing unlocking control and improving the unlocking success rate when there is a communication failure between the indoor panel and the outdoor panel.

[0043] The architecture of the smart door lock to which this application is applicable is introduced below through embodiments.

[0044] See also Figure 1 , Figure 1 This is a schematic diagram of the architecture of the smart door lock provided in the embodiment of the present application. Figure 1 As shown, the smart door lock 10 includes an indoor panel and an outdoor panel. The outdoor panel may include an outdoor main control chip 101; the indoor panel may include an indoor main control chip 102 and an indoor wireless chip 103. The outdoor main control chip 101 establishes a first communication connection with the indoor main control chip 102, and can communicate based on the Universal Asynchronous Receiver and Transmitter (UART) communication protocol; the indoor main control chip 102 is electrically connected to the indoor wireless chip 103, and communicates based on the UART communication protocol.

[0045] When the smart door lock is in normal working state, the indoor wireless chip 103 is in a power-off state, that is, the smart door lock is in an offline use state. The indoor main control chip 102 periodically polls the communication connection status with the outdoor main control chip 101, such as the indoor main control chip 102 sends a query instruction to the outdoor main control chip 101, and determines the communication connection status based on whether the response information fed back by the outdoor main control chip 101 is obtained. When the communication connection between the outdoor main control chip 101 and the indoor main control chip 102 is abnormal, the indoor main control chip 102 controls the indoor wireless chip 103 to power on and work in access point mode. In the access point mode, the indoor wireless chip 103 can provide a LAN hotspot for the user side terminal (such as a mobile terminal), so that the user side terminal can access the LAN of the indoor wireless chip 103 and communicate with the indoor wireless chip 103; the mobile terminal receives the door lock password input by the user and transmits the door lock password to the indoor wireless chip 103, and the indoor wireless chip 103 transmits the door lock password to the indoor main control chip 102, which verifies it and controls the unlocking after the verification is passed. Thereby, the unlocking success rate is improved when the door lock fails.

[0046] For example, Figure 1 As shown, the outdoor panel of the smart door lock 10 may also include a video main controller 104, a face recognition module 105, an image sensor 107 and a lens 108. Among them, the lens 108 and the image sensor 107 are used to collect the video picture in front of the door; the image sensor 107 is connected to the video main controller 104 for communication based on the mobile industry processor interface (MIPI) and the serial communication bus protocol (IIC), such as the image sensor 107 transmits the collected image information (or video information) to the video main controller 104 based on MIPI and IIC.

[0047] Among them, the video main controller 104, the image sensor 107 and the lens 108 can be used as a visual cat's eye module to perform remote preview, visual intercom, and snapshot of the video screen in front of the door, and transmit the captured video stream to the cloud through the SPI interface, or transmit it to the local screen display through the USB interface, for example, transmitting the video stream in the Motion Joint Photographic Experts Group (MJPEG) format to the local screen display.

[0048] In addition, the face recognition module 105 may include a video processing chip (such as Figure 1The face recognition module 105 can independently complete the collection, recognition and determination process of face-related data and confirm the recognition result; the face recognition module 105 can also feed back the recognition result to the outdoor main control chip 101 through UART. Among them, the number of image sensors and lenses in the face recognition module can be set based on the actual application scenario requirements, which is only exemplified here and is not specifically limited.

[0049] For example, Figure 1 As shown, the indoor panel may also include a video processing chip 106; the video processing chip 106 is connected to the video main controller 104 of the outdoor panel in communication, and receives the image information or video information transmitted by the video main controller 104 based on the USB interface; the video processing chip 106 may also be connected to the indoor main control chip 102 based on UART communication. The video main controller 104 of the outdoor panel may also be connected to the indoor wireless chip 103 in communication, and transmit a video stream in H.256 format to the indoor wireless chip 103 based on a serial peripheral interface (SPI). The indoor panel also includes a screen 109 connected to the video processing chip 106, and the video processing chip 106 may also display the processed video information through the screen 109.

[0050] Among them, the connection harness connection between the indoor panels can include a UART communication connection between the outdoor main control chip 101 and the indoor main control chip 102, a USB communication connection between the video main controller 104 and the video processing chip 106, a communication connection between the video main controller 104 and the indoor wireless chip 103, and various power and ground harnesses. The UART communication connection between the outdoor main control chip 101 and the video main controller 104, the UART communication connection between the indoor main control chip 102 and the video processing chip 106, and the UART communication connection between the indoor main control chip 102 and the indoor wireless chip 103 can be used to transmit control instructions and simple text information.

[0051] Based on the above architecture, the specific implementation process of the intelligent door lock control method is further introduced below through embodiments.

[0052] See also Figure 2 , Figure 2 The following is a schematic diagram of the implementation process of the intelligent door lock control method provided in the embodiment of the present application. Figure 2 As shown, the execution subject of the intelligent door lock control method can be Figure 1 The smart door lock 10 shown, the method may include the following steps:

[0053] S201, when the first communication connection between the indoor main control chip and the outdoor main control chip is abnormal, the indoor main control chip controls the indoor wireless chip to be in access point mode.

[0054] In the embodiment of the present application, the indoor main control chip of the smart door lock is connected to the outdoor main control chip through a wire harness communication. When the wire harness is loose or disconnected, the first communication connection between the indoor main control chip and the outdoor main control chip is abnormal, resulting in the user being unable to control the indoor panel to unlock the door through the outdoor panel. The indoor main control chip periodically sends a query instruction to the outdoor main control chip to determine whether there is an abnormality in the first communication connection; when there is an abnormality in the first communication connection, the indoor main control chip sends a startup instruction to the indoor wireless chip, so that the indoor wireless chip is powered on and is in access point mode.

[0055] Exemplarily, the indoor wireless chip acts as a wireless network hotspot and can transmit wireless network signals, allowing mobile terminals such as smart phones and tablet computers to connect to the smart door lock via wireless, thereby forming a local area network communication environment.

[0056] In some embodiments, before the indoor master control chip controls the indoor wireless chip to be in access point mode, the method includes:

[0057] The indoor main control chip sends a query instruction to the outdoor main control chip, and the query instruction is used to query the status of the first communication connection established with the outdoor main control chip; when the outdoor main control chip fails to return response information to the indoor main control chip based on the query instruction within a preset time period, it is determined that the first communication connection between the indoor main control chip and the outdoor main control chip is abnormal; or, when the indoor main control chip receives the response information sent by the outdoor main control chip based on the query instruction, and the verification result of the response information is wrong, it is determined that the first communication connection between the indoor main control chip and the outdoor main chip is abnormal.

[0058] Exemplarily, the indoor main control chip communicates with the outdoor main control chip via a UART interface; during the communication process, the indoor main control chip and the outdoor main control chip exchange data in the form of data frames. The indoor main control chip sends a query instruction to the outdoor main control chip at a fixed time interval (such as a polling cycle) to regularly query the connection status of the outdoor main control chip.

[0059] Exemplarily, the query instruction may be a specific data packet for requesting the outdoor main control chip to return response information. After receiving the query instruction, the outdoor main control chip returns corresponding response information, which may include status information of the outdoor main control chip.

[0060] On the one hand, the indoor main control chip is provided with a clock. After the indoor main control chip sends a query instruction to the outdoor main control chip, the clock timing is started. After the timing exceeds the preset time, if no response information is received from the outdoor main control chip, it is determined that the first communication connection between the indoor main control chip and the outdoor main control chip is abnormal.

[0061] On the other hand, when the indoor main control chip receives the response information within the preset time of the clock timing, it can use error detection algorithms such as cyclic redundancy check to verify the response data; if the verification result is incorrect, it is determined that an error has occurred in the data frame during the transmission process, thereby determining that the first communication connection is abnormal.

[0062] Among them, the indoor main control chip and the outdoor main control chip may also have communication failures due to other reasons, such as physical connection, software configuration, etc. Through the above-mentioned periodic polling mechanism, the communication status of the indoor panel and the outdoor panel can be discovered in time.

[0063] It should be noted that when the communication between the indoor main control chip and the outdoor main control chip is normal, the smart door lock works in an offline state, that is, the indoor wireless chip of the indoor panel is in a power-off state, thereby reducing the risk of leakage of user information.

[0064] In some embodiments, before the indoor master control chip controls the indoor wireless chip to be in access point mode, the method includes:

[0065] When configuring the initial door lock password, the outdoor main control chip sends the configured initial door lock password to the indoor main control chip based on the first communication connection.

[0066] In the embodiment of the present application, when configuring the initial door lock password, the smart door lock not only stores the configured initial door lock password in the storage unit of the outdoor main control chip, but the outdoor main control chip also sends the initial door lock password to the indoor main control chip through the UART interface for backup. Therefore, when the first communication connection is abnormal, the indoor main control chip verifies the door lock password sent by the mobile terminal based on the configured initial door lock password.

[0067] Among them, the initial door lock password may include an administrator password and a user password. The administrator password may be a password for setting a user password, such as adding, modifying or deleting a user password; and the user password may be a door lock password for a user to unlock the door.

[0068] In some embodiments, the smart door lock further includes a signal receiver, which is electrically connected to the indoor main control chip; the indoor main control chip controls the indoor wireless chip to be in access point mode, including:

[0069] The indoor main control chip controls the indoor wireless chip to be in access point mode based on the trigger signal collected by the signal receiver.

[0070] Exemplarily, the signal receiver may be a microphone or a vibration sensor; when the user is unable to control the indoor panel to unlock the door through the outdoor panel, the indoor main control chip of the indoor panel may control the working state of the indoor main control chip by receiving external trigger signals.

[0071] For example, the microphone detects the voice signal input by the user, or the vibration sensor detects the vibration signal of the user tapping the smart door lock, etc. After detecting the trigger signal, the indoor main control chip can control the indoor wireless chip to power on and work in access point mode to provide a LAN hotspot. As a result, the smart door lock only controls the indoor wireless chip to be in access point mode when receiving the trigger signal, which can reduce the working current in the emergency unlocking mode and extend the door lock waiting time in the emergency mode.

[0072] S202: In the access point mode, establish a second communication connection with the mobile terminal, and send configuration information to the mobile terminal based on the second communication connection. The configuration information is used to instruct the mobile terminal to display a password input interface.

[0073] In an embodiment of the present application, when the indoor wireless chip is in access point mode, an access password can be set (for example, a user can set an access password when initially configuring a smart door lock), or no access password can be set (for example, the service set identifier (SSID) of the wireless LAN can be a universal wireless LAN network identifier), so that any terminal can access the wireless LAN network. The indoor wireless chip can send a wireless signal in access point mode, and the mobile terminal turns on the wireless connection function, scans the wireless signal, accesses the wireless LAN of the indoor wireless chip, and establishes a second communication connection with the indoor wireless chip of the indoor panel.

[0074] Exemplarily, when the mobile terminal accesses the hotspot network of the indoor wireless chip, the indoor wireless chip acts as a server to send corresponding configuration information to the mobile terminal, so that the mobile terminal can display the password input interface of the smart door lock based on the configuration information.

[0075] The configuration information may be a password input link pre-stored in the indoor wireless chip, which is embedded in the firmware supported by the indoor wireless chip of the door lock in the form of code. After the indoor wireless chip is configured as a software access point (SoftAP) mode, the mobile terminal can access the local area network of the indoor wireless chip by searching and connecting to the access point; in this application scenario, both the mobile terminal and the door lock can be in a non-networked state, that is, the mobile terminal and the door lock do not need to be connected to the Internet. The indoor wireless chip detects the connection event of the mobile terminal, triggers the preset mechanism, and sends the pre-stored password input link to the connected mobile terminal through the wireless local area network; the mobile terminal can display the password input interface based on the built-in browser or web view component; based on the local area network environment, the mobile terminal communicates and interacts with the indoor wireless chip without being connected to the Internet, transmits the door lock password entered by the user based on the password input interface, and is verified by the indoor panel, thereby realizing emergency unlocking in the global local area network mode. Even if the mobile terminal has no Internet connection, the emergency unlocking is completed based on the local area network of the indoor panel; the problem that the mobile terminal in the related technology needs to interact with the server based on Bluetooth near-field pairing and cannot be unlocked in an off-grid state is solved.

[0076] For example, Figure 3 The schematic diagram of the application scenario interface shown in the figure shows that when the indoor panel and the outdoor panel communicate abnormally, the emergency unlocking mode is entered; the indoor main control chip controls the indoor wireless chip to power on and is in access point mode to send out wireless signals; after turning on the wireless connection function, the mobile terminal scans the wireless signal to access the wireless LAN of the indoor panel and displays the following Figure 3 The password input interface is shown.

[0077] Among them, Figure 3 As shown in Figure (a) in FIG. 1 , the password input interface may be an input interface for a digital password; Figure 3 As shown in Figure (b) in FIG. 1 , the password input interface can also be an input interface for a fingerprint password; Figure 3 As shown in Figure (c) in the figure, the password input interface can also be a face input interface.

[0078] It should be noted that the above-mentioned password input interface is only an example description, which is selectively set based on the actual application scenario requirements or the type of password input; it can also support the display of multiple password input interfaces at the same time, for the user to select one of the interfaces for password input; wherein, when the configuration information supports multiple password input interfaces at the same time, different forms of passwords (such as numbers, fingerprints or faces) can also be associated with each other; for example, when the digital password is a fixed string of data, multiple fingerprint passwords and face passwords can be configured respectively, so that each fingerprint password or face password can be associated with the digital password, thereby supporting emergency unlocking for different users (such as unlocking scenarios for multiple family members).

[0079] In addition, when the password input interface is displayed, the browser can be started to jump to the corresponding web page for interface display based on the configuration information, or the mobile terminal can start the application APP for interface display after connecting to the local area network of the indoor panel.

[0080] In some embodiments, the indoor main control chip controls the indoor wireless chip to be powered on and in access point mode, including:

[0081] The indoor main control chip controls the indoor wireless chip to be in a cyclic state of access point mode and low power consumption mode according to a preset duty cycle; accordingly, after establishing the second communication connection with the mobile terminal, the indoor wireless chip enters a continuous access point state from the cyclic state; when the duration of disconnecting the second communication connection with the mobile terminal exceeds a preset duration threshold, the indoor wireless chip enters a cyclic state from the continuous access point state.

[0082] Exemplarily, when the smart door lock is in access mode, the indoor wireless chip is always in a broadcast state, continuously sending broadcast packets, resulting in high power consumption. In order to reduce the power consumption of the smart door lock, the indoor main control chip can control the indoor wireless chip to be in access point mode based on a preset duty cycle. For example, the indoor wireless chip is controlled to be in access point mode for 15 seconds within every 2 minutes, and in low power mode (such as sleep mode) at other times, thereby reducing the average power consumption in the time window waiting for mobile terminal access; after accessing the mobile terminal, exit the cycle mode and enter the continuous access point state, that is, continue to be in access point mode.

[0083] Accordingly, when the duration of disconnection from the mobile terminal exceeds a preset duration threshold, the cycle mode is restored, that is, the indoor wireless chip is controlled to be in access point mode during part of each fixed time period and in low power consumption mode except for part of each fixed time period.

[0084] In some embodiments, the indoor main control chip controls the indoor wireless chip to be in a cycle state between the access point mode and the low power consumption mode according to a preset duty cycle, including:

[0085] Based on user usage data, the indoor main control chip controls the indoor wireless chip to switch from a first duty cycle to a second duty cycle in a cyclic state; wherein the duration of the access point mode corresponding to the second duty cycle is greater than the duration of the access point mode corresponding to the first duty cycle, and the preset duty cycle includes the first duty cycle and the second duty cycle.

[0086] Exemplarily, the smart door lock can save user usage data for a period of time to record the user's usage habits. For example, 18:00-21:00 every night is the user's regular unlocking time period. The indoor main control chip can switch different duty cycles based on the user usage data and time parameters to control the indoor wireless chip to be in access point mode.

[0087] For example, when the user's regular unlocking time period is reached, the duty cycle of the access point mode is increased, such as switching from a 15-second access point mode every 2 minutes to a 1-minute access point mode every 2 minutes. This reduces the power consumption of the smart door lock while improving the access efficiency of the mobile terminal.

[0088] S203, receiving and verifying the door lock password sent by the mobile terminal, and controlling unlocking after the verification is passed; the door lock password is obtained by the mobile terminal based on the password input interface.

[0089] In the embodiment of the present application, when the smart door lock is configured with the initial door lock password, the indoor panel has stored the configured user password, that is, the door lock password for the user to unlock the door.

[0090] Exemplarily, the mobile terminal can receive the door lock password input by the user based on the displayed password input interface; after receiving the door lock password, the mobile terminal sends it to the indoor wireless chip of the indoor panel; after receiving the door lock password, the indoor wireless chip transmits the door lock password to the indoor main control chip, and the indoor main control chip verifies the input door lock password based on the stored user password, and executes the unlocking operation when the verification passes (such as the input door lock password is correct and consistent with the stored user password); accordingly, when the input door lock password is incorrect, that is, the verification fails, the unlocking operation is not executed.

[0091] In some embodiments, after establishing the second communication connection with the mobile terminal, the method further includes:

[0092] Based on the time of the mobile terminal, the system time is corrected, and the periodic password or the one-time password is determined based on the corrected system time; accordingly, after receiving the door lock password sent by the mobile terminal, the door lock password is verified based on the periodic password or the one-time password, and the unlocking is controlled after the verification is passed.

[0093] For example, the indoor main control chip of the indoor panel can also have the function of correcting the system time and determining the periodic password or one-time password based on the corrected system time. Among them, the periodic password can be a password that takes effect based on a preset time period, such as a user password that takes effect from 9 am to 11 am; the one-time password is a temporary password generated according to preset rules based on the system time, such as converting the current system time according to the rules, and using the conversion result as part of the one-time password, and carrying other fixed bits to obtain the one-time password at the current moment.

[0094] Exemplarily, after the mobile terminal establishes a second communication connection with the indoor panel, the indoor main control chip can synchronize the time of the mobile terminal based on the second communication connection and update the system time of the current smart door lock to avoid the failure of the real-time clock (RTC) of the smart door lock, resulting in the periodic password or one-time password used for emergency unlocking being inaccurate and unable to verify unlocking.

[0095] Exemplarily, after correcting the system time, the smart door lock can generate a stored periodic password based on the system time, or validate a one-time password calculated based on the corrected system time, thereby replacing the static password with a periodic password or a one-time password.

[0096] Among them, the user can know the periodic password in advance and set different periodic passwords in different time periods. The mobile terminal can receive the periodic password entered by the user at the current moment and send the entered periodic password to the indoor panel, which will verify it based on the effective periodic password and execute the unlocking action after the verification is passed.

[0097] Alternatively, when the door lock fails and the smart door lock is offline, the cloud generates a one-time password based on the system time and sends it to the user's mobile terminal (such as through SMS or WeChat). The mobile terminal sends the received one-time password to the indoor panel based on the second communication connection with the indoor wireless chip. The indoor panel verifies the input one-time password based on the one-time password generated after correction, and performs the unlocking operation after the verification. Among them, the one-time password is generated based on the three variables of time, event and key using time synchronization technology. The cloud and the indoor panel calculate the dynamic one-time password based on the same key, the same time parameter and the same algorithm, so as to ensure the consistency of the effective one-time password and the input one-time password, and realize emergency unlocking through the verification of the door lock password.

[0098] Alternatively, after the mobile terminal is connected to the local area network of the indoor panel, the application is started, and a one-time password is generated based on the current system time. The mobile terminal receives the one-time password entered by the user in the password input interface and sends it to the indoor panel, which verifies it and performs the unlocking operation after passing the verification. When someone other than the door lock user performs emergency unlocking, the one-time password can also be obtained from the door lock user's terminal. The one-time password can be a dynamic password remotely generated by the door lock user; and then other people use the one-time password to perform emergency unlocking through the mobile terminal.

[0099] In some embodiments, after establishing the second communication connection with the mobile terminal, the method further includes:

[0100] Receive biometric information sent by a mobile terminal; the biometric information is obtained by the mobile terminal based on the password input interface.

[0101] Accordingly, verifying the door lock password sent by the mobile terminal and controlling unlocking after the verification is passed includes: verifying the biometric information sent by the mobile terminal and controlling unlocking after the verification is passed; the door lock password includes the biometric information.

[0102] Exemplarily, biometric information includes fingerprint information and facial image information. Figure 3 As shown in , different password input interfaces displayed on the mobile terminal include input controls, such as Figure 3 The control 31 and the keyboard area shown in FIG. (a) in FIG. 1 , the mobile terminal can receive the user's click operation on the control 31 and the keyboard area to obtain the door lock password; or Figure 3 As shown in FIG. 2( b), the interface further includes a fingerprint collection control 32. In the interface, the mobile terminal receives a user's click or press operation on the control 32 to collect the user's fingerprint information; or Figure 3 As shown in Figure (c), the interface also includes an area 33 for selecting the user's facial image. After the mobile terminal starts the camera device, it collects the user's facial image and displays the collection status of the facial image in area 33, thereby generating facial image information.

[0103] Correspondingly, when configuring the initial password of the smart door lock, the user's fingerprint information or facial image information can also be configured and stored in the indoor panel. Therefore, when performing emergency unlocking, the fingerprint information or facial image information collected and sent by the mobile terminal can be verified based on the stored fingerprint information or facial image information, and the unlocking operation can be performed after the verification is passed.

[0104] like Figure 4As shown, a schematic diagram of the implementation flow of the smart door lock control method provided in an embodiment of the present application is shown. The method is applied to a mobile terminal and is based on the same implementation principle as the above embodiment, which will not be repeated here. The method may include the following steps:

[0105] S401, when the smart door lock is in access point mode, establishing a second communication connection with the smart door lock;

[0106] S402, obtaining configuration information sent by the smart door lock based on the second communication connection, and displaying a password input interface based on the configuration information.

[0107] S403, based on the password input interface, obtain the door lock password input by the user, and send the door lock password to the smart door lock; the door lock password is used for verification by the smart door lock and unlocked after the door lock password verification is passed; wherein, when the first communication connection between the indoor main control chip and the outdoor main control chip of the smart door lock is abnormal, the smart door lock is in access point mode.

[0108] The embodiments of the present application can realize a near-field wireless unlocking method of the door lock in an emergency scenario when the door lock is completely offline; the unlocking information may not pass through the cloud, and the near-field local area network interaction is highly secure; even if all the connecting wires of the connecting harness of the indoor and outdoor panels (including power failure) are all disconnected, the unlocking can be realized based on the above method, avoiding the scenario where the user breaks into the door violently due to the inability to unlock the door; based on the preset duty cycle, the working state of the indoor panel switches the mode, which minimizes the impact on power consumption, saves power, and avoids the hidden dangers of use caused by excessive power consumption.

[0109] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0110] Corresponding to the smart door lock control method provided in the above embodiment, the smart door lock control device provided in the embodiment of the present application, for the sake of convenience of explanation, only shows the parts related to the embodiment of the present application.

[0111] The intelligent door lock control device includes: an outdoor main control chip, an indoor main control chip and an indoor wireless chip. A first communication connection is established between the indoor main control chip and the outdoor main control chip, and the indoor main control chip is electrically connected to the indoor wireless chip.

[0112] The indoor main control chip is used to control the indoor wireless chip to be in access point mode when the first communication connection between the indoor main control chip and the outdoor main control chip is abnormal; the configuration information is used to instruct the mobile terminal to display a password input interface;

[0113] An indoor wireless chip, used to establish a second communication connection with a mobile terminal in access point mode; and to send configuration information to the mobile terminal based on the second communication connection; and also to receive a door lock password sent by the mobile terminal;

[0114] The indoor main control chip is also used to verify the door lock password and control unlocking after the verification is passed; the door lock password is obtained by the mobile terminal based on the password input interface.

[0115] In one possible implementation, the indoor main control chip is also used to send a query instruction to the outdoor main control chip, and the query instruction is used to query the status of the first communication connection established with the outdoor main control chip; when the outdoor main control chip fails to return response information to the indoor main control chip based on the query instruction within a preset time period, it is determined that the first communication connection between the indoor main control chip and the outdoor main control chip is abnormal; or, when the indoor main control chip receives the response information sent by the outdoor main control chip based on the query instruction, and the verification result of the response information is wrong, it is determined that the first communication connection between the indoor main control chip and the outdoor main control chip is abnormal.

[0116] In one possible implementation, the outdoor main control chip is used to send the configured initial door lock password to the indoor main control chip based on the first communication connection when configuring the initial door lock password; wherein the initial door lock password is used by the indoor main control chip to verify the door lock password sent by the mobile terminal when the first communication connection is abnormal.

[0117] In a possible implementation, the indoor main control chip is also used to control the indoor wireless chip to be in a cyclic state of access point mode and low power consumption mode according to a preset duty cycle; accordingly, after establishing a second communication connection with the mobile terminal, the cyclic state enters a continuous access point state; when the duration of disconnecting the second communication connection with the mobile terminal exceeds a preset duration threshold, the cyclic state is entered from the continuous access point state.

[0118] In a possible implementation, the indoor main control chip is also used to control the indoor wireless chip to switch from a first duty cycle to a second duty cycle in a cyclic state based on user usage data; wherein the duration of the second duty cycle corresponding to the access point mode is greater than the duration of the first duty cycle corresponding to the access point mode, and the preset duty cycle includes the first duty cycle and the second duty cycle.

[0119] In one possible implementation, the device also includes a signal receiver, which is electrically connected to the indoor main control chip; the signal receiver is used to collect trigger signals; the outdoor main control chip is also used to control the indoor wireless chip to be in access point mode based on the trigger signal collected by the signal receiver.

[0120] In one possible implementation, after establishing a second communication connection with the mobile terminal, the indoor main control chip is also used to correct the system time based on the time of the mobile terminal, and determine the periodic password or the one-time password based on the corrected system time; accordingly, after receiving the door lock password sent by the mobile terminal, the door lock password is verified based on the periodic password or the one-time password, and the unlocking is controlled after the verification is passed.

[0121] In a possible implementation, the indoor wireless chip is also used to receive biometric information sent by the mobile terminal; the biometric information is obtained by the mobile terminal based on the password input interface; the indoor main control chip is also used to verify the biometric information sent by the mobile terminal, and control unlocking after the verification is passed; the door lock password includes the biometric information.

[0122] Through the embodiments of the present application, a near-field wireless unlocking method for the door lock in an emergency scenario can be implemented when the door lock is completely offline; the unlocking information can interact over the near-field local area network without passing through the cloud, and has high security; even if all the connecting wires of the connecting harness of the indoor and outdoor panels (including power failure) are all disconnected, unlocking can be achieved based on the above method, avoiding the scenario where the user violently breaks into the door due to inability to unlock the door; based on the preset duty cycle, the working state of the indoor panel switches the mode, which minimizes the impact on power consumption, saves power, and avoids hidden dangers caused by excessive power consumption.

[0123] Figure 5 A schematic diagram of the hardware structure of the smart door lock 10 is shown.

[0124] like Figure 5 As shown, the smart door lock 10 of this embodiment includes: at least one processor 501 ( Figure 5 Only one is shown in the figure), a memory 502, wherein the memory 502 stores a computer program 503 that can be run on the processor 501. When the processor 501 executes the computer program 503, the steps in the above method embodiment are implemented, such as Figure 2 Alternatively, when the processor 501 executes the computer program 503, the functions of the modules / units in the above-mentioned device embodiments are realized.

[0125] It is understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the smart door lock 10. In other embodiments of the present application, the smart door lock 10 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0126] The smart door lock 10 may include, but is not limited to, a processor 501 and a memory 502. Those skilled in the art will appreciate that Figure 5 It is only an example of the smart door lock 10 and does not constitute a limitation of the smart door lock 10. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the server may also include an input sending device, a network access device, a bus, etc.

[0127] The processor 501 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0128] The processor 501 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 501 is a cache memory. The memory may store instructions or data that the processor 501 has just used or circulated. If the processor 501 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 501, and thus improves the efficiency of the system.

[0129] In some embodiments, the memory 502 may be an internal storage unit of the smart door lock 10, such as a hard disk or memory of the smart door lock 10. The memory 502 may also be an external storage device of the smart door lock 10, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the smart door lock 10. Further, the memory 502 may also include both an internal storage unit of the smart door lock 10 and an external storage device. The memory 502 is used to store an operating system, an application, a boot loader (BootLoader), data, and other programs, such as program codes of computer programs. The memory 502 may also be used to temporarily store data that has been sent or is to be sent.

[0130] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0131] It should be noted that the structure of the above-mentioned electronic device is only illustrative, and based on different application scenarios, it may also include other physical structures, and the physical structure of the electronic device is not limited here.

[0132] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0133] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0134] An embodiment of the present application provides a computer program product. When the computer program product runs on a server, the server can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0135] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. Computer-readable media may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0136] The electronic device, computer storage medium, and computer program product provided in the above-mentioned embodiments of the present application are all used to execute the method provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding beneficial effects of the method provided above, and will not be repeated here.

[0137] 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 specification.

[0138] It should be understood that the above is only to help those skilled in the art to better understand the embodiments of the present application, rather than to limit the scope of the embodiments of the present application. According to the above examples given, those skilled in the art can obviously make various equivalent modifications or changes. For example, some steps in each embodiment of the above detection method may be unnecessary, or some steps may be newly added. Or a combination of any two or any multiple embodiments of the above. Such modifications, changes or combined schemes also fall within the scope of the embodiments of the present application.

[0139] It should also be understood that the division of the methods, situations, categories and embodiments in the embodiments of the present application is only for the convenience of description and should not constitute a special limitation. The features of various methods, categories, situations and embodiments can be combined without contradiction.

[0140] It should also be understood that in the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other, and the technical features in different embodiments can be combined to form new embodiments according to their internal logical relationships.

[0141] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0142] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0143] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0144] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

[0145] Finally, it should be noted that the above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A smart door lock control method, characterized in that: Applied to a smart door lock, the smart door lock includes an outdoor main control chip, an indoor main control chip and an indoor wireless chip, a first communication connection is established between the indoor main control chip and the outdoor main control chip, the indoor main control chip is electrically connected to the indoor wireless chip, and the indoor wireless chip is in a power-off state; the method includes: When the first communication connection between the indoor main control chip and the outdoor main control chip is abnormal, the indoor main control chip controls the indoor wireless chip to be in access point mode; In the access point mode, establishing a second communication connection with the mobile terminal, and sending configuration information to the mobile terminal based on the second communication connection; the configuration information is used to instruct the mobile terminal to display a password input interface; Receive and verify the door lock password sent by the mobile terminal, and control unlocking after the verification is passed; the door lock password is obtained by the mobile terminal based on the password input interface.

2. The method according to claim 1, characterized in that Before the indoor main control chip controls the indoor wireless chip to be in access point mode, the method includes: The indoor main control chip sends a query instruction to the outdoor main control chip, wherein the query instruction is used to query the first communication connection established with the outdoor main control chip; When the outdoor main control chip fails to return response information to the indoor main control chip based on the query instruction within a preset time period, it is determined that the first communication connection between the indoor main control chip and the outdoor main control chip is abnormal; or, When the indoor main control chip receives the response information sent by the outdoor main control chip based on the query instruction and the verification result of the response information is wrong, it is determined that the first communication connection between the indoor main control chip and the outdoor main control chip is abnormal.

3. The method according to claim 1, characterized in that Before the indoor main control chip controls the indoor wireless chip to be in access point mode, the method includes: When configuring the initial door lock password, the outdoor main control chip sends the configured initial door lock password to the indoor main control chip based on the first communication connection; The initial door lock password is used for the indoor main control chip to verify the door lock password sent by the mobile terminal when the first communication connection is abnormal.

4. The method according to claim 1, characterized in that: The indoor main control chip controls the indoor wireless chip to be in access point mode, including: The indoor main control chip controls the indoor wireless chip to be in a cycle state between the access point mode and the low power consumption mode according to a preset duty cycle; Accordingly, after establishing the second communication connection with the mobile terminal, entering the continuous access point state from the loop state; When the duration of disconnecting the second communication connection with the mobile terminal exceeds a preset duration threshold, the continuous access point state enters the loop state.

5. The method according to claim 4, characterized in that The indoor main control chip controls the indoor wireless chip to be in a cycle state between the access point mode and the low power consumption mode according to a preset duty cycle, including: Based on the user usage data, the indoor main control chip controls the indoor wireless chip to switch from a first duty cycle to a second duty cycle cycle; The duration of the access point mode corresponding to the second duty cycle is greater than the duration of the access point mode corresponding to the first duty cycle, and the preset duty cycle includes the first duty cycle and the second duty cycle.

6. The method according to claim 1, characterized in that The smart door lock further includes a signal receiver, which is electrically connected to the indoor main control chip; the indoor main control chip controls the indoor wireless chip to be in access point mode, including: The indoor main control chip controls the indoor wireless chip to be in the access point mode based on the trigger signal collected by the signal receiver.

7. The method according to any one of claims 1 to 6, characterized in that: After establishing the second communication connection with the mobile terminal, the method further includes: Correcting the system time based on the time of the mobile terminal, and determining the periodic password or the one-time password based on the corrected system time; Correspondingly, after receiving the door lock password sent by the mobile terminal, the door lock password is verified based on the periodic password or the one-time password, and unlocking is controlled after the verification is passed.

8. The method according to any one of claims 1 to 6, characterized in that: After establishing the second communication connection with the mobile terminal, the method further includes: Receiving biometric information sent by the mobile terminal; the biometric information is obtained by the mobile terminal based on the password input interface; Correspondingly, verifying the door lock password sent by the mobile terminal and controlling unlocking after the verification is passed includes: Verify the biometric information sent by the mobile terminal, and control unlocking after the verification is passed; the door lock password includes the biometric information.

9. The method according to any one of claims 1 to 6, characterized in that: The configuration information includes a password input link; and the sending the configuration information to the mobile terminal based on the second communication connection includes: When the mobile terminal and the smart door lock are both in an off-grid state, a password input link is sent to the mobile terminal based on the second communication connection; the password input link is used to instruct the mobile terminal to display the password input interface, and the password input link is embedded in the firmware of the indoor wireless chip in the form of code.

10. A smart door lock control method, characterized in that: Applied to a mobile terminal, the method comprises: When the smart door lock is in access point mode, establishing a second communication connection with the smart door lock; Acquire configuration information sent by the smart door lock based on the second communication connection, and display a password input interface based on the configuration information; Obtaining the door lock password input by the user based on the password input interface, and sending the door lock password to the smart door lock; the door lock password is used by the smart door lock for verification and unlocking after the door lock password is verified; Among them, when the first communication connection between the indoor main control chip and the outdoor main control chip of the smart door lock is abnormal, the smart door lock is in the access point mode.

11. A smart door lock, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 9 when executing the computer program.