Living body target detection method and device, storage medium and electronic equipment
By combining the dual identification scheme of PIR sensor and radar, the anti-interference processing technology of radar is used to solve the problem of low in vivo detection accuracy caused by changes in the detection range of PIR sensors, and achieve higher in vivo detection accuracy and reliability.
Patent Information
- Application Number
- CN202411425360.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-12
- Publication Date
- 2024-11-26
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The detection range of PIR sensors varies with the ambient temperature, resulting in low accuracy of live detection. Especially in environments with large temperature changes, it affects the user experience and marketing promotion of live sensing devices.
Combined with the dual identification scheme of PIR sensor and radar, by obtaining the first detection signal of the PIR sensor and the second and third detection signals of the radar, determine whether there is a living target, and use the radar to extract feature information from objects within the preset monitoring range. Generate target indication signals after anti-interference processing to improve the accuracy of live detection.
Through dual verification and anti-interference processing, the accuracy and reliability of live detection are improved, and the problem of reducing the effective detection range caused by environmental factors of PIR sensors is avoided, ensuring the stability and accuracy of live detection.
Smart Images

Figure CN119024328A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of liveness detection, and in particular to a method, device, storage medium and electronic device for detecting a live object. Background Art
[0002] With the development of science and technology, liveness detection technology has been widely used in the fields of biometrics, security monitoring and financial payment. For example, liveness detection is performed through passive infrared (PIR) sensors.
[0003] The PIR sensor can detect infrared radiation emitted by the human body. When the human body enters the detection range of the sensor, the sensor will sense the change in infrared radiation and respond.
[0004] However, the detection range of the PIR sensor changes with the ambient temperature, which causes the perception range of the liveness sensing device to also change with the ambient temperature. For example, the perception range is 8 meters in the early morning of summer, but at noon the perception range is only 2 to 3 meters, resulting in low accuracy of liveness detection. Summary of the invention
[0005] The embodiments of the present application provide a method, device, storage medium and electronic device for detecting a living object, which can improve the accuracy of living object detection.
[0006] In a first aspect, an embodiment of the present application provides a method for detecting a living object, comprising:
[0007] Obtain a first detection signal of a PIR sensor;
[0008] Determining whether the PIR sensor detects a target according to the first detection signal;
[0009] When the PIR sensor detects the target, acquiring a second detection signal of the radar;
[0010] determining whether the radar currently detects the target according to the second detection signal;
[0011] When the radar currently detects the target, determining that a living target exists;
[0012] When the PIR sensor does not detect the target and / or the radar does not currently detect the target, acquiring a third detection signal of the radar;
[0013] It is determined whether there is a living target according to the third detection signal.
[0014] In the living object detection method provided in the embodiment of the present application, the first detection signal is a level signal;
[0015] The determining, according to the first detection signal, whether the PIR sensor detects a target comprises:
[0016] When the first detection signal is a high level signal, determining that the PIR sensor detects a target;
[0017] When the first detection signal is a low level signal, it is determined that the PIR sensor does not detect the target.
[0018] In the living target detection method provided in the embodiment of the present application, the second detection signal is a level signal output by the first pin of the radar;
[0019] The determining, according to the second detection signal, whether the radar currently detects the target comprises:
[0020] When the second detection signal is a high level signal, determining that the radar currently detects the target;
[0021] When the second detection signal is a low level signal, it is determined that the radar has not currently detected the target.
[0022] In the living target detection method provided in the embodiment of the present application, the third detection signal is a level signal output by the second pin of the radar;
[0023] The determining whether there is a living target according to the third detection signal comprises:
[0024] When the third detection signal is a high level signal, it is determined that there is a living target;
[0025] When the third detection signal is a low level signal, it is determined that there is no living object.
[0026] In the living object detection method provided in the embodiment of the present application, before acquiring the third detection signal of the radar, it also includes:
[0027] Performing liveness detection in a preset monitoring range by using the radar;
[0028] A corresponding third detection signal is generated according to the liveness detection result.
[0029] In the living object detection method provided in the embodiment of the present application, performing living object detection in a preset monitoring range by the radar includes:
[0030] Extracting feature information of objects within a preset monitoring range through the radar;
[0031] Determine whether there is a living target within the preset monitoring range according to the feature information.
[0032] In the living object detection method provided in the embodiment of the present application, the feature information includes the movement features, motion state, breathing features, heartbeat features, posture features and / or gesture actions of the object.
[0033] In a second aspect, an embodiment of the present application provides a living object detection device, comprising:
[0034] A first acquisition unit, used to acquire a first detection signal of the PIR sensor;
[0035] a first detection unit, configured to determine whether the PIR sensor detects a target according to the first detection signal;
[0036] A second acquisition unit, configured to acquire a second detection signal of the radar when the PIR sensor detects the target;
[0037] a second detection unit, configured to determine whether the radar currently detects the target according to the second detection signal;
[0038] A first determining unit, configured to determine that a living target exists when the radar currently detects the target;
[0039] A third acquisition unit, configured to acquire a third detection signal of the radar when the PIR sensor does not detect the target and / or the radar does not currently detect the target;
[0040] The second determining unit is used to determine whether there is a living target according to the third detection signal.
[0041] In a third aspect, the present application provides a storage medium storing a plurality of instructions, wherein the instructions are suitable for loading by a processor to execute any of the above-mentioned living object detection methods.
[0042] In a fourth aspect, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the above-described methods for detecting living objects when executing the computer program.
[0043] In summary, the live target detection method provided by the embodiment of the present application is to obtain the first detection signal of the PIR sensor; determine whether the PIR sensor detects the target according to the first detection signal; when the PIR sensor detects the target, obtain the second detection signal of the radar; determine whether the radar currently detects the target according to the second detection signal; when the radar currently detects the target, determine that there is a live target; when the PIR sensor does not detect the target and / or the radar does not currently detect the target, obtain the third detection signal of the radar; determine whether there is a live target according to the third detection signal. This solution can improve the accuracy of live detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0045] Figure 1 It is a flowchart of the living object detection method provided in the embodiment of the present application.
[0046] Figure 2 It is a schematic diagram of the structure of a living object detection device provided in an embodiment of the present application.
[0047] Figure 3 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0049] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. 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 device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.
[0050] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0051] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.
[0052] In the description of the present application, it should be noted that the terms "upper", "lower", "left", "right", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present application. In addition, terms such as "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0053] With the development of science and technology, liveness detection technology has been widely used in smart homes, security monitoring, medical monitoring and other fields. For example, smart induction lights turn on the lights after detecting the approach of human body through PIR sensors, or infrared thermal imagers in hospitals perform liveness detection, positioning and temperature measurement through infrared array sensors. Among them, PIR sensors can only identify whether there are targets with similar body temperatures within the detection range, and there is no infrared data that can be filtered. Compared with infrared array sensors, they are widely used in smart homes due to their low cost and simple use.
[0054] When smart home liveness detection technology was first developed, PIR sensors or radars were usually used. However, PIR sensors can only detect the movement of living things, and cannot detect living things when they are still. Radars detect the human body by detecting tiny movements such as the rise and fall of the chest caused by breathing, and can detect living things even if they are not moving. However, some non-living things such as air conditioners, fans, green plants, and curtains move, and radars cannot distinguish them.
[0055] Based on this, the industry combined the advantages and disadvantages of PIR sensors and radars to create a dual-detection solution of radar and PIR sensors, that is, both radar and PIR sensors detect the target before it is considered a living body. However, the detection range of PIR sensors changes with the ambient temperature, which causes the perception range of living body sensing devices to change with the ambient temperature. For example, the perception range of 8 meters in the early morning in summer is only 2 to 3 meters at noon, which seriously affects the consumer experience. This is the technical pain point of outdoor living body sensing products and seriously affects market promotion and popularization.
[0056] Based on this, the embodiments of the present application provide a method, device, storage medium and electronic device for detecting a living target. The electronic device may be a server, a terminal, a sensor device, etc.; wherein the terminal may include a mobile phone, a wearable smart device, a tablet computer, a laptop computer, and a personal computer (PC), etc.; the server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
[0057] The technical solutions shown in the present application will be described in detail below through specific embodiments. It should be noted that the description order of the following embodiments is not intended to limit the priority order of the embodiments.
[0058] See also Figure 1 , Figure 1 : is a flow chart of a living object detection method provided in an embodiment of the present application. The specific flow of the living object detection method can be as follows:
[0059] 101. Obtain a first detection signal from a PIR sensor.
[0060] As a highly sensitive passive infrared detection device, the PIR sensor can keenly detect subtle changes in infrared radiation within its monitoring area. This sensor can detect infrared radiation emitted by the human body or other heat sources, and can achieve real-time monitoring of the environment without actively emitting infrared rays. Its working principle is based on the change in infrared radiation intensity caused by temperature differences of objects, so it can keenly capture the presence of any moving objects without being noticed.
[0061] In a specific implementation process, the PIR sensor may send out different first detection signals according to whether a target is detected.
[0062] 102. Determine whether the PIR sensor detects a target according to the first detection signal.
[0063] In some embodiments, the first detection signal may be a level signal.
[0064] Specifically, when the first detection signal is a high level signal, it can be determined that the PIR sensor detects the target; when the first detection signal is a low level signal, it can be determined that the PIR sensor does not detect the target.
[0065] 103. When the PIR sensor detects the target, a second detection signal of the radar is acquired.
[0066] It should be noted that when the radar is detecting, it will continuously perform non-static detection on its preset monitoring range to determine whether there are any non-static target objects within the range. Specifically, the radar determines whether there are non-static targets by analyzing whether the energy released by the movement or small movements of the object exceeds the set threshold. However, it should be noted that this method is usually unable to effectively distinguish the target object from surrounding interference objects, such as green plants, air conditioners, etc.
[0067] In an embodiment of the present application, when the PIR sensor detects a target, the second detection signal of the radar can be immediately acquired to more accurately and reliably identify and confirm the target through double verification.
[0068] 104. Determine whether the radar currently detects a target according to the second detection signal.
[0069] The second detection signal is a non-static target indication signal. Specifically, the second detection signal can be a level signal output by the first pin of the radar. When the radar detects a non-static target, a high level signal can be output through the first pin to indicate that the non-static target is detected. When the non-static target is not detected, a low level signal can be output through the first pin to indicate that the non-static target is not detected.
[0070] That is, when the second detection signal is a high level signal, it can be determined that the radar currently detects a target; when the second detection signal is a low level signal, it can be determined that the radar currently does not detect a target.
[0071] 105. When the radar currently detects a target, it is determined that there is a living target.
[0072] It can be understood that when both the radar and the PIR sensor detect the target, it can be confirmed that there is a living target.
[0073] 106. When the PIR sensor does not detect the target and / or the radar currently does not detect the target, obtain a third detection signal of the radar.
[0074] The third detection signal is a target indication signal after anti-interference processing. The target indication signal after anti-interference processing has a delay compared to the non-static target indication signal, but after anti-interference processing, it can accurately identify living targets without false detection under interference from green plants, air conditioners, etc.
[0075] It should be noted that in the embodiment of the present application, anti-interference processing refers to performing liveness detection on a preset monitoring range through radar to eliminate interference signals from green plants, air conditioners, fans, etc., thereby improving the accuracy and reliability of live target detection.
[0076] In a specific implementation, the generation of the third detection signal can be based on the liveness detection result provided by the radar. That is, before obtaining the third detection signal of the radar, it can also include performing liveness detection on a preset monitoring range by the radar; and generating a corresponding third detection signal according to the liveness detection result.
[0077] Among them, performing liveness detection on a preset monitoring range by radar may include extracting feature information of objects within the preset monitoring range by radar; and determining whether there is a live target within the preset monitoring range according to the feature information.
[0078] Specifically, the radar can conduct detailed observation and analysis of the preset monitoring range, and determine whether it is a living body by capturing and analyzing various characteristic information of the object. These characteristic information include but are not limited to the object's movement characteristics, motion state, breathing characteristics, heartbeat characteristics, posture characteristics and / or gesture movements. For example, the radar can identify whether the object is a living target by analyzing its motion trajectory and speed to determine whether it is consistent with the behavioral characteristics of a living body. The radar can also determine whether it is a living target by analyzing the static characteristics of the object such as its height and shape. For example, by judging the height change, body contour and other characteristics of the object, the radar can identify whether it is a living target. Finally, the radar can further confirm whether it is a living target by monitoring the dynamic characteristics of the object, such as swinging arms, walking and other motion characteristics.
[0079] It should be noted that when it is determined that there is a living target within the preset monitoring range, the second pin of the radar can output a high-level third detection signal. When it is determined that there is no living target within the preset monitoring range, the second pin of the radar can output a low-level third detection signal.
[0080] 107. Determine whether there is a living target according to the third detection signal.
[0081] It can be understood that when the third detection signal is a high-level signal, it is determined that a living target exists; and when the third detection signal is a low-level signal, it is determined that no living target exists.
[0082] The first detection signal, the second detection signal and the third detection signal include but are not limited to the level signals provided by the pins, and many other methods can also be considered. For example, the first detection signal, the second detection signal and the third detection signal can be transmitted through various bus systems, such as UART (Universal Asynchronous Receiver / Transmitter). This method allows data exchange between devices through serial communication. In addition, these detection signals can also be obtained directly from the main control software inside the radar sensor. The main control software can monitor the status of the sensor in real time and generate corresponding detection signals. In addition, these signals can also be transmitted to the Internet of Things gateway or cloud server through wireless communication technology. In this way, the detection signals can be remotely processed and analyzed, thereby achieving more efficient data management and monitoring.
[0083] In some embodiments, when the PIR sensor does not detect a target, but the radar detects a living target after anti-interference processing, the effective detection range of the current PIR sensor can be determined based on the distance information of the echo signal after the anti-interference processing of the radar. In addition, the position where the PIR sensor does not detect a target but the radar detects a non-static target can be determined as an interference area.
[0084] It is worth noting that, compared with the first detection signal or the second detection signal, the third detection signal has a slower response speed. Therefore, the solution of performing liveness detection by the third detection signal cannot completely replace the dual-detection solution of the first detection signal and the second detection signal. The embodiment of the present application mainly solves the problem that the dual-detection solution cannot detect live targets due to the reduction of the effective detection range of the PIR sensor due to environmental factors by using the third detection signal.
[0085] In summary, the live target detection method provided by the embodiment of the present application is to obtain the first detection signal of the PIR sensor; determine whether the PIR sensor detects the target according to the first detection signal; when the PIR sensor detects the target, obtain the second detection signal of the radar; determine whether the radar currently detects the target according to the second detection signal; when the radar currently detects the target, determine that there is a live target; when the PIR sensor does not detect the target and / or the radar does not currently detect the target, obtain the third detection signal of the radar; determine whether there is a live target according to the third detection signal. This solution can determine that there is a live target when the PIR sensor detects the target and the radar detects a non-static target, or the third detection signal of the radar detects the target. The former detection responds quickly and identifies and confirms the target more accurately and reliably through double verification. The latter detection can avoid the problem of low accuracy of live detection due to the reduction of the effective detection range of the PIR sensor due to environmental factors. This solution can improve the accuracy of live detection.
[0086] In order to better implement the living object detection method provided in the embodiment of the present application, the embodiment of the present application also provides a living object detection device. The meanings of the terms are the same as those in the above-mentioned living object detection method, and the specific implementation details can refer to the description in the method embodiment.
[0087] See also Figure 2 , Figure 2 201 is a schematic diagram of the structure of a live object detection device provided in an embodiment of the present application. The live object detection device may include a first acquisition unit 201, a first detection unit 202, a second acquisition unit 203, a second detection unit 204, a first determination unit 205, a third acquisition unit 206, and a second determination unit 207.
[0088] A first acquisition unit 201 is used to acquire a first detection signal of a PIR sensor;
[0089] A first detection unit 202, configured to determine whether the PIR sensor detects a target according to a first detection signal;
[0090] A second acquisition unit 203 is used to acquire a second detection signal of the radar when the PIR sensor detects a target;
[0091] A second detection unit 204, used to determine whether the radar currently detects a target according to the second detection signal;
[0092] A first determining unit 205 is used to determine the presence of a living target when the radar currently detects a target;
[0093] A third acquisition unit 206, configured to acquire a third detection signal of the radar when the PIR sensor does not detect the target and / or the radar currently does not detect the target;
[0094] The second determination unit 207 is configured to determine whether there is a living target according to the third detection signal.
[0095] The specific implementation of each of the above units can refer to the above-mentioned embodiment of the living object detection method, which will not be described one by one here.
[0096] In summary, the living object detection device provided by the embodiment of the present application can obtain the first detection signal of the PIR sensor through the first acquisition unit 201; the first detection unit 202 determines whether the PIR sensor detects the target according to the first detection signal; the second acquisition unit 203 obtains the second detection signal of the radar when the PIR sensor detects the target; the second detection unit 204 determines whether the radar currently detects the target according to the second detection signal; the first determination unit 205 determines whether there is a living object when the radar currently detects the target; the third acquisition unit 206 obtains the third detection signal of the radar when the PIR sensor does not detect the target and / or the radar does not currently detect the target; the second determination unit 207 determines whether there is a living object according to the third detection signal. This solution can improve the accuracy of living object detection.
[0097] The present application also provides an electronic device, in which the living object detection device of the present application can be integrated, such as Figure 3 As shown, it shows a schematic diagram of the structure of the electronic device involved in the embodiment of the present application, specifically:
[0098] The electronic device may include components such as a radio frequency (RF) circuit 301, a memory 302 including one or more computer-readable storage media, an input unit 303, a display unit 304, a sensor 305, an audio circuit 306, a wireless fidelity (WiFi) module 307, a processor 308 including one or more processing cores, and a power supply 309. Those skilled in the art will appreciate that Figure 3 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0099] in:
[0100] The RF circuit 301 can be used for receiving and sending signals during the process of sending and receiving information or making calls. In particular, after receiving the downlink information of the base station, it is handed over to one or more processors 308 for processing; in addition, the data related to the uplink is sent to the base station. Usually, the RF circuit 301 includes but is not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (Subscriber Identity Module, SIM) card, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, etc. In addition, the RF circuit 301 can also communicate with the network and other devices through wireless communication. Wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (SMS), etc.
[0101] The memory 302 can be used to store software programs and modules. The processor 308 executes various functional applications and information processing by running the software programs and modules stored in the memory 302. The memory 302 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the memory 302 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 302 may also include a memory controller to provide the processor 308 and the input unit 303 with access to the memory 302.
[0102] The input unit 303 can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, in a specific embodiment, the input unit 303 may include a touch-sensitive surface and other input devices. The touch-sensitive surface, also known as a touch display screen or a touchpad, can collect the user's touch operations on or near it (such as the user's operation on or near the touch-sensitive surface using any suitable object or accessory such as a finger, a stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch-sensitive surface may include a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 308, and can receive and execute the command sent by the processor 308. In addition, the touch-sensitive surface can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic wave. In addition to the touch-sensitive surface, the input unit 303 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, and the like.
[0103] The display unit 304 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device, which can be composed of graphics, text, icons, videos and any combination thereof. The display unit 304 may include a display panel. Optionally, the display panel may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), etc. Further, the touch-sensitive surface may cover the display panel, and when the touch-sensitive surface detects a touch operation on or near it, it is transmitted to the processor 308 to determine the type of touch event, and then the processor 308 provides a corresponding visual output on the display panel according to the type of touch event. Although in Figure 3 In the embodiment, the touch-sensitive surface and the display panel are used as two independent components to realize input and output functions, but in some embodiments, the touch-sensitive surface and the display panel can be integrated to realize input and output functions.
[0104] The electronic device may also include at least one sensor 305, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and / or backlight when the electronic device is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the electronic device, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0105] The audio circuit 306, the speaker, and the microphone can provide an audio interface between the user and the electronic device. The audio circuit 306 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 306 and converted into audio data, and then the audio data is output to the processor 308 for processing, and then sent to another electronic device through the RF circuit 301, or the audio data is output to the memory 302 for further processing. The audio circuit 306 may also include an earplug jack to provide communication between an external headset and the electronic device.
[0106] WiFi is a short-range wireless transmission technology. Electronic devices can help users send and receive emails, browse web pages, and access streaming media through WiFi module 307. It provides users with wireless broadband Internet access. Figure 3 , a WiFi module 307 is shown, but it is understandable that it is not a necessary component of the electronic device and can be omitted as needed without changing the essence of the invention.
[0107] The processor 308 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 302 and calling data stored in the memory 302, it executes various functions of the electronic device and processes data, thereby monitoring the mobile phone as a whole. Optionally, the processor 308 may include one or more processing cores; preferably, the processor 308 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 308.
[0108] The electronic device also includes a power supply 309 (such as a battery) for supplying power to each component. Preferably, the power supply can be logically connected to the processor 308 through a power management system, so that the power management system can manage charging, discharging, and power consumption management. The power supply 309 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0109] Although not shown, the electronic device may also include a camera, a Bluetooth module, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 308 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 302 according to the following instructions, and the processor 308 will run the application programs stored in the memory 302, thereby realizing various functions, such as:
[0110] Obtain a first detection signal of a PIR sensor;
[0111] Determining whether the PIR sensor detects a target according to the first detection signal;
[0112] When the PIR sensor detects a target, a second detection signal of the radar is obtained;
[0113] determining whether the radar currently detects a target according to the second detection signal;
[0114] When the radar currently detects a target, it is determined that there is a living target;
[0115] When the PIR sensor does not detect the target and / or the radar currently does not detect the target, acquiring a third detection signal of the radar;
[0116] Determine whether a living target exists based on the third detection signal.
[0117] In summary, the electronic device provided by the embodiment of the present application can obtain the first detection signal of the PIR sensor; determine whether the PIR sensor detects the target according to the first detection signal; when the PIR sensor detects the target, obtain the second detection signal of the radar; determine whether the radar currently detects the target according to the second detection signal; when the radar currently detects the target, determine whether there is a living target; when the PIR sensor does not detect the target and / or the radar does not currently detect the target, obtain the third detection signal of the radar; determine whether there is a living target according to the third detection signal. This solution can determine that there is a living target when the PIR sensor detects the target and the radar detects a non-static target, or the third detection signal of the radar detects the target. The former detection responds quickly and identifies and confirms the target more accurately and reliably through double verification. The latter detection can avoid the problem of low accuracy of live detection due to the reduction of the effective detection range of the PIR sensor due to environmental factors. This solution can improve the accuracy of live detection.
[0118] In the above embodiments, the description of each embodiment has its own emphasis. For the part that is not described in detail in a certain embodiment, please refer to the detailed description of the living object detection method above, and will not be repeated here.
[0119] It should be noted that, for the live target detection method in the embodiment of the present application, those skilled in the art can understand that all or part of the processes of the live target detection method in the embodiment of the present application can be completed by controlling the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, such as stored in a memory of an electronic device, and executed by at least one processor in the electronic device. During the execution process, it may include the processes of the embodiment of the live target detection method.
[0120] For the living object detection device of the embodiment of the present application, its various functional modules can be integrated into a processing chip, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.
[0121] To this end, an embodiment of the present application provides a storage medium in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the living object detection methods provided in the embodiments of the present application. The storage medium may be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), etc.
[0122] The above respectively introduces in detail the living target detection method, device, storage medium and electronic device provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the core idea of the present application; at the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for detecting a living object, characterized in that: include: Obtain a first detection signal of a PIR sensor; Determining whether the PIR sensor detects a target according to the first detection signal; When the PIR sensor detects the target, acquiring a second detection signal of the radar; determining whether the radar currently detects the target according to the second detection signal; When the radar currently detects the target, determining that a living target exists; When the PIR sensor does not detect the target and / or the radar does not currently detect the target, acquiring a third detection signal of the radar; It is determined whether there is a living target according to the third detection signal.
2. The method for detecting a living object according to claim 1, wherein: The first detection signal is a level signal; The determining, according to the first detection signal, whether the PIR sensor detects a target comprises: When the first detection signal is a high level signal, determining that the PIR sensor detects a target; When the first detection signal is a low level signal, it is determined that the PIR sensor does not detect the target.
3. The method for detecting a living object according to claim 1, wherein: The second detection signal is a level signal output by the first pin of the radar; The determining, according to the second detection signal, whether the radar currently detects the target comprises: When the second detection signal is a high level signal, determining that the radar currently detects the target; When the second detection signal is a low level signal, it is determined that the radar has not currently detected the target.
4. The method for detecting a living object according to claim 1, wherein: The third detection signal is a level signal output by the second pin of the radar; The determining whether there is a living target according to the third detection signal comprises: When the third detection signal is a high level signal, it is determined that there is a living target; When the third detection signal is a low level signal, it is determined that there is no living object.
5. The method for detecting a living object according to claim 1, wherein: Before acquiring the third detection signal of the radar, the method further includes: Performing liveness detection in a preset monitoring range by using the radar; A corresponding third detection signal is generated according to the liveness detection result.
6. The method for detecting a living object according to claim 5, wherein: Performing liveness detection in a preset monitoring range by using the radar includes: Extracting feature information of objects within a preset monitoring range through the radar; Determine whether there is a living target within the preset monitoring range according to the feature information.
7. The method for detecting a living object according to claim 6, wherein: The characteristic information includes movement characteristics, motion state, breathing characteristics, heartbeat characteristics, posture characteristics and / or gesture actions of the object.
8. A living object detection device, characterized in that: include: A first acquisition unit, used to acquire a first detection signal of the PIR sensor; a first detection unit, configured to determine whether the PIR sensor detects a target according to the first detection signal; A second acquisition unit, configured to acquire a second detection signal of the radar when the PIR sensor detects the target; a second detection unit, configured to determine whether the radar currently detects the target according to the second detection signal; A first determining unit, configured to determine that a living target exists when the radar currently detects the target; A third acquisition unit, configured to acquire a third detection signal of the radar when the PIR sensor does not detect the target and / or the radar does not currently detect the target; The second determining unit is used to determine whether there is a living target according to the third detection signal.
9. A storage medium, characterized in that: The storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the living object detection method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for detecting a living object according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Human body detection method, device and system, composite sensor and storage medium
CN113296163A
Human body detection method and device and storage medium
CN117705295A
Low-power-consumption human body existence detection equipment, system and method
CN118050717A
Double-amplitude-discrimination low-power-consumption human body micro-motion detection method and detector
CN118625408A
Prepration method of antibiotic slipper for hospital use containing a new antibiotic material, d2p
KR1020240170767A
