Intelligent lock control system and method and related equipment

By designing an intelligent lock control system that supports Bluetooth and WiFi connections, the difficulty of unlocking of smart lock systems in the existing technology under network environment and distance limitations is solved, and a more flexible and reliable remote lock unlocking function is achieved.

CN119694032APending Publication Date: 2025-03-25HANGZHOU JIEFENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411914572.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

In existing smart lock systems, unlocking methods based on WiFi and Bluetooth connections are easily restricted by network environment and distance, resulting in the inability to remote unlocking.

Method used

Design an intelligent lock control system. The terminal device can establish a Bluetooth connection and WiFi connection with Maoyan based on the network request input by the user. Maoyan supports both Bluetooth connection and WiFi connection, ensuring that no matter what the wireless connection method supported by the smart lock, the terminal device can establish a connection with Maoyan to realize lock unlocking operation.

Benefits of technology

Through Maoyan, which supports Bluetooth and WiFi connection, the difficulty of unlocking the smart lock system under network environment and distance limitations is solved, and a more flexible and reliable remote unlocking function is achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119694032A_ABST
    Figure CN119694032A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of intelligent locks, in particular to an intelligent lock control system and method and related equipment. The system comprises terminal equipment, a cat eye and an intelligent lock, wherein the cat eye is detachably mounted on the intelligent lock and is in communication connection with the intelligent lock; the terminal equipment is used for establishing Bluetooth connection and WiFi connection between the terminal equipment and the cat eye according to a network request input by a user; the terminal equipment is also used for generating an unlocking instruction according to an unlocking request input by a user, and is also used for sending the unlocking instruction to the cat eye based on Bluetooth connection and / or WiFi connection; the cat eye is used for controlling the intelligent lock to execute unlocking operation according to the unlocking instruction; according to the method and the device, the application dilemma that unlocking cannot be carried out in an existing unlocking mode based on any network connection mode in WiFi connection and Bluetooth connection can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart lock technology, and in particular to a smart lock control system, method and related equipment. Background Art

[0002] In the prior art, a terminal device can communicate with a cat's eye installed in a smart lock via a WiFi (Wireless Fidelity) connection or a Bluetooth connection, and a user can operate the cat's eye through the terminal device to control the smart lock to perform an unlocking operation.

[0003] In actual operation, the unlocking method based on WiFi connection is very dependent on the network environment. If the home WiFi signal is unstable or fails, remote unlocking cannot be achieved through WiFi connection; the unlocking method based on Bluetooth connection requires the user to be close to the smart lock. If the user is far away from the smart lock, the smart lock cannot be controlled through Bluetooth connection to perform the unlocking operation.

[0004] In summary, no matter which wireless network connection method is used for unlocking, such as WiFi connection or Bluetooth connection, the unlocking may fail. Summary of the Invention

[0005] In view of this, the purpose of this application is to provide a smart lock control system, method and related equipment to solve the application dilemma in the prior art that the unlocking method may not be able to unlock the lock regardless of any network connection method based on WiFi connection and Bluetooth connection.

[0006] In a first aspect, the present application provides a smart lock control system, the system comprising: a terminal device, a cat's eye, and a smart lock, the cat's eye being detachably mounted on the smart lock and communicating with the smart lock;

[0007] The terminal device is used to establish a Bluetooth connection and a WiFi connection between the terminal device and the cat's eye according to a network request input by the user;

[0008] Among them, the short distance indicates that the distance between the terminal device and the cat's eye is less than a first preset distance, and the long distance indicates that the distance between the terminal device and the cat's eye is greater than a second preset distance, and the first preset distance is less than the second preset distance;

[0009] The terminal device is further configured to generate an unlocking instruction according to an unlocking request input by a user, and is further configured to send the unlocking instruction to the cat's eye based on the Bluetooth connection and / or WiFi connection;

[0010] The peephole is used to control the smart lock to perform an unlocking operation according to the unlocking instruction.

[0011] In a second aspect, the present application provides a smart lock control method, which is applied to a terminal device in a smart lock control system, and the method includes:

[0012] In response to a first network request input by a user, generating a first network instruction according to the first network request and sending the first network instruction to the cat's eye, so that the cat's eye establishes a Bluetooth connection with the terminal device according to the first network instruction;

[0013] In response to the unlocking request input by the user, an unlocking instruction is generated according to the unlocking request and the unlocking instruction is sent to the cat's eye, so that the cat's eye controls the smart lock to perform an unlocking operation according to the unlocking instruction.

[0014] In a third aspect, the present application provides a smart lock control method, which is applied to a cat's eye in a smart lock control system, and the method comprises:

[0015] In response to receiving a first network instruction sent by a terminal device, establishing a Bluetooth connection with the terminal device according to the first network instruction;

[0016] In response to receiving the unlocking instruction sent by the terminal device, the smart lock is controlled to perform an unlocking operation according to the unlocking instruction.

[0017] In a fourth aspect, the present application provides a computer-readable storage medium, which is used to store program codes executed by a processor, and the program codes are used to implement the above-mentioned smart lock control method.

[0018] Beneficial effects:

