Method and device for reducing target missing detection

By receiving and using the pre-volume data in the time period from the wake-up state to the start of target detection for target detection, the problem of missed target detection when the electronic device switches from the sleep state to the wake-up state is solved, achieving higher detection reliability and Power consumption savings.

CN118779537APending Publication Date: 2024-10-15SHENZHEN MICROBT ELECTRONICS TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310394568.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-07
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

When existing electronic devices switch from sleep state to wake-up state and perform intelligent detection, there is a problem of missed detection of targets. This is because when the target stays for a short time, the detection algorithm cannot detect the target in time, resulting in missed detection.

Method used

Target detection is performed by receiving front-volume data from the continuously working second module, including data from the wake-up state to the start of target detection, ensuring that no data for target detection is missed, thereby reducing missed detections.

Benefits of technology

It effectively reduces target missed detection, improves system reliability, saves power consumption, and improves the comprehensiveness of target detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779537A_ABST
    Figure CN118779537A_ABST
Patent Text Reader

Abstract

The invention discloses a method for reducing target missing detection, and the method comprises the steps: receiving the previous volume data from a second module which continuously works at low power consumption after a first module which does not work due to power failure is switched from a dormant state to a wake-up state, the previous volume data at least comprises data used for target detection in a time period from a wake-up moment when the first module is switched to a wake-up state to a start moment when the first module starts target detection, and the first module performs target detection based on the previous volume data. According to the invention, all data used for target detection from the power-on moment of the first module are not missed, the low-power-consumption operation state can be maintained, and target missing detection is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of event detection of electronic devices, and in particular, to a method for reducing missed detection of targets. Background Art

[0002] To save power consumption, existing electronic devices usually work in a dormant state when no tasks are being executed, and switch from the dormant state to the awake state when there are tasks. For example, existing battery-powered cameras, doorbells and other products usually work in a dormant state. When a target is detected by a passive infrared (PIR) device, an alarm is triggered. The device needs to start quickly so that image data can be pushed to the user after waking up. However, there are various situations in actual scenarios. For example, when the ambient temperature is high and changes, various false alarm events are prone to occur. Therefore, after the device wakes up, it is necessary to filter false alarm events through built-in or cloud-based target shape detection, target face detection and other intelligent detection algorithms. When the device is detected to be falsely triggered, it will immediately go to sleep to save power consumption.

[0003] The above method has a disadvantage: it takes some time for the device to switch from sleep state to wake-up state and then for the intelligent detection algorithm to perform detection, usually several hundred milliseconds. When the target in the picture stays for a short time, for example, it has left the picture within a few hundred milliseconds, the target detection algorithm will not be able to detect the video frame with the target, but objectively there is a target, so the target will be missed. Summary of the invention

[0004] The present invention provides a method for reducing missed target detection, so as to solve the problem of missed target detection in the time period from the awakening state to the start of target detection.

[0005] A first aspect of the present invention provides a method for reducing missed target detection, the method comprising:

[0006] After the first module that is powered off and not working switches from the sleep state to the awake state, the forward roll data from the second module that is continuously working is received, wherein the forward roll data at least includes: data for target detection in a time period from the awakening moment when the first module switches to the awake state to the start moment when the first module starts target detection,

[0007] The first module performs target detection based on the pre-convolution data.

[0008] Preferably, the previous volume data is stored in the second module, and the collected current data overwrites the earliest collected data when it is stored;

[0009] The first module performs target detection based on the pre-volume data, including:

[0010] The first module starts the intelligent detection algorithm to detect whether there is a target in the received pre-roll data.

[0011] If there is a target, it stays awake and outputs the target detection result.

[0012] If no target exists, switch to sleep state.

[0013] Preferably, the first module is a first processor, and the second module is a second processor; or, the first module and the second module are integrated into the same processor;

[0014] After the awakening state is maintained and the target detection result is output, the method further includes:

[0015] The first module notifies the second module to stop storing the current data collected.

