An intelligent lock control system with electromagnetic interference warning function
In the low electromagnetic interference state, the priority retention coefficient is calculated based on the usage data in the fingerprint library, and the number of fingerprints that can be supported is determined based on the electromagnetic interference index. The problem of inconvenience and security of the user unlocking experience when the electromagnetic interference is weak is solved, and the intelligent fingerprint retention and unlocking function is realized, ensuring user experience and security.
Patent Information
- Application Number
- CN202411876903.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-19
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2044-12-19
AI Technical Summary
When electromagnetic interference occurs around the smart lock but the electromagnetic interference capability is weak, directly turning off the smart fingerprint unlocking function of the smart lock will cause inconvenience to unlock the lock experience for users, and retaining all fingerprints may endanger the security of the smart lock.
An intelligent lock control system is proposed to obtain the electromagnetic interference signal around the intelligent lock through the electromagnetic interference module, calculate the electromagnetic interference index, and divide the high interference and low interference states according to the index. When in a low interference state, the system retrieves the usage data in the fingerprint library, calculates the priority retention coefficient of each fingerprint, and querys the fingerprint retention quantity table based on the electromagnetic interference index, determines the number of fingerprints that can be supported, sorts and retains some fingerprints to match the unlocking needs of the user.
When electromagnetic interference is weak, the smart lock can intelligently retain the unlocking function of some fingerprints, ensuring the convenience of user unlocking experience, reducing the possibility of additional unlocking trouble, and reducing the danger to the security of smart locks.
Smart Images