[0019] The present application provides a smart lock control system, which includes: a terminal device, a peephole and a smart lock, wherein the peephole is detachably mounted on the smart lock and communicates with the smart lock; the terminal device is used to establish a Bluetooth connection and a WiFi connection between the terminal device and the peephole according to a network request input by a user; wherein a close distance indicates that the distance between the terminal device and the peephole is less than a first preset distance, and a long distance indicates that the distance between the terminal device and the peephole is greater than a second preset distance, and the first preset distance is less than the second preset distance; the terminal device is also used to generate an unlocking instruction according to an unlocking request input by the user, and is also used to send the unlocking instruction to the peephole based on a Bluetooth connection and / or a WiFi connection; the peephole is used to control the smart lock to perform an unlocking operation according to the unlocking instruction.

[0020] In summary, the cat's eye provided in this application supports both Bluetooth connection and WiFi connection with the terminal device. Therefore, no matter whether the smart lock only supports WiFi connection or Bluetooth connection, the cat's eye can supplement the terminal device and the smart lock with the wireless network connection method that the smart lock cannot support. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. The following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 A structural diagram of the smart lock control system provided in an embodiment of the present application;

[0023] Figure 2 A logical diagram of the four interaction stages provided in an embodiment of the present application;

[0024] Figure 3 This is a flowchart of the first interactive phase of the smart lock control method provided in an embodiment of the present application;

[0025] Figure 4 This is a flow chart of the second interaction phase in the smart lock control method provided in an embodiment of the present application;

[0026] Figure 5 This is a flow chart of the third interactive phase in the smart lock control method provided in an embodiment of the present application;

[0027] Figure 6 This is a flowchart of the fourth interactive stage in the smart lock control method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] In the prior art, the peephole in a smart lock usually only supports one of the wireless network connection methods, either WiFi connection or Bluetooth connection, with the terminal device to achieve communication between the terminal device and the peephole in the smart lock, thereby achieving the unlocking operation of the smart lock controlled by the terminal device.

[0029] In actual applications, both the unlocking method based on WiFi connection and the unlocking method based on Bluetooth connection have corresponding limitations, resulting in the application dilemma of being unable to unlock the door regardless of the unlocking method based on any of the above wireless network connection methods.

[0030] In order to solve the above problems, the embodiments of the present application provide a smart lock control solution. To make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the smart lock control solution will be explained below in conjunction with the accompanying drawings to achieve a clear and complete description of the smart lock control system. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0031] First, the embodiment of the present application provides a smart lock control system, such as Figure 1 As shown, Figure 1 This is a block diagram of the smart lock control system provided in an embodiment of the present application. The smart lock control system includes: a terminal device 100, a peek 200, a smart lock 300, and a server 400. The terminal device 100 can be a mobile phone, tablet, or other electronic device with wireless communication capabilities. The terminal device 100 can communicate remotely with the server 400 based on a WiFi wireless network. The terminal device 100 is installed with an application 110 for communicating with the peek 200. The smart lock 300 is the smart lock mentioned above that only supports WiFi or Bluetooth connections.

[0032] Compared with the existing technology, the cat's eye 200 in the embodiment of the present application not only has the observation function of the traditional cat's eye, but also integrates components such as a high-definition camera, a display screen, a microphone and a speaker, and can realize a variety of communication and security functions such as remote monitoring, two-way voice calls and abnormal alarms; more importantly, the cat's eye 200 provided in the embodiment of the present application can also support Bluetooth connection and WiFi connection at the same time; in actual operation, the cat's eye 200 can be integrated into the smart lock 300, and the cat's eye 200 can also be detachably installed on the smart lock 300 through a specially designed installation interface or bracket. When the cat's eye 200 is installed on the smart lock 300, the cat's eye 200 can establish a communication connection with the smart lock 300 through the built-in communication module.

[0033] In actual operation, in addition to being able to establish a communication connection with the smart lock 300, the cat's eye 200 can also establish a communication connection with the terminal device 100. When the terminal device 100 needs to control the smart lock 300 to unlock, the terminal device 100 sends an unlocking request to the cat's eye 200, and the cat's eye 200 controls the smart lock 300 to perform the unlocking operation.

[0034] The smart lock control system provided in the embodiment of the present application performs control functions in at least four interactive stages; Figure 2 As shown, Figure 2A logical diagram of the four interaction stages provided for the embodiment of the present application, wherein the first interaction stage is for the terminal device 100 to establish a Bluetooth connection with the cat's eye 200; the second interaction stage is for verifying the security of the cat's eye 200 when the cat's eye 200 is in an environment covered by a short-range wireless network; the third interaction stage is for configuring a WiFi wireless network for the cat's eye 200 and registering the cat's eye 200 to the server 400 when the cat's eye 200 is in an environment covered by a WiFi wireless network, so as to establish a WiFi connection between the terminal device 100 and the cat's eye 200; the fourth interaction stage is for the terminal device 100 to control the smart lock 300 through the cat's eye 200 to perform an unlocking operation.

