A smart door lock monitoring method and system based on machine vision

Through the anomaly detection and face recognition module of the smart door lock monitoring system, combined with the verification of access information and environmental information, abnormal conditions are detected and face recognition comparison is performed, which solves the problem of the lack of a unified model in the smart door lock system and improves security. and user experience.

CN117994889BActive Publication Date: 2024-08-30HU NAN LANG HE KE JI YOU XIAN GONG SI
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410195138.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-21
Publication Date
2024-08-30
Estimated Expiration
2044-02-21

AI Technical Summary

Technical Problem

The existing smart door lock system lacks a unified face recognition reference model and anomaly detection model, resulting in the existence of abnormal risks in the monitoring and operation of smart door locks and the lack of effective comparison basis for automatic release.

Method used

By obtaining the verification access information and environmental information during the smart door lock monitoring process, calculate the privacy encryption value, environmental compliance value and environmental actual value, build a smart door lock monitoring anomaly detection model, detect abnormal situations, and combine the face image adjustment information and Recognize information, perform facial recognition comparison, and determine whether visitors can pass.

Benefits of technology

It improves the security and user experience of the smart door lock system, enables timely detection and prevention of abnormal situations, and ensures the accuracy and security of access control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117994889B
    Figure CN117994889B
Patent Text Reader

Abstract

The present invention discloses a machine vision-based intelligent door lock monitoring method and system, and relates to the field of machine vision technology. The machine vision-based intelligent door lock monitoring method and system obtains intelligent door lock monitoring process information, including: verifying access information and environmental information, obtaining privacy encryption value, environmental compliance value, and environmental actual value by verifying access information and environmental information analysis, and then obtaining an abnormal detection value of intelligent door lock monitoring, and detecting whether there is an abnormal condition in the use and operation process of intelligent door lock monitoring; when it is detected that there is no abnormal condition in the use and operation process of intelligent door lock monitoring, the intelligent door lock monitoring process information is obtained, including face image adjustment information and face image recognition information, and the face recognition compliance value is obtained based on the obtained intelligent door lock monitoring process information, which is used to identify and compare the face image and determine whether the visitor can pass.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of machine vision, and in particular to a method and system for monitoring an intelligent door lock based on machine vision. Background Art

[0002] With the continuous development of Internet of Things technology and the rise of smart homes, people's demand for intelligent and convenient lifestyles is gradually increasing. As a part of smart homes, smart door locks require more advanced technologies to improve security and user experience. Traditional door lock systems have some drawbacks, including being vulnerable to prying and password cracking. Smart door lock systems based on machine vision can improve the security of door lock systems through advanced technical means and meet people's needs for security.

[0003] With the continuous advancement of face recognition technology, its application in the security field is gradually increasing. Applying face recognition technology to smart door lock monitoring systems can achieve a more intelligent and convenient identity authentication method and improve the intelligence level of door lock systems. With the widespread application of anomaly detection technology in the security field, real-time monitoring of abnormal situations during the use and operation of smart door locks has also become one of the focuses of smart door lock research.

[0004] Regarding the research on machine vision in the field of face recognition and matching, there are methods that use the acquired face information to compare and judge with the existing face information in the database. For example, the announcement number: CN107610260B discloses an intelligent attendance system and attendance method based on machine vision, which uses an information collection and processing terminal, an access control system, a remote monitoring terminal and a communication module to match the collected personnel information with the pre-stored personnel information in the information storage module, and transmit the matching results to the access control system and the remote monitoring terminal, thereby realizing intelligent attendance. However, the above-mentioned intelligent attendance system and attendance method based on machine vision lack a unified face recognition reference model, and also lack a detection model for abnormal situations during the operation of the attendance system.

[0005] Therefore, in response to the above problems, there is an urgent need for a smart door lock monitoring method and system based on machine vision. Summary of the invention

[0006] In view of the shortcomings of the prior art, the present invention provides a smart door lock monitoring method and system based on machine vision, which solves the problems of lack of a comprehensive and multi-faceted calculation model for judging the abnormal risks of smart door lock monitoring operation, and lack of a facial recognition comparison method for automatic release of smart door lock monitoring.

[0007] To achieve the above objectives, the present invention is implemented through the following technical solutions: a smart door lock monitoring method based on machine vision, comprising the following steps: based on the acquired smart door lock monitoring process information, analyzing and obtaining the smart door lock monitoring abnormality detection value, which is used to detect whether there is an abnormal condition during the use and operation of the smart door lock monitoring; when it is detected that there is no abnormal condition in the use and operation of the smart door lock monitoring, obtaining a face recognition compliance value based on the acquired smart door lock monitoring process information, which is used to identify and compare face images to determine whether visitors can pass.

