Low-power-consumption access control method and system based on automatic focusing
By introducing automatic focus technology and low power consumption management into smart door locks, the problems of small face recognition range, low efficiency and large late-night standby power consumption are solved, and a larger range of face recognition and lower standby power are achieved. Consumption.
Patent Information
- Application Number
- CN202411567183.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-02-18
AI Technical Summary
The existing smart door locks have a small face recognition range, low efficiency, and have a large late-night standby power consumption.
Adopt low-power access control control method based on autofocus, through the TOF module and the zoom camera, select the working mode according to real-time moments, monitor interrupt events in real time, adjust the camera focal length, realize face recognition, and turn off the SOC module power supply in late night mode to reduce power consumption.
It expands the range of facial recognition, improves recognition efficiency, reduces late-night standby power consumption, and extends battery life.
Smart Images

Figure CN119479131A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of security product control, and in particular to a low-power access control method and system based on automatic focusing. Background Art
[0002] The basic implementation scheme of existing smart door locks is that the main control platform is equipped with an infrared sensing module and a fixed-focus camera. The working mode is that when a person approaches the door lock, the infrared sensing module immediately wakes up the entire door lock, and the person must reach the designated area of the door lock to effectively recognize the face. The effective face recognition distance of this technology is within 1 meter. If the person stands far or close, it is difficult for the camera to clearly recognize the face, so the person needs to constantly adjust the position to successfully recognize the face, and the recognition efficiency is low. In addition, the actual working time of the entire system of the existing smart door lock is very short, because the entire system only enters the working state when the person goes home to unlock and open the door. When there is no one else, the entire system is in the standby detection state. Among many SOC products, the standby power of SOC is basically around 0.2W. Therefore, when the existing smart door lock is unmanned late at night, the standby power consumption also includes the continuous standby power consumption of the main control platform SOC, resulting in a large standby power consumption of the existing smart door lock late at night.
[0003] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0004] The main purpose of the present invention is to provide a low-power access control method and system based on auto-focus, aiming to solve the problems of small face recognition range, low face recognition efficiency and high power consumption in late-night standby mode in existing intelligent access control systems.
[0005] To achieve the above-mentioned object of the invention, the present invention provides a low-power access control method based on auto-focus, and the low-power access control method based on auto-focus includes:
[0006] Selecting a working mode of the smart access control system according to the real time, wherein the working mode includes a day mode and a late night mode;
[0007] Monitor in real time whether an interruption event occurs, and when an interruption event is detected, feedback the interruption event and detect the human body distance corresponding to the interruption event;
[0008] In response to the interrupt event, the SOC module is controlled to enter a working state according to the working mode;
[0009] According to the human body distance, adjusting the focal length of the variable-focus camera;
[0010] The zoom camera can be used to recognize human faces after adjusting the focal length, and the door can be unlocked based on the face recognition results.
[0011] Optionally, the selecting of the working mode of the intelligent access control according to the real time specifically includes:
[0012] Get the real time through the real-time clock;
[0013] When the real time is within the first time interval, selecting the day mode;
[0014] When the real time is within the second time interval, selecting the late night mode;
[0015] Wherein, in the daytime mode, the SOC module is in standby state when not in operation; and in the late night mode, the SOC module is shut down when not in operation.
[0016] Optionally, the monitoring whether an interruption event occurs, and when an interruption event is detected, feeding back the interruption event, and detecting a human body distance corresponding to the interruption event, specifically includes:
[0017] The TOF module is used to monitor in real time whether an interruption event occurs. When a human body approaches the access control, the emitted light pulse of the TOF module is blocked and reflected by the human body, and an interruption event is detected;
[0018] When an interrupt event is detected, the interrupt event is fed back to the MCU module;
[0019] According to the time difference between the emitted light pulse and the reflected light pulse, the human body distance corresponding to the interruption event is calculated, and the human body distance is the distance between the human body and the access control;
[0020] The human body distance corresponding to the interruption event is fed back to the SOC module.
[0021] Optionally, responding to the interrupt event and controlling the SOC module to enter a working state according to the working mode specifically includes:
[0022] Responding to the interrupt event through the MCU module, and controlling the SOC module to enter a working state according to the working mode;
[0023] In the day mode, the MCU module wakes up the standby SOC module and controls the SOC module to enter the working state;
[0024] In the late night mode, the MCU module controls the shutdown SOC module to start up, and controls the SOC module to enter a working state.
[0025] Optionally, adjusting the focal length of the variable-focus camera according to the human body distance specifically includes:
[0026] Through the SOC module, the human body distance corresponding to the interruption event is processed and analyzed to obtain corresponding focal length information;
[0027] The focal length of the variable-focus camera is adjusted according to the focal length information.
[0028] Optionally, the step of performing face recognition on a human body by using a zoom camera with a focal length adjusted, and controlling whether to unlock a door according to the face recognition result specifically includes:
[0029] The zoom camera with adjusted focal length is used to perform face recognition on the human body, and the door is unlocked or not according to the face recognition result;
[0030] If the face recognition result is successful, the door is unlocked;
[0031] If the face recognition result fails, the access control panel remains locked.
[0032] To achieve the above-mentioned purpose of the invention, the present invention also provides a low-power access control system based on auto-focus, which is applied to the low-power access control method based on auto-focus as described above. The low-power access control system based on auto-focus includes: a TOF module, an MCU module, a SOC module and a zoom camera. The TOF module, the MCU module and the zoom camera are respectively connected to the SOC module, and the SOC module is also connected to a display screen, a real-time clock, a speaker, a button, a memory and WIFI.
[0033] Optionally, the TOF module is used to monitor interruption events in real time, feed back the monitored interruption events to the MCU module, and detect the human body distance corresponding to the interruption event and feed back the human body distance to the SOC module.
[0034] Optionally, the MCU module is used to select day mode or late night mode according to the real time obtained by the real-time clock, control the SOC module to standby or shut down when it is not working, and respond to the interrupt event detected by the TOF module to control the shut down SOC module to start up or wake up the standby SOC module to make the SOC module enter the working state.
[0035] Optionally, the SOC module is used to process and analyze the human body distance corresponding to the interrupt event fed back by the TOF module, obtain corresponding focal length information, and adjust the focal length of the variable-focus camera according to the focal length information.
[0036] In the present invention, the working mode of the intelligent access control is selected according to the real time, and the working mode includes a day mode and a late night mode; real-time monitoring of whether an interruption event occurs, when an interruption event is detected, the interruption event is fed back, and the human body distance corresponding to the interruption event is detected; in response to the interruption event, the SOC module is controlled to enter the working state according to the working mode; according to the human body distance, the focal length of the zoom camera is adjusted; the human body is recognized by the zoom camera after the focal length is adjusted, and the access control is controlled whether it is unlocked according to the face recognition result. The present invention realizes the intelligent dynamic adjustment of the focal length according to the human body distance through the TOF module and the zoom camera, expands the face recognition range, improves the face recognition efficiency, and increases the user experience, and solves the existing intelligent door lock. The problem that the person standing far or near cannot focus clearly and needs to constantly adjust the position, the face recognition range is small and the efficiency is low; through the TOF module and the MCU module, the SOC module is turned off when no one is at night, and turned on again when someone is there, effectively reducing the late-night standby power consumption of the entire system, improving the battery life of the system, and solving the problem of large standby power consumption of the existing intelligent door lock at night. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a flow chart of the existing intelligent door lock control solution;
[0038] Figure 2 It is a flow chart of a preferred embodiment of the low-power access control method based on automatic focusing of the present invention;
[0039] Figure 3 is another flow chart of a preferred embodiment of the low-power access control method based on automatic focusing of the present invention;
[0040] Figure 4 It is a structural diagram of a preferred embodiment of the low-power access control system based on automatic focusing of the present invention;
[0041] Figure 5 is another structural diagram of a preferred embodiment of the low-power access control system based on automatic focusing of the present invention;
[0042] Figure 6 It is a structural schematic diagram of the door lock of the present invention. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0044] The basic implementation scheme of existing smart door locks is that the main control platform is equipped with an infrared sensing module and a fixed-focus camera. The working mode is that when a person approaches the door lock, the infrared sensing module immediately wakes up the entire door lock, and the person must reach the designated area of the door lock to effectively recognize the face. The effective face recognition distance of this technology is within 1 meter. If the person stands far or close, the camera cannot focus clearly, making it difficult to clearly recognize the face, so that the person needs to constantly adjust the position to successfully recognize the face, and the recognition efficiency is low. In addition, the actual working time of the entire system of the existing smart door lock is very short, because the entire system only enters the working state when the person goes home to unlock and open the door. When there is no one else, the entire system is in the standby detection state. Among many SOC products, the standby power of SOC is basically around 0.2W. Therefore, when the existing smart door lock is unmanned late at night, the standby power consumption also includes the continuous standby power consumption of the main control platform SOC, resulting in a large standby power consumption of the existing smart door lock late at night.
[0045] like Figure 1 As shown, the existing smart door lock control solution uses an infrared sensing module to monitor interruption events. If no interruption event is detected, the system remains in standby mode. If an interruption event is detected, the system is awakened, the SOC enters the working state, and face recognition is performed through a fixed-focus camera. The basic identity information of the person is displayed on the display screen. After successful face recognition, the lock is controlled to be unlocked.
[0046] In order to solve the above technical problems, the present invention provides a low-power access control method based on automatic focus, which selects the working mode of the intelligent access control according to the real time, and the working mode includes day mode and late night mode; monitors in real time whether an interruption event occurs, and when an interruption event is detected, feeds back the interruption event, and detects the human body distance corresponding to the interruption event; responds to the interruption event, controls the SOC module to enter the working state according to the working mode; adjusts the focal length of the zoom camera according to the human body distance; performs face recognition on the human body through the zoom camera after adjusting the focal length, and controls whether the access control is unlocked according to the face recognition result. The present invention uses a TOF module and a variable-focus camera to realize intelligent and dynamic adjustment of the focal length according to the distance from the human body, thereby expanding the face recognition range, improving the face recognition efficiency, and increasing the user experience, solving the problem that the existing smart door lock cannot focus clearly when the person is standing far or near and needs to constantly adjust the position, and the face recognition range is small and the efficiency is low; through the TOF module and the MCU module, the SOC module is shut down when no one is around late at night and turned on again when someone is around, effectively reducing the late-night standby power consumption of the entire system, and improving the battery life of the system, solving the problem of high standby power consumption of the existing smart door lock late at night.
[0047] The application content is further explained below through the description of embodiments in conjunction with the accompanying drawings.
[0048] A preferred embodiment of the low-power access control method based on automatic focusing of the present invention is as follows: Figure 2 and 3 As shown, specifically including:
[0049] S1: Selecting a working mode of the smart access control system according to the real time, wherein the working modes include a day mode and a midnight mode.
[0050] In an implementation of this embodiment, selecting the working mode of the smart access control according to the real time specifically includes:
[0051] Get the real time through the real-time clock;
[0052] When the real time is within the first time interval, selecting the day mode;
[0053] When the real time is within the second time interval, selecting the late night mode;
[0054] Wherein, in the daytime mode, the SOC module is in standby state when not in operation; and in the late night mode, the SOC module is shut down when not in operation.
[0055] Specifically, in the existing smart door locks, when no interruption event is detected, the SOC module is always in standby mode. Among many SOC products, the standby power of the SOC module is basically around 0.2W. In fact, the entire door lock system is actually working for a very short time, because the entire door lock system only enters the working state when people return home to unlock the door. When no one is around, the entire door lock system is in standby detection mode. Therefore, when no one is around late at night, the standby power consumption of the existing smart door locks also includes the continuous standby power consumption of the SOC module of the main control platform, which results in a large standby power consumption of the existing smart door locks late at night. Based on this, the present invention divides the working modes of the smart door lock into daytime mode and late night mode. The daytime mode is the normal mode, the MCU module controls the normal power supply of the SOC module, and the SOC module remains in standby state; in the late night mode, the MCU module controls to disconnect the power supply of the SOC module, and the SOC module is shut down, that is, it is in a full power-off mode. When the TOF module detects an interrupt event, the MCU module responds to the interrupt event, controls the restoration of power supply to the SOC module, and quickly starts the SOC module to enter the working state. At the same time, the display screen driven by the SOC module also lights up quickly to assist the interaction of face recognition, and can display the face recognition identity information of the visitor.
[0056] Among them, the first working interval and the second working interval are set according to the specific application scenario, such as setting the first working interval to 6 am to 12 am, and the second working interval to 12 am to 6 am. The present invention sets two working modes, because the access control system will be frequently used during the day, if only a single late night mode is adopted, the SOC module will be turned on for a long time, which will affect the product experience, so it is necessary to design a day mode and a late night mode. When the set time is reached, the MCU module will automatically pull up the power of the SOC module to enter the day mode, so that when someone approaches the door lock, the SOC module can quickly enter the unlocking focus processing state. When no one is at night, only the TOF module and the MCU module need to be powered normally, and the SOC module does not need to be powered to work. The power in the MCU standby mode is about 0.05W. The MCU module with lower power consumption is introduced to perform the monitoring task when no one is there, and the SOC module does not need to perform standby monitoring. The standby power of the MCU module and the TOF module is much lower than the standby power of the conventional SOC module, thereby greatly extending the battery life and realizing more intelligent power management. Through the above design, a better experience of product battery life can be achieved without affecting the experience of regular unlocking of the product.
[0057] S2: monitor in real time whether an interruption event occurs, and when an interruption event is detected, feedback is given of the interruption event, and a human body distance corresponding to the interruption event is detected.
[0058] In an implementation of this embodiment, the monitoring of whether an interruption event occurs, feeding back the interruption event when an interruption event is detected, and detecting a human body distance corresponding to the interruption event specifically includes:
[0059] S21: monitor in real time whether an interruption event occurs through the TOF module. When a human body approaches the access control, the emitted light pulse of the TOF module is blocked and reflected by the human body, and an interruption event is detected;
[0060] S22: When an interrupt event is detected, the interrupt event is fed back to the MCU module;
[0061] S23: Calculate the human body distance corresponding to the interruption event according to the time difference between the emitted light pulse and the reflected light pulse, where the human body distance is the distance between the human body and the access control system;
[0062] S24: Feedback the human body distance corresponding to the interruption event to the SOC module.
[0063] Specifically, the basic working principle of TOF (Time of Flight) is to convert the time of the emitted light pulse and the reflected light pulse reflected by the obstruction to obtain the distance of the obstacle. If the TOF module receives the reflected light pulse, it means that there is an obstacle in front, which means that an interruption event has been detected; if the TOF module does not receive the reflected light pulse, it means that there is no obstacle in front, which means that no interruption event has been detected. The present invention makes full use of the distance detection function of the TOF module, cooperates with the low-power MCU module, and designs and implements that in the late night mode, as long as the MCU module and the TOF module are powered normally, when someone approaches, the TOF module detects the interruption event and feeds back to the MCU module, and the MCU module quickly controls the SOC module to start up and enter the working state. The standby power of the MCU module and the TOF module is much lower than the standby power of the conventional SOC module, thereby improving the battery life. The TOF module detects the distance from the human body and feeds back to the SOC module. The SOC module adjusts the focal length of the zoom camera according to the distance from the human body, thereby realizing face recognition at a farther or closer distance with the zoom camera, which greatly increases the user experience of the device. The face recognition distance of the zoom camera has basically reached 5 meters, which is a greater advantage than the traditional fixed-focus camera, which can only recognize faces within a range of 1 meter. It has a larger face recognition range and does not require people to constantly adjust their positions to successfully recognize faces. It is more intelligent, convenient and flexible, and the face recognition efficiency is higher.
[0064] S3: responding to the interrupt event and controlling the SOC module to enter a working state according to the working mode.
[0065] In an implementation of this embodiment, responding to the interrupt event and controlling the SOC module to enter a working state according to the working mode specifically includes:
[0066] Responding to the interrupt event through the MCU module, and controlling the SOC module to enter a working state according to the working mode;
[0067] In the day mode, the MCU module wakes up the standby SOC module and controls the SOC module to enter the working state;
[0068] In the late night mode, the MCU module controls the shutdown SOC module to start up, and controls the SOC module to enter a working state.
[0069] Specifically, considering that the standby power of the MCU module in the standby state is much lower than that of the SOC module, the present invention uses a lower power MCU module to perform monitoring tasks when no one is around, without the need for the SOC module to perform standby monitoring, thereby reducing standby power consumption and improving battery working time. It should be noted that if only a single late night mode is used, the long startup time of the SOC module will affect the product experience, so it is necessary to design a day mode and a late night mode. In the day mode, the SOC module is on standby, and when an interrupt event is detected, the MCU module responds to the interrupt event and wakes up the standby SOC module to enter the working state. In the late night mode, the MCU module turns off the power supply of the SOC module, the SOC module is turned off, and the MCU module monitors whether the TOF module has a feedback interrupt event at all times. When an interrupt event is detected, the MCU module responds to the interrupt event, and the MCU module turns on the power supply of the SOC module, allowing the SOC module to start up and enter the working state. The design of the two modes makes the standby power consumption of the entire system lower and the battery working time longer.
[0070] S4: adjusting the focal length of the variable-focus camera according to the human body distance.
[0071] In an implementation of this embodiment, adjusting the focal length of the variable-focus camera according to the human body distance specifically includes:
[0072] S41: Processing and analyzing the human body distance corresponding to the interruption event through the SOC module to obtain corresponding focal length information;
[0073] S42: Adjusting the focal length of the variable-focus camera according to the focal length information.
[0074] Specifically, the SOC module is the processing center of the entire design. It mainly processes the human body distance information fed back by the TOF module, obtains the focal length information corresponding to the human body distance information, and then dynamically adjusts the focal length of the variable-focus camera according to the focal length information to achieve automatic focus between the camera and the person. Because the person's position is far or near each time face recognition is performed, the use of automatic focus technology solves the problem that people have to constantly adjust their standing position for face recognition, making face recognition more intelligent, convenient and flexible, and can basically achieve face recognition within a range of 5 meters, with a larger face recognition range.
[0075] S5: The zoom camera with adjusted focal length is used to perform face recognition on the human body, and whether the door is unlocked is controlled according to the face recognition result.
[0076] In an implementation of this embodiment, the method of performing face recognition on a human body by using a zoom camera with a focal length adjusted, and controlling whether to unlock a door according to the face recognition result, specifically includes:
[0077] S51: Performing face recognition on a human body by adjusting the focal length of the zoom camera, and controlling whether to unlock the door according to the face recognition result;
[0078] S52: If the face recognition result is successful, control the door unlocking;
[0079] S53: If the face recognition result fails, the access control panel remains locked.
[0080] Specifically, after the focal length of the zoom camera is adjusted using the SOC module, the zoom camera and the human body are automatically focused, and face recognition begins. At the same time, the display screen is driven to light up quickly to assist in the interaction of face recognition, and the visitor's face recognition identity information can be displayed. When the face recognition result is successful, the SOC module controls the door lock to unlock, otherwise the door lock remains locked. This discovery realizes a wider range of face recognition smart door lock control.
[0081] To achieve the above-mentioned purpose of the invention, the present invention also provides a low-power access control system based on auto-focus, which is applied to the low-power access control method based on auto-focus as described above, such as Figure 4 As shown, the low-power access control system based on autofocus includes: a TOF module 1, an MCU module 2, a SOC module 3 and a zoom camera 4, the TOF module 1, the MCU module 2 and the zoom camera 4 are respectively connected to the SOC module 3, and the SOC module 3 is also connected to a display screen 5, a real-time clock 6, a speaker 7, a button 8, a memory 9 and a WIFI 10.
[0082] Specifically, the present invention also provides a low-power access control system based on autofocus. On the basis of the existing smart door lock, it introduces a lower-power MCU module for standby monitoring and adds a combination of a TOF module and a zoom camera for automatic zoom adjustment, thereby reducing the standby power consumption of the entire door lock system late at night and expanding the range of face recognition, thereby improving the user experience of the device. It should be noted that a low-power access control system based on autofocus includes a SOC module and a lithium battery. The SOC module is the main control platform, i.e., the processing center. The SOC module is connected to a TOF module, an MCU module, a zoom camera, a display screen, a speaker, a button, a real-time clock, a memory, and WIFI. Among them, the TOF module is used to monitor interrupt events and detect the human body distance corresponding to the interrupt events; the MCU module is used to control the door lock working mode and control the working state / power supply of the SOC module according to the working mode; the zoom camera is used to perform face recognition after the SOC module automatically adjusts the focal length; the display screen is used to display face recognition identity information and provide face recognition interaction; the speaker is used to broadcast prompt sounds; the button is used to manually enter the password; the real-time clock is used to monitor the real time to switch the door lock working mode; the memory is used to store data; the WIFI is used to provide a wireless network; and the lithium battery is used for power supply. In addition, Figure 5 As shown, the input end of the lithium battery 11 is connected to the charging tube 12, the output end of the lithium battery 11 is connected to the input end of the first voltage converter 13 and the input end of the second voltage converter 14, the output end of the first voltage converter 13 is connected to the input end of the TOF module 1 and the input end of the MCU module 2, the output end of the MCU module 2 is connected to the control end of the second voltage converter 14, the output end of the second voltage converter 14 is connected to the input end of the SOC module 3, the output end of the SOC module 3 is connected to the input end of the third voltage converter 15, and the output end of the third voltage converter 15 is connected to the zoom camera 4 and the display screen 5. It can be seen that the MCU module 2 controls the power supply of the SOC module 3, and the SOC module 3 controls the power supply of the zoom camera 4 and the display screen 5. Figure 6 As shown, the TOF module 1 , the zoom camera 4 , the display screen 5 and the button 8 are all arranged on the surface of the door lock 16 .
[0083] In one implementation of this embodiment, the TOF module is used to monitor interruption events in real time, feed back the monitored interruption events to the MCU module, and detect the human body distance corresponding to the interruption event and feed back the human body distance to the SOC module.
[0084] Specifically, the basic working principle of the TOF module is to convert the time using the emitted light pulse and the reflected light pulse reflected by the obstruction, so as to obtain the distance of the obstacle. If the TOF module receives the reflected light pulse, it means that there is an obstacle in front, which means that an interrupt event is detected, and the interrupt event is fed back to the MCU module. The MCU module responds to the interrupt event and controls the SOC module to enter the working state; and detects the human body distance corresponding to the interrupt event, and feeds the human body distance back to the SOC module for processing and analysis to obtain the focal length for adjusting the variable focus camera. The present invention effectively reduces the late-night standby power consumption of the entire system through the TOF module, improves the battery life of the system, and realizes dynamic focusing at the same time, expands the range of face recognition, and improves the efficiency of face recognition.
[0085] In one implementation of this embodiment, the MCU module is used to select day mode or late night mode according to the real time obtained by the real-time clock, control the SOC module to standby or shut down when it is not working, and respond to the interrupt event detected by the TOF module to control the shut down SOC module to start up or wake up the standby SOC module, so that the SOC module enters the working state.
[0086] Specifically, in many SOC products, the standby power of the SOC module is basically around 0.2W, and the power of the MCU module in standby mode is about 0.05W. Therefore, the present invention introduces a lower power consumption MCU module to replace the SOC module to perform monitoring tasks when no one is present, which greatly reduces the standby power consumption of the entire system, thereby increasing the working time of the battery. When the door lock is working, the MCU module needs to be powered normally throughout the whole process. In the daytime mode, the MCU module controls the normal power supply of the SOC module, the SOC module is on standby, and the MCU module always monitors whether the TOF module has a feedback interrupt event. When an interrupt event is detected, the MCU module responds to the interrupt event, and the MCU module wakes up the SOC module to enter the working state. In the late night mode, the MCU module turns off the power supply of the SOC module, the SOC module is shut down, and the MCU module always monitors whether the TOF module has a feedback interrupt event. When an interrupt event is detected, the MCU module responds to the interrupt event, and the MCU module turns on the power supply of the SOC module, allowing the SOC module to start up and enter the working state.
[0087] In one implementation of this embodiment, the SOC module is used to process and analyze the human body distance corresponding to the interrupt event fed back by the TOF module, obtain corresponding focal length information, and adjust the focal length of the variable-focus camera according to the focal length information.
[0088] Specifically, the SOC module (model: HI3751V352) is the processing center of the entire design. It mainly processes the human body distance information fed back by the TOF module, obtains the focal length information corresponding to the human body distance information, and then dynamically adjusts the focal length of the variable-focus camera according to the focal length information to achieve automatic focus between the camera and the person. Because the person's position is far or near each time face recognition is performed, the use of automatic focus technology solves the problem that people have to constantly adjust their standing position for face recognition, making face recognition more intelligent, convenient and flexible, and can basically achieve face recognition within a range of 5 meters, with a larger face recognition range.
[0089] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or terminal including the element.
[0090] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable storage medium that can be read by a computer, and the program can include the processes of the above-mentioned method embodiments when executed. The computer-readable storage medium can be a memory, a disk, an optical disk, etc.
[0091] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A low-power access control method based on auto-focus, characterized in that: The low-power access control method based on auto-focus includes: Selecting a working mode of the smart access control system according to the real time, wherein the working mode includes a day mode and a late night mode; Monitor in real time whether an interruption event occurs, and when an interruption event is detected, feedback the interruption event and detect the human body distance corresponding to the interruption event; In response to the interrupt event, the SOC module is controlled to enter a working state according to the working mode; According to the human body distance, adjusting the focal length of the zoom camera; The zoom camera can be used to recognize human faces after adjusting the focal length, and the door can be unlocked based on the face recognition results.
2. The low-power access control method based on automatic focusing according to claim 1, characterized in that: The method of selecting the working mode of the intelligent access control system according to the real time specifically includes: Get the real time through the real-time clock; When the real time is within the first time interval, selecting the day mode; When the real time is within the second time interval, selecting the late night mode; Wherein, in the daytime mode, the SOC module is in standby state when not in operation; and in the late night mode, the SOC module is shut down when not in operation.
3. The low-power access control method based on automatic focusing according to claim 2, characterized in that: The monitoring whether an interruption event occurs, and when an interruption event is detected, feeding back the interruption event, and detecting a human body distance corresponding to the interruption event, specifically includes: The TOF module is used to monitor in real time whether an interruption event occurs. When a human body approaches the access control, the emitted light pulse of the TOF module is blocked and reflected by the human body, and an interruption event is detected; When an interrupt event is detected, the interrupt event is fed back to the MCU module; According to the time difference between the emitted light pulse and the reflected light pulse, the human body distance corresponding to the interruption event is calculated, and the human body distance is the distance between the human body and the access control; The human body distance corresponding to the interruption event is fed back to the SOC module.
4. The low-power access control method based on automatic focusing according to claim 3, characterized in that: The responding to the interrupt event and controlling the SOC module to enter the working state according to the working mode specifically includes: Responding to the interrupt event through the MCU module, and controlling the SOC module to enter a working state according to the working mode; In the day mode, the MCU module wakes up the standby SOC module and controls the SOC module to enter the working state; In the late night mode, the MCU module controls the shutdown SOC module to start up, and controls the SOC module to enter a working state.
5. The low-power access control method based on automatic focusing according to claim 3, characterized in that: The adjusting the focal length of the variable-focus camera according to the human body distance specifically includes: Through the SOC module, the human body distance corresponding to the interruption event is processed and analyzed to obtain corresponding focal length information; The focal length of the variable-focus camera is adjusted according to the focal length information.
6. The low-power access control method based on automatic focusing according to claim 1, characterized in that: The method of performing face recognition on a human body by using a zoom camera after adjusting the focal length and controlling whether the door is unlocked according to the face recognition result specifically includes: The zoom camera with adjusted focal length is used to perform face recognition on the human body, and the door is unlocked or not according to the face recognition result; If the face recognition result is successful, the door is unlocked; If the face recognition result fails, the access control panel remains locked.
7. A low-power access control system based on auto-focus, applied to the low-power access control method based on auto-focus as claimed in any one of claims 1 to 7, characterized in that: The low-power access control system based on auto-focus includes: a TOF module, an MCU module, a SOC module and a zoom camera, wherein the TOF module, the MCU module and the zoom camera are respectively connected to the SOC module, and the SOC module is also connected to a display screen, a real-time clock, a speaker, a button, a memory and WIFI.
8. The low-power access control system based on auto-focus according to claim 7, characterized in that: The TOF module is used to monitor interruption events in real time, feed back the monitored interruption events to the MCU module, and detect the human body distance corresponding to the interruption event and feed back the human body distance to the SOC module.
9. The low-power access control system based on auto-focus according to claim 8, characterized in that: The MCU module is used to select the day mode or the late night mode according to the real time obtained by the real-time clock, control the SOC module to standby or shut down when it is not working, and respond to the interrupt event detected by the TOF module to control the shutdown SOC module to start up or wake up the standby SOC module, so that the SOC module enters the working state.
10. The low-power access control system based on auto-focus according to claim 8, characterized in that: The SOC module is used to process and analyze the human body distance corresponding to the interrupt event fed back by the TOF module, obtain corresponding focal length information, and adjust the focal length of the variable-focus camera according to the focal length information.