Intelligent door lock control method and system

Through pre-testing and dynamic angle adjustment of smart door locks, the identification problem caused by fixing installation height is solved, effective identification of people of different heights is achieved, and user experience and recognition efficiency are improved.

CN118570913BActive Publication Date: 2024-11-22SUZHOU JIARONG COMM ELEMENTS
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411048235.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-11-22
Estimated Expiration
2044-08-01

Smart Images

  • Figure CN118570913B_ABST
    Figure CN118570913B_ABST
Patent Text Reader

Abstract

The present invention discloses a control method and system for a smart door lock, which relates to the technical field of smart door locks and solves the problem that a better identification method cannot be achieved for relevant personnel who are too high or too low, which affects the relevant use experience of the relevant personnel. The present invention determines the distance between objects in front through different clarity, and then determines the height of the object based on the distance, and then based on the corresponding angle and distance value, combined with trigonometric functions, the relative distance of the corresponding dynamic moving object compared to the horizontal direction can be confirmed. Based on the two sets of relative distances, the corresponding height can be determined, so that the relative height of the corresponding human body can be locked to determine an optimal face acquisition angle, thereby facilitating relevant personnel to perform face recognition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart door locks, and in particular to a control method and system for a smart door lock. Background Art

[0002] Smart door locks are improved upon traditional mechanical locks and are more intelligent and simple in terms of user security, identification, and manageability. Smart door locks are the executive components of door locking in access control systems.

[0003] The application with publication number CN116386192A provides a control method for a smart door lock, including: controlling the dToF component to obtain the real-time measured distance between the target object in front of the door panel and the door panel; determining the on state of the face recognition component according to the magnitude relationship between the real-time measured distance and the preset distance threshold and the change trend of the real-time measured distance; in response to the face recognition component being turned on, adjusting the shooting parameters of the face recognition component according to the current measured distance; wherein the shooting parameters are parameters that affect the imaging clarity of the face recognition component; controlling the face recognition component to shoot a three-dimensional face image according to the adjusted shooting parameters; and controlling the electronic lock to unlock or lock according to the matching result between the three-dimensional face image and the preset three-dimensional image template. The technical solution of this application can control the door lock more safely and intelligently.

[0004] Its smart door locks already have relevant unlocking methods for face recognition, but most smart door locks are installed at a height of about one meter. An adult of normal height always needs to bend down when unlocking the door, and if the child is not tall enough, there is no way to use this function. Its smart door locks cannot achieve better recognition methods for people who are too tall or too short, which will affect the relevant user experience of the relevant people. Summary of the invention

[0005] In view of the deficiencies in the prior art, the present invention provides a control method and system for a smart door lock, which solves the problem that a better identification method cannot be achieved for personnel who are too high or too low, which affects the relevant user experience of the relevant personnel.

[0006] To achieve the above objectives, the present invention is implemented through the following technical solutions: A control method for a smart door lock comprises the following steps:

[0007] S1) After the smart door lock is installed, a set of pre-test phases are determined to confirm the image clarity at different distances from the front of the smart door lock. Based on the confirmation results, the face acquisition area and the detection related area are locked, and the different spacing distance values ​​corresponding to the confirmed different clarity are stored in the door lock storage module, including:

[0008] S11. Set a group of test objects, place them in front of the smart door lock, and adjust the distance between the test objects and the smart door lock in real time. The camera inside the smart door lock acquires an image of the test object and confirms the clarity of the image acquired at the corresponding distance.

[0009] S12. Based on the complete pre-test process, the different image sharpnesses corresponding to different interval distances are confirmed one by one, and the confirmed image sharpness is calibrated as Q i , where i represents different interval distances;

[0010] S13, will satisfy Q i The definition of ≥Y1 is marked as the best definition, where Y1 is the preset value. Based on the interval distance corresponding to the minimum best definition and the maximum best definition, the area between the two is marked as the face acquisition area, and Y2≤Q i The clarity <Y1 is calibrated as the detection clarity, and the different interval distances corresponding to different detection clarity are recorded. The detection related area is determined based on the interval distances corresponding to the minimum detection clarity and the maximum detection clarity, where Y2 is a preset value;

