Image data acquisition method and device, readable storage medium and monitoring equipment

By controlling the main controller to sleep when no moving object is detected in the AOV monitoring device and wake up, collect and store image data when the object is detected, the high power consumption problem caused by frequent reception and storage of the AOV monitoring device is solved, and the high power consumption problem is realized. Normal image data acquisition and storage under small power consumption.

CN119071627APending Publication Date: 2024-12-03SHENZHEN MEIKEXING COMM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411095296.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

AOV monitoring equipment needs to frequently receive and store image data, resulting in large power consumption and cannot effectively reduce the power consumption of the power module.

Method used

When no moving object is detected, the main controller is controlled to sleep, and image data is collected according to the preset low acquisition frequency and stored in the memory; when the moving object is detected, the main controller is awakened and image data is collected according to the high acquisition frequency. And store it to the main controller; when the preset sleep conditions are met, the image data acquired at low acquisition frequency is transferred from the memory to the main controller.

Benefits of technology

By reducing the wake-up frequency of the main controller and reducing power consumption, the main controller sleeps for a long time, maintaining normal image data acquisition and storage, and reducing the power consumption loss of the switching power supply.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071627A_ABST
    Figure CN119071627A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of image processing, and particularly relates to an image data acquisition method and device, a computer readable storage medium and monitoring equipment. The method comprises the steps of controlling a main controller to sleep under the condition that a moving object is not detected, and acquiring first image data according to a preset first acquisition frequency; storing the first image data to a memory; under the condition that the moving object is detected, the main controller is awakened, and second image data are collected according to a preset second collection frequency; wherein the second acquisition frequency is higher than the first acquisition frequency; the second image data is stored in the main controller; and transmitting the first image data from the memory to the main controller under the condition that a preset dormancy condition is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of image processing technology, and in particular, relates to an image data acquisition method, device, computer-readable storage medium and monitoring equipment. Background Art

[0002] With the improvement of security awareness, people are paying more and more attention to environmental safety. In actual use, monitoring equipment that supports the Always On Video (AOV) function (such as AOV cameras) can be used for security monitoring to monitor the safety status of the environment at any time. However, since AOV monitoring equipment needs to frequently receive and store the collected image data, it will repeatedly switch to sleep and wake up, resulting in high power consumption. Summary of the invention

[0003] In view of this, the embodiments of the present application provide an image data acquisition method, apparatus, computer-readable storage medium and monitoring device to solve the problem in the prior art that the AOV monitoring device needs to frequently receive and store the collected image data, resulting in high power consumption.

[0004] A first aspect of an embodiment of the present application provides an image data acquisition method, which may include:

[0005] When no moving object is detected, the main controller is controlled to sleep, and first image data is collected according to a preset first collection frequency;

[0006] storing the first image data in a memory;

[0007] When a moving object is detected, the main controller is awakened, and second image data is collected at a preset second collection frequency; wherein the second collection frequency is higher than the first collection frequency;

[0008] storing the second image data to the main controller;

[0009] When a preset sleep condition is met, the first image data is transmitted from the memory to the main controller.

[0010] A second aspect of the embodiments of the present application provides an image data acquisition device, which may include:

[0011] A detection module for detecting moving objects;

[0012] An image acquisition sensor module is used to acquire first image data according to a preset first acquisition frequency, and store the first image data in a storage module; and is also used to acquire second image data according to a preset second acquisition frequency, and store the second image data in a main controller module;

[0013] a microcontroller module, configured to control the main controller module to sleep when no moving object is detected, and to control the image acquisition sensor module to acquire the first image data at the first acquisition frequency; and to store the first image data to the storage module when a preset sleep condition is met; and to wake up the main controller module when a moving object is detected;

[0014] A main controller module, used to control the image acquisition sensor module to acquire the second image data according to the second acquisition frequency; and also used to store the first image data;

[0015] A storage module is used to store the first image data.

[0016] A third aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any one of the above-mentioned image data acquisition methods are implemented.

[0017] A fourth aspect of an embodiment of the present application provides a monitoring device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any one of the above-mentioned image data acquisition methods when executing the computer program.

