Video monitoring method and device, equipment and storage medium

By switching between timing and intelligent analysis modes, the power consumption and monitoring effect of video surveillance equipment are optimized, which solves the problem of low power consumption and timeliness in outdoor applications of video surveillance equipment in the existing technology, and achieves low power consumption and The balance of efficient monitoring.

CN118764707APending Publication Date: 2024-10-11SANLI VIDEO FREQUENCY SCI & TECH SHENZHEN
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410839847.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

It is difficult for existing video surveillance equipment to balance low power consumption and timely monitoring in outdoor applications. The mains power supply method increases the complexity and cost of construction. The solar power supply detection module has a single usage scenario and is not suitable for high-altitude monitoring, resulting in equipment being used in large areas. Not working properly part of the time.

Method used

The camera component is regularly controlled to switch between the wake-up state and the sleep state through the timing mode. It switches to the intelligent analysis mode according to whether there is a warning object in the target area. The camera component collects data in different modes to optimize the frame rate and number of frames and reduce power consumption. and monitoring timeliness balance.

Benefits of technology

It effectively reduces the power consumption of video surveillance equipment, ensures low-power monitoring without warning, and ensures the adequacy of real-time tracking and data collection when there is a warning, achieving the timeliness and effectiveness of monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764707A_ABST
    Figure CN118764707A_ABST
Patent Text Reader

Abstract

The invention provides a video monitoring method and device, equipment and a storage medium. The method comprises the following steps: regularly controlling a camera assembly to be switched between a wake-up state and a sleep state through a timing mode; in the awakening state, the camera assembly is controlled to collect first frame data of the target area in a first collection mode, and whether an early warning object exists in the target area or not is determined according to the currently collected first frame data; and when it is determined that the pre-warning object exists in the target area, switching from the timing mode to the intelligent analysis mode, controlling the camera assembly to collect second frame data of the pre-warning object in a second collection mode, recording the pre-warning object until the frame number of the collected second frame data reaches a set frame number threshold value, and switching from the intelligent analysis mode to the timing mode. And the camera assembly is controlled to enter a dormant state. Therefore, the low power consumption requirement and the monitoring timeliness and effectiveness requirement of the video monitoring equipment are both considered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of video surveillance technology, and in particular to a video surveillance method, device, equipment and storage medium. Background Art

[0002] At present, in order to meet the low power consumption requirements of video surveillance equipment in outdoor applications, two methods are generally used to power outdoor video surveillance equipment: one is to reduce the peak duty cycle of power consumption of each module in the video surveillance equipment by reducing the main control operation frequency and video frame rate of the video surveillance equipment in the AC power supply scenario, so as to reduce the proportion of high power consumption; the other is to control the switching of the video surveillance equipment between sleep mode and wake-up mode through an external detection module, such as an infrared detection module, in the solar power supply scenario. For example, when a person or other object is detected, the infrared detection module will wake up the video surveillance equipment for monitoring, otherwise, the video surveillance equipment will be in sleep mode.

[0003] Although the above methods can reduce the power consumption of video surveillance equipment, they will cause the following problems:

[0004] As for the energy consumption reduction method under the mains power supply, the wiring of the mains increases the construction complexity and cost expenditure, and the frequency reduction and frame reduction operations only reduce the power consumption of some modules in the video surveillance equipment to a certain extent, and the power consumption benefits are very small;

[0005] As for the energy consumption reduction method under solar power supply, although the power consumption benefit is obvious, on the one hand, additional peripherals are required, which in turn increases additional costs, and the detection module has a single usage scenario and can only be used to detect people at a close distance, which is not suitable for video surveillance equipment for high-altitude monitoring operations; on the other hand, since the detection module will only wake up the video surveillance equipment when a person at a close distance is detected, as long as no person at a close distance is detected, the video surveillance equipment will remain in sleep mode, causing the video surveillance equipment to be unable to work normally most of the time, the monitoring function is greatly reduced, and timely and effective monitoring cannot be achieved. Summary of the invention

[0006] In view of this, in order to at least solve the technical problem in the related art that it is impossible to take into account both the low power consumption requirement and the timeliness requirement of monitoring of outdoor video surveillance equipment, the present invention provides a video surveillance method, apparatus, device and storage medium.

[0007] A first aspect of the present invention provides a video monitoring method, which is used for a main control unit of a video monitoring device, wherein the video monitoring device further comprises a camera assembly connected to the main control unit; the method comprises:

[0008] The camera assembly is controlled to switch between the awake state and the dormant state by timing the timing mode;

[0009] In the awakened state, the camera assembly is controlled to collect a first frame of data of a target area in a first collection mode, and whether there is a warning object in the target area according to the first frame of data currently collected;

[0010] When it is determined that there is no warning object in the target area, the camera component is controlled to continue to collect the first frame data of the target area at the first frame rate until the working time of the camera component in the awake state reaches the set timing time, and the camera component is controlled to enter the sleep state;

[0011] When it is determined that there is a warning object in the target area, switch from the timing mode to the intelligent analysis mode, control the camera component to collect the second frame data of the warning object in the second acquisition mode, and record the warning object until the number of frames of the collected second frame data reaches the set frame number threshold, switch from the intelligent analysis mode to the timing mode, and control the camera component to enter the sleep state; wherein the frame rate of the camera component in the first acquisition mode is greater than or equal to the frame rate in the second acquisition mode, and the number of frames of the first frame data collected by the camera component in the first acquisition mode is less than the number of frames of the second frame data collected in the second acquisition mode.

[0012] A second aspect of the present invention provides a video surveillance device, which is applied to a main control unit of a video surveillance device, wherein the video surveillance device further comprises a camera assembly connected to the main control unit; the device comprises:

[0013] The timing control module is configured to: control the camera component to switch between the awake state and the sleep state through the timing mode; in the awake state, control the camera component to collect the first frame data of the target area in the first acquisition mode, and determine whether there is a warning object in the target area according to the first frame data currently collected; when it is determined that there is no warning object in the target area, control the camera component to continue to collect the first frame data of the target area in the first acquisition mode until the working time of the camera component in the awake state reaches the set timing time, and control the camera component to enter the sleep state;

