CN111064882A - Method, device, system and storage medium for controlling power consumption of camera - Google Patents

Method, device, system and storage medium for controlling power consumption of camera Download PDF

Info

Publication number
CN111064882A
CN111064882A CN201911190167.8A CN201911190167A CN111064882A CN 111064882 A CN111064882 A CN 111064882A CN 201911190167 A CN201911190167 A CN 201911190167A CN 111064882 A CN111064882 A CN 111064882A
Authority
CN
China
Prior art keywords
power consumption
task
consumption value
camera
execution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911190167.8A
Other languages
Chinese (zh)
Inventor
曹胜果
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201911190167.8A priority Critical patent/CN111064882A/en
Publication of CN111064882A publication Critical patent/CN111064882A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Camera Bodies And Camera Details Or Accessories (AREA)

Abstract

The invention discloses a method, equipment, a system and a storage medium for controlling the power consumption of a camera, which are used for acquiring the current power consumption value of the current execution task of the camera, acquiring the predicted power consumption value of the current request execution task of the camera, and accumulating the current power consumption value and the predicted power consumption value to obtain the predicted total power consumption value; and under the condition that the estimated total power consumption value is larger than the power consumption threshold value of the camera equipment, comparing the priorities of the currently executed task and the currently requested execution task, suspending the execution of the task with low priority, and enabling the actual total power consumption of the camera to be smaller than or equal to the power consumption threshold value, so that the detection of the actual power consumption value of the camera is realized, and the execution of each use function is coordinated when the actual power consumption value exceeds the power consumption threshold value, thereby solving the problem that the instantaneous power consumption is larger or the functions are limited during the use of the camera.

Description