[0018] A fifth aspect of an embodiment of the present application provides a computer program product. When the computer program product is run on a monitoring device, the monitoring device executes the steps of any one of the above-mentioned image data acquisition methods.

[0019] Compared with the prior art, the embodiments of the present application have the following beneficial effects: when no moving object is detected, the embodiments of the present application control the main controller to sleep, and collect first image data according to a preset first acquisition frequency; store the first image data in a memory; when a moving object is detected, wake up the main controller, and collect second image data according to a preset second acquisition frequency; wherein the second acquisition frequency is higher than the first acquisition frequency; store the second image data in the main controller; and when the preset sleep condition is met, transfer the first image data from the memory to the main controller. Through the embodiments of the present application, the collected image data can be stored in the memory when no moving object is detected, and the image data can be transferred to the main controller after the main controller wakes up, so that there is no need to frequently wake up the main controller to receive and store image data, and the main controller can be kept in sleep for a long time, so as to achieve normal image data collection and storage with low power consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0021] Figure 1 This is a flow chart of an embodiment of an image data acquisition method in an embodiment of the present application;

[0022] Figure 2 It is a schematic diagram of the application scenario of the monitoring device;

[0023] Figure 3 A schematic diagram of an application scenario in which the first image data is stored in a memory;

[0024] Figure 4 A schematic diagram of an application scenario in which the second image data is stored in the main controller;

[0025] Figure 5 is a schematic diagram of a transmission start point and a transmission end point of first image data;

[0026] Figure 6 A schematic diagram of an application scenario for storing the first image data;

[0027] Figure 7 This is a structural diagram of an embodiment of an image data acquisition device in an embodiment of the present application;

[0028] Figure 8 This is a schematic block diagram of a monitoring device in an embodiment of the present application. DETAILED DESCRIPTION

[0029] In order to make the purpose, features, and advantages of the invention of this application more obvious and easy to understand, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the embodiments described below are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0030] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.

[0031] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0032] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0033] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

[0034] In addition, in the description of the present application, the terms "first", "second", "third", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0035] With the improvement of security awareness, people are paying more and more attention to environmental safety. In actual use, monitoring equipment that supports Always On Video (AOV) function (such as AOV camera) can be used for security monitoring to monitor the safety status of the environment at any time.

[0036] AOV monitoring equipment usually needs to be paired with a specially designed main controller, and will need to use a multi-way controllable switch power supply (for example, a common 6-way controllable switch power supply). When the main controller is in sleep mode, the power supply of some modules can be turned off to reduce power consumption and achieve the function of all-day time-lapse recording.

[0037] However, since the AOV monitoring equipment needs to frequently receive and store the collected image data, it will repeatedly switch the switch to sleep and wake up; for example, if it is necessary to collect image data at a frequency of one frame per second, the AOV main controller will need to wake up 200 milliseconds per second, collect and process image data within 200 milliseconds, and sleep for the remaining 800 milliseconds; accordingly, the switching power supply will also be turned on and off within one second; due to the existence of resistive loads, each switch of the switching power supply will cause power loss, resulting in high power consumption. In addition, the power supply module that needs to be continuously turned on in the AOV monitoring equipment will have a state of alternating low current at the milliwatt (mW) level and high current at the watt (W) level. It is difficult for the power supply module to ensure efficiency performance under both low current and high current loads, so there will be a certain power sacrifice.

[0038] In view of this, the embodiments of the present application provide an image data acquisition method, apparatus, computer-readable storage medium and monitoring device to solve the problem in the prior art that the AOV monitoring device needs to frequently receive and store the collected image data, resulting in high power consumption.

[0039] It should be noted that the execution subject of the method of the present application is a monitoring device, which can specifically be any common monitoring device in the prior art.

[0040] In an embodiment of the present application, different image data transmission strategies can be set when the main controller is in sleep and wake up, respectively. When the main controller is in sleep, the collected image data can be transmitted to the microcontroller unit (MCU) of the single-chip computer, and after the main controller is woken up, the collected image data can be transmitted to the main controller; at the same time, after the main controller is woken up, the image data collected when the main controller is in sleep can be transmitted to the main controller at one time, so that normal image data collection and storage can be maintained while reducing the wake-up frequency of the main controller, so that the main controller has the possibility of long-term sleep.