[0035] Among the above four interaction stages, the first interaction stage and the fourth interaction stage are usually the stages that must be executed, and the second interaction stage and the third interaction stage can be selected according to whether the terminal device 100 is in an environment covered by a WiFi wireless network. However, in actual operation, the unlocking method based on WiFi connection is preferred. Therefore, after executing the second interaction stage, if the terminal device 100 is in an environment covered by a WiFi wireless network, the third interaction stage can be carried out. In actual applications, the first interaction stage, the second interaction stage and the third interaction stage are usually only carried out once, and the fourth interaction stage can be carried out multiple times according to actual unlocking requirements.

[0036] The four interaction stages are now explained in detail as follows:

[0037] (1) The first interaction stage is the process of establishing a Bluetooth connection between the terminal device 100 and the cat's eye 200. After the terminal device 100 and the cat's eye 200 establish a Bluetooth connection, the terminal device 100 and the cat's eye 200 can communicate within a "short distance".

[0038] The network request includes: a first network request, which is used to request the establishment of a Bluetooth connection between the terminal device 100 and the cat's eye 200. The terminal device 100 receives the first network request input by the user, generates a first network instruction according to the first network request, and sends the first network instruction to the cat's eye 200. After receiving the first network instruction, the cat's eye 200 establishes a Bluetooth connection with the terminal device 100 according to the first network instruction.

[0039] Specifically, the user inputs a first network request on the application 110 on the terminal device 100; wherein the "first network request" can be any operation instruction, text instruction or voice instruction that can indicate "need to establish a wireless network connection"; when the "first network request" is an operation instruction, the "input" is achieved by pressing the control on the application 110 used to indicate the "first network request"; when the "first network request" is a text instruction, the "input" is achieved by writing text indicating the "first network request" on the application 110; when the "first network request" is a voice instruction, the "input" is achieved by inputting a voice indicating the "first network request" on the application 110.

[0040] In actual operation, the application 110 in the terminal device 100 provides a network connection interface for receiving a first network request. After receiving the first network request on the network connection interface, the terminal device 100 generates a first network instruction according to the first network request and sends the first network instruction to the cat's eye 200; when the cat's eye 200 receives the first network instruction, it establishes a wireless network connection with the terminal device 100 according to the first network instruction, indicating that the cat's eye 200 has been successfully added as a "device" to the application 110 of the terminal device 100, and the terminal device 100 can subsequently communicate with the cat's eye 200 based on the Bluetooth connection.

[0041] It should be emphasized that the first network request specifies the specific type of the requested Bluetooth connection, such as Bluetooth connection.

[0042] For example, when the Bluetooth connection between the terminal device 100 and the cat's eye 200 is a Bluetooth connection, the cat's eye 200 must first create a GATTS (Generic Attribute Profile Server) service based on the GATT (Generic Attribute Profile) protocol and broadcast Bluetooth information; the GATT protocol defines the framework and rules for Bluetooth devices to exchange and communicate data, including service declarations, feature definitions, and data reading and writing operations.

[0043] The application 110 searches for the Bluetooth of the Cat's Eye 200 based on the search trigger provided in the network connection interface. When the network connection interface displays the searched Bluetooth of the Cat's Eye 200, the Bluetooth of the terminal device 100 and the Cat's Eye 200 can be paired and connected on the network connection interface. After the pairing is successful, a Bluetooth connection is established between the terminal device 100 and the Cat's Eye 200, indicating that the Cat's Eye 200 has been successfully added to the application 110 as a "device".

[0044] In one implementation, the terminal device 100 provides a network connection interface including a QR code scanning control; the cat's eye 200 provides a target QR code for establishing a wireless network connection; the terminal device 100 determines the user's operation on the QR code scanning control on the network connection interface as a first network request, displays a scanning interface for scanning the target QR code according to the first network request, and is also used to generate a first network instruction and send the first network instruction to the cat's eye 200 if the target QR code is scanned successfully; wherein the first network instruction indicates that the scan of the target QR code is successful.

[0045] Specifically, the target QR code can be set on the surface of the cat's eye 200, for example, the QR code can be attached to the surface of the cat's eye 200; the scanning process for the target QR code is set because it is necessary to ensure that the user is at the site of the cat's eye 200 and the smart lock 300 as much as possible to prevent other unfamiliar users from connecting to the cat's eye 200 at will.

[0046] (2) The second interaction stage is when the cat's eye 200 is in an environment covered by a short-range wireless network, and the security of the cat's eye 200 is verified. After the security of the cat's eye 200 is verified, the terminal device 100 can send an unlocking instruction to the cat's eye 200 based on the Bluetooth connection.

[0047] The network request includes: a second network request, which is used to request authentication of the security of the cat's eye when the terminal device and the cat's eye are connected via Bluetooth. In actual operation, the application 110 in the terminal device 100 provides a network configuration interface for receiving the second network request. Upon receiving the second network request on the network configuration interface, the terminal device 100 generates a second network instruction based on the second network request and sends the second network instruction to the cat's eye 200. The cat's eye 200 generates an operation authentication instruction based on the second network instruction and sends the authentication instruction to the smart lock 300. The smart lock 300 provides a target operation interface for the user to operate based on the operation authentication instruction. After the user performs the target operation on the target operation interface, an operation feedback signal is generated and sent to the cat's eye 200. The cat's eye 200 generates an authentication signal based on the operation feedback signal and sends the authentication signal to the terminal device. The authentication signal indicates that the terminal device can send an unlock instruction to the cat's eye based on the Bluetooth connection.

