Intelligent lock message reminding method

The smart lock message reminder method addresses environmental and network-related abnormalities by providing comprehensive user notifications and manufacturer feedback, enhancing smart lock performance and maintenance efficiency.

CN119068581APending Publication Date: 2024-12-03SUZHOU KUNSHAN GENERAL LOCKSET CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411126943.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

Existing smart lock technologies fail to provide comprehensive message reminders for abnormal situations such as environmental factors affecting fingerprint sensors and network connection quality, leading to ineffective user notifications and hindered maintenance and upgrades.

Method used

A smart lock message reminder method that detects abnormal offline fingerprint unlocking by analyzing environmental data like temperature and humidity, and abnormal online remote control unlocking by evaluating network indicators like bandwidth, delay, and packet loss, providing tailored user reminders and facilitating manufacturer feedback.

Benefits of technology

Enhances user awareness of smart lock abnormalities and aids in timely maintenance by identifying and addressing environmental and network issues, ensuring effective operation and facilitating product improvements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119068581A_ABST
    Figure CN119068581A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent lock message reminding method, and relates to the field of intelligent lock message reminding, and the method comprises the steps of A1, intelligent lock unlocking information detection, A2, intelligent lock unlocking detection abnormity reminding, A3, intelligent lock offline unlocking detection abnormity analysis, and A4, intelligent lock online unlocking detection abnormity analysis. Whether abnormity exists or not is detected during offline fingerprint unlocking of the intelligent lock, if abnormity exists, environment data around the intelligent lock can be analyzed, and the influence of temperature and humidity around the intelligent lock on a fingerprint recognition module of the intelligent lock is considered. When online remote control unlocking detection of the intelligent lock is abnormal, each index of the intelligent lock network is detected, whether the connection quality of the intelligent lock network reaches the standard or not is analyzed, if the connection quality of the intelligent lock network does not reach the standard, the reason that the connection quality of the intelligent lock network does not reach the standard is traced, and the reason is provided for a technical team of a user and an intelligent lock manufacturer; and subsequent maintenance and technical improvement are facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart locks, and in particular to a message reminder method for detecting abnormal unlocking of a smart lock. Background Art

[0002] Smart locks are invented by improving traditional mechanical locks by combining modern wireless communication technology, biometric technology, encryption technology and some other Internet of Things technologies. They have the characteristics of higher security, convenient manageability and intelligent message reminders. However, the complexity of the spatial environment in which smart locks are located will lead to some abnormal situations during use. Therefore, it is necessary to issue message reminders for abnormal situations of smart locks.

[0003] The message reminders for smart locks in the existing technology can meet the basic requirements, but there are also some potential defects and challenges. Specifically: on the one hand, when the existing technology detects abnormalities in offline fingerprint unlocking, it ignores the analysis of the temperature and humidity of the surrounding environment of the smart lock, and cannot remind the user that abnormal temperature will affect the performance of the fingerprint sensor and abnormal humidity will affect the image acquisition of the fingerprint sensor, resulting in the user not being able to receive effective information reminders when abnormalities occur in offline fingerprint unlocking of the smart lock, and not being able to take timely solutions to the abnormality type.

[0004] On the other hand, when the smart lock network connection quality does not meet the standards during online remote control unlocking of the smart lock, the reasons for the poor network connection quality of the smart lock are neglected, and the user cannot be specifically reminded of the reasons that caused the abnormal network connection quality of the smart lock. At the same time, the comprehensiveness of the message reminder is ignored. When it is detected that the smart lock itself has a fault, it cannot be promptly fed back to the technical team of the smart lock manufacturer, which is inconvenient for subsequent users' repairs and smart lock manufacturers' subsequent product upgrades and improvements. Summary of the invention

[0005] The purpose of the present invention is to provide a smart lock message reminder method to solve the problems existing in the background technology.

[0006] A smart lock message reminder method includes: A1: smart lock unlocking information detection, detecting whether the offline fingerprint unlocking of the smart lock is abnormal, and detecting whether the online remote control unlocking of the smart lock is abnormal.

[0007] A2: Smart lock unlock detection abnormal reminder. If the smart lock offline fingerprint unlock detection is abnormal or the smart lock online remote control unlock detection is abnormal, the user will be reminded.

[0008] A3: Smart lock offline unlocking detection abnormality analysis. If the smart lock offline fingerprint unlocking detection is abnormal, the smart lock surrounding environment data will be detected and analyzed to see if it is abnormal. If the detection is abnormal, the user will be reminded.

[0009] A4: Analysis of abnormalities in online unlocking detection of smart locks. If the online remote control unlocking detection of the smart lock is abnormal, the network connection quality of the smart lock will be detected to analyze whether the network connection quality of the smart lock meets the standards. If the detection and analysis is abnormal, the reasons why the network connection quality of the smart lock does not meet the standards will be analyzed to remind the user.