[0016] Acquire current data collected in real time and perform target detection based on the current data.

[0017] Preferably, the pre-roll data is obtained in the following manner:

[0018] The second module obtains the current state of the first module, determines the moment when the first module changes from the dormant state to the awakened state as the awakening moment, records the time information of the data stored at the awakening moment, determines the moment when the first module starts the target detection as the start-up moment, and records the time information of the data stored at the start-up moment,

[0019] According to the recorded time information, the data corresponding to the awakening time to the startup time is extracted as the forward data.

[0020] Preferably, the forward data also includes: data stored in the second module within a set time threshold before the wake-up moment, and the data is obtained in the following manner:

[0021] Based on the wake-up time, the time information corresponding to the set time threshold is traced back to extract the data corresponding to the time information starting from the time information to the end of the set time threshold.

[0022] Preferably, the pre-roll data is obtained in the following manner:

[0023] The second module detects the first output level of the first module for characterizing the awakening state and the second output level for characterizing the start target detection, determines the moment when the first output level is detected as the awakening moment, and determines the moment when the second output level is detected as the start moment,

[0024] Mark the data stored from the wake-up time until the start time,

[0025] According to the tag information, the stored data is extracted as the pre-volume data;

[0026] The previous volume data also includes: data stored in the second module within the data volume threshold set before the wake-up time, and the data is obtained in the following manner:

[0027] Based on the wake-up time, the stored data corresponding to the set data volume threshold is traced forward, and the data corresponding to the wake-up time from the stored data is extracted.

[0028] A second aspect of the present invention provides a method for reducing missed target detection, the method comprising:

[0029] The continuously working second module obtains the current state of the first module, and after obtaining that the first module that is not working due to power failure switches from the sleep state to the awake state, sends the stored previous roll data to the first module, so that the first module performs target detection based on the previous roll data.

[0030] The pre-roll data at least includes: data used for target detection in a time period from the awakening moment when the first module switches to the awake state to the start moment when the first processor starts target detection.

[0031] A third aspect of the present invention provides a device for reducing missed target detection, the device comprising:

[0032] The first module that is not working when power is off is used to receive the previous roll data stored in the second module that is continuously working after switching from the sleep state to the wake-up state, and perform target detection based on the previous roll data.

[0033] The pre-roll data at least includes: data used for target detection in a time period from the awakening moment when the first module switches to the awake state to the start moment when the first module starts target detection.

[0034] A fourth aspect of the present invention provides a device for reducing missed target detection, characterized in that the device comprises:

[0035] The continuously working second module is used to obtain the current state of the first module, and after obtaining that the first processor that is powered off and not working switches from the sleep state to the wake-up state, the stored pre-roll data is sent to the first module, so that the first module performs target detection based on the pre-roll data.

[0036] The pre-roll data at least includes: data used for target detection in a time period from the awakening moment when the first module switches to the awake state to the start moment when the first module starts target detection.

[0037] A fourth aspect of the present invention provides an electronic device, which includes the above-mentioned device.

[0038] A method for reducing missed target detection provided by an embodiment of the present application performs target detection by using forward-scroll data received from a second module that continues to work at low power consumption after a first module that is powered off and not working switches from a sleep state to an awake state, so that all data used for target detection in the first module from the moment of power-on are not missed, thereby helping to reduce missed target detection and improving the reliability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A flowchart of a method for reducing missed target detection according to an embodiment of the present application.

[0040] Figure 2 A flowchart of a method for reducing missed target detection according to an embodiment of the present application.

[0041] Figure 3 A schematic diagram of the relationship between the pre-rolled data stored by the second processor and the wake-up time and start-up time of the first processor.

[0042] Figure 4 A schematic diagram of a device or electronic device for reducing missed detection of a target.

[0043] Figure 5 Another schematic diagram of an apparatus or electronic device for reducing missed target detection. DETAILED DESCRIPTION

[0044] In order to make the objectives, technical means and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings.