[0014] The early warning control module is configured to: when it is determined that there is an early warning object in the target area, switch from the timing mode to the intelligent analysis mode, control the camera component to collect the second frame data of the early warning object in the second collection mode, until the number of frames of the collected second frame data reaches a set frame number threshold, record the early warning object, switch from the intelligent analysis mode to the timing mode, and control the camera component to enter the sleep state;

[0015] Among them, the frame rate of the camera component in the first acquisition mode is greater than or equal to the frame rate in the second acquisition mode, and the number of frames of the first frame data collected by the camera component in the first acquisition mode is less than the number of frames of the second frame data collected in the second acquisition mode.

[0016] A third aspect of the present invention provides a video surveillance device, comprising a main control unit, and a camera assembly, an external memory and a power supply unit respectively connected to the main control unit; the main control unit comprises a power management unit, a central processing unit and an internal memory;

[0017] The power management unit is connected to the power supply unit, and is used to provide power to the internal memory and the external memory, and is used to control the camera assembly and the central processing unit to switch between the awake state and the sleep state through a timing mode;

[0018] The central processing unit is used to control the working state of the camera assembly through the video surveillance method provided in the first aspect above; and is used to store the video data collected by the camera assembly into an internal memory, and when the remaining capacity in the internal memory is greater than or equal to a set capacity threshold, keep the external memory in a dormant state; when the remaining capacity in the internal memory is less than the capacity threshold, control the external memory to switch from a dormant state to a wake-up state through the power management unit, and transfer the data in the internal memory to the external memory, so as to realize power on or off of the external memory controlled by the power management unit.

[0019] A fourth aspect of the present invention provides an electronic device, comprising:

[0020] processor;

[0021] a memory for storing a computer program executable by the processor;

[0022] Among them, when the processor executes the program, the steps of the video monitoring method provided in the first aspect above are implemented.

[0023] A fifth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the steps of the video surveillance method provided in the first aspect above.

[0024] Compared with the prior art, the present invention has at least the following beneficial effects:

[0025] The video monitoring method, device, equipment and storage medium provided by the embodiment of the present invention control the camera component to switch between the awake state and the sleep state by using the timing mode, and in the awake state, first control the camera component to collect the first frame data of the target area in the first acquisition mode, and when it is determined that there is no warning object in the target area based on the first frame data, continue to collect the first frame data in the first acquisition mode and switch back to the sleep mode when the timing time arrives, and repeat this process to achieve timed sleep and timed wake-up; and when there is a warning object in the target area, control the camera component to collect the second frame data of the warning object in the second acquisition mode, wherein the frame rate of the camera component in the first acquisition mode is greater than or equal to the frame rate in the second acquisition mode, and the number of frames of the first frame data collected by the camera component in the first acquisition mode is less than the number of frames of the second frame data collected in the second acquisition mode. It can be seen that when there is no warning object in the target area, the frame data is collected in the first acquisition mode, that is, a smaller number of frame data is collected at a higher frame rate, which can reduce the working time of the camera component, and the power consumption of the camera component can be better reduced in combination with the timing mode, and the monitoring requirements in ordinary monitoring scenarios where no warning is required are also met. When there is a warning object in the target area, the intelligent analysis mode is entered, and video data is collected in the second acquisition mode, that is, a larger number of frame data is collected at a lower frame rate, which can balance the power consumption consumed by the frame rate and the number of frames, and achieve a certain power consumption reduction effect under intelligent analysis. At the same time, it can also ensure the real-time tracking of the warning object, thereby ensuring the timeliness and effectiveness of monitoring. In the intelligent analysis mode, if the video data collected by real-time tracking of the warning object meets the set frame number threshold, it means that the relevant data of the warning object has been fully collected. At this time, it will switch from the intelligent analysis mode to the timing mode, and control the camera component to enter the sleep state, and realize automatic exit from the intelligent analysis mode, so as to avoid staying in the intelligent analysis mode and increasing power consumption, which is conducive to further reducing the power consumption of the entire video surveillance equipment. Therefore, the low power consumption requirements of outdoor video surveillance equipment and the timeliness and effectiveness requirements of monitoring can be well taken into account.

[0026] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 is a flow chart of a video monitoring method according to an exemplary embodiment of the present invention;

[0028] Figure 2 is a structural block diagram of a video monitoring device according to an exemplary embodiment of the present invention;

[0029] Figure 3is a structural block diagram of a video surveillance device according to an exemplary embodiment of the present invention;

[0030] Figure 4 The present invention is a hardware structure diagram of an electronic device where a video surveillance device is located according to an exemplary embodiment. DETAILED DESCRIPTION

[0031] Here, the exemplary embodiments will be described in detail, and the examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. Moreover, the implementations described in the following exemplary embodiments do not limit the present invention, and the structural, methodological, or functional changes made by ordinary technicians in the field according to these implementations are all included in the protection scope of the present invention.

[0032] The terms used in the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The singular forms "a", "the" and "the" used in the present invention and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0033] It should be understood that although the terms first, second, third, etc. may be used in the present invention to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present invention, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0034] In order to at least solve the technical problem in the related art that it is impossible to take into account both the low power consumption requirement and the timeliness requirement of monitoring of outdoor video surveillance equipment, an embodiment of the present invention provides a video surveillance method, and the basic inventive concept is: using a timing mode to control the camera component to switch between an awake state and a sleep state, and in the awake state, first control the camera component to collect the first frame data of the target area in a first acquisition mode, and when it is determined based on the first frame data that there is no warning object in the target area, continue to collect the first frame data in the first acquisition mode and switch back to the sleep mode when the timing time arrives, and repeat this process to achieve timed sleep and timed wake-up; and when there is a warning object in the target area, control the camera component to collect the second frame data of the warning object in a second acquisition mode, wherein the frame rate of the camera component in the first acquisition mode is greater than or equal to the frame rate in the second acquisition mode, and the number of frames of the first frame data collected by the camera component in the first acquisition mode is less than the number of frames of the second frame data collected in the second acquisition mode. It can be seen that when there is no warning object in the target area, the frame data is collected in the first acquisition mode, that is, a small number of frame data are collected at a higher frame rate, which can reduce the working time of the camera component. Combined with the timing mode, the power consumption of the camera component can be better reduced, and the monitoring requirements in ordinary monitoring scenarios where no warning is required are also met. When there is a warning object in the target area, the intelligent analysis mode is entered, and the video data is collected in the second acquisition mode, that is, a large number of frame data are collected at a lower frame rate, which can balance the power consumption consumed by the frame rate and the number of frames, and achieve a certain power consumption reduction effect under intelligent analysis. At the same time, it can also ensure the real-time tracking of the warning object, thereby ensuring the timeliness and effectiveness of monitoring. In the intelligent analysis mode, if the video data collected by real-time tracking of the warning object meets the set frame number threshold, it means that the relevant data of the warning object has been fully collected. At this time, it will switch from the intelligent analysis mode to the timing mode, and control the camera component to enter the sleep state, and realize the automatic exit from the intelligent analysis mode, so as to avoid staying in the intelligent analysis mode and increasing the power consumption, which is conducive to further reducing the power consumption of the entire video surveillance equipment. Therefore, the low power consumption requirements of outdoor video surveillance equipment and the timeliness and effectiveness requirements of monitoring can be well taken into account.