[0010] Furthermore, the specific method for detecting whether the offline fingerprint unlocking of the smart lock is abnormal is as follows: when the fingerprint recognition point of the smart lock detects that a user is performing fingerprint recognition operation, the timing starts. If it is detected that the user's fingerprint stays at the fingerprint recognition point of the smart lock for longer than the normal time range of fingerprint recognition, and the smart lock has no fingerprint recognition result feedback, then the offline fingerprint unlocking of the smart lock is determined to be abnormal and the user is reminded.

[0011] Furthermore, the detection and analysis of whether the environmental data surrounding the smart lock is abnormal includes: the environmental data surrounding the smart lock includes temperature values ​​and humidity values ​​collected by a temperature sensor and a humidity sensor integrated in the fingerprint recognition of the smart lock.

[0012] If the temperature value around the smart lock is not within the normal operating temperature range, the abnormality type is recorded as temperature abnormality. If the humidity value around the smart lock is not within the normal operating humidity range, the abnormality type is recorded as humidity abnormality. A reminder message containing the abnormality type is broadcast through the voice broadcast module integrated in the smart lock.

[0013] Furthermore, the specific method for detecting whether the online remote control unlocking of the smart lock is abnormal includes: starting the timing after the user sends the unlocking command from the online remote mobile phone of the smart lock, and ending the timing when the user receives the feedback signal returned by the smart lock, and obtaining the actual response time of the online remote control unlocking of the smart lock, which is recorded as .

[0014] If the smart lock is unlocked by online remote control, the actual response time is long Longer than the preset standard response time for online remote control unlocking of smart locks , it is recorded as an abnormality in the online remote control unlocking of the smart lock.

[0015] If the user does not receive the feedback signal returned by the smart lock, it will be recorded as an abnormality in the online remote control unlocking of the smart lock and the user will be reminded.

[0016] Furthermore, the detection of various indicators of the smart lock network is specifically: the various indicators of the smart lock network include the bandwidth of the network for communication between the smart lock and the smart lock server, the network delay, the network packet loss rate and the network jitter.

[0017] The bandwidth of the network is measured by using network monitoring software to regularly check the usage of the network bandwidth.

[0018] The network delay is obtained by sending an ICMP request to the smart lock device through the smart lock server, measuring the round-trip time, and obtaining the network delay.

[0019] The packet loss rate of the network, the smart lock server sends a large number of data packets to the smart lock through the ping tool, and the number of data packets sent is recorded as , record the number of response packets actually received by the smart lock , using the formula , calculate the packet loss rate of the network .

[0020] The network jitter is measured by using a ping tool to perform continuous ping tests, record the round-trip time of each data packet, and calculate the standard deviation of the round-trip time to obtain the network jitter.

[0021] Furthermore, the specific analysis method for analyzing whether the smart lock network connection quality meets the standard is as follows: based on the measured network bandwidth value, using the formula , convert the actual value of network bandwidth into the standardized value of network bandwidth, where Indicates the normalized value of network bandwidth, Indicates the actual measured network bandwidth value. Indicates the theoretical maximum value of network bandwidth. Indicates the theoretical minimum network bandwidth.

[0022] Based on the measured network delay value, using the formula , convert the actual value of network delay into the standardized value of network delay, where Represents the normalized value of network delay, Indicates the actual measured network delay value. Indicates the theoretical maximum value of network delay. Indicates the theoretical minimum network delay.

[0023] Similarly, according to the calculation method of the standardized value of network delay, the standardized value of network packet loss rate can be obtained and the network jitter normalized value .

[0024] Test the relevant performance of smart locks under different network conditions, analyze the impact of various network indicators on the success rate of smart lock unlocking under different network conditions, determine the weight of each network indicator, and record the network bandwidth weight as , the network delay weight is recorded as , the network packet loss rate weight is recorded as , the network jitter weight is recorded as .

[0025] Based on the standardized values ​​and weights of each network indicator, according to the network connection quality index formula , the smart lock network connection quality index is calculated, where Indicates the smart lock network connection quality index.

[0026] Based on the calculated smart lock network connection quality index, determine whether the smart lock network connection quality meets the standard.

[0027] If the smart lock network connection quality does not meet the standards, the user will be reminded to check whether the local network is normal.

[0028] Furthermore, the specific method for determining the weight of each network indicator is: setting a test environment with different network conditions, including normal network conditions, low bandwidth conditions, high latency conditions, high jitter conditions, and packet loss conditions, controlling the same network indicator to set different test data, obtaining multiple sets of test data, and recording the unlocking success rate under each test condition.

[0029] The Pearson correlation coefficient between each network indicator and the success rate of smart lock unlocking is calculated to measure the strength of the linear relationship between each network indicator and the success rate of smart lock unlocking.

[0030] The Pearson correlation coefficients of various network indicators are converted to absolute values, and the absolute values ​​are used as the basis for weights to obtain the sum of the absolute values ​​of the Pearson correlation coefficients of various network indicators. Then, the proportion of the Pearson correlation coefficients of various network indicators is calculated to determine the weight of each network indicator.