[0048] Specifically, the “input” process of the user inputting the second network request is similar to the “input” process of the user inputting the first network request, and will not be described in detail here.

[0049] The operation authentication instruction indicates the specific content of the target operation. For example, the operation authentication instruction is used to instruct the user to enter the current password of the smart lock 300 on the numeric keypad provided by the smart lock 300 or enter the target number specified by the operation authentication instruction.

[0050] In actual operation, if the user completes the target operation, it is considered that the control behavior of the cat's eye 200 to control the smart lock 300 to perform the unlocking operation is safe, so the terminal device 100 can send an unlocking instruction to the cat's eye 200 based on the Bluetooth connection.

[0051] In actual operation, the wireless network connection between the terminal device 100 and the cat's eye 200 is usually different according to the different wireless network coverage environments in which the cat's eye 200 is located. When the cat's eye 200 is in an environment where both a short-range wireless network and a WiFi wireless network are covered, it is preferred to establish a WiFi connection between the device terminal 100 and the cat's eye 200. If a Bluetooth connection has been established between the terminal device 100 and the cat's eye 200, but the environment previously covered by the short-range wireless network in which the cat's eye 200 was located is now covered by a WiFi wireless network, a WiFi connection can be established between the terminal device 100 and the cat's eye 200. If no WiFi connection is established between the terminal device 100 and the cat's eye 200, the application 110 will give the user a corresponding prompt, prompting the user to establish a WiFi connection between the terminal device 100 and the cat's eye 200.

[0052] (3) The third interaction stage is when the cat's eye 200 is in an environment covered by a WiFi wireless network, the WiFi wireless network is configured for the cat's eye 200 and the cat's eye 200 is registered with the server 400 to establish a WiFi connection between the terminal device 100 and the cat's eye 200.

[0053] Among them, the network request includes: a third network request, the third network request is used to request to establish a WiFi connection between the terminal device and the cat's eye; the system also includes: a server, and the terminal device and the server are connected by WiFi; in actual operation, the application 110 in the terminal device 100 provides a network configuration interface for receiving the third network request. When the third network request is received on the network configuration interface, the terminal device 100 generates a third network instruction according to the third network request input by the user and sends the third network instruction, the first identifier of the terminal device and the second identifier of the cat's eye to the server 400.

[0054] The server 400 performs binding registration for the first identifier and the second identifier according to the third network instruction, generates a network configuration feedback signal after registration, and sends the network configuration feedback signal to the terminal device 100; the network configuration feedback signal indicates that the terminal device 100 can send an unlocking instruction to the cat's eye 200 based on the WiFi connection.

[0055] Specifically, the first identifier of the terminal device 100 can be the token of the terminal device 100, and the second identifier of the cat's eye 200 is obtained after a short-range wireless network connection is established between the terminal device 100 and the cat's eye 200; in actual operation, the identifier is a character string or other data that can uniquely identify the terminal device 100 and the cat's eye 200.

[0056] After a WiFi connection is established between the cat's eye 200 and the server 400, if the terminal device 100 also establishes a WiFi connection with the server 400, it is equivalent to the terminal device 100 being connected to the cat's eye 200. For example, the cat's eye 200 can be connected to the server 400 via WiFi, and the terminal device 100 can be connected to the server 400 via 5G technology. Although the distance types of the above two wireless network connections are different, as long as both the cat's eye 200 and the terminal device 100 can be connected to the server 400 via WiFi, the terminal device 100 can achieve remote unlocking through the cat's eye 200.

[0057] (4) The fourth interaction stage is when the terminal device 100 controls the smart lock 300 through the cat's eye 200 to perform an unlocking operation; the terminal device 100 sends an unlocking instruction to the cat's eye 200, so that the cat's eye 200 controls the smart lock 300 to perform an unlocking operation according to the unlocking instruction. In actual operation, if the terminal device 100 and the cat's eye 200 are connected by Bluetooth and / or WiFi, the terminal device 100 automatically selects the better WiFi connection to transmit the unlocking instruction to the cat's eye 200.

[0058] The terminal device 100 generates an authentication instruction based on the unlock request input by the user. If the terminal device 100 and the cat's eye 200 are connected via WiFi, the terminal device 100 sends the authentication instruction, the first identifier, and the second identifier to the server 400. The server 400 confirms whether the first identifier and the second identifier have been bound and registered based on the authentication instruction. If the first identifier and the second identifier have been bound and registered, it generates a verification feedback signal and sends the verification feedback signal to the terminal device 100. The terminal device 100 is also used to generate an unlock instruction based on the unlock request and the verification feedback signal and send the unlock instruction to the cat's eye 200. The cat's eye 200 controls the smart lock 300 to perform the unlock operation based on the unlock instruction.