[0045] The embodiment of the present application utilizes the forward-rolled data in the time period from the awake state to the start of target detection to perform target detection, which can save power consumption and reduce missed detection of targets.

[0046] See also Figure 1 As shown, Figure 1 A flow chart of a method for reducing missed detection of a target according to an embodiment of the present application. On the first module side that is powered off and not working, the method includes:

[0047] Step 101, after switching from the sleep state to the awake state, receiving the forward roll data from the second module that is continuously working,

[0048] The preroll data at least includes: data used for target detection in a time period from the awakening moment when the first module switches to the awakening state to the start moment of the moving target detection of the first module,

[0049] It should be understood that the data used for target detection can be determined according to the algorithm adopted for target detection, including but not limited to image, sound, text and other data. The pre-volume data can be stored in the second module or in a storage space outside the second module.

[0050] As an example, the first module is a first processor, for example, a main processor that outputs a video code stream, and has image encoding and decoding and image processing capabilities, such as a system-on-chip SOC, and the second module is a second processor, for example, for capturing sensor image data with a small resolution. In order to further reduce energy consumption and enable the second processor to operate in a low-power mode, the second processor can be configured to provide its operating power supply through a photovoltaic module. As another example, the first module and the second module are integrated in the same processor.

[0051] In this step, the first module interacts with the second module so that after the first module switches from the sleep state to the wake-up state, it receives the forward data from the second chip module that continuously operates at low power consumption.

[0052] One example is that after the first module wakes up, it actively sends an indication for indicating the wake-up to the second module. For example, the first processor sends an indication for indicating the wake-up to the second module through an interface such as a secure digital input and output interface (SDIO), a serial peripheral interface (SPI), or a general input and output interface (GPIO); after receiving the indication, the second module sends the pre-rolled data to the first module;

[0053] Another example is that after waking up, the first module sends an instruction to the second module for notifying the second module to send the pre-rolled data. The instruction may be a private protocol and carries a field for indicating the start of information transmission, or a field for indicating the level change of the wake-up state.

[0054] Another example is that the system detects the state of the first module, and triggers the second module to send data to the first module when it detects that the first module is awake; for example, the system detects the level change used by the first module to characterize the awake state, and triggers the second module to send data to the first module when the level change is detected.

[0055] Step 102: The first module performs target detection based on the pre-convolution data.

[0056] As an example, the first module starts the intelligent detection algorithm to perform target detection on the pre-roll data.

[0057] In this embodiment, the pre-roll data may vary with the wake-up time and the startup time, which makes the method adaptable to modules with different performances, which is beneficial to reduce the processing performance requirements of the first module, thereby saving costs, and can adapt to different application environments, so that the first module does not miss any pre-roll data from the moment of power-on, greatly reducing the missed detection of the target and improving the reliability of target detection.

[0058] To facilitate understanding of the present application, cameras, doorbells, etc. in security electronic devices are used as examples for explanation. It should be understood that the present application is not limited to security electronic devices, and any other electronic devices with sleep and wake-up states can be applied.

[0059] See also Figure 2 As shown, Figure 2 A flowchart of a method for reducing missed detection of targets in an embodiment of the present application is provided. In this embodiment, the security electronic device includes: a first processor that can switch between a sleep state and a wake-up state, and a second processor that continuously operates in a low-power operation state, the first processor being a main processor that does not work after power failure, and the second processor being an auxiliary processor that can be in a continuous working state. The method includes:

[0060] Step 201: The second processor obtains the current state of the first processor.

[0061] When the first processor is in a dormant state, the currently collected data is continuously stored. As an example, the second processor continuously stores the currently collected data, and the collected data can be used for target detection, for example, image video data. In order to reduce the storage space occupied, the data used for target detection is compressed data. For example, for image data, the stored data is low-resolution compressed data. For example, the second processor is a dedicated chip that continuously picks up low-resolution data at a low frame rate and cyclically stores it in an internal cache, for example, the currently collected data overwrites the earliest currently stored data;