[0035] The video monitoring method according to the embodiment of the present invention is described in more detail below, but the present invention should not be limited thereto.

[0036] A video surveillance method provided in an embodiment of the present invention can be applied to a video surveillance device, which can be deployed indoors or outdoors, and is used to monitor a target area indoors or outdoors and retain the video data collected under monitoring. The video surveillance device may include a main control unit, a camera assembly connected to the main control unit, and a power supply unit. In other embodiments, in addition to the camera, which is a peripheral connected to the main control unit, the video surveillance device may also include other peripherals, such as an external memory. The main control unit can be used to execute the video surveillance method provided in an embodiment of the present invention to perform relevant control on the camera assembly. The power supply unit can be a solar power supply unit or a mains power supply unit. If there is a need to reduce the complexity of power supply wiring, a solar power supply unit can be used, which can also be used to save energy and develop green energy.

[0037] See also Figure 1 , Figure 1 is a flow chart of a video monitoring method provided according to an exemplary embodiment of the present invention; the video monitoring method comprises:

[0038] In step S100, the camera assembly is controlled to switch between the awake state and the sleep state by timing mode;

[0039] In step S200, in the awakened state, the camera assembly is controlled to collect a first frame of data of a target area in a first collection mode, and it is determined whether there is a warning object in the target area according to the first frame of data currently collected;

[0040] In step S300, when it is determined that there is no warning object in the target area, the camera component is controlled to continue to collect the first frame data of the target area in the first acquisition mode until the working time of the camera component in the awake state reaches the set timing time, and the camera component is controlled to enter the sleep state;

[0041] In step S400, when it is determined that there is a warning object in the target area, the timing mode is switched to the intelligent analysis mode, and the camera component is controlled to collect the second frame data of the warning object in the second acquisition mode. When the number of frames of the collected second frame data reaches the set frame number threshold, the warning object is recorded, the intelligent analysis mode is switched to the timing mode, and the camera component is controlled to enter the sleep state; wherein the frame rate of the camera component in the first acquisition mode is greater than or equal to the frame rate in the second acquisition mode, and the number of frames of the first frame data collected by the camera component in the first acquisition mode is less than the number of frames of the second frame data collected in the second acquisition mode.

[0042] In order to meet the low power consumption requirements and monitoring timeliness requirements of video surveillance equipment, especially for outdoor video surveillance equipment using green energy, the low power consumption requirements are higher. In these scenarios, the video surveillance method provided by the embodiment of the present invention can be used to control the sleep and wake-up of the camera component, as well as the working mode of the camera component in the wake-up state. The following describes the working process of achieving the low power consumption requirements and monitoring timeliness requirements of the video surveillance equipment through steps S100 to S400:

[0043] During the operation of the video surveillance device, the video surveillance device will use the timing mode as the basic working mode for energy saving and consumption reduction, that is, the video surveillance device will control the camera component to switch between the awake state and the sleep state through the timing mode as recorded in step S100, that is, the camera component is powered on or off at a regular interval, thereby achieving energy saving and consumption reduction at the first level. In some examples, the timing period of the timing mode can be 1s (seconds). It can be understood that the camera component is awakened every 1s, and after the working time after awakening reaches the set timing time, the camera component is controlled to enter the sleep state, and so on, to achieve timed awakening and sleep. Among them, the timing time can be the same as the timing period or different, and the embodiment of the present invention does not limit this, but it should be understood that if a good power consumption reduction effect is required, the timing time can be set to be relatively short, but at least it can meet the camera component to complete the acquisition and storage of one frame of data.

[0044] In the timing mode, when the camera component is in the awake state, step S200 can be executed to collect the first frame data of the target area at the first frame rate, and the first frame data is encoded and stored in real time. The power consumption consumed in this process mainly depends on the energy consumption of the camera component itself and the time required for the camera component to collect the first frame data and encode it. Therefore, in order to further save energy and reduce consumption, a low-power camera component can be used. In addition, the above time can be further shortened, because the longer the camera works, the more power it consumes, and the shorter the working time, the less power it consumes. The time of a frame of data collected by the camera component depends on the frame rate of the camera component. The higher the frame rate collected by the camera, the shorter the time it takes to collect a frame of data. For example, a 30FPS camera component needs 33.33ms (milliseconds) to collect a frame, while a 60FPS only needs 16.67ms. It can be seen that the higher the frame rate is for collecting frame data, the more frames of frame data can be collected within 1s. If frame data is collected continuously at a higher frame rate, the working time of the camera component and the operating burden of the main control unit will obviously increase, which is not conducive to reducing the power consumption of the video surveillance equipment.