Method, device, system and storage medium for controlling power consumption of camera
Technical Field
The present application relates to the field of camera technologies, and in particular, to a method, an apparatus, a system, and a storage medium for controlling power consumption of a camera.
Background
With the development of society and the advancement of technology, cameras are applied to various places, and the functions of the cameras are increasing, such as adding a built-in fan or an electric heating glass of the camera to demist the lens of the camera. However, in the related art, the maximum power loss of the camera is set to be high for user safety, and the control of each function of the camera is independent from each other, and the adjustable range of power consumption of some functions is limited under the condition that the threshold value of the power consumption is fixed.
Aiming at the problems that in the related art, the instantaneous power consumption is large or the functions are limited during the use of a camera, an effective solution is not provided at present.
Disclosure of Invention
The invention provides a method, a device, a system and a storage medium for controlling the power consumption of a camera, aiming at the problem that the instantaneous power consumption is larger or the function is limited in the use of the current camera in the related art, so as to at least solve the problem.
According to an aspect of the present invention, there is provided a method of controlling power consumption of a camera, the method including:
acquiring a current power consumption value of a current execution task of a camera;
acquiring a predicted power consumption value of a current request execution task of the camera;
accumulating the current power consumption value and the estimated power consumption value to obtain an estimated total power consumption value; and under the condition that the estimated total power consumption value is larger than the power consumption threshold value of the camera equipment, comparing the priority of the currently executed task and the priority of the currently requested execution task, and suspending execution of the task with low priority to enable the actual total power consumption of the camera to be smaller than or equal to the power consumption threshold value.
In one embodiment, the comparing the priorities of the currently executing task and the currently requested task, and suspending execution of the task with a low priority, wherein the causing the actual total power consumption of the camera to be less than or equal to the power consumption threshold value comprises:
acquiring the priority levels of the currently executed task and the currently requested execution task according to a task priority list, wherein the task priority list comprises the priority levels and power consumption influence factors;
and comparing the priority levels, acquiring the actual total power consumption of the camera according to the power consumption influence factors, and suspending the execution of the low-priority task to enable the actual total power consumption of the camera to be less than or equal to the power consumption threshold value.
In one embodiment, the obtaining of the expected power consumption value of the task currently requested to be performed by the camera includes:
when the current request execution task is a sound control task and a light control task, setting time for executing the current request execution task as execution time, when the execution time is a first time period, a power consumption value of the sound control task is a first power consumption value, a power consumption value of the light control task is a second power consumption value, when the execution time is a second time period, a power consumption value of the sound control task is a third power consumption value, and a power consumption value of the light control task is a fourth power consumption value, wherein the first power consumption value is larger than the second power consumption value, and the third power consumption value is larger than the fourth power consumption value;
and under the condition that the execution time is the first time period, the obtained estimated power consumption value is the sum of the first power consumption value and the second power consumption value, and in the second time period, the obtained estimated power consumption value is the sum of the third power consumption value and the fourth power consumption value.
According to another aspect of the present invention, there is provided a control apparatus of power consumption of a camera, the apparatus including: the main control board, the fan control device and the lighting device;
the main control board acquires a current power consumption value of a fan control task executed by the fan control device;
the main control board obtains a predicted power consumption value of a light control task executed by the lighting device;
the main control board determines an expected total power consumption value according to the first power consumption value and the second power consumption value; when the estimated total power consumption value is larger than the power consumption threshold value of the camera equipment, the main control board determines that the priority of the fan control task is larger than the light control task, the fan control device executes the fan control task, and the lighting device delays executing the light control task; or the fan control device executes the fan control task, and the lighting device executes the light control task when the main control board reduces the estimated power consumption value to the condition that the estimated total power consumption value is smaller than or equal to the power consumption threshold value.
In one embodiment, the main control board sets the time for executing the light control task to be an execution time, and when the execution time is a first time period, the power consumption value of the lighting device for executing the light control task is smaller than that in a second time period.
According to another aspect of the present invention, there is provided a control system of power consumption of a camera, the system including a power consumption control module and a function execution module:
the power consumption control module acquires a current power consumption value of a current execution task of the camera;
the power consumption control module acquires a predicted power consumption value of a current request execution task of the camera;
the power consumption control module accumulates the current power consumption value and the estimated power consumption value to obtain an estimated total power consumption value; and the power consumption control module compares the priority of the currently executed task and the priority of the currently requested task under the condition that the estimated total power consumption value is larger than the power consumption threshold value of the camera equipment, and suspends the execution of the task with low priority, so that the actual total power consumption of the camera is smaller than or equal to the power consumption threshold value.
In one embodiment, the function execution module comprises a fan control unit, a holder control unit, a sound control unit and a light control unit;
in a case where the currently executed task is a fan control task, the currently requested execution task includes at least one of: a holder control task, a sound control task and a light control task; the fan control task executed by the fan control unit comprises an image acquired through a camera on the camera equipment, the fan on the camera equipment is started to demist when a lens of the camera is detected to be fogged, the pan-tilt control task executed by the pan-tilt control unit comprises control over pan-tilt rotation on the camera equipment, the sound control task executed by the sound control unit comprises control over a sound generating device of the camera equipment to give an alarm, and the light control task executed by the light control unit comprises control over an illuminating device of the camera equipment to give an alarm.
In one embodiment, the system further comprises a time module;
when the current request execution task is a sound control task and a light control task, the time module sets the time for executing the current request execution task as the execution time, when the time module detects that the execution time is a first time period, the power consumption value of the function execution module for executing the sound control task is a first power consumption value, the power consumption value of the function execution module for executing the light control task is a second power consumption value, when the execution time is the second time period, the power consumption value of the function execution module for executing the sound control task is the third power consumption value, the power consumption value of the function execution module for executing the light control task is the fourth power consumption value, wherein the first power consumption value is greater than the second power consumption value, and the third power consumption value is greater than the fourth power consumption value;
when the time module detects that the execution time is the first time period, the estimated power consumption value acquired by the power consumption control module is the sum of the first power consumption value and the second power consumption value, and in the second time period, the estimated power consumption value acquired by the power consumption control module is the sum of the third power consumption value and the fourth power consumption value.
According to another aspect of the invention, there is provided a computer device comprising a memory storing a computer program and a processor implementing any of the above methods when the processor executes the computer program.
According to another aspect of the invention, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any of the above.
According to the invention, a control method of the camera power consumption is adopted to obtain the current power consumption value of the current execution task of the camera, obtain the predicted power consumption value of the current request execution task of the camera, and accumulate the current power consumption value and the predicted power consumption value to obtain the predicted total power consumption value; and under the condition that the estimated total power consumption value is larger than the power consumption threshold value of the camera equipment, comparing the priorities of the currently executed task and the currently requested execution task, suspending the execution of the task with low priority, and enabling the actual total power consumption of the camera to be smaller than or equal to the power consumption threshold value, so that the detection of the actual power consumption value of the camera is realized, and the execution of each use function is coordinated when the actual power consumption value exceeds the power consumption threshold value, thereby solving the problem that the instantaneous power consumption is larger or the functions are limited during the use of the camera.
Drawings
Fig. 1 is a first flowchart of a method for controlling power consumption of a camera according to an embodiment of the present invention;
fig. 2 is a second flowchart of a method for controlling power consumption of a camera according to an embodiment of the present invention;
fig. 3 is a flowchart three of a method for controlling power consumption of a camera according to an embodiment of the present invention;
fig. 4 is a block diagram of a configuration of a control apparatus of power consumption of a camera according to an embodiment of the present invention;
fig. 5 is a first block diagram of a power consumption control system of a camera according to an embodiment of the present invention;
FIG. 6 is a block diagram of a function execution module according to an embodiment of the present invention;
fig. 7 is a block diagram of a control system for power consumption of a camera according to an embodiment of the present invention;
fig. 8 is a block diagram of the inside of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In this embodiment, a method for controlling power consumption of a camera is provided, and fig. 1 is a first flowchart of a method for controlling power consumption of a camera according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S102, acquiring a current power consumption value of a current execution task of the camera; the first power consumption value can be calculated by obtaining a current value and a voltage value for executing the first task, and the power consumption value of the actual operation of the camera device can also be detected by the power measuring instrument.
Step S104, acquiring the estimated power consumption value of the current request execution task of the camera; wherein, the task to be executed comprises: a fan control task, a holder control task, a sound control task and a light control task; the fan control task can be triggered by all requirements for starting the fan such as lens fogging, the cloud deck control task can be triggered by all requirements for controlling the rotation of the cloud deck such as a user manual control cloud deck or an event linkage cloud deck, the sound control task can be triggered by all requirements for playing sound such as user manual playing sound or event linkage sound, and the light control task can be triggered by all requirements for starting light such as user manual control light or detection picture too dark linkage light.
Step S106, accumulating the current power consumption value and the estimated power consumption value to obtain an estimated total power consumption value; under the condition that the estimated total power consumption value is larger than the power consumption threshold value of the camera equipment, comparing the priority of the current execution task and the priority of the current request execution task, and suspending the execution of the task with low priority to ensure that the actual total power consumption of the camera is smaller than or equal to the power consumption threshold value; for example, when the priority of the currently executing task is greater than the priority of the currently requested executing task, the currently executing task is executed and the currently requested executing task is delayed to be executed, or the currently executing task is executed and the power consumption value of the currently requested executing task is reduced until the estimated total power consumption value is less than or equal to the power consumption threshold value; in addition, the actual power consumption value of the camera device is updated according to the real-time execution status of the currently executed task and the currently requested execution task.
In the related art, the use functions of the camera device are controlled independently, the actual power consumption value is detected and the power consumption value of the task to be executed is evaluated through steps S102 to S106, and the actual operation of the executed task of the camera device is determined according to the priority or the operation time of the executed task under the condition that the sum of the current power consumption value and the expected power consumption value is larger than the power consumption threshold of the camera device, so that the problem that the instantaneous power consumption is large or the functions are limited in the use of the camera is solved, and the safety performance of the camera is improved.
In an embodiment, a method for controlling power consumption of a camera is provided, and fig. 2 is a second flowchart of a method for controlling power consumption of a camera according to an embodiment of the present invention, as shown in fig. 2, the method includes the following steps:
step S202, according to a task priority list, acquiring the priority levels of the current execution task and the current request execution task, wherein the task priority list comprises the priority levels and the power consumption influence factors; the task priority list is shown in table 1; the task priority list can also comprise running time, and the running time of the currently executed task and the running time of the currently requested executed task are compared according to the task priority list;
TABLE 1 task priority List
Figure BDA0002293364460000061
Step S204, comparing the priority level, acquiring the actual total power consumption of the camera according to the power consumption influence factor, and suspending the execution of the task with low priority to ensure that the actual total power consumption of the camera is less than or equal to the power consumption threshold value; for example, when the currently executed task is a fan control task and the currently requested execution task is a sound control task and a light control task, the priority level of the currently executed task is determined to be the highest according to the priority level, the currently executed task is preferentially executed, the currently requested execution task is suspended from execution, or the currently requested execution task is executed after the power consumption value of the currently requested execution task is reduced.
Through the steps S202 to S204, when the total power consumption is expected to be greater than the power consumption threshold, the priority levels of the currently executed task and the currently requested execution task are obtained and compared according to the task priority list, so that the execution of each task is controlled according to the importance degree of each task, the power consumption influence factor, the running time and other factors, and the effect of jointly controlling the use function of the camera device in a specific scene is further optimized.
In an embodiment, a method for controlling power consumption of a camera is provided, and fig. 3 is a flowchart three of the method for controlling power consumption of a camera according to the embodiment of the present invention, as shown in fig. 3, the method includes the following steps:
step S302, when the current task requested to be executed is a voice control task and a light control task, setting the time for executing the current task requested to be executed as an execution time, when the execution time is a first time period, the power consumption value of the voice control task is a first power consumption value, and the power consumption value of the light control task is a second power consumption value, when the execution time is a second time period, the power consumption value of the voice control task is a third power consumption value, and the power consumption value of the light control task is a fourth power consumption value, wherein the first power consumption value is greater than the second power consumption value, and the third power consumption value is greater than the fourth power consumption value; for example, in the case that a related object triggers a tripwire intrusion, the acousto-optic warning dome camera of the camera device triggers the lighting device and the sound-producing device to warn, the environment is noisy in daytime, the sound-producing device of the camera device can play a loud sound, and the brightness of the lighting device can be slightly smaller; at night, the environment is relatively quiet, the sound played by the sound producing device can be small, and the brightness of the lighting device can be large.
Step S304, in the case that the execution time is the first time period, the obtained expected power consumption value is the sum of the first power consumption value and the second power consumption value, and in the second time period, the obtained expected power consumption value is the sum of the third power consumption value and the fourth power consumption value.
Through the above steps S302 to S304, the expected power consumption value dynamically changes according to the change of the actual environment at different time periods, so that the power consumption of the camera device is reduced on the basis of jointly controlling the use functions of the camera device, and the effect of jointly controlling the use functions of the camera device in a specific scene is optimized.
It should be understood that, although the steps in the flowcharts of fig. 1 to 3 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, there is provided a control method of power consumption of a camera, in the case where the first task is a fan control task, the second task includes at least one of: a holder control task, a sound control task and a light control task; the method comprises the following steps that a fan on the camera equipment is started to demist under the condition that the fog of a lens of a camera is detected through an image acquired by the camera on the camera equipment, the cloud deck control task comprises the step of controlling a cloud deck on the camera equipment to rotate, and the sound control task comprises the step of controlling the cloud deck to give an alarm; for example, the camera equipment takes a sound device of the camera equipment for alarming due to fog of a dome camera of the camera equipment, the light control task comprises the image quality of a lighting device for controlling the camera equipment, and therefore the priority of the fan control task is higher than that of other tasks; when the condition that the ball machine is fogged is detected, the powerful fan should be started immediately to demist, and tasks such as other light control can be delayed or the intensity is weak.
Through the embodiment, the tasks which can be executed by the camera equipment comprise the fan control task, the pan-tilt control task, the sound control task and the light control task, so that the joint control of the use functions of the fan, the motor, the sound, the light and the like of the camera equipment is realized, and the optimization of the effect in a specific scene is ensured.
In this embodiment, a control device of camera power consumption is provided, and fig. 4 is a block diagram of a structure of a control device of camera power consumption according to an embodiment of the present invention, as shown in fig. 4, the device includes: a main control panel 42, a fan control device 44, and a lighting device 46;
the main control board 42 obtains the current power consumption value of the fan control task executed by the fan control device 44;
the main control board 42 obtains the predicted power consumption value of the light control task executed by the lighting device 46;
the main control board 42 determines a predicted total power consumption value according to the current power consumption value and the predicted power consumption value; in the case where the expected total power consumption value is greater than the power consumption threshold of the camera device, the main control board determines that the priority of the fan control task is greater than the light control task, the fan control device 44 executes the fan control task, and the lighting device 46 delays executing the light control task; alternatively, the fan control device 44 performs the fan control task and the lighting device 46 performs the light control task when the main control board 42 reduces the expected power consumption value to a value where the expected total power consumption value is less than or equal to the power consumption threshold.
Through the embodiment, the main control board 42 detects the actual power consumption value and evaluates the power consumption value of the task to be executed, and under the condition that the sum of the current power consumption value and the expected power consumption value is greater than the power consumption threshold value of the camera device, the main control board 42 determines the actual operation of each task of the camera device according to the priority of the executed task, so that the detection of the actual power consumption value of the camera device is realized, the problem that the instantaneous power consumption is large or the function is limited during the use of the camera is solved, and meanwhile, the safety performance of the camera is improved.
In one embodiment, the main control board 42 sets the time for executing the light control task to be the execution time, and in the case that the execution time is the first time period, the power consumption value of the lighting device 46 for executing the light control task is smaller than the power consumption value in the case of the second time period.
Specific limitations of the control device regarding the power consumption of the camera can be referred to the above limitations of the method for the power consumption of the camera, and are not described herein again. The respective modules in the above-described control apparatus for power consumption of a camera may be entirely or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In this embodiment, a control system for camera power consumption is provided, fig. 5 is a block diagram of a structure of the control system for camera power consumption according to the embodiment of the present invention, as shown in fig. 5, the system includes a power consumption control module 52 and a function execution module 54:
the power consumption control module 52 obtains the current power consumption value of the currently executed task of the camera;
the power consumption control module 52 obtains the estimated power consumption value of the current task requested to be executed by the camera;
the power consumption control module 52 adds the current power consumption value and the estimated power consumption value to obtain an estimated total power consumption value; the power consumption control module 52 compares the priorities of the currently executed task and the currently requested task when the expected total power consumption value is greater than the power consumption threshold of the camera device, and suspends the execution of the task with a low priority so that the actual total power consumption of the camera device is less than or equal to the power consumption threshold.
Through the above embodiment, the power consumption control module 52 detects an actual power consumption value and evaluates a power consumption value of a task to be executed, and when the sum of the current power consumption value and the expected power consumption value is greater than the power consumption threshold of the camera device, the power consumption control module 52 determines actual operation of each task of the function execution module according to the priority of the executed task, so as to detect the actual power consumption value of the camera device, and coordinate the execution sequence of each task when the actual power consumption value exceeds the power consumption threshold, thereby solving the problem of large instantaneous power consumption or limited function in use of the camera, and improving the safety performance of the camera.
In one embodiment, fig. 6 is a block diagram of a function executing module according to an embodiment of the present invention, as shown in fig. 6, the function executing module includes a fan control unit 62, a pan/tilt control unit 64, a sound control unit 66, and a light control unit 68;
in the case that the currently executed task is a fan control task, the currently requested execution task includes at least one of: a holder control task, a sound control task and a light control task; wherein, the fan control task executed by the fan control unit 62 includes an image obtained by a camera on the camera device, and when it is detected that a lens of the camera is fogged, the fan on the camera device is turned on to defog, the pan/tilt control task executed by the pan/tilt control unit 64 includes controlling pan/tilt rotation on the camera device, the sound control task executed by the sound control unit 66 includes controlling a sound generating device of the camera device to give an alarm, and the light control task executed by the light control unit 68 includes controlling a lighting device of the camera device to give an alarm.
In an embodiment, a control system of camera power consumption is provided, fig. 7 is a block diagram of a structure of the control system of camera power consumption according to an embodiment of the present invention, as shown in fig. 7, the system further includes a time module 72;
when the current task is a voice control task and a light control task, the time module 72 sets the time for executing the current task as an execution time, when the time module 72 detects that the execution time is a first time period, the power consumption value of the function execution module 54 for executing the voice control task is a first power consumption value, the power consumption value of the function execution module 54 for executing the light control task is a second power consumption value, when the execution time is a second time period, the power consumption value of the function execution module 54 for executing the voice control task is a third power consumption value, and the power consumption value of the function execution module 54 for executing the light control task is a fourth power consumption value, wherein the first power consumption value is greater than the second power consumption value, and the third power consumption value is greater than the fourth power consumption value;
in the case that the time module 72 detects that the execution time is the first time period, the expected power consumption value obtained by the power consumption control module 52 is the sum of the first power consumption value and the second power consumption value, and in the second time period, the expected power consumption value obtained by the power consumption control module 52 is the sum of the third power consumption value and the fourth power consumption value.
In one embodiment, a computer device is provided, and the computer device may be a server, and fig. 8 is a structural diagram of the inside of the computer device according to the embodiment of the present invention, as shown in fig. 8. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing task priority list data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of controlling power consumption of a camera.
Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the steps in the control method for power consumption of a camera provided in the above embodiments.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the steps in the control method for power consumption of a camera provided by the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for controlling power consumption of a camera, the method comprising:
acquiring a current power consumption value of a current execution task of a camera;
acquiring a predicted power consumption value of a current request execution task of the camera;
accumulating the current power consumption value and the estimated power consumption value to obtain an estimated total power consumption value; and under the condition that the estimated total power consumption value is larger than the power consumption threshold value of the camera equipment, comparing the priority of the currently executed task and the priority of the currently requested execution task, and suspending execution of the task with low priority to enable the actual total power consumption of the camera to be smaller than or equal to the power consumption threshold value.
2. The method of claim 1, wherein comparing the priorities of the currently executing task and the currently requested task, suspending execution of a low priority task, and wherein reducing the actual total power consumption of the camera to less than or equal to the power consumption threshold comprises:
acquiring the priority levels of the currently executed task and the currently requested execution task according to a task priority list, wherein the task priority list comprises the priority levels and power consumption influence factors;
and comparing the priority levels, acquiring the actual total power consumption of the camera according to the power consumption influence factors, and suspending the execution of the low-priority task to enable the actual total power consumption of the camera to be less than or equal to the power consumption threshold value.
3. The method of claim 1, wherein obtaining the predicted power consumption value of the task currently requested to be performed by the camera comprises:
when the current request execution task is a sound control task and a light control task, setting time for executing the current request execution task as execution time, when the execution time is a first time period, a power consumption value of the sound control task is a first power consumption value, a power consumption value of the light control task is a second power consumption value, when the execution time is a second time period, a power consumption value of the sound control task is a third power consumption value, and a power consumption value of the light control task is a fourth power consumption value, wherein the first power consumption value is larger than the second power consumption value, and the third power consumption value is larger than the fourth power consumption value;
and under the condition that the execution time is the first time period, the obtained estimated power consumption value is the sum of the first power consumption value and the second power consumption value, and in the second time period, the obtained estimated power consumption value is the sum of the third power consumption value and the fourth power consumption value.
4. A control apparatus of power consumption of a camera, characterized in that the apparatus comprises: the main control board, the fan control device and the lighting device;
the main control board acquires a current power consumption value of a fan control task executed by the fan control device;
the main control board obtains a predicted power consumption value of a light control task executed by the lighting device;
the main control board determines a predicted total power consumption value according to the current power consumption value and the predicted power consumption value; when the estimated total power consumption value is larger than the power consumption threshold value of the camera equipment, the main control board determines that the priority of the fan control task is larger than the light control task, the fan control device executes the fan control task, and the lighting device delays executing the light control task; or the fan control device executes the fan control task, and the lighting device executes the light control task when the main control board reduces the estimated power consumption value to the condition that the estimated total power consumption value is smaller than or equal to the power consumption threshold value.
5. The device according to claim 4, wherein the main control board sets the time for executing the light control task to be an execution time, and when the execution time is a first time period, the power consumption value of the lighting device for executing the light control task is smaller than that in a second time period.
6. A control system for power consumption of a camera, the system comprising a power consumption control module and a function execution module:
the power consumption control module acquires a current power consumption value of a current execution task of the camera;
the power consumption control module acquires a predicted power consumption value of a current request execution task of the camera;
the power consumption control module accumulates the current power consumption value and the estimated power consumption value to obtain an estimated total power consumption value; and the power consumption control module compares the priority of the currently executed task and the priority of the currently requested task under the condition that the estimated total power consumption value is larger than the power consumption threshold value of the camera equipment, and suspends the execution of the task with low priority, so that the actual total power consumption of the camera is smaller than or equal to the power consumption threshold value.
7. The system of claim 6, wherein the function execution module comprises a fan control unit, a pan-tilt control unit, a sound control unit, and a light control unit;
in a case where the currently executed task is a fan control task, the currently requested execution task includes at least one of: a holder control task, a sound control task and a light control task; the fan control task executed by the fan control unit comprises an image acquired through a camera on the camera equipment, the fan on the camera equipment is started to demist when a lens of the camera is detected to be fogged, the pan-tilt control task executed by the pan-tilt control unit comprises control over pan-tilt rotation on the camera equipment, the sound control task executed by the sound control unit comprises control over a sound generating device of the camera equipment to give an alarm, and the light control task executed by the light control unit comprises control over an illuminating device of the camera equipment to give an alarm.
8. The system of claim 6, further comprising a time module;
when the current request execution task is a sound control task and a light control task, the time module sets the time for executing the current request execution task as the execution time, when the time module detects that the execution time is a first time period, the power consumption value of the function execution module for executing the sound control task is a first power consumption value, the power consumption value of the function execution module for executing the light control task is a second power consumption value, when the execution time is the second time period, the power consumption value of the function execution module for executing the sound control task is the third power consumption value, the power consumption value of the function execution module for executing the light control task is the fourth power consumption value, wherein the first power consumption value is greater than the second power consumption value, and the third power consumption value is greater than the fourth power consumption value;
when the time module detects that the execution time is the first time period, the estimated power consumption value acquired by the power consumption control module is the sum of the first power consumption value and the second power consumption value, and in the second time period, the estimated power consumption value acquired by the power consumption control module is the sum of the third power consumption value and the fourth power consumption value.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 3 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 3.
CN201911190167.8A 2019-11-28 2019-11-28 Method, device, system and storage medium for controlling power consumption of camera Pending CN111064882A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911190167.8A CN111064882A (en) 2019-11-28 2019-11-28 Method, device, system and storage medium for controlling power consumption of camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911190167.8A CN111064882A (en) 2019-11-28 2019-11-28 Method, device, system and storage medium for controlling power consumption of camera