[0031] Furthermore, the user is reminded to check whether the local network is normal, and the specific method is: if it is detected that the network connection quality of the smart lock is not up to standard, it is detected whether there are people in the area within a preset distance range from the smart lock.

[0032] The millimeter-wave radar sensor integrated in the smart lock is used to detect whether there are people in the area within the preset distance range of the smart lock.

[0033] If the presence of a person is detected in the area, the person in the area will be reminded to adjust the smart lock network settings to determine whether it is a local network problem.

[0034] The reminder method includes reminding the presence of persons in the area through a voice broadcast unit.

[0035] The adjusting of the smart lock network settings includes reminding people in the area to reconfigure the network for the smart lock.

[0036] The determining whether it is a local network problem includes reminding people in the area to detect the local router line connection.

[0037] If it is detected that the local router is working normally, it is determined that the problem is not with the local network. The data packets related to the smart lock are obtained through network packet capture, and the reasons why the smart lock network connection quality does not meet the standards are analyzed.

[0038] Furthermore, the network packet capture obtains data packets related to the smart lock, which is specifically: the network packet capture uses the smart lock IP address and port number as filtering conditions to configure the network packet capture filter.

[0039] Start the packet capture tool to capture the network traffic generated by the remote control unlocking operation of the smart lock, and obtain the data packets communicated between the smart lock and the smart lock server.

[0040] Furthermore, the specific method for analyzing the reason why the network connection quality of the smart lock does not meet the standards is as follows: first, based on the data packets related to the smart lock, detect whether the IP address, subnet mask, gateway and port number of the communication between the smart lock and the smart lock server are correct, and confirm whether the smart lock has successfully established the initial connection with the smart lock server. If not, the reason why the network connection quality of the smart lock does not meet the standards is the network configuration problem between the smart lock and the smart lock server.

[0041] Then check the protocol fields and data contents in the data packets related to the smart lock to determine whether the smart lock communicates according to the expected protocol. If the smart lock does not communicate according to the expected protocol, the reason why the smart lock network connection quality does not meet the standards is the protocol mismatch between the smart lock and the smart lock server.

[0042] Finally, analyze the status code and response content returned by the server, and identify the reason why the smart lock network connection quality does not meet the standard based on the status code. If the status code returned by the smart lock server is a 4xx series, it means that the smart lock client has an error. If the status code returned by the smart lock server is a 5xx series, it means that the smart lock server has an error.

[0043] The analyzed reasons for the substandard smart lock network connection quality are sent to the user and the smart lock manufacturer's technical team.

[0044] Compared with the existing technology, the embodiments of the present invention have at least the following advantages or beneficial effects: the present invention detects whether there is an abnormality when the smart lock is unlocked with a fingerprint offline. If there is an abnormality, the environmental data around the smart lock will be analyzed. Considering that the temperature and humidity around the smart lock will affect the fingerprint recognition module of the smart lock, if the environmental data monitoring around the smart lock is abnormal, the user is reminded that the cause of the abnormality in the fingerprint recognition unlocking of the smart lock is the abnormality in the environmental data around the smart lock.

[0045] When the online remote control unlocking of the smart lock detects an abnormality, the present invention detects various indicators of the smart lock network and analyzes whether the smart lock network connection quality meets the standards. If the smart lock network connection quality does not meet the standards, the reasons for the poor connection quality of the smart lock network will be traced, and more specific information about the online remote control unlocking of the smart lock will be provided to the user.

[0046] When the present invention issues an abnormal reminder during the remote control unlocking of the smart lock online, the object of the reminder is fully considered. If it is detected that the reason is not the user's local network, the reason causing the smart lock network connection quality to not meet the standard will be analyzed, and the user and the smart lock manufacturer's technical team will be reminded to facilitate subsequent maintenance and technical improvements. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0048] Figure 1 The figure is a flow chart of the method of the present invention.

[0049] Figure 2 This is a flow chart of the method for detecting abnormal reminder of offline fingerprint unlocking of the smart lock of the present invention.

[0050] Figure 3 This is a flow chart of the method for remotely controlling unlocking and detecting abnormal reminder of the smart lock online of the present invention. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] Reference Figure 1 As shown: A smart lock message reminder method includes: smart lock unlocking information detection, smart lock unlocking detection abnormal reminder, smart lock offline unlocking detection abnormal analysis, and smart lock online unlocking detection abnormal analysis.

[0053] From the background technology, it can be seen that the prior art ignores the fact that the surrounding environment data of the smart lock will cause abnormalities in the offline fingerprint unlocking detection of the smart lock, and no message reminder is given to the user. Based on this, the present invention provides a smart lock offline detection abnormality reminder method to solve the above defects.

[0054] Embodiment 1 Reference Figure 2 As shown, it is a flow chart of a method for detecting abnormal reminder of offline fingerprint unlocking of a smart lock provided in a specific embodiment of the present invention. The method includes: B1: detecting whether the offline fingerprint unlocking of the smart lock is abnormal.

[0055] B2: If fingerprint unlocking abnormality is detected, check whether the environmental data around the smart lock is abnormal.