[0059] In one implementation, after receiving the unlocking instruction, the cat's eye 200 switches from the low-power state to the awake state; after controlling the smart lock 300 to perform the unlocking operation, the cat's eye 200 switches from the awake state to the low-power state.

[0060] Specifically, after the cat's eye 200 completes the first interaction stage and the second interaction stage, it enters a low-power state. After receiving the unlocking instruction sent by the terminal device 100, the cat's eye 200 switches from the low-power state to the awake state; when the cat's eye 200 controls the smart lock 300 to perform the unlocking operation, the cat's eye 200 switches from the awake state to the low-power state; the low-power state setting of the cat's eye 200 can greatly save power and increase the usage time.

[0061] For example, the process of switching the module responsible for WIFI connection in Cat's Eye 200 from the awake state to the low power state includes: Cat's Eye 200 sets dtim, Cat's Eye 200 creates a socket connection to the server 400, and uses select() to wait for receiving the wake-up packet from the server 400.

[0062] The process of switching the module responsible for Bluetooth connection in the cat's eye 200 from the awake state to the low power consumption state includes: disconnecting the Bluetooth connection with the terminal device 100 and setting the Bluetooth broadcast interval to 1600ms.

[0063] For another example, the process of the module responsible for WIFI connection in Cat's Eye 200 switching from a low-power state to an awake state includes: the terminal device 100 requests the server 400 to wake up the Cat's Eye 200, the server 400 sends a wake-up packet to the Cat's Eye 200, the Select() of the Cat's Eye 200 receives data and exits the blocking, the Cat's Eye 200 sets the full speed and sets the Bluetooth broadcast interval to 800ms to ensure the connection speed.

[0064] The process of the module responsible for Bluetooth connection in Cat's Eye 200 switching from low power consumption state to awake state includes: the terminal device 100 connects to Cat's Eye 200 via BLE, Cat's Eye 200 sets full speed, Cat's Eye 200 closes the socket with the server 400 to exit the select() blocking, and sets the Bluetooth broadcast interval to 800ms.

[0065] Second, the embodiment of the present application provides a smart lock control method, which is applied to the smart lock control system mentioned above, such as Figure 3 As shown, Figure 3 This is a flowchart of the first interaction phase in the smart lock control method provided in an embodiment of the present application. The first interaction phase includes:

[0066] S101: Generate a first network instruction according to a first network request input by a user.

[0067] The first network request is used to request to establish a Bluetooth connection between the terminal device and the cat's eye.

[0068] Specifically, the terminal device 100 can provide a network connection interface for receiving a first network request input by the user. When the user needs to establish a wireless network connection between the terminal device 100 and the cat's eye 200, the first network request can be entered on the network connection interface. In actual operation, different Bluetooth connections can correspond to different first network requests. Accordingly, the network connection interface can also provide corresponding input boxes or operation controls to prompt the user to select the corresponding first network request based on actual needs. In actual applications, the above-mentioned first network request may include: network name (SSID, Service Set Identifier), input password, wireless network type (such as Wi-Fi, Bluetooth, etc.), and possible other configuration parameters.

[0069] When the terminal device 100 receives the above-mentioned first network request, it will process the first network request to generate a specific first network instruction. For example, the terminal device 100 needs to parse the network name and password entered by the user, configure the corresponding network interface according to the selected network type, and perform other preparatory work, such as scanning available networks and checking network security.

[0070] S102: The terminal device sends the first network instruction to Maoyan.

[0071] Specifically, the terminal device 100 sends the first network instruction to the cat's eye 200. During the sending process of the first network instruction, the terminal device 100 will follow the corresponding communication protocol to ensure that the format, encoding and transmission method of the first network instruction are correct.

[0072] S103: Cat's Eye establishes a Bluetooth connection with the terminal device according to the first network instruction.

[0073] Specifically, after receiving the first network instruction from the terminal device 100, the cat's eye 200 will immediately start processing the first network instruction.

[0074] The process of the cat's eye 200 processing the first network instruction includes:

[0075] Cat's eye 200 parses the first network instruction to ensure that the connection request with the terminal device 100 is legal and valid; Cat's eye 200 configures the network interface of Cat's eye 200 according to the information obtained from parsing the first network instruction, and the network interface is used to establish a wireless network connection with the terminal device 100. The process of configuring the network interface may include: setting the correct network address and port number, etc.; when the configuration of Cat's eye 200 is completed, Cat's eye 200 will send a response signal to the terminal device 100, indicating that Cat's eye 200 is ready to establish a connection; when the terminal device 100 receives the response signal, the terminal device 100 will perform a series of handshake operations with Cat's eye 200 to confirm that the wireless network connection has been successfully established.

[0076] like Figure 4 As shown, Figure 4 This is a flow chart of the second interaction phase in the smart lock control method provided in an embodiment of the present application. The second interaction phase includes:

[0077] S201: The terminal device generates a second network instruction according to the second network request.

[0078] The second network request is used to request authentication of the security of the cat's eye when the terminal device and the cat's eye are connected via Bluetooth.