[0041] See also Figure 1 , an embodiment of an image data acquisition method in the embodiment of the present application may include:

[0042] Step S101 : When no moving object is detected, the main controller is controlled to sleep, and first image data is collected at a preset first collection frequency.

[0043] In the embodiment of the present application, a monitoring device can be used to monitor the area to be monitored (also called monitoring area), such as Figure 2 As shown, in order to timely understand and record the situation in the monitored area.

[0044] In the embodiment of the present application, a preset moving object detector can be used to detect whether there is a moving object in the monitoring area, so that it can be monitored in time when a moving object passes through the monitoring area; wherein the moving object may include a human body or an animal and other objects that may move. Specifically, the moving object detector can be any sensor used for detecting moving objects in the prior art; in actual applications, the monitoring device itself can be provided with a relevant module of the moving object detector; or the monitoring device can be connected to a communication with an external moving object detector for detecting moving objects.

[0045] In a specific implementation of the embodiment of the present application, a passive infrared sensor (Passive Infra-Red, PIR) can be used to detect whether there is a moving object in the monitoring area. The moving object will emit relatively obvious infrared radiation. When the moving object passes through the monitoring area, heat changes will occur in the field of view of the PIR. The PIR can identify the presence of the moving object by detecting the heat change. Here, it can be determined whether a moving object is detected in the monitoring area based on the output result of the PIR; when a moving object is detected, the PIR will output a corresponding signal; when no moving object is detected, the PIR will not output a corresponding signal.

[0046] In another specific implementation of the embodiment of the present application, a radar sensor can also be used to detect whether there is a moving object in the monitoring area. The radar sensor can transmit a radar transmission signal to the monitoring area. When the radar transmission signal encounters a human body, an animal or other object, a reflection will be generated. The radar sensor can receive the radar reflection signal and analyze the radar reflection signal to determine whether there is a moving object. If there is a signal matching the echo pattern of the moving object in the radar reflection signal, it can be determined that the moving object is detected; if there is no signal matching the echo pattern of the moving object in the radar reflection signal, it can be determined that the moving object is not detected.

[0047] In the embodiment of the present application, the moving object detector can be connected to the single-chip microcomputer MCU of the monitoring device, so that the MCU of the single-chip microcomputer can determine whether a moving object is detected. If no moving object is detected, the main controller can be controlled to sleep to reduce power consumption; and the image acquisition sensor (for example, a camera) can be controlled to acquire image data at a preset first acquisition frequency. For the convenience of description, the image data acquired at the first acquisition frequency can be referred to as the first image data.

[0048] Among them, the specific value of the first acquisition frequency can be concretized and situationally set according to actual needs, and the present application does not limit this. In the embodiment of the present application, the first acquisition frequency can be preferably set to a lower value. For example, the first acquisition frequency can be set to 1, that is, the first image data is acquired at an acquisition frequency of 1 frame of image data per second.

[0049] Step S102: store the first image data into a memory.

[0050] In the embodiment of the present application, after the first image data is acquired, the first image data may also be stored in a memory.

[0051] Specifically, the first image data can be transmitted to the MCU of the single-chip microcomputer; then, the MCU of the single-chip microcomputer can store the first image data in the memory. Here, in order to save power, only the power supply to the single-chip microcomputer and the image acquisition sensor can be retained, and the other modules can be powered off to maintain low power consumption.

