Target detection method and device, electronic equipment and storage medium
By dynamically adjusting the working modes of the passive infrared sensor and radar sensor, the problems of long startup time and high power consumption of target detection equipment are solved, and fast response and low-power target detection are achieved.
Patent Information
- Application Number
- CN202511120630.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-12
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2045-08-12
AI Technical Summary
Existing target detection equipment takes too long to start up, resulting in the inability to capture intrusion targets in a timely manner and a significant increase in device power consumption.
Dynamically adjust the primary and secondary working modes of the passive infrared sensor and radar sensor based on the device operating scenario type, giving priority to using sensors with lower detection interference for detection, avoiding high-frequency multi-round detection redundancy, shortening wake-up time and reducing power consumption.
It improves the response speed and endurance of target detection equipment, reduces energy consumption caused by invalid detection, and improves the efficiency and reliability of equipment.
Smart Images

Figure CN120610259A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of target detection technology, and in particular to a target detection method, device, electronic device, and storage medium. Background Art
[0002] In the fields of security monitoring, smart home, etc., target detection can timely sense the presence of the target and trigger the corresponding device response. In related solutions, in order to improve the accuracy of target detection, detection equipment that combines passive infrared sensors and radar sensors is often used. Specifically, the passive infrared sensor is first used to detect the target. When the passive infrared sensor detects the signal, the radar is activated for secondary detection, and then the device is awakened for target detection. Although the above method has improved the accuracy of device detection to a certain extent and reduced the occurrence of misjudgment, the startup of the device requires a series of processes including passive infrared sensor detection and radar secondary detection, which causes the device startup time to be too long, resulting in the device being unable to capture the intruder target in time. Summary of the Invention
[0003] The present invention provides a target detection method, device, electronic device and storage medium to improve the response speed of a target device used for target detection.
[0004] According to one aspect of the present invention, a target detection method is provided, wherein the method comprises:
[0005] Detecting first information of a target device, where the first information is used to indicate a device operation scenario type of the target device;
[0006] determining second information of the target device based on the first information, the second information being used to indicate a primary or secondary operating mode of a passive infrared sensor and a radar sensor associated with the target device, the degree of interference experienced by each of the passive infrared sensor and the radar sensor during detection being associated with a device operating scenario type, and both the passive infrared sensor and the radar sensor being used to detect whether a target object of a preset type enters a detection area of the target device;
[0007] controlling the operation of a passive infrared sensor and a radar sensor associated with the target device according to the second information to obtain third information, wherein the third information is used to indicate whether a target object of a preset type enters a detection area of the target device;
[0008] Determine whether to wake up the target device to perform the target detection task according to the third information.
[0009] According to another aspect of the present invention, there is provided a target detection device, wherein the device comprises:
[0010] A detection module, configured to detect first information of a target device, where the first information is used to indicate a type of device operation scenario in which the target device is located;
[0011] a determination module, configured to determine second information of the target device based on the first information, the second information being used to indicate a primary or secondary operating mode of a passive infrared sensor and a radar sensor associated with the target device, the degree of interference experienced by each of the passive infrared sensor and the radar sensor during detection being associated with a device operating scenario type, and the passive infrared sensor and the radar sensor being used to detect whether a target object of a preset type enters a detection area of the target device;
[0012] a control module configured to control the operation of a passive infrared sensor and a radar sensor associated with the target device based on the second information to obtain third information, wherein the degree of interference experienced by the passive infrared sensor and the radar sensor during detection is associated with a type of device operation scenario, and the passive infrared sensor and the radar sensor are both configured to detect whether a target object of a preset type enters a detection area of the target device;
[0013] A wake-up module is used to determine whether to wake up the target device to perform the target detection task according to the third information.
[0014] According to another aspect of the present invention, an electronic device is provided, comprising:
[0015] at least one processor; and,
[0016] a memory communicatively connected to the at least one processor; wherein,
[0017] The memory stores a computer program that can be executed by the at least one processor. The computer program is executed by the at least one processor so that the at least one processor can perform the target detection method described in any embodiment of the present invention.
[0018] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the target detection method according to any embodiment of the present invention when executed.
[0019] According to another aspect of the present invention, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the computer program implements the target detection method according to any embodiment of the present invention.
[0020] The technical solution of the embodiment of the present invention detects first information for indicating the type of device operation scenario in which the target device is located. The passive infrared sensor and radar sensor associated with the target device are both used to detect whether a target object of a preset type enters the detection area of the target device. Considering that the detection interference suffered by the passive infrared sensor and radar sensor associated with the target device are related to the type of device operation scenario, the main and auxiliary working modes of the passive infrared sensor and radar sensor associated with the target device can be configured in a targeted manner through the first information, and then the operation strategies of the passive infrared sensor and radar sensor associated with the target device can be adjusted in real time. Therefore, in some device operation scenarios, only the passive infrared sensor or radar sensor with relatively low detection interference needs to be used for dominant detection, avoiding In some device operation scenarios, multiple rounds of detection redundancy are generated by using passive infrared sensors and radar sensors for high-frequency detection at the same time, thereby reducing the processing time of the passive infrared sensors and radar sensors associated with the target device before the target device is woken up and started, directly shortening the response cycle from detection to wake-up. In this way, the target device can more quickly decide whether to be woken up and perform the target detection task based on the third information used to indicate whether there is a preset type of target object entering the detection area of the target device, so that the target device can operate with the optimal strategy in different device operation scenarios, ultimately improving the utilization efficiency of the target device; and, there is no need to always use passive infrared sensors and radar sensors for high-frequency detection at the same time to generate multiple rounds of detection redundancy, so it can also shorten the time it takes to start up the device and reduce device power consumption.
[0021] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 is a flow chart of a target detection method provided according to an embodiment of the present invention;
[0024] Figure 2 is a flow chart of another target detection method provided according to an embodiment of the present invention;
[0025] Figure 3 is a structural diagram of a target detection device provided according to an embodiment of the present invention;
[0026] Figure 4 It is a structural diagram of an electronic device for implementing the target detection method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0028] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0029] Figure 1 A flowchart of a target detection method is provided for an embodiment of the present invention. This embodiment is applicable to situations where a passive infrared sensor and a radar sensor are used for pre-detection and a target detection device is awakened to perform a target detection task based on the pre-detection results. The method can be executed by a target detection device, which can be implemented in the form of hardware and / or software. The target detection device can be configured in any electronic device with network communication capabilities.
[0030] like Figure 1 As shown, the target detection method provided by the embodiment of the present invention may include the following process:
[0031] S110: Detect first information of a target device, where the first information is used to indicate a device operation scenario type in which the target device is located.
[0032] A target device can be a device that performs target detection tasks on a target object. For example, a target device can include a surveillance camera or security terminal. Target detection tasks can include automatically identifying, locating, and analyzing the outline and morphology of a target object in an image, video stream, or real-time scene. The target device's operating scenario type can be a scenario classification based on at least one of the following multi-dimensional characteristics: the target device's operating environment, operating status, task objectives, and interactive objects.
[0033] S120. Determine second information of the target device based on the first information, where the second information is used to indicate the primary and secondary working modes of the passive infrared sensor and the radar sensor associated with the target device. The degree of interference experienced by the passive infrared sensor and the radar sensor during their respective detections is associated with the type of device operating scenario. Both the passive infrared sensor and the radar sensor are used to detect whether a target object of a preset type enters a detection area of the target device.
[0034] The degree of interference experienced by a passive infrared sensor during detection refers to the extent to which the passive infrared sensor is affected by external environmental factors, device signals, or its own operating characteristics during detection. This quantitatively reflects the passive infrared sensor's ability to maintain stable detection performance in the operating scenario of the target device. For example, a passive infrared sensor can be interfered with by drastic changes in ambient temperature (such as direct sunlight or proximity to heating equipment) or non-target infrared radiation sources (such as heating appliances), leading to false triggering of the passive infrared sensor or a decrease in detection sensitivity.
[0035] The degree of interference a radar sensor experiences during detection refers to the extent to which the radar sensor is affected by environmental factors, device signals, or its own operating characteristics during detection. This quantitatively reflects the radar sensor's ability to maintain stable detection performance in the operating scenario of the target device. For example, a radar sensor may be interfered with by electromagnetic signals from other radio devices (such as microwave ovens and walkie-talkies), or the multipath effect (interference signals formed by signal reflections from objects) may cause deviations in detection distance and angle.
[0036] If the target device is always awake, it will continue to perform target detection tasks even when there are no target objects. This will cause the processor, camera, and other hardware to run under long-term high loads, accelerating aging (such as lens wear and chip overheating). Continuous operation will also generate a large amount of invalid data (such as images or videos of empty scenes), occupying storage resources and increasing the burden of subsequent data processing. For example, if the target device is a smart camera, if the detection module is running 24 hours a day, it will significantly consume the smart camera's power (especially for battery-powered target devices). If the target device is in sleep mode, it can shut down high-power components, reducing power consumption to a very low level, significantly extending battery life and reducing the frequency of charging or battery replacement.
[0037] In this situation, the passive infrared sensor and radar sensor associated with the target device can be used for detection. Only when the passive infrared sensor and radar sensor detect that a target object has entered the detection area of the target device will the target device be awakened to perform the target detection task. In other words, the passive infrared sensor performs detection. When the passive infrared sensor detects a signal, the radar sensor is activated for secondary detection. Only after the radar sensor passes the detection will the target device be awakened to perform the target detection task.
[0038] While the aforementioned wake-up method improves detection accuracy to a certain extent, it also carries significant drawbacks. First, the target device takes a long time to boot up. In practical applications, this excessive boot-up time may prevent the target device from performing target detection tasks in a timely manner, thus failing to capture the target object, affecting the device's effectiveness. For example, in security monitoring scenarios, key intrusion behavior may be missed. Second, passive infrared sensors and radar sensors consume a certain amount of power during operation. The aforementioned wake-up method causes them to frequently boot up and run for extended periods, significantly increasing the target device's power consumption.
[0039] Taking into account the differences between passive infrared sensors and radar sensors in different device operation scenarios, which lead to large differences in detection accuracy due to external interference, that is, in some device operation scenario types, the detection interference received by the passive infrared sensor is greater than the detection interference received by the radar sensor. At this time, the detection accuracy of the passive infrared sensor may be greatly affected, and the effectiveness of the detection results of the passive infrared sensor will be greatly reduced; similarly, there will be some device operation scenario types where the detection interference received by the passive infrared sensor is less than the detection interference received by the radar sensor. At this time, the detection accuracy of the radar sensor may be greatly affected, and the effectiveness of the detection results of the radar sensor will be greatly reduced.
[0040] To this end, the present application solution will determine the detection interference encountered by the passive infrared sensor and the radar sensor when they are each performing detection based on the type of device operation scenario in which the target device is located. The detection interference encountered by the passive infrared sensor and the radar sensor when they are each performing detection will affect the detection accuracy of the passive infrared sensor and the radar sensor when they are each performing detection. By determining the primary and secondary working modes of the passive infrared sensor and the radar sensor according to the detection interference encountered by the passive infrared sensor and the detection interference encountered by the radar sensor when they are performing detection, it is possible to avoid using the passive infrared sensor or the radar sensor when the detection accuracy is greatly reduced, and to give priority to using sensors that are less subject to detection interference in the device operation scenario type, and to avoid as much as possible the multi-round detection redundancy caused by using the passive infrared sensor and the radar sensor for high-frequency detection at the same time.
[0041] The passive infrared sensor and radar sensor associated with the target device experience different levels of interference when performing separate detections in the device operating scenario type indicated by the first information. This results in different levels of impact on the detection accuracy of the passive infrared sensor and radar sensor associated with the target device when performing separate detections in the device operating scenario type indicated by the first information. The passive infrared sensor and radar sensor associated with the target device experience different levels of interference in the same device operating scenario type. For example, a passive infrared sensor is highly sensitive to changes in ambient temperature. In scenarios where the temperature is close to body temperature, its level of interference increases significantly, potentially leading to missed detections. Radar sensors, on the other hand, are insensitive to temperature changes, but in high-frequency electromagnetic environments (such as near substations), they experience significantly higher levels of electromagnetic interference than passive infrared sensors.
[0042] The same sensor's interference exposure varies across different operating scenarios. Radar sensors are less susceptible to multipath interference in open areas, but in complex environments with numerous obstacles (such as densely furnished rooms), interference from multiple signal reflections can significantly increase their exposure. Passive infrared sensors, on the other hand, are less susceptible to interference in low-obstruction scenarios, but experience increased interference in areas with obstructions such as curtains and smoke.
[0043] S130. Control the operation of a passive infrared sensor and a radar sensor associated with the target device according to the second information to obtain third information, where the third information is used to indicate whether a target object of a preset type enters a detection area of the target device.
[0044] The primary sensor corresponding to the primary / secondary operating mode indicated by the second information is either a passive infrared sensor or a radar sensor associated with the target device. The secondary sensor corresponding to the primary / secondary operating mode is either a passive infrared sensor or a radar sensor associated with the target device other than the primary sensor. In this case, if the passive infrared sensor is the primary sensor, the radar sensor is the secondary sensor; if the radar sensor is the primary sensor, the passive infrared sensor is the secondary sensor.
[0045] Based on the primary and secondary working modes indicated by the second information, when controlling the operation of the passive infrared sensor and the radar sensor associated with the target device, you can choose to use the first working mode or the second working mode to control the operation of the passive infrared sensor and the radar sensor, so as to realize the configuration results of the main sensor and the auxiliary sensor in the primary and secondary working modes to control the passive infrared sensor and the radar sensor, and avoid the multi-round detection redundancy caused by using the passive infrared sensor and the radar sensor for high-frequency target detection at the same time.
[0046] By adaptively adjusting the operation of the passive infrared sensor and radar sensor according to the device's operating scenario, the startup time of the target device can be significantly reduced, ensuring that the target device can capture the target object in a timely manner. At the same time, the operation control based on the primary and secondary modes can prevent the two sensors from working at full load without distinction. The target device does not need to run the passive infrared sensor and radar sensor simultaneously for detection every time it wakes up. In some device operating scenarios, the more suitable sensor can be used as the primary sensor for efficient operation, and the auxiliary sensor can be started on demand. This can avoid the significant increase in power consumption of the target device caused by multiple layers of detection, thereby significantly increasing the battery life of the target device without the need for frequent battery replacement or charging.
[0047] The third information may be determined based on detection results obtained by the passive infrared sensor and radar sensor associated with the target device after operating and controlling the passive infrared sensor and radar sensor. Both the passive infrared sensor and the radar sensor are used to detect whether a target object of a preset type enters the detection area of the target device. Therefore, the third information indicates whether a target object of the preset type exists in the detection area of the target device.
[0048] Since passive infrared sensors and radar sensors have different anti-interference capabilities in different device operation scenarios, the main and auxiliary modes are dynamically set and the operation is controlled through the second information. This allows the passive infrared sensors and radar sensors associated with the target device to flexibly switch detection strategies in diverse scenarios, and select the sensor that adapts to the device operation scenario type as the main sensor to ensure that the third information can still be output stably in complex environments.
[0049] As an optional but non-limiting implementation method, the second information is used to indicate that the main sensor corresponding to the main and auxiliary working modes is a passive infrared sensor or a radar sensor associated with the target device, and the auxiliary sensor corresponding to the main and auxiliary working modes is a sensor other than the main sensor among the passive infrared sensor and the radar sensor associated with the target device. The main sensor is configured to be on, and the auxiliary sensor is configured to be off or to reduce the detection frequency; wherein, whether the auxiliary sensor is adjusted from the off state to the on state or whether the detection frequency needs to be restored is determined based on the detection accuracy of the main sensor during detection.
[0050] Optionally, the second information is used to indicate that the main and auxiliary working modes are the first working mode or the second working mode. The first working mode indicates that the passive infrared sensor associated with the target device is used as the main sensor to perform detection and the radar sensor associated with the target device is used as the auxiliary sensor to perform auxiliary detection. The second working mode indicates that the radar sensor associated with the target device is used as the main sensor to perform detection and the passive infrared sensor associated with the target device is used as the auxiliary sensor to perform auxiliary detection.
[0051] The primary sensor corresponding to the primary and secondary operating modes is configured to be in an on state, and the auxiliary sensor corresponding to the primary and secondary operating modes is configured to be in an off state or a state in which the detection frequency is reduced. Optionally, when the primary sensor corresponding to the primary and secondary modes is configured to be in an on state, the auxiliary sensor is configured to be in an off state or a state in which the detection frequency is adjusted from a first value to a second value, where the first value is greater than the second value.
[0052] In a device operation scenario where the detection interference received by the passive infrared sensor is less than that received by the radar sensor, the first working mode is adopted to give full play to the advantages of the passive infrared sensor to detect whether a target object of a preset type enters the detection area of the target device; and in a device operation scenario where the detection interference received by the passive infrared sensor is greater than that received by the radar sensor, the second working mode is switched to to use the detection advantages of the radar sensor to detect whether a target object of a preset type enters the detection area of the target device.
[0053] By clarifying the primary and secondary working modes of the passive infrared sensor and the radar sensor through the second information, the target device can switch the roles of the primary and secondary sensors according to the actual operating scenarios. When in different operating scenarios, the more suitable sensor can be selected from the passive infrared sensor and the radar sensor as the primary sensor based on the difference in the interference conditions of the two sensors. This avoids the redundancy of multiple rounds of detection caused by the simultaneous use of the passive infrared sensor and the radar sensor for high-frequency target detection while ensuring the accuracy of target object detection, thereby shortening the startup time of the target device.
[0054] The primary sensor is the detection component that the target device prioritizes in the device operation scenario indicated by the second information. The primary sensor's detection accuracy directly reflects the reliability of the target device's ability to be awakened to perform the target detection task. When the primary sensor's detection accuracy is high, it means that the primary sensor can stably and accurately complete the detection task, and the auxiliary sensor does not need to intervene. If the auxiliary sensor is off, it will remain off, and there is no need to restore the detection frequency (which may have been previously reduced to save energy or reduce resource usage). This avoids resource waste or signal conflicts caused by unnecessary operation of the auxiliary sensor.
[0055] When the primary sensor's detection accuracy decreases (for example, due to external environmental interference, false positives or missed detections, or when the detection data deviation exceeds the set threshold), the auxiliary sensor's operation needs to be adjusted to ensure that the target device can be awakened in time to perform the target detection task. At this time, if the auxiliary sensor is off, it will be adjusted to on and supplementary detection will be performed using the auxiliary sensor. If the auxiliary sensor is already on but has previously reduced its detection frequency (such as in low-power mode), it will be restored to its normal detection frequency, using more intensive detection data to assist in verifying or correcting the primary sensor's results.
[0056] By adopting the above solution, the adjustment mechanism based on the detection accuracy of the main sensor dynamically adjusts the operating status of the auxiliary sensors to ensure detection reliability while achieving efficient resource utilization. This not only avoids the increased energy consumption caused by the continuous operation of the passive infrared sensor and radar sensor associated with the target device, but also can fill in the gaps in time when the performance of the main sensor fluctuates, ensuring that the target device can always maintain the ability to be awakened stably in complex scenarios.
[0057] S140: Determine whether to wake up the target device to perform the target detection task according to the third information.
[0058] The core function of the third information is to determine whether a target object of a preset type has entered the detection area of the target device. When the third information indicates that a target object of a preset type has entered the detection area, it means that the target device needs to further perform a target detection task on the detection area. At this time, the target device in an inactive state (such as sleep or low-power mode) will be awakened, and the target device will start and perform the target detection task to obtain the detection result information of the target object (such as location, movement trajectory, and at least one of the characteristic parameters). If the third information indicates that no target object of the preset type has entered the detection area, it means that the target device does not need to perform a target detection task on the detection area. At this time, the target device will remain in its original inactive state and will not be awakened.
[0059] With the above solution, the target device does not need to be in a continuous detection state, and is only awakened when the third information confirms that a target object has entered. This greatly reduces the energy consumption caused by invalid detection. It is especially suitable for battery-powered devices and can significantly extend their battery life. Since the third information screens the existence of the target object in advance, the target device can directly carry out detection on the target object that has been confirmed to have entered after being awakened, avoiding redundant detection of target-free scenes and improving the response speed and pertinence of the detection task. The wake-up logic based on the third information can allow the device's computing, storage and other resources to be concentrated on effective detection tasks, reducing unnecessary resource usage, improving the operating efficiency of the entire system, and at the same time reducing equipment loss caused by continuous detection, extending the service life of the equipment, and avoiding the excessive power consumption of smart devices that integrate multiple sensors to generate a lot of heat, affecting the stability and service life of other electronic components inside the device, thereby reducing the risk of equipment failure.
[0060] The technical solution of the embodiment of the present invention detects first information for indicating the type of device operation scenario in which the target device is located. The passive infrared sensor and radar sensor associated with the target device are both used to detect whether a target object of a preset type enters the detection area of the target device. Considering that the detection interference suffered by the passive infrared sensor and radar sensor associated with the target device are related to the type of device operation scenario, the main and auxiliary working modes of the passive infrared sensor and radar sensor associated with the target device can be configured in a targeted manner through the first information, and then the operation strategies of the passive infrared sensor and radar sensor associated with the target device can be adjusted in real time. Therefore, in some device operation scenarios, only the passive infrared sensor or radar sensor with relatively low detection interference needs to be used for dominant detection, avoiding In some device operation scenarios, multiple rounds of detection redundancy are generated by using passive infrared sensors and radar sensors for high-frequency detection at the same time, thereby reducing the processing time of the passive infrared sensors and radar sensors associated with the target device before the target device is woken up and started, directly shortening the response cycle from detection to wake-up. In this way, the target device can more quickly decide whether to be woken up and perform the target detection task based on the third information used to indicate whether there is a preset type of target object entering the detection area of the target device, so that the target device can operate with the optimal strategy in different device operation scenarios, ultimately improving the utilization efficiency of the target device; and, there is no need to always use passive infrared sensors and radar sensors for high-frequency detection at the same time to generate multiple rounds of detection redundancy, so it can also shorten the time it takes to start up the device and reduce device power consumption.
[0061] Figure 2A flow chart of another target detection method provided for an embodiment of the present invention. The technical solution of this embodiment further optimizes the process of determining the second information of the target device based on the first information in the aforementioned embodiment on the basis of the technical solution of the aforementioned embodiment. This embodiment can be combined with various optional solutions in one or more of the aforementioned embodiments.
[0062] like Figure 2 As shown, the target detection method provided by the embodiment of the present invention may include the following process:
[0063] S210: Detect first information of a target device, where the first information is used to indicate a device operation scenario type in which the target device is located.
[0064] S220. In response to the reference device operation scenario type in at least one device operation scenario type being the same as the device operation scenario type indicated by the first information, obtain a sensor configuration method associated with the reference device operation scenario type, where the sensor configuration method is used to indicate which sensor should be configured as a main sensor among the passive infrared sensor and the radar sensor associated with the target device under the reference device operation scenario type.
[0065] S230: Determine second information of the target device according to the sensor configuration information associated with the operating scenario type of the reference device.
[0066] Among them, the second information is used to indicate the primary and auxiliary working modes of the passive infrared sensor and radar sensor associated with the target device. The degree of interference of the passive infrared sensor and radar sensor during detection is related to the type of device operation scenario. Both the passive infrared sensor and radar sensor are used to detect whether there is a preset type of target object entering the detection area of the target device.
[0067] During the operation of the target device, multiple device operation scenario types are involved. When it is detected that in at least one device operation scenario type, the reference device operation scenario type and the device operation scenario type indicated by the first information are the same, the sensor configuration method associated with the reference device operation scenario type can be directly obtained.
[0068] The sensor configuration method specifies which of the target device's associated passive infrared sensor and radar sensor should be configured as the primary sensor when the target device operates in the reference device's operating scenario. For example, in an indoor low-light scenario, if the reference device's operating scenario specifies the radar sensor as the primary sensor, then if the first information indicates that the device's operating scenario is also an indoor low-light scenario, the radar sensor will be configured as the primary sensor.
[0069] After obtaining the sensor configuration information associated with the reference device's operating scenario type, second information about the target device can be generated based on the sensor configuration information associated with the reference device's operating scenario type. The second information is about the primary and secondary operating modes of the target device's associated passive infrared sensor and radar sensor in the target device's operating scenario type.
[0070] With the above solution, when encountering a target scenario type that is the same as the reference scenario type, there is no need to re-perform complex sensor configuration analysis and the existing sensor configuration method can be directly called. Using the sensor configuration method associated with the reference device operating scenario type can avoid errors that may occur due to reconfiguration, ensure that the selection of the main sensor meets the actual needs of the scenario, and reduce detection problems caused by improper configuration. Different device operating scenarios have different requirements for sensors. By reusing the reference configuration for the same scenario, the target device can quickly adapt and select the appropriate main sensor in a variety of operating scenarios, allowing the device to maintain good detection performance in different scenarios and improving the versatility and flexibility of the device.
[0071] As an optional but non-limiting implementation, the at least one device operation scenario type includes at least one of the following:
[0072] A temperature sensor built into the target device detects a first type of device operation scenario in which the temperature of an area where the target device is located is not greater than a first temperature.
[0073] A temperature sensor built into the target device detects a second type of device operation scenario in which the temperature of an area where the target device is located is greater than a first temperature.
[0074] A third type of device operation scenario in which the number of target objects of a preset type detected in the detection area of the target device per unit time is greater than a preset number.
[0075] A fourth type of device operation scenario in which multiple temperature sensors arranged around the target device detect that a plurality of heat sources with temperatures greater than the second temperature exist in the surrounding area of the target device.
[0076] The fifth type of device operation scenario when the passive infrared sensor meets the preset trigger conditions. The passive infrared sensor meets the preset trigger conditions, including that the number of triggers of the passive infrared sensor per unit time is greater than the preset number, and the radar sensor detects the same target object each time the passive infrared sensor is triggered and detects the target object.
[0077] For the first type of device operation scenario and the second type of device operation scenario, when the target device uses the built-in temperature sensor and time information to determine whether the target device is in the first type of device operation scenario (such as the low temperature scenario in winter) or the second type of device operation scenario (such as the high temperature scenario in summer), the time module in the target device records the time information in real time, and the temperature sensor continuously collects ambient temperature data. The current season is determined based on the time information, such as March to May is spring, June to August is summer, etc., and the ambient temperature is determined based on the temperature data. When it is determined to be winter and the temperature is lower than the first temperature (such as 5°C), the device operation scenario of the target device is determined to be the winter low temperature scenario; when it is determined to be summer and the temperature is higher than the first temperature, the device operation scenario of the target device is determined to be the summer high temperature scenario.
[0078] For the third type of device operation scenario, if the target device detects more than a preset number of target objects of a preset type within the target device's detection area within a unit time (this can be determined by counting the number of passive infrared sensor and radar sensor triggers within that unit time), it indicates that the target device is in an environment with significant interference, such as a shopping mall, street, or other high-traffic area. For example, if the number of passive infrared sensor and radar sensor triggers within a unit time (e.g., 1 minute) exceeds a preset threshold (e.g., 20), the target device is determined to be in an environment with excessive movement in the third type of device operation scenario.
[0079] For the fourth type of device operation scenario, by arranging multiple temperature sensors around the target device and analyzing the data of each temperature sensor, when it is detected that the temperature of multiple areas is significantly higher than the normal ambient temperature and reaches the preset second temperature threshold (such as 40°C), it is judged that the environment in which the target device is located is the fourth type of device operation scenario adjacent to multiple heat sources.
[0080] For the fifth type of device operation scenario, if the passive infrared sensor triggers multiple times within a unit time (a trigger threshold can be set based on actual needs, such as three times), and the radar sensor passes detection after each trigger, this indicates that the target device is in an environment with high passive infrared sensor detection accuracy. For example, the number of passive infrared sensor triggers can be recorded. If the number of passive infrared sensor triggers reaches a preset threshold (such as three times) within a unit time (such as five minutes), and the radar sensor passes detection after each trigger, the target device is determined to be in a fifth type of device operation scenario with multiple passive infrared sensor triggers.
[0081] As an optional but non-limiting implementation scheme, when the reference device operating scenario is a first type device operating scenario, a third type device operating scenario, or a fifth type device operating scenario, the main sensor corresponding to the main and auxiliary working modes indicated by the second information is a passive infrared sensor; when the reference device operating scenario is a second type device operating scenario or a fourth type device operating scenario, the main sensor corresponding to the main and auxiliary working modes indicated by the second information is a radar sensor.
[0082] In the first type of device operation scenario, the target device operates in a relatively low ambient temperature. Because infrared radiation signals are more pronounced in low-temperature environments, the primary and secondary operating modes of the target device's passive infrared and radar sensors can be adjusted to prioritize detection with the passive infrared sensor as the primary sensor and the radar sensor as the secondary sensor. This configuration reduces unnecessary radar sensor activation, shortening the target device's startup time and reducing power consumption.
[0083] In the second type of device operation scenario, the target device is located in a high ambient temperature environment. High temperatures may interfere with the passive infrared sensor's detection, while the radar sensor is less affected by temperature. Therefore, the primary and secondary operating modes of the target device's associated passive infrared and radar sensors are adjusted to have the radar sensor as the primary sensor for detection and the passive infrared sensor as the secondary sensor for auxiliary detection. This ensures that the radar sensor continuously operates for detection, with the passive infrared sensor serving only as a secondary detection method. This radar-based detection strategy not only reduces unnecessary activation of the passive infrared sensor but also prevents ineffective operation of the passive infrared sensor under high temperature interference, reducing power consumption.
[0084] If the reference device is operating in the third type of device scenario, to avoid startup delays and wasted power due to excessive invalid detections, the radar sensor can be disabled, and detection can be performed solely using the passive infrared sensor. This is because in this environment, the radar sensor may generate excessive false alarms due to the movement of a large number of non-preset target objects, and frequent activation of the radar sensor increases the processing time and power consumption of the target device. However, the passive infrared sensor can filter out some non-preset target objects to a certain extent, completing preliminary detection at a relatively low cost and faster speed, while also reducing the overall power consumption of the target device.
[0085] In the fourth type of device operation scenario, when the target device detects the presence of a large number of surrounding heat sources (such as in a kitchen or industrial workshop), the heat sources will significantly interfere with the detection of the passive infrared sensor, resulting in an increased false alarm rate. In this case, the passive infrared sensor associated with the target device can be turned off, and only the radar sensor can be used for detection. Radar sensors detect targets using electromagnetic waves and are not affected by heat sources. They can more accurately detect the movement of preset target objects within the target device's detection area, thereby improving detection efficiency and reducing the target device's startup time. At the same time, turning off the passive infrared sensor avoids the power consumption of the passive infrared sensor due to its ineffective operation in complex heat source environments, reducing the power consumption of the target device.
[0086] When the reference device operation scenario is the fifth type of device operation scenario, since the radar sensor is also triggered each time the passive infrared sensor is triggered, it indicates that the detection accuracy of the passive infrared sensor is relatively high. At this time, the main and auxiliary working modes of the passive infrared sensor and the radar sensor associated with the target device can be adjusted to the passive infrared sensor as the main sensor to take the lead in detection and the radar sensor as the auxiliary sensor to perform auxiliary detection. In the above-mentioned main and auxiliary working modes, detection is carried out by relying on the passive infrared sensor, the radar sensor is turned off, or the detection frequency of the radar sensor is reduced, such as extending the detection interval of the radar sensor from the original 1 second to 5 seconds, and the detection results of the passive infrared sensor are used as the main basis. Only when there is doubt about the detection results of the passive infrared sensor, the detection results of the radar sensor are started for auxiliary confirmation. The above-mentioned method can reduce the startup delay of the target device caused by multiple rounds of verification whether there is a target object entering the detection area, and at the same time reduce the power consumption of the device caused by the frequent startup and operation of the radar sensor.
[0087] S240: Control the operation of the passive infrared sensor and the radar sensor associated with the target device according to the second information to obtain third information, where the third information is used to indicate whether a target object of a preset type enters a detection area of the target device.
[0088] As an optional but non-limiting implementation, controlling the operation of a passive infrared sensor and a radar sensor associated with the target device according to the second information to obtain the third information includes but is not limited to the following steps A1-A3:
[0089] Step A1: In response to the second information indicating that the main sensor corresponding to the main and auxiliary working modes is a passive infrared sensor, the passive infrared sensor associated with the target device is started, and the radar sensor associated with the target device is configured to be turned off or run after reducing the detection frequency.
[0090] Step A2: In response to the first signal detected by the passive infrared sensor meeting a first preset condition, determining third information according to the first signal detected by the passive infrared sensor associated with the target device.
[0091] Step A3: In response to the first signal detected by the passive infrared sensor not meeting the first preset condition, starting the radar sensor associated with the target device to detect and obtain a second signal, and determining the third information based on the first signal and the second signal; or, in response to the first signal detected by the passive infrared sensor not meeting the first preset condition, obtaining a third signal detected by the radar sensor associated with the target device when operating at a reduced detection frequency, and determining the third information based on the first signal and the third signal.
[0092] By adopting the above solution, the performance of the equipment is improved by dynamically adapting the working modes of the main and auxiliary sensors. When the passive infrared sensor is the main sensor, the radar sensor is turned off or the frequency is reduced to reduce the energy consumption of the equipment and signal conflicts. When the signal detected by the passive infrared sensor meets the conditions, its data is directly used to determine the information to ensure response efficiency. When the signal detected by the passive infrared sensor does not meet the conditions, the radar sensor is started or its frequency is reduced to detect and the detection results are fused and judged. This not only reduces invalid energy consumption, but also improves the detection accuracy and reliability in complex scenarios through the collaboration of multiple sensors, and enhances the environmental adaptability of the equipment.
[0093] As an optional but non-limiting implementation scheme, whether the first signal meets the first preset condition is judged based on whether the signal stability of the first signal is greater than the preset signal stability and whether the signal feature difference between the signal feature of the first signal and the preset signal feature is less than the preset feature difference. The preset signal stability is determined based on the infrared radiation signal released by the preset type of target object pre-collected by the passive infrared sensor presenting a continuous and regular signal state in the time dimension. The preset signal feature is determined based on the signal feature of the infrared radiation signal released by the preset type of target object pre-collected by the passive infrared sensor.
[0094] Optionally, the first signal satisfies the first preset condition including that the signal stability of the first signal is greater than a preset signal stability and that a signal characteristic difference between the signal characteristic of the first signal and a preset signal characteristic is less than a preset characteristic difference. The first signal satisfies the first preset condition including that the signal stability of the first signal is not greater than the preset signal stability or that a signal characteristic difference between the signal characteristic of the first signal and a preset signal characteristic is not less than a preset characteristic difference. The signal stability of the first signal can be described by a signal strength fluctuation of the first signal.
[0095] The above solution improves detection reliability through a precise signal judgment mechanism. Based on the infrared radiation characteristics (continuous regularity and specific signal characteristics) of preset target types, the validity of the first signal is determined from two dimensions: signal stability and characteristic difference. This not only avoids misjudgment in a single dimension, but also fits the characteristics of the real target through the preset benchmark. It can effectively filter out environmental interference and reduce false triggering of passive infrared sensors. At the same time, it provides an accurate judgment basis for the subsequent collaboration of main and auxiliary sensors, ensuring more accurate target recognition in complex scenarios and improving the anti-interference ability and decision reliability of equipment detection.
[0096] As another optional but non-limiting implementation, controlling the operation of a passive infrared sensor and a radar sensor associated with the target device according to the second information to obtain the third information includes but is not limited to the following steps B1-B3:
[0097] Step B1: In response to the second information indicating that the main sensor corresponding to the main and auxiliary working modes is a radar sensor, the radar sensor associated with the target device is started, and the passive infrared sensor associated with the target device is configured to be turned off or to operate after reducing the detection frequency.
[0098] Step B2: In response to the fourth signal detected by the radar sensor meeting the second preset condition, determine third information according to the fourth signal detected by the radar sensor associated with the target device.
[0099] Step B3: In response to the fourth signal detected by the radar sensor not meeting the second preset condition, start the passive infrared sensor associated with the target device to detect and obtain a fifth signal, and determine the third information based on the fourth signal and the fifth signal; or, in response to the fourth signal detected by the radar sensor not meeting the second preset condition, obtain a sixth signal detected by the passive infrared sensor associated with the target device when operating at a reduced detection frequency, and determine the third information based on the fourth signal and the sixth signal.
[0100] This solution improves detection reliability and energy efficiency by dynamically switching between primary and secondary sensor operating modes. When the radar sensor is the primary sensor, the passive infrared sensor is disabled or operated at a reduced frequency, reducing inefficient energy consumption and interference sources. When the radar sensor's signal meets the requirements, the radar sensor's results are used directly to ensure efficient detection. When the radar sensor's signal fails to meet the requirements, the passive infrared sensor is linked (activating or invoking reduced-frequency data) to generate a fused detection result, thus addressing the limitations of a single sensor. This approach leverages the radar sensor's strength in resisting specific interference while circumventing the limitations of scene adaptability through the collaboration of the two sensors, achieving a balance between improved detection accuracy and optimized energy consumption in complex environments.
[0101] As an optional but non-limiting implementation scheme, whether the fourth signal meets the second preset condition is judged based on whether the difference between the motion characteristics of the target object indicated by the fourth signal and the preset motion characteristics is less than the preset motion difference. The motion characteristics of the target object are obtained by pre-detecting a preset type of target object through a radar sensor, and the motion characteristics of the target object include the motion speed and motion direction of the target object.
[0102] The above scheme can accurately quantify the differences in the motion characteristics of the target objects. The motion characteristics indicated by the fourth signal are compared with the preset target motion characteristics (speed, direction) pre-acquired by the radar sensor. The ambiguity of traditional judgment is avoided by determining whether the difference in the target object motion characteristics is less than the preset motion difference. It can effectively filter out interference from non-preset target objects and reduce misjudgment. At the same time, relying on the radar sensor's ability to accurately capture motion characteristics, it ensures a detailed portrayal of the target's motion state, thereby improving the accuracy of target recognition and timely response in complex scenarios.
[0103] S250: Determine whether to wake up the target device to perform the target detection task according to the third information.
[0104] Based on the above embodiment, optionally, the target detection method provided by the embodiment of the present invention may further include the following process:
[0105] The detection weight of the passive infrared sensor associated with the target device and the detection weight of the radar sensor associated with the target device are adjusted according to the second information, so as to calculate the third information according to the detection weight of the passive infrared sensor and the detection weight of the radar sensor.
[0106] According to the characteristics of different equipment operation scenarios, the detection weights of passive infrared sensors and radar sensors are reasonably allocated to give full play to their respective advantages. While shortening the startup time, the accuracy of detection of whether there is a target object in the detection area of the target device is guaranteed, reducing false alarms and missed alarms.
[0107] The technical solution of the embodiment of the present invention detects first information for indicating the type of device operation scenario in which the target device is located. The passive infrared sensor and radar sensor associated with the target device are both used to detect whether a target object of a preset type enters the detection area of the target device. Considering that the detection interference suffered by the passive infrared sensor and radar sensor associated with the target device are related to the type of device operation scenario, the main and auxiliary working modes of the passive infrared sensor and radar sensor associated with the target device can be configured in a targeted manner through the first information, and then the operation strategies of the passive infrared sensor and radar sensor associated with the target device can be adjusted in real time. Therefore, in some device operation scenarios, only the passive infrared sensor or radar sensor with relatively low detection interference needs to be used for dominant detection, avoiding In some device operation scenarios, multiple rounds of detection redundancy are generated by using passive infrared sensors and radar sensors for high-frequency detection at the same time, thereby reducing the processing time of the passive infrared sensors and radar sensors associated with the target device before the target device is woken up and started, directly shortening the response cycle from detection to wake-up. In this way, the target device can more quickly decide whether to be woken up and perform the target detection task based on the third information used to indicate whether there is a preset type of target object entering the detection area of the target device, so that the target device can operate with the optimal strategy in different device operation scenarios, ultimately improving the utilization efficiency of the target device; and, there is no need to always use passive infrared sensors and radar sensors for high-frequency detection at the same time to generate multiple rounds of detection redundancy, so it can also shorten the time it takes to start up the device and reduce device power consumption.
[0108] Figure 3 A flowchart of a target detection method is provided for an embodiment of the present invention. This embodiment is applicable to situations where a passive infrared sensor and a radar sensor are used for pre-detection and a target detection device is awakened to perform a target detection task based on the pre-detection results. The target detection device can be implemented in the form of hardware and / or software, and the target detection device can be configured in any electronic device with network communication function.
[0109] like Figure 3 As shown, the target detection device provided by the embodiment of the present invention may include the following:
[0110] A detection module 310 is configured to detect first information of a target device, where the first information is used to indicate a type of device operation scenario in which the target device is located;
[0111] a determination module 320 configured to determine second information of the target device based on the first information, the second information being used to indicate a primary or secondary operating mode of a passive infrared sensor and a radar sensor associated with the target device, the degree of interference experienced by each of the passive infrared sensor and the radar sensor during detection being associated with a device operating scenario type, and both the passive infrared sensor and the radar sensor being used to detect whether a target object of a preset type enters a detection area of the target device;
[0112] a control module 330 configured to control the operation of a passive infrared sensor and a radar sensor associated with the target device according to the second information to obtain third information, wherein the third information is used to indicate whether a target object of a preset type enters a detection area of the target device;
[0113] The wake-up module 340 is configured to determine whether to wake up the target device to perform a target detection task according to the third information.
[0114] Based on the above embodiment, optionally, the main sensor corresponding to the main and auxiliary working modes is a passive infrared sensor or a radar sensor associated with the target device, and the auxiliary sensor corresponding to the main and auxiliary working modes is a passive infrared sensor or a radar sensor associated with the target device other than the main sensor. The main sensor is configured to be on, and the auxiliary sensor is configured to be off or to reduce the detection frequency. Whether the auxiliary sensor is adjusted from the off state to the on state or whether the detection frequency needs to be restored is determined based on the detection accuracy of the main sensor when performing detection.
[0115] Based on the above embodiment, optionally, determining the second information of the target device according to the first information includes:
[0116] In response to a reference device operation scenario type in at least one device operation scenario type being the same as the device operation scenario type indicated by the first information, obtaining a sensor configuration mode associated with the reference device operation scenario type, the sensor configuration mode being used to indicate which sensor, between a passive infrared sensor and a radar sensor associated with the target device under the reference device operation scenario type, should be configured as a primary sensor;
[0117] The second information of the target device is determined according to the sensor configuration information associated with the reference device operation scenario type.
[0118] Based on the above embodiment, optionally, the at least one device operation scenario type includes at least one of the following:
[0119] A first type of device operation scenario in which a temperature sensor built into the target device detects that a temperature of an area where the target device is located is not greater than a first temperature;
[0120] A second type of device operation scenario in which a temperature sensor built into the target device detects that a temperature in an area where the target device is located is greater than a first temperature;
[0121] A third type of device operation scenario in which the number of target objects of a preset type detected in the detection area of the target device per unit time is greater than a preset number;
[0122] A fourth type of device operation scenario in which multiple temperature sensors arranged around the target device detect that a plurality of heat sources having a temperature greater than a second temperature exist in an area around the target device;
[0123] The fifth type of device operation scenario when the passive infrared sensor meets the preset trigger conditions, wherein the passive infrared sensor meets the preset trigger conditions, including that the number of triggers of the passive infrared sensor per unit time is greater than the preset number, and the radar sensor detects the same target object each time the passive infrared sensor is triggered and detects the target object.
[0124] Based on the above embodiment, optionally, when the reference device operation scenario is the first type device operation scenario, the third type device operation scenario, or the fifth type device operation scenario, the main sensor corresponding to the primary and secondary working modes indicated by the second information is a passive infrared sensor;
[0125] When the reference device operation scenario is the second type device operation scenario or the fourth type device operation scenario, the main sensor corresponding to the primary and secondary working modes indicated by the second information is a radar sensor.
[0126] Based on the above embodiment, optionally, the operation of the passive infrared sensor and the radar sensor associated with the target device is controlled according to the second information to obtain the third information, including:
[0127] In response to the second information indicating that the primary sensor corresponding to the primary and secondary working modes is a passive infrared sensor, starting the passive infrared sensor associated with the target device and configuring the radar sensor associated with the target device to be turned off or to operate with a reduced detection frequency;
[0128] In response to the first signal detected by the passive infrared sensor satisfying a first preset condition, determining the third information based on the first signal detected by the passive infrared sensor associated with the target device;
[0129] In response to the first signal detected by the passive infrared sensor not meeting the first preset condition, starting a radar sensor associated with the target device to detect and obtain a second signal, and determining the third information based on the first signal and the second signal; or
[0130] In response to the first signal detected by the passive infrared sensor not meeting the first preset condition, a third signal detected by the radar sensor associated with the target device when operating at a reduced detection frequency is obtained, and the third information is determined based on the first signal and the third signal.
[0131] Based on the above embodiment, optionally, whether the first signal satisfies the first preset condition is judged based on whether the signal stability of the first signal is greater than the preset signal stability and whether the signal feature difference between the signal feature of the first signal and the preset signal feature is less than the preset feature difference. The preset signal stability is determined based on the infrared radiation signal released by the preset type of target object pre-collected by the passive infrared sensor presenting a continuous and regular signal state in the time dimension. The preset signal feature is determined based on the signal feature of the infrared radiation signal released by the preset type of target object pre-collected by the passive infrared sensor.
[0132] Based on the above embodiment, optionally, the operation of the passive infrared sensor and the radar sensor associated with the target device is controlled according to the second information to obtain the third information, including:
[0133] In response to the primary sensor corresponding to the primary-auxiliary working mode indicated by the second information being a radar sensor, starting the radar sensor associated with the target device and configuring the passive infrared sensor associated with the target device to be turned off or to operate with a reduced detection frequency;
[0134] In response to the fourth signal detected by the radar sensor satisfying a second preset condition, determining the third information based on the fourth signal detected by the radar sensor associated with the target device;
[0135] In response to the fourth signal detected by the radar sensor not satisfying the second preset condition, starting a passive infrared sensor associated with the target device to detect and obtain a fifth signal, and determining the third information based on the fourth signal and the fifth signal; or
[0136] In response to the fourth signal detected by the radar sensor not meeting the second preset condition, a sixth signal detected by the passive infrared sensor associated with the target device when operating at a reduced detection frequency is obtained, and the third information is determined based on the fourth signal and the sixth signal.
[0137] Based on the above embodiment, optionally, whether the fourth signal meets the second preset condition is judged based on whether the difference between the motion characteristics of the target object indicated by the fourth signal and the preset motion characteristics is less than the preset motion difference, and the motion characteristics of the target object are obtained by pre-detecting the preset type of target object through the radar sensor, and the motion characteristics of the target object include the motion speed and motion direction of the target object.
[0138] Based on the above embodiment, optionally, the method further includes:
[0139] The detection weight of the passive infrared sensor associated with the target device and the detection weight of the radar sensor associated with the target device are adjusted according to the second information, so as to calculate the third information according to the detection weight of the passive infrared sensor and the detection weight of the radar sensor.
[0140] The technical solution of the embodiment of the present invention detects first information for indicating the type of device operation scenario in which the target device is located. The passive infrared sensor and radar sensor associated with the target device are both used to detect whether a target object of a preset type enters the detection area of the target device. Considering that the detection interference suffered by the passive infrared sensor and radar sensor associated with the target device are related to the type of device operation scenario, the main and auxiliary working modes of the passive infrared sensor and radar sensor associated with the target device can be configured in a targeted manner through the first information, and then the operation strategies of the passive infrared sensor and radar sensor associated with the target device can be adjusted in real time. Therefore, in some device operation scenarios, only the passive infrared sensor or radar sensor with relatively low detection interference needs to be used for dominant detection, avoiding In some device operation scenarios, multiple rounds of detection redundancy are generated by using passive infrared sensors and radar sensors for high-frequency detection at the same time, thereby reducing the processing time of the passive infrared sensors and radar sensors associated with the target device before the target device is woken up and started, directly shortening the response cycle from detection to wake-up. In this way, the target device can more quickly decide whether to be woken up and perform the target detection task based on the third information used to indicate whether there is a preset type of target object entering the detection area of the target device, so that the target device can operate with the optimal strategy in different device operation scenarios, ultimately improving the utilization efficiency of the target device; and, there is no need to always use passive infrared sensors and radar sensors for high-frequency detection at the same time to generate multiple rounds of detection redundancy, so it can also shorten the time it takes to start up the device and reduce device power consumption.
[0141] The target detection device provided in the embodiment of the present invention can execute the target detection method provided in any embodiment of the present invention mentioned above, and has the corresponding functions and beneficial effects of executing the target detection method. For detailed process, please refer to the relevant operations of the target detection method in the above embodiment.
[0142] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the embodiments of the present invention.
[0143] Figure 4 A schematic diagram of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing devices, cellular phones, smartphones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0144] like Figure 4 As shown, electronic device 10 includes at least one processor 11 and memory, such as read-only memory (ROM) 12 and random access memory (RAM) 13, communicatively connected to at least one processor 11. The memory stores computer programs executable by the at least one processor. Processor 11 can perform various appropriate actions and processes based on the computer programs stored in ROM 12 or loaded from storage unit 18 into RAM 13. RAM 13 can also store various programs and data required for the operation of electronic device 10. Processor 11, ROM 12, and RAM 13 are interconnected via bus 14. An input / output (I / O) interface 15 is also connected to bus 14.
[0145] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0146] Processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any other suitable processor, controller, microcontroller, etc. Processor 11 executes the various methods and processes described above, such as the target detection method.
[0147] In some embodiments, the target detection method can be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the target detection method described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the target detection method in any other suitable manner (e.g., via firmware).
[0148] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system comprising at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0149] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0150] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or apparatus. A computer-readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or apparatus, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media may include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0151] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device that has: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0152] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0153] A computing system may include clients and servers. The clients and servers are generally remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, establishing a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS (Virtual Private Server) services.
[0154] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.
[0155] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A target detection method, characterized in that: The method comprises: Detecting first information of a target device, where the first information is used to indicate a device operation scenario type of the target device; determining second information of the target device based on the first information, the second information being used to indicate a primary or secondary operating mode of a passive infrared sensor and a radar sensor associated with the target device, the degree of interference experienced by each of the passive infrared sensor and the radar sensor during detection being associated with a device operating scenario type, and both the passive infrared sensor and the radar sensor being used to detect whether a target object of a preset type enters a detection area of the target device; controlling the operation of a passive infrared sensor and a radar sensor associated with the target device according to the second information to obtain third information, wherein the third information is used to indicate whether a target object of a preset type enters a detection area of the target device; Determine whether to wake up the target device to perform the target detection task according to the third information.
2. The method according to claim 1, characterized in that The main sensor corresponding to the main and auxiliary working modes is a passive infrared sensor or a radar sensor associated with the target device. The auxiliary sensor corresponding to the main and auxiliary working modes is a sensor other than the main sensor among the passive infrared sensor and the radar sensor associated with the target device. The main sensor is configured to be on, and the auxiliary sensor is configured to be off or to reduce the detection frequency. Whether the auxiliary sensor is adjusted from the off state to the on state or whether the detection frequency needs to be restored is determined based on the detection accuracy of the main sensor when performing detection.
3. The method according to claim 1 or 2, characterized in that Determining second information of the target device according to the first information includes: In response to a reference device operation scenario type in at least one device operation scenario type being the same as the device operation scenario type indicated by the first information, obtaining a sensor configuration mode associated with the reference device operation scenario type, the sensor configuration mode being used to indicate which sensor, between a passive infrared sensor and a radar sensor associated with the target device under the reference device operation scenario type, should be configured as a primary sensor; The second information of the target device is determined according to the sensor configuration information associated with the reference device operation scenario type.
4. The method according to claim 3, characterized in that The at least one device operation scenario type includes at least one of the following: A first type of device operation scenario in which a temperature sensor built into the target device detects that a temperature of an area where the target device is located is not greater than a first temperature; A second type of device operation scenario in which a temperature sensor built into the target device detects that a temperature in an area where the target device is located is greater than a first temperature; A third type of device operation scenario in which the number of target objects of a preset type detected in the detection area of the target device per unit time is greater than a preset number; A fourth type of device operation scenario in which multiple temperature sensors arranged around the target device detect that a plurality of heat sources having a temperature greater than a second temperature exist in an area around the target device; The fifth type of device operation scenario when the passive infrared sensor meets the preset trigger conditions, wherein the passive infrared sensor meets the preset trigger conditions, including that the number of triggers of the passive infrared sensor per unit time is greater than the preset number, and the radar sensor detects the same target object each time the passive infrared sensor is triggered and detects the target object.
5. The method according to claim 4, characterized in that When the reference device operation scenario is a first type device operation scenario, a third type device operation scenario, or a fifth type device operation scenario, the primary sensor corresponding to the primary and secondary operating modes indicated by the second information is a passive infrared sensor; When the reference device operation scenario is the second type device operation scenario or the fourth type device operation scenario, the main sensor corresponding to the primary and secondary working modes indicated by the second information is a radar sensor.
6. The method according to claim 2, characterized in that The third information is obtained by controlling the operation of the passive infrared sensor and the radar sensor associated with the target device according to the second information, including: In response to the second information indicating that the primary sensor corresponding to the primary-auxiliary working mode is a passive infrared sensor, starting the passive infrared sensor associated with the target device, and configuring the radar sensor associated with the target device to be turned off or to operate with a reduced detection frequency; In response to the first signal detected by the passive infrared sensor satisfying a first preset condition, determining the third information based on the first signal detected by the passive infrared sensor associated with the target device; In response to the first signal detected by the passive infrared sensor not meeting the first preset condition, starting a radar sensor associated with the target device to detect and obtain a second signal, and determining the third information based on the first signal and the second signal; or In response to the first signal detected by the passive infrared sensor not meeting the first preset condition, a third signal detected by the radar sensor associated with the target device when operating at a reduced detection frequency is obtained, and the third information is determined based on the first signal and the third signal.
7. The method according to claim 6, characterized in that Whether the first signal meets the first preset condition is judged based on whether the signal stability of the first signal is greater than the preset signal stability and whether the signal feature difference between the signal feature of the first signal and the preset signal feature is less than the preset feature difference. The preset signal stability is determined based on the infrared radiation signal released by the preset type of target object pre-collected by the passive infrared sensor presenting a continuous and regular signal state in the time dimension. The preset signal feature is determined based on the signal feature of the infrared radiation signal released by the preset type of target object pre-collected by the passive infrared sensor.
8. The method according to claim 2, characterized in that The third information is obtained by controlling the operation of the passive infrared sensor and the radar sensor associated with the target device according to the second information, including: In response to the primary sensor corresponding to the primary-auxiliary working mode indicated by the second information being a radar sensor, starting the radar sensor associated with the target device and configuring the passive infrared sensor associated with the target device to be turned off or to operate with a reduced detection frequency; In response to the fourth signal detected by the radar sensor satisfying a second preset condition, determining the third information based on the fourth signal detected by the radar sensor associated with the target device; In response to the fourth signal detected by the radar sensor not satisfying the second preset condition, starting a passive infrared sensor associated with the target device to detect and obtain a fifth signal, and determining the third information based on the fourth signal and the fifth signal; or In response to the fourth signal detected by the radar sensor not meeting the second preset condition, a sixth signal detected by the passive infrared sensor associated with the target device when operating at a reduced detection frequency is obtained, and the third information is determined based on the fourth signal and the sixth signal.
9. The method according to claim 8, characterized in that Whether the fourth signal satisfies the second preset condition is determined based on whether the difference between the motion characteristics of the target object indicated by the fourth signal and the preset motion characteristics is less than the preset motion difference. The motion characteristics of the target object are obtained by pre-detecting a preset type of target object through a radar sensor, and the motion characteristics of the target object include the motion speed and motion direction of the target object.
10. The method according to claim 6 or 8, characterized in that The method further comprises: The detection weight of the passive infrared sensor associated with the target device and the detection weight of the radar sensor associated with the target device are adjusted according to the second information, so as to calculate the third information according to the detection weight of the passive infrared sensor and the detection weight of the radar sensor.
11. A target detection device, characterized in that: The device comprises: A detection module, configured to detect first information of a target device, where the first information is used to indicate a type of device operation scenario in which the target device is located; a determination module, configured to determine second information of the target device based on the first information, the second information being used to indicate a primary or secondary operating mode of a passive infrared sensor and a radar sensor associated with the target device, the degree of interference experienced by each of the passive infrared sensor and the radar sensor during detection being associated with a device operating scenario type, and the passive infrared sensor and the radar sensor being used to detect whether a target object of a preset type enters a detection area of the target device; a control module, configured to control the operation of a passive infrared sensor and a radar sensor associated with the target device according to the second information to obtain third information, wherein the third information is used to indicate whether a target object of a preset type enters a detection area of the target device; A wake-up module is used to determine whether to wake up the target device to perform the target detection task according to the third information.
12. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor. The computer program is executed by the at least one processor to enable the at least one processor to perform the target detection method according to any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the target detection method according to any one of claims 1 to 10 when executed.
Citation Information
Patent Citations
Low-power-consumption target monitoring device, method and system
CN113109806A
Environment adaptive perception target tracking method, system and equipment
CN117522922A
Human body induction intelligent control system based on infrared and radar combination technology
CN119255446A
Target detection method, device and equipment based on multi-sensor fusion and storage medium
CN119511270A
Object-based distance monitoring method and system, and medium
US20250052890A1