Suspension body detection method, system, device and computer equipment
By obtaining the swing amplitude of the suspended object and intelligently selecting infrared sensors or millimeter wave sensors for human body detection, the problem of detection accuracy caused by the shaking of the suspended object is solved, and high-reliability human presence judgment is achieved in complex environments.
Patent Information
- Application Number
- CN202411702010.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2044-11-25
AI Technical Summary
The shaking of suspended objects causes the accuracy of human detection based on MWR and PIR sensors to decrease, making it difficult to accurately detect the presence of a human under the suspended objects.
By obtaining the swing amplitude of the suspended object, the system intelligently selects an infrared sensor or a millimeter wave sensor for human body detection. The sensor is switched according to the state of the suspended object, and the acceleration sensor is used to judge the state of the suspended object, and the appropriate sensor is selected for human body detection.
It improves the accuracy and reliability of human body detection, solves the impact of suspended object shaking on detection, and ensures accurate human presence judgment in complex environments.
Smart Images

Figure CN119535634B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of human presence detection, in particular to a method, system and device for detecting human presence under a suspended object and a computer device. BACKGROUND
[0002] A human presence detection method refers to a method for detecting and identifying whether a human body exists in a scene by using sensors, computer vision technology or other related technologies. With the development of modern technology, human presence detection technology has become an indispensable part of smart home, security monitoring, industrial automation and other fields. It can accurately and quickly detect whether a human body exists in a specific area, thereby realizing automatic control, human-computer interaction and safety warning functions. At present, human presence detection technology mainly relies on several mature technical solutions, including visual-based human presence detection, infrared sensor-based detection, microwave radar sensor-based detection and biometric feature recognition-based detection.
[0003] However, the current human presence detection technology solution has obvious limitations in certain scenarios. For example, a suspended object refers to an object suspended or floating in the air, usually supported by a suspension device such as a rope, chain or cable. In the use of flexible wire hangers such as chandeliers or other suspended objects, the suspended object may sway due to external factors such as wind or human touch, resulting in false positives of the detection results based on MWR (Millimeter Wave Radar) millimeter wave sensors, such as the small movements of a human body, such as breathing and heartbeat, thereby affecting the accuracy of the detection. Similarly, based on infrared sensors, such as PIR (Passive Infrared Sensor) passive infrared sensors, the solution cannot accurately detect when a human body is stationary, especially when the suspended object is swaying, the PIR passive infrared sensor signal may be more chaotic, making it difficult to distinguish between real human movement and environmental interference.
[0004] To address the above problems, no effective solution has been proposed so far. SUMMARY
[0005] The embodiments of the present application provide a method, system, device and computer device for detecting human presence under a suspended object, to at least solve the technical problem of limitations of using a single sensor to detect human presence.
[0006] According to an aspect of the embodiments of the present application, a method for detecting a human under a suspension object is provided. The method comprises: obtaining a swing amplitude of the suspension object at a current time; determining a state of the suspension object at the current time based on the swing amplitude, wherein the state comprises a first state or a second state, the swing amplitude corresponding to the first state is less than a preset threshold, and the swing amplitude corresponding to the second state is not less than the preset threshold; selecting a target sensor from an infrared sensor and a millimeter wave sensor arranged on the suspension object according to the state at the current time; obtaining a human detection result in a target region at a time prior to the current time; and determining a human detection result in the target region at the current time based on the human detection result in the target region at the time prior to the current time and a detection result of the target sensor at the current time, wherein the human detection result comprises one of the following: a human entering the target region, a human leaving the target region, a human continuously existing in the target region, and no human existing in the target region.
[0007] Optionally, the obtaining of the swing amplitude of the suspension object at the current time comprises: obtaining an acceleration of the suspension object at the current time by using an acceleration sensor arranged on the suspension object; and determining the swing amplitude of the suspension object at the current time based on the acceleration.
[0008] Optionally, the selecting of the target sensor from the infrared sensor and the millimeter wave sensor arranged on the suspension object according to the state at the current time comprises: in a case where the state at the current time is the first state, selecting the millimeter wave sensor as the target sensor.
[0009] Optionally, the selecting of the target sensor from the infrared sensor and the millimeter wave sensor arranged on the suspension object according to the state at the current time comprises: in a case where the state at the current time is the second state, selecting the infrared sensor as the target sensor.
[0010] Optionally, in a case where the target sensor is the infrared sensor, the determining of the human detection result in the target region at the current time based on the human detection result in the target region at the time prior to the current time and the detection result of the target sensor at the current time comprises: in a case where the human detection result at the time prior to the current time is that a human continuously exists in the target region, detecting the target region by using the infrared sensor to obtain the human detection result at the current time, wherein the human detection result at the current time comprises that the human leaves the target region or the human continuously exists in the target region.
[0011] Optionally, in a case where the human detection result at the time prior to the current time is that no human exists in the target region, detecting the target region by using the infrared sensor to obtain the human detection result at the current time, wherein the human detection result at the current time comprises that the human enters the target region or no human exists in the target region.
[0012] Optionally, the human body detection result is recorded and displayed on a preset screen.
[0013] According to another aspect of the embodiments of the present application, a human body detection system under a suspension object is also provided, which adopts any of the above human body detection methods under a suspension object to perform human body detection, and includes an infrared sensor, a millimeter wave sensor, an acceleration sensor, a wireless module and an upper computer, wherein the infrared sensor and the millimeter wave sensor are used to perform human body detection on a target area as target sensors in different states of the suspension object; the acceleration sensor is used to acquire a swing amplitude of the suspension object; the wireless module is used to transmit information between the infrared sensor, the millimeter wave sensor, the acceleration sensor and the upper computer; and the upper computer is used to judge the state of the suspension object and select a target sensor based on the state.
[0014] According to another aspect of the embodiments of the present application, a human body detection device under a suspension object is also provided, which includes: a first acquisition module, configured to acquire a swing amplitude of the suspension object at a current time; a first determination module, configured to determine a state of the suspension object at the current time based on the swing amplitude, wherein the state includes a first state or a second state, the swing amplitude corresponding to the first state is less than a preset threshold, and the swing amplitude corresponding to the second state is not less than the preset threshold; a selection module, configured to select a target sensor from an infrared sensor and a millimeter wave sensor arranged on the suspension object according to the state at the current time; a second acquisition module, configured to acquire a human body detection result in a target area at a time prior to the current time; and a second determination module, configured to determine a human body detection result in the target area at the current time based on the human body detection result in the target area at the time prior to the current time and a detection result of the target sensor at the current time, wherein the human body detection result includes one of the following: a human body entering the target area, a human body leaving the target area, a human body continuously existing in the target area and no human body existing in the target area.
[0015] According to still another aspect of the embodiments of the present application, a non-volatile storage medium is also provided, which includes a stored program, wherein when the program is running, the non-volatile storage medium controls a device where the non-volatile storage medium is located to execute any of the above human body detection methods under a suspension object.
[0016] According to still another aspect of the embodiments of the present application, a computer device is also provided, which includes a processor configured to run a program, wherein when the program is running, the computer device executes any of the above human body detection methods under a suspension object.
[0017] According to still another aspect of the embodiments of the present application, a computer program product is also provided, which includes a computer program, and when the computer program is executed by a processor, the computer program product implements any of the above human body detection methods under a suspension object.
[0018] In the embodiment of the present application, the human body under the suspension object detection method is adopted, the swing amplitude of the suspension object at the current time is obtained; based on the swing amplitude, the state of the suspension object at the current time is determined, wherein the state includes the first state or the second state, the swing amplitude corresponding to the first state is less than the preset threshold, the swing amplitude corresponding to the second state is not less than the preset threshold; according to the state at the current time, the target sensor is selected from the infrared sensor and the millimeter wave sensor arranged on the suspension object; the human body detection result in the target area at the previous time of the current time is obtained; based on the human body detection result in the target area at the previous time of the current time and the detection result of the target sensor at the current time, the human body detection result in the target area at the current time is determined, wherein the human body detection result includes one of the following: the human body enters the target area, the human body leaves the target area, the human body continuously exists in the target area and the target area is not present The human body is detected, the purpose of intelligently selecting the most suitable sensor for human body detection according to the state of the suspension object is achieved, thereby realizing the technical effect of improving the accuracy and reliability of human body detection, and further solving the technical problem that the single sensor has limitations in detecting human body. BRIEF DESCRIPTION OF DRAWINGS
[0019] The drawings described herein are used to provide further understanding of the present application, constitute a part of the present application, the schematic embodiments of the present application and the description thereof are used to explain the present application, and do not constitute improper limitation on the present application. In the drawings:
[0020] Figure 1 A hardware structure block diagram of a computer terminal for realizing the human body under the suspension object detection method is shown;
[0021] Figure 2 It is a flowchart of the human body under the suspension object detection method provided according to the embodiment of the present application;
[0022] Figure 3 It is a logic block diagram of a human body under the suspension object detection method provided according to the optional embodiment of the present application;
[0023] Figure 4 It is a structure block diagram of the human body under the suspension object detection system provided according to the embodiment of the present application;
[0024] Figure 5 It is a structure block diagram of the human body under the suspension object detection device provided according to the embodiment of the present application. DETAILED DESCRIPTION
[0025] In order to better understand the technical scheme of the present application, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts should fall within the scope of the present application.
[0026] It should be noted that the terms "first", "second" and the like in the description and claims of the present application and the above-described accompanying drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0027] According to an embodiment of the present application, a method for detecting a human body under a suspended object is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described herein can be executed in an order different from that shown herein.
[0028] The method provided by the embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 A hardware structure block diagram of a computer terminal for implementing the method for detecting a human body under a suspended object is shown. As shown in Figure 1 The computer terminal 10 can include one or more processors (processors can include but are not limited to processing devices such as microprocessors MCU or programmable logic devices FPGA) 102a, 102b, …, 102n shown in the figure, a memory 104 for storing data. In addition, it can also include a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which can be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. Those skilled in the art can understand that Figure 1 The structure shown is only schematic, which does not limit the structure of the above-mentioned electronic device. For example, the computer terminal 10 can include more or fewer components than those shown in Figure 1 the figure, or have different structures from those shown in the figure.Figure 1 different configurations.
[0029] It should be noted that the one or more processors and / or other data processing circuitry described above can be referred to herein generally as "data processing circuitry". The data processing circuitry can be embodied in whole or in part as software, hardware, firmware, or any combination thereof. In addition, the data processing circuitry can be a single standalone processing module, or incorporated in whole or in part within any one of the other elements of the computer terminal 10. As referred to in the embodiments of the present application, the data processing circuitry serves as a processor to control, for example, the selection of the variable resistance terminal path connected to the interface.
[0030] The memory 104 can be used to store software programs of application software and modules, such as the program instructions / data storage device corresponding to the human body detection method under the suspension object in the embodiments of the present application. The processor executes the software programs and modules stored in the memory 104 to perform various functional applications and data processing, i.e., to implement the human body detection method under the suspension object of the application program described above. The memory 104 can include a high-speed random access memory, and can also include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some examples, the memory 104 can further include a memory disposed remotely with respect to the processor, and these remote memories can be connected to the computer terminal 10 through a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0031] The display can be, for example, a liquid crystal display (LCD) in the form of a touch screen, which can enable a user to interact with the user interface of the computer terminal 10.
[0032] Figure 2 is a flowchart of the human body detection method under the suspension object provided according to the embodiments of the present application, as shown in Figure 2 The method comprises the following steps:
[0033] Step S201, obtaining the swing amplitude of the suspension object at the current time.
[0034] In this step, obtaining the swing amplitude of the suspended object at the current time is realized based on the analysis of the acceleration change. When the suspended object (such as a chandelier suspended by a flexible wire) swings due to external factors, the swing will cause a change in acceleration. By analyzing the change in acceleration, the swing amplitude of the suspended object can be inferred. The detection of the acceleration change of the suspended object can be realized by an acceleration sensor, an accelerometer, or the swing amplitude can be directly detected by a displacement sensor. The collected acceleration signal can be pre-processed first, including filtering and amplification, to eliminate noise and make the signal clearer. Then, the signal is integrated to convert the acceleration into velocity and further convert the velocity into displacement, so as to determine the swing amplitude of the suspended object. In the signal integration process, by calculating the integral of the acceleration change of the suspended object within a swing period, the relative displacement of the suspended object between the current time and the static time can be obtained. This displacement value is the swing amplitude of the suspended object.
[0035] In step S202, based on the swing amplitude, the state of the suspended object at the current time is determined, wherein the state includes a first state or a second state, the swing amplitude corresponding to the first state is less than a preset threshold, and the swing amplitude corresponding to the second state is not less than the preset threshold.
[0036] In this step, considering that in the actual environment, the suspended object cannot be absolutely static, and there is a detection sensitivity of the sensor itself, a reasonable judgment threshold can be set according to the sensitivity of the sensor. When the detected swing amplitude is lower than the threshold, the system judges that the suspended object is in the first state, that is, the relative static state. In this case, the millimeter wave (MWR) sensor will be responsible for human presence detection. The MWR sensor utilizes the Doppler effect, which can detect the presence of a human body even when the human body is static by detecting small breathing or heartbeat movements. On the contrary, when the detected swing amplitude exceeds the threshold, the system judges that the suspended object is in the second state, that is, the moving state. Since the MWR sensor cannot accurately distinguish the human static signal when it is moving, the system will switch to the infrared sensor for human detection at this time. The infrared sensor is better at detecting large movements or changes in infrared radiation, and is suitable for human presence detection when the suspended object is swinging. For example, the swing amplitude threshold can be set to 1 cm away from the static position. When the swing amplitude of the suspended object exceeds 1 cm, it exceeds the detection sensitivity of the sensor, so the object is swinging needs to be reported.
[0037] In step S203, according to the state at the current time, a target sensor is selected from the infrared sensor and the millimeter wave sensor arranged on the suspended object.
[0038] In this step, based on the state of the suspended object at the current time, the system can intelligently select the most suitable sensor for human body detection in the current environment. When the suspended object is in a stationary state, the millimeter wave (MWR) sensor becomes the first choice. The MWR sensor is based on the Doppler effect and can detect the presence of a human body without relying on the movement of the target object. Even if the human body is stationary, it can also judge the presence of the human body by identifying the slight vital sign movements (such as breathing and heartbeat). Therefore, when the suspended object is stationary, the MWR sensor can provide the most accurate human presence detection. When the suspended object is in a moving state, the infrared sensor will be enabled. The infrared sensor detects the change of infrared radiation to judge the movement of the object, and is particularly suitable for detecting human bodies with large movement amplitude. Since the MWR sensor will consider all received signal changes as the movement of the target object when it is moving itself, it may lead to misjudgment of the human presence state, so when the suspended object is moving, the system will switch to the infrared sensor, which will be responsible for human presence detection. The host computer can intelligently select the most suitable sensor for human presence detection in a dynamic environment (such as the suspended object swinging due to external factors) according to the state of the suspended object. This design not only improves the adaptability and robustness of the system in complex environments, but also ensures that the accuracy of human presence detection is not affected by the moving state of the suspended object.
[0039] Step S204, obtaining the human body detection result in the target area at the previous time of the current time.
[0040] In this step, during the operation of the system, the human presence state of the target area can be continuously recorded. This state is based on the output result of the human presence sensor used at the previous time. The system will save the latest detection result as a reference for judging the human presence state when the suspended object is moving. Since the principle of the infrared sensor in the target sensor is to judge whether there is a human body based on the change of temperature, if there are other heat sources in the environment, it may affect the detection of the infrared sensor and cause misjudgment. For example, there is actually no human body in the target area, but there are other heat sources, the infrared sensor may incorrectly judge that there is a human body in the target area. Therefore, before using the target sensor, it is necessary to make a judgment based on the human presence at the previous time.
[0041] Step S205, based on the human body detection result in the target area at the previous time of the current time, and the detection result of the target sensor at the current time, determining the human body detection result in the target area at the current time, wherein the human body detection result includes one of the following: a human body enters the target area, a human body leaves the target area, a human body continuously exists in the target area, and no human body exists in the target area.
[0042] In this step, the target area refers to a specific space monitored by the sensor, which is directly related to human body presence detection. The target area can refer to a certain space range below the luminaire, or the area around other suspended objects, depending on the installation location and detection range of the sensor. The human body detection results can include the following types: human body entering the target area, when the human body (the whole head and body, which can not include limbs) first enters the target area, the system recognizes the presence of a new human body; human body leaving the target area, when the human body (the whole head and body, which can not include limbs) leaves the target area, the system recognizes that the original human body has disappeared; human body continuously present in the target area, when the human body remains stationary or moves within the target area, the system can continuously recognize the presence of the human body; no human body in the target area, the system does not detect any human body in the target area. The human body detection results received by the upper computer can be used for subsequent control and decision-making, such as automatic lighting system switching control, safety alarm system activation, etc. Through accurate human body presence detection, the system can achieve intelligent response, improve energy efficiency, and enhance user safety and comfort.
[0043] Through the above steps, the purpose of intelligently selecting the most suitable sensor for human body detection according to the state of the suspended object is achieved, thereby realizing the technical effect of improving the accuracy and reliability of human body detection, and further solving the technical problem of the limitation of using a single sensor to detect human body presence.
[0044] As an optional embodiment, the swing amplitude of the suspended object at the current time is obtained, including: using an acceleration sensor arranged on the suspended object to obtain the acceleration of the suspended object at the current time; based on the acceleration, determining the swing amplitude of the suspended object at the current time.
[0045] Optionally, the acceleration of the suspended object can be detected using an acceleration sensor. The acceleration sensor is used to measure the acceleration change of an object in three axial directions, and can detect tilting, shaking, rotation or swinging. When the object swings, the acceleration sensor can detect the acceleration change of the object during the swinging process. By integrating the acceleration signal, the speed and displacement information of the object can be obtained, thereby determining the swing amplitude, which has been widely used in smartphones, tablets, game controls, automotive airbag systems and various industrial applications.
[0046] In addition, other types of sensors can also be considered for detecting the motion state of the suspended object. For example, a displacement sensor can be used, which can directly measure the displacement of the suspended object relative to a stationary position, rather than just acceleration. This approach may provide more intuitive swing amplitude information in some cases, helping to simplify the data processing process. However, the real-time response speed of the displacement sensor may not be as fast as that of the acceleration sensor, and therefore may not be as sensitive as the acceleration sensor in dynamic and rapidly changing scenarios. The acceleration sensor performs well in terms of real-time response and measurement accuracy, quickly capturing changes in the state of the suspended object and providing accurate acceleration data, which is crucial for real-time adjustment of sensor selection. Displacement sensors and angular velocity sensors may require longer response times or have higher complexity in data processing, affecting the real-time performance and stability of the system.
[0047] As an optional embodiment, the target sensor is selected from the infrared sensor and the millimeter wave sensor arranged on the suspended object according to the state at the current moment, including: in the case that the state at the current moment is the first state, the millimeter wave sensor is selected as the target sensor.
[0048] Optionally, the working principle of the millimeter wave (MWR) sensor is based on the Doppler effect, which obtains the distance, distance change rate (radial velocity), azimuth, angle, etc. of the target to the electromagnetic wave emission point by emitting electromagnetic waves to illuminate the target and receiving the echo. The MWR sensor determines whether a human body exists by emitting millimeter wave signals and receiving signals reflected by the human body. Since the movement and breathing of the human body will cause the frequency of the reflected signal to change, the MWR sensor can detect the presence of the human body and even detect the slight movement of the human body, such as breathing and heartbeat, so it can not only detect moving objects but also detect the static presence of the human body.
[0049] However, the MWR sensor has disadvantages. Since its principle is based on the Doppler effect, the sensor itself must remain stationary. If the sensor itself moves, the sensor will consider all objects it detects to be in motion, and when the sensor motion frequency and human body breathing and heartbeat frequency are close, it will misjudge that there is a human body present at this time. Therefore, the millimeter wave sensor can only detect the presence of the human body in a stationary state. The MWR sensor based on the Doppler effect can monitor the slight movement of the human body, such as breathing and heartbeat, which not only confirms the presence of the human body but also further provides vital sign information of the human body, which has important application value in the fields of intelligent safety, health monitoring, etc.
[0050] As an optional embodiment, the target sensor is selected from the infrared sensor and the millimeter wave sensor arranged on the suspended object according to the state at the current moment, including: in the case that the state at the current moment is the second state, the infrared sensor is selected as the target sensor.
[0051] Optionally, the working principle of the infrared sensor is based on the infrared radiation emitted by the object. All objects emit infrared radiation according to their temperature, which is called thermal radiation. Infrared sensors can detect these radiations and infer the temperature or other characteristics of the object according to the intensity and wavelength of the radiation. Among them, the detection effect of passive infrared sensor PIR is excellent, and compared with other infrared sensors, PIR only passively receives signals from the outside world, without active operation, and the power consumption is relatively low, saving energy consumption. Therefore, in the embodiments of the present application, PIR can be used as the applied infrared sensor.
[0052] Passive infrared (PIR) sensor is a kind of sensor that uses infrared rays for non-contact detection, mainly used for detecting the change of thermal radiation in the target area, so as to judge whether an object (especially a human body) enters or leaves the area, and the main function is to detect and analyze the movement of objects or people, usually used for security alarm, motion detection alarm and automatic lighting application. PIR sensor does not need to detect the specific position of the object, only needs the object or person in a certain area to move around. When a human body enters the detection range of PIR sensor, due to the difference between the temperature of human body and the environment, the change of infrared radiation is caused. The circuit inside the sensor will detect and process this radiation change and convert it into an electrical signal. By setting a suitable threshold, the system can judge whether the change of infrared radiation is caused by the entry or exit of a human body.
[0053] However, PIR sensor has disadvantages. PIR sensor is mainly used for detecting moving targets, and its detection effect for stationary objects such as stationary human bodies will be greatly reduced. This is because the temperature difference between the human body and the environment gradually tends to be stable in the stationary state, so that the change of infrared radiation cannot be captured by the sensor, and the detection accuracy of slight movement is insufficient. PIR sensor cannot judge the existence of human body by distinguishing the breathing action of human body. Therefore, PIR sensor can only detect moving human bodies. When the suspended object starts to swing due to external factors (such as wind force, human touch, etc.), the system judges that it is in a moving state, and PIR sensor can immediately respond to detect the movement of human body or object. Even in weak light conditions, it can quickly capture the motion signal.
[0054] As an optional embodiment, in the case that the target sensor is an infrared sensor, the human body detection result in the target area at the current time is determined based on the human body detection result in the target area at the previous time of the current time and the detection result of the target sensor at the current time, and the determination includes: in the case that the human body detection result at the previous time indicates that the human body continuously exists in the target area, the infrared sensor is used to detect the target area to obtain the human body detection result at the current time, wherein the human body detection result at the current time includes that the human body leaves the target area or the human body continuously exists in the target area.
[0055] Optionally, when the system detects that the suspended object enters a motion state, it checks whether a human body is detected in the target area at the moment before the object starts to move. If the human body detection result at the previous time indicates that the human body continuously exists, the system will start the corresponding detection strategy according to this information. After the PIR sensor detects at the current time, the human body detection result is generated, which can include the following two cases: the human body leaves the target area, if the PIR sensor detects that the infrared radiation intensity in the target area decreases significantly, it indicates that the human body has left the area. The system can record this information and use it as the basis for subsequent decision-making, such as turning off the lighting device on the suspended object or adjusting the state of other intelligent systems. On the contrary, if the infrared radiation intensity remains stable or has slight fluctuations, it may indicate that the human body is still in the target area. The system will use this result as a signal that the human body continuously exists, to maintain the corresponding intelligent system state or function, such as keeping the lighting device on and ensuring that the safety monitoring in the area is continuously effective.
[0056] As an optional embodiment, in the case that the human body detection result at the previous time indicates that there is no human body in the target area, the infrared sensor is used to detect the target area to obtain the human body detection result at the current time, wherein the human body detection result at the current time includes that the human body enters the target area or there is no human body in the target area.
[0057] Optionally, the system records the human presence status at each moment while continuously monitoring the target area. If the human detection result shows that there is no human presence in the target area at the moment before the suspended object starts to move, the system will use this information as an important basis for subsequent detection strategy adjustment. After the PIR sensor detects at the current moment, it will generate a new detection result, which will reflect the changes in the human status in the target area, which may include the following two cases: the human enters the target area, if the PIR sensor detects that the infrared radiation intensity in the target area suddenly increases, and this change exceeds the preset threshold, it indicates that a human has entered the area. The system will record this result and use it as the basis for subsequent decision-making, such as triggering the response of intelligent devices, such as turning on the lighting or starting security monitoring. On the contrary, if the infrared radiation intensity does not change significantly or only within the normal fluctuation range of the background environment, it means that there is still no human presence in the target area even after the suspended object starts to move. The system will continue to monitor and may re-enable the MWR sensor or other sensors more suitable for static state detection after the suspended object stops moving.
[0058] As an optional embodiment, the human detection result is recorded and displayed on a preset screen.
[0059] Optionally, the system can record the detection result obtained each time in real time when detecting human presence. The preset screen usually refers to the display interface of the upper computer or central control system, which can be a fixedly installed touch screen, monitor, or application interface of a mobile device such as a smartphone or tablet computer. The system updates the human presence status detected in real time to the preset screen, so that the user can understand the human status in the target area at a glance. By displaying the human detection result on the preset screen, the system provides the user with the ability to monitor the human status in the target area in real time. This is particularly important in scenarios such as home security, elderly care, and child care, ensuring that the user can respond to any changes in a timely manner. The recorded human detection result is not only displayed on the preset screen, but also stored as data for subsequent analysis and application. For example, by analyzing historical data, the personnel access pattern in the target area during a specific time period can be understood, and the settings or security measures of the automated system can be optimized accordingly.
[0060] As an optional embodiment, Figure 3 is a logic block diagram of a human presence detection method under a suspended object according to an optional embodiment of the present application, as Figure 3 shown, the specific logic of the human presence detection method under the suspended object is as follows:
[0061] First, it is judged whether the suspended object is stationary, and the acceleration sensor is used to detect whether the suspended object is in a swing state. The host computer needs to report the suspended object state information according to the acceleration, and timely switch the working sensor and the judgment logic, so as to avoid that the PIR and MWR sensors work at the wrong time, thereby avoiding the misjudgment of the human body existence.
[0062] When the suspended object is judged to be in a stationary state, the host computer controls the PIR sensor to stop working, and the human body existence judgment is completely handed over to the MWR sensor detection. The detection state is divided into three types: the human body enters the detection area, the human body continuously exists in the detection area, and the human body leaves the detection area. When the above three situations occur, the MWR sensor should report the state information to the host computer.
[0063] When the suspended object is judged to be in a swing state, the host computer controls the MWR sensor to stop working, and the human body existence judgment is completely handed over to the PIR sensor detection. At the same time, the host computer needs to query whether there is a human body in the detection area before the suspended object enters the swing state. When the human body exists at the previous moment, the host computer needs to consider that the human body movement existence information reported by the PIR is valid, and the human body leaving the detection area information is valid. When the human body does not exist at the previous moment, the host computer needs to consider that the human body entering the detection area information reported by the PIR is valid, and the human body movement existence information is valid.
[0064] According to the embodiment of the present application, a suspended object under human body detection system is also provided, which adopts the above-mentioned suspended object under human body detection method for human body detection, Figure 4 The structure block diagram of the suspended object under human body detection system provided by the embodiment of the present application is shown in Figure 4 The system comprises an infrared sensor, a millimeter wave sensor, an acceleration sensor, a wireless module and a host computer, wherein the infrared sensor and the millimeter wave sensor are used for human body detection on a target area as target sensors in different states of the suspended object; the acceleration sensor is used for obtaining the swing amplitude of the suspended object; the wireless module is used for transmitting information between the infrared sensor, the millimeter wave sensor, the acceleration sensor and the host computer; and the host computer is used for judging the state of the suspended object and selecting the target sensor based on the state.
[0065] Optionally, the system mainly comprises an acceleration sensor, an infrared sensor, a millimeter wave sensor, a wireless module and a host computer. The three sensors are responsible for respective object detection, data is transmitted to the wireless module through a wired bus, and then reported to the host computer by the wireless module. The host computer comprehensively judges the human body existence condition under the current condition according to the data reported by the sensors. The sensors and the wireless module must be located on the suspended object, and the host computer is too large in size and weight to be placed on the suspended object. Therefore, the host computer is separately placed outside the suspended object, receives sensor data and issues control instructions through wireless communication.
[0066] It should be noted that, for the foregoing method embodiments, in order to simply describe, they are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the order of the described actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily necessary for the present application.
[0067] Through the description of the above embodiments, those skilled in the art can clearly understand that the human body detection method under the suspension object according to the above embodiments can be realized by means of software and the necessary general hardware platform, of course, it can also be realized by hardware, but in many cases the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a plurality of instructions for making a terminal device (which can be a mobile phone, computer, server, or network device, etc.) execute the method described in each embodiment of the present application.
[0068] According to the embodiment of the present application, a human body detection device under a suspension object is also provided, Figure 5 is a structure diagram of the human body detection device under the suspension object provided by the embodiment of the present application, as Figure 5 shown, the human body detection device under the suspension object includes a first acquisition module 51, a first determination module 52, a selection module 53, a second acquisition module 54 and a second determination module 55, and the human body detection device under the suspension object will be described below.
[0069] The first acquisition module 51 is configured to acquire the swing amplitude of the suspension object at the current time.
[0070] The first determination module 52 is connected with the first acquisition module 51, and is configured to determine the state of the suspension object at the current time based on the swing amplitude, wherein the state includes a first state or a second state, the swing amplitude corresponding to the first state is less than a preset threshold, and the swing amplitude corresponding to the second state is not less than the preset threshold.
[0071] The selection module 53 is connected with the first determination module 52, and is configured to select a target sensor from the infrared sensor and the millimeter wave sensor arranged on the suspension object according to the state at the current time.
[0072] The second acquisition module 54 is connected with the selection module 53, and is configured to acquire the human body detection result in the target region at the previous time of the current time.
[0073] The second determining module 55 is connected with the second obtaining module 54, and is configured to determine the human body detection result in the target area at the current moment based on the human body detection result in the target area at a previous moment of the current moment and the detection result of the target sensor at the current moment, wherein the human body detection result comprises one of the following: a human body entering the target area, a human body leaving the target area, a human body continuously existing in the target area, and no human body existing in the target area.
[0074] It should be noted that the first obtaining module 51, the first determining module 52, the selection module 53, the second obtaining module 54 and the second determining module 55 correspond to steps S201 to S205 in the embodiment, and the plurality of modules have the same instances and application scenarios as the corresponding steps, but are not limited to the contents disclosed in the above embodiment. It should be noted that the above modules can run in the computer terminal 10 provided in the embodiment as a part of the device.
[0075] The embodiment of the present application can provide a computer device. Optionally, in the embodiment, the computer device can be located in at least one network device of a plurality of network devices of a computer network. The computer device comprises a memory and a processor.
[0076] The memory can be used to store software programs and modules, such as program instructions / modules corresponding to the human body detection method and device under a suspension object in the embodiment of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, the human body detection method under the suspension object is realized. The memory can include a high-speed random access memory, and can further include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some examples, the memory can further include a memory remotely arranged with respect to the processor, and the remote memory can be connected to the computer terminal through a network. Examples of the network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0077] The processor can call information and application programs stored in the memory through the transmission device to perform the following steps: obtaining a swing amplitude of the suspended object at a current time; determining a state of the suspended object at the current time based on the swing amplitude, wherein the state includes a first state or a second state, the swing amplitude corresponding to the first state is less than a preset threshold, and the swing amplitude corresponding to the second state is not less than the preset threshold; selecting a target sensor from the infrared sensor and the millimeter wave sensor arranged on the suspended object according to the state at the current time; obtaining a human body detection result in a target area at a previous time of the current time; and determining a human body detection result in the target area at the current time based on the human body detection result in the target area at the previous time of the current time and a detection result of the target sensor at the current time, wherein the human body detection result includes one of the following: a human body entering the target area, a human body leaving the target area, a human body continuously existing in the target area, and no human body existing in the target area.
[0078] Optionally, the processor can further execute program codes of the following steps: obtaining a swing amplitude of the suspended object at a current time, including: obtaining an acceleration of the suspended object at the current time by using an acceleration sensor arranged on the suspended object; and determining the swing amplitude of the suspended object at the current time based on the acceleration.
[0079] Optionally, the processor can further execute program codes of the following steps: selecting a target sensor from the infrared sensor and the millimeter wave sensor arranged on the suspended object according to the state at the current time, including: selecting the millimeter wave sensor as the target sensor in a case where the state at the current time is the first state.
[0080] Optionally, the processor can further execute program codes of the following steps: selecting a target sensor from the infrared sensor and the millimeter wave sensor arranged on the suspended object according to the state at the current time, including: selecting the infrared sensor as the target sensor in a case where the state at the current time is the second state.
[0081] Optionally, the processor can further execute program codes of the following steps: in a case where the target sensor is the infrared sensor, determining the human body detection result in the target area at the current time based on the human body detection result in the target area at the previous time of the current time and the detection result of the target sensor at the current time, including: in a case where the human body detection result at the previous time is that a human body continuously exists in the target area, detecting the target area by using the infrared sensor to obtain the human body detection result at the current time, wherein the human body detection result at the current time includes that a human body leaves the target area or a human body continuously exists in the target area.
[0082] Optionally, the processor can further execute program codes of the following steps: in the case that the human body detection result at the previous time is that there is no human body in the target area, detecting the target area by using the infrared sensor to obtain the human body detection result at the current time, wherein the human body detection result at the current time comprises that a human body enters the target area or there is no human body in the target area.
[0083] Optionally, the processor can further execute program codes of the following steps: recording the human body detection result and displaying the human body detection result on a preset screen.
[0084] By using the embodiment of the present application, a human body detection method under a suspended object is provided. The swing amplitude of the suspended object at the current time is obtained. Based on the swing amplitude, the state of the suspended object at the current time is determined, wherein the state comprises a first state or a second state, the swing amplitude corresponding to the first state is less than a preset threshold, and the swing amplitude corresponding to the second state is not less than the preset threshold. According to the state at the current time, a target sensor is selected from the infrared sensor and the millimeter wave sensor arranged on the suspended object. The human body detection result in a target area at a previous time of the current time is obtained. Based on the human body detection result in the target area at the previous time of the current time and the detection result of the target sensor at the current time, the human body detection result in the target area at the current time is determined, wherein the human body detection result comprises one of the following: a human body enters the target area, a human body leaves the target area, a human body continuously exists in the target area, and there is no human body in the target area. The purpose of intelligently selecting the most suitable sensor for human body detection according to the state of the suspended object is achieved, thereby realizing the technical effect of improving the accuracy and reliability of human body detection, and further solving the technical problem of limitation of using a single sensor to detect a human body.
[0085] Those skilled in the art can understand that all or part of the steps in the above-mentioned various methods of the embodiments can be completed by instructing the hardware related to the terminal device by using a program, and the program can be stored in a non-volatile storage medium, which can include a flash disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0086] The embodiments of the present application further provide a non-volatile storage medium. Optionally, in the present embodiment, the non-volatile storage medium can be used to save the program codes executed by the human body detection method under a suspended object provided by the above-mentioned embodiments.
[0087] Optionally, in the present embodiment, the non-volatile storage medium can be located in any one of the computer terminals in the computer terminal group in the computer network, or in any one of the mobile terminals in the mobile terminal group.
[0088] Optionally, in the embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: obtaining a swing amplitude of the suspended object at a current time; determining a state of the suspended object at the current time based on the swing amplitude, wherein the state comprises a first state or a second state, the swing amplitude corresponding to the first state is less than a preset threshold, and the swing amplitude corresponding to the second state is not less than the preset threshold; selecting a target sensor from the infrared sensor and the millimeter wave sensor arranged on the suspended object according to the state at the current time; obtaining a human body detection result in a target region at a time prior to the current time; and determining a human body detection result in the target region at the current time based on the human body detection result in the target region at the time prior to the current time and a detection result of the target sensor at the current time, wherein the human body detection result comprises one of the following: a human body entering the target region, a human body leaving the target region, a human body continuously existing in the target region, and no human body existing in the target region.
[0089] Optionally, in the embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: obtaining a swing amplitude of the suspended object at a current time, comprising: obtaining an acceleration of the suspended object at the current time by using an acceleration sensor arranged on the suspended object; and determining the swing amplitude of the suspended object at the current time based on the acceleration.
[0090] Optionally, in the embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: selecting a target sensor from the infrared sensor and the millimeter wave sensor arranged on the suspended object according to the state at the current time, comprising: in a case where the state at the current time is the first state, selecting the millimeter wave sensor as the target sensor.
[0091] Optionally, in the embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: selecting a target sensor from the infrared sensor and the millimeter wave sensor arranged on the suspended object according to the state at the current time, comprising: in a case where the state at the current time is the second state, selecting the infrared sensor as the target sensor.
[0092] Optionally, in the embodiment, the nonvolatile storage medium is configured to store program code for performing the following steps: in the case that the target sensor is an infrared sensor, determining the human body detection result in the target area at the current time based on the human body detection result in the target area at a previous time of the current time and the detection result of the target sensor at the current time, comprising: in the case that the human body detection result at the previous time is that the human body continuously exists in the target area, detecting the target area by using the infrared sensor to obtain the human body detection result at the current time, wherein the human body detection result at the current time comprises that the human body leaves the target area or the human body continuously exists in the target area.
[0093] Optionally, in the embodiment, the nonvolatile storage medium is configured to store program code for performing the following steps: in the case that the human body detection result at the previous time is that the human body does not exist in the target area, detecting the target area by using the infrared sensor to obtain the human body detection result at the current time, wherein the human body detection result at the current time comprises that the human body enters the target area or the human body does not exist in the target area.
[0094] Optionally, in the embodiment, the nonvolatile storage medium is configured to store program code for performing the following steps: recording the human body detection result and displaying the human body detection result on a preset screen.
[0095] The embodiment of the present application also provides a computer program product, comprising a computer program, and optionally, in the embodiment, the computer program can be executed by a processor to realize the following: obtaining a swing amplitude of a suspended object at a current time; determining a state of the suspended object at the current time based on the swing amplitude, wherein the state comprises a first state or a second state, the swing amplitude corresponding to the first state is less than a preset threshold, and the swing amplitude corresponding to the second state is not less than the preset threshold; selecting a target sensor from an infrared sensor and a millimeter wave sensor arranged on the suspended object according to the state at the current time; obtaining a human body detection result in a target area at a previous time of the current time; determining a human body detection result in the target area at the current time based on the human body detection result in the target area at the previous time of the current time and the detection result of the target sensor at the current time, wherein the human body detection result comprises one of the following: the human body enters the target area, the human body leaves the target area, the human body continuously exists in the target area, and the human body does not exist in the target area.
[0096] The above serial numbers of the embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.
[0097] In the above embodiments of the present application, the description of each embodiment has its own emphasis, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.
[0098] In several embodiments provided in the present application, it should be understood that the disclosed technology can be implemented by other means. Among them, the above-mentioned device embodiments are only schematic, for example, the division of the units can be a logical function division, and actual implementation can have another division mode, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed each other can be through some interface, indirect coupling or communication connection between units or modules, which can be electrical or other forms.
[0099] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or they can be distributed to multiple units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
[0100] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically, or two or more units can be integrated into one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0101] The integrated unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a non-volatile storage medium. Based on this understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: a U disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.
[0102] The above is only the preferred embodiment of the present application, and it should be pointed out that for ordinary skilled in the art, without departing from the principles of the present application, a number of improvements and refinements can be made, and these improvements and refinements should be considered as the protection scope of the present application.
Claims
1. A method for detecting a human body under a suspended object, characterized in that: include: Get the swing amplitude of the suspended object at the current moment; Determining a state of the suspended object at the current moment based on the swing amplitude, wherein the state includes a first state or a second state, the swing amplitude corresponding to the first state is less than a preset threshold, and the swing amplitude corresponding to the second state is not less than the preset threshold; selecting a target sensor from infrared sensors and millimeter wave sensors provided on the suspended object according to the current state; Obtaining a human body detection result within the target area at a moment before the current moment; Based on the human body detection result in the target area at the previous moment before the current moment and the detection result of the target sensor at the current moment, the human body detection result in the target area at the current moment is determined, wherein the human body detection result includes one of the following: the human body enters the target area, the human body leaves the target area, the human body continues to exist in the target area, and the human body does not exist in the target area.
2. The method according to claim 1, characterized in that The obtaining of the swing amplitude of the suspended object at the current moment includes: Using an acceleration sensor provided on the suspended object, obtaining the acceleration of the suspended object at the current moment; Based on the acceleration, the swing amplitude of the suspended object at the current moment is determined.
3. The method according to claim 1, characterized in that The selecting a target sensor from the infrared sensor and the millimeter wave sensor provided on the suspended object according to the current state includes: When the current state is the first state, the millimeter wave sensor is selected as the target sensor.
4. The method according to claim 1, wherein The selecting a target sensor from the infrared sensor and the millimeter wave sensor provided on the suspended object according to the current state includes: When the current state is the second state, the infrared sensor is selected as the target sensor.
5. The method according to claim 1, wherein In the case where the target sensor is the infrared sensor, the human body detection result in the target area at a moment before the current moment is based on the human body detection result in the target area at a moment before the current moment. and the detection result of the target sensor at the current moment, determining the human body detection result within the target area at the current moment, including: When the human body detection result at the previous moment is that the human body continues to exist in the target area, the infrared sensor is used to detect the target area to obtain the human body detection result at the current moment, wherein the human body detection result at the current moment includes the human body leaving the target area or the human body continues to exist in the target area.
6. The method according to claim 5, characterized in that Also includes: When the human body detection result at the previous moment is that there is no human body in the target area, the infrared sensor is used to detect the target area to obtain the human body detection result at the current moment, wherein the human body detection result at the current moment includes a human body entering the target area or a human body not existing in the target area.
7. The method according to any one of claims 1 to 6, characterized in that Also includes: The human body detection result is recorded and displayed on a preset screen.
8. A human body detection system under a suspended object, characterized in that: The method for detecting human bodies under suspended objects as described in any one of claims 1 to 7 is used for human body detection, comprising an infrared sensor, a millimeter wave sensor, an acceleration sensor, a wireless module and a host computer, wherein: The infrared sensor and the millimeter wave sensor are used as target sensors to detect human bodies in the target area under different states of the suspended object; The acceleration sensor is used to obtain the swing amplitude of the suspended object; The wireless module is used to transmit information between the infrared sensor, the millimeter wave sensor, the acceleration sensor and the host computer; The host computer is used to determine the state of the suspended object and switch the target sensor based on the state.
9. A human body detection device under a suspended object, characterized in that: include: The first acquisition module is used to obtain the swing amplitude of the suspended object at the current moment; a first determining module, configured to determine a state of the suspended object at the current moment based on the swing amplitude, wherein the state includes a first state or a second state, the swing amplitude corresponding to the first state is less than a preset threshold, and the swing amplitude corresponding to the second state is not less than the preset threshold; A selection module, configured to select a target sensor from the infrared sensor and the millimeter wave sensor provided on the suspended object according to the current state; A second acquisition module is used to obtain a human body detection result in the target area at a moment before the current moment; The second determination module is used to determine the human body detection result in the target area at the current moment based on the human body detection result in the target area at the previous moment and the detection result of the target sensor at the current moment, wherein the human body detection result includes one of the following: the human body enters the target area, the human body leaves the target area, the human body continues to exist in the target area, and the human body does not exist in the target area.
10. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute the method for detecting a human body under a suspended object according to any one of claims 1 to 7.
11. A computer device, characterized in that: include: memory and processor, The memory stores a computer program; The processor is configured to execute a computer program stored in the memory, and when the computer program is run, the processor executes the method for detecting a human body under a suspended object according to any one of claims 1 to 7.
12. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method for detecting a human body under a suspended object according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Human body existence detection device, method, equipment and medium
CN114152941A
Indoor intelligent light control system based on millimeter wave radar sensor
CN115529700A