[0011] S2) Monitor the image on the front end of the smart door lock to confirm whether there is a dynamic moving object in the monitoring area. If there is a dynamic moving object, determine the relevant feature points of the dynamic moving object, perform image clarity analysis, and determine the interval distance and feature outline of the dynamic moving object. The specific method is as follows:

[0012] S21, confirm the area image monitored by the front end of the smart door lock, compare the area image of the next node with the area image of the previous node, identify the overlap CH of the two sets of images, compare CH with the preset value Y3, when CH ≥ Y3, continue monitoring, when CH < Y3, confirm the presence of dynamic moving objects;

[0013] S22, mark the area picture of the previous node where the dynamic moving object is confirmed as the standard picture, analyze the area pictures of subsequent different nodes where the dynamic moving object is confirmed, compare the area pictures that appear in sequence with the standard picture, and determine the overlap degree C k , where k represents the area screen corresponding to the subsequent different nodes. When |C j -C j-1 |≥80%, where j∈k and j≥2, C j The corresponding regional image is marked as a characteristic image, and the area covered by the dynamic moving object is identified from the characteristic image, and the overall outline of the covered area is simultaneously confirmed to generate a characteristic outline, lock the dynamic moving object, and determine the clarity Q1 of the characteristic image, and compare the clarity Q1 with the preset values ​​Y1 and Y2:

[0014] When Q1<Y2, it means that the dynamic moving object is outside the detection related area, and the monitoring continues until the regional picture clarity Q1≥Y2 of the subsequent node, the interval distance of the dynamic moving object is directly determined based on the stored related data, and step S3 is executed, wherein the related data is the different interval distances corresponding to different detection clarity in the detection related area;

[0015] When Y2≤Q1<Y1, it means that the dynamic moving object is located in the detection correlation area, and the interval distance of the dynamic moving object is determined directly based on the stored correlation data, and step S3 is executed;

[0016] When Y1≤Q1, it means that the dynamic moving object is in the face acquisition area, and its smart door lock directly performs face recognition;

[0017] S3) Based on the interval distance and characteristic contour of the dynamic moving object confirmed by the front end of the smart door lock, the specific height of the dynamic moving object is identified, and based on the determined specific height, the height of the center point of the face is determined, and the specific method is as follows:

[0018] S31, based on the characteristic contour of the dynamic moving object, determine the highest point and the lowest point of the characteristic contour, and then based on the spatial position of the smart door lock, confirm the inclination angle J1 between the smart door lock and the highest point and the inclination angle J2 between the smart door lock and the lowest point;

[0019] S32, calibrate the determined interval distance as L1, use tanJ1×L1=G1 to determine the distance value G1 of the highest point relative to the smart door lock in the horizontal direction, and use tanJ2×L1=G2 to determine the distance value G2 of the lowest point relative to the smart door lock in the horizontal direction:

[0020] If the highest point is above the smart door lock in the horizontal direction, and the lowest point is below the smart door lock in the horizontal direction, GD=G1+G2 is used to determine the specific height GD of the corresponding dynamic moving object;

[0021] If the highest point is below the smart door lock in the horizontal direction, and the lowest point is also below the smart door lock in the horizontal direction, GD=G2-G1 is used to determine the specific height GD of the corresponding dynamic moving object;

[0022] S33, using GD×C1=TG to determine the height TG of the center point of the face, where C1 is a preset fixed coefficient factor;

[0023] S4) Determine the interval distance based on the highest definition of the detection related area, and determine the best acquisition angle of the smart door lock based on the determined interval distance and the height of the center point of the face; the specific method is:

[0024] S41, based on the highest definition of the detected relevant area, determine the interval distance JL, then determine the height TG of the center point of the face, and simultaneously confirm the horizontal height HD of the internal camera of the smart door lock;

