Intelligent lock control method and intelligent lock control system
Through multi-factor authentication and multiple encryption technology, the wireless communication and energy management module is optimized, and the security risks of the single verification method of the smart lock system, wireless communication stability and energy management problems are solved, the security and user experience of the system are improved, and the security of the system is realized. Efficient and reliable operation of smart locks.
Patent Information
- Application Number
- CN202411205814.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-12-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing smart lock systems have security risks of a single verification method, stability problems of wireless communications and energy management challenges, resulting in difficulty in ensuring security and poor user experience.
Using multi-factor authentication and multiple encryption technology combined with biometrics, passwords and device authentication, optimizes wireless communication modules and energy management modules to realize the identity authentication, data encryption and battery status monitoring of smart lock systems, and provides remote control, fault diagnosis and alarm functions. .
It significantly improves the security and reliability of the smart lock system, extends battery life, enhances user experience and system stability, prevents data theft and tampering, and ensures stable transmission of unlocking instructions and efficient energy management.
Smart Images

Figure CN119206910A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart locks, and in particular to a smart lock control method and a smart lock control system. Background Art
[0002] With the rapid development of modern technology and the continuous improvement of people's living standards, the concept of smart home has gradually gained popularity. As an important part of smart home, smart locks are favored by more and more users due to their convenience and security. Traditional mechanical locks can no longer meet the dual needs of modern people for convenience and security due to their cumbersome operation and low security. Therefore, smart locks came into being and quickly occupied the market.
[0003] Smart locks are locks that use high-tech means such as biometrics, wireless communication, and encryption algorithms to unlock, lock, and monitor security. Compared with traditional mechanical locks, smart locks have the advantages of easy operation, diverse unlocking methods, and high security. Currently, smart locks on the market mainly use fingerprint recognition, password input, Bluetooth recognition, NFC (near field communication) and other technical means to achieve unlocking operations. However, the existing smart lock system still has some problems and challenges, which are specifically reflected in the following aspects:
[0004] Security issues of a single authentication method: Most existing smart lock systems use a single user identity authentication method, such as fingerprint, password or Bluetooth authentication. This single authentication method has security risks to a certain extent. For example, although fingerprint recognition is convenient, the advancement of fingerprint film replication technology has challenged the security of fingerprint recognition; password authentication has the risk of being peeped and cracked; although Bluetooth authentication is easy to use, its transmission process may be monitored or attacked. These problems make it difficult to fully guarantee the security of smart locks.
[0005] Wireless communication stability issues: Smart locks rely on wireless communication modules (such as Wi-Fi, Bluetooth, NFC, etc.) to receive and execute the user's unlocking instructions. However, in actual applications, wireless communications are easily affected by signal interference and environmental factors, resulting in unlocking failures or misoperations. For example, in an environment with weak signals or strong interference, the transmission efficiency of Wi-Fi and Bluetooth will drop significantly, affecting the user experience. In addition, data is vulnerable to hacker attacks during transmission, and there is a risk of information being stolen or tampered with.
[0006] Energy management challenges: Smart locks are usually powered by batteries, so energy management becomes a key issue. How to extend the battery life while ensuring the efficient operation of smart locks is an important challenge that smart lock technology needs to solve. Some existing smart lock products have short battery life due to improper energy management, and users need to frequently replace batteries, resulting in a poor user experience.
[0007] Therefore, we urgently need to design a smart lock control method and a smart lock control system to solve the problems pointed out in the background technology. Summary of the invention
[0008] The purpose of the present invention is to provide a smart lock control method and a smart lock control system to solve the problems raised in the above background technology.
[0009] To achieve the above object, the present invention provides the following technical solution: a smart lock control method, comprising the following steps:
[0010] Receiving an unlocking instruction sent by a user device through a wireless communication module;
[0011] Verifying the user identity information, the verification comprising matching the received user identity information with a pre-stored user information database;
[0012] After successful verification, the control drive module drives the lock body to perform an unlocking operation;
[0013] The time and user information of the unlocking operation are recorded and stored in the storage module.
[0014] As a preferred technical solution of the present invention, the user identity information includes at least one of fingerprint information, facial recognition information, password information and Bluetooth identification information.
[0015] As a preferred technical solution of the present invention, the wireless communication module includes at least one of a Wi-Fi module, a Bluetooth module and an NFC module.
[0016] As a preferred technical solution of the present invention, the step of verifying the user identity information includes calculating the matching degree between the verification data sent by the user device and the corresponding data in the pre-stored database, and the matching degree calculation formula is:
[0017]
[0018] Among them, X i Verification data sent by the user device, Y i is the corresponding data in the pre-stored database, μ X and μ Y X i and Y i The mean of .
[0019] As a preferred technical solution of the present invention, the step of verifying the user identity information further includes encrypting and decrypting the received user identity information, and the encryption and decryption algorithms are:
[0020]
[0021] Among them, E(D) is the encrypted data, D is the original data, and K is the encryption key. Is the exclusive OR operator.
[0022] As a preferred technical solution of the present invention, the system further includes an energy management module for monitoring and managing the battery status of the smart lock system. The calculation formula of the battery status is:
[0023]
[0024] Among them, E is the remaining battery power percentage, C max is the maximum capacity of the battery, C current The current remaining capacity.
[0025] The present invention also provides an intelligent lock system, comprising:
[0026] A wireless communication module, used to receive an unlocking instruction sent by a user device;
[0027] User identity authentication module, used to verify user identity information;
[0028] A drive module, used to drive the lock body to perform an unlocking operation after successful verification;
[0029] A storage module, used to record and store the time and user information of the unlocking operation;
[0030] Energy management module, used to monitor and manage battery status.
[0031] As a preferred technical solution of the present invention, the user identity authentication module includes a user information database for storing pre-stored user information, and the query algorithm of the database is:
[0032]
[0033] Among them, Q(x) is the query result, x i and i are user input data and pre-stored data, μ X and μ Y is their mean, σ X and σ Y is their standard deviation.
[0034] As a preferred technical solution of the present invention, the driving module includes a motor and a control circuit. The motor is used to drive the unlocking and locking operations of the lock body. The control algorithm of the motor is:
[0035] P=IV
[0036] Among them, P is power, I is current, and V is voltage.
[0037] As a preferred technical solution of the present invention, it also includes an alarm module for sending an alarm signal when unlocking fails, and the alarm signal includes at least one of a sound alarm and a light alarm. The control algorithm of the alarm module is:
[0038] A ( t)=A0·e -λt
[0039] Among them, A(t) is the alarm signal strength, A0 is the initial signal strength, λ is the attenuation coefficient, and t is time.
[0040] The smart lock system also includes a remote control module, through which the user sends unlocking and locking instructions. The communication protocol of the remote control module is:
[0041] P comm =TCP / IP
[0042] Among them, P comm For communication protocols;
[0043] The storage module not only records the time and user information of the unlocking operation, but also records the change of the lock body state. The recording format of the lock body state change is: 1 represents the unlocking state, and 0 represents the locking state;
[0044] The user identity authentication module also includes a multi-factor authentication system, which improves security by combining biometrics, passwords and device authentication. The calculation formula of the multi-factor authentication is:
[0045]
[0046] Among them, MFA is the multi-factor authentication score, w i is the weight of each factor, f i is the verification result of each factor;
[0047] The smart lock system also includes a fault diagnosis module for detecting and reporting system faults. The detection algorithm of the fault diagnosis module is:
[0048]
[0049] Where D(f) is the fault detection value, X i is the expected value, Y i is the actual detection value, N is the number of detections;
[0050] The energy management module also includes a power optimization algorithm for extending battery life. The power optimization algorithm is:
[0051] Eopt =E initial e -αt
[0052] Among them, E opt is the optimized battery energy, E initial is the initial battery energy, α is the battery dissipation coefficient, and t is the time.
[0053] Beneficial Effects
[0054] The smart lock system and control method provided by the present invention significantly improve the security of the system through multi-factor authentication and multiple encryption technologies. The multi-factor authentication system combines three methods: fingerprint recognition, password input and device authentication, which can effectively prevent a single authentication method from being cracked and ensure the reliability of user identity authentication. At the same time, multiple encryption and decryption algorithms are used to encrypt communication data at multiple levels to prevent data from being stolen or tampered with during transmission, thereby further ensuring the security of data.
[0055] The present invention enhances the stability and endurance of the system through an optimized wireless communication module and an efficient energy management strategy. The wireless communication module can automatically select the best communication method according to the environment and signal strength to ensure that the unlocking command can be stably and accurately transmitted to the smart lock, thereby improving the reliability of the system. In addition, the energy management module can monitor the battery status in real time and dynamically adjust the working mode of the smart lock through a power optimization algorithm to achieve efficient energy management, maximize battery life, and reduce the trouble of users frequently replacing batteries.
[0056] The present invention also improves the user experience and the intelligence of the system through detailed record management, remote control, fault diagnosis and alarm functions. The storage module can record and store the time and user information of each unlocking operation, which is convenient for user query and management. The remote control module allows the user to send unlocking and locking instructions remotely, which increases the convenience and flexibility of use. The fault diagnosis module can detect and report system faults in a timely manner to ensure the stable operation of the system, and the alarm module can emit a sound or light alarm signal when the unlocking fails to alert the user, thereby improving the safety during use. In summary, the present invention significantly improves the safety, reliability and user experience of the smart lock system, and has broad application prospects.
[0057] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0059] Figure 1 is a flow chart of a smart lock control method;
[0060] Figure 2 This is the system block diagram of the smart lock control system. DETAILED DESCRIPTION
[0061] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0062] See also Figure 1 and Figure 2 ,
[0063] Embodiment 1
[0064] Example 1: Overall architecture of the smart lock system
[0065] The smart lock system of the present invention includes the following main components: wireless communication module: used to receive unlocking instructions sent by user equipment. The wireless communication module can include at least one of a Wi-Fi module, a Bluetooth module, and an NFC module, and can automatically select the best communication method according to the environment and signal strength to ensure the stability and reliability of communication.
[0066] User authentication module: used to verify user identity information. The authentication module combines fingerprint recognition, password input and device authentication (such as Bluetooth or NFC) to achieve multi-factor authentication and improve security.
[0067] Drive module: After successful verification, the lock body is driven to perform unlocking operation. The drive module includes a motor and a control circuit. The motor is used to drive the unlocking and locking operations of the lock body.
[0068] Storage module: used to record and store the time and user information of each unlocking operation for subsequent query and management.
[0069] Energy management module: used to monitor and manage battery status to ensure long-term stable operation of the smart lock system.
[0070] Example 2: User identity verification process
[0071] The user authentication process is as follows:
[0072] The user sends an unlocking command through fingerprint recognition, password input or device authentication (such as Bluetooth or NFC).
[0073] The user identity verification module receives the information input by the user and matches the received user identity information with the pre-stored user information database. The matching degree is calculated as:
[0074]
[0075] Among them, X i Verification data sent by the user device, Y i is the corresponding data in the pre-stored database, μ X and μ Y X i and Y i The mean of .
[0076] If the matching degree is higher than the preset threshold, the verification is passed and the unlocking operation is started; if the matching degree is lower than the threshold, the verification fails and a verification failure notification is sent to the user device.
[0077] Example 3: Multi-factor authentication system
[0078] The multi-factor authentication system combines fingerprint recognition, password input and device authentication to improve security. The calculation formula for multi-factor authentication is:
[0079]
[0080] Among them, MFA is the multi-factor authentication score, w i is the weight of each factor, f i is the verification result of each factor;
[0081] Example 4: Wireless communication and data encryption
[0082] The wireless communication module is used to receive the unlocking command sent by the user device. In order to ensure the security of data transmission, the present invention uses an advanced encryption algorithm to encrypt the communication data. The encryption and decryption algorithms are as follows:
[0083]
[0084] Among them, E(D) is the encrypted data, D is the original data, and K is the encryption key. Is the exclusive OR operator.
[0085] Example 5: Unlocking and recording
[0086] When the user identity verification is passed, the driver module converts the received unlocking command into motor action and drives the lock body to unlock. At the same time, the storage module records the time, user information and lock body status of the unlocking operation. The recording format is as follows:
[0087] When unlocked, 1 is recorded; when locked, 0 is recorded.
[0088] Example 6: Energy Management and Optimization
[0089] The energy management module of the smart lock system monitors the battery status in real time to ensure long-term stable operation of the system. The battery status calculation formula is as follows:
[0090]
[0091] Among them, E is the remaining battery power percentage, C max is the maximum capacity of the battery, C current The current remaining capacity.
[0092] In order to extend the battery life, the present invention introduces a power optimization algorithm, which achieves efficient energy management by dynamically adjusting the working mode of the smart lock. The power optimization algorithm is as follows:
[0093] E opt =E initial e -αt
[0094] Among them, E opt is the optimized battery energy, E initial is the initial battery energy, α is the battery dissipation coefficient, and t is the time.
[0095] Example 7: Remote control and fault diagnosis
[0096] The smart lock system also includes a remote control module, through which the user can send unlocking and locking instructions. The communication protocol of the remote control module is TCP / IP. In addition, the smart lock system also includes a fault diagnosis module for detecting and reporting system faults. The detection algorithm of the fault diagnosis module is:
[0097]
[0098] Where D(f) is the fault detection value, X i is the expected value, Y i is the actual detection value, N is the number of detections;
[0099] Example 8: Alarm module
[0100] When unlocking fails, the smart lock system will start the alarm module and send an alarm signal to remind the user. The alarm signal includes at least one of an audible alarm and a light alarm. The control algorithm of the alarm module is:
[0101] A(t)=A0·e -λt
[0102] Among them, A(t) is the alarm signal strength, A0 is the initial signal strength, λ is the attenuation coefficient, and t is time.
[0103] Embodiment 9: Storage and data management: The storage module not only records the time and user information of each unlocking operation, but also stores the information of the lock state change, which is convenient for subsequent query and management. The record format of the lock state change is as follows:
[0104] When unlocked, 1 is recorded; when locked, 0 is recorded.
[0105] Example 10: Multiple encryption and decryption
[0106] In order to further improve the security of data, the system uses multiple encryption and decryption algorithms. First, the data is encrypted by the initial encryption algorithm, and then further encrypted by the second layer of encryption algorithm. The specific algorithms are as follows:
[0107] Initial encryption:
[0108]
[0109] Second layer of encryption:
[0110]
[0111] Among them, E1(D) is the data after the first encryption, E2(E1(D)) is the data after the second encryption, D is the original data, K1 and K2 are the first and second encryption keys respectively, Is the exclusive OR operator.
[0112] The decryption process is as follows:
[0113] First decryption:
[0114]
[0115] Second decryption:
[0116]
[0117] Through the above-mentioned multiple encryption and decryption algorithms, the security of data transmission can be significantly improved to prevent data from being stolen or tampered with during transmission.
[0118] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A smart lock control method, characterized in that: The following steps are involved: Receiving an unlocking instruction sent by a user device through a wireless communication module; Verifying the user identity information, the verification comprising matching the received user identity information with a pre-stored user information database; After successful verification, the control drive module drives the lock body to perform an unlocking operation; The time and user information of the unlocking operation are recorded and stored in the storage module.
2. The anti-interference method of the smart lock according to claim 1, characterized in that: The user identity information includes at least one of fingerprint information, facial recognition information, password information and Bluetooth identification information.
3. The anti-interference method of the smart lock according to claim 1 or 2, characterized in that: The wireless communication module includes at least one of a Wi-Fi module, a Bluetooth module and an NFC module.
4. The control method of the smart lock system according to claim 1, characterized in that: The step of verifying the user identity information includes calculating the matching degree between the verification data sent by the user device and the corresponding data in the pre-stored database, and the matching degree calculation formula is: Among them, X i Verification data sent by the user device, Y i is the corresponding data in the pre-stored database, μ X and μ Y X i and Y i The mean of .
5. The control method of the smart lock system according to claim 1, characterized in that: The step of verifying the user identity information also includes encrypting and decrypting the received user identity information, and the encryption and decryption algorithms are: Among them, E(D) is the encrypted data, D is the original data, and K is the encryption key. Is the exclusive OR operator.
6. The control method of the smart lock system according to claim 1, characterized in that: The system further includes an energy management module for monitoring and managing the battery status of the smart lock system. The battery status is calculated as follows: Among them, E is the remaining battery power percentage, C max is the maximum capacity of the battery, C current The current remaining capacity.
7. A smart lock system, comprising: A wireless communication module, used to receive an unlocking instruction sent by a user device; User identity authentication module, used to verify user identity information; A drive module, used to drive the lock body to perform an unlocking operation after successful verification; A storage module, used to record and store the time and user information of the unlocking operation; Energy management module, used to monitor and manage battery status.
8. The smart lock system according to claim 7, characterized in that: The user identity authentication module includes a user information database for storing pre-stored user information, and the query algorithm of the database is: Among them, Q(x) is the query result, x i and i are user input data and pre-stored data, μ X and μ Y is their mean, σ X and σ Y is their standard deviation.
9. The smart lock system according to claim 7, characterized in that: The driving module includes a motor and a control circuit. The motor is used to drive the unlocking and locking operations of the lock body. The control algorithm of the motor is: P=IV Among them, P is power, I is current, and V is voltage.
10. The smart lock system according to claim 7, characterized in that: It also includes an alarm module for sending an alarm signal when unlocking fails, the alarm signal includes at least one of a sound alarm and a light alarm, and the control algorithm of the alarm module is: A(t)=A0·e -λt Among them, A(t) is the alarm signal strength, A0 is the initial signal strength, λ is the attenuation coefficient, and t is time. The smart lock system also includes a remote control module, through which the user sends unlocking and locking instructions. The communication protocol of the remote control module is: P comm =TCP / IP Among them, P comm For communication protocols; The storage module not only records the time and user information of the unlocking operation, but also records the change of the lock body state. The recording format of the lock body state change is: 1 represents the unlocking state, and 0 represents the locking state; The user identity authentication module also includes a multi-factor authentication system, which improves security by combining biometrics, passwords and device authentication. The calculation formula of the multi-factor authentication is: Among them, MFA is the multi-factor authentication score, w i is the weight of each factor, f i is the verification result of each factor; The smart lock system also includes a fault diagnosis module for detecting and reporting system faults. The detection algorithm of the fault diagnosis module is: Where D(f) is the fault detection value, X i is the expected value, Y i is the actual detection value, N is the number of detections; The energy management module also includes a power optimization algorithm for extending battery life. The power optimization algorithm is: opt =E initial e -αt , where E opt is the optimized battery energy, E initial is the initial battery energy, α is the battery dissipation coefficient, and t is the time.
Citation Information
Cited By
Remote control system of embedded intelligent lock
CN119863853A