Figure CN119360481B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of door lock control, and in particular to an intelligent lock control system with an electromagnetic interference warning function. Background Art
[0002] A smart lock with electromagnetic interference warning function is a smart lock device that can monitor changes in the external electromagnetic environment through built-in electromagnetic induction technology; when the electromagnetic field around the lock body changes abnormally, the smart lock will trigger the warning mechanism and send a warning signal to the user or monitoring system in time; at the same time, it will turn off the functions of the smart lock, such as smart fingerprint unlocking, so that the smart lock returns to the original mechanical switch lock function to ensure that the security of the smart lock is not affected in the case of electromagnetic interference or attack. By switching the smart lock to mechanical mode, external electromagnetic attacks (such as electromagnetic interference, EMP attacks, etc.) are prevented from destroying the electronic functions of the lock.
[0003] However, in actual applications, if electromagnetic interference occurs around the smart lock but the electromagnetic interference capability is weak, directly turning off the smart fingerprint unlocking function of the smart lock may cause inconvenience to the user's unlocking experience, and even face additional unlocking troubles. However, if all fingerprints are retained for unlocking control, it may endanger the security of the smart lock. Summary of the invention
[0004] The purpose of the present invention is to solve the above-mentioned problems and provide a smart lock control system with electromagnetic interference warning function.
[0005] The present invention provides a smart lock control system with an electromagnetic interference warning function, the system comprising:
[0006] Electromagnetic interference module: continuously obtains the electromagnetic interference signal around the smart lock, and obtains the electromagnetic interference index of the smart lock according to the electromagnetic interference signal;
[0007] Comparison and division module: compares the electromagnetic interference index of the smart lock with the preset electromagnetic interference index threshold, and divides the electromagnetic interference state around the smart lock into a high interference state and a low interference state according to the comparison result;
[0008] Priority retention module: when the electromagnetic interference state around the smart lock is a low interference state, the fingerprint library stored in the smart lock is retrieved, and the usage data of each fingerprint in the fingerprint library is obtained to obtain the priority retention coefficient of each fingerprint in the fingerprint library; the usage data includes the unlocking efficiency coefficient, the unlocking interval instability coefficient and the unlocking weight coefficient;
[0009] Control unlocking module: According to the electromagnetic interference index, query the fingerprint retention quantity table corresponding to the preset electromagnetic interference index to determine the number of fingerprints that the smart lock can temporarily support fingerprint unlocking under the current interference state; sort the fingerprints in the fingerprint library from high to low according to the priority retention coefficient, and retain the first several fingerprints after sorting to match the number of fingerprints that can be supported, and send the retained fingerprints to the user end, and the user end controls the unlocking of the smart lock according to the retained fingerprints.
[0010] Optionally, obtaining an electromagnetic interference index around the smart lock according to the electromagnetic interference signal includes:
[0011] Continuously obtain the electromagnetic interference signal around the smart lock within a preset time period at multiple times, and mark the electromagnetic interference signal at each moment as ,in, =1, 2, 3, 4, ..., , is a positive integer, Indicates the time, Indicates the total number of moments;
[0012] use Wavelet analysis of electromagnetic interference signals within a preset time period , perform wavelet transformation, the formula is:
[0013] ;
[0014] In the formula, are the wavelet coefficients, and are scale parameters and translation parameters, which are used to control the scaling and translation of the wavelet function; is the wavelet mother function, which represents the local characteristics of the signal;
[0015] Using wavelet coefficients Calculate the electromagnetic interference index at different times within a preset time period , the calculation formula is: ,in, Represents the energy of wavelet coefficients;
[0016] The electromagnetic interference index at different times within the preset time period Add them together to get the electromagnetic interference index, and the calculation formula is: , where It is the electromagnetic interference index.
[0017] Optionally, comparing the electromagnetic interference index of the smart lock with a preset electromagnetic interference index threshold, and dividing the electromagnetic interference state of the smart lock into a high interference state and a low interference state according to the comparison result includes:
[0018] The electromagnetic interference index of the smart lock is compared with the preset electromagnetic interference index threshold. If the electromagnetic interference index is not less than the preset electromagnetic interference index threshold, the electromagnetic interference state of the smart lock is classified as a high interference state, and at the same time, the smart lock turns off all smart functions;
[0019] If the electromagnetic interference index is less than the preset electromagnetic interference index threshold, the electromagnetic interference state of the smart lock is classified as a low interference state, the smart lock turns off smart functions except fingerprint unlocking, and fingerprint unlocking only provides unlocking function for some fingerprints.
[0020] Optionally, the unlocking efficiency coefficient includes:
[0021] Obtain the total number of unlocking times for each fingerprint in the fingerprint library stored in the smart lock, obtain the initial pre-stored fingerprint feature point area of each fingerprint in the fingerprint library, and obtain the feature point area actually covered by the fingerprint during each unlocking, and divide the actual covered feature point area by the initial pre-stored fingerprint feature point area to obtain the fingerprint integrity, and obtain the time spent on each unlocking to obtain the unlocking efficiency coefficient of the corresponding fingerprint. The calculation formula is:
[0022] ;
[0023] In the formula, is the fingerprint unlocking efficiency coefficient, , They are fingerprint integrity, the time spent on each unlock, is the sequence number of fingerprint unlocking times, and , The total number of fingerprint unlocking times. They are , The preset scaling factor of Both are greater than 0.
[0024] Optionally, the unlocking interval instability coefficient includes:
[0025] Obtain the actual timestamp of each fingerprint unlocking each time to obtain an actual unlocking timestamp sequence; and calculate the absolute difference between all adjacent timestamps in the actual unlocking timestamp sequence to obtain an actual unlocking time interval sequence;
[0026] Calculate the average unlocking time interval in the actual unlocking time interval sequence. The calculation formula is: , where is the mean unlocking time interval in the actual unlocking time interval sequence, Indicates the actual unlocking time interval sequence. Unlock time interval, Indicates the total number of unlocking time intervals in the actual unlocking time interval sequence;
[0027] Calculate the unlocking interval instability coefficient of the fingerprint. The calculation formula is:
[0028] ;
[0029] In the formula, It is the unlocking interval instability coefficient of fingerprint.
[0030] Optionally, the unlocking weight coefficient includes:
[0031] Get the current time of the smart lock, and extract from the historical records the total number of times each fingerprint in the database has participated in unlocking and the total number of times all fingerprints have participated in unlocking within a preset time period before and after the current time, and divide the total number of times each fingerprint has participated in unlocking by the total number of times all fingerprints have participated in unlocking to obtain the current time unlocking ratio of each fingerprint;
[0032] Obtain the total number of times each fingerprint in the fingerprint database participates in unlocking and the total number of successful unlockings, and divide the total number of successful unlockings by the total number of times participating in unlocking to obtain the fingerprint unlocking success rate;
[0033] Get the unlocking frequency of each fingerprint in the fingerprint database, and combine the current time unlocking ratio and fingerprint unlocking success rate to get the unlocking weight coefficient. The calculation formula is: , where is the unlocking weight coefficient, , , They are the current time unlocking ratio, fingerprint unlocking success rate and unlocking frequency. , , They are , , The preset scaling factor of , , Both are greater than 0.
[0034] Optionally, acquiring usage data of each fingerprint in the fingerprint library to obtain a priority retention coefficient of each fingerprint in the fingerprint library includes:
[0035] The priority retention coefficient of each fingerprint in the fingerprint database is obtained according to the unlocking efficiency coefficient, unlocking interval instability coefficient and unlocking weight coefficient. The calculation formula is:
[0036] ;
[0037] In the formula, To prioritize the retention coefficient, , , They are respectively the unlocking efficiency coefficient, the unlocking interval instability coefficient and the unlocking weight coefficient. They are , , The preset scaling factor of Both are greater than 0.
[0038] Beneficial effects of the present invention:
[0039] The present invention proposes a smart lock control system with an electromagnetic interference warning function. The electromagnetic interference index is calculated by obtaining the electromagnetic interference signal around the smart lock, and compared with the preset threshold value, the electromagnetic interference state is divided into high interference and low interference. When the interference state is low, the usage data in the fingerprint library is retrieved to calculate the priority retention coefficient of each fingerprint, which includes the unlocking efficiency coefficient, the unlocking interval instability coefficient and the unlocking weight coefficient; according to the electromagnetic interference index, the fingerprint retention quantity table is queried to determine the number of fingerprints that can be supported under the current interference state. The fingerprint library is sorted according to the priority retention coefficient, and the first several fingerprints are retained to match the supported quantity, and these fingerprints are sent to the user end. The user end controls the unlocking of the smart lock according to the retained fingerprints. In this way, when electromagnetic interference occurs around the smart lock but the electromagnetic interference capability is weak, the fingerprint unlocking function can be intelligently retained for some fingerprints according to the actual situation, and other intelligent functions of the smart lock can be turned off, ensuring the convenience of the user's unlocking experience, reducing the possibility of facing additional unlocking troubles, and at the same time reducing the threat to the security of the smart lock. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The present invention will be further described below in conjunction with the accompanying drawings.
[0041] Figure 1 The framework diagram of a smart lock control system with electromagnetic interference warning function. DETAILED DESCRIPTION
[0042] 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.
[0043] Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making any creative work shall fall within the scope of protection of the present invention.
[0044] The embodiment of the present invention provides a smart lock control system with an electromagnetic interference warning function. Figure 1, Figure 1 A framework diagram of a smart lock control system with an electromagnetic interference warning function provided by an embodiment of the present invention, the system includes:
[0045] Electromagnetic interference module: continuously obtains the electromagnetic interference signal around the smart lock, and obtains the electromagnetic interference index of the smart lock based on the electromagnetic interference signal;
[0046] Comparison and division module: compares the electromagnetic interference index of the smart lock with the preset electromagnetic interference index threshold, and divides the electromagnetic interference state around the smart lock into a high interference state and a low interference state according to the comparison result;
[0047] Priority retention module: When the electromagnetic interference state around the smart lock is low interference state, the fingerprint library stored in the smart lock is retrieved, and the usage data of each fingerprint in the fingerprint library is obtained to obtain the priority retention coefficient of each fingerprint in the fingerprint library; the usage data includes the unlocking efficiency coefficient, the unlocking interval instability coefficient and the unlocking weight coefficient;
[0048] Control unlocking module: According to the electromagnetic interference index, query the fingerprint retention quantity table corresponding to the preset electromagnetic interference index to determine the number of fingerprints that the smart lock can temporarily support fingerprint unlocking under the current interference state; sort the fingerprints in the fingerprint library from high to low according to the priority retention coefficient, and retain the first several fingerprints after sorting to match the number of fingerprints that can be supported, and send the retained fingerprints to the user end, and the user end controls the unlocking of the smart lock according to the retained fingerprints.
[0049] Based on a smart lock control system with an electromagnetic interference warning function provided by an embodiment of the present invention, through the above method, when electromagnetic interference occurs around the smart lock but the electromagnetic interference capability is weak, the fingerprint unlocking function can be intelligently retained for some fingerprints according to the actual situation, and other intelligent functions of the smart lock can be turned off, thereby ensuring the convenience of the user's unlocking experience, reducing the possibility of facing additional unlocking troubles, and at the same time reducing the threat to the security of the smart lock.
[0050] In one embodiment, obtaining an electromagnetic interference index around the smart lock according to the electromagnetic interference signal includes:
[0051] Continuously obtain the electromagnetic interference signal around the smart lock within a preset time period at multiple times, and mark the electromagnetic interference signal at each moment as ,in, =1, 2, 3, 4, ..., , is a positive integer, Indicates the time, Indicates the total number of moments;
[0052] use Wavelet analysis of electromagnetic interference signals within a preset time period , perform wavelet transformation, the formula is:
[0053] ;
[0054] In the formula, are the wavelet coefficients, and are scale parameters and translation parameters, which are used to control the scaling and translation of the wavelet function; is the wavelet mother function, which represents the local characteristics of the signal;
[0055] Using wavelet coefficients Calculate the electromagnetic interference index at different times within a preset time period , the calculation formula is: ,in, Represents the energy of wavelet coefficients;
[0056] The electromagnetic interference index at different times within the preset time period Add them together to get the electromagnetic interference index, and the calculation formula is: , where It is the electromagnetic interference index.
[0057] It should be noted that the preset time period is set by professionals according to the actual situation. In an environment where short-term interference occurs frequently, the preset time period can be set to a shorter time (such as a few seconds or tens of seconds) to respond to and identify sudden interference in a timely manner; in an environment where the interference is relatively stable, the preset time period can be appropriately extended (such as a few minutes or longer) to provide a more comprehensive interference intensity assessment; this flexible time period setting can ensure that the smart lock system adapts to different electromagnetic environments and improves the accuracy of monitoring and early warning. The specific length of the preset time period depends on the actual situation and is not limited or elaborated; in addition, the electromagnetic interference signal around the smart lock within the preset time period can usually be obtained through the built-in electromagnetic induction sensor of the smart lock with electromagnetic interference warning function, or it can be obtained by other acquisition methods, which depends on the actual situation and is not limited or elaborated;
[0058] In one implementation method, the advantage of performing wavelet transform processing on the electromagnetic interference signal around the smart lock and calculating the total electromagnetic interference index in the above method is that the wavelet transform can effectively extract the multi-scale features in the electromagnetic interference signal and capture the signal changes in different frequency ranges; this not only can more accurately analyze the time domain and frequency domain characteristics of electromagnetic interference, but also can remove the influence of noise and enhance the sensitivity to actual interference; in addition, by accumulating the electromagnetic interference index at each moment, an overall interference intensity assessment can be obtained, which provides a more accurate basis for the adaptive adjustment of the smart lock in different electromagnetic environments, thereby improving the stability and safety of the smart lock in the electromagnetic interference environment.
[0059] In one embodiment, the electromagnetic interference index of the smart lock is compared with a preset electromagnetic interference index threshold, and the electromagnetic interference state of the smart lock is divided into a high interference state and a low interference state according to the comparison result, including:
[0060] The electromagnetic interference index of the smart lock is compared with the preset electromagnetic interference index threshold. If the electromagnetic interference index is not less than the preset electromagnetic interference index threshold, the electromagnetic interference state of the smart lock is classified as a high interference state, and at the same time, the smart lock turns off all smart functions;
[0061] If the electromagnetic interference index is less than the preset electromagnetic interference index threshold, the electromagnetic interference state of the smart lock is classified as a low interference state, the smart lock turns off smart functions except fingerprint unlocking, and fingerprint unlocking only provides unlocking function for some fingerprints.
[0062] It should be noted that the preset electromagnetic interference index threshold is set by professionals according to actual conditions and is not limited or elaborated on;
[0063] In one implementation method, if the electromagnetic interference index is not less than a preset electromagnetic interference index threshold, the smart lock is judged to be in a high interference state; in this state, the smart lock will turn off all smart functions and revert to the mechanical operation mode to ensure that the security of the smart lock is not threatened under strong electromagnetic interference conditions; if the electromagnetic interference index is less than the preset threshold, the smart lock is classified as a low interference state. In the low interference state, the smart lock will turn off other smart functions except fingerprint unlocking, and at the same time restrict the fingerprint unlocking function, allowing only some priority fingerprints to unlock, so as to ensure the reliability and security of the smart lock without significantly affecting the user experience.
[0064] It should be noted that the reason why the smart lock does not directly turn off the smart fingerprint unlocking function of the smart lock in the low electromagnetic interference state is that when the smart lock detects electromagnetic interference, completely turning off all unlocking functions may cause over-protection of the device, resulting in excessive burden on the system or unnecessary risks. By intelligently identifying fingerprint permissions and switching to the backup unlocking method only when needed, the burden on the lock can be effectively reduced and its service life can be extended. In general, smart locks have certain anti-electromagnetic interference functions. Retaining the unlocking function of some fingerprints in the low electromagnetic interference state will cause very little or no damage to the smart lock itself. This approach can also ensure user convenience while avoiding system overload or function interruption caused by over-protection. This method makes full use of the anti-interference ability of the smart lock itself, while ensuring safety and stability, effectively reducing the potential risks of the device under over-protection and extending the service life.
[0065] In one embodiment, the unlocking efficiency coefficient includes:
[0066] Obtain the total number of unlocking times for each fingerprint in the fingerprint library stored in the smart lock, obtain the initial pre-stored fingerprint feature point area of each fingerprint in the fingerprint library, and obtain the feature point area actually covered by the fingerprint during each unlocking, and divide the actual covered feature point area by the initial pre-stored fingerprint feature point area to obtain the fingerprint integrity, and obtain the time spent on each unlocking to obtain the unlocking efficiency coefficient of the corresponding fingerprint. The calculation formula is:
[0067] ;
[0068] In the formula, is the fingerprint unlocking efficiency coefficient, , They are fingerprint integrity, the time spent on each unlock, is the sequence number of fingerprint unlocking times, and , The total number of fingerprint unlocking times. They are , The preset scaling factor of Both are greater than 0.
[0069] It should be noted that It is set by professionals according to the actual situation. Generally, The sum of is 1, for example They can be 0.5, 0.5, or other numbers, without limitation;
[0070] It should be noted that the data involved in the above calculations are obtained in the following way: the smart lock records each fingerprint unlocking request through the internal fingerprint recognition module, including the time of each unlocking, the time spent on unlocking, and the fingerprint image recognized each time; the fingerprint recognition module captures the fingerprint image and extracts the feature points through image processing technology to obtain the actual covered feature point area; the integrity of the fingerprint is calculated by comparing it with the feature point area of the pre-stored fingerprint; in addition, the number of fingerprint unlockings and their sequence numbers are automatically recorded by the system, which is obtained by tracking the frequency and sequence of use of each fingerprint in the unlocking process; the fingerprint recognition module also monitors and records the time consumed by each fingerprint unlocking in real time, and stores these data together with the fingerprint feature point area and other parameters in the database;
[0071] It should be noted that feature points refer to key points in the fingerprint image that can be used to uniquely identify an individual, such as the starting point, end point, and bifurcation point of the ridge line. These feature points can reflect the unique structure and details of the fingerprint. The feature point area of the pre-stored fingerprint refers to the total area of key feature points extracted by analyzing the fingerprint image through the fingerprint acquisition device when the fingerprint image is first entered; the actual covered feature point area refers to the overlap area of the feature point area actually matched and identified in the fingerprint image captured by the fingerprint recognition module inside the smart lock each time it is unlocked.
[0072] It should be noted that, when the unlocking efficiency coefficient of the fingerprint is larger, the corresponding fingerprint will be retained for recognition priority when the smart lock with electromagnetic interference warning function provides unlocking function for some fingerprints in a low electromagnetic interference state. Because when the unlocking efficiency coefficient of the fingerprint is larger, it means that the unlocking process of the fingerprint is smoother and more efficient, and its image quality, integrity and speed in the unlocking process are better; since these fingerprints have shown higher recognition accuracy and faster response speed in past use, therefore, in a low electromagnetic interference state, when the smart lock can only provide partial fingerprint unlocking function, these high-performance fingerprints are retained for recognition first, which can maximize the reliability and efficiency of unlocking; at the same time, the priority of retaining high-performance fingerprints helps to reduce the potential risk of recognition failure due to electromagnetic interference, and ensures that the smart lock can still complete the unlocking operation within a reasonable time when subjected to slight electromagnetic interference, thereby improving the user experience and reducing the potential safety hazards caused by unlocking failure.
[0073] In one embodiment, the unlocking interval instability coefficient includes:
[0074] Obtain the actual timestamp of each fingerprint unlocking each time to obtain an actual unlocking timestamp sequence; and calculate the absolute difference between all adjacent timestamps in the actual unlocking timestamp sequence to obtain an actual unlocking time interval sequence;
[0075] Calculate the average unlocking time interval in the actual unlocking time interval sequence. The calculation formula is: , where is the mean unlocking time interval in the actual unlocking time interval sequence, Indicates the actual unlocking time interval sequence. Unlock time interval, Indicates the total number of unlocking time intervals in the actual unlocking time interval sequence;
[0076] Calculate the unlocking interval instability coefficient of the fingerprint. The calculation formula is:
[0077] ;
[0078] In the formula, It is the unlocking interval instability coefficient of fingerprint.
[0079] It should be noted that the actual timestamp of each fingerprint unlocking is obtained through the system time recorded by the smart lock each time it is unlocked. Each time the fingerprint unlocking is successful, the smart lock will accurately record the unlocking timestamp through the built-in clock system.
[0080] It should be noted that when the unlocking interval coefficient of the fingerprint is larger, the smart lock with electromagnetic interference warning function provides unlocking function for some fingerprints in the low electromagnetic interference state, the higher the priority of the corresponding fingerprint to be retained for identification, because when the unlocking interval instability coefficient of the fingerprint is larger, it means that the unlocking time interval of the fingerprint fluctuates greatly, that is, the unlocking process may be affected by instability. In the low electromagnetic interference state, the smart lock needs to give priority to those fingerprints with more stable and efficient unlocking processes to ensure the speed and accuracy of unlocking. If the unlocking interval instability coefficient of the fingerprint is large, it means that the fingerprint has a high time fluctuation in the unlocking process, which may cause delays or inconsistencies in the unlocking process, thereby affecting the normal use of the smart lock. Therefore, the smart lock will set fingerprints with higher unlocking interval instability coefficients to a lower priority, and give priority to those fingerprints with stable unlocking time intervals and higher unlocking efficiency to ensure the best performance of the smart lock in a low electromagnetic interference environment. This method can effectively optimize the unlocking efficiency of the smart lock and reduce the risk of unlocking failure that may occur in a high interference environment.
[0081] In one embodiment, the unlocking weight coefficient includes:
[0082] Get the current time of the smart lock, and extract from the historical records the total number of times each fingerprint in the database has participated in unlocking and the total number of times all fingerprints have participated in unlocking within a preset time period before and after the current time, and divide the total number of times each fingerprint has participated in unlocking by the total number of times all fingerprints have participated in unlocking to obtain the current time unlocking ratio of each fingerprint;
[0083] Obtain the total number of times each fingerprint in the fingerprint database participates in unlocking and the total number of successful unlockings, and divide the total number of successful unlockings by the total number of times participating in unlocking to obtain the fingerprint unlocking success rate;
[0084] Get the unlocking frequency of each fingerprint in the fingerprint database, and combine the current time unlocking ratio and fingerprint unlocking success rate to get the unlocking weight coefficient. The calculation formula is: , where is the unlocking weight coefficient, , , They are the current time unlocking ratio, fingerprint unlocking success rate and unlocking frequency. , , They are , , The preset scaling factor of , , Both are greater than 0.
[0085] It should be noted that , , It is set by professionals according to the actual situation. Generally, , , The sum of is 1, for example , , They can be 0.3, 0.3, 0.4, or other numbers, without limitation;
[0086] It should be noted that the smart lock determines the current time, and based on the current time and the preset time period before and after the current time, the unlocking history record of each fingerprint in the fingerprint database is queried from the stored unlocking database, and the number of unlocking times of each fingerprint in the historical record within this time period of each day is counted; the total number of times each fingerprint participates in unlocking and the total number of successful unlocking can be directly provided for query in the stored unlocking database; the fingerprint unlocking frequency is obtained by querying the total number of times each fingerprint participates in unlocking in the unlocking database stored in the smart lock, and fingerprints that frequently participate in unlocking will have a higher unlocking frequency.
[0087] It should be noted that when the current unlocking ratio of fingerprints is larger, the success rate of fingerprint unlocking is larger, and the unlocking frequency is larger, that is, the fingerprint unlocking weight coefficient is larger, then the smart lock with electromagnetic interference warning function provides unlocking function for some fingerprints in the low electromagnetic interference state, the corresponding fingerprints are retained and recognized with higher priority, because these fingerprints have shown high activity and stability in the past unlocking process, which means that they are more reliable and effective in practical applications. When the smart lock is in an electromagnetic interference environment, it will give priority to identifying these high-weighted fingerprints to ensure the efficiency and security of the unlocking process. This move can not only improve the success rate of unlocking, but also reduce the recognition failure or delay caused by electromagnetic interference, while also reducing the system burden and ensuring that the smart lock can still respond quickly to the request of valid users under restricted conditions. Therefore, through this priority sorting, the smart lock can better adapt to the unlocking needs in a low electromagnetic interference environment and improve the user experience.
[0088] In one embodiment, obtaining usage data of each fingerprint in the fingerprint library to obtain a priority retention coefficient of each fingerprint in the fingerprint library includes:
[0089] The priority retention coefficient of each fingerprint in the fingerprint database is obtained according to the unlocking efficiency coefficient, unlocking interval instability coefficient and unlocking weight coefficient. The calculation formula is:
[0090] ;
[0091] In the formula, To prioritize the retention coefficient, , , They are respectively the unlocking efficiency coefficient, the unlocking interval instability coefficient and the unlocking weight coefficient. They are , , The preset scaling factor of Both are greater than 0.
[0092] It should be noted that It is set by professionals according to the actual situation. Generally, The sum of is 1, for example They can be 0.4, 0.4, 0.1, or other numbers, without limitation.
[0093] It should be noted that the unlocking efficiency coefficient, unlocking interval instability coefficient and unlocking weight coefficient are selected to calculate the priority retention coefficient of each fingerprint in the fingerprint library because these factors can comprehensively reflect the reliability, stability and effectiveness of fingerprint unlocking; the unlocking efficiency coefficient can measure the speed and accuracy of fingerprint unlocking, and the combination of fingerprint integrity and actual unlocking time provides real-time performance of fingerprint recognition; the unlocking interval instability coefficient reflects the stability of the fingerprint in different unlocking time periods, and can identify the irregularity of the unlocking interval to avoid security risks caused by abnormally frequent or excessively long intervals; the unlocking weight coefficient combines the unlocking proportion, unlocking success rate and unlocking frequency of the fingerprint to ensure that fingerprints that are frequently used and have a high success rate are given higher priority; by combining these parameters, the use value and security of fingerprints can be more accurately evaluated, so that in electromagnetic interference or other environments, the smart lock can dynamically adjust the number of fingerprints to be retained first to improve security and user experience. This method avoids the emphasis on a single factor and ensures the efficient operation of the fingerprint library and the flexibility of the smart lock.
[0094] In one embodiment, according to the electromagnetic interference index, a preset fingerprint retention quantity table corresponding to the electromagnetic interference index is queried to determine the number of fingerprints that the smart lock can temporarily support fingerprint unlocking under the current interference state;
[0095] The fingerprints in the fingerprint library are sorted from high to low according to the priority retention coefficient, and the first several fingerprints after sorting are retained to match the number of supported fingerprints, and the retained fingerprints are sent to the user end, and the user end controls the unlocking of the smart lock according to the retained fingerprints.
[0096] It should be noted that the preset fingerprint retention quantity table corresponding to the electromagnetic interference index is set by professionals according to actual conditions, and no specific limitation or elaboration is made.
[0097] It should be noted that the reason why the fingerprint retention table corresponding to the preset electromagnetic interference index is queried according to the electromagnetic interference index to determine the number of fingerprints that the smart lock can temporarily support fingerprint unlocking under the current interference state, rather than directly turning on the unlocking function of all fingerprints, is that if the unlocking function of all fingerprints is directly turned on, although it can maintain a high convenience under weak electromagnetic interference, this practice may bring security risks; turning on all fingerprint unlocking will make the system still open to all fingerprints in an electromagnetic interference environment, increasing the risk of attackers unlocking by simulating or forging fingerprint signals. In particular, electromagnetic interference may cause misidentification or failure of the fingerprint recognition system. If the system does not have sufficient intelligent judgment, it is easy for criminals to bypass the security mechanism. Choosing to turn on only some specific fingerprint unlocking functions can improve the security of the smart lock on the basis of ensuring convenience, because even in the case of electromagnetic interference, only authorized fingerprints can trigger unlocking, preventing external attackers from controlling the lock through weak electromagnetic interference; therefore, limiting the number of fingerprints for unlocking can better balance security and user experience.
[0098] It should be noted that sorting the fingerprints in the fingerprint library from high to low according to the priority retention coefficient, and retaining the first several fingerprints after sorting to match the number of fingerprints that can be supported under the current electromagnetic interference conditions can maximize the user experience while ensuring the security of the smart lock. In addition, sending the retained fingerprint information to the user end in real time and controlling the unlocking of the smart lock can ensure that only authorized fingerprints can be operated, preventing the security risks that may be brought by unauthorized users in electromagnetic interference. The advantage of doing this is that it can effectively reduce the potential risks brought by electromagnetic interference, and also avoid affecting the normal use of users due to excessive interference, ensuring the efficient, flexible and safe operation of the system.
[0099] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. A smart lock control system with electromagnetic interference warning function, characterized in that: The system comprises: Electromagnetic interference module: continuously obtains the electromagnetic interference signal around the smart lock, and obtains the electromagnetic interference index of the smart lock based on the electromagnetic interference signal; Comparison and division module: compares the electromagnetic interference index of the smart lock with the preset electromagnetic interference index threshold, and divides the electromagnetic interference state around the smart lock into a high interference state and a low interference state according to the comparison result; Priority retention module: when the electromagnetic interference state around the smart lock is a low interference state, the fingerprint library stored in the smart lock is retrieved, and the usage data of each fingerprint in the fingerprint library is obtained to obtain the priority retention coefficient of each fingerprint in the fingerprint library; the usage data includes the unlocking efficiency coefficient, the unlocking interval instability coefficient and the unlocking weight coefficient; Control unlocking module: According to the electromagnetic interference index, query the fingerprint retention quantity table corresponding to the preset electromagnetic interference index to determine the number of fingerprints that the smart lock can temporarily support fingerprint unlocking under the current interference state; sort the fingerprints in the fingerprint library from high to low according to the priority retention coefficient, and retain the first several fingerprints after sorting to match the number of fingerprints that can be supported, and send the retained fingerprints to the user end, and the user end controls the unlocking of the smart lock according to the retained fingerprints.
2. According to claim 1, a smart lock control system with electromagnetic interference warning function is characterized in that: The electromagnetic interference index around the smart lock obtained according to the electromagnetic interference signal includes: Continuously obtain the electromagnetic interference signal around the smart lock within a preset time period at multiple times, and mark the electromagnetic interference signal at each moment as ,in, =1, 2, 3, 4, ..., , is a positive integer, Indicates the time, Indicates the total number of moments; use Wavelet analysis of electromagnetic interference signals within a preset time period , perform wavelet transformation, the formula is: ; In the formula, are the wavelet coefficients, and is the scale parameter and translation parameter, which is used to control the scaling and translation of the wavelet function. is the wavelet mother function, which represents the local characteristics of the signal; Using wavelet coefficients Calculate the electromagnetic interference index at different times within a preset time period , the calculation formula is: ,in, Represents the energy of wavelet coefficients; The electromagnetic interference index at different times within the preset time period Add them together to get the electromagnetic interference index, and the calculation formula is: , where It is the electromagnetic interference index.
3. The smart lock control system with electromagnetic interference warning function according to claim 1, characterized in that: The electromagnetic interference index of the smart lock is compared with the preset electromagnetic interference index threshold, and the electromagnetic interference state of the smart lock is divided into a high interference state and a low interference state according to the comparison result, including: The electromagnetic interference index of the smart lock is compared with the preset electromagnetic interference index threshold. If the electromagnetic interference index is not less than the preset electromagnetic interference index threshold, the electromagnetic interference state of the smart lock is classified as a high interference state, and at the same time, the smart lock turns off all smart functions; If the electromagnetic interference index is less than the preset electromagnetic interference index threshold, the electromagnetic interference state of the smart lock is classified as a low interference state, the smart lock turns off smart functions except fingerprint unlocking, and fingerprint unlocking only provides unlocking function for some fingerprints.
4. The smart lock control system with electromagnetic interference warning function according to claim 1, characterized in that: The unlocking efficiency coefficient includes: Obtain the total number of unlocking times for each fingerprint in the fingerprint library stored in the smart lock, obtain the initial pre-stored fingerprint feature point area of each fingerprint in the fingerprint library, and obtain the feature point area actually covered by the fingerprint during each unlocking, and divide the actual covered feature point area by the initial pre-stored fingerprint feature point area to obtain the fingerprint integrity, and obtain the time spent on each unlocking to obtain the unlocking efficiency coefficient of the corresponding fingerprint. The calculation formula is: ; In the formula, is the fingerprint unlocking efficiency coefficient, , They are fingerprint integrity, the time spent on each unlock, is the sequence number of fingerprint unlocking times, and , The total number of fingerprint unlocking times. They are , The preset scaling factor of Both are greater than 0.
5. The smart lock control system with electromagnetic interference warning function according to claim 1, characterized in that: The unlocking interval instability coefficient includes: Obtain the actual timestamp of each fingerprint unlocking each time to obtain an actual unlocking timestamp sequence; and calculate the absolute difference between all adjacent timestamps in the actual unlocking timestamp sequence to obtain an actual unlocking time interval sequence; Calculate the average unlocking time interval in the actual unlocking time interval sequence. The calculation formula is: , where is the mean unlocking time interval in the actual unlocking time interval sequence, Indicates the actual unlocking time interval sequence. Unlock time interval, Indicates the total number of unlocking time intervals in the actual unlocking time interval sequence; Calculate the unlocking interval instability coefficient of the fingerprint. The calculation formula is: ; In the formula, It is the unlocking interval instability coefficient of fingerprint.
6. The smart lock control system with electromagnetic interference warning function according to claim 1, characterized in that: The unlocking weight coefficient includes: Get the current time of the smart lock, and extract from the historical records the total number of times each fingerprint in the database has participated in unlocking and the total number of times all fingerprints have participated in unlocking within a preset time period before and after the current time, and divide the total number of times each fingerprint has participated in unlocking by the total number of times all fingerprints have participated in unlocking to obtain the current time unlocking ratio of each fingerprint; Obtain the total number of times each fingerprint in the fingerprint database participates in unlocking and the total number of successful unlockings, and divide the total number of successful unlockings by the total number of times participating in unlocking to obtain the fingerprint unlocking success rate; Get the unlocking frequency of each fingerprint in the fingerprint database, and combine the current time unlocking ratio and fingerprint unlocking success rate to get the unlocking weight coefficient. The calculation formula is: , where is the unlocking weight coefficient, , , They are the current time unlocking ratio, fingerprint unlocking success rate and unlocking frequency. , , They are , , The preset scaling factor of , , Both are greater than 0.
7. The smart lock control system with electromagnetic interference warning function according to claim 1, characterized in that: Obtaining the usage data of each fingerprint in the fingerprint library to obtain the priority retention coefficient of each fingerprint in the fingerprint library includes: The priority retention coefficient of each fingerprint in the fingerprint database is obtained according to the unlocking efficiency coefficient, the unlocking interval instability coefficient and the unlocking weight coefficient. The calculation formula is: ; In the formula, To prioritize the retention coefficient, , , They are respectively the unlocking efficiency coefficient, the unlocking interval instability coefficient and the unlocking weight coefficient. They are , , The preset scaling factor of Both are greater than 0.
Citation Information
Patent Citations
Working method of touch control apparatus, and terminal
CN112119390A
Electromagnetic interference shielding device for a portable aircraft engine tester
US4884171A