[0056] B3: If the data of the smart lock's surrounding environment is detected to be abnormal, the user will be informed of the abnormal situation.

[0057] In a specific embodiment of the present invention, the specific method for detecting whether the offline fingerprint unlocking of the smart lock is abnormal is as follows: when the fingerprint recognition part of the smart lock detects that a user is performing a fingerprint recognition operation, the timing is started. If it is detected that the length of time that the user's fingerprint stays at the fingerprint recognition part of the smart lock exceeds the normal time range of the fingerprint recognition, and the smart lock has no fingerprint recognition result feedback, then the offline fingerprint unlocking of the smart lock is determined to be abnormal and the user is reminded.

[0058] It should be noted that, in a specific embodiment, the normal time range of fingerprint recognition is set according to the performance of the fingerprint recognition module of the smart lock.

[0059] It should also be noted that, in a specific embodiment, the fingerprint recognition result feedback includes successful recognition and unrecognizable, and the smart lock has no fingerprint recognition result feedback, which means that the smart lock does not prompt the fingerprint recognition result and the smart lock has no state change.

[0060] In a specific embodiment of the present invention, the detection and analysis of whether the environmental data surrounding the smart lock is abnormal is specifically as follows: the environmental data surrounding the smart lock includes temperature and humidity values ​​collected by the temperature sensor and humidity sensor integrated in the fingerprint recognition of the smart lock.

[0061] If the temperature value around the smart lock is not within the normal operating temperature range, the abnormality type is recorded as temperature abnormality. If the humidity value around the smart lock is not within the normal operating humidity range, the abnormality type is recorded as humidity abnormality. A reminder message containing the abnormality type is broadcast through the voice broadcast module integrated in the smart lock.

[0062] It should be noted that, in a specific embodiment, the environmental data around the smart lock will affect the accuracy of fingerprint recognition. The temperature around the smart lock specifically refers to the ambient temperature around the smart lock, including the ambient temperature of the smart lock that is too high or too low. If the ambient temperature of the smart lock is too high, it will cause the internal circuit of the device to work unstably and the fingerprint image to be unclear. If the ambient temperature of the smart lock is too low, it will cause frost on the sensor surface and affect the normal operation of the sensor. The humidity around the smart lock refers to the humidity at the fingerprint recognition point of the smart lock, including the user's finger being wet with water for fingerprint recognition and unlocking.

[0063] It should be noted that, in a specific embodiment, the voice broadcast unit integrated in the smart lock converts the voice prompt into voice information in advance through text information and stores it in the local storage unit of the smart lock. The abnormality type is detected according to the environmental data surrounding the smart lock and corresponding reminders are made. For example, if the abnormality type is humidity abnormality, the reminder is "Due to abnormal humidity around the smart lock, fingerprint unlocking failed, please clean the surface and try again." If the abnormality type is temperature abnormality, the reminder is "Due to abnormal temperature around the smart lock, fingerprint unlocking failed, please adjust the temperature around the smart lock to the normal operating temperature range and try again."

[0064] The present invention detects whether there is an abnormality when the smart lock is unlocked with a fingerprint offline. If there is an abnormality, the environmental data around the smart lock will be analyzed. Considering that the temperature and humidity around the smart lock will affect the fingerprint recognition module of the smart lock, if the environmental data monitoring around the smart lock is abnormal, the user is reminded that the cause of the abnormality in fingerprint recognition unlocking of the smart lock is the abnormality in the environmental data around the smart lock.

[0065] Embodiment 2 It should be noted that, in a specific embodiment, the reasons for the abnormal online remote control unlocking of the smart lock include substandard network connection quality of the smart lock and hardware failure of the smart lock electronic control system. The present invention mainly detects whether the network connection quality of the smart lock is up to standard, and traces the reasons why the network connection quality of the smart lock is not up to standard.

[0066] Reference Figure 3 As shown in the figure, it is a flow chart of a method for detecting abnormality of unlocking a smart lock online remote control provided in a specific embodiment of the present invention. The method includes: C1: detecting whether the unlocking of the smart lock online remote control is abnormal C2: If the online remote control unlocking of the smart lock is detected to be abnormal, the user is reminded and the quality of the smart lock network connection is checked to see if it meets the standards.

[0067] C3: If the quality of the smart lock network connection is not up to standard, detect whether there are people in the area within the preset distance range of the smart lock.

[0068] C4: If the presence of a person is detected in the area, the person will be reminded to adjust the network settings to detect whether the problem is with the local network.

[0069] C5: If it is not a local network problem, analyze the reasons why the smart lock network connection quality does not meet the standards through network packet capture.

[0070] C6: Send the reasons for the substandard quality of the smart lock network connection that affects the online remote control unlocking of the smart lock to the user and the technical team of the smart lock manufacturer.

[0071] In a specific embodiment of the present invention, the specific method of detecting whether the online remote control unlocking of the smart lock is abnormal includes: The timer starts when the user sends an unlock command from the smart lock online remote mobile phone. When the user receives the feedback signal returned by the smart lock, the timer ends and the actual response time of the smart lock online remote control unlocking is obtained, which is recorded as .