[0008] Furthermore, the detection of whether there is an abnormal condition during the use and operation of the smart door lock monitoring is specifically as follows: obtaining the smart door lock monitoring abnormality detection threshold, the smart door lock monitoring abnormality detection threshold is represented by the minimum value of the smart door lock monitoring abnormality detection value that detects the occurrence of an abnormal condition, and is used to detect the smart door lock monitoring abnormality; comparing and analyzing the smart door lock monitoring abnormality detection value with the smart door lock monitoring abnormality detection threshold, when the smart door lock monitoring abnormality detection value exceeds the smart door lock monitoring abnormality detection threshold, it is determined that there is an abnormal condition during the use of the smart door lock monitoring, and the abnormal condition includes: visitor permission abnormality, attack security issues, and environmental abnormality. The alarm mechanism is used to send prompt text messages for risk warning and optimization measures. The optimization measures include: reconfiguring visitor access rights, providing password reset function, strengthening security measures, and adopting waterproof and dustproof facilities.

[0009] Furthermore, the obtaining of the smart door lock monitoring abnormality detection value specifically includes: obtaining the smart door lock monitoring process information, and the smart door lock monitoring process information specifically includes: verifying access information and environmental information; obtaining the privacy encryption value, the environmental compliance value, and the environmental actual value by verifying the access information and analyzing the environmental information respectively; using the privacy encryption value, the environmental compliance value, and the environmental actual value analysis to construct a smart door lock monitoring abnormality detection model to obtain the smart door lock monitoring abnormality detection value.

[0010] Furthermore, the verification access information specifically includes: multiple identity authentication error rate, unauthorized access rate; the environmental information specifically includes: light intensity, temperature, humidity, and screen obstruction area.

[0011] Furthermore, the privacy encryption value is specifically: using multiple identity authentication error rates and unauthorized access rate analysis, combined with the weight factors corresponding to the multiple identity authentication error rates and unauthorized access rates, a weighted summation calculation is performed to obtain the privacy encryption value, and the privacy encryption value is used to numerically display the privacy encryption status of the smart door lock monitoring; the environmental compliance value is specifically: obtaining the environmental information threshold, and the environmental information threshold specifically includes: light intensity threshold, temperature threshold, humidity threshold, and screen occlusion area threshold. The environmental compliance value is expressed as the environmental information critical value of the smart door lock monitoring that can recognize the face image, combined with the light intensity threshold, temperature threshold, humidity threshold, and screen occlusion area threshold analysis and calculation to obtain the environmental compliance value, and the environmental compliance value is used to represent the environmental critical value when the smart door lock monitoring can recognize the face image; the actual environment value is specifically: using the light intensity, temperature, humidity, and screen occlusion area analysis, combined with the light intensity, temperature, humidity, and screen occlusion area The corresponding weight factors are performed to perform weighted summation to obtain the actual environment value, and the actual environment value is used to represent the actual environment situation in the process of smart door lock monitoring recognizing face images.

[0012] Furthermore, the calculation formula of the abnormal detection value of the smart door lock monitoring is:

[0013] Where ζ represents the abnormal detection value of smart door lock monitoring, i represents the training cycle of the smart door lock monitoring abnormal detection model, i = 1, 2, 3, ..., n, n represents the number of training cycles of the smart door lock monitoring abnormal detection model, η1i and η2i represent the first

[0014] The privacy encryption value and the actual environment value of the i-th training, Δη2 is represented as the environment compliance value, and a1 and a2 are respectively represented as the weight factors corresponding to the privacy encryption and the environment anomaly.

[0015] Furthermore, the determination of whether a visitor can pass is specifically as follows: obtaining a face recognition compliance threshold, wherein the face recognition compliance threshold is used to judge whether there is a corresponding image of the face image in the database, and to judge whether the visitor has the right to pass, and is represented as the limit value of the face recognition compliance value; comparing and analyzing the visitor's face recognition compliance value with the face recognition compliance threshold, when the face recognition compliance value exceeds the face recognition compliance threshold, judging that the visitor has access rights and allowing the visitor to pass; when the face recognition compliance value is lower than the face recognition compliance threshold, judging that the visitor does not have access rights, and using an alarm mechanism to prompt the management personnel to perform further identity registration or investigation.

[0016] Furthermore, the obtaining of the face recognition compliance value specifically includes: obtaining the smart door lock monitoring process information, the smart door lock monitoring process information includes face image adjustment information and face image recognition information; the face image adjustment information specifically includes: face frame height, face frame width, image clarity, and using the face image adjustment information to analyze and calculate the face image adjustment coefficient, which is used to provide a reference for face image preprocessing, and using the face image adjustment coefficient to adjust the face image to the corresponding size and position, and then obtain the face image recognition information through the preprocessed face image, the face image recognition information specifically includes: face feature vector; comparing the face feature vector with each face feature vector registered in the database, and combining the face image adjustment coefficient analysis to calculate the face recognition compliance value.