[0062] After acquiring that the first processor switches from a sleep state to an awake state, the stored forward data is sent to the first processor, wherein the forward data at least includes: data used for target detection in a time period from a wake-up moment when the first processor switches to the awake state to a start-up moment when the first processor starts target detection.

[0063] Pre-roll data can be obtained as follows:

[0064] As an example, the stored data within the startup time required for the target detection algorithm is extracted starting from the wake-up moment as the forward data; different target detection algorithms require different startup times, and the amount of extracted forward data is also different. When there are multiple target detection algorithms, the longest startup time required by the target detection algorithm is used as the duration range.

[0065] As another example, the second processor obtains the current state of the first processor, determines the moment when the first processor changes from the sleep state to the wake-up state as the wake-up moment, records the time information of the data stored at the wake-up moment, determines the moment when the first processor starts target detection as the start-up moment, and records the time information of the data stored at the start-up moment, wherein the time information may be timestamp information; based on the recorded time information, extract the data corresponding to the wake-up moment to the start-up moment as the forward roll data.

[0066] For example, the second processor obtains the awakening of the first processor through an alarm triggered by a passive infrared device, determines the awakening moment as the awakening moment, and records the first time information of the currently stored data, stores the data after the awakening moment in a continuous storage space or records the storage time information of each data; when the second processor receives the notification that the first processor starts target detection, it determines the current moment as the start-up moment, and records the second time information of the data stored at the start-up moment; based on the recorded first time information and second time information, the stored data within the range of the first time information and the second time information are searched to obtain the previous volume data.

[0067] In order to further reduce the possibility of missed detection of the target and increase the margin of the previous roll data, the previous roll data may also include data stored by the second processor within a set time threshold before the wake-up moment, and the data is obtained in the following manner:

[0068] Based on the wake-up moment, the time information corresponding to the set time threshold is traced back to extract the data corresponding to the time information starting from the time information to the end of the set time threshold, wherein the time threshold can be determined according to factors such as the start time of the target detection algorithm, system reliability, and missed detection probability.

[0069] As another example, the second processor detects the first output level of the first processor for characterizing the wake-up state and the second output level for characterizing the startup target detection, determines the moment when the first output level is detected as the wake-up moment, and determines the moment when the second output level is detected as the startup moment; at the wake-up moment, triggers marking of the currently stored data, and at the startup moment, stops marking of the currently stored data, so that the data stored in the time period from the wake-up moment to the startup moment can be distinguished, and the marked data is extracted according to the marking information to obtain the forward data.

[0070] For example, for the stored image data, each stored frame of the image is marked from the wake-up moment, and at the start moment, the marking is stopped, and each marked frame of the image is collected in sequence according to the marking information, so that the forward volume data can be obtained;

[0071] For another example, a first mark is made on the image frames stored at the wake-up moment, and the image frames after the wake-up moment are stored in a continuous storage space. A second mark is made on the image frames stored at the startup moment, and based on the first mark and the second mark, continuous image frames from the first mark to the second mark are extracted to obtain the forward roll data.

[0072] In order to increase the margin of the previous roll data, the previous roll data may also include data stored by the second processor within a set data volume threshold before the wake-up time, and the data is obtained in the following manner:

[0073] Based on the wake-up time, the stored data corresponding to the data volume threshold is set forward, and the data corresponding to the stored data to the wake-up time is extracted, wherein the data volume threshold can be determined according to factors such as the startup time of the target detection algorithm, system reliability, and missed detection probability.

[0074] See also Figure 3 As shown, Figure 3 A schematic diagram of the relationship between the forward data stored by the second processor and the wake-up time and start-up time of the first processor. In the figure, the gray part is the forward data, and the grid part is the forward data within the set threshold range, which is sent to the first processor for target detection.