[0045] Therefore, in the awake state, through step S200, the camera assembly is first controlled to collect the first frame data of the target area in the first acquisition mode, and the frame rate in the first acquisition mode is greater than or equal to the frame rate in the second acquisition mode, and the number of frames of the collected frame data is less than the number of frames of the frame data in the second acquisition mode. For the convenience of understanding, an example is given below to illustrate that the first acquisition mode can be to collect frame data with a relatively high frame rate. For example, the first acquisition mode can be to collect only one frame of the first frame data within 1s at a frame rate of 60FPS, and the second acquisition mode can be to collect full frames within 1s at a frame rate of 25FPS, or 30FPS, or 60FPS, that is, to continuously collect multiple frames of the second frame data within 1s at any of the above frame rates. It can be seen that in the first acquisition mode, although the first frame data is collected at a higher frame rate, since only one frame of frame data is collected within 1s, the camera assembly only works once within 1s at the higher frame rate. Therefore, in the awake state, the camera assembly is first controlled to work in the first acquisition mode, which can achieve energy saving and consumption reduction on the second level.

[0046] Next, in order to meet the needs of monitoring timeliness and effectiveness on the basis of energy saving and consumption reduction, the first frame of data currently collected will be intelligently analyzed to determine whether there is an early warning object in the target area. The technical principles involved in the intelligent analysis can be referred to in the relevant technologies, for example, mainly involving target recognition, target location information output, target type judgment and related early warning content and other technical principles related to image intelligent analysis. The target is the pre-set early warning object, which can be a person, an animal, or other natural or non-natural objects. The following uses the power scene as an example to illustrate that the early warning object can be anything that may threaten power safety or human safety, such as a bird's nest on the power line, smoke floating in the monitoring screen, any of the engineering vehicles, excavators and cranes under the power line, and any of the helmets, work clothes, insulating gloves and insulating boots of the people in the power line maintenance. Based on this, suppose that after processing the first frame of data currently collected, it is found that there is a person in the picture. If the person is not wearing a helmet, it means that there is a warning object. The type of warning object is a person, and the location information of the warning object is the actual geographical location information. The warning content of the warning object can be "the staff is not wearing a helmet". Based on this, the types and warning contents of other types of warning objects can be understood, which will not be repeated here. In addition, the following is a simplified description, proposing the concept of warning information, which includes the type of warning object, location information and warning content.

[0047] If it is determined based on the first frame data currently collected that there is no warning object in the target area, it means that the current scene can meet the current monitoring needs without special monitoring, so step S300 can be executed. During the awakening state, the camera component is controlled to continue to collect the first frame data of the target area in the first acquisition mode until the working time of the camera component in the awakening state reaches the above-mentioned timing time, and then the camera component is controlled to enter the dormant state again. Then, the next awakening cycle will be waited for. In this way, the energy saving and consumption reduction effect on the second level mentioned above can be maintained.

[0048] If it is determined based on the first frame data currently collected that there is a warning object in the target area, it means that the current scene needs special monitoring to track the warning object in time to ensure the timeliness and effectiveness of monitoring. Therefore, step S400 will be executed at this time to switch from the timing mode to the intelligent analysis mode to control the camera component to collect the second frame data of the warning object in the second acquisition mode. Since the second acquisition mode is a full-frame acquisition method, it can be ensured that the collected second frame data can meet the monitoring and warning requirements and ensure the timeliness and effectiveness of monitoring. On this basis, in order to further save energy and reduce consumption, when the number of frames of the second frame data is greater than the set frame number threshold, the warning information of the warning object is recorded for subsequent backtracking and analysis. At the same time, the video monitoring device will switch from the intelligent analysis mode back to the timing mode, and control the camera component to enter the dormant state, and then wait for the next wake-up cycle. When the number of frames of the second frame data is greater than the set frame number threshold, it can be understood that the number of second frame data currently collected has met the warning and analysis requirements, so there is no need to maintain continuous acquisition of the warning object to avoid wasting more power, thereby achieving energy saving and consumption reduction on the third level. The frame number threshold can be obtained based on experiments or experience, and the embodiment of the present invention does not limit this.

[0049] In some embodiments, in order to balance the energy consumption caused by the frame rate and the number of frames collected in the second acquisition mode, while ensuring the adequacy of frame data collection, the second acquisition mode can be full frame rate collection at a frame rate of 25FPS, that is, 25 frames of frame data are obtained within 1 second. This can reduce the power consumption caused by using too high a frame rate to collect too much frame data while ensuring that the frame data is sufficient.

[0050] In summary, the embodiments of the present invention not only achieve energy saving and consumption reduction in the timing mode by combining the energy saving and consumption reduction related schemes at the above three levels, but also ensure the timeliness and effectiveness of energy saving and consumption reduction and monitoring in the intelligent analysis mode, so that the video surveillance equipment as a whole achieves a very good energy saving and consumption reduction effect.

[0051] In addition, in order to further improve the timeliness and effectiveness of monitoring and early warning, in some embodiments, the video monitoring module may also include a wireless communication unit and / or an alarm; the wireless communication unit and the alarm are respectively connected to the main control unit. Correspondingly, in step S400, when it is determined that there is an early warning object in the target area, step S400 may also include: sending the early warning information and related frame data of the early warning object to the client bound to the video monitoring device through the wireless communication unit, and / or, issuing an alarm through the alarm to prompt people in the target area to pay attention to the early warning object and cancel the early warning. The client may be a client loaded on a mobile device, or a client loaded on a service platform or a web page. In order to further save energy consumption, the wireless communication unit may adopt a low-power wireless communication unit, and the alarm may also adopt a low-power alarm.

[0052] Since in actual applications, the video surveillance equipment switches between the awake state and the sleep state in turn, the warning object determined based on the first frame of video data collected in the new awake state may have been recorded in the previous or earlier awake state. Since the warning object has been recorded, it means that the relevant personnel have learned the warning information or have acquiesced to the existence of the warning object. Therefore, there is no need to issue multiple warnings for the same warning object to avoid multiple warnings for the same warning object and disturb the relevant personnel. At the same time, it can also reduce the burden of warning processing for the same warning object. Based on this, in some embodiments, before the step of switching from the timing mode to the intelligent analysis mode, the step S400 can also include the following steps: determining whether the warning object and the recorded warning object are the same. Accordingly, in the step S400, the step of switching from the timing mode to the intelligent analysis mode is performed when it is determined that the warning object and the recorded warning object are different. Accordingly, the step S400 can be adjusted to:

[0053] When it is determined that there is a warning object in the target area, determine whether the warning object is the same as the recorded warning object; when the warning object is different from the recorded warning object, switch from the timing mode to the intelligent analysis mode, control the camera component to collect the second frame data of the warning object in the second acquisition mode, until the number of frames of the collected second frame data reaches the set frame number threshold, record the warning object, switch from the intelligent analysis mode to the timing mode, and control the camera component to enter the sleep state.

[0054] Correspondingly, step 300 can also be adaptively adjusted as follows: when it is determined that there is no warning object in the target area or the warning object in the target area is the same as the recorded warning object, the camera component is controlled to continue to collect the first frame data of the target area in the first acquisition mode until the working time of the camera component in the wake-up state reaches the set timing time, and the camera component is controlled to enter the sleep state.

[0055] Therefore, by further limiting the prerequisites for switching from the timing mode to the intelligent analysis mode, it is possible to avoid multiple warnings for the same warning object and interfere with relevant personnel, and reduce the burden of warning processing for the same warning object. It is also possible to reduce the number of switches from the timing mode to the intelligent analysis mode, thereby saving the energy consumption caused by the intelligent analysis mode, which is conducive to further improving the effect of energy saving and consumption reduction.

[0056] In the process of monitoring the warning object in the intelligent analysis mode, a new warning object may be found. It can be understood that the new warning object is different from the warning object in the second frame data originally collected. For example, there is only warning object A in the second frame data collected, but after the next frame is collected and processed, it is found that in addition to warning object A, there is also warning object B. Or, it is found that warning object A is gone, but warning object B appears. In short, a new warning object appears. At this time, in order to ensure the adequacy of the frame data collected for the new warning object, in some embodiments, in step S400, before the frame number of the collected second frame data does not exceed the frame number threshold, step S400 can also include the following steps: when it is determined that there are other warning objects different from the warning object in the target area according to the currently collected second frame data, the frame number currently corresponding to the second frame data is reset to zero. Accordingly, step S400 can be adjusted as follows:

[0057] The first method is to ignore whether the warning object is the same as the recorded warning object:

[0058] When it is determined that there is a warning object in the target area, switch from the timing mode to the intelligent analysis mode, control the camera component to collect the second frame data of the warning object in the second acquisition mode, and record the current frame number of the second frame data; when the current frame number is less than or equal to the frame number threshold, if it is determined that there are other warning objects different from the warning object in the target area based on the currently collected second frame data, reset the current frame number corresponding to the second frame data to zero and re-record the current frame number of the second frame data; when the current frame number of the second frame data reaches the set frame number threshold, record the warning object, switch from the intelligent analysis mode to the timing mode, and control the camera component to enter the sleep state.

[0059] The second method is to consider whether the warning object is the same as the recorded warning object:

[0060] When it is determined that there is a warning object in the target area, determine whether the warning object is the same as the recorded warning object; when the warning object is different from the recorded warning object, switch from the timing mode to the intelligent analysis mode, control the camera component to collect the second frame data of the warning object in the second acquisition mode, and record the current frame number of the second frame data; when the current frame number is less than or equal to the frame number threshold, if it is determined that there are other warning objects different from the warning object in the target area based on the currently collected second frame data, reset the current frame number corresponding to the second frame data to zero and re-record the current frame number of the second frame data; when the current frame number of the second frame data reaches the set frame number threshold, record the warning object, switch from the intelligent analysis mode to the timing mode, and control the camera component to enter the sleep state.

[0061] Thus, the frame data of the new warning object can be fully collected, thereby ensuring the effectiveness of subsequent analysis or backtracking of the new warning object. In addition, in order to improve the timeliness of warning for the new warning object, the warning information of the new warning object can be sent to the client bound to the video surveillance device through the wireless communication unit. And / or, the alarm information related to the new warning object is output through the alarm.

[0062] Based on any embodiment in which the video surveillance device further includes a wireless communication unit, in order to meet the needs of relevant personnel to view the current surveillance screen of the target area in real time, in some embodiments, during the process of the camera component collecting frame data, that is, whether it is currently in the awake state in the timing mode or in the intelligent analysis mode, as long as a client video viewing request sent by the wireless communication unit is received, the client video viewing request will be responded to and the following steps will be performed:

[0063] In step S500, the current mode is switched to the external trigger mode, and the camera component is controlled to collect the third frame data of the target area in the third acquisition mode; wherein the frame rate of the camera component in the third acquisition mode is greater than or equal to the frame rate in the second acquisition mode, and the number of frames of the third frame data collected by the camera component in the third acquisition mode is greater than or equal to the number of frames of the second frame data collected in the second acquisition mode;

[0064] In step S600, the third frame data is sent to the client via the wireless communication unit.

[0065] From the above, it can be seen that no matter whether it is currently in the wake-up state in the timing mode or in the intelligent analysis mode, as long as a client video viewing request sent by the wireless communication unit is received, it will switch from the current mode to the external trigger mode, and use the third acquisition mode to acquire the third frame data of the target area, and then send the third frame data to the client.

[0066] In addition, to ensure the early warning function under the external trigger mode, in some embodiments, after the third frame data is collected, the third frame data can be intelligently analyzed according to the relevant content recorded above to determine whether there is an early warning object in the target area, and when there is an early warning object, it is sent to the client together with the early warning information of the early warning object without entering the intelligent analysis mode.

[0067] Among them, the third acquisition mode is also a full frame rate acquisition method, which can be the same as the second acquisition mode or different, as long as it can satisfy the client to smoothly and continuously play the monitoring video images of the target area based on the third frame data.

[0068] In order to ensure that the video surveillance device can return from the external trigger mode to the timing mode to maintain the effect of energy saving and consumption reduction, in some embodiments, the video surveillance method provided by the embodiment of the present invention further provides a related technical solution, that is, in the external trigger mode, the video surveillance method provided by the embodiment of the present invention may further include the following steps:

[0069] In step S700, when a prompt message indicating that the client is currently in a closed state is received, the external trigger mode is switched to the timing mode, and the camera component is controlled to enter a dormant state.