[0072] If the smart lock is unlocked by online remote control, the actual response time is long Longer than the preset standard response time for online remote control unlocking of smart locks , it is recorded as an abnormality in the online remote control unlocking of the smart lock.

[0073] If the user does not receive the feedback signal returned by the smart lock, it will be recorded as an abnormality in the online remote control unlocking of the smart lock and the user will be reminded.

[0074] In a specific embodiment of the present invention, the detection of various indicators of the smart lock network is specifically: the various indicators of the smart lock network include the bandwidth of the network for communication between the smart lock and the smart lock server, the network delay, the network packet loss rate and the network jitter.

[0075] The bandwidth of the network is measured by using network monitoring software to regularly check the usage of the network bandwidth.

[0076] The network delay is obtained by sending an ICMP request to the smart lock device through the smart lock server, measuring the round-trip time, and obtaining the network delay.

[0077] The packet loss rate of the network, the smart lock server sends a large number of data packets to the smart lock through the ping tool, and the number of data packets sent is recorded as , record the number of response packets actually received by the smart lock , using the formula , calculate the packet loss rate of the network .

[0078] The network jitter is measured by using a ping tool to perform continuous ping tests, record the round-trip time of each data packet, and calculate the standard deviation of the round-trip time to obtain the network jitter.

[0079] In a specific embodiment of the present invention, the specific analysis method for analyzing whether the network connection quality of the smart lock meets the standard is: based on the measured network bandwidth value, using the formula , convert the actual value of network bandwidth into the standardized value of network bandwidth, where Indicates the normalized value of network bandwidth, Indicates the actual measured network bandwidth value. Indicates the theoretical maximum value of network bandwidth. Indicates the theoretical minimum network bandwidth.

[0080] Based on the measured network delay value, using the formula , convert the actual value of network delay into the standardized value of network delay, where Represents the normalized value of network delay, Indicates the actual measured network delay value. Indicates the theoretical maximum value of network delay. Indicates the theoretical minimum network delay.

[0081] Similarly, according to the calculation method of the standardized value of network delay, the standardized value of network packet loss rate can be obtained and the network jitter normalized value .

[0082] Test the relevant performance of smart locks under different network conditions, analyze the impact of various network indicators on the success rate of smart lock unlocking under different network conditions, determine the weight of each network indicator, and record the network bandwidth weight as , the network delay weight is recorded as , the network packet loss rate weight is recorded as , the network jitter weight is recorded as .

[0083] Based on the standardized values ​​and weights of each network indicator, according to the network connection quality index formula , the smart lock network connection quality index is calculated, where Indicates the smart lock network connection quality index.

[0084] Based on the calculated smart lock network connection quality index, determine whether the smart lock network connection quality meets the standard. If the smart lock network connection quality does not meet the standard, remind the user to check whether the local network is normal.

[0085] It should be noted that, in a specific embodiment, the smart lock network connection quality index , the smart lock network connection quality is divided into four levels: excellent, good, average, and poor. The specific classification can refer to the following example: Excellent level, Between 0.8 and 1.0, good level, Between 0.6 and 0.8, general level, Between 0.4 and 0.6, poor grade, Less than 0.4.

[0086] It should also be noted that, in a specific embodiment, the substandard quality of the smart lock network connection is not only equivalent to a network connection failure, but also includes the situation where the network connection exists but its performance and stability are poor, such as high network latency, insufficient bandwidth, packet loss and high jitter. These situations will affect the abnormal online remote control unlocking of the smart lock.

[0087] In a specific embodiment of the present invention, the specific method for determining the weight of each network indicator is: setting a test environment with different network conditions, including normal network conditions, low bandwidth conditions, high latency conditions, high jitter conditions, and packet loss conditions, controlling the same network indicator to set different test data, obtaining multiple sets of test data, and recording the unlocking success rate under each test condition.

[0088] The Pearson correlation coefficient between each network indicator and the success rate of smart lock unlocking is calculated to measure the strength of the linear relationship between each network indicator and the success rate of smart lock unlocking.

[0089] The Pearson correlation coefficients of various network indicators are converted to absolute values, and the absolute values ​​are used as the basis for weights to obtain the sum of the absolute values ​​of the Pearson correlation coefficients of various network indicators. Then, the proportion of the Pearson correlation coefficients of various network indicators is calculated to determine the weight of each network indicator.

[0090] It should be noted that, in a specific embodiment, the weights of the various network indicators are preset according to historical test results.

[0091] It should be noted that, in a specific embodiment, the Pearson correlation coefficient of each network indicator is calculated based on the historical test results, and the weight of each network indicator is determined. The specific steps are: D1: Set a test environment with different network conditions, and test and record the success rate of smart lock unlocking. For example, when the network bandwidth is set to 5Mbps, the other network indicators are under normal network conditions. The smart lock is tested for online remote control unlocking 100 times, and the success rate of smart lock unlocking is counted. When the network bandwidth is set to 10Mbps, the above operation is repeated, and different network bandwidths are set to count the success rate of smart lock unlocking to obtain N groups of test data.

