Intelligent door lock, collaborative management method of door lock and electronic equipment
By integrating a Type-C emergency lock cylinder and a mechanical emergency lock cylinder into the smart lock, a dual emergency unlocking method is provided, which solves the problem of low reliability of emergency unlocking of smart locks, realizes stable unlocking in the event of electronic system failure or power failure, and improves the system's coordination and security.
Patent Information
- Application Number
- CN202511595309.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-03
- Publication Date
- 2026-02-24
AI Technical Summary
Existing smart door locks have only one emergency unlocking method, resulting in low reliability of emergency unlocking and inability to reliably open the door in the event of electronic system failure or power failure.
By integrating the Type-C emergency lock cylinder and the mechanical emergency lock cylinder into the same smart emergency lock cylinder, and through the dual-channel design, it provides dual insurance for both Type-C emergency unlocking and mechanical emergency unlocking, realizes power supply and data interaction, and improves the coordination and interaction between the lock control motherboard and the smart emergency lock cylinder.
It improves the reliability and flexibility of emergency unlocking of smart door locks, reduces the risk of being unable to open the door, enhances security and manageability, and solves the security blind spot problem of traditional smart door locks in mechanical emergency scenarios.
Smart Images

Figure CN121564833A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart door lock technology, and more specifically, to a smart door lock, a collaborative management method for door locks, and an electronic device. Background Technology
[0002] The technological background of emergency unlocking for smart locks stems from the core need to balance "intelligent convenience" with "security in extreme scenarios." As smart locks have upgraded from mechanical locks to integrated electronic systems, while convenient unlocking methods such as fingerprints and passwords have been implemented, their reliance on power, network, or electronic components presents a risk of sudden malfunctions preventing users from opening the door. Emergency unlocking technology was developed to avoid this "lock-in" risk. Currently, smart locks offer only one emergency unlocking method, resulting in relatively low reliability in emergency unlocking. Summary of the Invention
[0003] The purpose of this application is to provide a smart door lock, a collaborative management method for door locks, a computer program product, an electronic device, and a storage medium to improve the problem that the above-mentioned smart door lock has a single emergency unlocking method, resulting in low reliability of emergency unlocking. By integrating a Type-C emergency lock cylinder and a mechanical emergency lock cylinder on the same emergency lock cylinder, it can provide multiple emergency options and improve the reliability and flexibility of emergency unlocking of smart door locks.
[0004] In a first aspect, embodiments of this application provide a smart door lock, comprising: a lock body, a lock control motherboard, and a smart emergency lock cylinder; the lock control motherboard is used to control the opening and closing of the lock body in response to conventional unlocking commands, the conventional unlocking commands including at least one of fingerprint unlocking, password unlocking, Bluetooth unlocking, and face unlocking; the smart emergency lock cylinder includes a lock cylinder motherboard, a mechanical emergency unlocking mechanism, and a Type-C emergency unlocking mechanism; the lock cylinder motherboard includes a status detection component and a drive component; the mechanical emergency unlocking mechanism includes a mechanical key emergency socket for emergency unlocking via a mechanical key; the Type-C emergency unlocking mechanism includes a Type-C emergency interface for connecting external devices to perform reverse charging and emergency unlocking command transmission to the lock cylinder motherboard and the lock control motherboard; the smart emergency lock cylinder is connected to the lock control motherboard via a ribbon cable, the ribbon cable including a power supply line for power supply and a data communication line for data interaction; wherein, the lock cylinder motherboard detects the mechanical key unlocking action through the status detection component and generates a mechanical lock cylinder unlocking record; the drive component is used to respond to the Type-C emergency unlocking command to drive the smart emergency lock cylinder to open.
[0005] In the aforementioned implementation process, a dual-channel design employing both "Type-C emergency unlocking" and "mechanical emergency unlocking" provides users with double insurance. Type-C emergency unlocking utilizes the widespread availability of smartphones and interfaces to address the problem of being unable to unlock the door in an emergency if keys are forgotten; while the mechanical emergency solution provides stable unlocking protection in extreme situations such as electronic system failure or a dead phone battery. The coexistence of these two emergency solutions enhances the reliability and flexibility of emergency unlocking for smart locks, reducing the risk of "unable to open the door." Simultaneously, the ribbon cable connection enables power supply and data interaction, improving the coordination and interaction between the lock control motherboard and the smart emergency lock cylinder.
[0006] Optionally, in this embodiment of the application, the lock cylinder main board is further configured to: generate a mechanical lock cylinder unlocking record after the status detection component detects that the mechanical key has completed unlocking, and send the mechanical lock cylinder unlocking record to the lock control main board via a data communication line.
[0007] In the above implementation process, the hardware combination of "status detection component + lock cylinder motherboard" and internal firmware logic realizes the conversion of physical mechanical operations into digital information; and through the stable channel established by "data communication line", data collaboration between two independent hardware modules is realized, which improves the "security blind spot" problem caused by the inability of traditional smart door locks to record unlocking records in mechanical emergency scenarios, and enhances the security and manageability of smart door locks.
[0008] Optionally, in this embodiment, the smart lock further includes a front panel and a rear panel; the lock control main board and the smart emergency lock cylinder are located inside the front panel, and a battery and a reset button are located on the rear panel; the battery is used to power the smart lock, and the reset button is used to trigger a factory reset operation.
[0009] In the above implementation process, by integrating the lock control motherboard and the smart emergency lock cylinder into the front panel of the door lock, and coordinating with the battery power and management system on the rear panel, the reliability and flexibility of the smart door lock in emergency unlocking are improved, effectively solving the contradiction between security and convenience in traditional solutions.
[0010] Secondly, this application also provides a collaborative management method for smart locks, applied to the smart locks in any of the above embodiments. The method includes: a lock control motherboard interacting with a smart emergency lock cylinder via a data communication line, the interacted data including data from the smart lock's operation process; the operation process including at least one of the following: a binding process, an unbinding process, a factory reset process, and an emergency unlocking process; wherein, the binding process involves binding the smart lock to an application program, and after binding, the lock control motherboard and the smart emergency lock cylinder store the unlocking / closing key and the binding status; the unbinding process... To unbind the smart lock from the application, during the unbinding process, the lock control motherboard sends an unbinding command to the smart emergency lock cylinder. Both the lock control motherboard and the smart emergency lock cylinder delete the unlocking and closing keys and change the binding status to unbound. During the factory reset process, the lock control motherboard sends a factory reset command to the smart emergency lock cylinder. Both the lock control motherboard and the smart emergency lock cylinder delete the unlocking and closing keys and change the binding status to unbound. During the emergency unlocking process, the lock control motherboard and the smart emergency lock cylinder store the mechanical lock cylinder unlocking record, the question and answer data during the Type-C emergency unlocking process, and the Type-C emergency unlocking record.
[0011] In the aforementioned implementation process, the collaborative management method of smart locks, through deep data interaction between the lock control motherboard and the smart emergency lock cylinder across all business scenarios, greatly enhances the system's internal collaboration, management uniformity, and comprehensive security protection. It addresses a series of shortcomings in existing technologies (such as NFC emergency solutions), such as cumbersome dual-module management, asynchronous permissions, and untraceable emergency operations, caused by the independent operation and data fragmentation of the lock control motherboard and emergency lock cylinder. By synchronizing commands and data throughout the entire process from binding and unbinding to restoring factory settings, it reduces potential security vulnerabilities caused by data asynchrony.
[0012] Optionally, in this embodiment, the question-and-answer data includes query data and response data; the emergency unlocking process includes mechanical key unlocking and / or Type-C emergency unlocking; the data interaction process for mechanical key unlocking includes: after the smart emergency lock cylinder detects that the mechanical key has completed unlocking through the status detection component, it generates a mechanical lock cylinder unlocking record and sends the mechanical lock cylinder unlocking record to the lock control motherboard through the data communication line; the Type-C emergency unlocking process includes: the smart emergency lock cylinder sends query data to the lock control motherboard; if the smart emergency lock cylinder receives the response data sent by the lock control motherboard, it provides the user with the option to trigger a regular unlocking command and a Type-C emergency unlocking command through the application, and after receiving the target unlocking command selected by the user, it unlocks according to the target unlocking command and saves the unlocking record; the regular unlocking command is the unlocking command sent by the user based on the front panel of the door lock; if the smart emergency lock cylinder does not receive the response data sent by the lock control motherboard, it provides the option to trigger a Type-C emergency unlocking command through the application, and after receiving the Type-C emergency unlocking command sent by the user, it unlocks according to the Type-C emergency unlocking command and saves the unlocking record.
[0013] In the aforementioned implementation process, by converting mechanical actions into electronic records and synchronizing them within the system, the reliability and traceability of emergency unlocking of smart locks are greatly improved. This overcomes the deficiency of traditional smart locks, which are completely unable to record in mechanical emergency scenarios, creating a "security blind spot," making every mechanical unlocking traceable just like electronic unlocking. Through intelligent status diagnosis and path selection logic, the reliability and flexibility of emergency unlocking of smart locks are enhanced. It also addresses the problem of traditional electronic emergency solutions being unable to adapt to lock control motherboard failures, improving unlocking reliability.
[0014] Optionally, in this embodiment of the application, before the smart emergency lock cylinder sends query data to the lock control motherboard, the method further includes: when an external device is connected to the Type-C emergency interface, the external device supplies power to the smart emergency lock cylinder and supplies power to the lock control motherboard through the smart emergency lock cylinder.
[0015] In the above implementation process, the emergency power supply link from the external device to the lock control motherboard not only provides energy guarantee for Type-C emergency unlocking, but also, by temporarily powering the lock control motherboard, may enable the normal unlocking function to be restored, thereby improving the reliability and flexibility of emergency unlocking of smart door locks.
[0016] Optionally, in this embodiment, the binding process includes: receiving a binding request from a user based on an application through the lock control motherboard; in response to the binding request, the lock control motherboard reads the lock cylinder identifier of the smart emergency lock cylinder through a data communication line, and sends the Bluetooth address and lock cylinder identifier to the application, so that the application binds the Bluetooth address, lock cylinder identifier, and lock control server; both the lock control motherboard and the smart emergency lock cylinder receive the unlocking and closing key sent by the lock control server, and record the binding status as "bound"; wherein, the unlocking and closing key is generated by the lock control server according to the binding rules, and sent to the lock control motherboard and the smart emergency lock cylinder respectively.
[0017] In the above implementation process, the existing technology requires users to bind the lock control motherboard and the electronic emergency lock cylinder separately, which leads to fragmented permission data, cumbersome operation and easy security vulnerabilities. The embodiments of this application improve the uniformity and coordination of smart door lock system management by identifying and binding the lock control motherboard and the smart emergency lock cylinder and distributing synchronous keys.
[0018] Optionally, in this embodiment of the application, the unbinding process includes: when the lock control motherboard is bound to the application, the lock control motherboard receives the user's unbinding request based on the application; in response to the unbinding request, the lock control motherboard sends an unbinding instruction to the smart emergency lock cylinder, and both the lock control motherboard and the smart emergency lock cylinder delete the unlocking and closing keys and change the binding status to unbound.
[0019] In the aforementioned implementation process, existing technologies may suffer from a "partial unbinding" security vulnerability due to the need for independent unbinding of the lock control motherboard and the electronic emergency lock cylinder. This vulnerability exists where one module has been deactivated while the other retains unlocking privileges. However, this application's embodiment improves the uniformity, security, and reliability of smart lock system management through a mechanism for instruction synchronization and data collaborative destruction between the lock control motherboard and the smart emergency lock cylinder.
[0020] Optionally, in this embodiment, the factory reset process includes: receiving a factory reset command sent by the user via the reset button on the back panel of the door lock; responding to the factory reset command, sending the factory reset command to the smart emergency lock cylinder via the lock control motherboard; after receiving the factory reset command, the smart emergency lock cylinder deletes the unlocking and closing keys and changes the binding status in the smart emergency lock cylinder to unbound; and deleting the unlocking and closing keys stored in the lock control motherboard and changing the binding status in the lock control motherboard to unbound.
[0021] In the aforementioned implementation process, the factory reset procedure, through hardware triggering and system-wide collaborative command distribution, significantly enhances the reliability and security of smart locks in their lifecycle management. This effectively mitigates the risk of "partial reset" that may arise from the independent management of the lock control motherboard and emergency lock cylinder in existing technologies, thereby strengthening the controllability and security of smart locks.
[0022] Thirdly, embodiments of this application also provide a computer program product, including computer program instructions, which are executed by a processor to perform the method provided in the first aspect or any implementation thereof.
[0023] Fourthly, embodiments of this application also provide an electronic device, including: a processor and a memory, the memory storing computer program instructions, which are executed by the processor to perform the method provided in the first aspect or any implementation thereof.
[0024] Fifthly, embodiments of this application also provide a computer-readable storage medium storing computer program instructions, which, when executed by a processor, perform the method provided in the first aspect or any implementation thereof.
[0025] This application discloses a smart door lock, a collaborative management method for the door lock, a computer program product, an electronic device, and a storage medium. Through a dual-channel design that combines "Type-C emergency unlocking" and "mechanical emergency unlocking," it provides users with double insurance. Type-C emergency unlocking utilizes the widespread availability of smartphones and interfaces to address the problem of being unable to unlock the door in an emergency if the key is forgotten. The mechanical emergency solution provides stable unlocking protection in extreme situations such as electronic system failure or a dead phone battery. The coexistence of these two emergency solutions enhances the reliability and flexibility of emergency unlocking of the smart door lock, reducing the risk of "unable to open the door." Simultaneously, the ribbon cable connection enables power supply and data interaction, improving the coordination and interaction between the lock control motherboard and the smart emergency lock cylinders. Attached Figure Description
[0026] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0027] Figure 1 This is a schematic diagram of the structure of a smart door lock provided in an embodiment of this application; Figure 2This is a schematic diagram of the structure of the intelligent emergency lock cylinder provided in the embodiments of this application; Figure 3 This is a schematic diagram of a smart door lock system provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0028] The embodiments of the technical solution of this application will now be described in detail with reference to the accompanying drawings. These embodiments are only used to more clearly illustrate the technical solution of this application and are therefore merely examples, and should not be used to limit the scope of protection of this application.
[0029] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this application.
[0030] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined.
[0031] Early smart locks faced controversy due to a lack of emergency solutions, such as no backup path after a power outage or mechanical lock cylinder failure caused by electronic component malfunctions. Subsequently, a "electronic priority + mechanical backup" technical logic emerged, which prioritizes using the electronic lock for unlocking, and uses the mechanical key for emergency unlocking if the electronic lock fails.
[0032] The above technical logic is based on two scenarios: First, in the case of power outage, by reserving an emergency power supply interface (such as Micro-USB), it supports temporary power supply from an external power bank to activate the electronic unlocking function; second, in the case of complete electronic system failure, it is mandatory to retain a mechanical lock cylinder that meets security standards, and use it with an emergency key to achieve physical unlocking. The mechanical lock cylinder must meet the security level of anti-pry and anti-technical opening (such as a Class C lock cylinder).
[0033] However, existing smart locks only offer one emergency unlocking method, and the regular unlocking function is integrated into the lock control motherboard. The emergency unlocking lock cylinder and the lock control motherboard are independent of each other, lacking business linkage between them. Currently, the emergency unlocking solutions for smart locks on the market include the following, but a single emergency method has the following pain points: (1) Mechanical emergency lock cylinder: requires carrying a mechanical key at all times, and there is a security risk of the key being copied or technically unlocked; there is no record of unlocking.
[0034] (2) Mechanical emergency password: The password must be memorized; if forgotten, the lock can only be picked. There is also no record of unlocking. (3) Electronic emergency lock cylinder: The electronic key needs to be carried at all times, and it is impossible to unlock in an emergency without the electronic key; (4) NFC emergency lock cylinder: The mobile phone emergency unlocking and regular unlocking are independent of each other. The APP needs to be bound to the lock control motherboard and the emergency lock cylinder respectively. It is equivalent to one APP managing two smart locks (one is the lock control motherboard for regular unlocking, and the other is the NFC lock cylinder for emergency unlocking). The operation is cumbersome, the permission data is fragmented, and the linkage management is impossible. (5) Dual electronic system (one of which is dedicated to emergency unlocking): High cost, and the emergency electronic system cannot unlock after power failure.
[0035] This application embodiment describes a smart door lock that integrates a mechanical emergency unlocking mechanism and a Type-C emergency unlocking mechanism into a single smart emergency lock cylinder. Through a dual-channel design with both Type-C and mechanical emergency unlocking, it provides users with double insurance. The Type-C emergency unlocking utilizes the widespread availability of smartphones and interfaces to address the problem of being unable to unlock the door in an emergency if the key is forgotten. Meanwhile, the mechanical emergency solution provides stable unlocking protection in extreme situations such as a complete electronic system failure or a dead phone battery. The coexistence of these two emergency solutions enhances the reliability and flexibility of the smart door lock's emergency unlocking, reducing the risk of being unable to open the door. Simultaneously, the ribbon cable connection enables power supply and data interaction, improving the coordination and interaction between the lock control motherboard and the smart emergency lock cylinder.
[0036] Please see Figure 1 The diagram shown is a structural schematic of a smart door lock according to an embodiment of this application. The smart door lock includes a lock body, a lock control main board, and a smart emergency lock cylinder. The lock body internally contains mechanical components such as a bolt, a square steel bar, and a clutch motor. The lock body can receive drive signals from the lock control main board to complete the "locking" and "unlocking" actions of the door. The lock body is connected to the front and rear panels of the door lock via a square steel bar (or "screw rod"). When the handle or motor on the panel rotates, it drives the square steel bar, which in turn drives the mechanism inside the lock body, causing the bolt to extend or retract. Electrically, the motor inside the lock body is connected to the lock control main board via a wiring harness to receive its drive commands.
[0037] The lock control motherboard is used to control the opening and closing of the lock body in response to regular unlocking commands; these commands are sent by the user from the front panel of the door lock. The lock control motherboard is a printed circuit board (PCB) integrating electronic components such as a microprocessor (MCU), Bluetooth / Wi-Fi module, and power management chip. Regular unlocking commands include at least one of the following methods: fingerprint unlocking, password unlocking, Bluetooth unlocking, and facial recognition unlocking. Fingerprint unlocking sends a verification signal through the fingerprint recognition module; facial recognition unlocking sends a verification signal through the face recognition module; password unlocking uses a keypad or IC card reader to input the verification command; and Bluetooth unlocking can be achieved by sending an unlocking command via a mobile app connected through Bluetooth or by remotely authorized unlocking commands forwarded from a cloud server via a Wi-Fi / network module.
[0038] In one implementation, the lock control board can be located inside the front panel of the door lock. It connects to the fingerprint module, keypad, Bluetooth antenna, etc., on the front panel via internal wiring harnesses. Simultaneously, it connects to the motor inside the lock body via wiring harnesses to control its operation and obtains power from the battery on the rear panel.
[0039] Please see Figure 2 The diagram shown is a structural schematic of the intelligent emergency lock cylinder provided in an embodiment of this application.
[0040] The intelligent emergency lock cylinder includes a main lock cylinder board, a mechanical emergency unlocking mechanism, and a Type-C emergency unlocking mechanism. The main lock cylinder board includes a status detection component and a drive component. The mechanical emergency unlocking mechanism includes a mechanical key emergency slot. The mechanical key emergency slot is used for emergency unlocking via a mechanical key. The mechanical emergency unlocking mechanism is a purely mechanical lock cylinder structure that conforms to national lock standards, serving as an emergency backup that does not rely on any electricity. The mechanical key emergency slot is the traditional keyhole, used to insert a paired mechanical key.
[0041] The Type-C emergency unlocking mechanism includes a Type-C emergency interface. This interface connects to external devices to transmit reverse charging and emergency unlocking commands to the lock cylinder motherboard and lock control motherboard. The Type-C emergency unlocking mechanism is an electronic emergency system based on a USB Type-C interface, emphasizing convenience. The Type-C emergency interface connects to external devices and serves as both a power supply and a communication channel. As a power supply, when the lock battery is depleted, the user's mobile phone can act as a "power bank," supplying power to the lock through this interface. As a communication channel, the Type-C emergency interface receives "Type-C emergency unlocking commands" from a mobile app.
[0042] The reverse charging path can be: external device (phone, tablet, power bank, etc.) - Type-C interface - power management circuit on the lock cylinder motherboard - (power cable via ribbon cable) - lock control motherboard. This achieves "reverse charging from external device to the lock cylinder motherboard and lock control motherboard".
[0043] The Type-C interface can be exposed on the front panel of the door lock, and internally connected to the lock cylinder main board via wires. The drive components are also directly controlled by the lock cylinder main board.
[0044] The smart emergency lock cylinder is connected to the lock control motherboard via a ribbon cable, which includes a power supply line for power supply and a data communication line for data interaction. A ribbon cable is a type of cable in which multiple conductors are encapsulated side-by-side in a flexible insulating material. The lock control motherboard and the smart emergency lock cylinder are two independent hardware modules, but they interface with each other through a standardized, highly integrated physical interface.
[0045] The power cord is used to transfer power between the two. It is bidirectional: under normal conditions, the lock control motherboard may use it to power the standby circuitry of the smart emergency lock cylinder (such as status detection components). In an emergency, after receiving power from the mobile phone, the smart emergency lock cylinder uses it to power the lock control motherboard in reverse.
[0046] The data communication line is used to transmit data and commands between the two. The communication protocol can be a serial communication interface, such as UART (Asynchronous Serial Communication). The exchanged data includes binding / unbinding commands and keys, status query commands and responses, mechanical and Type-C unlocking records, and factory reset commands, etc.
[0047] The lock cylinder mainboard detects the mechanical key's unlocking action via a status detection component and generates a mechanical lock cylinder unlocking record. The status detection component can be a microswitch (physically triggered when the key rotates to a certain angle) or a Hall sensor (triggered when a magnet inside the lock cylinder is rotated to a specific position by the key). The function of the status detection component is to convert the physical key unlocking action into an electrical signal. When a valid unlocking action is detected, a signal is sent to the lock cylinder mainboard, thereby enabling the function of saving the mechanical key unlocking record.
[0048] The drive component is used to respond to Type-C emergency unlocking commands to drive the smart emergency lock cylinder to open. The drive component can be a miniature motor or solenoid. After the lock cylinder mainboard confirms the unlocking authorization, it controls the drive component to be powered on and generate linear or rotational motion, thereby driving the mechanism inside the lock body to achieve electronic emergency unlocking.
[0049] The main board of the lock cylinder is connected to all other electronic components (status detection components, drive components, Type-C interface) inside the lock cylinder housing by soldering or connectors.
[0050] In the implementation of the above embodiments, a dual-channel design combining "Type-C emergency unlocking" and "mechanical emergency unlocking" provides users with double insurance. Type-C emergency unlocking utilizes the widespread availability of smartphones and interfaces to address the problem of being unable to unlock the door in an emergency if keys are forgotten; while the mechanical emergency solution provides stable unlocking protection in extreme situations such as electronic system failure or a dead phone battery. The coexistence of these two emergency solutions enhances the reliability and flexibility of emergency unlocking of smart locks, reducing the risk of "unable to open the door." Simultaneously, the ribbon cable connection enables power supply and data interaction, improving the coordination and interaction between the lock control motherboard and the smart emergency lock cylinders.
[0051] Optionally, in this embodiment of the application, the lock cylinder main board is further configured to: generate a mechanical lock cylinder unlocking record after the status detection component detects that the mechanical key has completed unlocking, and send the mechanical lock cylinder unlocking record to the lock control main board via a data communication line.
[0052] The user inserts the correct mechanical key into the emergency key slot and turns the key. A status detection component is mounted in the transmission path, for example, on the final drive lever that actuates the bolt, or on a specially designed cam. If a microswitch is used: the rotating mechanism physically presses the microswitch's contact arm, changing its internal circuitry from "normally open" to "closed," generating a level transition signal from high to low (or vice versa). If a Hall sensor is used: the magnet rotating with the key approaches the Hall element, causing a change in the surrounding magnetic field strength, and the Hall sensor outputs a corresponding changing voltage signal.
[0053] The program running on the lock cylinder motherboard continuously monitors signals from the status detection component. When a mechanical unlocking action is detected, the firmware of the lock cylinder motherboard immediately generates a structured "mechanical lock cylinder unlocking record" in memory, which includes the event type (e.g., mechanical emergency unlocking), timestamp, door lock serial number, unlocking status (success or failure), etc.
[0054] After the record is generated, the communication unit of the smart emergency lock cylinder prepares to send data via the data communication line, and the lock control motherboard receives and stores the mechanical lock cylinder unlocking record. The mechanical lock cylinder unlocking record can be stored simultaneously on both the smart emergency lock cylinder and the lock control motherboard, thereby improving the reliability of the storage.
[0055] In the implementation of the above embodiments: through the hardware combination of "state detection component + lock cylinder motherboard" and internal firmware logic, physical mechanical operations are converted into digital information; and through the stable channel established by "data communication line", data collaboration between two independent hardware modules is realized, which improves the "security blind spot" problem caused by the inability of traditional smart door locks to record unlocking records in mechanical emergency scenarios, and enhances the security and manageability of smart door locks.
[0056] Optionally, in this embodiment, the smart lock further includes a front panel and a rear panel; the lock control main board and the smart emergency lock cylinder are located inside the front panel, and a battery and a reset button are located on the rear panel; the battery is used to power the smart lock, and the reset button is used to trigger a factory reset operation.
[0057] The front panel of a smart lock is the part installed on the outside of the door. It includes a protective shell and the interface for primary human-machine interaction and authentication. The lock control mainboard and smart emergency lock cylinder are fixedly installed inside the front panel. The outer surface of the front panel integrates various components driven by the lock control mainboard, such as a fingerprint recognition module, keypad, IC card reader, facial recognition camera, and Bluetooth antenna. An emergency mechanical key slot and a Type-C emergency interface can also be located on the front panel for easy access from the outside.
[0058] The rear panel of the door lock is the part of the smart door lock installed inside the door, mainly responsible for power supply, internal operation, and mechanical control. The battery can be a dry cell battery or a lithium battery pack, and the battery is connected to the lock control mainboard on the front panel via internal wiring harnesses to provide power to the entire electronic system of the door lock.
[0059] The reset button (such as the SET button) is a physical security and management button. Its function is to trigger a factory reset operation. For example, pressing and holding this button will send a hard signal to the lock control mainboard. The reset button is located on the inside of the door, so that the factory reset can only be performed by personnel who are physically inside the door (i.e., authorized personnel), effectively preventing malicious resets from outside the door.
[0060] When the factory reset operation is triggered, the lock control motherboard will start a security process, sending a command to the smart emergency lock cylinder through the data communication line in the ribbon cable, simultaneously clearing all user data, permission keys and binding status stored at both ends, and realizing integrated reset.
[0061] In the implementation of the above embodiments: by integrating the lock control motherboard and the smart emergency lock cylinder into the front panel of the door lock, and coordinating with the battery energy and management system on the rear panel, the reliability and flexibility of emergency unlocking of the smart door lock are improved, effectively solving the contradiction between security and convenience in traditional solutions.
[0062] This application also provides a collaborative management method for smart locks, which can be applied to the smart locks in any of the above embodiments. The collaborative management method for smart locks may include the following steps: The lock control motherboard interacts with the smart emergency lock cylinder via a data communication line. This data exchange includes information about the smart lock's operational process, which includes at least one of the following: binding, unbinding, factory reset, and emergency unlocking. This achieves full-process data interaction for the smart lock's operation, meaning that data exchange is possible between the lock control motherboard and the smart emergency lock cylinder at every stage of the smart lock's operation, enabling their coordinated operation. The binding, unbinding, factory reset, and emergency unlocking processes of the smart lock are described below.
[0063] The binding process involves binding the smart lock to the application. After binding is complete, the lock control motherboard and the smart emergency lock cylinder store the unlocking and closing keys and the binding status.
[0064] Binding a smart lock to an application is essentially the process of associating the smart lock with the user's identity. The lock control motherboard actively reads the lock cylinder identifier of the smart emergency lock cylinder via a data communication line and binds this identifier with its own identification information (such as a Bluetooth MAC address), both of which are then uploaded to the cloud server for verification. After successful server verification, a set of unlocking and closing keys is generated and sent to the lock control motherboard, which then securely writes this key into the smart emergency lock cylinder via the data communication line. Finally, both the lock control motherboard and the smart emergency lock cylinder independently store this key and set their internal binding status flag to "bound," thus completing integrated activation.
[0065] The unbinding process involves unbinding the smart lock from the application. During the unbinding process, the lock control motherboard sends an unbinding command to the smart emergency lock cylinder. The lock control motherboard and the smart emergency lock cylinder delete the unlocking and closing keys and change the binding status to unbound.
[0066] Unbinding a smart lock from its application is essentially the process of securely revoking the association between the smart lock and the user's account. When a user initiates an unbinding command through the application, the lock control motherboard, upon receiving the command, immediately sends a synchronized unbinding command to the smart emergency lock cylinder via the data communication line. Upon receiving the command, the lock control motherboard and the smart emergency lock cylinder simultaneously perform the following operations: first, completely delete the unlocking and closing keys stored internally; and second, change their binding status to "unbound."
[0067] During the factory reset process, the lock control motherboard sends a factory reset command to the smart emergency lock cylinder. The lock control motherboard and the smart emergency lock cylinder delete the unlocking and closing keys and change the binding status to unbound.
[0068] Factory reset serves as a physical reset safeguard when unbinding via the application is impossible (e.g., a forgotten password). For example, a user can press and hold the reset button inside the door, triggering the lock control board to send a factory reset command to the smart emergency lock cylinder via the data communication line. This command requires the lock control board and the smart emergency lock cylinder to simultaneously clear all user data and unlocking / locking keys, and reset the binding status to "unbound," restoring the lock to its factory-default blank state, ready for new user binding.
[0069] During emergency unlocking, the lock control motherboard and the smart emergency lock cylinder store the mechanical lock cylinder unlocking record, the Q&A data during the Type-C emergency unlocking process, and the Type-C emergency unlocking record.
[0070] The emergency unlocking process involves a security audit procedure that digitally records and monitors all emergency operations. Both the lock control motherboard and the smart emergency lock cylinder store the following data: a mechanical lock cylinder unlocking record generated when the mechanical key successfully unlocks; question-and-answer data between the smart emergency lock cylinder and the lock control motherboard used to determine the system status during Type-C emergency unlocking; and a Type-C emergency unlocking record generated after each successful Type-C emergency unlocking operation. All these records are synchronized and backed up between the lock control motherboard and the smart emergency lock cylinder modules via a data communication line.
[0071] In the implementation of the above embodiments: the collaborative management method of smart locks, through deep data interaction between the lock control motherboard and the smart emergency lock cylinder in all business scenarios, greatly improves the system's internal collaboration, management uniformity, and comprehensive security protection. It addresses a series of shortcomings in existing technologies (such as NFC emergency solutions) caused by the independent operation and data fragmentation of the lock control motherboard and emergency lock cylinder, such as cumbersome dual-module management, asynchronous permissions, and untraceable emergency operations. By synchronizing commands and data throughout the entire process from binding and unbinding to restoring factory settings, it reduces security vulnerabilities that may arise from data asynchrony.
[0072] Optionally, in this embodiment, the question-and-answer data includes query data and response data; the emergency unlocking process includes mechanical key unlocking and / or Type-C emergency unlocking; The data interaction process for unlocking with a mechanical key includes: After the intelligent emergency lock cylinder detects that the mechanical key has completed unlocking through the status detection component, it generates a mechanical lock cylinder unlocking record and sends the mechanical lock cylinder unlocking record to the lock control motherboard through the data communication line.
[0073] As one implementation method, after detecting that the mechanical key has completed unlocking, the smart emergency lock cylinder can also perform anti-misjudgment logic, such as: debouncing processing: ignoring momentary spikes in the signal caused by mechanical vibration. Or action integrity verification: confirming that the signal has lasted for the minimum time required for effective unlocking and detecting a complete action cycle (such as from "not triggered" to "triggered" and back to "not triggered").
[0074] Once a valid unlocking action is confirmed, the firmware generates a structured "mechanical lock cylinder unlocking record." This record is a data packet, typically containing: event type (identified as "mechanical unlock"), precise timestamp, unique lock cylinder identifier, and operation status code. The generated record is sent to the lock control motherboard via a data communication line (usually a serial communication interface such as UART). After receiving the record, the lock control motherboard verifies and parses it, then stores it in its non-volatile memory. Subsequently, this record can be synchronized to a mobile app or cloud server, forming a unified security log.
[0075] The process of emergency unlocking of Type-C includes: The smart emergency lock cylinder sends query data to the lock control mainboard. The query data is a predefined data message sent by the smart emergency lock cylinder to detect the working status of the lock control mainboard. The response data is the expected reply message returned by the lock control mainboard when it is functioning normally.
[0076] For example, when a mobile phone is plugged into a Type-C port and powered in reverse, the smart emergency lock cylinder powers itself and also provides temporary power to the lock control motherboard via a ribbon cable. Subsequently, the smart emergency lock cylinder immediately sends query data to the MCU of the lock control motherboard via a data communication line.
[0077] If the smart emergency lock cylinder receives the response data sent by the lock control motherboard, it will provide the user with the option to trigger a regular unlocking command and a Type-C emergency unlocking command through the application. After receiving the target unlocking command selected by the user, it will unlock the door according to the target unlocking command and save the unlocking record. The regular unlocking command is the unlocking command sent by the user based on the front panel of the door lock.
[0078] If a correct response is received within the preset time, this indicates that the processor, memory, and basic communication functions of the locking motherboard are normal. The system then determines that the locking motherboard is functioning normally. The motherboard is intact and can fully utilize its functions. The application will provide the user with two options: triggering a regular unlock command and a Type-C emergency unlock command.
[0079] Selecting the "Trigger Regular Unlock Command" option will maintain power supply to the mainboard in the smart emergency lock cylinder, allowing users to unlock the lock using front panel functions such as fingerprint or password as usual. Unlock records are generated by a properly functioning lock control mainboard.
[0080] By selecting the "Trigger Type-C Emergency Unlock Command" option, users can choose to unlock the emergency lock cylinder directly via mobile phone commands. Upon successful unlocking, the unlock record is generated by the smart emergency lock cylinder and synchronized to the lock control motherboard.
[0081] If the smart emergency lock cylinder does not receive the response data sent by the lock control motherboard, the application provides the option to trigger a Type-C emergency unlock command. After receiving the Type-C emergency unlock command sent by the user, the lock is unlocked according to the Type-C emergency unlock command, and the unlock record is saved.
[0082] If no response is received within the timeout period or if incoherent response data is received, this indicates a potential hardware or software malfunction in the lock control motherboard, or partial functional impairment. The system will classify this as a "lock control motherboard malfunction." In this case, the application will only offer the option to "trigger a Type-C emergency unlock command." This automatically cuts off power to the faulty motherboard, preventing abnormal power consumption or interference, while maintaining reliable emergency unlocking functionality. After unlocking, the record is saved by the smart emergency lock cylinder.
[0083] In the implementation of the above embodiments: by converting mechanical actions into electronic records and achieving system synchronization, the reliability and security traceability of emergency unlocking of smart locks are greatly improved. This overcomes the deficiency of traditional smart locks, which cannot record anything in mechanical emergency scenarios, creating a "security blind spot," making every mechanical unlocking traceable like electronic unlocking. Intelligent status diagnosis and path selection logic enhance the reliability and flexibility of emergency unlocking of smart locks. It also addresses the problem of traditional electronic emergency solutions being unable to adapt to lock control motherboard failures, improving unlocking reliability.
[0084] Optionally, in this embodiment of the application, before the smart emergency lock cylinder sends query data to the lock control mainboard, the method further includes: When an external device is connected to the Type-C emergency interface, the external device supplies power to the smart emergency lock cylinder, and the smart emergency lock cylinder supplies power to the lock control motherboard.
[0085] If the smart emergency lock cylinder or lock control motherboard has insufficient power, it can be powered by an external device connected to the Type-C emergency interface. As one implementation, after receiving power from the Type-C interface, the smart emergency lock cylinder directly uses a portion of the power to activate its own lock cylinder motherboard, status detection components, and communication interface, bringing it from a power-depleted dormant state to a standby working state. The remaining stable power is then delivered to the lock control motherboard via the power cable connecting the smart emergency lock cylinder and the lock control motherboard, providing the necessary energy for the microprocessor (MCU), memory, and communication modules to start and operate.
[0086] In the implementation of the above embodiments: through the emergency power supply link from the external device to the lock control motherboard, not only is energy security provided for Type-C emergency unlocking, but also by providing temporary power to the lock control motherboard, the normal unlocking function may be restored, thereby improving the reliability and flexibility of emergency unlocking of the smart door lock.
[0087] Optionally, in this embodiment of the application, the binding process includes: The lock control motherboard receives user-initiated binding requests based on the application. Users typically generate binding requests by clicking buttons such as "Add Device" or "Bind Lock." This request is then sent to the lock via Bluetooth wireless communication. After scanning and recognizing this binding request from a legitimate application, the lock control motherboard's Bluetooth module forwards it to the main processor (MCU) on the lock's motherboard.
[0088] In response to the binding request, the lock control motherboard reads the lock cylinder identifier of the smart emergency lock cylinder through the data communication line and sends the Bluetooth address and lock cylinder identifier to the application so that the application can bind the Bluetooth address, lock cylinder identifier and lock control server.
[0089] After responding to the binding request, the MCU on the lock control motherboard sends a "read ID" command to the smart emergency lock cylinder via a data communication line (usually using a serial communication protocol). Upon receiving the command, the smart emergency lock cylinder returns its lock cylinder identifier through the same channel. The lock control motherboard collects this identifier, binds it to its own Bluetooth address, forming a data packet containing dual hardware identifiers, and sends it back to the application via Bluetooth. The application then uploads this data packet to the lock control server, completing the information association registration on the server's cloud.
[0090] Both the lock control motherboard and the smart emergency lock cylinder receive the unlocking and closing keys sent by the lock control server and record the binding status as "bound". The unlocking and closing keys are generated by the lock control server according to the binding rules and sent to the lock control motherboard and the smart emergency lock cylinder respectively.
[0091] After verifying the legitimacy of the binding request, the lock control server generates a unique unlocking / closing key according to the binding rules using a key generation algorithm, such as an asymmetric encryption algorithm based on elliptic curves or RSA. The binding rules may include information such as random numbers, timestamps, and two-way identifiers. The lock control server sends the unlocking / closing key to both the lock control motherboard and the smart emergency lock cylinder. Both the lock control motherboard and the smart emergency lock cylinder store the unlocking / closing key information and record the binding status as "bound," thus completing the binding operation.
[0092] In the implementation of the above embodiments: In the prior art, the lock control motherboard and the electronic emergency lock cylinder need to be bound by the user separately, which leads to the fragmentation of permission data, cumbersome operation and easy security vulnerabilities. The embodiments of this application improve the uniformity and coordination of smart door lock system management by recognizing and binding the lock control motherboard and the smart emergency lock cylinder and by distributing synchronous keys.
[0093] Optionally, in this embodiment of the application, the unbinding process includes: When the lock control board is bound to the application, it receives unbinding requests from users based on the application. Users trigger "Delete Device" or "Unbind" operations in the lock management interface of the app. The app generates a structured unbinding request data packet, which typically contains user authentication information (such as a token) and the target lock's identifier. The unbinding request is sent to the lock control board, with which it remains connected, via a Bluetooth wireless communication link. Upon receiving this request, the lock control board executes authorization verification logic to confirm the legitimacy of the request source. If verification is successful, it responds to the unbinding request.
[0094] In response to the unbinding request, the lock control motherboard sends an unbinding command to the smart emergency lock cylinder. Both the lock control motherboard and the smart emergency lock cylinder delete the unlocking and closing keys and change the binding status to unbound.
[0095] After verifying the unbinding request, the MCU on the lock control motherboard can send an unbinding command to the smart emergency lock cylinder via a data communication line (such as a serial port). Both the lock control motherboard and the smart emergency lock cylinder delete the unlocking and closing keys. After confirming that the key has been securely deleted, both the lock control motherboard and the smart emergency lock cylinder change their internal binding status flag from "1" (bound) to "0" (unbound). This is an atomic operation, ensuring that the smart lock does not remain in a contradictory or intermediate state where "the key has been deleted but the status still shows as bound."
[0096] In the implementation of the above embodiments: Existing technologies may suffer from a "partial unbinding" security vulnerability due to the need for independent unbinding of the lock control motherboard and the electronic emergency lock cylinder, meaning a dangerous situation where one module has been deactivated while the other retains unlocking privileges. However, this application's embodiments improve the uniformity, security, and reliability of smart lock system management through a mechanism for instruction synchronization and data collaborative destruction between the lock control motherboard and the smart emergency lock cylinder.
[0097] Optionally, in this embodiment, restoring factory settings uses a high-privilege hardware command to forcibly and synchronously restore the lock control motherboard and smart emergency lock cylinder to their original factory state, ensuring that all user data is securely erased. The factory reset process includes: The system receives a factory reset command sent by the user via the reset button on the back panel of the door lock. The user triggers the reset button using a specific method (such as pressing and holding for 5 seconds). This action generates an electrical signal, which is directly transmitted to the lock control motherboard. The firmware of the lock control motherboard detects this electrical signal that continuously meets the time condition and interprets it as a valid factory reset command.
[0098] In response to a factory reset command, the lock control motherboard sends the command to the smart emergency lock cylinder. Upon receiving the command, the motherboard sends it to the smart emergency lock cylinder via the data communication line connecting both devices. Afterward, both devices can perform the factory reset operation.
[0099] After receiving a factory reset command, the smart emergency lock cylinder deletes the unlocking and locking keys and changes the binding status in the smart emergency lock cylinder to unbound. For example, this can be done by executing a sector erase command on the chip, deleting the sector data in its memory assigned to the unlocking and locking keys, and then the control unit changes the variable indicating the binding status to "unbound".
[0100] The system also deletes the unlocking and closing keys stored in the lock control motherboard and changes the binding status in the lock control motherboard to "unbound". The lock control motherboard performs the same local cleanup operation as the smart emergency lock cylinder, deleting its own stored unlocking and closing keys and changing its own binding status flag to "unbound".
[0101] In the implementation of the above embodiments: the factory reset process, through hardware triggering and system-wide collaborative instruction distribution mechanism, greatly improves the reliability and security of smart locks in lifecycle management. It effectively mitigates the risk of "partial reset" that may occur due to the independent management of the lock control motherboard and emergency lock cylinder in existing technologies, enhancing the controllability and security of smart locks.
[0102] Please see Figure 3 The diagram shown is a schematic diagram of the smart door lock system provided in an embodiment of this application.
[0103] In one optional embodiment, the smart lock system includes a rear panel and a front panel. The rear panel includes a battery and a reset button (SET button). The front panel houses a lock control motherboard and a smart emergency lock cylinder, which can also be called a dual-emergency unlocking cylinder. The lock control motherboard enables facial recognition, fingerprint unlocking, password unlocking, and Bluetooth communication. It also includes a motor, which serves as the drive component in the Type-C emergency unlocking mechanism. The dual-emergency unlocking cylinder can be used for both mechanical key unlocking and Type-C emergency unlocking. Mechanical key unlocking is achieved through a mechanical emergency unlocking mechanism, which includes a traditional keyhole for emergency use without requiring electricity. Type-C emergency unlocking is achieved through a Type-C emergency unlocking mechanism, which includes a Type-C interface and can be powered via a mobile phone and receive unlocking commands.
[0104] The mobile app is the application used by users to manage smart locks. Its functions include Bluetooth unlocking, locking / unlocking locks, authorizing others, registering biometric information, viewing unlocking records, and unlocking via a Type-C interface in emergency situations. The lock control server is a remote management hub located in the cloud. It can communicate with the mobile app and the lock control motherboard via the network to centrally manage all user accounts, lock permissions, and unlocking records, and is responsible for generating and distributing security keys during the binding process.
[0105] Please see Figure 4 The diagram shows a structural schematic of an electronic device provided in an embodiment of this application. An electronic device 300 provided in this application includes a processor 310 and a memory 320. The memory 320 stores machine-readable instructions executable by the processor 310. When the machine-readable instructions are executed by the processor 310, the method described above is performed.
[0106] Figure 4 The components shown can be implemented using hardware, software, or a combination thereof. Electronic device 300 may be a physical device, such as a server or PC, or a virtual device, such as a virtual machine or virtualization container. Furthermore, electronic device 300 is not limited to a single device; it can be a combination of multiple devices or a cluster of numerous devices.
[0107] This application also provides a storage medium storing a computer program, which is executed by a processor to perform the above-described method.
[0108] The storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Red-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0109] This application also provides a computer program product, including computer program instructions, which are executed by a processor to perform the method described above.
[0110] It should be understood that the disclosed apparatus and methods can also be implemented in other ways, given the several embodiments provided in this application. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, or they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0111] In addition, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0112] The above description is only an optional implementation of the embodiments of this application, but the protection scope of the embodiments of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the embodiments of this application should be covered within the protection scope of the embodiments of this application.
Claims
1. A smart door lock, characterized in that, include: Lock body, lock control mainboard, and intelligent emergency lock cylinder; The lock control motherboard is used to control the opening and closing of the lock body in response to conventional unlocking commands, which include at least one of fingerprint unlocking, password unlocking, Bluetooth unlocking, and face unlocking. The intelligent emergency lock cylinder includes a lock cylinder motherboard, a mechanical emergency unlocking mechanism, and a Type-C emergency unlocking mechanism; the lock cylinder motherboard includes a status detection component and a drive component; the mechanical emergency unlocking mechanism includes a mechanical key emergency slot for emergency unlocking via a mechanical key; the Type-C emergency unlocking mechanism includes a Type-C emergency interface for connecting external devices to transmit reverse charging and emergency unlocking commands to the lock cylinder motherboard and the lock control motherboard; The intelligent emergency lock cylinder is connected to the lock control motherboard via a ribbon cable, which includes a power supply line for power supply and a data communication line for data interaction. The lock cylinder motherboard detects the mechanical key unlocking action through a status detection component and generates a mechanical lock cylinder unlocking record; the drive component is used to respond to the Type-C emergency unlocking command to drive the smart emergency lock cylinder to open.
2. The smart door lock according to claim 1, characterized in that, The lock cylinder main board is also used to: generate a mechanical lock cylinder unlocking record after the status detection component detects that the mechanical key has completed unlocking, and send the mechanical lock cylinder unlocking record to the lock control main board through the data communication line.
3. The smart door lock according to claim 1, characterized in that, It also includes a front panel and a rear panel of the door lock; the lock control main board and the smart emergency lock cylinder are located in the front panel of the door lock, and a battery and a reset button are provided on the rear panel of the door lock; the battery is used to power the smart door lock, and the reset button is used to trigger a factory reset operation.
4. A collaborative management method for smart door locks, characterized in that, Applied to any of the smart door locks described in claims 1-3, the method includes: The lock control motherboard interacts with the smart emergency lock cylinder via a data communication line. The data exchanged includes data from the smart lock's operation process. The operation process includes at least one of the following: the smart lock's binding process, unbinding process, factory reset process, and emergency unlocking process. The binding process involves binding the smart lock to the application. After binding is completed, the lock control motherboard and the smart emergency lock cylinder store the unlocking and closing keys and the binding status. The unbinding process involves unbinding the smart lock from the application. During the unbinding process, the lock control motherboard sends an unbinding command to the smart emergency lock cylinder. The lock control motherboard and the smart emergency lock cylinder delete the unlocking and closing key and change the binding status to unbound. During the factory reset process, the lock control motherboard sends a factory reset command to the smart emergency lock cylinder, the lock control motherboard and the smart emergency lock cylinder delete the unlocking key and change the binding status to unbound; During the emergency unlocking process, the lock control motherboard and the smart emergency lock cylinder store the mechanical lock cylinder unlocking record, the question and answer data during the Type-C emergency unlocking process, and the Type-C emergency unlocking record.
5. The method according to claim 4, characterized in that, The question-and-answer data includes question data and response data; the emergency unlocking process includes mechanical key unlocking and / or Type-C emergency unlocking. The data interaction process for unlocking with the mechanical key includes: After the intelligent emergency lock cylinder detects that the mechanical key has completed unlocking through the status detection component, it generates a mechanical lock cylinder unlocking record and sends the mechanical lock cylinder unlocking record to the lock control motherboard through the data communication line. The Type-C emergency unlocking process includes: The intelligent emergency lock cylinder sends query data to the lock control motherboard; If the smart emergency lock cylinder receives the response data sent by the lock control motherboard, it provides the user with the option to trigger a regular unlocking command and a Type-C emergency unlocking command through the application. After receiving the target unlocking command selected by the user, it unlocks the door according to the target unlocking command and saves the unlocking record. The regular unlocking command is the unlocking command sent by the user based on the front panel of the door lock. If the smart emergency lock cylinder does not receive the response data sent by the lock control motherboard, the application provides the option to trigger the Type-C emergency unlock command. After receiving the Type-C emergency unlock command sent by the user, the lock cylinder unlocks according to the Type-C emergency unlock command and saves the unlock record.
6. The method according to claim 5, characterized in that, Before the smart emergency lock cylinder sends query data to the lock control mainboard, the method further includes: When an external device is connected to the Type-C emergency interface, the external device supplies power to the smart emergency lock cylinder, and the smart emergency lock cylinder supplies power to the lock control motherboard.
7. The method according to claim 4, characterized in that, The binding process includes: The locking motherboard receives the user's binding request based on the application; In response to the binding request, the lock control motherboard reads the lock cylinder identifier of the smart emergency lock cylinder through the data communication line, and sends the Bluetooth address and the lock cylinder identifier to the application, so that the application binds the Bluetooth address, the lock cylinder identifier and the lock control server; Both the lock control motherboard and the smart emergency lock cylinder receive the unlocking / closing key sent by the lock control server and record the binding status as "bound"; wherein, the unlocking / closing key is generated by the lock control server according to the binding rules and sent to the lock control motherboard and the smart emergency lock cylinder respectively.
8. The method according to claim 4, characterized in that, The unbinding process includes: When the lock control motherboard is bound to the application, the user's unbinding request based on the application is received through the lock control motherboard; In response to the unbinding request, the lock control motherboard sends an unbinding command to the smart emergency lock cylinder. Both the lock control motherboard and the smart emergency lock cylinder delete the unlocking key and change the binding status to unbound.
9. The method according to claim 4, characterized in that, The factory reset process includes: Receives factory reset commands sent by the user via the reset button on the back panel of the door lock; In response to the factory reset command, the factory reset command is sent to the smart emergency lock cylinder via the lock control motherboard; After receiving the factory reset command, the smart emergency lock cylinder deletes the unlocking key and changes the binding status in the smart emergency lock cylinder to unbound. And delete the lock opening and closing keys stored in the lock control motherboard, and change the binding status in the lock control motherboard to unbound.
10. An electronic device, characterized in that, include: A processor and a memory, the memory storing computer program instructions that, when executed by the processor, perform the method as described in any one of claims 4 to 9.