Lock body testing tools, control methods, devices, and readable storage media

By acquiring and outputting lock body information through lock body testing tools, the problem of breaking and damaging locks in smart door lock troubleshooting has been solved, enabling accurate fault location and efficient maintenance.

CN118884071BActive Publication Date: 2025-10-31MIDEA INTELLIGENT LIGHTING & CONTROLS TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410897829.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2025-10-31
Estimated Expiration
2044-07-05

AI Technical Summary

Technical Problem

When existing smart door locks malfunction, the solution is usually to break down the door and lock, resulting in financial losses for users and loss of home security.

Method used

A lock body testing tool is provided, including an interface component, a communication component, and a controller. It can acquire lock body information and output it through an external device. It supports wired and wireless connections and has display, input, energy storage, and storage functions, enabling accurate location of lock body information and fault diagnosis.

Benefits of technology

With lock body testing tools, maintenance personnel can accurately locate fault points, avoid breaking doors and locks, reduce user losses and security gaps, and improve maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118884071B_ABST
    Figure CN118884071B_ABST
Patent Text Reader

Abstract

This invention provides a lock body detection tool and its control method, device, and readable storage medium. The lock body detection tool includes: an interface component; a communication component; and a controller connected to the interface component and the communication component. When the interface component includes a first interface and a second interface, and the first interface is connected to the lock body, the controller obtains lock body information through the first interface and outputs the lock body information through an external device; or when the interface component includes a first interface, and the first interface is connected to the lock body, the controller obtains lock body information through the first interface and outputs the lock body information through an external device. The external device is a device that communicates with the communication component and / or with the second interface. This design avoids potential losses for users if the lock body malfunctions, and also reduces the possibility of the home being unprotected before the door and lock are repaired.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of equipment testing technology, and more specifically, to a lock body testing tool and its control method, device, and readable storage medium. Background Technology

[0002] Smart door locks, as a type of lock body, are widely used. They add a number of smart accessories to the traditional door lock, thereby realizing functions such as fingerprint unlocking, remote unlocking, and facial recognition unlocking.

[0003] However, while smart locks offer convenience to users, they also have some drawbacks. For example, when functions such as fingerprint unlocking, remote unlocking, and facial recognition unlocking malfunction, users may be unable to open the lock. Considering user information security, lock information cannot be uploaded to the server, and repair personnel cannot accurately know the lock information. Once a smart lock malfunctions, the problem is usually solved by breaking the door and lock, which can cause financial losses to users, and the home will be unprotected until the door and lock are repaired. Summary of the Invention

[0004] The present invention aims to at least solve the technical problem in the prior art or related technologies that, once a smart door lock malfunctions, the fault is usually dealt with by breaking the door and the lock, which will cause economic losses to users and leave the home unprotected until the door and lock are repaired.

[0005] Therefore, a first aspect of the present invention is to provide a lock body detection tool.

[0006] A second aspect of the present invention is that a control method for a lock body detection tool is provided.

[0007] A third aspect of the present invention is that a control device for a lock body detection tool is provided.

[0008] A fourth aspect of the invention is that it provides a control device for another lock body detection tool.

[0009] A fifth aspect of the present invention is that a readable storage medium is provided.

[0010] A sixth aspect of the present invention is that a lock body detection tool is provided.

[0011] In view of the above, according to a first aspect of the present invention, the present invention provides a lock body detection tool, comprising: an interface component; a communication component; and a controller connected to the interface component and the communication component; wherein, when the interface component includes a first interface and a second interface, and the first interface is connected to the lock body, the controller acquires lock body information of the lock body through the first interface and outputs the lock body information through an external device; or, when the interface component includes a first interface, and the first interface is connected to the lock body, the controller acquires lock body information of the lock body through the first interface and outputs the lock body information through an external device; wherein the external device is a device that communicates with the communication component and / or a device that communicates with the second interface.

[0012] This invention proposes a lock body detection tool, which includes an interface component, a communication component, and a controller. The first interface in the interface component can connect to the lock body, thus enabling the acquisition of lock body information. An external device can connect to the controller via a second interface in the interface component or the communication component, thus allowing the output of lock body information from the external device.

[0013] During this process, if the lock malfunctions, the displayed lock information allows maintenance personnel to accurately locate the fault and then take appropriate measures to maintain the lock. This avoids the need to break down the door and lock to resolve the problem once the lock malfunctions. Obviously, this process can reduce the user's losses and also prevent the home from being unprotected before the door and lock are repaired.

[0014] In the above technical solution, the lock body information can be output by an external device that communicates with the second interface of the interface component, or by an external device that communicates with the communication component, or by simultaneously using an external device that communicates with the second interface of the interface component and an external device that communicates with the communication component to output the lock body information.

[0015] In this process, the second interface and communication component in the lock body testing tool are enabled to output lock body information. Obviously, when maintenance personnel use the lock body testing tool to test the lock body, they can select the corresponding method to output the lock body information according to the actual connection needs. In this process, the compatibility requirements of the lock body testing tool with external devices can be reduced.

[0016] In some technical solutions, the external device can be a host computer, a cloud server, or a handheld terminal.

[0017] For example, the host computer can be a user's computer.

[0018] For example, the communication component is a wireless communication component. When the external device is a cloud server, the communication component connects to the wireless router and then connects to the cloud server, which is also online.

[0019] For example, the handheld terminal can be a mobile phone, a tablet computer, or a terminal adapted to the lock detection tool.

[0020] In some technical solutions, the second interface is a wired connection interface.

[0021] In this technical solution, considering that the communication component is a wireless communication component, a second interface with a wired connection is provided to enable the lock body detection tool to have the ability to output a physical connection, so as to meet the usage needs in different usage scenarios.

[0022] In addition, the lock body testing tool proposed in this application has the following additional technical features.

[0023] In some technical solutions, the first interface may optionally include a wired connection interface and / or a wireless connection interface.

[0024] In this technical solution, when the first interface is a wired connection interface, the lock body detection tool can establish a physical connection with the lock body, thereby enabling the acquisition of lock body information even when the lock body does not have wireless connection capability.

[0025] In some technical solutions, the first interface may optionally be a USB interface type, including one or more of the following: Type-A, Type-B, Type-C, Mini USB, Micro USB.

[0026] Universal Serial Bus (USB) is a serial bus standard and a technical specification for input / output interfaces, which is widely used in information and communication products such as personal computers and mobile devices.

[0027] Type-A (Standard-A), Type-B (Micro-B), and Type-C are three interface specifications in Universal Serial Bus (USB) specification 3.1.

[0028] Mini USB, also known as mini USB, is a USB interface standard. Micro USB is a portable version of the USB 2.0 standard, smaller than the Mini USB interface used in some mobile phones. Micro-USB is the next generation specification of Mini-USB.

[0029] In some technical solutions, optionally, when the first interface is a wireless connection interface, the lock body detection tool can establish a wireless connection with the lock body, thereby enabling the acquisition of lock body information even when the lock body does not have wired connection capability.

[0030] In some technical solutions, the wireless connection interface may optionally employ one or more of the following technologies: Wi-Fi, BLE, ZigBee, NFC.

[0031] Among them, Wi-Fi, also known as "mobile hotspot" in Chinese, is a trademark of the Wi-Fi Alliance manufacturers as a brand certification for their products. It is a wireless local area network technology created based on the IEEE 802.11 standard.

[0032] Bluetooth Low Energy (also known as Bluetooth LE, BLE, or formerly BluetoothSmart) is a personal area network (LAN) technology designed and marketed by the Bluetooth Special Interest Group (SIG).

[0033] ZigBee, also known as Purple Bee, is a low-speed, short-range wireless network protocol.

[0034] Near Field Communication (NFC) is a short-range, high-frequency wireless communication technology.

[0035] In some technical solutions, the first interface may optionally include a wired connection interface and a wireless connection interface, thereby enabling the lock body testing tool to meet the connection needs of all lock bodies on the market.

[0036] In some technical solutions, the lock body detection tool may optionally include a screen component connected to the controller for displaying lock body information.

[0037] In this technical solution, a screen component is set in the lock body testing tool so that maintenance personnel can directly view the lock body information through the set screen component. In this process, no additional external devices need to be connected, making the use of the lock body testing tool more convenient.

[0038] In some technical solutions, optionally, when the external device does not have a visual output function, the lock body information is output using a screen component; when the external device has a visual output function, the lock body information is output using the external device.

[0039] In some technical solutions, the lock body detection tool may optionally include: an input component connected to a controller for receiving user input; the controller is also used to respond to user input and switch the output lock body information.

[0040] In this technical solution, by setting up an input component, maintenance personnel can interact with the lock body detection tool through the input component, thereby realizing the query of fault information and debugging information, as well as firmware upgrades.