[0070] When the client is running in the background or is closed, the client can send the above-mentioned prompt information indicating that the client is in the closed state to the video surveillance device. The video surveillance device will execute step S700, switch back to the timing mode from the external trigger mode, and control the camera component to enter the sleep state to restore the low power consumption mode.

[0071] Generally speaking, in order to ensure the effective storage of the collected frame data by the video surveillance device, an external memory is also configured for the video surveillance device, that is, in some examples, the video surveillance device may also include an external memory connected to the active unit, and the main control unit itself is also configured with an internal memory. In the current technology, as long as the camera component of the video surveillance device performs frame data collection, the external memory will be awakened, and the external memory will consume a certain amount of power in this process, which undoubtedly increases the power consumption overhead. To further save energy and reduce consumption, in some embodiments, during the process of the camera component collecting frame data, the video surveillance method provided by the embodiment of the present invention may also include the following steps:

[0072] In step S810, the video data collected by the camera assembly is stored in an internal memory;

[0073] In step S820, when the remaining capacity in the internal memory is greater than or equal to the set capacity threshold, the external memory is kept in a dormant state;

[0074] In step S830, when the remaining capacity in the internal memory is less than the capacity threshold, the external memory is controlled to switch from the sleep state to the wake-up state, and the data in the internal memory is transferred to the external memory.

[0075] Through steps S810 to S830, no matter it is currently in the wake-up state in the timing mode, the intelligent analysis mode, or the external trigger mode, as long as the camera component has the action of collecting frame data, step S810 will be triggered, and the frame data and other monitoring-related data will be stored in the internal memory. Only when the remaining capacity in the internal memory is less than the capacity threshold, the external memory is enabled, that is, the external memory is powered on to transfer all the data in the internal memory to the external memory, so as to release the capacity space of the internal memory. After all the data in the internal memory is transferred to the external memory, the external memory can be controlled to enter the dormant state to save energy. The capacity threshold can be set according to the total capacity of the internal memory, for example, it can be set to 20% of the total capacity of the internal memory, and the embodiment of the present invention does not limit this. It should be noted that the smaller the capacity threshold is set, the smaller the number of times the external memory is awakened and the smaller the power consumption.

[0076] Therefore, through the above scheme, when waking up the camera component, the external memory is not woken up first, but the frame data and other related data collected by the camera component are first stored in the internal memory. Only when the remaining capacity of the internal memory is less than the capacity threshold, the external memory is enabled. This energy-saving mode can greatly reduce the power consumption caused by the operation of the external memory, improve the space utilization of the internal memory, and realize the frame data storage of all-weather scenes, which is convenient for subsequent data retrieval and playback. Energy saving and consumption reduction on the fourth level are achieved. Other related data may include but are not limited to: the current operating status data of each component in the video surveillance equipment.

[0077] By integrating the energy-saving and consumption-reducing solutions at the above four levels, the overall power consumption of video surveillance equipment can be reduced from watts to milliwatts, achieving a good energy-saving and consumption-reducing effect.

[0078] In addition, it can be seen from the above scheme that the data stored in the internal memory is not immediately stored in the external memory, and the storage of data in the internal memory is temporary, for example, the data will disappear after power failure. Therefore, in order to avoid the loss of data in the internal memory, in some embodiments, in the sleep state, the external memory is controlled to enter the sleep state, but the internal memory is kept in the power-on state. Although the internal memory is always in the power-on state and is not affected by the wake-up state and the sleep state, it can still save a lot of energy consumption compared to enabling the external memory every time it wakes up, and it can still ensure the energy-saving and consumption-reducing effect of the overall power consumption of the frequency monitoring device from the watt level to the milliwatt level. In addition, since the internal memory is always in the power-on state, when it is in the wake-up state, the main control unit can directly read data from the internal memory and return to the state before the sleep state, and the state recovery speed is very fast.

[0079] On the basis of any of the above embodiments, in order to further improve the energy-saving and consumption-reducing effects, in some embodiments, the main control unit may also include a power management module and a central processing unit; based on this, in order to reduce the energy consumption of the central processing unit, the program related to the timing mode is loaded into the power management module so that the timing mode is triggered by the power management module. Correspondingly, in the sleep state, the central processing unit can also be controlled to enter the sleep state through the power management module. Therefore, in the sleep state, the power management module can power off the central processing unit and various peripherals connected to the central processing unit, such as camera components, external memory, wireless communication units, etc., thereby greatly reducing the power consumption of the central processing unit and its peripherals in the sleep state.

[0080] It should be noted that, regardless of the timing mode, intelligent analysis mode or external trigger mode, the frame data collected by the camera will be processed and stored to facilitate the subsequent retrieval and playback of events occurring in the target area. When the video surveillance device simultaneously applies the timing mode, intelligent analysis mode and external trigger mode, the priority of these modes can be external trigger mode > intelligent analysis mode > timing mode. The switching logic and conditions between these modes can refer to the relevant records above and will not be repeated here.

[0081] It is worth noting that the embodiments or technical features in the video surveillance method provided by the present invention can be combined with each other to form a new technical solution as long as there is no combination contradiction.

[0082] Corresponding to the above-mentioned video monitoring method embodiment, the embodiment of the present invention also provides a video monitoring device, such as Figure 2 As shown, Figure 21 is a structural block diagram of a video surveillance device according to an exemplary embodiment of the present invention. The video surveillance device 200 is applied to a main control unit of a video surveillance device. The video surveillance device also includes a camera assembly connected to the main control unit, which may include:

[0083] The timing control module 210 is configured to: control the camera component to switch between the awake state and the sleep state through the timing mode; in the awake state, control the camera component to collect the first frame data of the target area in the first acquisition mode, and determine whether there is a warning object in the target area according to the first frame data currently collected; when it is determined that there is no warning object in the target area, control the camera component to continue to collect the first frame data of the target area in the first acquisition mode until the working time of the camera component in the awake state reaches the set timing time, and control the camera component to enter the sleep state;

[0084] The early warning control module 220 is configured to: when it is determined that there is an early warning object in the target area, switch from the timing mode to the intelligent analysis mode, control the camera component to collect the second frame data of the early warning object in the second collection mode, until the number of frames of the collected second frame data reaches a set frame number threshold, record the early warning object, switch from the intelligent analysis mode to the timing mode, and control the camera component to enter the sleep state;