[0052] Figure 3 A schematic diagram of an application scenario for collecting first image data in an embodiment of the present application is shown. Specifically, the single-chip microcomputer MCU can be connected to the main controller to control the sleep and wake-up of the main controller; in addition, the single-chip microcomputer MCU can also be connected to the moving object detector and the memory, and the single-chip microcomputer can be built with a real-time clock (RTC). The RTC can be combined with a crystal oscillator to accurately time the image, and the sampling frequency of the image acquisition sensor can be controlled by interacting with the image acquisition sensor; and the single-chip microcomputer MCU can also be connected to a first switch and a second switch, wherein the first switch can be used to turn on or block the transmission link between the image acquisition sensor and the single-chip microcomputer MCU, and the first switch can also be used to turn on or block the transmission link between the first switch and the second switch; the second switch can be used to turn on or block the transmission link between the first switch and the main controller, and the second switch can also be used to turn on or block the transmission link between the single-chip microcomputer MCU and the main controller.

[0053] Please continue to refer to Figure 3 When no moving object is detected, the single-chip microcomputer MCU can control the image acquisition sensor to acquire the first image data at the first sampling frequency, and can control the first switch to block the transmission link between the first switch and the second switch and to conduct the transmission link between the image acquisition sensor and the single-chip microcomputer MCU, so that the first image data can be transmitted from the image acquisition sensor to the single-chip microcomputer MCU; thereafter, the single-chip microcomputer MCU can store the received first image data in the memory.

[0054] Step S103: When a moving object is detected, the main controller is awakened, and second image data is acquired at a preset second acquisition frequency.

[0055] In an embodiment of the present application, in order to better monitor the monitoring area, image data can be collected at a higher acquisition frequency when a moving object is detected, so that data when people are present can be recorded more clearly and in real time.

[0056] Specifically, the single-chip microcomputer MCU can wake up the main controller, and the main controller can control the image acquisition sensor to acquire image data at a preset second acquisition frequency. Here, the image data acquired at the second acquisition frequency can be referred to as second image data.

[0057] The second acquisition frequency is higher than the first acquisition frequency, and the specific value of the second acquisition frequency can be set to a value higher than the first acquisition frequency according to actual needs, which is not limited in the embodiment of the present application. In the embodiment of the present application, the second acquisition frequency can be set to 15, that is, the second image data is acquired at a frequency of 15 frames of image data per second, so as to acquire image data more real-time and continuously.

[0058] Step S104: storing the second image data in the main controller.

[0059] In the embodiment of the present application, after the second image data is collected, the second image data can also be transmitted to the main controller, and the main controller can store the second image data in a preset storage medium. For example, the second image data can be stored in a preset memory card (Memory Card).

[0060] Figure 4 A schematic diagram of an application scenario for collecting second image data in an embodiment of the present application is shown. Specifically, the single-chip microcomputer MCU can be connected to the main controller to control the sleep and wake-up of the main controller; when a moving object is detected, the single-chip microcomputer MCU can wake up the main controller, and after the main controller wakes up, it can drive the image acquisition sensor to collect the second image data at a second acquisition frequency; and the single-chip microcomputer MCU can control the first switch to block the transmission link between the image sensor and the single-chip microcomputer MCU, and to conduct the link between the image acquisition sensor and the second switch, and can also control the second switch to conduct the link between the first switch and the main controller, so that the second image data can be transmitted from the image acquisition sensor to the main controller.

[0061] In a specific implementation of the embodiment of the present application, after receiving the second image data, the main controller may perform image processing on the second image data; specifically, the main controller may sort the received second image data according to the acquisition time of the image data, for example, the second image data may be sorted in the order of the acquisition time from the front to the back to obtain sorted second image data; then, the main controller may refer to any image encoding method in the prior art to perform image encoding on the sorted second image data to obtain encoded second image data. Then, the encoded second image data may be stored in a secure digital card (Secure Digital Card).

[0062] Step S105 : when the preset sleep condition is met, the first image data is transmitted from the memory to the main controller.

[0063] In an embodiment of the present application, if the preset sleep conditions are met, it can be considered that the main controller can go back to sleep; and before the main controller goes to sleep, the first image data stored in the memory and collected before the main controller wakes up can be transmitted to the main controller.

[0064] In a specific implementation of the embodiment of the present application, when the second image data is collected at the second collection frequency, if no moving object is detected, it can be considered that the moving object has left the monitoring area. At this time, it can be determined that the sleep condition is met.