[0041] In some technical solutions, when the external device does not have an input function, an input component is used for input; when the external device has an input function, the external device is used to perform the input.

[0042] In some technical solutions, the input component includes a keyboard.

[0043] In some technical solutions, the lock body testing tool may optionally include an energy storage component connected to the controller for supplying power to the controller.

[0044] In this technical solution, an energy storage component is set up to supply power to the controller. During this process, the lock body detection tool has an independent power supply, which enables the lock body to be detected even when there is no power, so as to collect lock body information.

[0045] In the above technical solution, since the interface component and the communication component are connected to the controller respectively, when the energy storage component is connected to the controller, the energy storage component can also supply power to the interface component and the communication component, and at the same time, it can also supply power to the lock body through the first interface.

[0046] In the above technical solution, when the lock body detection tool includes a screen assembly and an input assembly, the energy storage assembly can also supply power to the screen assembly and the input assembly to ensure that the screen assembly and the input assembly are powered on and running.

[0047] In the above technical solution, when the lock body has sufficient power to maintain the normal operation of the lock body testing tool and the lock body, there is no need to use an energy storage component. When the lock body does not have sufficient power to maintain the normal operation of the lock body testing tool and the lock body, an energy storage component is required for power supply.

[0048] In some technical solutions, the lock body detection tool may optionally include a storage component, connected to the controller, for storing lock body information.

[0049] In this technical solution, a storage component is set up to store lock body information. In this process, by storing the lock body information, the stored lock body information can still be read even when the first interface is disconnected from the lock body.

[0050] In some technical solutions, optionally, when the external device does not have storage function, a storage component is used to store the lock body information; when the external device has storage function, the external device is used to store the lock body information.

[0051] According to a second aspect of the present invention, the present invention provides a control method for a lock body detection tool, the lock body detection tool including an interface component, a communication component, and a controller, the controller being connected to the interface component and the communication component, including: acquiring lock body information of the lock body when a first interface in the interface component is connected to the lock body; and outputting the lock body information through an external device communicating with the communication component and / or an external device communicating with a second interface in the interface component.

[0052] In this technical solution, a control method for a lock body detection tool is proposed. By running the control method of the lock body detection tool, lock body information can be obtained from the lock body. External devices can be connected to the controller through the second interface or communication component in the interface component. Therefore, the lock body information can be output using external devices.

[0053] During this process, if the lock malfunctions, the displayed lock information allows maintenance personnel to accurately locate the fault and then take appropriate measures to maintain the lock. This avoids the need to break down the door and lock to resolve the problem once the lock malfunctions. Obviously, this process can reduce the user's losses and also prevent the home from being unprotected before the door and lock are repaired.

[0054] In the above technical solution, the lock body information can be output by an external device that communicates with the second interface of the interface component, or by an external device that communicates with the communication component, or by simultaneously using an external device that communicates with the second interface of the interface component and an external device that communicates with the communication component to output the lock body information.

[0055] In this process, the second interface and communication component in the lock body testing tool are enabled to output lock body information. Obviously, when maintenance personnel use the lock body testing tool to test the lock body, they can select the corresponding method to output the lock body information according to the actual connection needs. In this process, the compatibility requirements of the lock body testing tool with external devices can be reduced.

[0056] In addition, the control method for the lock body detection tool proposed in this application has the following additional technical features.

[0057] In some technical solutions, optionally, when the first interface in the interface component is connected to the lock body, obtaining the lock body information of the lock body further includes: when the first interface is connected to the lock body, sending a connection request to the lock body through the first interface, wherein, upon receiving the connection request, the lock body compares the entered permission information with the stored permission information, and if the entered permission information and the stored permission information are consistent, it operates according to the detection mode to collect the lock body information; if the entered permission information and the stored permission information are inconsistent, it outputs permission error information; and outputs permission error information.

[0058] In this technical solution, a connection request is sent, prompting the lock body to prompt the user to enter permission information upon receiving the request. The entered permission information is then compared with stored permission information. If the entered and stored permission information match, the lock body operates in detection mode to collect its own information. This verification process, checking the consistency between the entered and stored permission information, can be understood as an authentication process. By implementing this authentication process, it is ensured that the acquired lock body information is authorized by the user, thereby ensuring the security of user information.

[0059] In some technical solutions, the recorded permission information can optionally be recorded using the lock body or through an external device.

[0060] In this technical solution, users can enter permission information using the lock body or through an external device, thus meeting the needs of different scenarios.

[0061] In some technical solutions, the access information may optionally be one or more of the following: password, fingerprint, face, radio frequency (RF) card, and mechanical key.

[0062] In some technical solutions, when the entered permission information matches the stored permission information, the lock body detection tool displays an operation page through a screen component or external device. The operation page displays one or more of the following options: lock body status information, lock body log information, and lock body firmware information.

[0063] Specifically, the status information of the lock body includes one or more of the following sub-options: lock body version information, lock body setting information, lock body fault information, lock body permission information, and lock body unlocking information.

[0064] Specifically, the lock body's log information includes one or more of the following sub-options: historical logs of the lock body, real-time logs of the lock body, real-time log transmission of the lock body, and debugging information output of the lock body.

[0065] Specifically, the firmware information of the lock body includes one or more of the following sub-options: firmware information of component A in the lock body, firmware upgrade of component A in the lock body, firmware information of component B in the lock body, ..., firmware information of component N in the lock body, firmware upgrade of component N in the lock body.

[0066] In some technical solutions, optionally, the control method of the lock body detection tool further includes: receiving a first input for querying fault information; responding to the first input, sending a first request to the lock body, wherein the first request is a request for querying fault information; and displaying the received fault information.

[0067] In this technical solution, the lock body detection tool can receive input for querying fault information, i.e., the first input, and upon receiving the first input, send a first request to the lock body to query fault information. Upon receiving the first request, the lock body sends fault information back to the lock body detection tool, and upon receiving the fault information, the lock body detection tool displays the fault information.

[0068] During this process, the lock body detection tool can respond to the user's operation and display the lock body's fault information. Therefore, when the lock body malfunctions, maintenance personnel can troubleshoot by using the displayed fault information. This process makes it easier for maintenance personnel to understand the lock body's fault information and troubleshoot in a targeted manner, thereby improving troubleshooting efficiency.

[0069] In some technical solutions, optionally, if the entered permission information matches the stored permission information, the lock body responds to the received first request to report fault information to the lock body detection tool.

[0070] In some technical solutions, the control method of the lock body detection tool may optionally include: determining maintenance guidance information based on fault information; and outputting maintenance guidance information.

[0071] In this technical solution, maintenance personnel are guided to maintain faulty lock bodies by outputting maintenance guidance information. During this process, the lock body detection tool can provide maintenance guidance information based on the fault information, realizing automatic fault diagnosis. Maintenance personnel do not need to judge the fault situation themselves, thereby reducing the difficulty of lock body maintenance and improving the efficiency of faulty lock body maintenance.

[0072] In some technical solutions, the maintenance guidance information may optionally include one or more of text information, audio information, and video information, wherein the text information, audio information, and video information all contain the steps required to eliminate the lock body malfunction.

[0073] In some technical solutions, the information transmission between the lock body detection tool and the lock body can optionally be encrypted using any of the following methods: AES, DES, or RSA.

[0074] AES, or Advanced Encryption Standard, also known as Rijndael encryption, is a block encryption standard adopted by the U.S. federal government.

[0075] DES, or Data Encryption Standard, is a block encryption algorithm that uses a key for encryption.

[0076] RSA, or RSA algorithm, is an asymmetric encryption algorithm.

[0077] In some technical solutions, optionally, the control method of the lock body testing tool further includes: receiving a second input for querying debugging information; responding to the second input, sending a second request to the lock body, the second request being a request for querying debugging information, the lock body operating in debugging mode upon receiving the second request; receiving a debugging instruction; sending the received debugging instruction to the lock body, the lock body executing the operation corresponding to the debugging instruction in debugging mode, and providing feedback on the execution result of the debugging instruction; and outputting the execution result.

[0078] In this technical solution, the lock body testing tool can receive input for querying debugging information, i.e., the second input, and send a second request for querying debugging information to the lock body. Upon receiving the second request, the lock body operates in debugging mode, responds to the received debugging instructions, and feeds back the execution results of the debugging instructions to the lock body testing tool for output.

[0079] During this process, maintenance personnel can use lock body testing tools to debug the functions of the lock body on-site, thereby maintaining the lock body.