[0092] D2: Based on the test data, a data set of two variables is obtained. Each data set contains N data, and the variable X corresponds to the variable Y one by one.

[0093] D3: Calculate the mean of variables X and Y based on two variable data sets containing N data. , , represents the mean of variable X, represents the mean of variable Y, Indicates the number of test data in the data set. .

[0094] D4: Calculate the covariance of variables X and Y based on the data sets and means of variables X and Y. , It represents the covariance between variables X and Y.

[0095] D5: Based on the data set and mean of variables X and Y, calculate the standard deviation of variables X and Y: , , represents the standard deviation of variable X, Represents the standard deviation of variable Y.

[0096] D6: Calculate the Pearson correlation coefficient based on the covariance and standard deviation of variables X and Y. , Represents the Pearson correlation coefficient between variable X and variable Y.

[0097] D7: Based on the above steps, calculate the Pearson coefficient between each index of the smart lock network and the success rate of smart lock unlocking, denoted as Represents the Pearson correlation coefficient between network delay and smart lock unlocking success rate, represents the Pearson correlation coefficient between network bandwidth and smart lock unlocking success rate, The Pearson correlation coefficient between network jitter and smart lock unlocking success rate, The Pearson correlation coefficient between the network packet loss rate and the smart lock unlocking success rate is expressed by taking the absolute value of each Pearson correlation coefficient and using the formula , calculate the sum of all absolute values ​​of Pearson correlation coefficients .

[0098] D8: The Pearson correlation coefficient between each index of the smart lock network and the success rate of smart lock unlocking and the sum of the absolute values ​​of each Pearson correlation coefficient , calculate the weight of each indicator of the smart lock network, for example, using the formula , the weight of the smart lock network delay index in the comprehensive evaluation formula of network indicators is obtained. When calculating the exact value, it is necessary to ensure .

[0099] In a specific embodiment of the present invention, the user is reminded to check whether the local network is normal, and the specific method is: if it is detected that the quality of the smart lock network connection is not up to standard, then detect whether there are people in the area within a preset distance range from the smart lock.

[0100] The millimeter-wave radar sensor integrated in the smart lock is used to detect whether there are people in the area within the preset distance range of the smart lock.

[0101] If the presence of a person is detected in the area, the person in the area will be reminded to adjust the smart lock network settings to determine whether it is a local network problem.

[0102] The reminder method includes reminding the presence of persons in the area through a voice broadcast unit.

[0103] The adjusting of the smart lock network settings includes reminding people in the area to reconfigure the network for the smart lock.

[0104] The determining whether it is a local network problem includes reminding people in the area to detect the local router line connection.

[0105] If it is detected that the local router is working normally, it is determined that the problem is not with the local network. The data packets related to the smart lock are obtained through network packet capture, and the reasons why the smart lock network connection quality does not meet the standards are analyzed.

[0106] It should be noted that, in a specific embodiment, to determine whether the problem is with the local network, first check whether the router to which the smart lock is connected to the network is working normally, including checking the power supply and the insertion of the optical fiber cable. If there is a problem with the router line, after adjustment, the smart lock network connection quality index is re-evaluated. If the smart lock network connection quality meets the standard, it indicates that the local network problem caused the smart lock remote control unlocking abnormality. The smart lock server sends a notification SMS to remind the user that the local network problem caused the smart lock remote control unlocking abnormality.

[0107] In a specific embodiment of the present invention, the network packet capture obtains data packets related to the smart lock, which is specifically: the network packet capture uses the smart lock IP address and port number as filtering conditions to configure the network packet capture filter.

[0108] Start the packet capture tool to capture the network traffic generated by the remote control unlocking operation of the smart lock, and obtain the data packets communicated between the smart lock and the smart lock server.

[0109] In a specific embodiment of the present invention, the specific method for analyzing the reason why the smart lock network connection quality does not meet the standards is: first, based on the data packets related to the smart lock, detect whether the IP address, subnet mask, gateway and port number of the communication between the smart lock and the smart lock server are correct, and confirm whether the smart lock has successfully established the initial connection with the smart lock server. If not, the reason why the smart lock network connection quality does not meet the standards is the network configuration problem between the smart lock and the smart lock server.

[0110] Then check the protocol fields and data contents in the data packets related to the smart lock to determine whether the smart lock communicates according to the expected protocol. If the smart lock does not communicate according to the expected protocol, the reason why the smart lock network connection quality does not meet the standards is the protocol mismatch between the smart lock and the smart lock server.

[0111] Finally, analyze the status code and response content returned by the server, and identify the reason why the smart lock network connection quality does not meet the standard based on the status code. If the status code returned by the smart lock server is a 4xx series, it means that the smart lock client has an error. If the status code returned by the smart lock server is a 5xx series, it means that the smart lock server has an error.