[0025] S42, if TG>HD, determine the height difference TG-HD=Cz, use tanA=Cz÷JL to determine the best acquisition angle A, so that the camera is adjusted upward by A relative to the horizontal direction;

[0026] If TG<HD, then determine the height difference HD-TG=Cz, and use the same method as above to determine the optimal acquisition angle A, so that the camera is adjusted downward by A relative to the horizontal direction.

[0027] Preferably, it also includes:

[0028] S5), after the optimal acquisition angle is confirmed, an adjustment logic of the camera inside the smart door lock is determined based on the moving speed of the dynamic moving object in the relevant detection area; the specific method is:

[0029] Based on the determined optimal angle A, determine the interval distance corresponding to the highest definition in the face acquisition area, determine the relevant angle B corresponding to the interval distance in the same manner as step S4, and determine the adjustment angle range AB of the camera;

[0030] Determine the average speed V of the dynamic moving object during its movement in the relevant detection area, and then determine the difference CC=JL-LJ between the two groups of interval distances based on the interval distance JL corresponding to the optimal angle A and the interval distance LJ corresponding to the relevant angle B, and use CC÷V=T1 to determine a group of change time T1;

[0031] Determine a set of adjustment logic: adjust the camera angle from A to B step by step, and its adjustment rate is Vs, and Vs=(BA)÷T1.

[0032] Preferably, the control system of the smart door lock includes:

[0033] Distance value confirmation module: for different clarity generated during the pre-test phase, the different clarity and different spacing distance values ​​are matched one by one, and transmitted to the storage module for storage;

[0034] The image monitoring module monitors the monitoring area of ​​the front end of the smart door lock to confirm whether there are dynamic moving objects in the monitoring area. If there are dynamic moving objects, the relevant feature points of the dynamic moving objects are determined, the image clarity is analyzed, and the interval distance and feature contours of the dynamic moving objects are determined;

[0035] The height value confirmation module identifies the specific height of the dynamic moving object based on the interval distance and feature profile of the dynamic moving object confirmed by the front end of the smart door lock, and determines the height of the center point of the face based on the determined specific height;

[0036] The angle control module determines the interval distance based on the highest clarity of the relevant detection area, determines the optimal face acquisition angle of the smart door lock based on the determined interval distance and the height of the center point of the face, and then determines the adjustment logic of the camera inside the smart door lock based on the movement rate of the dynamic moving object in the relevant detection area.

[0037] The present invention provides a control method and system for a smart door lock. Compared with the prior art, the present invention has the following beneficial effects:

[0038] The present invention determines the distance between the objects in front through different definitions, and then determines the height of the objects based on the distance. Then, based on the corresponding angle and distance value, combined with trigonometric functions, the relative distance of the corresponding dynamic moving object compared to the horizontal direction can be confirmed. Based on the two sets of relative distances, the corresponding height can be determined, so that the relative height of the corresponding human body can be locked to determine an optimal face acquisition angle, so as to facilitate relevant personnel to perform face recognition.

[0039] Based on the relevant moving speed of the corresponding object, the adjustment rate of the camera is determined to ensure that the relevant face is always within the detection area of ​​the camera, so that the face can be recognized quickly and effectively, giving the smart door lock more time to perform face analysis. At the same time, there is no need for the corresponding personnel to bend down or use other methods. Instead, the smart door lock actively recognizes the face to achieve better face recognition control effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a schematic diagram of the process of the present invention;

[0041] Figure 2 A schematic diagram of determining the height of a moving object according to the present invention;

[0042] Figure 3 It is a schematic diagram of the principle framework of the present invention. DETAILED DESCRIPTION

[0043] 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.

[0044] Example 1

[0045] See also Figure 1 , the present application provides a control method for a smart door lock, comprising the following steps:

[0046] S1) After the smart door lock is installed, a set of pre-test phases is determined to confirm the image clarity at different distances from the front end of the smart door lock. Based on the confirmation results, the face acquisition area and the detection related area are locked, and the different spacing distance values ​​corresponding to the confirmed different clarity are stored in the door lock storage module for subsequent value selection and analysis. The smart door lock requires a designated installer to install. During the installation process, the installer performs relevant tests in the pre-test phase, and during the test, the relevant distance measuring equipment is used to determine the distance. The distance measuring equipment can use infrared equipment or other equipment, which is confirmed by the operator and the confirmed distance is transmitted to the smart door lock. The specific method of confirmation includes:

[0047] S11. Set a group of test objects, place them in front of the smart door lock, and adjust the distance between the test objects and the smart door lock in real time. The camera inside the smart door lock acquires an image of the test object and confirms the clarity of the image acquired at the corresponding distance.

[0048] S12. Based on the complete pre-test process, the different image sharpnesses corresponding to different interval distances are confirmed one by one, and the confirmed image sharpness is calibrated as Q i , where i represents different interval distances;

[0049] S13, will satisfy Q i The definition of ≥Y1 is marked as the best definition, where Y1 is a preset value, and its specific value is determined by the operator based on experience. Based on the interval distance corresponding to the minimum best definition and the maximum best definition, the area between the two is marked as the face acquisition area, and the area that satisfies Y2≤Q i The clarity of <Y1 is calibrated as the detection clarity, and the different interval distances corresponding to different detection clarity are recorded. The detection related area is determined based on the interval distances corresponding to the minimum detection clarity and the maximum detection clarity, where Y2 is a preset value, and its specific value is determined by the operator based on experience;

[0050] Here, we understand it in combination with an example, where Y1 takes a value of 85%, and Y2 takes a value of 65%. The clarity area of ​​65%-85% belongs to the detection-related area. Each different interval distance in this detection-related area corresponds to a different detection clarity. Other clarity areas above 85% belong to the face acquisition area. In this clarity area, the acquired face is relatively clear, and face analysis can be performed to identify facial features and confirm whether the face belongs to the preset face. Then, the door can be opened, and a corresponding rotating component is provided inside the smart door lock, and the rotating component can drive the corresponding camera to rotate to better identify accurate faces.

[0051] Specifically, the camera inside the smart door lock does not have the corresponding focusing function, so the picture clarity produced by the images at each different position in front of it is different. Therefore, according to the clarity of each group of images obtained, the corresponding interval distance value can be confirmed.

[0052] S2) Monitor the image that appears on the front end of the smart door lock to confirm whether there is a dynamic moving object in the monitoring area. If there is a dynamic moving object, determine the relevant feature points of the dynamic moving object, perform image clarity analysis, and determine the interval distance and feature profile of the dynamic moving object. The specific method for confirming whether there is a dynamic moving object is:

[0053] S21. Confirm the regional image monitored by the front end of the smart door lock, compare the regional image of the next node with the regional image of the previous node, wherein the time interval between each node is set in advance by the operator, and the generally set time interval is 500ms, that is, 0.5 seconds, identify the overlap CH of the two sets of images, compare CH with the preset value Y3, when CH≥Y3, continue monitoring, when CH<Y3, confirm the presence of dynamic moving objects (specifically, when there is no object in the monitoring area, the monitored image will not change much, when the monitored image changes, it means that there are corresponding dynamic moving objects in the relevant area monitored by the smart door lock, and the specific value of Y3 is determined by the operator based on experience);