[0080] For example, in debug mode, when the user inputs an unlock command, the lock body will drive the lock to perform the unlocking action and provide feedback on the status of each sensor and the magnitude of the current generated during the unlocking process. The user can then determine whether the lock is working properly based on the feedback. Similarly, when the user inputs the wireless communication status detection function, the lock body will put the wireless communication module into working mode and provide feedback on its various operating statuses, such as operating current, signal strength, and operating time. The user can then determine whether the wireless communication module is working properly based on the feedback. Furthermore, when the user inputs a video intercom function debug command, the lock body will activate the video intercom function and provide feedback on relevant data such as image resolution, frame rate, bitrate, and audio sampling rate. The user can then determine whether components related to the video intercom are working properly, such as the camera, speaker, microphone, and image transmission module.

[0081] In some technical solutions, optionally, the control method of the lock body detection tool further includes: receiving a third input requesting a firmware upgrade; responding to the third input, sending a third request to the lock body, the third request being a firmware upgrade request, the lock body operating in upgrade mode upon receiving the third request; obtaining a firmware upgrade package; sending the firmware upgrade package to the lock body, the lock body performing a firmware upgrade based on the firmware upgrade package upon receiving the firmware upgrade package, and providing feedback on the firmware upgrade result; and outputting the firmware upgrade result.

[0082] In this technical solution, the lock body testing tool can receive firmware upgrade input, i.e., the third input, and upgrade the firmware of the lock body. During this process, the lock body testing tool can perform fault diagnosis on the lock body and upgrade the firmware at the same time, thereby realizing the maintenance of the lock body.

[0083] In some technical solutions, optionally, the control method of the lock body detection tool further includes: displaying a component list, the component list including at least one of the following: the main control component of the lock body, the voice component of the lock body, the communication component of the lock body, the lock body control component of the lock body, and the video component of the lock body; receiving a fourth input from the target component in the component list; and obtaining a firmware upgrade package, specifically including: in response to the fourth input, obtaining a first firmware upgrade package, the first firmware upgrade package being the firmware upgrade package corresponding to the target component.

[0084] In this technical solution, firmware upgrades can be performed on one or more components according to actual usage needs. Compared to firmware upgrades of the entire lock body, this provides more room for firmware upgrades, enabling personalized firmware upgrades to meet the upgrade needs of different lock bodies.

[0085] In some technical solutions, a one-click upgrade function can be optionally adopted. The one-click upgrade function will automatically upgrade all components to the latest firmware package, eliminating the need for users to upgrade each component individually, thus reducing the number of steps required from the user's operation.

[0086] In some technical solutions, optionally, when the lock body detection tool includes a storage component, obtaining the firmware upgrade package specifically includes: obtaining the firmware upgrade package from the storage component; or obtaining the firmware upgrade package through an external device that communicates with the communication component and / or an external device that communicates with the second interface in the interface component.

[0087] In this technical solution, the firmware upgrade package required for firmware upgrade can be obtained from the storage component, or from an external device that communicates with the communication component and / or an external device that communicates with the second interface in the interface component. In this process, the source of the firmware upgrade package can be selected according to actual needs, making firmware upgrade more convenient.

[0088] According to a third aspect of the present invention, the present invention provides a control device for a lock body detection tool. The lock body detection tool includes an interface component, a communication component, and a controller. The controller is connected to the interface component and the communication component and includes: an acquisition unit for acquiring lock body information of the lock body when a first interface in the interface component is connected to the lock body; and an output unit for outputting the lock body information through an external device communicating with the communication component and / or an external device communicating with a second interface in the interface component.

[0089] This technical solution proposes a control device for a lock body detection tool, which can obtain lock body information from the lock body. External devices can be connected to the controller through the second interface or communication component in the interface component. Therefore, the lock body information can be output using external devices.

[0090] During this process, if the lock malfunctions, the displayed lock information allows maintenance personnel to accurately locate the fault and then take appropriate measures to maintain the lock. This avoids the need to break down the door and lock to resolve the problem once the lock malfunctions. Obviously, this process can reduce the user's losses and also prevent the home from being unprotected before the door and lock are repaired.

[0091] In the above technical solution, the lock body information can be output by an external device that communicates with the second interface of the interface component, or by an external device that communicates with the communication component, or by simultaneously using an external device that communicates with the second interface of the interface component and an external device that communicates with the communication component to output the lock body information.

[0092] In this process, the second interface and communication component in the lock body testing tool are enabled to output lock body information. Obviously, when maintenance personnel use the lock body testing tool to test the lock body, they can select the corresponding method to output the lock body information according to the actual connection needs. In this process, the compatibility requirements of the lock body testing tool with external devices can be reduced.

[0093] In addition, the control device for the lock body detection tool proposed in this application has the following additional technical features.

[0094] In some technical solutions, optionally, the output unit is further configured to: when the first interface is connected to the lock body, send a connection request to the lock body through the first interface, wherein, upon receiving the connection request, the lock body compares the entered permission information with the stored permission information, and if the entered permission information and the stored permission information are consistent, it operates according to the detection mode to collect the lock body information; if the entered permission information and the stored permission information are inconsistent, it outputs permission error information; and outputs permission error information.

[0095] In this technical solution, a connection request is sent, prompting the lock body to prompt the user to enter permission information upon receiving the request. The entered permission information is then compared with stored permission information. If the entered and stored permission information match, the lock body operates in detection mode to collect its own information. This verification process, checking the consistency between the entered and stored permission information, can be understood as an authentication process. By implementing this authentication process, it is ensured that the acquired lock body information is authorized by the user, thereby ensuring the security of user information.

[0096] In some technical solutions, the recorded permission information can optionally be recorded using the lock body or through an external device.

[0097] In this technical solution, users can enter permission information using the lock body or through an external device, thus meeting the needs of different scenarios.

[0098] In some technical solutions, the access information may optionally be one or more of the following: password, fingerprint, face, radio frequency (RF) card, and mechanical key.

[0099] In some technical solutions, when the entered permission information matches the stored permission information, the lock body detection tool displays an operation page through a screen component or external device. The operation page displays one or more of the following options: lock body status information, lock body log information, and lock body firmware information.

[0100] Specifically, the status information of the lock body includes one or more of the following sub-options: lock body version information, lock body setting information, lock body fault information, lock body permission information, and lock body unlocking information.

[0101] Specifically, the lock body's log information includes one or more of the following sub-options: historical logs of the lock body, real-time logs of the lock body, real-time log transmission of the lock body, and debugging information output of the lock body.

[0102] Specifically, the firmware information of the lock body includes one or more of the following sub-options: firmware information of component A in the lock body, firmware upgrade of component A in the lock body, firmware information of component B in the lock body, ..., firmware information of component N in the lock body, firmware upgrade of component N in the lock body.

[0103] In some technical solutions, the output unit may optionally also be used to: receive a first input for querying fault information; in response to the first input, send a first request to the lock body, wherein the first request is a request for querying fault information; and display the received fault information.

[0104] In this technical solution, the lock body detection tool can receive input for querying fault information, i.e., the first input, and upon receiving the first input, send a first request to the lock body to query fault information. Upon receiving the first request, the lock body sends fault information back to the lock body detection tool, and upon receiving the fault information, the lock body detection tool displays the fault information.

[0105] During this process, the lock body detection tool can respond to the user's operation and display the lock body's fault information. Therefore, when the lock body malfunctions, maintenance personnel can troubleshoot by using the displayed fault information. This process makes it easier for maintenance personnel to understand the lock body's fault information and troubleshoot in a targeted manner, thereby improving troubleshooting efficiency.

[0106] In some technical solutions, optionally, if the entered permission information matches the stored permission information, the lock body responds to the received first request to report fault information to the lock body detection tool.

[0107] In some technical solutions, the output unit may optionally also be used to: determine maintenance guidance information based on fault information; and output maintenance guidance information.

[0108] In this technical solution, maintenance personnel are guided to maintain faulty lock bodies by outputting maintenance guidance information. During this process, the lock body detection tool can provide maintenance guidance information based on the fault information, realizing automatic fault diagnosis. Maintenance personnel do not need to judge the fault situation themselves, thereby reducing the difficulty of lock body maintenance and improving the efficiency of faulty lock body maintenance.

[0109] In some technical solutions, the maintenance guidance information may optionally include one or more of text information, audio information, and video information, wherein the text information, audio information, and video information all contain the steps required to eliminate the lock body malfunction.

[0110] In some technical solutions, the information transmission between the lock body detection tool and the lock body can optionally be encrypted using any of the following methods: AES, DES, or RSA.

[0111] AES, or Advanced Encryption Standard, also known as Rijndael encryption, is a block encryption standard adopted by the U.S. federal government.

[0112] DES, or Data Encryption Standard, is a block encryption algorithm that uses a key for encryption.

[0113] RSA, or RSA algorithm, is an asymmetric encryption algorithm.

[0114] In some technical solutions, optionally, the output unit is also used for: receiving a second input for querying debugging information; responding to the second input, sending a second request to the lock body, the second request being a request for querying debugging information, the lock body operating in debugging mode upon receiving the second request; receiving a debugging instruction; sending the received debugging instruction to the lock body, the lock body executing the operation corresponding to the debugging instruction in debugging mode, and providing feedback on the execution result of the debugging instruction; and outputting the execution result.