Publications (1)

Publication Number Publication Date
CN111064882A true CN111064882A (en) 2020-04-24

Family

ID=70299123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911190167.8A Pending CN111064882A (en) 2019-11-28 2019-11-28 Method, device, system and storage medium for controlling power consumption of camera

Country Status (1)

Country Link
CN (1) CN111064882A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263645A (en) * 2011-07-04 2011-11-30 迈普通信技术股份有限公司 Power management method and power management system for communication equipment
CN103077568A (en) * 2012-12-29 2013-05-01 苏州市职业大学 Warning device for indicating road inspection well cover theft
CN104750054A (en) * 2013-12-31 2015-07-01 华北电力大学 Electricity control device and method
US20160100131A1 (en) * 2012-08-30 2016-04-07 Apple Inc. Radio Power Saving Techniques for Video Conference Applications
CN110233965A (en) * 2019-05-31 2019-09-13 杭州涂鸦信息技术有限公司 A kind of apparatus control method, device and smart machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263645A (en) * 2011-07-04 2011-11-30 迈普通信技术股份有限公司 Power management method and power management system for communication equipment
US20160100131A1 (en) * 2012-08-30 2016-04-07 Apple Inc. Radio Power Saving Techniques for Video Conference Applications
CN103077568A (en) * 2012-12-29 2013-05-01 苏州市职业大学 Warning device for indicating road inspection well cover theft
CN104750054A (en) * 2013-12-31 2015-07-01 华北电力大学 Electricity control device and method
CN110233965A (en) * 2019-05-31 2019-09-13 杭州涂鸦信息技术有限公司 A kind of apparatus control method, device and smart machine