[0065] In another specific implementation of the embodiment of the present application, if the acquisition time of the second image data is greater than a preset time threshold, it can be considered that the monitoring device has been working continuously for a long time, and at this time, it can be determined that the sleep condition is met. Among them, the time threshold can be specific and situational according to actual needs, and this application does not limit this. Here, the time threshold can be preferably set to 30 seconds, that is, if the acquisition time of the second image data exceeds 30 seconds, it can be considered that the monitoring device has been working continuously for a long time, and it can be determined that the sleep condition is met.

[0066] In an embodiment of the present application, when the sleep conditions are met, the image acquisition sensor can also be controlled to acquire the first image data according to the first acquisition frequency, and the acquired first image data can be transmitted to the single-chip microcomputer MCU, and the single-chip microcomputer MCU can store the first image data in the memory.

[0067] In order to accurately transmit the first image data, in the embodiment of the present application, the first image data first collected when the sleep condition is met can be used as the starting point of the transmission, and the first image data last collected before the main controller wakes up can be used as the end point of the transmission, such as Figure 5As shown; accordingly, the first image data to be transmitted can be accurately determined, and it is helpful to judge whether the transmission of the first image data is completed.

[0068] In a specific implementation, the first image data corresponding to the starting point of the transmission may be marked with a starting timestamp, and the first image data corresponding to the end point of the transmission may be marked with an ending timestamp, so as to distinguish different image data.

[0069] In addition, when the first image data is transmitted from the memory to the main controller, the first image data can be transmitted from the memory to the main controller in the order of acquisition time from the beginning to the end. Moreover, it can be accurately determined whether the transmission of the first image data is completed in combination with the determined starting point and end point of the transmission.

[0070] Figure 6 A schematic diagram of an application scenario of transmitting first image data from a memory to a main controller according to an embodiment of the present application is shown. Specifically, when the sleep condition is met, the second switch can be controlled to turn on the transmission link between the single-chip microcomputer MCU and the main controller; thereafter, the single-chip microcomputer MCU can transmit the first image data collected before the main controller is awakened from the memory to the main controller; at the same time, the first switch can also be controlled to turn on the transmission link from the image acquisition sensor to the single-chip microcomputer MCU, so that the first image data currently collected can be transmitted to the single-chip microcomputer MCU and can be stored in the memory.

[0071] After the first image data is transmitted from the memory to the main controller, the main controller may be controlled to sleep to reduce power consumption.

[0072] Accordingly, when the main controller is in sleep mode, the collected first image data can be stored in the memory without waking up the main controller; when the main controller is awakened, the first image data collected before awakening can be transmitted to the main controller at one time, thereby realizing normal image data storage; and, since the first image data collected when the main controller is in sleep mode can be stored in the memory, there is no need to frequently wake up the main controller, which can reduce the power consumption of the switching power supply and the power sacrifice caused by alternating different currents.

[0073] Compared with the solution in the prior art that requires a specific main controller to implement the AOV function, for example, a main controller that only supports the acquisition of 1 frame of image data per second is required to implement the AOV function, the method of the embodiment of the present application can implement the AOV function through an image acquisition sensor, a single-chip microcomputer MCU, a memory, and a switch. Accordingly, a conventional signal main controller can be used instead of a specific main controller to reduce hardware costs and improve the availability of monitoring equipment.

[0074] In a specific implementation of the embodiment of the present application, after receiving the first image data transmitted by the memory, the main controller can perform image processing on the first image data; specifically, the first image data can be sorted according to the acquisition time, for example, the first image data can be sorted in order from front to back according to the acquisition time to obtain sorted first image data, and then, the sorted image data can be image encoded to obtain encoded first image data, and the encoded first image data can be stored in a preset storage medium.

[0075] It should be noted that if the acquisition time of the monitoring device before sleep is greater than the time threshold, the main controller can be controlled to remain in sleep mode within a preset specific period of time, and the first image data can be acquired at a first acquisition frequency; within the specific period of time, there is no need to determine the acquisition frequency and transmission strategy of the image data based on the detection results of the moving object detector. The specific value within the specific period of time can be set according to actual needs, and this application does not limit this. For example, the specific period of time can be set to 30 seconds, 1 minute, 3 minutes, 5 minutes, etc.