[0017] Furthermore, the face recognition compliance value calculation formula is: Where θ represents the face recognition compliance value, μ1 represents the face feature vector,

[0018] {ι1,ι2,ι3,...,ι m} represents the facial feature vectors of each person registered in the database, m represents the number of people registered in the database, Represents the face image adjustment coefficient.

[0019] A smart door lock monitoring system based on machine vision uses the above-mentioned smart door lock monitoring method based on machine vision, including: an abnormality detection module, which is used to analyze and obtain a smart door lock monitoring abnormality detection value based on the acquired smart door lock monitoring process information, and is used to detect whether there is an abnormal condition in the use and operation process of the smart door lock monitoring; a face recognition module, which is used to obtain a face recognition compliance value based on the acquired smart door lock monitoring process information when it is detected that there is no abnormal condition in the use and operation process of the smart door lock monitoring, and is used to identify and compare face images to determine whether visitors can pass.

[0020] The present invention has the following beneficial effects:

[0021] (1) A method and system for monitoring a smart door lock based on machine vision can obtain a privacy encryption value, an environmental compliance value, and an environmental actual value by verifying access information and environmental information, thereby detecting whether there are abnormal conditions during the operation of the smart door lock monitoring, which helps to improve the security of the door lock system and prevent unauthorized access. By monitoring the abnormal detection value of the smart door lock, the system can promptly detect abnormal conditions during the operation of the smart door lock monitoring. This intelligent abnormal detection helps to prevent potential security threats, such as intrusion, sabotage, etc. When it is detected that there are no abnormal conditions during the operation of the monitoring, the system can obtain facial image adjustment information and facial image recognition information, and obtain facial recognition compliance values ​​based on this information to achieve personalized access control. By comparing facial images, it is determined whether visitors can pass. By using advanced technologies such as facial recognition, it is possible to achieve imperceptible recognition of visitors, improve the user experience, and help promote the widespread application of smart door lock technology in real life.

[0022] (2) This method and system for monitoring smart door locks based on machine vision combines data processing technology to detect abnormal situations during the operation of smart door lock monitoring. It combines multiple abnormal possibilities for abnormal situations. The abnormal detection value of smart door lock monitoring obtained by comprehensive weighted calculation of privacy encryption value, environmental compliance value and environmental actual value can timely discover abnormal situations during the operation of smart door lock monitoring, thereby avoiding further harm to the use of smart door lock monitoring due to abnormal situations, thus ensuring the safety of smart door lock monitoring. For face recognition, on the one hand, it takes into account the standardization of face recognition images, and then considers the differences in feature vectors of different face images. By comprehensively comparing the feature vectors of existing face images in the database, it can effectively identify whether the visitor is registered in the database, further ensuring the user experience and the reliability of smart door lock monitoring.

[0023] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 This is a flow chart of a smart door lock monitoring method based on machine vision of the present invention.

[0025] Figure 2 This is a structural diagram of a smart door lock monitoring system based on machine vision in the present invention. DETAILED DESCRIPTION

[0026] The embodiment of the present application uses a smart door lock monitoring method and system based on machine vision to achieve a computing model that provides a comprehensive and multi-faceted judgment on the existence of abnormal risks in the operation of smart door lock monitoring, and provides a comparison method for the automatic release of smart door lock monitoring through face recognition technology.

[0027] The overall idea for the problem in the embodiments of the present application is as follows: by obtaining the verification access information and environmental information in the process of smart door lock monitoring, the privacy encryption value, the environmental compliance value and the environmental actual value are respectively calculated, and then the privacy encryption value, the environmental compliance value and the environmental actual value are integrated to comprehensively calculate the smart door lock monitoring abnormal detection value, and the abnormal conditions in the use and operation of the smart door lock monitoring are detected. When it is detected that there is no abnormal condition in the use and operation of the smart door lock monitoring, the face image adjustment information and the face image recognition information are obtained, and then the face image adjustment coefficient calculated based on the face image adjustment information is combined with the face image recognition information obtained through the preprocessed face image for analysis to obtain the face recognition compliance value, and the face image is identified and compared to determine whether the visitor can pass.

[0028] See also Figure 1 The embodiment of the present invention provides a technical solution: a smart door lock monitoring method based on machine vision, comprising the following steps: based on the acquired smart door lock monitoring process information, analyzing and obtaining a smart door lock monitoring abnormality detection value, which is used to detect whether there is an abnormal condition in the use and operation process of the smart door lock monitoring; when it is detected that there is no abnormal condition in the use and operation process of the smart door lock monitoring, a face recognition compliance value is obtained based on the acquired smart door lock monitoring process information, which is used to identify and compare face images to determine whether visitors can pass.