[0115] In this technical solution, the lock body testing tool can receive input for querying debugging information, i.e., the second input, and send a second request for querying debugging information to the lock body. Upon receiving the second request, the lock body operates in debugging mode, responds to the received debugging instructions, and feeds back the execution results of the debugging instructions to the lock body testing tool for output.

[0116] During this process, maintenance personnel can use lock body testing tools to debug the functions of the lock body on-site, thereby maintaining the lock body.

[0117] For example, in debug mode, when the user inputs an unlock command, the lock body will drive the lock to perform the unlocking action and provide feedback on the status of each sensor and the magnitude of the current generated during the unlocking process. The user can then determine whether the lock is working properly based on the feedback. Similarly, when the user inputs the wireless communication status detection function, the lock body will put the wireless communication module into working mode and provide feedback on its various operating statuses, such as operating current, signal strength, and operating time. The user can then determine whether the wireless communication module is working properly based on the feedback. Furthermore, when the user inputs a video intercom function debug command, the lock body will activate the video intercom function and provide feedback on relevant data such as image resolution, frame rate, bitrate, and audio sampling rate. The user can then determine whether components related to the video intercom are working properly, such as the camera, speaker, microphone, and image transmission module.

[0118] In some technical solutions, optionally, the output unit is also used for: receiving a third input requesting a firmware upgrade; responding to the third input, sending a third request to the lock body, the third request being a firmware upgrade request, the lock body operating in upgrade mode upon receiving the third request; obtaining a firmware upgrade package; sending the firmware upgrade package to the lock body, the lock body performing a firmware upgrade based on the firmware upgrade package upon receiving the firmware upgrade package, and providing feedback on the firmware upgrade result; and outputting the firmware upgrade result.

[0119] In this technical solution, the lock body testing tool can receive firmware upgrade input, i.e., the third input, and upgrade the firmware of the lock body. During this process, the lock body testing tool can perform fault diagnosis on the lock body and upgrade the firmware at the same time, thereby realizing the maintenance of the lock body.

[0120] In some technical solutions, optionally, the output unit is also used to: display a component list, the component list including at least one of the following: the main control component of the lock body, the voice component of the lock body, the communication component of the lock body, the lock body control component of the lock body, and the video component of the lock body; receive a fourth input from the target component in the component list; and obtain a firmware upgrade package, specifically including: in response to the fourth input, obtaining a first firmware upgrade package, the first firmware upgrade package being the firmware upgrade package corresponding to the target component.

[0121] In this technical solution, firmware upgrades can be performed on one or more components according to actual usage needs. Compared to firmware upgrades of the entire lock body, this provides more room for firmware upgrades, enabling personalized firmware upgrades to meet the upgrade needs of different lock bodies.

[0122] In some technical solutions, a one-click upgrade function can be optionally adopted. The one-click upgrade function will automatically upgrade all components to the latest firmware package, eliminating the need for users to upgrade each component individually, thus reducing the number of steps required from the user's operation.

[0123] In some technical solutions, the output unit is optionally used to: obtain a firmware upgrade package from a storage component; or obtain a firmware upgrade package through an external device communicating with a communication component and / or an external device communicating with a second interface in an interface component.

[0124] In this technical solution, the firmware upgrade package required for firmware upgrade can be obtained from the storage component, or from an external device that communicates with the communication component and / or an external device that communicates with the second interface in the interface component. In this process, the source of the firmware upgrade package can be selected according to actual needs, making firmware upgrade more convenient.

[0125] According to a fourth aspect of the present invention, the present invention provides a control device for a lock body detection tool, comprising a processor and a memory, the memory storing a program or instructions executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the control method for the lock body detection tool as described above.

[0126] According to a fifth aspect of the present invention, the present invention provides a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the control method for a lock detection tool as described above.

[0127] According to a sixth aspect of the present invention, the present invention provides a lock body detection tool, comprising: a control device as described in any of the lock body detection tools described above; and / or a readable storage medium as described above.

[0128] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0129] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:

[0130] Figure 1 This diagram illustrates one embodiment of a lock body detection tool according to the present invention;

[0131] Figure 2 The second schematic diagram of a lock body detection tool according to an embodiment of the present invention is shown;

[0132] Figure 3 This is a schematic flowchart of one of the control methods for a lock body detection tool according to an embodiment of the present invention;

[0133] Figure 4 A schematic diagram of the operation page in a lock body detection tool according to an embodiment of the present invention is shown;

[0134] Figure 5 A flowchart illustrating the authentication process in an embodiment of the present invention is shown;

[0135] Figure 6 This is a second schematic flowchart illustrating a control method for a lock body detection tool according to an embodiment of the present invention;

[0136] Figure 7 The third schematic flowchart illustrates a control method for a lock body detection tool according to an embodiment of the present invention;

[0137] Figure 8 The fourth flowchart illustrates a control method for a lock body detection tool according to an embodiment of the present invention.

[0138] Figure 9 A schematic block diagram of a control device for a lock body detection tool according to an embodiment of the present invention is shown;

[0139] Figure 10 A schematic block diagram of the control device for another lock body detection tool according to an embodiment of the present invention is shown.

[0140] in, Figure 1 and Figure 2 The correspondence between the reference numerals and component names in the attached drawings is as follows:

[0141] 100 Lock body testing tool, 102 Interface component, 1022 First interface, 1024 Second interface, 104 Communication component, 106 Controller, 108 Screen component, 110 Input component, 112 Energy storage component, 114 Storage component, 200 Lock body, 300 External device. Detailed Implementation

[0142] To better understand the above aspects, features, and advantages of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be combined with each other.

[0143] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and therefore the scope of protection of the invention is not limited to the specific embodiments disclosed below.

[0144] In one embodiment of this application, such as Figure 1 and Figure 2 As shown, a lock body detection tool 100 is provided, including: an interface component 102; a communication component 104; and a controller 106 connected to the interface component 102 and the communication component 104. When the interface component 102 includes a first interface 1022 and a second interface 1024, and the first interface 1022 is connected to the lock body 200, the controller 106 obtains the lock body information of the lock body 200 through the first interface 1022 and outputs the lock body information through an external device 300; or when the interface component 102 includes a first interface 1022, and the first interface 1022 is connected to the lock body 200, the controller 106 obtains the lock body information of the lock body 200 through the first interface 1022 and outputs the lock body information through an external device 300; wherein, the external device 300 is a device that communicates with the communication component 104 and / or communicates with the second interface 1024.

[0145] This invention proposes a lock body detection tool 100, which includes an interface component 102, a communication component 104, and a controller 106. The first interface 1022 of the interface component 102 can be connected to the lock body 200, thus enabling the acquisition of lock body information from the lock body 200. An external device 300 can be connected to the controller 106 through the second interface 1024 of the interface component 102 or the communication component 104, thus allowing the external device 300 to output lock body information.

[0146] During this process, if the lock body 200 malfunctions, the display of lock body information allows maintenance personnel to accurately locate the fault point of the lock body 200, and then take appropriate measures to maintain the lock body 200. This avoids the need to break down the door and lock to resolve the fault once the lock body 200 malfunctions. Obviously, this process can reduce the user's losses, and at the same time, it can also reduce the situation where the home is unprotected before the door and lock are repaired.

[0147] In the above embodiments, the lock body information can be output by an external device 300 that communicates with the second interface 1024 of the interface component 102, or by an external device 300 that communicates with the communication component 104, or by simultaneously using both an external device 300 that communicates with the second interface 1024 of the interface component 102 and an external device 300 that communicates with the communication component 104.

[0148] In this process, both the second interface 1024 and the communication component 104 in the lock body testing tool 100 are enabled to output lock body information. Obviously, when maintenance personnel use the lock body testing tool 100 to test the lock body, they can select the corresponding method to output the lock body information according to the actual connection needs. In this process, the compatibility requirements of the lock body testing tool 100 with the external device 300 can be reduced.

[0149] In some embodiments, the external device 300 may be a host computer, a cloud server, or a handheld terminal.

[0150] For example, the host computer can be a user's computer.

[0151] For example, the communication component 104 is a wireless communication component. When the external device 300 is a cloud server, the communication component 104 is connected to the wireless router and then connected to the cloud server that is also online.

[0152] Furthermore, when the external device 300 is a cloud server, the manufacturer's professional technicians can operate the lock body 200 through a computer connected to the cloud server, such as obtaining real-time logs, debugging the door lock in real time, and upgrading the door lock firmware. When the lock body 200 malfunctions but the manufacturer's professional technicians cannot arrive at the site in time, remote operation can promptly save relevant fault information and restore the lock body 200 to work as quickly as possible.