[0054] S22, mark the area screen of the previous node where the dynamic moving object is confirmed as the standard screen (there is no dynamic moving object in the standard screen, that is, there is no other moving object in the current area screen), analyze the area screens of subsequent different nodes where the dynamic moving object is confirmed, compare the subsequent area screens with the standard screen, and determine the overlap degree C k , where k represents the area screen corresponding to the subsequent different nodes. When |C j -C j-1 |≥80% (that is, the overlap between the two sets of images is large), where j∈k and j≥2, C jThe corresponding regional screen is marked as a feature screen, and the area covered by the dynamic moving object is identified from the feature screen, and the overall outline of the covered area is confirmed simultaneously to generate a feature outline, lock the dynamic moving object, and determine the clarity Q1 of the feature screen, and compare the clarity Q1 with the preset values ​​Y1 and Y2 (the reason why the screens of different nodes are analyzed here is that the dynamic moving object does not appear in front of the smart door lock, but appears from the side. If its moving speed is relatively slow, not using the above-disclosed method to confirm the dynamic features will result in a large error in the confirmed dynamic moving object, which will affect the relevant accuracy of subsequent numerical values ​​or screen analysis):

[0055] When Q1<Y2, it means that the dynamic moving object is outside the detection related area, and the monitoring continues until the regional picture clarity Q1≥Y2 of the subsequent node, the interval distance of the dynamic moving object is directly determined based on the stored related data, and step S3 is executed, wherein the related data is the different interval distances corresponding to different detection clarity in the detection related area;

[0056] When Y2≤Q1<Y1, it means that the dynamic moving object is located in the detection correlation area, and the interval distance of the dynamic moving object is determined directly based on the stored correlation data, and step S3 is executed;

[0057] When Y1≤Q1, it means that the dynamic moving object is located in the face acquisition area, and its smart door lock directly performs face recognition (the face recognition method here has not been processed by the numerical value of step S3, so in the face recognition process here, the face of the dynamic moving object needs to be located within the monitoring range of the smart door lock to complete normal recognition, that is, the normal recognition method of its smart door lock in the prior art. If the person is too tall, he needs to bend down for face recognition. If the person is too short, he needs to raise his toes or other methods for face recognition. The camera will not move accordingly and will not actively accommodate the height of the corresponding person. Because the face recognition technology in the prior art is already relatively common, it will not be described in detail here);

[0058] S3) Combine Figure 2 Based on the interval distance and characteristic profile of the dynamic moving object confirmed by the front end of the smart door lock, the specific height of the dynamic moving object is identified, and based on the determined specific height, the height of the center point of the face is determined. The specific method for determination is as follows (based on the interval distance and the relevant characteristic profile, the tilt angle can be locked, and the relevant height of the corresponding dynamic moving object can be determined):

[0059] S31, based on the characteristic contour of the dynamic moving object, determine the highest point and the lowest point of the characteristic contour, and then based on the spatial position of the smart door lock, confirm the inclination angle J1 between the smart door lock and the highest point and the inclination angle J2 between the smart door lock and the lowest point;

[0060] S32, calibrate the determined interval distance as L1, use tanJ1×L1=G1 to determine the distance value G1 of the highest point relative to the smart door lock in the horizontal direction, and use tanJ2×L1=G2 to determine the distance value G2 of the lowest point relative to the smart door lock in the horizontal direction:

[0061] If the highest point is above the smart door lock in the horizontal direction, and the lowest point is below the smart door lock in the horizontal direction, GD=G1+G2 is used to determine the specific height GD of the corresponding dynamic moving object;

[0062] If the highest point is below the smart door lock in the horizontal direction, and the lowest point is also below the smart door lock in the horizontal direction, GD=G2-G1 is used to determine the specific height GD of the corresponding dynamic moving object;

[0063] If other situations are basically non-existent, the specific height GD will not be confirmed;

[0064] S33, using GD×C1=TG to confirm the height TG of the center point of the face, where C1 is a preset fixed coefficient factor, and its specific value is determined by the operator based on experience;

[0065] Specifically, based on the corresponding angle and distance values, combined with trigonometric functions, the relative distance of the corresponding dynamic moving object compared to the horizontal direction can be confirmed. Based on the two sets of relative distances, the corresponding height can be determined, and then the relative height of the corresponding human body can be locked to determine an optimal face acquisition angle, thereby facilitating relevant personnel to perform face recognition.