[0029] Specifically, detecting whether there is an abnormal condition during the use and operation of the smart door lock monitoring is specifically as follows: obtaining the smart door lock monitoring abnormality detection threshold, the smart door lock monitoring abnormality detection threshold is expressed as the minimum value of the smart door lock monitoring abnormality detection value that detects the occurrence of an abnormal condition, and is used to detect the smart door lock monitoring abnormality; comparing and analyzing the smart door lock monitoring abnormality detection value with the smart door lock monitoring abnormality detection threshold, when the smart door lock monitoring abnormality detection value exceeds the smart door lock monitoring abnormality detection threshold, it is judged that there is an abnormal condition during the use of the smart door lock monitoring, and the abnormal conditions include: abnormal visitor permissions, attack security issues, and environmental abnormalities. The alarm mechanism is used to send prompt text messages for risk warnings and optimization measures. The optimization measures include: reconfiguring visitor access rights, providing password reset functions, strengthening security measures, and adopting waterproof and dustproof facilities.

[0030] In this implementation, by setting the smart door lock monitoring abnormal detection threshold, the use of the smart door lock can be monitored in real time, and a quick response can be made when an abnormal situation is detected, which helps to timely discover potential security issues and improve the real-time and sensitivity of the system. The design takes into account a variety of abnormal situations, including visitor permission abnormalities, attack security issues, and environmental abnormalities, so that the system can more comprehensively judge the problems that may occur during the use of smart door locks, improving the comprehensiveness and adaptability of the system. The system provides intelligent optimization measures to help solve problems and further improve the intelligence of the system and user experience.

[0031] Specifically, obtaining the smart door lock monitoring anomaly detection value specifically includes: obtaining the smart door lock monitoring process information, and the smart door lock monitoring process information specifically includes: verifying access information and environmental information; obtaining the privacy encryption value, the environmental compliance value, and the environmental actual value by verifying the access information and analyzing the environmental information respectively; using the privacy encryption value, the environmental compliance value, and the environmental actual value analysis to build a smart door lock monitoring anomaly detection model to obtain the smart door lock monitoring anomaly detection value.

[0032] In this implementation scheme, by verifying the access information and obtaining the privacy encryption value, it is possible to ensure that the user's privacy is effectively encrypted and protected while ensuring the door lock function, which helps to improve the user's sense of trust and make the smart door lock system more popular; by verifying the environmental information to obtain the environmental compliance value and the environmental actual value, it is possible to better adapt to different environmental conditions, help to improve the stability and reliability of the system, and ensure normal operation in various environments; using the privacy encryption value, the environmental compliance value and the environmental actual value to build a smart door lock monitoring anomaly detection model, the system can detect abnormal situations more accurately, help reduce false alarms and missed alarms, and improve the accuracy and reliability of the system.

[0033] Specifically, the verification access information includes multi-authentication error rate and unauthorized access rate; the environmental information includes light intensity, temperature, humidity, and screen obstruction area.

[0034] In this implementation scheme, the multi-authentication error rate indicates the rate at which the system encounters errors during identity authentication, which is caused by incorrect input identity information, forged identity information, or other identity authentication failures; the unauthorized access rate indicates the rate at which unauthorized access occurs in the system, which means that someone attempts to enter or use the door lock system without permission; the light intensity indicates the light intensity in the monitoring area, and the light level can affect the image quality and recognition accuracy; the temperature indicates the temperature in the monitoring area, and temperature monitoring can help ensure that the smart door lock monitors within an appropriate operating temperature range to prevent hardware damage or performance problems; the humidity indicates the humidity level in the monitoring area; the screen obstruction area indicates the area of ​​the obstructed area in the monitored screen, which is used to detect whether there is an object obstructing the monitoring area.

[0035] Specifically, the privacy encryption value is: using multiple identity authentication error rates and unauthorized access rate analysis, combined with the weight factors corresponding to the multiple identity authentication error rates and unauthorized access rates, a weighted summation calculation is performed to obtain the privacy encryption value. The privacy encryption value is used to numerically display the privacy encryption status of the smart door lock monitoring. The privacy encryption value calculation formula is:

[0036] Where η 1i is represented by the privacy encryption value, i represents the privacy encryption value training cycle, i=1,2,3,...,n, n represents the number of training cycles, γ 1i , γ 2i They are respectively represented as the multi-authentication error rate and unauthorized access rate of the i-th training, w1 and w2 are respectively represented as the weight factors corresponding to the multi-authentication error rate and unauthorized access rate; the environmental compliance value is specifically: obtaining the environmental information threshold, the environmental information threshold specifically includes: light intensity threshold, temperature threshold, humidity threshold, screen occlusion area threshold, the environmental compliance value is represented as the environmental information critical value of the smart door lock monitoring that can identify the face image, combined with the light intensity threshold, temperature threshold, humidity threshold, screen occlusion area threshold analysis and calculation, to obtain the environmental compliance value, the environmental compliance value is used to represent the environmental critical value when the smart door lock monitoring can identify the face image, the environmental compliance value calculation formula is:

[0037] Where Δη2 represents the environmental compliance value, j represents the environmental compliance value experimental verification sample, j = 1, 2, 3, ..., m, m represents

[0038] is the number of samples, Δτ 1j , Δτ 2j , Δτ 3j , Δτ 4j They are respectively the light intensity threshold, temperature threshold, humidity threshold, and screen occlusion area threshold verified in the jth experiment, ε1, ε2,

[0039] ε3 and ε4 represent the weight factors corresponding to the light intensity threshold, temperature threshold, humidity threshold, and screen occlusion area threshold, respectively; the actual value of the environment is specifically: using the light intensity, temperature, humidity, and screen occlusion area analysis, combined with the weight factors corresponding to the light intensity, temperature, humidity, and screen occlusion area, a weighted sum is performed to obtain the actual value of the environment. The actual value of the environment is used to represent the actual environment conditions in the process of smart door lock monitoring and recognizing face images. The actual value of the environment is calculated as follows:

[0040] η 2i=τ1*ε1+τ2*ε2+τ3*ε3+τ4*ε4, where η2i represents the actual value of the environment, τ1, τ2, τ3, τ4 represent the light intensity, temperature, humidity, and screen occlusion area, respectively, and ε1,

[0041] ε2, ε3, and ε4 represent the weight factors corresponding to light intensity, temperature, humidity, and screen occlusion area, respectively.

[0042] In this implementation scheme, the multi-authentication error rate is obtained by analyzing the system logs or records of the identity authentication process, counting the number of identity authentication failures, and calculating; the unauthorized access rate uses the identity authentication and access control functions of the door lock system to record unauthorized access attempts and calculate the ratio of unauthorized access; the light intensity uses a photosensitive sensor or a light sensor to measure the light intensity of the monitored area. The sensor senses the light level and converts it into an electrical signal for system analysis; the temperature uses a temperature sensor to measure the temperature of the monitored area and converts the temperature into an electrical signal; the humidity is measured by using a humidity sensor to measure the humidity of the monitored area and converts it into an electrical signal; the surface obstruction area is obtained by using an image sensor or a camera to capture an image of the monitored area, and then analyzing the obstructed area in the image through an image processing algorithm to calculate the obstruction area; the weight factors corresponding to the multi-authentication error rate, unauthorized access rate, light intensity, temperature, humidity, and screen obstruction area are adjusted through system testing and evaluation, and are combined with the settings based on the professional knowledge of smart door lock monitoring by professionals in related fields.

[0043] Specifically, the calculation formula for the abnormal detection value of smart door lock monitoring is:

[0044] Where ζ represents the abnormal detection value of smart door lock monitoring, which is used to detect whether there is an abnormal situation during the operation of smart door lock monitoring. i represents the training cycle of the smart door lock monitoring abnormal detection model, i = 1, 2, 3, ..., n, n represents the number of training cycles of the smart door lock monitoring abnormal detection model, η1i and η2i represent the privacy of the i-th training respectively.

[0045] encrypted value, actual environmental value, Δη2 is represented as the environmental compliance value, and a1 and a2 are respectively represented as the weight factors corresponding to privacy encryption and environmental anomalies.

[0046] In this implementation scheme, privacy encryption and environmental anomalies are two different but equally important aspects of the smart door lock monitoring system. The setting of the weight factors of the two depends on the system design goals and requirements. If privacy protection is critical to the system, a higher weight can be assigned. Setting a high weight will emphasize the focus on privacy and ensure that the system provides sufficient encryption and security during identity authentication and information transmission. If the system can only operate normally under specific lighting, temperature and humidity conditions, then the detection and adaptability of environmental anomalies are particularly important. Setting a high weight will emphasize the focus on environmental factors and ensure that the system can operate reliably under various conditions. When actually setting the weight factors, simulations or actual tests are performed to evaluate the performance of the system under different weight factors. Based on the test results, adjustments can be made to optimize the overall performance of the system.

[0047] Specifically, judging whether a visitor can pass is as follows: obtaining a face recognition compliance threshold, which is used to judge whether there is a corresponding face image in the database, and judging whether the visitor has the right to pass, and is expressed as the limit value of the face recognition compliance value; comparing and analyzing the visitor's face recognition compliance value with the face recognition compliance threshold, when the face recognition compliance value exceeds the face recognition compliance threshold, judging that the visitor has access rights and allowing him to pass; when the face recognition compliance value is lower than the face recognition compliance threshold, judging that the visitor does not have access rights, and using an alarm mechanism to prompt the management personnel to perform further identity registration or investigation.