[0075] In this step, as an example, the second processor obtains the current state of the first processor by detecting the third output level of the first processor output for representing the sleep state and the first output level of the first processor, or by obtaining the current state through a communication protocol between the first processor and the second processor. Step 202: After receiving the previous roll data, the first processor performs target detection based on the previous roll data to obtain a target detection result.

[0076] As an example, the first processor decodes the received pre-rolled data, starts the intelligent detection algorithm, and detects whether there is a target in the decoded pre-rolled data. For example, the intelligent detection algorithm includes but is not limited to an image-based face detection algorithm, a body detection algorithm, a posture detection algorithm, a sound-based detection algorithm, etc.

[0077] Step 203: The first processor determines whether a target is detected.

[0078] If yes, the first processor remains awake and outputs an alarm.

[0079] Further, as an example, the first processor notifies the second processor to suspend data storage, for example, outputs an interrupt instruction to the second processor to reduce power consumption of the second processor;

[0080] The first processor performs target detection on the collected current real-time data, or pushes real-time data to the user, until the first processor enters the sleep state and executes step 204; otherwise, it switches to the sleep state so that the PIR can be quickly put into sleep mode in case of false triggering, thereby helping to save power consumption.

[0081] For example, the application can visually present: when no target is detected, the system goes into sleep mode immediately to prevent false alarms and reduce power consumption, and can also display forward-rolled data, which corresponds to a short video; when a target is detected, the system wakes up normally and displays a long video.

[0082] Step 204: the first processor notifies the second processor of the current state, and the second processor returns to execute step 201 according to the current state.

[0083] As another example, the second processor obtains the current state of the first processor.

[0084] When the first processor is in a dormant state, the second processor continuously stores the currently collected data.

[0085] When the first processor is in the awake state, the second processor pauses to store the currently collected data. This embodiment uses the pre-roll data stored by the second processor to perform supplementary target detection, avoiding the defect of missed detection of targets during the traditional period from PIR triggering awakening to intelligent detection startup, so as not to miss any alarm. In particular, in the case where there is no better improvement effect and room for improvement in optimizing the startup time of the processor from the sleep state to the awake state for rapid output, this embodiment abandons the optimization of the startup process and uses the pre-roll data to reduce missed detection of targets, which can reduce system power consumption and improve the comprehensiveness of target detection, thereby reducing false alarms.

[0086] See also Figure 4 As shown, Figure 4 A schematic diagram of a device or electronic device for reducing missed detection of a target. The device includes:

[0087] The first module that is not working when the power is off is used to receive the previous roll data stored in the second module that continues to work at low power consumption after switching from the sleep state to the wake-up state, and perform target detection based on the previous roll data.

[0088] and / or

[0089] The continuously working second module is used to obtain the current state of the first module, and after obtaining that the first module that is powered off and not working switches from the sleep state to the awake state, the stored previous roll data is sent to the first module, so that the first module performs target detection based on the previous roll data.

[0090] The pre-roll data at least includes: data used for target detection in a time period from the awakening moment when the first module switches to the awake state to the start moment when the first module starts target detection.

[0091] As an example, the second module is also used to continuously store data for target detection, preferably, repeatedly overwriting the earliest stored data with the currently collected data, so as to store them cyclically in the buffer.

[0092] See also Figure 5 As shown, Figure 5 Another schematic diagram of a device or electronic device for reducing missed detection of a target. The first module and the second module are integrated in the same processor. The memory can store pre-roll data and can also store a computer program, and the processor is configured to execute the computer program to implement the steps of the method for reducing missed detection of a target in an embodiment of the present application.

[0093] The above-mentioned first processor and second processor can be general-purpose processors, including a central processing unit (CPU), a network processor (NP), etc.; they can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0094] As for the apparatus / network-side device / storage medium embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0095] In this article, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0096] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for reducing missed target detection, characterized in that: The method includes: After the first module that is powered off and not working switches from the sleep state to the awake state, the forward roll data from the second module that is continuously working is received, wherein the forward roll data at least includes: data for target detection in a time period from the awakening moment when the first module switches to the awake state to the start moment when the first module starts target detection, The first module performs target detection based on the pre-convolution data.