[0079] Specifically, the terminal device 100 can provide a network configuration interface for receiving a second network request input by the user. When the user requires the cat's eye 200 to configure the terminal device 100 for network configuration, the user enters the second network request on the terminal device 100. After receiving the second network request, the terminal device 100 generates a second network instruction for network configuration based on preset logic and algorithms. The second network instruction may include basic information required for network configuration, such as the network name and wireless network type.

[0080] S202: The terminal device sends the second network instruction to Maoyan.

[0081] Specifically, after the terminal device 100 generates the second network instruction, the terminal device 100 sends the second network instruction and the identifier to the cat's eye 200 via the wireless network connection. The above process usually needs to be performed when both the terminal device 100 and the cat's eye 200 are within the communication range.

[0082] S203: Maoyan generates an operation authentication instruction according to the second network instruction.

[0083] Specifically, after receiving the second network instruction and the identifier of the terminal device 100, Cat's Eye 200 parses and verifies the second network instruction according to its internal preset algorithms and logic to check the integrity of the signal and the validity of the network information. Once the verification is successful, Cat's Eye 200 generates an operation authentication instruction, which is used to confirm the legitimacy and validity of the network configuration operation.

[0084] S204: The cat's eye sends the operation authentication instruction to the smart lock.

[0085] Specifically, after the cat's eye 200 generates the operation authentication instruction, it will send the operation authentication instruction to the smart lock 300 through wireless network technology. After receiving the operation authentication instruction, the smart lock 300 will perform further verification and processing, and prepare to provide the corresponding operation interface to the user.

[0086] S205: The smart lock provides a target operation interface for the user to operate according to the operation authentication instruction.

[0087] Specifically, after receiving and verifying the validity of the operation authentication instruction, the smart lock 300 generates and displays a target operation interface based on the instruction or information in the signal. The target operation interface can be displayed on the display screen of the smart lock 300, and the user can perform the target operation through the target operation interface.

[0088] In actual operation, the operation authentication instruction indicates the specific content of the target operation. For example, the operation authentication instruction is used to instruct the user to enter the current password of the smart lock 300 on the numeric keypad provided by the smart lock 300 or enter the target number specified by the operation authentication instruction.

[0089] S206: After the user performs the target operation on the target operation interface, the smart lock generates an operation feedback signal.

[0090] Specifically, if the user performs the target operation on the target operation interface, the smart lock 300 generates an operation feedback signal. The operation feedback signal may include: the result of the user operation, status information, and possible error prompts. The smart lock 300 uses internal processing logic to ensure the accuracy and integrity of the operation feedback signal so that it can subsequently communicate with the cat's eye 200.

[0091] S207: The smart lock sends an operation feedback signal to the peephole.

[0092] Specifically, after the smart lock 300 generates an operation feedback signal, it sends the operation feedback signal back to the cat's eye 200 , so that the cat's eye 200 forwards the operation feedback signal to the terminal device 100 .

[0093] S208: The cat's eye generates an authentication signal according to the operation feedback signal.

[0094] Specifically, after receiving the operation feedback signal, Cat's Eye 200 generates an authentication signal based on the operation feedback signal. The authentication signal typically includes the operation result, a timestamp, and possibly encrypted information. Cat's Eye 200 uses internal processing logic to ensure the accuracy and integrity of the authentication signal to facilitate subsequent communication with the terminal device 100.

[0095] S209: Cat's Eye sends the authentication signal to the terminal device.

[0096] Among them, the authentication signal indicates that the terminal device can send an unlocking instruction to the cat's eye based on the Bluetooth connection.

[0097] like Figure 5 As shown, Figure 5 This is a flowchart of the third interaction phase in the smart lock control method provided in an embodiment of the present application. The third interaction phase includes:

[0098] S301: The terminal device generates a third network instruction according to a third network request input by a user.

[0099] Among them, the third network request is used to request to establish a WiFi connection between the terminal device and Cat's Eye.

[0100] Specifically, the terminal device 100 provides an unlocking interface for receiving unlocking requests. The user enters a third network request on the unlocking interface to establish a WiFi connection with the Cat's Eye 200 device. After receiving the user's request, the terminal device generates a specific third network instruction based on the preset protocol and processing logic. The third network instruction contains all the necessary information required to establish a WiFi connection, such as the network type, connection mode (direct connection, server relay, etc.), and security settings (encryption method, password, etc.).

[0101] S302: The terminal device sends the third network instruction, the first identifier of the terminal device, and the second identifier of Maoyan to the server;

[0102] Specifically, the terminal device 100 sends the generated third network instruction, along with the first identifier of the terminal device 100 (such as a user account, device serial number, etc.) and the second identifier of the cat's eye 200 (such as a device ID, MAC address, etc.) to the server 400. By sending the identifiers, the server 400 can accurately associate the terminal device 100 with the cat's eye 200 and provide necessary support for subsequent connection establishment.

[0103] S303: The server performs binding registration for the first identifier and the second identifier according to the third network instruction.