[0076] In summary, in the embodiment of the present application, when no moving object is detected, the main controller is controlled to sleep, and first image data is collected according to a preset first collection frequency; the first image data is stored in a memory; when a moving object is detected, the main controller is awakened, and second image data is collected according to a preset second collection frequency; wherein the second collection frequency is higher than the first collection frequency; the second image data is stored in the main controller; and when the preset sleep condition is met, the first image data is transferred from the memory to the main controller. Through the embodiment of the present application, the collected image data can be stored in the memory when no moving object is detected, and the image data can be transferred to the main controller after the main controller is awakened, so that there is no need to frequently wake up the main controller to receive and store image data, and the main controller can be kept in sleep for a long time, so as to achieve normal image data collection and storage with low power consumption.

[0077] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0078] Corresponding to the image data acquisition method described in the above embodiment, Figure 7 A structural diagram of an embodiment of an image data acquisition device provided in an embodiment of the present application is shown.

[0079] In an embodiment of the present application, an image data acquisition device may include:

[0080] A detection module 701, used to detect moving objects;

[0081] The image acquisition sensor module 702 is used to acquire first image data according to a preset first acquisition frequency and store the first image data in the storage module; and is also used to acquire second image data according to a preset second acquisition frequency and store the second image data in the main controller module;

[0082] The microcontroller module 703 is used to control the main controller module to sleep when no moving object is detected, and control the image acquisition sensor module to collect the first image data according to the first acquisition frequency; it is also used to store the first image data to the storage module when a preset sleep condition is met; it is also used to wake up the main controller module when a moving object is detected;

[0083] A main controller module 704 is used to control the image acquisition sensor module to acquire the second image data according to the second acquisition frequency; and is also used to store the first image data;

[0084] The storage module 705 is configured to store the first image data.

[0085] In a specific implementation of the embodiment of the present application, the detection module is a passive infrared sensor module or a radar sensor module.

[0086] In a specific implementation of the embodiment of the present application, the microcontroller module is further configured to store the first image data to the storage module when a preset sleep condition is met, including:

[0087] The microcontroller module is further configured to transmit the first image data from the memory module to the main controller module if no moving object is detected.

[0088] In a specific implementation of the embodiment of the present application, the microcontroller module is further configured to store the first image data to the storage module when a preset sleep condition is met, including:

[0089] The microcontroller module is further configured to transmit the first image data from the memory module to the main controller module if the acquisition time of the second image data is greater than a preset time threshold.

[0090] In a specific implementation of the embodiment of the present application, the microcontroller module is further configured to control the image acquisition sensor module to acquire the first image data at the first acquisition frequency when the sleep condition is met.

[0091] In a specific implementation of the embodiment of the present application, the microcontroller module is further configured to control the main controller module to sleep after storing the first image data in the storage module when the sleep condition is met.

[0092] In a specific implementation method of an embodiment of the present application, the main controller module is also used to perform image encoding on the second image data to obtain the encoded second image data, and is also used to store the encoded second image data to a preset storage medium; it is also used to perform image encoding on the first image data to obtain the encoded first image data, perform image encoding on the first image data to obtain the encoded first image data; and is also used to store the encoded first image data to the storage medium.

[0093] In a specific implementation of the embodiment of the present application, the microcontroller module is further configured to store the first image data to the storage module when a preset sleep condition is met, including:

[0094] The microcontroller module is also used to transmit the first image data from the memory module to the main controller module in a sequence from front to back of acquisition time when the sleep condition is met.

[0095] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices, modules and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0096] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0097] Figure 8 A schematic block diagram of a monitoring device provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.

[0098] like Figure 8 As shown, the monitoring device 8 of this embodiment includes: a processor 80, a memory 81, and a computer program 82 stored in the memory 81 and executable on the processor 80. When the processor 80 executes the computer program 82, the steps in the above-mentioned various image data acquisition method embodiments are implemented, for example Figure 1 Alternatively, when the processor 80 executes the computer program 82, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 7 The functions of modules 701 to 705 are shown.

