Remote control system of embedded intelligent lock
By adopting a multi-factor authentication mechanism and a disconnection and reconnection mechanism in the remote control system of embedded smart locks, the problems of network instability and insufficient security in the existing technology are solved, higher security and user experience are achieved, and emergency unlocking methods are provided.
Patent Information
- Application Number
- CN202510031573.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-08
- Publication Date
- 2025-04-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing embedded smart lock remote control system has problems of data transmission interruption and insufficient security in the case of unstable network and single security authentication methods.
A remote control system with embedded smart locks is designed, adopting a multi-factor authentication mechanism (including passwords, fingerprint recognition, facial recognition and NFC tags), and introducing a disconnection and reconnection mechanism in the communication module to ensure real-time data transmission and provide emergency unlocking methods.
It significantly improves the security and user experience of smart locks, ensures that real-time data transmission can be maintained in situations of unstable networks, and provides manual unlocking methods in emergencies, enhancing the flexibility and emergency response capabilities of the system.
Smart Images

Figure CN119863853A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of smart home, and more specifically, particularly relates to a remote control system of an embedded smart lock. Background Art
[0002] With the continuous development of science and technology, smart home systems have gradually entered people's lives. Among them, smart locks, as an important part of smart home systems, have received widespread attention for their safety, convenience and intelligence. Traditional mechanical locks have problems such as easy prying and key loss, while embedded smart locks integrate multiple sensors and communication modules to achieve remote control, security authentication and other functions, greatly improving the safety of door locks and user experience.
[0003] The existing embedded smart lock remote control system usually includes components such as communication module, control module, power management module, security module, user interface module and emergency unlocking module. These modules work together to realize the functions of remote control, security authentication, power management and user interaction of smart locks. However, there are still some problems in the practical application of the existing technology, such as network instability leading to data transmission interruption and single security authentication method that is easy to be cracked. Therefore, it is necessary to improve and optimize the existing technology to improve the performance and security of smart locks. We propose a remote control system for embedded smart locks. Summary of the invention
[0004] The purpose of the present invention is to solve the shortcomings of the prior art and propose a remote control system for an embedded smart lock. The remote control system of the embedded smart lock significantly improves the security, convenience and user experience of the smart lock through a variety of technical means and optimized design, and meets the needs of modern smart homes.
[0005] To achieve the above object, the present invention provides the following technical solutions:
[0006] A remote control system for an embedded smart lock, comprising:
[0007] A communication module, used to realize data communication with a remote device;
[0008] A control module for processing instructions from a remote device and controlling the state of the lock;
[0009] A power management module, used to monitor and manage the power supply of the smart lock; the power management module includes a battery power monitoring function, which can send a reminder notification to the user when the battery power is lower than a preset threshold;
[0010] A security module for ensuring the security of data transmission and storage; the security module adopts a multi-factor authentication mechanism, including password, fingerprint recognition, facial recognition or NFC tag;
[0011] A user interface module, used for providing a user interaction interface;
[0012] Emergency unlocking module, used to manually unlock the smart lock by entering a one-time password or using a spare mechanical key in an emergency.
[0013] Preferably, the communication module adopts a layered design, including a perception layer, a network transmission layer and an application layer. The perception layer is responsible for data collection, the network transmission layer realizes wireless transmission of data, and the application layer processes data and executes corresponding control commands; the communication module has a network disconnection and reconnection mechanism, which automatically attempts to reconnect when the network is disconnected to ensure real-time data transmission.
[0014] Preferably, the control module workflow is:
[0015] Receiving instructions, first, the control module receives instructions from the remote device through the communication module;
[0016] Verify the integrity of the command. Before parsing, the system should verify that the received command is complete and has not been tampered with;
[0017] After parsing the instruction content and confirming the integrity of the instruction, the control module will start parsing the instruction content;
[0018] Extracting the operation type, from the parsed data structure, the control module extracts the operation type;
[0019] Execute corresponding operations. According to the extracted operation type, the control module executes corresponding control logic; the operation type includes unlocking, locking, and setting passwords;
[0020] Return result: The control module packages the execution result into an instruction format and sends it back to the remote device through the communication module. The execution result includes operation success and operation failure.
[0021] Preferably, the power management module is installed inside the smart lock and communicates with the remote end through the communication module. When the power of the smart lock is less than 20%, a power warning message is sent to the remote end;
[0022] The battery capacity is estimated by measuring the battery voltage and combining it with the battery discharge curve. The full charge voltage of the battery is V full Volt, the empty voltage is V empty Volt, the current voltage is V current Volts, the power percentage P is calculated as:
[0023]
[0024] Power warning threshold T = V full×20%, when P<T, trigger reminder notification, the expression is: if P<T thensend notification.
[0025] Preferably, the security module is built into the smart lock. At the same time, the security module interacts with the remote end through the communication module. The password, fingerprint recognition data, facial recognition data and NFC tag data recognized by the remote end all interact with the security module through the communication module to achieve remote security authentication;
[0026] The fingerprint recognition and facial recognition use feature vectors and cosine similarity to calculate the matching degree when performing security authentication. The input feature vector is F input , the stored feature vector is F stored , then the cosine similarity S expression is:
[0027]
[0028] Among them, S≥85% is judged as a successful match. Otherwise, the system will issue a re-security authentication reminder. If the re-security authentication reminder is issued 5 times and there is still no successful match, fingerprint recognition and facial recognition will be locked, and only password security authentication can be passed.
[0029] Preferably, the disconnection reconnection mechanism avoids network congestion and frequent reconnection attempts by gradually increasing the retry interval. After each reconnection failure, the waiting time increases exponentially, with an initial waiting time of T0 and a maximum waiting time of T1. max , the number of reconnections is n, then the waiting time for the nth reconnection is T n It is expressed as:
[0030] T n =T0×2 (n-1) ;
[0031] Among them, Tn does not exceed Tmax. If Tn>Tmax, the waiting time is set to Tmax. To avoid infinite reconnection, the communication module sets a maximum reconnection number N. max , if the number of reconnections exceeds N max , the system may stop reconnecting and report an error, N max =5.
[0032] Preferably, the user interface module includes:
[0033] The data module is responsible for providing data abstraction and business logic, including data components, which are used to maintain the original application data and business logic of the interface, accept input and convert it into commands for models or views;
[0034] The view presentation module is responsible for the visual or audio presentation of data output and provides an interface for user input. It consists of presentation components that provide visual representation of data.
[0035] Preferably, when the communication module communicates, I represents the instruction sent by the remote device, P represents the processing result of the smart lock, T represents the data packet of the network transmission layer, and A represents the data parsing and processing process of the application layer, specifically:
[0036] The remote device sends a command, expressed as T send =A remote (I), where, A remote Indicates that the application layer of the remote device encapsulates instruction I;
[0037] The smart lock receives the command, the expression is T receive =N transmission (T send ), where N transmission Indicates that the network transport layer receives data packets;
[0038] Smart lock processing instruction, the expression is P = A lock (A parse (T receive )), where A parse Indicates the application layer parsing data packets, A lock Indicates that the application layer executes control logic based on the parsing results;
[0039] The intelligent lock feedback processing result is expressed as T feedback =A lock (P), where A lock Indicates that the application layer packages the processing results into data packets;
[0040] The remote device receives feedback, the expression is R = A remote (N transmission (T feedback )), where R represents the processing result received by the remote device.
[0041] Preferably, the system also includes an image acquisition unit integrated on the smart lock body, which is used to be activated when the smart lock doorbell is triggered, to collect image information in the environment where the smart lock is located, and to send the image to the remote end through the communication module.
[0042] Technical effects and advantages of the present invention: Compared with the traditional technology, the remote control system of the embedded smart lock provided by the present invention has the following advantages:
[0043] The network disconnection reconnection mechanism gradually increases the retry interval to avoid network congestion and frequent reconnection attempts, and sets the maximum number of reconnections to prevent the system from crashing due to infinite reconnections, thereby improving the stability and reliability of the system. The image acquisition unit integrated in the smart lock can collect environmental images when the doorbell is triggered and send the images to the remote end, increasing the security and monitoring functions of the smart lock, allowing users to remotely view the situation in front of the door;
[0044] The communication module has a network disconnection and reconnection mechanism to ensure real-time data transmission even when the network is unstable, avoiding the inability to receive instructions or feedback results in time due to network problems. It provides an emergency unlocking method with a one-time password and a spare mechanical key to ensure that users can still manually unlock the smart lock in an emergency, increasing the flexibility and emergency handling capabilities of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 This is a diagram of the remote control system architecture of the embedded smart lock of the present invention;
[0046] Figure 2 1 is a flowchart of the control module in an embodiment of the present invention. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0048] The present invention provides a remote control system for an embedded smart lock. With the popularization of the concept of smart home, consumers' demand for security and convenience continues to increase. As an important entrance to smart home, smart door locks are gradually gaining market acceptance. The remote control system for embedded smart locks has broad prospects in commercial applications. With the growth of market demand, continuous technological advancement, expansion of application scenarios and policy support, the smart door lock industry will usher in faster development.
[0049] like Figure 1 , remote control system of embedded smart lock, including:
[0050] The communication module is used to realize data communication with the remote device; the communication module adopts a layered design, including a perception layer, a network transmission layer and an application layer. The perception layer is responsible for data collection, the network transmission layer realizes wireless transmission of data, and the application layer processes data and executes corresponding control commands; the communication module has a network disconnection reconnection mechanism, which automatically attempts to reconnect when the network is disconnected to ensure real-time data transmission. The network disconnection reconnection mechanism avoids network congestion and frequent reconnection attempts by gradually increasing the retry interval time. After each reconnection failure, the waiting time increases exponentially, with the initial waiting time being T0 and the maximum waiting time being T. max , the number of reconnections is n, then the waiting time for the nth reconnection is T n It is expressed as:
[0051] T n =T0×2 (n-1) ;
[0052] Among them, Tn does not exceed Tmax. If Tn>Tmax, the waiting time is set to Tmax. To avoid infinite reconnection, the communication module sets a maximum reconnection number N. max , if the number of reconnections exceeds N max , the system may stop reconnecting and report an error, N max =5.
[0053] For example, the initial waiting time T0 is 1 second, and the maximum waiting time T max 32 seconds, maximum number of reconnections N max The reconnection process is as follows:
[0054] After the first reconnection fails, wait for 1 second (T1 = 1 × 20 = 1 second);
[0055] After the second reconnection fails, wait for 2 seconds (T2 = 1 × 21 = 2 seconds);
[0056] After the third reconnection fails, wait for 4 seconds (T3 = 1 × 22 = 4 seconds);
[0057] After the fourth reconnection fails, wait for 8 seconds (T4 = 1 × 23 = 8 seconds);
[0058] After the fifth reconnection fails, wait for 16 seconds (T5 = 1 × 24 = 16 seconds);
[0059] If the connection fails after the fifth attempt, the system will not try to reconnect again and may log an error message or take other measures.
[0060] When the communication module communicates, I represents the instruction sent by the remote device, P represents the processing result of the smart lock, T represents the data packet of the network transmission layer, and A represents the data parsing and processing process of the application layer, specifically:
[0061] The remote device sends a command, expressed as T send =A remote (I), where, A remote Indicates that the application layer of the remote device encapsulates instruction I;
[0062] The smart lock receives the command, the expression is T receive =N transmission (T send ), where N transmission Indicates that the network transport layer receives data packets;
[0063] Smart lock processing instruction, the expression is P = A lock (A parse (T receive )), where A parse Indicates the application layer parsing data packets, A lock Indicates that the application layer executes control logic based on the parsing results;
[0064] The intelligent lock feedback processing result is expressed as T feedback =A lock (P), where A lock Indicates that the application layer packages the processing results into data packets;
[0065] The remote device receives feedback, the expression is R = A remote (N transmission (T feedback )), where R represents the processing result received by the remote device.
[0066] It should be noted that the communication module adopts a layered design, including a perception layer, a network transmission layer and an application layer. The perception layer is responsible for data collection, the network transmission layer realizes wireless transmission of data, and the application layer processes data and executes corresponding control commands. The communication module has a network disconnection and reconnection mechanism, which automatically attempts to reconnect when the network is disconnected to ensure real-time data transmission.
[0067] A control module is used to process instructions from a remote device and control the state of the lock; Figure 2 , the control module workflow is:
[0068] Receiving instructions, first, the control module receives instructions from the remote device through the communication module;
[0069] Verify the integrity of the command. Before parsing, the system should verify that the received command is complete and has not been tampered with;
[0070] After parsing the instruction content and confirming the integrity of the instruction, the control module will start parsing the instruction content;
[0071] Extracting the operation type, from the parsed data structure, the control module extracts the operation type;
[0072] Execute corresponding operations. According to the extracted operation type, the control module executes corresponding control logic; the operation type includes unlocking, locking, and setting passwords;
[0073] Return result: The control module packages the execution result into an instruction format and sends it back to the remote device through the communication module. The execution result includes operation success and operation failure.
[0074] A power management module is used to monitor and manage the power supply of the smart lock; the power management module includes a battery power monitoring function, which can send a reminder notification to the user when the battery power is lower than a preset threshold; the power management module is installed inside the smart lock and communicates with the remote end through the communication module. When the power of the smart lock is lower than 20%, a power warning message is sent to the remote end;
[0075] The battery capacity is estimated by measuring the battery voltage and combining it with the battery discharge curve. The full charge voltage of the battery is V full Volt, the empty voltage is V empty Volt, the current voltage is V current Volts, the power percentage P is calculated as:
[0076]
[0077] Power warning threshold T = V full ×20%, when P<T, trigger reminder notification, the expression is: if P<T thensend notification.
[0078] A security module is used to ensure the security of data transmission and storage; the security module adopts a multi-factor authentication mechanism, including password, fingerprint recognition, facial recognition or NFC tag; the security module is built into the smart lock, and at the same time, the security module interacts with the remote end through the communication module, and the password, fingerprint recognition data, facial recognition data and NFC tag data recognized by the remote end interact with the security module through the communication module to achieve remote security authentication;
[0079] The fingerprint recognition and facial recognition use feature vectors and cosine similarity to calculate the matching degree when performing security authentication. The input feature vector is F input , the stored feature vector is F stored , then the cosine similarity S expression is:
[0080]
[0081] Among them, S≥85% is judged as a successful match. Otherwise, the system will issue a re-security authentication reminder. If the re-security authentication reminder is issued 5 times and there is still no successful match, fingerprint recognition and facial recognition will be locked, and only password security authentication can be passed.
[0082] For example, when logging in with a password, the details are as follows:
[0083] The user tries to log in using a password and enters the password "password123"; the security module encrypts it:
[0084] StoredHash=SHA-256("password123")=5e884898da28047...;
[0085] During verification, the system calculates the hash value of the input password and compares it with the stored hash value. If the two are equal, the authentication is successful.
[0086] The facial feature vector for fingerprint recognition and facial recognition input is:
[0087] [0.9,0.85,0.95];
[0088] The stored feature vectors are:
[0089] [0.92,0.87,0.94] [0.92,0.87,0.94].
[0090] Calculate similarity:
[0091]
[0092] The threshold is 0.8, and since S is greater than 0.8, the authentication is successful.
[0093] A user interface module is used to provide a user interaction interface; the user interface module includes:
[0094] The data module is responsible for providing data abstraction and business logic, including data components, which are used to maintain the original application data and business logic of the interface, accept input and convert it into commands for models or views;
[0095] The view presentation module is responsible for the visual or audio presentation of data output and provides an interface for user input. It consists of presentation components that provide visual representation of data.
[0096] Emergency unlocking module, used to manually unlock the smart lock by entering a one-time password or using a spare mechanical key in an emergency.
[0097] In addition, the system also includes an image acquisition unit integrated on the smart lock body, which is used to be activated when the smart lock doorbell is triggered, to collect image information in the environment where the smart lock is located, and to send the image to the remote end through the communication module.
[0098] In summary, compared with the traditional technology, the present invention has the following advantages:
[0099] Improve user experience. Through remote control of smart locks, users can operate smart locks through mobile phones or other remote devices anytime and anywhere, which greatly improves convenience and user experience;
[0100] Enhanced security: Multi-factor authentication mechanism (including password, fingerprint recognition, facial recognition and NFC tag) ensures that only authorized users can unlock the door, greatly improving the security of the door lock;
[0101] Power management optimization, the battery power monitoring function can promptly remind users to replace or charge batteries when the power is lower than the preset threshold, preventing the lock from being unable to be unlocked due to battery exhaustion, and improving system reliability;
[0102] Real-time data transmission guarantee: the communication module has a disconnection and reconnection mechanism to ensure real-time data transmission even when the network is unstable, thus avoiding the failure to receive instructions or feedback results in time due to network problems.
[0103] Manual unlocking in emergency situations provides emergency unlocking methods with a one-time password and a spare mechanical key, ensuring that users can still manually unlock the smart lock in an emergency, increasing the flexibility and emergency handling capabilities of the system;
[0104] Efficient data processing and feedback mechanism. The system adopts a layered design. The perception layer is responsible for data collection, the network transmission layer realizes wireless transmission, and the application layer processes data and executes control commands. All layers work together to improve data processing efficiency and response speed.
[0105] Intelligent user interface: the user interface module provides intuitive data abstraction and business logic, and the view presentation module provides a visual interface, allowing users to interact and operate conveniently;
[0106] Image acquisition unit: The image acquisition unit integrated in the smart lock can capture environmental images when the doorbell is triggered and send the images to the remote end, which increases the security and monitoring functions of the smart lock and enables users to remotely view the situation in front of the door;
[0107] To prevent infinite reconnection, the disconnection reconnection mechanism gradually increases the retry interval to avoid network congestion and frequent reconnection attempts, and sets the maximum number of reconnections to prevent the system from crashing due to infinite reconnection, thereby improving the stability and reliability of the system;
[0108] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A remote control system for an embedded smart lock, characterized in that: include: A communication module, used to realize data communication with a remote device; A control module for processing instructions from a remote device and controlling the state of the lock; Power management module, used to monitor and manage the power supply of the smart lock; The power management module includes a battery power monitoring function, which can send a reminder notification to the user when the battery power is lower than a preset threshold; A security module for ensuring the security of data transmission and storage; the security module adopts a multi-factor authentication mechanism, including password, fingerprint recognition, facial recognition or NFC tag; A user interface module, used for providing a user interaction interface; Emergency unlocking module, used to manually unlock the smart lock by entering a one-time password or using a spare mechanical key in an emergency.
2. A remote control system for an embedded smart lock according to claim 1, characterized in that: The communication module adopts a layered design, including a perception layer, a network transmission layer and an application layer. The perception layer is responsible for data collection, the network transmission layer realizes wireless transmission of data, and the application layer processes data and executes corresponding control commands. The communication module has a network disconnection and reconnection mechanism, which automatically attempts to reconnect when the network is disconnected to ensure real-time data transmission.
3. The remote control system of an embedded smart lock according to claim 1, characterized in that: The control module workflow is as follows: Receiving instructions, first, the control module receives instructions from the remote device through the communication module; Verify the integrity of the command. Before parsing, the system should verify that the received command is complete and has not been tampered with; After parsing the instruction content and confirming the integrity of the instruction, the control module will start parsing the instruction content; Extracting the operation type, from the parsed data structure, the control module extracts the operation type; Execute corresponding operations. According to the extracted operation type, the control module executes corresponding control logic; the operation type includes unlocking, locking, and setting passwords; Return result: The control module packages the execution result into an instruction format and sends it back to the remote device through the communication module. The execution result includes operation success and operation failure.
4. The remote control system of an embedded smart lock according to claim 1, characterized in that: The power management module is installed inside the smart lock and communicates with the remote end through the communication module. When the power of the smart lock is less than 20%, a power warning message is sent to the remote end; The battery capacity is estimated by measuring the battery voltage and combining it with the battery discharge curve. The full charge voltage of the battery is V full Volt, the empty voltage is V empty Volt, the current voltage is V current Volts, the power percentage P is calculated as: Power warning threshold T = V full ×20%, when P<T, trigger reminder notification, the expression is: if P<T then sendnotification.
5. The remote control system of an embedded smart lock according to claim 1, characterized in that: The security module is built into the smart lock. At the same time, the security module interacts with the remote end through the communication module. The password, fingerprint recognition data, facial recognition data and NFC tag data recognized by the remote end all interact with the security module through the communication module to achieve remote security authentication; The fingerprint recognition and facial recognition use feature vectors and cosine similarity to calculate the matching degree when performing security authentication. The input feature vector is F input , the stored feature vector is F stored , then the cosine similarity S expression is: Among them, S≥85% is judged as a successful match. Otherwise, the system will issue a re-security authentication reminder. If the re-security authentication reminder is issued 5 times and there is still no successful match, fingerprint recognition and facial recognition will be locked, and only password security authentication can be passed.
6. The remote control system of an embedded smart lock according to claim 2, characterized in that: The disconnection reconnection mechanism avoids network congestion and frequent reconnection attempts by gradually increasing the retry interval. After each reconnection failure, the waiting time increases exponentially. The initial waiting time is T0 and the maximum waiting time is T max , the number of reconnections is n, then the waiting time for the nth reconnection is T n It is expressed as: T n =T0×2 (n-1) ; Among them, Tn does not exceed Tmax. If Tn>Tmax, the waiting time is set to Tmax. To avoid infinite reconnection, the communication module sets a maximum reconnection number N. max , if the number of reconnections exceeds N max , the system may stop reconnecting and report an error, N max =5.
7. The remote control system of an embedded smart lock according to claim 1, characterized in that: The user interface module comprises: The data module is responsible for providing data abstraction and business logic, including data components, which are used to maintain the original application data and business logic of the interface, accept input and convert it into commands for models or views; The view presentation module is responsible for the visual or audio presentation of data output and provides an interface for user input. It consists of presentation components that provide visual representation of data.
8. The remote control system of an embedded smart lock according to claim 6, characterized in that: When the communication module communicates, I represents the instruction sent by the remote device, P represents the processing result of the smart lock, T represents the data packet of the network transmission layer, and A represents the data parsing and processing process of the application layer, specifically: The remote device sends a command, expressed as T send =A remote (I), where, A remote Indicates that the application layer of the remote device encapsulates instruction I; The smart lock receives the command, the expression is T receive =N transmission (T send ), where N transmission Indicates that the network transport layer receives data packets; Smart lock processing instruction, the expression is P = A lock (A parse (T receive )), where A parse Indicates the application layer parsing data packets, A lock Indicates that the application layer executes control logic based on the parsing results; The intelligent lock feedback processing result is expressed as T feedback =A lock (P), where A lock Indicates that the application layer packages the processing results into data packets; The remote device receives feedback, the expression is R = A remote (N transmission (T feedback )), where R represents the processing result received by the remote device.
9. The remote control system of an embedded smart lock according to claim 1, characterized in that: The system also includes an image acquisition unit integrated on the smart lock body, which is used to be activated when the smart lock doorbell is triggered, to collect image information in the environment where the smart lock is located, and to send the image to the remote end through the communication module.
Citation Information
Patent Citations
User interface dynamic generation model of household electric apparatus integrated with universal protocol
CN104991764A
Door opening system by mobile phone based on Internet of Things technology
CN107204061A
Outage network reconnection method and device, medium and computing equipment
CN108430116A
Intelligent lock control method and intelligent lock control system
CN119206910A