[0104] Specifically, after receiving the third network instruction from the terminal device 100, the server 400 first verifies the legitimacy and integrity of the third network instruction. A binding registration is performed based on the information in the third network instruction, the first identifier of the cat's eye, and the second identifier of the terminal device. The registration process typically involves associating the identifiers of the two devices with the third network instruction and storing them in the server's database for subsequent management and query.

[0105] By binding and registering, the server 400 can ensure that only authorized terminal devices 100 can establish a connection, thereby improving the security of the entire system and facilitating subsequent connection management and troubleshooting.

[0106] S304: The server generates a network configuration feedback signal after registration.

[0107] Specifically, after completing the binding registration, the server 400 generates a network configuration feedback signal. The network configuration feedback signal typically includes the result of establishing the remote network connection (success or failure), specific connection parameters (such as the network address, port number, etc.), and possible security information (such as encryption keys).

[0108] The network configuration feedback signal is a direct response from the server 400 to the connection establishment request from the terminal device 100. By sending the network configuration feedback signal, the server 400 notifies the terminal device 100 of the result of the connection establishment and all the information required for subsequent remote control.

[0109] S305: Send the distribution network feedback signal to the terminal device.

[0110] Among them, the distribution network feedback signal indicates that the terminal device can send an unlocking instruction to the cat's eye based on the WiFi connection.

[0111] Specifically, server 400 sends the generated network configuration feedback signal back to terminal device 100. After receiving the network configuration feedback signal, terminal device 100 first parses and verifies it. If verification succeeds, terminal device 100 displays a successful connection message to the user and indicates that remote control operations such as unlocking commands can now be sent to the cat's eye via WiFi.

[0112] like Figure 6 As shown, Figure 6 This is a flowchart of the fourth interaction phase in the smart lock control method provided in an embodiment of the present application. The fourth interaction phase includes:

[0113] S401: After receiving the unlocking request, the terminal device generates a verification instruction according to the unlocking request.

[0114] Specifically, the terminal device 100 provides an unlocking interface for receiving unlocking requests. The user enters the unlocking request on the terminal device 100, which is used to remotely control the cat-eye device to perform the unlocking operation. After receiving the user's unlocking request, the terminal device 100 generates a specific verification instruction based on the preset protocol and processing logic. The verification instruction contains the necessary information to verify the user's identity and the legitimacy of the unlocking request.

[0115] S402: The terminal device sends a verification instruction, a first identifier, and a second identifier to the server.

[0116] Specifically, the terminal device 100 sends the generated verification instruction, along with the first identifier of the terminal device 100 (such as user account, device serial number, etc.) and the second identifier of the cat's eye 200 (such as device ID, MAC address, etc.) to the server 400. The server 400 needs to verify whether the two devices have been bound and registered, and confirm the legitimacy of the unlocking request.

[0117] S403: The server confirms whether the first identifier and the second identifier have been bound and registered according to the verification instruction.

[0118] Specifically, upon receiving the verification instruction from the terminal device 100, the server 400 first verifies the legitimacy and integrity of the verification instruction. Based on the information in the verification instruction, as well as the first identifier of the terminal device 100 and the second identifier of the smoke emitting device 200, the server queries the database to confirm whether the two devices have been bound and registered. This ensures that only authorized terminal devices 100 can perform unlocking operations, thereby improving system security.

[0119] S404: If it is confirmed that the first identifier and the second identifier have been bound and registered, the server generates a verification feedback signal.

[0120] Specifically, if the server 400 confirms that the first identifier and the second identifier have been bound and registered and that the unlock request is legitimate, the server 400 generates a verification feedback signal. The verification feedback signal typically includes information indicating successful verification, as well as a possible security token or encryption key, etc., which is used for subsequent unlock instruction transmission.

[0121] S405: The server sends a verification feedback signal to the terminal device.

[0122] Specifically, the server 400 sends the generated verification feedback signal back to the terminal device 100 to notify the terminal device 100 of the verification result and provide support for subsequent unlocking instruction generation and sending.

[0123] S406: The terminal device generates an unlocking instruction according to the unlocking request and the verification feedback signal.

[0124] Specifically, after receiving the verification feedback signal, the terminal device 100 first analyzes and verifies it. If the verification is successful, the terminal device 100 will generate a specific unlocking instruction based on the user's unlocking request and the information in the verification feedback signal.

[0125] S407: The terminal device sends an unlocking instruction to the cat's eye.

[0126] Specifically, the terminal device 100 sends the generated unlocking instruction to the cat's eye 200 via WiFi connection.

[0127] S408: The cat's eye controls the smart lock to perform the unlocking operation according to the unlocking instruction.

[0128] Specifically, after receiving the unlock command, the cat's eye 200 controls the smart lock 300 to perform the unlock operation. In actual operation, the unlock control process involves the cat's eye 200 sending a specific command to the smart lock 300, such as unlocking a password or opening an electromagnetic lock. When the smart lock 300 receives and recognizes the specific command, the smart lock 300 will perform the corresponding unlocking action, allowing the user operating the terminal device 100 to enter.

[0129] Third, the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, steps S101 to S408 of the above embodiment are executed.

[0130] Fourth, the computer program product provided in this application includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method in the previous method embodiment. For specific implementation, please refer to steps S101 to 408 of the method embodiment, which will not be repeated here.