[0066] S4), based on the highest definition of the detection related area, the interval distance is determined, based on the determined interval distance and the height of the center point of the face, the best face acquisition angle of the smart door lock is determined, and the parameters of the internal camera of the smart door lock are set in advance, wherein the specific method of determining the best acquisition angle is:

[0067] S41, based on the highest definition of the detected relevant area, determine the interval distance JL, then determine the height TG of the center point of the face, and simultaneously confirm the horizontal height HD of the internal camera of the smart door lock;

[0068] S42, if TG>HD, then determine the height difference TG-HD=Cz, use tanA=Cz÷JL to determine the best acquisition angle A, so that the camera is adjusted upward by A relative to the horizontal direction, so that the camera is in the best state for the face and can better capture the relevant face;

[0069] If TG is less than HD, then the height difference HD-TG=Cz is determined, and the optimal acquisition angle A is determined in the same manner as above, so that the camera is adjusted downward by A relative to the horizontal direction, so that the camera is in the best acquisition state and can better capture the relevant face.

[0070] As a further embodiment of this embodiment, to confirm the relevant adjustment process of the optimal acquisition angle A, the specific adjustment process also includes:

[0071] S5), after the optimal acquisition angle is confirmed, an adjustment logic of the camera inside the smart door lock is determined based on the moving speed of the dynamic moving object in the relevant detection area to ensure that the face can be tracked in real time. The specific method for determining is:

[0072] Based on the determined optimal angle A, determine the interval distance corresponding to the highest definition in the face acquisition area, and determine the relevant angle B corresponding to this interval distance (that is, the relevant angle B corresponding to the closest distance between the dynamic moving object and the smart door lock) in the same manner as step S4, and determine the adjustment angle range AB of the camera;

[0073] Determine the average speed V of the dynamic moving object during its movement in the relevant detection area, and then determine the difference CC=JL-LJ between the two groups of interval distances based on the interval distance JL corresponding to the optimal angle A and the interval distance LJ corresponding to the relevant angle B, and use CC÷V=T1 to determine a group of change time T1;

[0074] Determine a set of adjustment logic: adjust the camera angle from A to B step by step, and the adjustment rate is Vs, and Vs=(BA)÷T1. Since the interval distance corresponding to B is the shortest, the angle B is the largest. When adjusting from A to B, the relevant adjustment rate can be determined to ensure that the relevant face is always within the detection area of ​​the camera, so that the face can be recognized quickly and effectively, giving the smart door lock more time for face analysis. At the same time, there is no need for the corresponding personnel to bend down or use other methods. Instead, the smart door lock performs active recognition to achieve better face recognition control effect.

[0075] Example 2

[0076] Combination Figure 3 , the control system of the smart door lock includes:

[0077] Distance value confirmation module: for different clarity generated during the pre-test phase, the different clarity and different spacing distance values ​​are matched one by one, and transmitted to the storage module for storage;

[0078] The image monitoring module monitors the monitoring area of ​​the front end of the smart door lock to confirm whether there are dynamic moving objects in the monitoring area. If there are dynamic moving objects, the relevant feature points of the dynamic moving objects are determined, the image clarity is analyzed, and the interval distance and feature contours of the dynamic moving objects are determined;

[0079] The height value confirmation module identifies the specific height of the dynamic moving object based on the interval distance and feature profile of the dynamic moving object confirmed by the front end of the smart door lock, and determines the height of the center point of the face based on the determined specific height;

[0080] Angle control module, which determines the interval distance based on the highest definition of the relevant detection area, determines the best face acquisition angle of the smart door lock based on the determined interval distance and the height of the center point of the face, and then determines an adjustment logic of the camera inside the smart door lock based on the moving speed of the dynamic moving object in the relevant detection area;

[0081] The picture monitoring module and the angle control module can both extract different spacing distance values ​​corresponding to different resolutions stored in the storage module.

[0082] Some of the data in the above formulas are dimensionless and numerically calculated. Meanwhile, the contents not described in detail in this specification belong to the prior art known to those skilled in the art.