Similar Documents

Publication Publication Date Title
CN108377345B (en) Exposure parameter value determination method and device, multi-view camera and storage medium
RU2646393C2 (en) Method and apparatus of device control
US10438562B2 (en) Method and system for adjusting screen brightness of terminal, and terminal comprising the system
CN108401116B (en) Camera mode switching optimization method and device, computer equipment and storage medium
US11689785B2 (en) Dual-spectrum image automatic exposure method and apparatus, and dual-spectrum image camera and machine storage medium
CN108933903B (en) Camera fault processing method, intelligent terminal and device with storage function
EP3490240A1 (en) Smart flash lamp control method and mobile terminal
CN106454077B (en) Shooting method, shooting device and terminal
CN111610848A (en) Screen refresh rate adjusting method and device, electronic equipment and storage medium
BRPI1101759A2 (en) camera control unit, controller, method for controlling a camera, and, computer readable storage device
US10284767B2 (en) Shooting device, shooting method, and non-transitory computer readable recording medium storing program
US9508136B2 (en) Image fusing method
US11343434B2 (en) Image processing apparatus and control method for same
CN110568899A (en) power adjustment method and device, computer equipment and storage medium
JP2015061120A5 (en)
CN111064882A (en) Method, device, system and storage medium for controlling power consumption of camera
US9565395B1 (en) Video image processing apparatus and recording medium
CN110493530B (en) Automatic exposure control method and device for monitoring camera
WO2019011182A1 (en) Mobile terminal and adjusting method thereof, and computer readable storage medium
CN114510183A (en) Dynamic effect duration management method and electronic equipment
CN114286004A (en) Focusing method, shooting device, electronic equipment and medium
WO2020074303A1 (en) Determining dynamicity for light effects based on movement in video content
CN113507559A (en) Intelligent camera shooting method and system applied to vehicle and vehicle
CN110784764A (en) Automatic television picture adjusting method, television and computer readable storage medium
CN111684787A (en) Image capturing method, image capturing apparatus, movable platform, storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200424

RJ01 Rejection of invention patent application after publication