[0131] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, 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 communication interface, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0132] In addition, the units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across 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.

[0133] Furthermore, the functional modules in each embodiment of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0134] It should be noted that if the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0135] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any actual relationship or order between these entities or operations.

[0136] The above description is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, various modifications and variations of the present application are possible. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A smart lock control system, characterized in that: The system comprises: a terminal device, a cat's eye and a smart lock, wherein the cat's eye is installed on the smart lock and is in communication connection with the smart lock; The terminal device is used to establish a Bluetooth connection and a WiFi connection between the terminal device and the cat's eye according to a network request input by a user; The terminal device is further used to generate an unlocking instruction according to an unlocking request input by a user, and is further used to send the unlocking instruction to the cat's eye based on the Bluetooth connection and / or the WiFi connection; The peephole is used to control the smart lock to perform an unlocking operation according to the unlocking instruction.

2. The system according to claim 1, characterized in that The network request includes: a first network request, the first network request is used to request to establish a Bluetooth connection between the terminal device and the cat's eye; The terminal device is further configured to generate a first network instruction according to the first network request input by the user and send the first network instruction to the cat's eye; The cat's eye is used to establish a Bluetooth connection with the terminal device according to the first network instruction.

3. The system according to claim 2, characterized in that The terminal device is also used to provide a network connection interface including a QR code scanning control; The cat's eye is also used to display a target QR code for establishing a Bluetooth connection; The terminal device is also used to determine the user's operation on the two-dimensional code scanning control on the network connection interface as the first network request, display a scanning interface for scanning the target two-dimensional code according to the first network request, and generate the first network instruction if the target two-dimensional code is scanned successfully.

4. The system according to claim 2, characterized in that The network request includes: a second network request, wherein the second network request is used to request authentication of the security of the cat's eye when the terminal device and the cat's eye are connected via Bluetooth; The terminal device is further configured to generate a second network instruction according to the second network request input by the user and send the second network instruction to the cat's eye; The cat's eye is further used to generate an operation authentication instruction according to the second network instruction and send the authentication instruction to the smart lock; The smart lock is used to provide a target operation interface for the user to operate according to the operation authentication instruction, and is also used to generate an operation feedback signal after the user performs the target operation on the target operation interface and send the operation feedback signal to the cat's eye; The cat's eye is further used to generate an authentication signal according to the operation feedback signal and send the authentication signal to the terminal device; Among them, the authentication signal indicates that the terminal device can send the unlocking instruction to the cat's eye based on the Bluetooth connection.

5. The system according to claim 2, characterized in that The network request includes: a third network request, the third network request is used to request to establish a WiFi connection between the terminal device and the cat's eye; the system also includes: a server, the terminal device and the server are connected by WiFi; The terminal device is further configured to generate a third network instruction according to a third network request input by a user and send the third network instruction, the first identifier of the terminal device and the second identifier of the cat's eye to the server; The server is used to perform binding registration for the first identifier and the second identifier according to the third network instruction, and is also used to generate a network configuration feedback signal after registration and send the network configuration feedback signal to the terminal device; Among them, the distribution network feedback signal indicates that the terminal device can send the unlocking instruction to the cat's eye based on the WiFi connection.

6. The system according to claim 5, characterized in that The terminal device is further used to generate an authentication instruction according to the unlocking request input by the user, and if the terminal device and the cat's eye are connected by WiFi, send the authentication instruction, the first identifier and the second identifier to the server; The server is configured to confirm whether the first identifier and the second identifier have been bound and registered according to the authentication instruction, and if it is confirmed that the first identifier and the second identifier have been bound and registered, generate a verification feedback signal and send the verification feedback signal to the terminal device; The terminal device is further used to generate the unlocking instruction according to the unlocking request and the verification feedback signal and send the unlocking instruction to the cat's eye.

7. The system according to claim 1, characterized in that The cat's eye is further used to switch from a low power consumption state to a wake-up state after receiving the unlocking instruction; The cat's eye is also used to switch from the awake state to the low power consumption state after controlling the smart lock to perform an unlocking operation.

8. A smart lock control method, characterized in that: A terminal device applied to a smart lock control system, the method comprising: In response to a first network request input by a user, generating a first network instruction according to the first network request and sending the first network instruction to Cat's Eye, so that the Cat's Eye establishes a Bluetooth connection with the terminal device according to the first network instruction; In response to the unlocking request input by the user, an unlocking instruction is generated according to the unlocking request and the unlocking instruction is sent to the cat's eye, so that the cat's eye controls the smart lock to perform an unlocking operation according to the unlocking instruction.

9. A smart lock control method, characterized in that: A cat's eye used in a smart lock control system, the method comprising: In response to receiving a first network instruction sent by a terminal device, establishing a Bluetooth connection with the terminal device according to the first network instruction; In response to receiving the unlocking instruction sent by the terminal device, the smart lock is controlled to perform an unlocking operation according to the unlocking instruction.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program codes executed by a processor, and the program codes are used to implement the smart lock control method as described in any one of claims 8 to 9.