2. The method according to claim 1, characterized in that The previous volume data is stored in the second module, and the collected current data overwrites the earliest collected data when it is stored; The first module performs target detection based on the pre-volume data, including: The first module starts the intelligent detection algorithm to detect whether there is a target in the received pre-roll data. If there is a target, it stays awake and outputs the target detection result. If no target exists, switch to sleep state.

3. The method according to claim 1, characterized in that The first module is a first processor, and the second module is a second processor; or, the first module and the second module are integrated into the same processor; After the awakening state is maintained and the target detection result is output, the method further includes: The first module notifies the second module to stop storing the current data collected. Acquire current data collected in real time and perform target detection based on the current data.

4. The method according to claim 1, characterized in that The pre-roll data is obtained in the following manner: The second module obtains the current state of the first module, determines the moment when the first module changes from the dormant state to the awakened state as the awakening moment, records the time information of the data stored at the awakening moment, determines the moment when the first module starts the target detection as the start-up moment, and records the time information of the data stored at the start-up moment, According to the recorded time information, the data corresponding to the awakening time to the startup time is extracted as the forward data.

5. The method according to claim 4, characterized in that The forward data also includes: data stored in the second module within a set time threshold before the wake-up moment, and the data is obtained in the following manner: Based on the wake-up time, the time information corresponding to the set time threshold is traced back to extract the data corresponding to the time information starting from the time information to the end of the set time threshold.

6. The method according to claim 1, characterized in that The pre-roll data is obtained in the following manner: The second module detects the first output level of the first module for characterizing the awakening state and the second output level for characterizing the start target detection, determines the moment when the first output level is detected as the awakening moment, and determines the moment when the second output level is detected as the start moment, Mark the data stored from the wake-up time until the start time, According to the tag information, the stored data is extracted as the pre-volume data; The previous volume data also includes: data stored in the second module within the data volume threshold set before the wake-up time, and the data is obtained in the following manner: Based on the wake-up time, the stored data corresponding to the set data volume threshold is traced forward, and the data corresponding to the wake-up time from the stored data is extracted.

7. A method for reducing missed target detection, characterized in that: The method includes: The continuously working second module obtains the current state of the first module, and after obtaining that the first module that is not working due to power failure switches from the sleep state to the awake state, sends the stored previous roll data to the first module, so that the first module performs target detection based on the previous roll data. The pre-roll data at least includes: data used for target detection in a time period from the awakening moment when the first module switches to the awake state to the start moment when the first processor starts target detection.

8. A device for reducing missed detection of a target, characterized in that: The device includes: The first module that is not working when power is off is used to receive the previous roll data stored in the second module that is continuously working after switching from the sleep state to the wake-up state, and perform target detection based on the previous roll data. The pre-roll data at least includes: data used for target detection in a time period from the awakening moment when the first module switches to the awake state to the start moment when the first module starts target detection.

9. A device for reducing missed detection of a target, characterized in that: The device includes: The continuously working second module is used to obtain the current state of the first module, and after obtaining that the first processor that is powered off and not working switches from the sleep state to the wake-up state, the stored pre-roll data is sent to the first module, so that the first module performs target detection based on the pre-roll data. The pre-roll data at least includes: data used for target detection in a time period from the awakening moment when the first module switches to the awake state to the start moment when the first module starts target detection.

10. An electronic device, characterized in that: The device comprises the apparatus as claimed in claim 8 and / or claim 9.

Citation Information

Patent Citations

  • Video protection method and apparatus for video monitoring system

    CN108881847A

  • Video pre-recording method, camera and electronic equipment

    CN112202990A

  • Camera system with PWM activation, framing self-refresh and DRAM to reduce standby power consumption

    CN114363540A

  • Terminal control method and terminal

    US20180373317A1