[0153] For example, the handheld terminal may be a mobile phone, a tablet computer, or a terminal adapted to the lock detection tool 100.

[0154] In some embodiments, the second interface 1024 is a wired connection interface.

[0155] In this embodiment, considering that the communication component 104 is a wireless communication component, the lock body detection tool 100 is equipped with a second interface 1024 for wired connection by setting a second interface 1024, so that the lock body detection tool 100 has the ability to output physical connection, in order to meet the usage needs of different usage scenarios.

[0156] In some embodiments, the first interface 1022 may optionally include a wired connection interface and / or a wireless connection interface.

[0157] In this embodiment, when the first interface 1022 is a wired connection interface, the lock body detection tool 100 can establish a physical connection with the lock body, thereby enabling the acquisition of lock body information even when the lock body does not have wireless connection capability.

[0158] In some embodiments, the first interface 1022 may optionally be a USB interface type, including one or more of the following: Type-A, Type-B, Type-C, Mini USB, Micro USB.

[0159] Universal Serial Bus (USB) is a serial bus standard and a technical specification for input / output interfaces, which is widely used in information and communication products such as personal computers and mobile devices.

[0160] Type-A (Standard-A), Type-B (Micro-B), and Type-C are three interface specifications in Universal Serial Bus (USB) specification 3.1.

[0161] Mini USB, also known as mini USB, is a USB interface standard. Micro USB is a portable version of the USB 2.0 standard, smaller than the Mini USB interface used in some mobile phones. Micro-USB is the next generation specification of Mini-USB.

[0162] In some embodiments, optionally, when the first interface 1022 is a wireless connection interface, the lock body detection tool 100 can establish a wireless connection with the lock body, thereby enabling the acquisition of lock body information when the lock body does not have wired connection capability.

[0163] In some embodiments, the wireless connectivity interface may optionally employ one or more of the following technologies: Wi-Fi, BLE, ZigBee, NFC.

[0164] Among them, Wi-Fi, also known as "mobile hotspot" in Chinese, is a trademark of the Wi-Fi Alliance manufacturers as a brand certification for their products. It is a wireless local area network technology created based on the IEEE 802.11 standard.

[0165] Bluetooth Low Energy (also known as Bluetooth LE, BLE, or formerly BluetoothSmart) is a personal area network (LAN) technology designed and marketed by the Bluetooth Special Interest Group (SIG).

[0166] ZigBee, also known as Purple Bee, is a low-speed, short-range wireless network protocol.

[0167] Near Field Communication (NFC) is a short-range, high-frequency wireless communication technology.

[0168] In some embodiments, the first interface 1022 may optionally include a wired connection interface and a wireless connection interface, thereby enabling the lock body testing tool 100 to meet the connection requirements of all lock bodies on the market.

[0169] In some embodiments, the lock body detection tool 100 may optionally include a screen assembly 108 connected to the controller 106 for displaying lock body information.

[0170] In this embodiment, by setting a screen component 108 in the lock body testing tool 100, maintenance personnel can directly view the lock body information through the screen component 108. In this process, there is no need to connect an external device 300, making the use of the lock body testing tool 100 more convenient.

[0171] In some embodiments, optionally, if the external device 300 does not have a visual output function, the lock body information is output using the screen component 108; if the external device 300 has a visual output function, the lock body information is output using the external device 300.

[0172] In some embodiments, the lock body detection tool 100 may optionally include: an input component 110 connected to the controller 106 for receiving user input; the controller 106 is also used to switch the output lock body information in response to the user input.

[0173] In this embodiment, by setting up an input component 110, maintenance personnel can interact with the lock body detection tool 100 through the input component 110, thereby enabling the query of fault information and debugging information, as well as firmware upgrades.

[0174] In some embodiments, when the external device 300 does not have an input function, the input component 110 is used for input, and when the external device 300 has an input function, the external device 300 is used to perform the input.

[0175] In some embodiments, the input component 110 includes a keyboard.

[0176] In some embodiments, the lock body detection tool 100 may optionally include an energy storage component 112 connected to the controller 106 for supplying power to the controller 106.

[0177] In this embodiment, an energy storage component 112 is provided to supply power to the controller 106. During this process, the lock body detection tool 100 has an independent power supply, so that the lock body can be detected even when there is no power to the lock body, thereby realizing the collection of lock body information.

[0178] In the above embodiment, since the interface component 102 and the communication component 104 are respectively connected to the controller 106, when the energy storage component 112 is connected to the controller 106, the energy storage component 112 can also supply power to the interface component 102 and the communication component 104, and at the same time, it can also supply power to the lock body 200 through the first interface 1022.

[0179] In the above embodiments, when the lock body detection tool 100 includes a screen assembly 108 and an input assembly 110, the energy storage assembly 112 can also supply power to the screen assembly 108 and the input assembly 110 to ensure that the screen assembly 108 and the input assembly 110 are powered on and running.

[0180] In the above embodiments, when the lock body has sufficient power to maintain the normal operation of the lock body testing tool 100 and the lock body, the energy storage component 112 is not required. When the lock body does not have sufficient power to maintain the normal operation of the lock body testing tool 100 and the lock body, the energy storage component 112 needs to be used for power supply.

[0181] In some embodiments, the energy storage component 112 may be a non-rechargeable battery or a rechargeable battery or capacitor.

[0182] In some embodiments, the lock body detection tool 100 may optionally include a storage component 114 connected to the controller 106 for storing lock body information.

[0183] In this embodiment, a storage component 114 is provided to store lock body information. In this process, by storing the lock body information, the stored lock body information can still be read even when the first interface 1022 is disconnected from the lock body.

[0184] In some embodiments, optionally, if the external device 300 does not have a storage function, the lock body information is stored using the storage component 114; if the external device 300 has a storage function, the lock body information is stored using the external device 300.

[0185] Among them, storage component 114, energy storage component 112, screen component 108 and input component 110 are optional components of lock body detection tool 100.

[0186] like Figure 3 As shown, the present invention provides a control method for a lock body detection tool. The lock body detection tool includes an interface component, a communication component, and a controller. The controller is connected to the interface component and the communication component, and includes:

[0187] Step 302: When the first interface in the interface component is connected to the lock body, obtain the lock body information of the lock body;

[0188] Step 304: Output lock body information through an external device that communicates with the communication component and / or an external device that communicates with the second interface in the interface component.

[0189] In this embodiment, a control method for a lock body detection tool is proposed. By running the control method for the lock body detection tool, lock body information can be obtained from the lock body. The external device can be connected to the controller through the second interface or communication component in the interface component. Therefore, the external device can be used to output the lock body information.

[0190] During this process, if the lock malfunctions, the displayed lock information allows maintenance personnel to accurately locate the fault and then take appropriate measures to maintain the lock. This avoids the need to break down the door and lock to resolve the problem once the lock malfunctions. Obviously, this process can reduce the user's losses and also prevent the home from being unprotected before the door and lock are repaired.

[0191] In the above embodiments, the lock body information can be output by an external device that communicates with the second interface of the interface component, or by an external device that communicates with the communication component, or by simultaneously using an external device that communicates with the second interface of the interface component and an external device that communicates with the communication component to output the lock body information.

[0192] In this process, the second interface and communication component in the lock body testing tool are enabled to output lock body information. Obviously, when maintenance personnel use the lock body testing tool to test the lock body, they can select the corresponding method to output the lock body information according to the actual connection needs. In this process, the compatibility requirements of the lock body testing tool with external devices can be reduced.

[0193] Optionally, in some embodiments, when the first interface in the interface component is connected to the lock body, obtaining the lock body information of the lock body further includes: when the first interface is connected to the lock body, sending a connection request to the lock body through the first interface, wherein, upon receiving the connection request, the lock body compares the entered permission information with the stored permission information, and if the entered permission information and the stored permission information are consistent, it operates according to the detection mode to collect the lock body information; if the entered permission information and the stored permission information are inconsistent, it outputs permission error information; and outputs permission error information.

[0194] In this embodiment, by sending a connection request, the lock body, upon receiving the request, prompts the user to enter permission information. The entered permission information is then compared with stored permission information. If the entered and stored permission information match, the lock body operates in detection mode to collect its own information. This process of verifying the consistency between the entered and stored permission information can be understood as an authentication process. By setting up this authentication process, it is ensured that the acquired lock body information is authorized by the user, thereby ensuring the security of user information.

[0195] In some embodiments, the connection request may optionally be sent via a first interface or via a communication component.

[0196] In some embodiments, the recorded permission information may be recorded using the lock body or through an external device.

[0197] In this embodiment, users can use the lock body to enter permission information or enter permission information through an external device, thereby meeting the needs of different scenarios.

[0198] In some embodiments, the authorization information may optionally be one or more of the following: password, fingerprint, face, radio frequency (RF) card, and mechanical key.