[0085] Among them, the frame rate of the camera component in the first acquisition mode is greater than or equal to the frame rate in the second acquisition mode, and the number of frames of the first frame data collected by the camera component in the first acquisition mode is less than the number of frames of the second frame data collected in the second acquisition mode.

[0086] In some embodiments, the warning control module 220 can be adjusted and configured to: when it is determined that there is a warning object in the target area, further determine whether the warning object is the same as the recorded warning object; when it is determined that the warning object is different from the recorded warning object, switch from the timing mode to the intelligent analysis mode, control the camera component to collect the second frame data of the warning object in the second acquisition mode, until the number of frames of the collected second frame data reaches the set frame number threshold, record the warning object, switch from the intelligent analysis mode to the timing mode, and control the camera component to enter the sleep state.

[0087] In some embodiments, without considering whether the warning object and the recorded warning object are the same, the warning control module 220 can also be adjusted and configured as follows: when it is determined that there is a warning object in the target area, switch from the timing mode to the intelligent analysis mode, control the camera component to collect the second frame data of the warning object in the second acquisition mode, and record the current frame number of the second frame data; when the current frame number is less than or equal to the frame number threshold, if it is determined based on the currently collected second frame data that there are other warning objects different from the warning object in the target area, reset the current frame number corresponding to the second frame data to zero and re-record the current frame number of the second frame data; when the current frame number of the second frame data reaches the set frame number threshold, record the warning object, switch from the intelligent analysis mode to the timing mode, and control the camera component to enter the sleep state.

[0088] When considering whether the warning object and the recorded warning object are the same, the warning control module 220 can also be adjusted and configured as follows: when it is determined that there is a warning object in the target area, determine whether the warning object and the recorded warning object are the same; when the warning object and the recorded warning object are different, switch from the timing mode to the intelligent analysis mode, control the camera component to collect the second frame data of the warning object in the second acquisition mode, and record the current frame number of the second frame data; when the current frame number is less than or equal to the frame number threshold, if it is determined that there are other warning objects different from the warning object in the target area based on the currently collected second frame data, reset the current frame number corresponding to the second frame data to zero and re-record the current frame number of the second frame data; when the current frame number of the second frame data reaches the set frame number threshold, record the warning object, switch from the intelligent analysis mode to the timing mode, and control the camera component to enter the sleep state.

[0089] In some embodiments, the video surveillance device 200 may further include:

[0090] The external trigger module is configured to: upon receiving a video viewing request sent by a client, switch from a current mode to an external trigger mode, and control the camera component to collect a third frame of data of the target area in a third acquisition mode; wherein the frame rate of the camera component in the third acquisition mode is greater than or equal to the frame rate in the second acquisition mode, and the number of frames of the third frame of data collected by the camera component in the third acquisition mode is greater than or equal to the number of frames of the second frame of data collected in the second acquisition mode;

[0091] The communication module is configured to: send the third frame data to the client.

[0092] In some embodiments, the external trigger module is further configured to: determine whether there is a warning object in the target area according to the third frame data. Correspondingly, the communication module is further configured to: send warning information of the warning object to the client when the external trigger module determines that there is a warning object in the target area according to the third frame data.

[0093] In some embodiments, the video surveillance device 200 may further include:

[0094] The mode switching module is configured to: when receiving a prompt message indicating that the client is currently in a closed state, switch from the external trigger mode to the timing mode, and control the camera component to enter a dormant state.

[0095] In some embodiments, the video surveillance device 200 may further include:

[0096] The storage control module is configured to: store the video data collected by the camera assembly into an internal memory; when the remaining capacity in the internal memory is greater than or equal to a set capacity threshold, keep the external memory in a dormant state; when the remaining capacity in the internal memory is less than the capacity threshold, control the external memory to switch from a dormant state to a wake-up state, and transfer the data in the internal memory to the external memory.

[0097] In some embodiments, the timing control module 210 may also be configured to: in a sleep state, control the external memory to enter a sleep state, but keep the internal memory in a powered-on state.

[0098] In some embodiments, the timing control module 210 may also be configured to: in the sleep state, control the central processing unit to enter the sleep state.

[0099] The implementation process of the functions and effects of each unit in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.

[0100] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to the partial description of the method embodiments. The device embodiments described above are only illustrative, wherein 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.

[0101] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0102] Corresponding to the above-mentioned video monitoring method embodiment, the embodiment of the present invention also provides a video monitoring device, such as Figure 3 As shown, Figure 3 It is a structural block diagram of a video surveillance device according to an exemplary embodiment of the present invention. The video surveillance device 300 includes a main control unit 310, and a camera assembly 320, an external memory 330, a power supply unit 340 and a wireless communication unit 350 respectively connected to the main control unit 310; the main control unit 310 includes a power management unit 311, a central processing unit 312 and an internal memory 313.

[0103] The power management unit 311 is connected to the power supply unit 340, and is used to provide power for the internal memory 313, the external memory 330 and the wireless communication unit 350, and is used to control the camera assembly 320, the central processing unit 312 and the wireless communication unit 350 to switch between the awake state and the sleep state through a timing mode.

[0104] The wireless communication unit 350 is used to receive the request information sent by the client and send the request information to the central processor 312 in the main control unit 310;

[0105] The central processor 312 is used to control the working state of the camera component 320 through the video monitoring method provided by any of the above-mentioned embodiments; and is used to control the power on or off of the external memory 330 through the power management unit 311 according to the video monitoring method provided by the above-mentioned related embodiments, and is also used to control the working state of the camera component according to the request information.

[0106] In the above, the central processing unit controls the working status of the camera component, and the power management unit uses the timing mode to control the camera component 320, the central processing unit 312 and the wireless communication unit 350. Related schemes can be found in the relevant records in the video monitoring method embodiment and will not be repeated here.

[0107] In some embodiments, the external memory 330 may be an SD card memory.

[0108] In some embodiments, the camera assembly 320 is a low power camera assembly, and / or the wireless communication unit 350 is a low power wireless communication unit.