[0099] Exemplarily, the computer program 82 may be divided into one or more modules / units, which are stored in the memory 81 and executed by the processor 80 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 82 in the monitoring device 8.

[0100] Those skilled in the art will understand that Figure 8 It is only an example of the monitoring device 8 and does not constitute a limitation of the monitoring device 8. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the monitoring device 8 may also include input and output devices, network access devices, buses, etc.

[0101] The processor 80 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0102] The memory 81 may be an internal storage unit of the monitoring device 8, such as a hard disk or memory of the monitoring device 8. The memory 81 may also be an external storage device of the monitoring device 8, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the monitoring device 8. Further, the memory 81 may also include both an internal storage unit and an external storage device of the monitoring device 8. The memory 81 is used to store the computer program and other programs and data required by the monitoring device 8. The memory 81 may also be used to temporarily store data that has been output or is to be output.

[0103] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0104] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0105] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0106] In the embodiments provided in the present application, it should be understood that the disclosed devices / monitoring equipment and methods can be implemented in other ways. For example, the device / monitoring equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0107] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0108] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0109] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable storage media do not include electric carrier signals and telecommunication signals.

[0110] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for collecting image data, characterized in that: include: When no moving object is detected, the main controller is controlled to sleep, and first image data is collected according to a preset first collection frequency; storing the first image data in a memory; When a moving object is detected, the main controller is awakened, and second image data is collected at a preset second collection frequency; wherein the second collection frequency is higher than the first collection frequency; storing the second image data to the main controller; When a preset sleep condition is met, the first image data is transmitted from the memory to the main controller.

2. The image data acquisition method according to claim 1, characterized in that: The method of transmitting the first image data from the memory to the main controller when a preset sleep condition is met includes: If no moving object is detected, the first image data is transmitted from the memory to the main controller.

3. The image data acquisition method according to claim 1, characterized in that: The method of transmitting the first image data from the memory to the main controller when a preset sleep condition is met includes: If the acquisition time of the second image data is greater than a preset time threshold, the first image data is transmitted from the memory to the main controller.

4. The image data acquisition method according to claim 1, characterized in that: Also includes: When the sleep condition is met, acquiring the first image data at the first acquisition frequency; The first image data is stored in the memory.

5. The image data acquisition method according to claim 1, characterized in that: After the first image data is transmitted from the memory to the main controller when the preset sleep condition is met, the method further includes: Control the main controller to sleep.

6. The image data acquisition method according to claim 5, characterized in that: After storing the second image data in the main controller, the method further includes: Performing image encoding on the second image data to obtain encoded second image data; storing the encoded second image data in a preset storage medium; After the first image data is transmitted from the memory to the main controller, the method further includes: Performing image encoding on the first image data to obtain encoded first image data; The encoded first image data is stored in the storage medium.

7. The image data acquisition method according to any one of claims 1 to 6, characterized in that: The transmitting the first image data from the memory to the main controller comprises: The first image data is transmitted from the memory to the main controller in a sequence of acquisition time from front to back.

8. An image data acquisition device, characterized in that: include: A detection module for detecting moving objects; An image acquisition sensor module, configured to acquire first image data at a preset first acquisition frequency, and store the first image data in a storage module; Also used for collecting second image data according to a preset second collection frequency, and storing the second image data in the main controller module; a microcontroller module, configured to control the main controller module to sleep when no moving object is detected, and to control the image acquisition sensor module to acquire the first image data at the first acquisition frequency; and to store the first image data in the storage module when a preset sleep condition is met; Also used for waking up the main controller module when a moving object is detected; A main controller module, used for controlling the image acquisition sensor module to acquire the second image data at the second acquisition frequency; Also used for storing the first image data; A storage module is used to store the first image data.

9. The image data acquisition device according to claim 8, characterized in that: The detection module is a passive infrared sensor module or a radar sensor module.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the image data acquisition method according to any one of claims 1 to 7 are implemented.

11. A monitoring device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the image data acquisition method according to any one of claims 1 to 7 are implemented.