[0083] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.

Claims

1. A control method for a smart door lock, characterized in that: The following steps are involved: S1) After the smart door lock is installed, a set of pre-test phases are determined to confirm the image clarity at different distances from the front of the smart door lock. Based on the confirmation results, the face acquisition area and the detection related area are locked, and the different spacing distance values ​​corresponding to the confirmed different clarity are stored in the door lock storage module, including: S11. Set a group of test objects, place them in front of the smart door lock, and adjust the distance between the test objects and the smart door lock in real time. The camera inside the smart door lock acquires an image of the test object and confirms the clarity of the image acquired at the corresponding distance. S12. Based on the complete pre-test process, the different image sharpnesses corresponding to different interval distances are confirmed one by one, and the confirmed image sharpness is calibrated as Q i , where i represents different interval distances; S13, will satisfy Q i The definition of ≥Y1 is marked as the best definition, where Y1 is the preset value. Based on the interval distance corresponding to the minimum best definition and the maximum best definition, the area between the two is marked as the face acquisition area, and Y2≤Q i The clarity <Y1 is calibrated as the detection clarity, and the different interval distances corresponding to different detection clarity are recorded. The detection related area is determined based on the interval distances corresponding to the minimum detection clarity and the maximum detection clarity, where Y2 is a preset value; S2) Monitor the image on the front end of the smart door lock to confirm whether there is a dynamic moving object in the monitoring area. If there is a dynamic moving object, determine the relevant feature points of the dynamic moving object, perform image clarity analysis, and determine the interval distance and feature outline of the dynamic moving object. The specific method is as follows: S21, confirm the area image monitored by the front end of the smart door lock, compare the area image of the next node with the area image of the previous node, identify the overlap CH of the two sets of images, compare CH with the preset value Y3, when CH ≥ Y3, continue monitoring, when CH < Y3, confirm the presence of dynamic moving objects; S22, mark the area picture of the previous node where the dynamic moving object is confirmed as the standard picture, analyze the area pictures of subsequent different nodes where the dynamic moving object is confirmed, compare the area pictures that appear in sequence with the standard picture, and determine the overlap degree C k , where k represents the area screen corresponding to the subsequent different nodes. When |C j -C j-1 |≥80%, where j∈k and j≥2, C j The corresponding regional image is marked as a characteristic image, and the area covered by the dynamic moving object is identified from the characteristic image, and the overall outline of the covered area is simultaneously confirmed to generate a characteristic outline, lock the dynamic moving object, and determine the clarity Q1 of the characteristic image, and compare the clarity Q1 with the preset values ​​Y1 and Y2: When Q1<Y2, it means that the dynamic moving object is outside the detection related area, and the monitoring continues until the regional picture clarity Q1≥Y2 of the subsequent node, the interval distance of the dynamic moving object is directly determined based on the stored related data, and step S3 is executed, wherein the related data is the different interval distances corresponding to different detection clarity in the detection related area; When Y2≤Q1<Y1, it means that the dynamic moving object is located in the detection correlation area, and the interval distance of the dynamic moving object is determined directly based on the stored correlation data, and step S3 is executed; When Y1≤Q1, it means that the dynamic moving object is in the face acquisition area, and its smart door lock directly performs face recognition; S3) Based on the interval distance and characteristic contour of the dynamic moving object confirmed by the front end of the smart door lock, the specific height of the dynamic moving object is identified, and based on the determined specific height, the height of the center point of the face is determined, and the specific method is as follows: S31, based on the characteristic contour of the dynamic moving object, determine the highest point and the lowest point of the characteristic contour, and then based on the spatial position of the smart door lock, confirm the inclination angle J1 between the smart door lock and the highest point and the inclination angle J2 between the smart door lock and the lowest point; S32, calibrate the determined interval distance as L1, use tanJ1×L1=G1 to determine the distance value G1 of the highest point relative to the smart door lock in the horizontal direction, and use tanJ2×L1=G2 to determine the distance value G2 of the lowest point relative to the smart door lock in the horizontal direction: If the highest point is above the smart door lock in the horizontal direction, and the lowest point is below the smart door lock in the horizontal direction, GD=G1+G2 is used to determine the specific height GD of the corresponding dynamic moving object; If the highest point is below the smart door lock in the horizontal direction, and the lowest point is also below the smart door lock in the horizontal direction, GD=G2-G1 is used to determine the specific height GD of the corresponding dynamic moving object; S33, using GD×C1=TG to determine the height TG of the center point of the face, where C1 is a preset fixed coefficient factor; S4) Determine the interval distance based on the highest definition of the detection related area, and determine the best acquisition angle of the smart door lock based on the determined interval distance and the height of the center point of the face, in the following specific manner: S41, based on the highest definition of the detected relevant area, determine the interval distance JL, then determine the height TG of the center point of the face, and simultaneously confirm the horizontal height HD of the internal camera of the smart door lock; S42, if TG>HD, determine the height difference TG-HD=Cz, use tanA=Cz÷JL to determine the best acquisition angle A, so that the camera is adjusted upward by A relative to the horizontal direction; If TG<HD, then determine the height difference HD-TG=Cz, and use the same method as above to determine the optimal acquisition angle A, so that the camera is adjusted downward by A relative to the horizontal direction.