[0048] In this implementation scheme, by setting the face recognition compliance threshold, strict identity authentication can be performed on visitors. When the face recognition compliance value of the visitor exceeds the threshold, the system determines that the visitor has access rights, thereby improving the security of the access control system and helping to prevent unauthorized persons from entering restricted areas; by comparing the face recognition compliance value of the visitor with the set threshold in real time, the visitor's access rights can be immediately determined, which helps to respond to the visitor's identity status in a timely manner and avoid delays or wrong release. By automatically determining the visitor's access rights, the reliance on manual operations is reduced, and manual intervention is only required in abnormal circumstances, which improves management efficiency and reduces the possibility of human errors, providing reliable security for visitor access.

[0049] Specifically, obtaining the face recognition compliance value includes:

[0050] The monitoring process information of the smart door lock is obtained, and the monitoring process information of the smart door lock includes face image adjustment information and face image recognition information; the face image adjustment information specifically includes: face frame height, face frame width, image clarity, and face image adjustment coefficient is calculated by analyzing the face image adjustment information to provide a reference for face image preprocessing. The face image adjustment coefficient calculation formula is: In the formula represents the face image adjustment coefficient, f represents the face image adjustment coefficient experimental sample, f=1,2,3,...,u, u represents the number of samples, σ 1f , σ 2f , σ 3f They represent the face frame height, face frame width, and image clarity of the f-th experiment respectively, κ1, κ2, and κ3 represent the weight factors corresponding to the face frame height, face frame width, and image clarity respectively, and the face image adjustment coefficient is used to adjust the face image to the corresponding size and position, and then the face image recognition information is obtained through the preprocessed face image, and the face image recognition information specifically includes: a face feature vector; comparing the face feature vector with each face feature vector registered in the database, combining with the face image adjustment coefficient analysis, and calculating the face recognition compliance value.

[0051] In this implementation scheme, the face frame height refers to the vertical size of the face area detected in the image; the face frame width represents the horizontal size of the face area detected in the image; the image clarity is the clarity or clarity measure of the face area in the image; the face feature vector is a numerical representation extracted from the face image by the face recognition algorithm, and is a vector containing face feature information, including unique features about the face, such as the position and shape of the eyes, nose, and mouth, which is used to map the face image to a unique identifier for comparison and recognition; the setting of the weight factors corresponding to the face frame height, face frame width, and image clarity depends on the specific needs and goals of the system. If the system is very important for accurate face positioning, the face frame height and width can be given a higher weight to ensure accurate positioning of the face in the image, which helps to improve the accuracy of face detection and feature extraction. If the system has high requirements for clarity, the image clarity can be given a higher weight. A clear image helps to improve the accuracy of face feature extraction and ensure reliable face recognition and verification. Before the system is implemented, some tests are conducted to evaluate the performance of the system under different weights, and adjustments are made based on the test results to balance various factors.

[0052] Specifically, the face recognition compliance value calculation formula is:

[0053] Where θ represents the face recognition compliance value, which is used to identify and compare face images to determine whether visitors can pass. μ1 represents the face feature vector. {ι1, ι2, ι3, ..., ιm} represents the face feature vectors of each person registered in the database. m represents the number of people registered in the database. Represents the face image adjustment coefficient.

[0054] In this implementation scheme, the face recognition compliance value obtained by comprehensive analysis of the face feature vector, the face feature vector registered in the database, and the face image adjustment coefficient can be used to measure the similarity between the input face image and the face features stored in the database. By calculating the similarity score, it can be determined whether the input face image matches the registered face features, thereby achieving face recognition; the face feature vector can improve the accuracy of face recognition; the high-quality and comprehensive face feature vectors stored in the database help to improve the performance of the entire system and improve the accuracy of matching; the face image adjustment coefficient is used to adjust the input face image so that it better adapts to the feature extraction process of the recognition system.

[0055] A smart door lock monitoring system based on machine vision uses the above-mentioned smart door lock monitoring method based on machine vision, including: an abnormality detection module, which is used to analyze and obtain a smart door lock monitoring abnormality detection value based on the acquired smart door lock monitoring process information, and is used to detect whether there is an abnormal condition in the use and operation process of the smart door lock monitoring; a face recognition module, which is used to obtain a face recognition compliance value based on the acquired smart door lock monitoring process information when it is detected that there is no abnormal condition in the use and operation process of the smart door lock monitoring, and is used to identify and compare face images to determine whether visitors can pass.

[0056] In summary, this application has at least the following effects: the privacy encryption value, the environmental compliance value, and the actual environmental value are used to comprehensively obtain the smart door lock monitoring abnormality detection value, so as to detect whether there are abnormal conditions in the use and operation of the smart door lock monitoring, which helps to improve the security of the door lock system and prevent unauthorized access; when it is detected that there are no abnormal conditions in the monitoring use and operation process, the system can obtain the face recognition compliance value based on the face image adjustment information and the face image recognition information to achieve personalized access control, and determine whether the visitor can pass by comparing the face image, which helps to improve the overall performance of the smart door lock system, enhance security, and provide users with a more convenient and intelligent door lock experience.