[0109] In some embodiments, the power supply unit 340 may be a mains power supply unit or a solar power supply unit.

[0110] In other embodiments, if there is no need to communicate with a remote party, the wireless communication unit 350 can be deleted to further reduce the overall energy consumption of the video surveillance device.

[0111] Corresponding to the embodiment of the aforementioned video monitoring method, the present invention further provides an electronic device, the electronic device comprising:

[0112] processor;

[0113] a memory for storing a computer program executable by the processor;

[0114] Wherein, when the processor executes the program, the steps of the video surveillance method in any of the aforementioned method embodiments are implemented.

[0115] The embodiment of the video surveillance device provided by the present invention can be applied to electronic devices. Taking software implementation as an example, as a device in a logical sense, it is formed by the processor of the electronic device in which it is located reading the corresponding computer program instructions in the non-volatile memory into the memory and running them. From the hardware level, if Figure 4 As shown, Figure 4 is a hardware structure diagram of an electronic device where a video surveillance device is located according to an exemplary embodiment of the present invention, except Figure 4 In addition to the processor 410, memory 430, interface 420, and non-volatile memory 440 shown, the electronic device where the video surveillance device 200 is located in the embodiment may also include other hardware according to the actual function of the electronic device, which will not be described in detail.

[0116] The present invention also provides a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the steps of the video monitoring method in any of the aforementioned method embodiments are implemented.

[0117] The present invention may take the form of a computer program product implemented on one or more storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing program code. Computer-readable storage media include permanent and non-permanent, removable and non-removable media, and information storage can be achieved by any method or technology. The information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer-readable storage media include but are not limited to: phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.

[0118] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of protection of the present invention.

Claims

1. A video monitoring method, characterized in that: A main control unit applied to a video surveillance device, wherein the video surveillance device further comprises a camera assembly connected to the main control unit; the method comprises: The camera assembly is controlled to switch between the awake state and the dormant state by timing the timing mode; In the awakened state, the camera assembly is controlled to collect a first frame of data of a target area in a first collection mode, and whether there is a warning object in the target area according to the first frame of data currently collected; When it is determined that there is no warning object in the target area, the camera component is controlled to continue to collect the first frame data of the target area in the first collection mode until the working time of the camera component in the awake state reaches the set timing time, and the camera component is controlled to enter the sleep state; When it is determined that there is a warning object in the target area, the timing mode is switched to the intelligent analysis mode, and the camera component is controlled to collect the second frame data of the warning object in the second collection mode until the number of frames of the collected second frame data reaches a set frame number threshold, the warning object is recorded, the intelligent analysis mode is switched to the timing mode, and the camera component is controlled to enter the sleep state; Among them, the frame rate of the camera component in the first acquisition mode is greater than or equal to the frame rate in the second acquisition mode, and the number of frames of the first frame data collected by the camera component in the first acquisition mode is less than the number of frames of the second frame data collected in the second acquisition mode.

2. The method according to claim 1, characterized in that Before the step of switching from the timing mode to the intelligent analysis mode, the method further includes: Determining whether the warning object is the same as the recorded warning object; The step of switching from the timing mode to the intelligent analysis mode is performed when it is determined that the warning object is different from the recorded warning object.

3. The method according to claim 1, characterized in that Before the number of frames of the collected second frame data does not reach the frame number threshold, the method further includes: When it is determined according to the currently collected second frame data that other warning objects different from the warning object exist in the target area, the frame number currently corresponding to the second frame data is reset to zero.

4. The method according to claim 1, characterized in that: The video surveillance device also includes a wireless communication unit for communicating with a client, and the wireless communication unit is connected to the main control unit; When the camera assembly collects frame data and a client video viewing request sent by the wireless communication unit is received, the method further includes: Switching from the current mode to the external trigger mode, controlling the camera component to collect third frame data of the target area in a third acquisition mode; wherein the frame rate of the camera component in the third acquisition mode is greater than or equal to the frame rate in the second acquisition mode, and the number of frames of the third frame data collected by the camera component in the third acquisition mode is greater than or equal to the number of frames of the second frame data collected in the second acquisition mode; The third frame data is sent to the client through the wireless communication unit.

5. The method according to claim 4, characterized in that In the external trigger mode, the method further includes: When it is determined according to the third frame data that there is a warning object in the target area, warning information of the warning object is sent to the client.

6. The method according to claim 4, characterized in that In the external trigger mode, the method further includes: When receiving the prompt information indicating that the client is currently in a closed state, the external trigger mode is switched to the timing mode, and the camera assembly is controlled to enter a dormant state.

7. The method according to any one of claims 1 to 6, characterized in that: The video surveillance device further comprises an external memory connected to the main control unit; the main control unit comprises an internal memory; In the process of the camera assembly collecting frame data, the method further includes: The video data collected by the camera assembly is stored in an internal memory; When the remaining capacity in the internal memory is greater than or equal to a set capacity threshold, keeping the external memory in a dormant state; When the remaining capacity in the internal memory is less than the capacity threshold, the external memory is controlled to switch from a dormant state to a wake-up state, and the data in the internal memory is transferred to the external memory.

8. The method according to claim 7, characterized in that In the dormant state, the method further includes: Controlling the external memory to enter a dormant state and the internal memory to remain powered on; And / or, the main control unit also includes a power management module and a central processing unit; the timing mode is triggered by the power management module; in the sleep state, the method also includes: controlling the central processing unit to enter the sleep state through the power management module.

9. A video surveillance device, characterized in that: It includes a main control unit, and a camera assembly, an external memory and a power supply unit respectively connected to the main control unit; the main control unit includes a power management unit, a central processing unit and an internal memory; The power management unit is connected to the power supply unit, and is used to provide power to the internal memory and the external memory, and is used to control the camera assembly and the central processing unit to switch between the awake state and the sleep state through a timing mode; The central processing unit is used to control the working state of the camera assembly through the video monitoring method according to any one of claims 1 to 8; and is used to control the power on or off of the external memory through the power management unit according to the video monitoring method in claim 7 or 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the video monitoring method provided in any one of claims 1 to 8 is implemented.