[0199] For example, password permissions can be entered via a host computer, mobile phone, tablet, or computer connected to a cloud server; fingerprint permissions can be entered on a mobile phone or tablet with a fingerprint module; facial permissions can be entered on a mobile phone or tablet with a camera module or computer connected to a cloud server; and radio frequency (RF) card permissions can be entered on a mobile phone or tablet with an external card reader or computer connected to a cloud server. Such operations can still successfully enter administrator permissions even when the corresponding component of the door lock malfunctions. For example, if the keypad of the lock body fails, password permissions can be entered through an external device.

[0200] In some embodiments, if the entered permission information matches the stored permission information, the lock detection tool displays an operation page via a screen component or external device. The operation page displays lock information, such as... Figure 4 As shown, the operation page displays one or more of the following options: status information query, log information query, and lock body firmware information.

[0201] Specifically, the status information query includes one or more of the following sub-options: version information query, settings information query, fault information query, permission information query, and unlocking information query.

[0202] Specifically, log information query includes one or more of the following sub-options: historical log query, real-time log query, real-time log transmission, and debug information output.

[0203] Specifically, the lock body firmware information includes one or more of the following sub-options: Component A firmware information, Component A firmware upgrade, ..., Component N firmware information, Component N firmware upgrade.

[0204] In some embodiments, such as Figure 5 As shown, the authentication process includes:

[0205] Step 502: Connect the lock body detection tool to the screen component and the input component;

[0206] Step 504: Connect the lock body detection tool to the lock body through the first interface to wake up the lock body;

[0207] Step 506: The lock body detection tool sends a connection request to the lock body;

[0208] Step 508: The lock body receives a connection request and asks the user to enter administrator privileges.

[0209] Step 510: The lock body verifies the administrator's permissions. If the verification passes, proceed to step 512; if the verification fails, proceed to step 514.

[0210] Step 512: The lock body operates in the detection mode;

[0211] Step 514 displays a permission error message and exits the process.

[0212] Among them, administrator privileges are the permission information entered in this application.

[0213] In some embodiments, the control method of the lock body detection tool may optionally include: receiving a first input for querying fault information; in response to the first input, sending a first request to the lock body, wherein the first request is a request for querying fault information; and displaying the received fault information.

[0214] In this embodiment, the lock body detection tool can receive input for querying fault information, i.e., the first input, and upon receiving the first input, send a first request to the lock body to query fault information. Upon receiving the first request, the lock body sends fault information back to the lock body detection tool, and upon receiving the fault information, the lock body detection tool displays the fault information.

[0215] During this process, the lock body detection tool can respond to the user's operation and display the lock body's fault information. Therefore, when the lock body malfunctions, maintenance personnel can troubleshoot by using the displayed fault information. This process makes it easier for maintenance personnel to understand the lock body's fault information and troubleshoot in a targeted manner, thereby improving troubleshooting efficiency.

[0216] In some embodiments, optionally, if the entered permission information matches the stored permission information, the lock body responds to the received first request to report fault information to the lock body detection tool.

[0217] In some embodiments, the control method of the lock body detection tool may further include: determining maintenance guidance information based on fault information; and outputting maintenance guidance information.

[0218] In this embodiment, maintenance personnel are guided to maintain the faulty lock body by outputting maintenance guidance information. During this process, the lock body detection tool can provide maintenance guidance information based on the fault information, realize automatic fault diagnosis, and eliminate the need for maintenance personnel to judge the fault situation independently. This reduces the difficulty of lock body maintenance and improves the efficiency of faulty lock body maintenance.

[0219] like Figure 6 As shown, the control method for the lock body detection tool includes:

[0220] Step 602: Complete the authentication process;

[0221] Step 604: Select the fault information query using the lock body detection tool;

[0222] Step 606: The lock body sends the fault information to the lock body detection tool;

[0223] Step 608: The lock body detection tool sends the query results to the corresponding display interface;

[0224] Step 610: Provide repair guidance information based on the fault information.

[0225] In some embodiments, the maintenance guidance information may optionally include one or more of text information, audio information, and video information, wherein the text information, audio information, and video information all contain the steps required to eliminate the lock body malfunction.

[0226] In some embodiments, optionally, the control method of the lock body detection tool further includes: receiving a second input for querying debugging information; responding to the second input, sending a second request to the lock body, the second request being a request for querying debugging information, the lock body operating in debugging mode upon receiving the second request; receiving a debugging instruction; sending the received debugging instruction to the lock body, the lock body performing the operation corresponding to the debugging instruction in debugging mode, and providing feedback on the execution result of the debugging instruction; and outputting the execution result.

[0227] In this embodiment, the lock body testing tool can receive input for querying debugging information, i.e., the second input, and send a second request for querying debugging information to the lock body. Upon receiving the second request, the lock body operates in debugging mode, responds to the received debugging instructions, and feeds back the execution results of the debugging instructions to the lock body testing tool for output.

[0228] During this process, maintenance personnel can use lock body testing tools to debug the functions of the lock body on-site, thereby maintaining the lock body.

[0229] For example, in debug mode, when the user inputs an unlock command, the lock body will drive the lock to perform the unlocking action and provide feedback on the status of each sensor and the magnitude of the current generated during the unlocking process. The user can then determine whether the lock is working properly based on the feedback. Similarly, when the user inputs the wireless communication status detection function, the lock body will put the wireless communication module into working mode and provide feedback on its various operating statuses, such as operating current, signal strength, and operating time. The user can then determine whether the wireless communication module is working properly based on the feedback. Furthermore, when the user inputs a video intercom function debug command, the lock body will activate the video intercom function and provide feedback on relevant data such as image resolution, frame rate, bitrate, and audio sampling rate. The user can then determine whether components related to the video intercom are working properly, such as the camera, speaker, microphone, and image transmission module.

[0230] In some embodiments, optionally, the lock body responds to the second request if the entered permission information matches the stored permission information.

[0231] like Figure 7 As shown, the control method for the lock body detection tool includes:

[0232] Step 702: Complete the authentication process;

[0233] Step 704: Select the debugging information output using the lock body testing tool;

[0234] Step 706: The lock body enters debugging mode;

[0235] Step 708: Input debugging commands using the lock body testing tool;

[0236] Step 710: The lock body executes the debugging command and returns the execution result.

[0237] The execution result can also be understood as the debugging result.

[0238] In some embodiments, optionally, the control method of the lock body detection tool further includes: receiving a third input requesting a firmware upgrade; responding to the third input, sending a third request to the lock body, the third request being a firmware upgrade request, the lock body operating in upgrade mode upon receiving the third request; obtaining a firmware upgrade package; sending the firmware upgrade package to the lock body, the lock body performing a firmware upgrade based on the firmware upgrade package upon receiving the firmware upgrade package, and providing feedback on the firmware upgrade result; and outputting the firmware upgrade result.

[0239] In this embodiment, the lock body testing tool can receive firmware upgrade input, i.e., the third input, and perform firmware upgrade on the lock body. During this process, the lock body testing tool can perform firmware upgrade on the lock body while diagnosing the fault, thereby achieving lock body maintenance.

[0240] In some embodiments, optionally, the control method of the lock body detection tool further includes: displaying a component list, the component list including at least one of the following: the main control component of the lock body, the voice component of the lock body, the communication component of the lock body, the lock body control component of the lock body, and the video component of the lock body; receiving a fourth input from a target component in the component list; and obtaining a firmware upgrade package, specifically including: in response to the fourth input, obtaining a first firmware upgrade package, the first firmware upgrade package being the firmware upgrade package corresponding to the target component.

[0241] In this embodiment, firmware upgrades can be performed on one or more components according to actual usage needs. Compared to upgrading the firmware of the entire lock body, this provides more room for firmware upgrades and enables personalized firmware upgrades to meet the upgrade needs of different lock bodies.

[0242] In some embodiments, a one-click upgrade function may be optionally adopted. The one-click upgrade function automatically upgrades all components to the latest firmware package, eliminating the need for users to upgrade each component individually, thus reducing the number of steps required from the user's operation.

[0243] In some embodiments, optionally, when the lock body detection tool includes a storage component, obtaining the firmware upgrade package specifically includes: obtaining the firmware upgrade package from the storage component; or obtaining the firmware upgrade package through an external device communicating with the communication component and / or an external device communicating with a second interface in the interface component.

[0244] In this embodiment, the firmware upgrade package required for firmware upgrade can be obtained from the storage component, or from an external device that communicates with the communication component and / or an external device that communicates with the second interface in the interface component. In this process, the source of the firmware upgrade package can be selected according to actual needs, making firmware upgrade more convenient.

[0245] like Figure 8 As shown, the control method for the lock body detection tool includes:

[0246] Step 802: Complete the authentication process;

[0247] Step 804: Select firmware upgrade using the lock body detection tool;

[0248] Step 806: The lock body enters upgrade mode;

[0249] Step 808: Select the upgraded components using the lock body detection tool;

[0250] Step 810: The lock body detection tool obtains the firmware upgrade package for the component to be upgraded;

[0251] Step 812: The lock body testing tool sends the firmware upgrade package to the lock body;

[0252] Step 814: The lock body completes the firmware upgrade.

[0253] In some embodiments, the information transmission between the lock body detection tool and the lock body may optionally be encrypted using any of the following methods: AES, DES, or RSA.

[0254] AES, or Advanced Encryption Standard, also known as Rijndael encryption, is a block encryption standard adopted by the U.S. federal government.

[0255] DES, or Data Encryption Standard, is a block encryption algorithm that uses a key for encryption.

[0256] RSA, or RSA algorithm, is an asymmetric encryption algorithm.

[0257] In one embodiment, such as Figure 9As shown, the present invention provides a control device 900 for a lock body detection tool. The lock body detection tool includes an interface component, a communication component, and a controller. The controller is connected to the interface component and the communication component. The controller includes: an acquisition unit 902, used to acquire lock body information of the lock body when the first interface in the interface component is connected to the lock body; and an output unit 904, used to output the lock body information through an external device that communicates with the communication component and / or an external device that communicates with the second interface in the interface component.

[0258] In this embodiment, a control device 900 for a lock body detection tool is proposed, which can obtain lock body information from the lock body. An external device can be connected to the controller through the second interface or communication component in the interface component. Therefore, the lock body information can be output using the external device.

[0259] During this process, if the lock malfunctions, the displayed lock information allows maintenance personnel to accurately locate the fault and then take appropriate measures to maintain the lock. This avoids the need to break down the door and lock to resolve the problem once the lock malfunctions. Obviously, this process can reduce the user's losses and also prevent the home from being unprotected before the door and lock are repaired.

[0260] In the above embodiments, the lock body information can be output by an external device that communicates with the second interface of the interface component, or by an external device that communicates with the communication component, or by simultaneously using an external device that communicates with the second interface of the interface component and an external device that communicates with the communication component to output the lock body information.

[0261] In this process, the second interface and communication component in the lock body testing tool are enabled to output lock body information. Obviously, when maintenance personnel use the lock body testing tool to test the lock body, they can select the corresponding method to output the lock body information according to the actual connection needs. In this process, the compatibility requirements of the lock body testing tool with external devices can be reduced.

[0262] Optionally, in some embodiments, the output unit 904 is further configured to: send a connection request to the lock body through the first interface when the first interface is connected to the lock body, wherein, upon receiving the connection request, the lock body compares the entered permission information with the stored permission information, and if the entered permission information and the stored permission information are consistent, operates in a detection mode to collect lock body information; if the entered permission information and the stored permission information are inconsistent, outputs permission error information; and outputs permission error information.

[0263] In this embodiment, by sending a connection request, the lock body, upon receiving the request, prompts the user to enter permission information. The entered permission information is then compared with stored permission information. If the entered and stored permission information match, the lock body operates in detection mode to collect its own information. This process of verifying the consistency between the entered and stored permission information can be understood as an authentication process. By setting up this authentication process, it is ensured that the acquired lock body information is authorized by the user, thereby ensuring the security of user information.

[0264] In some embodiments, the recorded permission information may be recorded using the lock body or through an external device.

[0265] In this embodiment, users can use the lock body to enter permission information or enter permission information through an external device, thereby meeting the needs of different scenarios.

[0266] In some embodiments, the authorization information may optionally be one or more of the following: password, fingerprint, face, radio frequency (RF) card, and mechanical key.

[0267] In some embodiments, when the entered permission information is consistent with the stored permission information, the lock body detection tool displays an operation page through a screen component or an external device. The operation page displays one or more of the following options: lock body status information, lock body log information, and lock body firmware information.

[0268] Specifically, the status information of the lock body includes one or more of the following sub-options: lock body version information, lock body setting information, lock body fault information, lock body permission information, and lock body unlocking information.

[0269] Specifically, the lock body's log information includes one or more of the following sub-options: historical logs of the lock body, real-time logs of the lock body, real-time log transmission of the lock body, and debugging information output of the lock body.

[0270] Specifically, the firmware information of the lock body includes one or more of the following sub-options: firmware information of component A in the lock body, firmware upgrade of component A in the lock body, firmware information of component B in the lock body, ..., firmware information of component N in the lock body, firmware upgrade of component N in the lock body.

[0271] In some embodiments, optionally, the output unit 904 is further configured to: receive a first input for querying fault information; in response to the first input, send a first request to the lock body, the first request being a request for querying fault information; and display the received fault information.

[0272] In this embodiment, the lock body detection tool can receive input for querying fault information, i.e., the first input, and upon receiving the first input, send a first request to the lock body to query fault information. Upon receiving the first request, the lock body sends fault information back to the lock body detection tool, and upon receiving the fault information, the lock body detection tool displays the fault information.

[0273] During this process, the lock body detection tool can respond to the user's operation and display the lock body's fault information. Therefore, when the lock body malfunctions, maintenance personnel can troubleshoot by using the displayed fault information. This process makes it easier for maintenance personnel to understand the lock body's fault information and troubleshoot in a targeted manner, thereby improving troubleshooting efficiency.

[0274] In some embodiments, optionally, if the entered permission information matches the stored permission information, the lock body responds to the received first request to report fault information to the lock body detection tool.

[0275] In some embodiments, the output unit 904 is optionally configured to: determine maintenance guidance information based on fault information; and output the maintenance guidance information.

[0276] In this embodiment, maintenance personnel are guided to maintain the faulty lock body by outputting maintenance guidance information. During this process, the lock body detection tool can provide maintenance guidance information based on the fault information, realize automatic fault diagnosis, and eliminate the need for maintenance personnel to judge the fault situation independently. This reduces the difficulty of lock body maintenance and improves the efficiency of faulty lock body maintenance.

[0277] In some embodiments, the maintenance guidance information may optionally include one or more of text information, audio information, and video information, wherein the text information, audio information, and video information all contain the steps required to eliminate the lock body malfunction.

[0278] In some embodiments, the information transmission between the lock body detection tool and the lock body may optionally be encrypted using any of the following methods: AES, DES, or RSA.

[0279] AES, or Advanced Encryption Standard, also known as Rijndael encryption, is a block encryption standard adopted by the U.S. federal government.

[0280] DES, or Data Encryption Standard, is a block encryption algorithm that uses a key for encryption.

[0281] RSA, or RSA algorithm, is an asymmetric encryption algorithm.

[0282] In some embodiments, optionally, the output unit 904 is further configured to: receive a second input for querying debugging information; in response to the second input, send a second request to the lock body, the second request being a request for querying debugging information, and the lock body operating in debugging mode upon receiving the second request; receive a debugging instruction; send the received debugging instruction to the lock body, and in debugging mode, the lock body executes the operation corresponding to the debugging instruction and provides feedback on the execution result of the debugging instruction; and output the execution result.

[0283] In this embodiment, the lock body testing tool can receive input for querying debugging information, i.e., the second input, and send a second request for querying debugging information to the lock body. Upon receiving the second request, the lock body operates in debugging mode, responds to the received debugging instructions, and feeds back the execution results of the debugging instructions to the lock body testing tool for output.

[0284] During this process, maintenance personnel can use lock body testing tools to debug the functions of the lock body on-site, thereby maintaining the lock body.

[0285] For example, in debug mode, when the user inputs an unlock command, the lock body will drive the lock to perform the unlocking action and provide feedback on the status of each sensor and the magnitude of the current generated during the unlocking process. The user can then determine whether the lock is working properly based on the feedback. Similarly, when the user inputs the wireless communication status detection function, the lock body will put the wireless communication module into working mode and provide feedback on its various operating statuses, such as operating current, signal strength, and operating time. The user can then determine whether the wireless communication module is working properly based on the feedback. Furthermore, when the user inputs a video intercom function debug command, the lock body will activate the video intercom function and provide feedback on relevant data such as image resolution, frame rate, bitrate, and audio sampling rate. The user can then determine whether components related to the video intercom are working properly, such as the camera, speaker, microphone, and image transmission module.

[0286] In some embodiments, optionally, the output unit 904 is further configured to: receive a third input requesting a firmware upgrade; in response to the third input, send a third request to the lock body, the third request being a firmware upgrade request, and the lock body operating in upgrade mode upon receiving the third request; obtain a firmware upgrade package; send the firmware upgrade package to the lock body, and the lock body performing a firmware upgrade based on the firmware upgrade package upon receiving the firmware upgrade package, and providing feedback on the firmware upgrade result; and output the firmware upgrade result.