[0057] It should be understood by those skilled in the art that the embodiments of the present invention may be provided as methods and systems. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0058] The present invention is described with reference to the flowcharts and structure diagrams of the methods and systems according to the embodiments of the present invention. It should be understood that each process and combination of modules in the flowcharts and structure diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts. Figure 1 process or multiple processes and structures Figure 1 A device that specifies functionality in a module or modules.

[0059] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 process or multiple processes and structures Figure 1 A function specified in a module or multiple modules.

[0060] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 process or multiple processes and structures Figure 1 Steps to specify functionality in a module or multiple modules.

[0061] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0062] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A smart door lock monitoring method based on machine vision, characterized in that: The following steps are involved: Based on the acquired smart door lock monitoring process information, the smart door lock monitoring abnormal detection value is analyzed and obtained to detect whether there is an abnormal condition during the operation of the smart door lock monitoring; When it is detected that there is no abnormality in the operation process of the smart door lock monitoring, the face recognition compliance value is obtained based on the acquired smart door lock monitoring process information, which is used to identify and compare the face image to determine whether the visitor can pass; The calculation formula of the abnormal detection value of smart door lock monitoring is: ; In the formula It represents the abnormal detection value of smart door lock monitoring. It represents the training cycle of the smart door lock monitoring anomaly detection model. , It is represented by the number of training cycles of the smart door lock monitoring anomaly detection model. , Respectively expressed as The privacy encryption value of the training and the actual value of the environment, Represented as environmental compliance value, , They are respectively represented as weight factors corresponding to privacy encryption and environmental anomalies; The privacy encryption value is specifically: using the multi-authentication error rate and unauthorized access rate analysis, combined with the weight factors corresponding to the multi-authentication error rate and unauthorized access rate, a weighted sum calculation is performed to obtain the privacy encryption value. The privacy encryption value is used to numerically display the privacy encryption status of the smart door lock monitoring. The privacy encryption value calculation formula is: , where Represented as a private encrypted value, Represented as the privacy encryption value training cycle, , It is expressed as the number of training cycles, , Respectively expressed as The error rate of multiple authentications and unauthorized access rates for training, , They are respectively represented as weight factors corresponding to the multi-authentication error rate and the unauthorized access rate; the environmental compliance value is specifically: obtaining the environmental information threshold, the environmental information threshold specifically includes: light intensity threshold, temperature threshold, humidity threshold, screen occlusion area threshold, the environmental compliance value is represented as the environmental information critical value of the smart door lock monitoring that can identify the face image, combined with the light intensity threshold, temperature threshold, humidity threshold, screen occlusion area threshold analysis and calculation, to obtain the environmental compliance value, the environmental compliance value is used to represent the environmental critical value when the smart door lock monitoring can identify the face image, the environmental compliance value calculation formula is: , where Represented as environmental compliance value, It represents the sample verified by the environment compliance experiment. , It is expressed as the number of samples, , , , Respectively expressed as The light intensity threshold, temperature threshold, humidity threshold, and screen occlusion area threshold verified by this experiment are , , , They are respectively expressed as weight factors corresponding to the light intensity threshold, temperature threshold, humidity threshold, and screen occlusion area threshold; the actual environment value is specifically: using light intensity, temperature, humidity, and screen occlusion area analysis, combined with the weight factors corresponding to light intensity, temperature, humidity, and screen occlusion area, weighted summation is performed to obtain the actual environment value. The actual environment value is used to represent the actual environment conditions in the process of smart door lock monitoring and recognizing face images. The actual environment value calculation formula is: , where Expressed as the actual value of the environment, , , , They are respectively represented by light intensity, temperature, humidity, and screen occlusion area. , , , They are respectively expressed as weight factors corresponding to light intensity, temperature, humidity, and screen occlusion area.

2. According to the machine vision-based intelligent door lock monitoring method of claim 1, it is characterized in that: The specific method of detecting whether there is an abnormal condition during the operation of the smart door lock monitoring is as follows: Obtaining a smart door lock monitoring abnormality detection threshold, wherein the smart door lock monitoring abnormality detection threshold is represented by the minimum value of the smart door lock monitoring abnormality detection value to detect an abnormal condition, and is used to detect an abnormal condition of the smart door lock monitoring; The smart door lock monitoring anomaly detection value is compared and analyzed with the smart door lock monitoring anomaly detection threshold. When the smart door lock monitoring anomaly detection value exceeds the smart door lock monitoring anomaly detection threshold, it is judged that there are abnormal conditions in the use of the smart door lock monitoring. The abnormal conditions include: abnormal visitor permissions, attack security issues, and environmental abnormalities. The alarm mechanism is used to send prompt text messages for risk warnings and optimization measures. The optimization measures include: reconfiguring visitor access rights, providing password reset functions, strengthening security measures, and adopting waterproof and dustproof facilities.