[0112] The analyzed reasons for the substandard smart lock network connection quality are sent to the user and the smart lock manufacturer's technical team.

[0113] It should be noted that, in a specific embodiment, the network packet capture analysis of the reasons why the smart lock network connection quality does not meet the standards is completed by a special security device configured on the smart lock server side.

[0114] It should also be noted that, in a specific embodiment, when the local network is normal, the reasons why the smart lock network connection quality does not meet the standards include a failure in the smart lock server, a network connection failure in the smart lock, and a network configuration failure between the smart lock and the smart lock server.

[0115] When the online remote control unlocking of the smart lock detects an abnormality, the present invention detects various indicators of the smart lock network and analyzes whether the smart lock network connection quality meets the standards. If the smart lock network connection quality does not meet the standards, the reasons for the poor connection quality of the smart lock network will be traced, and more specific information about the online remote control unlocking of the smart lock will be provided to the user.

[0116] When the present invention issues an abnormal reminder during the remote control unlocking of the smart lock online, the object of the reminder is fully considered. If it is detected that the reason is not the user's local network, the reason causing the smart lock network connection quality to not meet the standard will be analyzed, and the user and the smart lock manufacturer's technical team will be reminded to facilitate subsequent maintenance and technical improvements.

[0117] The above contents are merely examples and explanations of the concept of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the concept of the invention or exceed the scope defined by the present invention, they shall all fall within the protection scope of the present invention.

Claims

1. A smart lock message reminder method, characterized in that: The method comprises: A1: Smart lock unlocking information detection, detect whether the offline fingerprint unlocking of the smart lock is abnormal, detect whether the online remote control unlocking of the smart lock is abnormal; A2: Smart lock unlock detection abnormal reminder, if the smart lock offline fingerprint unlock detection is abnormal or the smart lock online remote control unlock detection is abnormal, the user will be reminded; A3: Analysis of abnormalities in offline unlocking detection of smart locks. If the offline fingerprint unlocking detection of the smart lock is abnormal, the data of the surrounding environment of the smart lock will be detected and analyzed to see if it is abnormal. If the detection is abnormal, the user will be reminded. A4: Analysis of abnormalities in online unlocking detection of smart locks. If the online remote control unlocking detection of the smart lock is abnormal, the indicators of the smart lock network will be detected to analyze whether the quality of the smart lock network connection meets the standards. If the detection and analysis is abnormal, the reasons why the quality of the smart lock network connection does not meet the standards will be analyzed to remind the user.

2. A smart lock message reminder method according to claim 1, characterized in that: The specific method of detecting whether the offline fingerprint unlocking of the smart lock is abnormal is as follows: When the smart lock fingerprint recognition detects that a user is performing fingerprint recognition operation, the timing starts. If it is detected that the user's fingerprint stays at the smart lock fingerprint recognition for a period of time exceeding the normal fingerprint recognition time range, and the smart lock does not provide fingerprint recognition result feedback, the smart lock offline fingerprint unlocking is judged to be abnormal and the user is reminded.

3. A smart lock message reminder method according to claim 2, characterized in that: The detecting and analyzing whether the surrounding environment data of the smart lock is abnormal includes: The smart lock surrounding environment data includes temperature and humidity values ​​collected by the temperature sensor and humidity sensor integrated in the fingerprint recognition of the smart lock; If the temperature value around the smart lock is not within the normal operating temperature range, the abnormality type is recorded as temperature abnormality. If the humidity value around the smart lock is not within the normal operating humidity range, the abnormality type is recorded as humidity abnormality. A reminder message containing the abnormality type is broadcast through the voice broadcast module integrated in the smart lock.

4. A smart lock message reminder method according to claim 1, characterized in that: The specific method of detecting whether the online remote control unlocking of the smart lock is abnormal includes: The timer starts when the user sends an unlock command from the smart lock online remote mobile phone. When the user receives the feedback signal returned by the smart lock, the timer ends and the actual response time of the smart lock online remote control unlocking is obtained, which is recorded as ; If the smart lock is unlocked by online remote control, the actual response time is long Longer than the preset standard response time for online remote control unlocking of smart locks , it is recorded as an abnormality in the online remote control unlocking of the smart lock; If the user does not receive the feedback signal returned by the smart lock, it will be recorded as an abnormality in the online remote control unlocking of the smart lock and the user will be reminded.

5. The smart lock message reminder method according to claim 1, characterized in that: The indicators of the smart lock network are as follows: The smart lock network indicators include the bandwidth of the network for communication between the smart lock and the smart lock server, the network delay, the network packet loss rate and the network jitter; Measuring the bandwidth of the network, using network monitoring software to regularly check the usage of network bandwidth; The network delay is obtained by sending an ICMP request from the smart lock server to the smart lock device, measuring the round trip time; The packet loss rate of the network, the smart lock server sends a large number of data packets to the smart lock through the ping tool, and the number of data packets sent is recorded as , record the number of response packets actually received by the smart lock , using the formula , calculate the packet loss rate of the network ; The network jitter is measured by using a ping tool to perform continuous ping tests, record the round-trip time of each data packet, and calculate the standard deviation of the round-trip time to obtain the network jitter.