2. The control method of the smart door lock according to claim 1, characterized in that: Also includes: S5), after the optimal acquisition angle is confirmed, an adjustment logic of the camera inside the smart door lock is determined based on the moving speed of the dynamic moving object in the relevant detection area.

3. The control method of the smart door lock according to claim 2, characterized in that: In step S5, the specific method of determining the adjustment logic is: Based on the determined optimal angle A, determine the interval distance corresponding to the highest definition in the face acquisition area, determine the relevant angle B corresponding to the interval distance in the same manner as step S4, and determine the adjustment angle range AB of the camera; Determine the average speed V of the dynamic moving object during its movement in the relevant detection area, and then determine the difference CC=JL-LJ between the two groups of interval distances based on the interval distance JL corresponding to the optimal angle A and the interval distance LJ corresponding to the relevant angle B, and use CC÷V=T1 to determine a group of change time T1; Determine a set of adjustment logic: adjust the camera angle from A to B step by step, and its adjustment rate is Vs, and Vs=(BA)÷T1.

4. A control system for a smart door lock, which operates based on the control method for a smart door lock according to any one of claims 1 to 3, characterized in that: include: Distance value confirmation module: for different clarity generated during the pre-test phase, the different clarity and different spacing distance values ​​are matched one by one, and transmitted to the storage module for storage; The image monitoring module monitors the monitoring area of ​​the front end of the smart door lock to confirm whether there are dynamic moving objects in the monitoring area. If there are dynamic moving objects, the relevant feature points of the dynamic moving objects are determined, the image clarity is analyzed, and the interval distance and feature contours of the dynamic moving objects are determined; The height value confirmation module identifies the specific height of the dynamic moving object based on the interval distance and feature profile of the dynamic moving object confirmed by the front end of the smart door lock, and determines the height of the center point of the face based on the determined specific height; The angle control module determines the interval distance based on the highest clarity of the relevant detection area, determines the optimal face acquisition angle of the smart door lock based on the determined interval distance and the height of the center point of the face, and then determines the adjustment logic of the camera inside the smart door lock based on the movement rate of the dynamic moving object in the relevant detection area.

Citation Information

Patent Citations

  • Control method of intelligent door lock and intelligent door lock

    CN116386192A

  • Intelligent anti-theft door lock based on cam and warning processing method thereof

    CN101440676A

  • Motion pedestrian representation method, identification method and motion pedestrian identification device

    CN104834887A

  • Environmental adaptability face recognition access control system

    CN107292999A

  • Multi-template face automatic input method in face recognition system based on video

    CN110580452A