[0287] In this embodiment, the lock body testing tool can receive firmware upgrade input, i.e., the third input, and perform firmware upgrade on the lock body. During this process, the lock body testing tool can perform firmware upgrade on the lock body while diagnosing the fault, thereby achieving lock body maintenance.

[0288] In some embodiments, optionally, the output unit 904 is further configured to: display a component list, the component list including at least one of the following: the main control component of the lock body, the voice component of the lock body, the communication component of the lock body, the lock body control component of the lock body, and the video component of the lock body; receive a fourth input of a target component in the component list; and obtain a firmware upgrade package, specifically including: in response to the fourth input, obtaining a first firmware upgrade package, the first firmware upgrade package being the firmware upgrade package corresponding to the target component.

[0289] In this embodiment, firmware upgrades can be performed on one or more components according to actual usage needs. Compared to upgrading the firmware of the entire lock body, this provides more room for firmware upgrades and enables personalized firmware upgrades to meet the upgrade needs of different lock bodies.

[0290] In some embodiments, a one-click upgrade function may be optionally adopted. The one-click upgrade function automatically upgrades all components to the latest firmware package, eliminating the need for users to upgrade each component individually, thus reducing the number of steps required from the user's operation.

[0291] In some embodiments, the output unit 904 is optionally configured to: obtain a firmware upgrade package from a storage component; or obtain a firmware upgrade package via an external device communicating with a communication component and / or an external device communicating with a second interface in an interface component.

[0292] In this embodiment, the firmware upgrade package required for firmware upgrade can be obtained from the storage component, or from an external device that communicates with the communication component and / or an external device that communicates with the second interface in the interface component. In this process, the source of the firmware upgrade package can be selected according to actual needs, making firmware upgrade more convenient.

[0293] In one embodiment, such as Figure 10 As shown, the present invention provides a control device 1000 for a lock body detection tool, including a processor 1002 and a memory 1004. The memory 1004 stores programs or instructions that can run on the processor 1002. When the program or instructions are executed by the processor, they implement the steps of any of the methods described above.

[0294] The memory 1004 can be used to store software programs and various data. The memory 1004 mainly includes a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area can store the operating system, application programs or instructions required for at least one function (such as sound playback function, image playback function, etc.). Furthermore, the memory 1004 can include volatile memory or non-volatile memory, or both. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.

[0295] In one embodiment, the present invention provides a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method as described above.

[0296] In one embodiment, the present invention provides a lock body detection tool, comprising: a control device as described in any of the lock body detection tools above; and / or a readable storage medium as described above.

[0297] The terms "first" and "second" in the specification and claims of this application may explicitly or implicitly include one or more of the features. In the textual description of this invention, unless otherwise stated, "a plurality of" means two or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0298] In the textual description of this invention, it is understood that, unless explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal communication between two components. Those skilled in the art will understand the specific meaning of the above terms in this invention based on the specific circumstances.

[0299] In the claims, description, and accompanying drawings of this invention, the terms "one embodiment," "some embodiments," "specific embodiment," etc., refer to a specific feature, structure, material, or characteristic described in connection with that embodiment or example, which is included in at least one embodiment or example of the invention. In the claims, description, and accompanying drawings of this invention, illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0300] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A lock body detection tool, characterized in that, include: Interface components; Communication components; The controller is connected to the interface component and the communication component; When the interface component includes a first interface and a second interface, and the first interface is connected to the lock body, the controller obtains the lock body information of the lock body through the first interface, and outputs the lock body information through an external device; or When the interface component includes a first interface and the first interface is connected to the lock body, the controller obtains the lock body information of the lock body through the first interface and outputs the lock body information through an external device; The external device is a device that communicates with the communication component and / or with the second interface; the first interface includes a wired connection interface and / or a wireless connection interface. Upon receiving the first input, the lock body detection tool sends a first request to the lock body to query fault information. Upon receiving the fault information, the lock body detection tool displays the fault information.

2. The lock body detection tool according to claim 1, characterized in that, The lock body testing tool also includes: A screen assembly, connected to the controller, is used to display information about the lock body.

3. The lock body detection tool according to claim 1 or 2, characterized in that, The lock body testing tool also includes: An input component, connected to the controller, is used to receive user input; The controller is also used to respond to the user's input and switch the output of the lock body information.

4. The lock body detection tool according to claim 1 or 2, characterized in that, The lock body testing tool also includes: An energy storage component, connected to the controller, is used to supply power to the controller.

5. The lock body detection tool according to claim 1 or 2, characterized in that, The lock body testing tool also includes: A storage component, connected to the controller, is used to store the lock body information.

6. A control method for a lock body detection tool, the lock body detection tool comprising an interface component, a communication component, and a controller, the controller being connected to the interface component and the communication component, characterized in that, include: When the first interface in the interface component is connected to the lock body, the lock body information of the lock body is obtained; The lock body information is output through an external device that communicates with the communication component and / or an external device that communicates with the second interface in the interface component; The first interface includes a wired connection interface and / or a wireless connection interface; The control method for the lock body detection tool further includes: Receive the first input for querying fault information; In response to the first input, a first request is sent to the lock body, the first request being a request to query the fault information; The received fault information is displayed.

7. The control method for the lock body detection tool according to claim 6, characterized in that, When the first interface in the interface component is connected to the lock body, obtaining the lock body information of the lock body further includes: When the first interface is connected to the lock body, a connection request is sent to the lock body through the first interface. Upon receiving the connection request, the lock body compares the entered permission information with the stored permission information. If the entered permission information matches the stored permission information, the lock body operates in detection mode to collect lock body information. If the entered permission information does not match the stored permission information, a permission error message is output. Output the permission error message.

8. The control method for the lock body detection tool according to claim 6, characterized in that, The control method for the lock body detection tool also includes: Based on the fault information, repair guidance information is determined; Output the maintenance guidance information.

9. The control method for the lock body detection tool according to claim 7, characterized in that, The control method for the lock body detection tool further includes: Receive the second input for querying debugging information; In response to the second input, a second request is sent to the lock body. The second request is a request to query the debugging information. Upon receiving the second request, the lock body operates in debugging mode. Receive debugging commands; The received debugging command is sent to the lock body. In the debugging mode, the lock body executes the operation corresponding to the debugging command and provides feedback on the execution result of the debugging command. Output the execution result.

10. The control method for the lock body detection tool according to claim 7, characterized in that, The control method for the lock body detection tool further includes: Receive the third input requesting a firmware upgrade; In response to the third input, a third request is sent to the lock body. The third request is a firmware upgrade request. Upon receiving the third request, the lock body operates in upgrade mode. Obtain the firmware upgrade package; The firmware upgrade package is sent to the lock body. Upon receiving the firmware upgrade package, the lock body performs a firmware upgrade based on the firmware upgrade package and provides feedback on the firmware upgrade result. Output the firmware upgrade result.

11. The control method for the lock body detection tool according to claim 10, characterized in that, The control method for the lock body detection tool further includes: The list of components is displayed, which includes at least one of the following: the main control component of the lock body, the voice component of the lock body, the communication component of the lock body, the lock body control component of the lock body, and the video component of the lock body; Receive the fourth input from the target component in the component list; The process of obtaining the firmware upgrade package specifically includes: In response to the fourth input, a first firmware upgrade package is obtained, wherein the first firmware upgrade package is the firmware upgrade package corresponding to the target component.

12. The control method for the lock body detection tool according to claim 10, characterized in that, When the lock body detection tool includes a storage component, obtaining the firmware upgrade package specifically includes: Obtain the firmware upgrade package from the storage component; or Firmware upgrade packages are obtained through external devices that communicate with the communication component and / or external devices that communicate with the second interface in the interface component.

13. A control device for a lock body testing tool, the lock body testing tool comprising an interface component, a communication component, and a controller, the controller being connected to the interface component and the communication component, characterized in that, include: The acquisition unit is used to acquire lock body information of the lock body when the first interface in the interface component is connected to the lock body; An output unit is configured to output the lock body information via an external device that communicates with the communication component and / or an external device that communicates with the second interface in the interface component; The first interface includes a wired connection interface and / or a wireless connection interface; The output unit is configured to receive a first input for querying fault information; in response to the first input, send a first request to the lock body, wherein the first request is a request for querying the fault information; The received fault information is displayed.

14. A control device for a lock body detection tool, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the control method for the lock body detection tool as described in any one of claims 6 to 12.

15. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the control method for the lock body detection tool as described in any one of claims 6 to 12.

16. A lock body detection tool, characterized in that, include: Control device for lock body detection tool as described in claim 13 or 14; and / or The readable storage medium as described in claim 15.

Citation Information

Patent Citations

  • Intelligent lock

    CN109594859A

  • Lock body detection method and device

    CN113589062A