6. A smart lock message reminder method according to claim 5, characterized in that: The specific analysis method for analyzing whether the smart lock network connection quality meets the standard is as follows: Based on the measured network bandwidth value, using the formula , convert the actual value of network bandwidth into the standardized value of network bandwidth, where Indicates the normalized value of network bandwidth, Indicates the actual measured network bandwidth value. Indicates the theoretical maximum value of network bandwidth. Indicates the theoretical minimum value of network bandwidth; Based on the measured network delay value, using the formula , convert the actual value of network delay into the standardized value of network delay, where Represents the normalized value of network delay, Indicates the actual measured network delay value. Indicates the theoretical maximum value of network delay. Indicates the theoretical minimum value of network delay; Similarly, according to the calculation method of the standardized value of network delay, the standardized value of network packet loss rate can be obtained and the network jitter normalized value ; Test the relevant performance of smart locks under different network conditions, analyze the impact of various network indicators on the success rate of smart lock unlocking under different network conditions, determine the weight of each network indicator, and record the network bandwidth weight as , the network delay weight is recorded as , the network packet loss rate weight is recorded as , the network jitter weight is recorded as ; Based on the standardized values ​​and weights of various network indicators, according to the network connection quality index formula , the smart lock network connection quality index is calculated, where Indicates the smart lock network connection quality index; Based on the calculated smart lock network connection quality index, determine whether the smart lock network connection quality meets the standard. If the smart lock network connection quality does not meet the standard, remind the user to check whether the local network is normal.

7. A smart lock message reminder method according to claim 6, characterized in that: The specific method for determining the weight of each network indicator is as follows: Set up test environments with different network conditions, including normal network conditions, low bandwidth conditions, high latency conditions, high jitter conditions, and packet loss conditions. Control the same network indicators to set different test data, obtain multiple sets of test data, and record the unlocking success rate under each test condition. Calculate the Pearson correlation coefficient between each network indicator and the success rate of smart lock unlocking to measure the strength of the linear relationship between each network indicator and the success rate of smart lock unlocking; The Pearson correlation coefficients of various network indicators are converted to absolute values, and the absolute values ​​are used as the basis for weights to obtain the sum of the absolute values ​​of the Pearson correlation coefficients of various network indicators. Then, the proportion of the Pearson correlation coefficients of various network indicators is calculated to determine the weight of each network indicator.

8. A smart lock message reminder method according to claim 6, characterized in that: The specific method of reminding the user to check whether the local network is normal is as follows: If it is detected that the smart lock network connection quality is not up to standard, it will detect whether there are people in the area within the preset distance range of the smart lock; The millimeter-wave radar sensor integrated in the smart lock is used to detect whether there are people within the preset distance range of the smart lock; If a person is detected in the area, the person will be reminded to adjust the smart lock network settings to determine whether it is a local network problem; The reminder method includes reminding the presence of persons in the area through a voice broadcast unit; The adjusting of the smart lock network settings includes reminding people in the area to reconfigure the network for the smart lock; The determination of whether it is a local network problem includes reminding personnel in the area to detect the local router line connection; If it is detected that the local router is working normally, it is determined that the problem is not with the local network. The data packets related to the smart lock are obtained through network packet capture, and the reasons why the smart lock network connection quality does not meet the standards are analyzed.

9. A smart lock message reminder method according to claim 8, characterized in that: The network packet capture obtains data packets related to the smart lock, which are specifically: The network packet capture uses the smart lock IP address and port number as filtering conditions to configure the network packet capture filter; Start the packet capture tool to capture the network traffic generated by the remote control unlocking operation of the smart lock, and obtain the data packets communicated between the smart lock and the smart lock server.

10. A smart lock message reminder method according to claim 8, characterized in that: The specific method for analyzing the reasons why the quality of the smart lock network connection does not meet the standards is as follows: First, check whether the IP address, subnet mask, gateway and port number of the communication between the smart lock and the smart lock server are correct according to the data packets related to the smart lock, and confirm whether the smart lock has successfully established the initial connection with the smart lock server. If not, the reason why the smart lock network connection quality does not meet the standard is the network configuration problem between the smart lock and the smart lock server. Then check the protocol field and data content in the data packet related to the smart lock to determine whether the smart lock communicates according to the expected protocol. If the smart lock does not communicate according to the expected protocol, the reason why the smart lock network connection quality does not meet the standard is the protocol mismatch between the smart lock and the smart lock server. Finally, analyze the status code and response content returned by the server, and identify the reason why the smart lock network connection quality does not meet the standard based on the status code. If the status code returned by the smart lock server is a 4xx series, it means that the smart lock client has an error. If the status code returned by the smart lock server is a 5xx series, it means that the smart lock server has an error. The analyzed reasons for the substandard smart lock network connection quality are sent to the user and the smart lock manufacturer's technical team.

Citation Information

Cited By

  • Data file transmission method and device

    CN120856693A