3. The method for monitoring an intelligent door lock based on machine vision according to claim 2, characterized in that: The obtaining of the abnormal detection value of the intelligent door lock monitoring specifically includes: Acquire smart door lock monitoring process information, wherein the smart door lock monitoring process information specifically includes: verification access information and environment information; By verifying access information and analyzing environmental information, the privacy encryption value, environmental compliance value, and environmental actual value are obtained respectively; By analyzing the privacy encryption value, environmental compliance value, and environmental actual value, a smart door lock monitoring anomaly detection model is constructed to obtain the smart door lock monitoring anomaly detection value.

4. The method for monitoring an intelligent door lock based on machine vision according to claim 3, characterized in that: The verification access information specifically includes: multiple identity authentication error rate, unauthorized access rate; The environmental information specifically includes: light intensity, temperature, humidity, and screen obstruction area.

5. The method for monitoring an intelligent door lock based on machine vision according to claim 3, characterized in that: The privacy encryption value is specifically: using multiple identity authentication error rates and unauthorized access rate analysis, combined with the weight factors corresponding to the multiple identity authentication error rates and unauthorized access rates, a weighted sum calculation is performed to obtain the privacy encryption value, and the privacy encryption value is used to numerically display the privacy encryption status of the smart door lock monitoring; The environmental compliance value is specifically: obtaining an environmental information threshold, the environmental information threshold specifically includes: a light intensity threshold, a temperature threshold, a humidity threshold, and a screen occlusion area threshold. The environmental compliance value is represented by the environmental information critical value of the smart door lock monitoring that can identify the face image, and the environmental compliance value is obtained by combining the light intensity threshold, the temperature threshold, the humidity threshold, and the screen occlusion area threshold for analysis and calculation. The environmental compliance value is used to represent the environmental critical value when the smart door lock monitoring can identify the face image; The actual value of the environment is specifically: using light intensity, temperature, humidity, and screen obstruction area analysis, combined with the corresponding weight factors of light intensity, temperature, humidity, and screen obstruction area, to perform weighted summation to obtain the actual value of the environment. The actual value of the environment is used to represent the actual environmental conditions in the process of smart door lock monitoring and recognizing facial images.

6. The method for monitoring a smart door lock based on machine vision according to claim 1, characterized in that: The specific method of determining whether a visitor can pass is as follows: Obtaining a face recognition compliance threshold, wherein the face recognition compliance threshold is used to judge whether there is a corresponding image in the database for the face image, and to judge whether the visitor has the right to pass, and is represented as the limit value of the face recognition compliance value; Compare and analyze the visitor's face recognition compliance value with the face recognition compliance threshold. When the face recognition compliance value exceeds the face recognition compliance threshold, the visitor is judged to have access rights and is allowed to pass. When the face recognition compliance value is lower than the face recognition compliance threshold, it is determined that the visitor does not have access rights, and an alarm mechanism is used to prompt the management staff to perform further identity registration or investigation.

7. The method for monitoring a smart door lock based on machine vision according to claim 6, characterized in that: The obtaining of the face recognition compliance value specifically includes: Acquire smart door lock monitoring process information, wherein the smart door lock monitoring process information includes face image adjustment information and face image recognition information; The face image adjustment information specifically includes: face frame height, face frame width, image definition, and face image adjustment coefficients are calculated by analyzing the face image adjustment information to provide a reference for face image preprocessing, and the face image adjustment coefficients are used to adjust the size and position of the face image accordingly, and then the face image recognition information is obtained through the preprocessed face image, and the face image recognition information specifically includes: face feature vectors; The facial feature vector is compared with the facial feature vectors of each registered in the database, and the facial recognition compliance value is calculated by combining the facial image adjustment coefficient analysis.

8. The method for monitoring an intelligent door lock based on machine vision according to claim 7, characterized in that: The calculation formula for face recognition compliance value is: ; In the formula It represents the face recognition compliance value. Represented as a face feature vector, Represented as the feature vector of each face registered in the database, It is represented by the number of people registered in the database. Represents the face image adjustment coefficient.

9. A machine vision-based smart door lock monitoring system, using a machine vision-based smart door lock monitoring method according to any one of claims 1 to 8, characterized in that: include: The abnormality detection module is used to analyze and obtain the abnormality detection value of the intelligent door lock monitoring based on the acquired intelligent door lock monitoring process information, so as to detect whether there is an abnormal condition during the operation of the intelligent door lock monitoring; The face recognition module is used to obtain the face recognition compliance value based on the acquired smart door lock monitoring process information when it detects that there is no abnormal situation in the operation process of the smart door lock monitoring, and is used to identify and compare the face image to determine whether the visitor can pass.

Citation Information

Patent Citations

  • A machine vision-based intelligent attendance system and method

    CN107610260B

  • Intelligent door control system on basis of machine learning and control method implemented by intelligent door control system

    CN107909687A

  • Smart home automatic anti-theft device

    CN110956768A