WO2019154241A1 - 功耗控制方法与摄像装置 - Google Patents

功耗控制方法与摄像装置 Download PDF

Info

Publication number
WO2019154241A1
WO2019154241A1 PCT/CN2019/074070 CN2019074070W WO2019154241A1 WO 2019154241 A1 WO2019154241 A1 WO 2019154241A1 CN 2019074070 W CN2019074070 W CN 2019074070W WO 2019154241 A1 WO2019154241 A1 WO 2019154241A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
camera
information
state
camera unit
Prior art date
Application number
PCT/CN2019/074070
Other languages
English (en)
French (fr)
Inventor
刘达生
邓雄书
陈卫亮
陈彬
张东胜
Original Assignee
云丁网络技术(北京)有限公司
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 云丁网络技术(北京)有限公司 filed Critical 云丁网络技术(北京)有限公司
Publication of WO2019154241A1 publication Critical patent/WO2019154241A1/zh

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
    • H04N23/65Control of camera operation in relation to power supply
    • H04N23/651Control of camera operation in relation to power supply for reducing power consumption by affecting camera operations, e.g. sleep mode, hibernation mode or power off of selective parts of the camera
    • 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
    • H04N23/65Control of camera operation in relation to power supply

Definitions

  • the present invention relates to the field of automatic control, and more particularly to a power consumption control method and an image pickup apparatus.
  • Smart Cat's Eye is a home security product that replaces traditional cat's eye. Its essence is a kind of network camera. In order to meet the security needs of the owners, the network camera needs to work continuously for 24 hours a day, and the power consumption is high, especially the battery-powered network camera, which has poor endurance and thus affects the user experience.
  • IP camera usually includes IPC main module, camera, infrared fill light, power control module, human body infrared (PIR) module and WIFI module.
  • IPC main module and related peripherals are the main consumption. Electrical part.
  • the current power consumption control scheme is to use the power control module to set the IPC main module, camera, and infrared fill light to the sleep state or the power-off state by default, and only maintain the normal operation of the power control module, the PIR module, and the WIFI module.
  • the power consumption control module controls the IPC main module, the camera module, and the infrared fill light module to enter the normal working mode, thereby To some extent, the power consumption level of the network camera is lowered.
  • the IPC main module starts to work normally, the camera will remain in the working state regardless of whether the camera is needed or not.
  • the video coding unit of the IPC main module is always in working state, and the infrared fill light will remain in the case of insufficient light. In the working state, until the power control module controls the IPC main module to enter the power-off state or the sleep state again. It can be seen that the power control scheme of the existing network camera still generates a large amount of unnecessary power loss, and the power consumption control effect is poor.
  • the present invention has been made in order to provide a power consumption control method and an image pickup apparatus that overcome the above problems or at least partially solve the above problems.
  • the present invention provides the following technical solutions:
  • a power consumption control method is applied to an image pickup apparatus, the image pickup apparatus including an image pickup unit; and the method includes:
  • the work scene information includes information of a task that the camera device is starting or is performing;
  • the usage requirement information of the camera unit is used to indicate whether the camera unit needs to be used;
  • the camera unit is controlled to be activated in response to characterizing usage requirements information that the camera unit needs to be used.
  • the method further includes:
  • the usage state information of the camera unit is used to indicate whether the camera unit is used up;
  • the image capturing unit is controlled to be turned off.
  • the camera device further includes a light-filling unit; the light-filling unit is in a closed state after the camera device is activated; the method further includes:
  • the fill light unit When the ambient light intensity meets a preset fill light condition, the fill light unit is controlled to be activated.
  • the method further includes:
  • the usage state information of the camera unit is used to indicate whether the camera unit is used up;
  • the light filling unit is controlled to be turned off.
  • the method further includes:
  • the fill light unit is controlled to be turned on or off according to the ambient light intensity acquired again.
  • the camera device further includes a video encoding unit, and after the camera unit is started, the method further includes:
  • the use requirement information of the video coding unit is used to indicate whether the video coding unit needs to be activated;
  • the video encoding unit is controlled to be activated in response to characterizing boot request information that the video encoding unit needs to be used.
  • the method further includes:
  • the video coding unit is controlled to be turned off.
  • the camera device further includes a wireless transmission unit, the wireless transmission unit has a low power consumption mode; and the method further includes:
  • the wireless transmission unit enters a sleep state in the low power consumption mode
  • the wireless transmission unit After entering the sleep state, the wireless transmission unit periodically switches from the sleep state to the working state to acquire remote data;
  • the wireless transmission unit switches from the working state to the sleep state after acquiring the remote data.
  • An imaging device includes a main control unit and an imaging unit; the main control unit includes:
  • a scene obtaining unit configured to acquire working scene information of the camera apparatus;
  • the working scene information includes information of a task that the camera apparatus is starting or is performing;
  • a requirement obtaining unit configured to acquire usage requirement information of the camera unit according to the work scenario information; use requirement information of the camera unit is used to indicate whether the camera unit needs to be used;
  • an imaging control unit configured to control the imaging unit to be activated in response to characterizing usage requirements that the imaging unit needs to be used.
  • the main control unit further includes:
  • a state obtaining unit configured to acquire usage state information of the camera unit after the camera unit is activated; use state information of the camera unit is used to indicate whether the camera unit is used up;
  • the imaging control unit is further configured to control the imaging unit to be turned off when the usage status information of the imaging unit is used to indicate that the imaging unit is used.
  • the image capturing device further includes a light filling unit; the light filling unit is in a closed state after the camera device is activated; the main control unit further includes:
  • a light intensity acquiring unit configured to acquire an ambient light intensity when the use requirement information of the image capturing unit indicates that the image capturing unit needs to be used
  • the fill light control unit is configured to control the fill light unit to start when the ambient light intensity meets a preset fill light condition.
  • the main control unit further includes an encoding control unit
  • the requirement acquisition unit is further configured to: after the camera unit is activated, acquire usage requirement information of the video coding unit according to the work scenario information; use requirement information of the video coding unit is used to represent the video coding unit Whether it needs to be activated;
  • the encoding control unit is configured to control the video encoding unit to start in response to characterizing boot request information that the video encoding unit needs to be used.
  • the camera device further includes:
  • An auxiliary control unit configured to acquire an operating state of the main control unit; when the operating state of the main control unit is an idle state, controlling the main control unit to enter a power-off sleep mode; wherein the main control unit is The power is stopped in the power-off sleep mode.
  • the camera device further includes a wireless transmission unit, the wireless transmission unit has a low power consumption operation mode, and the wireless transmission unit is configured to enter a sleep state in the low power consumption mode; After the sleep state, timing is switched from the sleep state to the work state to acquire remote data; after acquiring the remote data, switching from the working state to the sleep state.
  • a wireless transmission unit has a low power consumption operation mode, and the wireless transmission unit is configured to enter a sleep state in the low power consumption mode; After the sleep state, timing is switched from the sleep state to the work state to acquire remote data; after acquiring the remote data, switching from the working state to the sleep state.
  • the power consumption control method provided by the present invention is applied to an image pickup apparatus, and an image pickup unit in the image pickup apparatus is in a closed state after the image pickup apparatus is activated.
  • the unit is started, thereby ensuring that the camera unit is started from the off state in the work scene that needs to be used, and maintains the original off state in the work scene that does not need to be used, thereby effectively reducing the power consumption level of the camera device. , improve the power control effect.
  • FIG. 1 is a flowchart of a power consumption control method according to an embodiment of the present application
  • FIG. 2 is another flowchart of a power consumption control method according to an embodiment of the present application
  • FIG. 3 is still another flowchart of a power consumption control method according to an embodiment of the present application.
  • FIG. 4 is still another flowchart of a power consumption control method according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an image pickup apparatus according to an embodiment of the present application.
  • FIG. 6 is another schematic structural diagram of an image pickup apparatus according to an embodiment of the present application.
  • FIG. 7 is still another schematic structural diagram of an image pickup apparatus according to an embodiment of the present application.
  • the power consumption control method provided by the present invention is applied to an image pickup apparatus including an image pickup unit.
  • the camera unit is in a closed state, a low power consumption state, or a sleep state after the camera device is activated, and the closed state, the low power consumption state, and the sleep state may be preset by the user or preset by the system.
  • the shutdown state may specifically refer to that the imaging unit is in a power-off state, and the low-power state refers to an operation state in which the imaging unit maintains a most basic function or adopts a lowest sampling rate, and the sleep state refers to a state in which the imaging unit is suspended.
  • the power consumption control method of the present invention adopts a minimum modular control mode to separately control unit modules in the image pickup apparatus.
  • the camera device of the present invention may be a smart cat's eye device, an indoor or outdoor network camera, or other types of camera devices.
  • FIG. 1 is a flowchart of a power consumption control method according to an embodiment of the present application.
  • the method includes:
  • S101 Acquire working scene information of the camera device; the work scene information includes task information that the camera device is starting or being executed.
  • the task may include specific instructions, and may also include specific functions.
  • the task information carried in the task request instruction is acquired (that is, the task information is being started), or the running task process is monitored, and the task information corresponding to the task process is acquired according to the task process. (that is, the task information being executed).
  • S102 Acquire usage requirement information of the camera unit according to the work scenario information; use requirement information of the camera unit is used to indicate whether the camera unit needs to be used.
  • the working scene information has a corresponding relationship with the usage requirement information of the camera unit.
  • the historical video uploading task of the camera device, the information synchronization task with the server, the online upgrade task, and the like all correspond to the use requirement information that does not need to be used by the camera unit; and the camera task of the camera device, the real-time video display task And so on, all correspond to the usage requirement information that needs to be used to the camera unit.
  • a requirement relationship table may be established, and a correspondence relationship between at least one work scene information and usage requirement information of the camera unit is recorded in the demand relationship table.
  • the requirement relationship table may be configured according to actual needs, for example, adding, deleting, and modifying the correspondence between the work scene information in the demand relationship table and the use requirement information of the camera unit.
  • the imaging apparatus is starting up or is performing, it is possible to accurately determine whether the imaging unit needs to be used, and thereby acquire usage requirement information for characterizing whether the imaging unit needs to be used.
  • S103 Control the camera unit to start in response to characterizing usage requirement information that the camera unit needs to be used.
  • the camera unit in this embodiment is in the off state by default after the camera is activated, and is activated only when it needs to be used, thereby avoiding that the camera unit is not in use. Loss of power due to being in a working state when it is used.
  • the power consumption control method provided in this embodiment is applied to an image capturing device, and the image capturing unit in the image capturing device is in a closed state by default after the camera device is activated, acquires working scene information of the camera device, and determines the camera according to the working scene information of the camera device. Whether the unit needs to be used, when it is determined that the camera unit needs to be used, the camera unit is controlled to be activated, and when the camera unit does not need to be used, the camera unit is kept off, thereby preventing the camera unit from being used.
  • the power consumption loss caused by the working state effectively reduces the power consumption level of the camera device and improves the power consumption control effect.
  • FIG. 2 is another flowchart of a power consumption control method according to an embodiment of the present application.
  • the method includes:
  • S201 Acquire working scene information of the camera device; the work scene information includes task information that the camera device is starting or being executed.
  • S202 Acquire usage requirement information of the camera unit according to the work scenario information; use requirement information of the camera unit is used to indicate whether the camera unit needs to be used.
  • S203 Control the camera unit to start in response to characterizing usage requirement information that the camera unit needs to be used.
  • the steps S201-S203 are similar to the steps S101-S103 in the foregoing embodiment. For details, refer to the foregoing embodiments, and details are not described herein again.
  • the usage status information is used to characterize whether the camera unit is used up.
  • the usage status information of the camera unit can still be acquired according to the working scene information of the camera. For example, after the camera unit is started, when there is no task that is being started or is being executed, the camera unit is used, or when no task is being started or is being executed, it indicates that the camera unit has been used, thereby obtaining the image unit for characterizing.
  • the used usage status information when any of the tasks being started or being executed are still using the camera unit, it indicates that the camera unit is not used, thereby obtaining usage status information for characterizing that the camera unit has not been used.
  • S205 Control the camera unit to be turned off when the use status information indicates that the camera unit is used up.
  • the camera unit When the camera unit is used up, the camera unit is controlled to be turned off in time, which can avoid unnecessary power loss caused by the camera unit being used after being used, thereby ensuring the effective use of the camera unit and reducing the camera. Loss of power consumption of the device.
  • the power consumption control method provided in this embodiment is applied to an image capturing device, and after the camera unit is started, the use state information of the camera unit is acquired, and when the camera unit is used, the camera unit is turned off in time, thereby further improving the camera unit function.
  • the accuracy of the consumption control further reduces the power loss of the camera device and improves the power consumption control effect.
  • FIG. 3 is still another flowchart of a power consumption control method according to an embodiment of the present application.
  • the image capturing device further includes a light filling unit; the light filling unit is also in a closed state after the image capturing device is activated.
  • the method includes:
  • S301 Acquire working scene information of the camera device; the work scene information includes task information that the camera device is starting or being executed.
  • S302 Acquire usage requirement information of the camera unit according to the work scenario information; use requirement information of the camera unit is used to indicate whether the camera unit needs to be used.
  • the steps S301-S302 are similar to the steps S101-S102 or S201-202 in the foregoing embodiment. For details, refer to the foregoing embodiment, and details are not described herein again.
  • S303 Acquire an ambient light intensity when the usage requirement information of the camera unit indicates that the camera unit needs to be used.
  • the usage requirement information of the camera unit indicates that the camera unit needs to be used, it indicates that the camera unit will perform imaging in the current environment, and the illumination intensity of the environment may seriously affect the imaging effect. Therefore, it is necessary to acquire the environment after determining to use the camera unit. Light intensity to determine if the fill light unit needs to be turned on for fill light.
  • the camera unit When the usage requirement information of the camera unit indicates that the camera unit does not need to be used, the camera unit remains in the off state and does not need to be activated, so that it is not necessary to control the light-filling unit to start, and thus it is not necessary to acquire the ambient light intensity.
  • the ambient light intensity can be detected by a photoresistor to obtain the ambient light intensity detected by the photoresistor.
  • a photoresistor to obtain the ambient light intensity detected by the photoresistor.
  • other types of light intensity detecting units can also be used to detect the ambient light intensity, which is not specifically limited herein.
  • S304 Control the fill light unit to start when the ambient light intensity meets a preset fill light condition.
  • the camera unit is activated as the camera device is activated. Therefore, as long as the ambient light is insufficient, the fill light unit is activated to fill the light to ensure the imaging effect of the camera unit, and the image pickup unit of the present invention. It is controlled according to the working scene information of the camera device. If the light-filling unit is turned on and off according to the ambient light intensity, it will inevitably occur when the light-filling unit is turned on when the camera unit is not required to be used. The optical unit has an unnecessary loss of power consumption.
  • the fill light unit is also in the off state by default after the camera device is activated, and the light fill unit must be controlled to start when the camera unit needs to be used and the ambient light intensity meets the preset fill light condition. It is not directly started after the camera is started, and it is not only started when the ambient light intensity meets the preset fill light condition, thereby avoiding the unnecessary start of the fill light unit when the camera unit is not needed, thereby avoiding the supplement. Unnecessary power loss caused by unnecessary startup of the light unit.
  • the fill light unit remains in the original off state.
  • the preset fill light condition may be that the ambient light intensity is less than the light intensity threshold, or the ambient light intensity is not greater than the light intensity threshold, or may be other user preset preset fill conditions (eg, determining whether it is nighttime) ).
  • the fill light unit may be an infrared fill light unit or another type of fill light unit, which is not specifically limited herein.
  • S305 Control the camera unit to start in response to characterizing usage requirement information that the camera unit needs to be used.
  • the step S305 may be performed after the step S302, or may be performed after the step S304, and may also be performed when it is determined that the ambient light intensity does not meet the preset fill-light condition.
  • step S305 The specific content of the step S305 is similar to the step S103 or S203 in the foregoing embodiment. For details, refer to the foregoing embodiment, and details are not described herein again.
  • the usage status information is used to characterize whether the camera unit is used up.
  • S307 Control the fill light unit to be turned off when the use state information indicates that the image capturing unit is used up.
  • the light-filling unit is controlled to be turned off in time, which can avoid unnecessary power loss caused by the light-filling unit being used after being used, thereby ensuring the effective use of the light-filling unit to the greatest extent. , reducing the power loss of the camera device.
  • the embodiment may further include steps S204-S205 in the foregoing embodiment, and further, when the camera unit is used, controlling the light-filling unit and the camera unit to be turned off in time, thereby ensuring the fill-in unit to the greatest extent.
  • the effective use of the camera unit avoids unnecessary power loss and reduces the overall power consumption level of the camera.
  • the power consumption control method provided in this embodiment determines whether the ambient light intensity meets a preset fill light condition when determining that the image capturing unit needs to be used, and when the ambient light intensity meets a preset fill light condition, the control center
  • the completion of the fill light unit ensures that the fill light unit is activated in the off state when the camera unit needs to be used and the ambient light intensity meets the preset fill light condition, thereby improving the accuracy of the fill control unit start control, thereby improving the work.
  • the accuracy of the consumption control and, after the light-filling unit is started, the usage state information of the camera unit is acquired, and when the camera unit is used, the light-filling unit is turned off in time to further ensure accurate control of the light-filling unit, thereby avoiding Unnecessary power loss increases power consumption control.
  • FIG. 4 is still another flowchart of a power consumption control method according to an embodiment of the present application.
  • the method includes:
  • S101 Acquire working scene information of the camera apparatus; and the working scene information includes task information that the camera apparatus is starting or being executed.
  • S402 Acquire usage requirement information of the camera unit according to the work scenario information; use requirement information of the camera unit is used to indicate whether the camera unit needs to be used.
  • S403 Acquire ambient light intensity when the use requirement information of the image capturing unit indicates that the image capturing unit needs to be used.
  • S404 Control the fill light unit to start when the ambient light intensity meets a preset fill light condition.
  • S405 Control the camera unit to start in response to characterizing usage requirement information that the camera unit needs to be used.
  • the steps S401-S405 are similar to the steps S301-S305 in the foregoing embodiment.
  • the ambient light intensity may change. If the fill light unit is turned on, it will inevitably lead to unnecessary power loss. Therefore, after the camera unit is started, the ambient light intensity can be acquired again. Specifically, when the ambient light intensity is acquired again, the periodic acquisition mode may be adopted, or the real-time acquisition mode may be adopted. However, compared to the real-time acquisition mode, it is clear that the power consumption of the periodic acquisition mode is lower.
  • S407 Control whether the fill light unit is turned on or off according to the ambient light intensity acquired again.
  • the light fill unit is controlled to be turned off, thereby ensuring the fill light unit to the greatest extent during use of the image capturing unit. Effective use, avoiding unnecessary power loss.
  • the fill light unit when the fill light unit is not turned on and the ambient light intensity acquired again meets the preset fill light condition, the fill light unit is controlled to be activated to ensure the image capturing effect.
  • the fill light unit is not turned on and the ambient light intensity acquired again does not meet the preset fill light condition, or when the fill light unit has been turned on and the ambient light intensity acquired again meets the preset fill light condition, the fill light is maintained. The existing state of the unit does not change.
  • This embodiment may further include steps S204-S205 and S306-S307 in the foregoing embodiment after step S405.
  • steps S204-S205 and S306-S307 in the foregoing embodiment after step S405.
  • steps S204-S205 and S306-S307 in the foregoing embodiment after step S405.
  • the power consumption control method provided by the embodiment controls the light-filling unit to be turned on or off according to the ambient light intensity acquired again after the camera unit is started, thereby ensuring the fill light to the greatest extent during the use of the camera unit.
  • the effective use of the unit further avoids unnecessary power loss caused by the fill light unit during use of the image capturing unit, and improves the power consumption control effect.
  • the camera apparatus further includes a video encoding unit, and the video encoding unit may include a hardware encoder and/or a software encoder.
  • the power consumption control method may further include:
  • A1) acquiring usage requirement information of the video coding unit according to the work scenario information; the usage requirement information of the video coding unit is used to indicate whether the video coding unit needs to be activated;
  • the method may further include:
  • B1 acquiring usage status information of the video coding unit; use status information of the video coding unit is used to indicate whether the video coding unit is used up;
  • the video coding unit is controlled to be turned off.
  • the video encoding unit needs to be activated according to the working scene information of the camera, and further realizes the minimum modular low power control.
  • a requirement relationship table may be further established for recording a correspondence between at least one work scene information and usage requirement information of the video coding unit.
  • the requirement relationship table can also be configured according to actual needs, for example, adding, deleting, and modifying the correspondence between the work scene information in the demand relationship table and the use requirement information of the video coding unit.
  • the camera device further includes a wireless transmission unit, the wireless transmission unit has a low power consumption operation mode, and the power consumption control method further includes:
  • the wireless transmission unit enters a sleep state in the low power consumption mode
  • the wireless transmission unit switches from the working state to the sleep state after acquiring the remote data.
  • the timing mode can be implemented by configuring a sleep cycle. For example, after configuring sleep for 800 milliseconds, it automatically switches to the working state, and after switching data with the router, it switches to the sleep state again, and so on.
  • the remote data is specifically a remote wake-up instruction.
  • the wireless transmission unit is specifically configured to acquire the remote wakeup instruction.
  • the remote wake-up command may be sent by the user through the client and forwarded to the wireless transmission unit via the wake-up server.
  • the wireless transmission unit may maintain a long network connection with the wake-up server and wait to receive the remote wake-up instruction forwarded by the wake-up server.
  • the power control method may include: in addition to the steps of the foregoing embodiments,
  • the recorded content is transmitted to the cloud recording server in real time during the recording of the captured content.
  • the recording of the captured content and the uploading of the recorded content require the main control unit of the camera device to perform.
  • the traditional technical solution the recording of the captured content and the uploading of the recorded content are performed separately, that is, the main control unit needs to be separately It takes time to perform the recording of the captured content and the uploading of the recorded content, so that the main control unit is in a working state for a long time, and the power consumption loss is large.
  • the power consumption control method provided in this embodiment realizes the recording and recording process of the camera content in real time by transmitting the recorded content to the cloud recording server in the process of recording the captured content, and the two are performed at the same time, substantially The working time of the main control unit in the camera device is shortened, and the power consumption loss of the main control unit is reduced.
  • the working mode of the edge recording and edge transmission provided by the embodiment can shorten the working time of the main control unit by nearly half compared with the traditional working mode of the first recording and the post transmission, thereby improving the power consumption control effect.
  • the embodiment of the present invention further provides a corresponding camera device.
  • the power consumption control method provided by the foregoing embodiment For specific technical content, reference may be made to the power consumption control method provided by the foregoing embodiment.
  • FIG. 5 is a schematic structural diagram of an image pickup apparatus according to an embodiment of the present application.
  • the image capturing device of the embodiment is used to implement the power consumption control method of the foregoing embodiment. As shown in FIG. 5, the device includes: a main control unit U100 and an imaging unit U200. The camera unit U200 is in a closed state in the low power consumption mode.
  • the main control unit U100 includes:
  • the scene obtaining unit U101 is configured to acquire working scene information of the camera apparatus, where the working scene information includes task information that the camera apparatus is starting or being executed.
  • the requirement obtaining unit U102 is configured to acquire usage requirement information of the image capturing unit according to the working scene information, and the usage requirement information of the image capturing unit is used to indicate whether the image capturing unit needs to be used.
  • the camera control unit U103 is configured to control the camera unit to be activated in response to characterizing the use requirement information that the camera unit needs to be used.
  • the image pickup apparatus can perform a task unrelated to the image pickup unit.
  • the main control unit U100 can be implemented by using an IPC main module in a conventional camera system, or can be implemented by using a new module unit.
  • the image capturing unit is in a closed state, firstly acquiring working scene information of the image capturing apparatus, determining whether the image capturing unit needs to be used according to the working scene information of the image capturing apparatus, and when determining that the image capturing unit needs to be used,
  • the camera unit is activated, and when the camera unit does not need to be used, it will remain in the off state, thereby realizing the minimum modular power consumption control for the camera unit, thereby avoiding unnecessary power loss of the camera unit, thereby effectively reducing
  • the power consumption level of the camera device improves the power consumption control effect.
  • FIG. 6 is another schematic structural diagram of an image pickup apparatus according to an embodiment of the present application.
  • the image capturing apparatus of the present embodiment includes the main control unit U100 and the image capturing unit U200 in the foregoing embodiment, and the main control unit U100 further includes:
  • the state obtaining unit U104 is configured to acquire usage state information of the camera unit after the camera unit is activated, and the use state information is used to indicate whether the camera unit is used.
  • the imaging control unit U103 is further configured to control the imaging unit to be turned off when the usage status information indicates that the imaging unit is used up.
  • the camera device further includes a fill light unit U300.
  • the fill light unit U300 is in a closed state in the low power consumption mode.
  • the main control unit U100 further includes:
  • the light intensity acquiring unit U105 is configured to acquire an ambient light intensity when the use requirement information of the image capturing unit indicates that the image capturing unit needs to be used.
  • the ambient light intensity can be detected by a photoresistor to obtain the ambient light intensity detected by the photoresistor.
  • a photoresistor to obtain the ambient light intensity detected by the photoresistor.
  • other types of light intensity detecting units can also be used to detect the ambient light intensity, which is not specifically limited herein.
  • the fill light control unit U106 is configured to control the fill light unit to start when the ambient light intensity meets a preset fill light condition.
  • the fill light unit may be an infrared fill light unit or another type of fill light unit, which is not specifically limited herein.
  • the state obtaining unit U104 is further configured to acquire usage state information of the camera unit after the light-filling unit is activated, and the usage state information is used to indicate whether the camera unit is used.
  • the fill light control unit U106 is further configured to control the fill light unit to be turned off when the use state information indicates that the image capturing unit is used up.
  • the light intensity acquiring unit U105 is further configured to acquire the ambient light intensity again after the image capturing unit is started.
  • the fill light control unit U106 is further configured to control the fill light unit to be turned on or off according to the ambient light intensity acquired again.
  • main control unit U100 further includes:
  • the real-time transmission unit U107 is configured to transmit the recorded content to the cloud recording server in real time during the recording of the captured content.
  • the main control unit U100 enters a power-off sleep state to reduce power consumption in an idle state, and the real-time transmission unit U107 transmits the recorded content to the cloud recording server in real time during the recording of the captured content, thereby greatly shortening the main control.
  • the working time of the unit U100 extends the time when the main control unit U100 is in an idle state, thereby prolonging the time when the main control unit U100 is in the power-off sleep state, and reducing the power consumption level of the camera device.
  • the image pickup apparatus determines whether the ambient light intensity meets a preset fill light condition when determining that the image capturing unit needs to be used, and controls the supplement when the ambient light intensity meets a preset fill light condition.
  • the light unit is activated to ensure that the fill light unit is started in the off state when the camera unit needs to be used and the ambient light intensity meets the preset fill light condition, thereby improving the accuracy of the fill control unit startup control, thereby improving power consumption control. Accuracy; after the camera unit is started, according to the ambient light intensity acquired again, the light-filling unit is controlled to be turned on or off; and the usage state information of the camera unit is acquired, and when the camera unit is used, the camera unit is turned off in time.
  • the fill light unit is also turned on before, when the camera unit is used, the fill light unit is also turned off in time; thus, the accurate control of the camera unit and the fill light unit is ensured, and the camera unit and the fill light unit may be avoided. Unnecessary power loss increases power consumption control.
  • FIG. 7 is still another schematic structural diagram of an image pickup apparatus according to an embodiment of the present application.
  • the image capturing apparatus of the present embodiment includes: in addition to the main control unit U100, the image capturing unit U200, and the fill light unit U300 in the foregoing embodiment, the image capturing apparatus includes:
  • the auxiliary control unit U400 is configured to acquire an operating state of the main control unit U100.
  • the main control unit U100 is controlled to enter a power-off sleep mode.
  • the main control unit U100 stops working in the power-off sleep mode.
  • the camera device has a low power consumption mode
  • the camera device further includes:
  • a wireless transmission unit U500 configured to enter a sleep state in the low power consumption mode; after entering the sleep state, timing is switched from the sleep state to an active state to acquire remote data; acquiring the remote data Thereafter, the operating state is switched to the sleep state.
  • the timing mode can be implemented by configuring a sleep cycle. For example, after configuring sleep for 800 milliseconds, it automatically switches to the working state, and after switching data with the router, it switches to the sleep state again, and so on.
  • the remote data is specifically a remote wake-up instruction.
  • the wireless transmission unit U500 is specifically configured to acquire the remote wake-up instruction, and the remote wake-up instruction is used to instruct the auxiliary control unit U400 to control the main control unit U100 to enter a normal working state.
  • the remote wake-up command may be sent by the user through the client and forwarded to the wireless transmission unit U500 via the wake-up server.
  • the wireless transmission unit U500 can maintain a long network connection with the wake-up server and wait to receive the remote wake-up instruction forwarded by the wake-up server.
  • the camera device further includes:
  • IR-CUT unit includes infrared cut filter (or infrared absorption filter) and full transmissive spectral filter, and placed at the front of the camera unit.
  • the IR-CUT unit is configured to control light of different wavelength bands to enter the camera unit.
  • the IR-CUT unit can be used in conjunction with an infrared fill light unit.
  • a human body infrared sensing (PIR) unit is used to monitor whether someone has passed or entered the monitoring area and sends the monitoring result to the power consumption control module U400.
  • the power consumption control module U400 is further configured to: after receiving the monitoring result sent by the PIR unit indicating that someone has passed or entered the monitoring area, or after receiving the wireless transmission unit U500 After the remote wake-up command, the control main control unit U100 switches from the power-off sleep state to the normal working state.
  • the camera unit U200, the fill light unit U300, the light intensity detecting unit, and the like are all turned off, and when the camera device is in a low power consumption state, the main control unit U100 is also in the default state.
  • the power-off sleep state only the auxiliary control unit U400, the PIR unit and the wireless transmission unit U500 are in a normal working state, and the wireless transmission unit U500 adopts a periodic sleep strategy in the low-power operation mode, so that the camera The device is able to significantly reduce its power consumption level overall.
  • the main control unit U100 may further include an encoding control unit U108;
  • the requirement obtaining unit U102 is further configured to: after the camera unit is activated, acquire usage requirement information of the video coding unit according to the work scenario information; use requirement information of the video coding unit is used to represent the video coding Whether the unit needs to be started;
  • the encoding control unit U108 is configured to control the video encoding unit to start in response to characterizing startup requirement information that the video encoding unit needs to be used.
  • the state obtaining unit U104 is further configured to: after the video encoding unit is started, acquire usage state information of the video encoding unit; use state information of the video encoding unit is used to indicate whether the video encoding unit is used. ;
  • the encoding control unit U108 is further configured to control the video encoding unit to be turned off when the usage status information of the video encoding unit is used to indicate that the video encoding unit is used.
  • the camera device provided by the embodiment of the invention can switch the power to the power-off sleep mode in time when the master control unit is idle, and reduce the unnecessary power loss caused by the master control unit in the idle state.
  • the power consumption loss of the imaging device is further reduced as a whole; and the wireless transmission unit in the imaging device of the embodiment is in the low power consumption mode of the imaging device.
  • the sleep state is correspondingly entered, and the working state is periodically switched to obtain remote data, which not only ensures the realization of the wireless communication function but further reduces the power consumption level of the wireless transmission unit.
  • the power consumption level of the camera device is lower than the power consumption level of the conventional technical solution by more than half, especially for the battery-powered camera device, and the battery life reaches the traditional technical solution. More than twice, the power control effect is significant.
  • the camera device of the present invention may be a smart cat's eye device or other network camera.
  • the image capturing device includes a processor and a memory, and the requesting main control unit U100, the image capturing unit U200, the light filling unit U300, the auxiliary control unit U400, the wireless transmission unit U500, the scene obtaining unit U101, and the demand acquiring unit U102 , imaging control unit U103, state acquisition unit U104, light intensity acquisition unit U105, fill light control unit U106, real-time transmission unit U107, coding control unit U108, dual filter switching (IR-CUT) unit, human body infrared sensing (PIR)
  • the units and the like are all stored in the memory as program units, and the above-described program units stored in the memory are executed by the processor to implement the corresponding functions.
  • the processor contains a kernel, and the kernel removes the corresponding program unit from the memory.
  • the kernel can be set to one or more, and the technical parameters of the current power consumption control scheme of the camera device are poorly solved by adjusting the kernel parameters.
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory (flash RAM), the memory including at least one Memory chip.
  • RAM random access memory
  • ROM read only memory
  • flash RAM flash memory
  • Embodiments of the present invention provide a storage medium on which a program is stored, and when the program is executed by a processor, the power consumption control method is implemented.
  • An embodiment of the present invention provides a processor, where the processor is configured to run a program, where the program is executed to execute the power consumption control method.
  • An embodiment of the present invention provides a device, including a processor, a memory, and a program stored on the memory and executable on the processor.
  • the processor implements the following steps when executing the program:
  • the work scene information includes information of a task that the camera device is starting or is performing;
  • the usage requirement information of the camera unit is used to indicate whether the camera unit needs to be used;
  • the camera unit is controlled to be activated in response to characterizing usage requirements information that the camera unit needs to be used.
  • the method further includes:
  • the usage state information of the camera unit is used to indicate whether the camera unit is used up;
  • the image capturing unit is controlled to be turned off.
  • the camera device further includes a light-filling unit; the light-filling unit is in a closed state after the camera device is activated; the method further includes:
  • the fill light unit When the ambient light intensity meets a preset fill light condition, the fill light unit is controlled to be activated.
  • the method further includes:
  • the usage state information of the camera unit is used to indicate whether the camera unit is used up;
  • the light filling unit is controlled to be turned off.
  • the method further includes:
  • the fill light unit is controlled to be turned on or off according to the ambient light intensity acquired again.
  • the camera device further includes a video encoding unit, and after the camera unit is started, the method further includes:
  • the use requirement information of the video coding unit is used to indicate whether the video coding unit needs to be activated;
  • the video encoding unit is controlled to be activated in response to characterizing boot request information that the video encoding unit needs to be used.
  • the method further includes:
  • the video coding unit is controlled to be turned off.
  • the camera device further includes a wireless transmission unit, the wireless transmission unit has a low power consumption mode; and the method further includes:
  • the wireless transmission unit enters a sleep state in the low power consumption mode
  • the wireless transmission unit After entering the sleep state, the wireless transmission unit periodically switches from the sleep state to the working state to acquire remote data;
  • the wireless transmission unit switches from the working state to the sleep state after acquiring the remote data.
  • the devices in this document can be servers, PCs, PADs, mobile phones, and the like.
  • the present application also provides a computer program product, when executed on a data processing device, adapted to perform a process of initializing the method steps as follows:
  • the work scene information includes information of a task that the camera device is starting or is performing;
  • the usage requirement information of the camera unit is used to indicate whether the camera unit needs to be used;
  • the camera unit is controlled to be activated in response to characterizing usage requirements information that the camera unit needs to be used.
  • the method further includes:
  • the usage state information of the camera unit is used to indicate whether the camera unit is used up;
  • the image capturing unit is controlled to be turned off.
  • the camera device further includes a light-filling unit; the light-filling unit is in a closed state after the camera device is activated; the method further includes:
  • the fill light unit When the ambient light intensity meets a preset fill light condition, the fill light unit is controlled to be activated.
  • the method further includes:
  • the usage state information of the camera unit is used to indicate whether the camera unit is used up;
  • the light filling unit is controlled to be turned off.
  • the method further includes:
  • the fill light unit is controlled to be turned on or off according to the ambient light intensity acquired again.
  • the camera device further includes a video encoding unit, and after the camera unit is started, the method further includes:
  • the use requirement information of the video coding unit is used to indicate whether the video coding unit needs to be activated;
  • the video encoding unit is controlled to be activated in response to characterizing boot request information that the video encoding unit needs to be used.
  • the method further includes:
  • the video coding unit is controlled to be turned off.
  • the camera device further includes a wireless transmission unit, the wireless transmission unit has a low power consumption mode; and the method further includes:
  • the wireless transmission unit enters a sleep state in the low power consumption mode
  • the wireless transmission unit After entering the sleep state, the wireless transmission unit periodically switches from the sleep state to the working state to acquire remote data;
  • the wireless transmission unit switches from the working state to the sleep state after acquiring the remote data.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer 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, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

本发明提供了功耗控制方法与摄像装置,摄像装置中的摄像单元在所述摄像装置启动后处于关闭状态。获取所述摄像装置的工作场景信息,根据所述工作场景信息,获取所述摄像单元的使用需求信息,当所述摄像单元的使用需求信息表征所述摄像单元需要被使用时,控制所述摄像单元启动。本发明使得摄像单元在被需要使用的工作场景下,予以启动,否则将继续保持原来的关闭状态,从而有效地避免了在不需要使用摄像单元的情况下启动摄像单元而造成不必要的功耗损失,进而降低了摄像装置的功耗水平,提高了功耗控制效果。

Description

功耗控制方法与摄像装置
本申请要求于2018年2月8日提交中国专利局、申请号为201810127984.8、发明名称为“功耗控制方法与摄像装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及自动控制领域,更具体的说,涉及功耗控制方法与摄像装置。
背景技术
智能猫眼是一种替代传统猫眼的家居安防产品,其实质为一种网络摄像机。为了满足业主的安全需求,网络摄像机需要每天24小时持续工作,功耗较高,尤其是采用电池供电方式的网络摄像机,其续航能力较差,进而影响用户体验。
网络摄像机(IPC,IP Camera)通常包括IPC主模块、摄像头、红外补光灯、功耗控制模块、人体红外感应(PIR)模块和WIFI模块等,其中,IPC主模块及相关外围设备为主要耗电部分。目前常采用的功耗控制方案是利用功耗控制模块将IPC主模块、摄像头与红外补光灯默认设置为休眠状态或断电状态,仅保持功耗控制模块、PIR模块和WIFI模块的正常工作,当PIR模块感应到有人出现、用户操作网络摄像机或WiFi模块接收到用户发起的远程唤醒请求时,功耗控制模块才会控制IPC主模块、摄像模块与红外补光模块进入正常工作模式,从而在一定程度上降低了网络摄像机的功耗水平。但是,当IPC主模块开始正常工作后,无论是否需要使用摄像头,摄像头都会一直保持在工作状态,IPC主模块的视频编码单元也一直处于工作状态,红外补光等也会在光线不足时一直保持在工作状态,直到功耗控制模块控制IPC主模块再次进入断电状态或休眠状态为止。由此可见,现有网络摄像机的功耗控制方案,仍会产生大量不必要的功率损耗,其功耗控制效果较差。
因此,目前迫切需要一种能够更加有效地降低摄像机功耗水平的技术方案。
发明内容
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的功耗控制方法与摄像装置。
为实现上述目的,本发明提供如下技术方案:
一种功耗控制方法,应用于摄像装置,所述摄像装置包括摄像单元;所述方法包括:
获取所述摄像装置的工作场景信息;所述工作场景信息包括所述摄像装置正在启动或正在执行的任务的信息;
根据所述工作场景信息,获取所述摄像单元的使用需求信息;所述摄像单元的使用需求信息用于表征所述摄像单元是否需要被使用;
响应于表征所述摄像单元需要被使用的使用需求信息,控制所述摄像单元启动。
优选的,在所述摄像单元启动之后,所述方法还包括:
获取所述摄像单元的使用状态信息;所述摄像单元的使用状态信息用于表征所述摄像单元是否使用完毕;
当所述摄像单元的使用状态信息表征所述摄像单元使用完毕时,控制所述摄像单元关闭。
优选的,所述摄像装置还包括补光单元;所述补光单元在所述摄像装置启动后处于关闭状态;所述方法还包括:
当所述摄像单元的使用需求信息表征所述摄像单元需要被使用时,获取环境光照强度;
当所述环境光照强度符合预设补光条件时,控制所述补光单元启动。
优选的,在所述补光单元启动之后,所述方法还包括:
获取所述摄像单元的使用状态信息;所述摄像单元的使用状态信息用于表征所述摄像单元是否使用完毕;
当所述摄像单元的使用状态信息表征所述摄像单元使用完毕时,控制所述补光单元关闭。
优选的,在所述摄像单元启动之后,所述方法还包括:
再次获取环境光照强度;
根据再次获取的环境光照强度,控制所述补光单元启动或关闭。
优选的,所述摄像装置还包括视频编码单元,在所述摄像单元启动之后,所述方法还包括:
根据所述工作场景信息,获取视频编码单元的使用需求信息;所述视频编码单元的使用需求信息用于表征所述视频编码单元是否需要被启动;
响应于表征所述视频编码单元需要被使用的启动需求信息,控制所述视频编码单元启动。
优选的,在所述视频编码单元启动之后,所述方法还包括:
获取所述视频编码单元的使用状态信息;所述视频编码单元的使用状态信息用于表征所述视频编码单元是否使用完毕;
当所述视频编码单元的使用状态信息表征所述视频编码单元使用完毕时,控制所述视频编码单元关闭。
优选的,所述摄像装置还包括无线传输单元,所述无线传输单元具有低功耗工作模式;所述方法还包括:
所述无线传输单元在所述低功耗工作模式下,进入休眠状态;
所述无线传输单元在进入所述休眠状态之后,定时从所述休眠状态切换至工作状态以获取远程数据;
所述无线传输单元在获取所述远程数据之后,从所述工作状态切换至所述休眠状态。
一种摄像装置,所述摄像装置包括主控单元与摄像单元;所述主控单元包括:
场景获取单元,用于获取所述摄像装置的工作场景信息;所述工作场景信息包括所述摄像装置正在启动或正在执行的任务的信息;
需求获取单元,用于根据所述工作场景信息,获取所述摄像单元的使用需求信息;所述摄像单元的使用需求信息用于表征所述摄像单元是否需要被使用;
摄像控制单元,用于响应于表征所述摄像单元需要被使用的使用需求信息,控制所述摄像单元启动。
优选的,所述主控单元还包括:
状态获取单元,用于在所述摄像单元启动之后,获取所述摄像单元的使用 状态信息;所述摄像单元的使用状态信息用于表征所述摄像单元是否使用完毕;
所述摄像控制单元,还用于当所述摄像单元的使用状态信息表征所述摄像单元使用完毕时,控制所述摄像单元关闭。
优选的,所述摄像装置还包括补光单元;所述补光单元在所述摄像装置启动后处于关闭状态;所述主控单元还包括:
光强获取单元,用于当所述摄像单元的使用需求信息表征所述摄像单元需要被使用时,获取环境光照强度;
补光控制单元,用于当所述环境光照强度符合预设补光条件时,控制所述补光单元启动。
优选的,所述主控单元还包括编码控制单元;
所述需求获取单元,还用于在所述摄像单元启动之后,根据所述工作场景信息,获取视频编码单元的使用需求信息;所述视频编码单元的使用需求信息用于表征所述视频编码单元是否需要被启动;
所述编码控制单元,用于响应于表征所述视频编码单元需要被使用的启动需求信息,控制所述视频编码单元启动。
优选的,所述摄像装置还包括:
辅助控制单元,用于获取所述主控单元的运行状态;当所述主控单元的运行状态为空闲状态时,控制所述主控单元进入断电休眠模式;其中,所述主控单元在所述断电休眠模式下停止工作。
优选的,所述摄像装置还包括无线传输单元,所述无线传输单元具有低功耗工作模式;所述无线传输单元,用于在所述低功耗工作模式下,进入休眠状态;在进入所述休眠状态之后,定时从所述休眠状态切换至工作状态以获取远程数据;在获取所述远程数据之后,从所述工作状态切换至所述休眠状态。
借由上述技术方案,本发明提供的功耗控制方法,应用于摄像装置,所述摄像装置中的摄像单元在所述摄像装置启动后处于关闭状态。获取所述摄像装置的工作场景信息,根据所述工作场景信息,获取所述摄像单元的使用需求信息,当所述摄像单元的使用需求信息表征所述摄像单元需要被使用时, 控制所述摄像单元启动,从而保证了摄像单元是在被需要使用的工作场景下才从关闭状态下启动,而在不需要被使用的工作场景下保持原关闭状态,进而有效地降低了摄像装置的功耗水平,提高了功耗控制效果。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1为本申请实施例提供的功耗控制方法的一种流程图;
图2为本申请实施例提供的功耗控制方法的另一种流程图;
图3为本申请实施例提供的功耗控制方法的又一种流程图;
图4为本申请实施例提供的功耗控制方法的再一种流程图;
图5为本申请实施例提供的摄像装置的一种结构示意图;
图6为本申请实施例提供的摄像装置的另一种结构示意图;
图7为本申请实施例提供的摄像装置的又一种结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
本发明提供的功耗控制方法,应用于摄像装置,所述摄像装置包括摄像单元。所述摄像单元在所述摄像装置启动后处于关闭状态、低功耗状态或休眠状态等等,该关闭状态、低功耗状态与休眠状态具体可以是用户预设的或系统预置的。所述关闭状态可以具体是指摄像单元处于断电状态,所述低功耗状态是 指摄像单元维持最基本功能或采用最低采样速率的工作状态,所述休眠状态是指摄像单元暂停工作的状态。本发明的功耗控制方法,采用了最小模块化的控制方式,以对摄像装置中单元模块分别进行控制。本发明的摄像装置可以是智能猫眼设备,也可以是室内、外网络摄像机,还可以是其他类型的摄像装置。
请参阅图1,图1为本申请实施例提供的功耗控制方法的一种流程图。
如图1所示,所述方法包括:
S101:获取所述摄像装置的工作场景信息;所述工作场景信息包括所述摄像装置正在启动或正在执行的任务信息。
根据摄像装置正在启动或正在执行的任务能够准确确定出摄像单元是否需要被使用,所以需要先对所述摄像装置正在启动或正在执行的任务的信息进行获取。其中,任务可以包括具体的指令,也可以包括具体的功能。例如,根据接收到的任务请求指令,获取任务请求指令中携带的任务信息(即为正在启动的任务信息),或者,监视正在运行的任务进程,根据任务进程获取与任务进程相对应的任务信息(即为正在执行的任务信息)。
S102:根据所述工作场景信息,获取所述摄像单元的使用需求信息;所述摄像单元的使用需求信息用于表征所述摄像单元是否需要被使用。
所述工作场景信息与所述摄像单元的使用需求信息之间具有对应关系。例如,摄像装置的历史录像上传任务、与服务器之间的信息同步任务、在线升级任务等,均与不需要使用到摄像单元的使用需求信息相对应;而摄像装置的摄像任务、实时视频显示任务等,均与需要使用到摄像单元的使用需求信息相对应。
在实际应用中,可以建立需求关系表,在需求关系表中记录至少一条工作场景信息与摄像单元的使用需求信息之间的对应关系。
一示例中,需求关系表是可以根据实际需要进行配置的,例如,增加、删除、修改需求关系表中工作场景信息与摄像单元的使用需求信息之间对应关系。
因此,根据所述摄像装置正在启动或正在执行的任务,能够准确地确定出所述摄像单元是否需要被使用,进而获取到用于表征所述摄像单元是否需要被使用的使用需求信息。
S103:响应于表征所述摄像单元需要被使用的使用需求信息,控制所述摄像单元启动。
在摄像装置上电并启动后,当用户仅需要摄像装置执行历史录像上传、信息同步等任务时,显然是不需要使用到摄像单元的,若摄像单元在摄像装置启动后即刻启动或一直处于工作状态,必然会造成不必要的功耗损失,所以本实施例中的摄像单元在摄像装置启动后默认是处于关闭状态的,只有在需要被使用时才会予以启动,从而避免了摄像单元在不需要被使用时处于工作状态而导致的功耗损失。
本实施例提供的功耗控制方法,应用于摄像装置,所述摄像装置中的摄像单元在摄像装置启动后默认处于关闭状态,获取摄像装置的工作场景信息,根据摄像装置的工作场景信息确定摄像单元是否需要被使用,当确定摄像单元需要被使用时,再控制所述摄像单元启动,当摄像单元不需要被使用时,则会保持关闭状态不变,从而避免了摄像单元在不需要被使用时处于工作状态而导致的功耗损失,有效降低了摄像装置的功耗水平,提高了功耗控制效果。
请参阅图2,图2为本申请实施例提供的功耗控制方法的另一种流程图。
如图2所示,所述方法包括:
S201:获取所述摄像装置的工作场景信息;所述工作场景信息包括所述摄像装置正在启动或正在执行的任务信息。
S202:根据所述工作场景信息,获取所述摄像单元的使用需求信息;所述摄像单元的使用需求信息用于表征所述摄像单元是否需要被使用。
S203:响应于表征所述摄像单元需要被使用的使用需求信息,控制所述摄像单元启动。
其中,步骤S201-S203与前述实施例中的步骤S101-S103相类似,具体可参见前述实施例,在此不再赘述。
S204:在所述摄像单元启动之后,获取所述摄像单元的使用状态信息。
所述使用状态信息用于表征所述摄像单元是否使用完毕。
在一示例中,仍可根据摄像装置的工作场景信息,获取摄像单元的使用状态信息。例如,在摄像单元启动之后,当没有任何正在启动或正在执行的任务需要使用摄像单元时,或者,没有任何任务正在启动或正在执行时,表示摄像 单元已经使用完毕,从而获得用于表征摄像单元使用完毕的使用状态信息;当有任何正在启动或正在执行的任务仍在使用摄像单元时,表示摄像单元未使用完毕,从而获得用于表征摄像单元未使用完毕的使用状态信息。
S205:当所述使用状态信息表征所述摄像单元使用完毕时,控制所述摄像单元关闭。
当摄像单元使用完毕时,及时控制所述摄像单元关闭,能够避免在摄像单元使用完毕后一直处于工作状态而造成不必要的功耗损失,从而在最大程度上保证摄像单元的有效使用,减少摄像装置的功耗损失。
本实施例提供的功耗控制方法,应用于摄像装置,在摄像单元启动之后,对摄像单元的使用状态信息进行获取,当摄像单元使用完毕时,及时关闭摄像单元,从而进一步提高了摄像单元功耗控制的准确性,进一步降低了摄像装置的功耗损失,提高了功耗控制效果。
请参阅图3,图3为本申请实施例提供的功耗控制方法的又一种流程图。
本实施例中摄像装置还包括补光单元;所述补光单元在所述摄像装置启动后也处于关闭状态。
如图3所示,所述方法包括:
S301:获取所述摄像装置的工作场景信息;所述工作场景信息包括所述摄像装置正在启动或正在执行的任务信息。
S302:根据所述工作场景信息,获取所述摄像单元的使用需求信息;所述摄像单元的使用需求信息用于表征所述摄像单元是否需要被使用。
该步骤S301-S302与前述实施例中的步骤S101-S102或S201-202相类似,具体可参见前述实施例,在此不再赘述。
S303:当所述摄像单元的使用需求信息表征所述摄像单元需要被使用时,获取环境光照强度。
当摄像单元的使用需求信息表征所述摄像单元需要被使用时,表明摄像单元会在当前环境下进行摄像,环境的光照强度会严重影响摄像效果,因此,需要在确定使用摄像单元后,获取环境光照强度,以确定是否需要开启补光单元进行补光。
当所述摄像单元的使用需求信息表征所述摄像单元不需要被使用时,摄像单元保持在关闭状态不予启动,也就不需要控制补光单元启动,进而也就不需要获取环境光照强度。
在一示例中,可以通过光敏电阻来检测环境光照强度,进而获取光敏电阻检测到的环境光照强度。当然,也可以采用其他类型的光强检测单元来检测环境光照强度,在此不做具体限定。
S304:当所述环境光照强度符合预设补光条件时,控制所述补光单元启动。
在传统方案中,摄像单元是随着摄像装置的启动而启动的,所以,只要环境光线不足时,便会启动补光单元进行补光,以保证摄像单元的摄像效果,而本发明的摄像单元是根据摄像装置的工作场景信息来控制的,若仅根据环境光照强度来控制补光单元的开启与关闭,必然会出现在不需要使用摄像单元工作时补光单元被开启的情况,进而导致补光单元出现不必要的功耗损失。
所以,本实施例中补光单元在摄像装置启动后默认也是处于关闭状态的,而且,必须当摄像单元需要被使用且环境光照强度符合预设补光条件时,才会控制补光单元启动,而并不是在摄像装置启动后直接启动,也并不是仅仅在环境光照强度符合预设补光条件时启动,从而避免了在不需要使用摄像单元时补光单元的不必要启动,进而避免了补光单元不必要的启动所造成的不必要的功耗损失。
当摄像单元不需要被使用或环境光照强度不符合预设补光条件时,补光单元保持在原来的关闭状态。
在一示例中,预设补光条件可以是环境光照强度小于光强阈值,也可以是环境光照强度不大于光强阈值,还可以是其他用户预设的补光条件(如,判断是否为夜间)。
其中,补光单元可以是红外补光单元,也可以是其他类型的补光单元,在此不做具体限定。
S305:响应于表征所述摄像单元需要被使用的使用需求信息,控制所述摄像单元启动。
其中,该步骤S305可在步骤S302之后执行,也可以在步骤S304之后执行,还可以在确定所述环境光照强度不符合预设补光条件时予以执行。
该步骤S305的具体内容与前述实施例中的步骤S103或S203相类似,具体可参见前述实施例,在此不再赘述。
S306:在所述补光单元启动之后,获取所述摄像单元的使用状态信息。
所述使用状态信息用于表征所述摄像单元是否使用完毕。
S307:当所述使用状态信息表征所述摄像单元使用完毕时,控制所述补光单元关闭。
当摄像单元使用完毕时,及时控制所述补光单元关闭,能够避免在补光单元使用完毕后一直处于工作状态而造成不必要的功耗损失,从而在最大程度上保证补光单元的有效使用,减少摄像装置的功耗损失。
本实施例在步骤S305之后还可以包括前述实施例中的步骤S204-S205,进而当摄像单元使用完毕时,控制所述补光单元与摄像单元及时关闭,能够从最大程度上保证补光单元与摄像单元的有效使用,避免不必要的功耗损失,降低摄像装置的整体功耗水平。
本实施例提供的功耗控制方法,当确定摄像单元需要被使用时,再确定所述环境光照强度是否符合预设补光条件,当所述环境光照强度符合预设补光条件时,控制所述补光单元启动,保证了补光单元在摄像单元需要被使用且环境光照强度符合预设补光条件时才在关闭状态下启动,提高了补光单元启动控制的准确性,进而提高了功耗控制的准确性;并且,在补光单元启动后,对摄像单元的使用状态信息进行获取,当摄像单元使用完毕时,及时关闭补光单元,进一步保证了补光单元的准确控制,避免了不必要的功耗损失,提高了功耗控制效果。
请参阅图4,图4为本申请实施例提供的功耗控制方法的再一种流程图。
如图4所示,所述方法包括:
S101:获取所述摄像装置的工作场景信息;述工作场景信息包括所述摄像装置正在启动或正在执行的任务信息。
S402:根据所述工作场景信息,获取所述摄像单元的使用需求信息;所述摄像单元的使用需求信息用于表征所述摄像单元是否需要被使用。
S403:当所述摄像单元的使用需求信息表征所述摄像单元需要被使用时,获取环境光照强度。
S404:当所述环境光照强度符合预设补光条件时,控制所述补光单元启动。
S405:响应于表征所述摄像单元需要被使用的使用需求信息,控制所述摄像单元启动。
其中,步骤S401-S405与前述实施例中的步骤S301-S305相类似,具体可参见前述实施例,在此不再赘述。
S406:在所述摄像单元启动之后,再次获取环境光照强度。
在摄像单元启动之后,环境光照强度可能会发生变化,若一直开启着补光单元,必然会导致不必要的功耗损失,所以,在摄像单元启动之后,可以再次获取环境光照强度。具体地,再次获取环境光照强度时,可以采取周期性的获取方式,也可以采取实时获取方式。然而,相对于实时获取方式,显然周期性获取方式的功耗更低。
S407:根据再次获取的环境光照强度,控制所述补光单元启动或关闭。
具体地,当补光单元已被开启且再次获取的环境光照强度不符合预设补光条件时,控制补光单元关闭,从而在摄像单元的使用过程中,从最大程度上保证补光单元的有效使用,避免了不必要的功耗损失。
相应地,当补光单元未被开启且再次获取的环境光照强度符合预设补光条件时,控制补光单元启动,以保证摄像效果。当补光单元未被开启且再次获取的环境光照强度不符合预设补光条件时,或者,当补光单元已被开启且再次获取的环境光照强度符合预设补光条件时,保持补光单元的现有状态不变。
本实施例还可以在步骤S405后包括前述实施例中的步骤S204-S205与S306-S307,具体内容可参见前述实施例。
本实施例提供的功耗控制方法,在摄像单元启动之后,根据再次获取的环境光照强度,控制所述补光单元启动或关闭,进而在摄像单元的使用过程中,从最大程度上保证补光单元的有效使用,进一步避免了补光单元在摄像单元使用过程中可能导致的不必要的功耗损失,提高了功耗控制效果。
在本申请的其他实施例中,摄像装置还包括视频编码单元,视频编码单元可以包括硬件编码器和/或软件编码器。在所述摄像单元启动之后,所述功耗控制方法还可以包括:
A1)、根据所述工作场景信息,获取视频编码单元的使用需求信息;所述 视频编码单元的使用需求信息用于表征所述视频编码单元是否需要被启动;
A2)、响应于表征所述视频编码单元需要被使用的启动需求信息,控制所述视频编码单元启动。
在所述视频编码单元启动之后,所述方法还可以包括:
B1)、获取所述视频编码单元的使用状态信息;所述视频编码单元的使用状态信息用于表征所述视频编码单元是否使用完毕;
B2)、当所述视频编码单元的使用状态信息表征所述视频编码单元使用完毕时,控制所述视频编码单元关闭。
在该示例中,在摄像单元启动后,还根据摄像装置的工作场景信息进一步判断是否需要启动视频编码单元,进一步实现了最小模块化的低功耗控制。
在实际应用中,可以再另外建立一个需求关系表,用于记录至少一条工作场景信息与视频编码单元的使用需求信息之间的对应关系。对于该需求关系表同样可以根据实际需要进行配置,例如,增加、删除、修改该需求关系表中工作场景信息与视频编码单元的使用需求信息之间对应关系。
一示例中,所述摄像装置还包括无线传输单元,所述无线传输单元具有低功耗工作模式;所述功耗控制方法还包括:
C1)、所述无线传输单元在所述低功耗工作模式下,进入休眠状态;
C2)、所述无线传输单元在进入所述休眠状态之后,定时从所述休眠状态切换至工作状态以获取远程数据;
C3)、所述无线传输单元在获取所述远程数据之后,从所述工作状态切换至所述休眠状态。
其中,定时方式可采用配置休眠周期的方式来实现,例如,配置休眠800毫秒后自动切换至工作状态,并与路由器交换完数据后,再次切换至休眠状态,如此循环。
一示例中,所述远程数据具体为远程唤醒指令。所述无线传输单元,具体用于获取所述远程唤醒指令。其中,远程唤醒指令可以是由用户通过客户端发出并经由唤醒服务器转发至无线传输单元的。
其中,无线传输单元可以与唤醒服务器保持一个网络长连接,等待接收由唤醒服务器转发来的远程唤醒指令。
另一示例中,所述功耗控制方法除了包括以上实施例的步骤外,还可以包括:
在摄像内容的录制过程中,将已录制内容实时传送至云录像服务器。
摄像内容的录制与录制内容的上传,都需要摄像装置的主控单元来执行,传统的技术方案,摄像内容的录制与录制内容的上传是分别独立执行的,也就是说,主控单元需要分别花费时间去执行摄像内容的录制与录制内容的上传,使得主控单元长时间处于工作状态,功耗损失较大。
本实施例提供的功耗控制方法,通过在摄像内容的录制过程中,将已录制内容实时传送至云录像服务器,实现了摄像内容的边录边传过程,两者几乎是同时进行的,大幅缩短了摄像装置中主控单元的工作时长,降低了主控单元的功耗损失。在实际应用中,本实施例提供的边录边传的工作方式相比传统的先录后传的工作方式,能将主控单元的工作时长缩短将近一半,提高了功耗控制效果。
对应于前述实施例提供的功耗控制方法,本发明实施例还提供了相应的摄像装置,具体技术内容可参考前述实施例提供的功耗控制方法。
请参阅图5,图5为本申请实施例提供的摄像装置的一种结构示意图。
本实施例的摄像装置,用于实施前述实施例的功耗控制方法,如图5所示,所述装置包括:主控单元U100与摄像单元U200。所述摄像单元U200在所述低功耗工作模式下处于关闭状态。
所述主控单元U100包括:
场景获取单元U101,用于获取所述摄像装置的工作场景信息,所述工作场景信息包括所述摄像装置正在启动或正在执行的任务信息。
需求获取单元U102,用于根据所述工作场景信息,获取所述摄像单元的使用需求信息,所述摄像单元的使用需求信息用于表征所述摄像单元是否需要被使用。
摄像控制单元U103,用于响应于表征所述摄像单元需要被使用的使用需求信息,控制所述摄像单元启动。
当所述摄像单元的使用需求信息表征所述摄像单元不需要被使用时,摄像装置可以执行与摄像单元无关的任务。
其中,主控单元U100可以采用传统摄像系统中的IPC主模块来实现,也可以采用新的模块单元来实现。
本实施例提供的摄像装置,摄像单元处于关闭状态,首先获取摄像装置的工作场景信息,根据摄像装置的工作场景信息确定摄像单元是否需要被使用,当确定摄像单元需要被使用时,再控制所述摄像单元启动,当摄像单元不需要被使用时,则会保持关闭状态不变,从而实现了针对摄像单元的最小模块化的功耗控制避免了摄像单元不必要的功耗损失,进而有效降低了摄像装置的功耗水平,提高了功耗控制效果。
请参阅图6,图6为本申请实施例提供的摄像装置的另一种结构示意图。
如图6所示,本实施例的摄像装置,包括前述实施例中的主控单元U100与摄像单元U200,所述主控单元U100还包括:
状态获取单元U104,用于在所述摄像单元启动之后,获取所述摄像单元的使用状态信息,所述使用状态信息用于表征所述摄像单元是否使用完毕。
所述摄像控制单元U103,还用于当所述使用状态信息表征所述摄像单元使用完毕时,控制所述摄像单元关闭。
在一示例中,所述摄像装置还包括补光单元U300。所述补光单元U300在所述低功耗工作模式下处于关闭状态。在该示例中,所述主控单元U100还包括:
光强获取单元U105,用于当所述摄像单元的使用需求信息表征所述摄像单元需要被使用时,获取环境光照强度。
在一示例中,可以通过光敏电阻来检测环境光照强度,进而获取光敏电阻检测到的环境光照强度。当然,也可以采用其他类型的光强检测单元来检测环境光照强度,在此不做具体限定。
补光控制单元U106,用于当所述环境光照强度符合预设补光条件时,控制所述补光单元启动。
其中,补光单元可以是红外补光单元,也可以是其他类型的补光单元,在此不做具体限定。
在一示例中,所述状态获取单元U104,还用于在所述补光单元启动之后,获取所述摄像单元的使用状态信息,所述使用状态信息用于表征所述摄像单元 是否使用完毕。
在该示例中,所述补光控制单元U106,还用于当所述使用状态信息表征所述摄像单元使用完毕时,控制所述补光单元关闭。
在另一示例中,所述光强获取单元U105,还用于在所述摄像单元启动之后,再次获取环境光照强度。
在该示例中,所述补光控制单元U106,还用于根据再次获取的环境光照强度,控制所述补光单元启动或关闭。
在又一示例中,所述主控单元U100还包括:
实时传送单元U107,用于在摄像内容的录制过程中,将已录制内容实时传送至云录像服务器。
所述主控单元U100在空闲状态时会进入断电休眠状态以降低功耗,而实时传送单元U107在摄像内容的录制过程中,将已录制内容实时传送至云录像服务器,大幅缩短了主控单元U100的工作时长,延长了主控单元U100处于空闲状态的时间,进而延长了主控单元U100处于断电休眠状态的时间,降低了摄像装置的功耗水平。
本实施例提供的摄像装置,当确定摄像单元需要被使用时,再确定所述环境光照强度是否符合预设补光条件,当所述环境光照强度符合预设补光条件时,控制所述补光单元启动,保证了补光单元在摄像单元需要被使用且环境光照强度符合预设补光条件时才在关闭状态下启动,提高了补光单元启动控制的准确性,进而提高了功耗控制的准确性;在摄像单元启动之后,根据再次获取的环境光照强度,控制所述补光单元启动或关闭;并对摄像单元的使用状态信息进行获取,当摄像单元使用完毕时,及时关闭摄像单元;若在之前也开启了补光单元,则在摄像单元使用完毕时,同样及时关闭补光单元;进而保证了摄像单元与补光单元的准确控制,避免了摄像单元与补光单元可能导致的不必要的功耗损失,提高了功耗控制效果。
请参阅图7,图7为本申请实施例提供的摄像装置的又一种结构示意图。
如图7所示,本实施例的摄像装置,除了包括前述实施例中的主控单元U100、摄像单元U200与补光单元U300之外,还包括:
辅助控制单元U400,用于获取所述主控单元U100的运行状态;当所述 主控单元U100的运行状态为空闲状态时,控制所述主控单元U100进入断电休眠模式。
其中,所述主控单元U100在所述断电休眠模式下停止工作。
在一示例中,所述摄像装置具有低功耗工作模式,摄像装置还包括:
无线传输单元U500,用于在所述低功耗工作模式下,进入休眠状态;在进入所述休眠状态之后,定时从所述休眠状态切换至工作状态以获取远程数据;在获取所述远程数据之后,从所述工作状态切换至所述休眠状态。
其中,定时方式可采用配置休眠周期的方式来实现,例如,配置休眠800毫秒后自动切换至工作状态,并与路由器交换完数据后,再次切换至休眠状态,如此循环。
在一示例中,所述远程数据具体为远程唤醒指令。所述无线传输单元U500,具体用于获取所述远程唤醒指令,所述远程唤醒指令用于指示辅助控制单元U400控制主控单元U100进入正常工作状态。其中,远程唤醒指令可以是由用户通过客户端发出并经由唤醒服务器转发至无线传输单元U500的。
其中,无线传输单元U500可以与唤醒服务器保持一个网络长连接,等待接收由唤醒服务器转发来的远程唤醒指令。
在其他示例中,摄像装置还包括:
双滤光片切换(IR-CUT)单元,IR-CUT单元包括红外截止滤光片(或红外吸收滤光片)和全透光谱滤光片,并置于摄像单元前端。
所述IR-CUT单元,用于控制不同波段的光线进入摄像单元。
例如,当光强不符合预设补光条件时,切换到红外截止滤光片,过滤掉红外光,只让可见光进入;当光强符合预设补光条件时,切换到全透光滤光片,让红外光进入摄像头传感器。所述IR-CUT单元可与红外补光单元相互配合使用。
人体红外感应(PIR)单元,用于监测是否有人经过或进入监测区域,并将监测结果发送至功耗控制模块U400。
当主控单元U100处于断电休眠状态时,功耗控制模块U400,还用于在接收到PIR单元发送的表明有人经过或进入监测区域的监测结果后,或者,在接收到无线传输单元U500发送的远程唤醒指令后,控制主控单元U100从断 电休眠状态切换至正常工作状态。
在实际应用中,摄像装置在启动后,摄像单元U200、补光单元U300、光强检测单元等均处于关闭状态,并且,在摄像装置处于低功耗工作状态时,主控单元U100也默认处于断电休眠状态,此时仅保留辅助控制单元U400、PIR单元与无线传输单元U500处于正常工作状态,并且,无线传输单元U500在所述低功耗工作模式下采用周期性的休眠策略,使得摄像装置能够在总体上大幅降低其功耗水平。
在一示例中,所述主控单元U100还可以包括编码控制单元U108;
所述需求获取单元U102,还用于在所述摄像单元启动之后,根据所述工作场景信息,获取视频编码单元的使用需求信息;所述视频编码单元的使用需求信息用于表征所述视频编码单元是否需要被启动;
所述编码控制单元U108,用于响应于表征所述视频编码单元需要被使用的启动需求信息,控制所述视频编码单元启动。
所述状态获取单元U104,还用于在所述视频编码单元启动之后,获取所述视频编码单元的使用状态信息;所述视频编码单元的使用状态信息用于表征所述视频编码单元是否使用完毕;
所述编码控制单元U108,还用于当所述视频编码单元的使用状态信息表征所述视频编码单元使用完毕时,控制所述视频编码单元关闭。
本发明实施例提供的摄像装置,通过辅助控制单元,能够在主控单元空闲时,及时将其切换至断电休眠模式,降低主控单元在空闲状态时可能导致的不必要的功耗损失,与主控单元在工作状态时的功耗控制过程相配合,从总体上进一步降低了摄像装置的功耗损失;并且,本实施例摄像装置中的无线传输单元,在摄像装置的低功耗模式下,相应地进入休眠状态,并周期性的切换至工作状态以获取远程数据,既保证了无线通信功能的实现又进一步降低了无线传输单元的功耗水平。
在实际应用中,采用本发明的功耗控制方法,摄像装置的功耗水平要比传统技术方案的功耗水平低一半以上,尤其是对于电池供电的摄像装置,续航时间达到了传统技术方案的两倍以上,功耗控制的效果显著。本发明的摄像装置可以是智能猫眼设备,也可以是其他网络摄像机。
本发明实施例提供的摄像装置,包括处理器和存储器,上述请求主控单元U100、摄像单元U200、补光单元U300、辅助控制单元U400、无线传输单元U500、场景获取单元U101、需求获取单元U102、摄像控制单元U103、状态获取单元U104、光强获取单元U105、补光控制单元U106、实时传送单元U107、编码控制单元U108、双滤光片切换(IR-CUT)单元、人体红外感应(PIR)单元等均作为程序单元存储在存储器中,由处理器执行存储在存储器中的上述程序单元来实现相应的功能。
处理器中包含内核,由内核去存储器中调取相应的程序单元。内核可以设置一个或以上,通过调整内核参数来解决目前摄像装置的功耗控制方案效果较差的技术问题。
存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM),存储器包括至少一个存储芯片。
本发明实施例提供了一种存储介质,其上存储有程序,该程序被处理器执行时实现所述功耗控制方法。
本发明实施例提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行所述功耗控制方法。
本发明实施例提供了一种设备,设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序,处理器执行程序时实现以下步骤:
获取所述摄像装置的工作场景信息;所述工作场景信息包括所述摄像装置正在启动或正在执行的任务的信息;
根据所述工作场景信息,获取所述摄像单元的使用需求信息;所述摄像单元的使用需求信息用于表征所述摄像单元是否需要被使用;
响应于表征所述摄像单元需要被使用的使用需求信息,控制所述摄像单元启动。
优选的,在所述摄像单元启动之后,所述方法还包括:
获取所述摄像单元的使用状态信息;所述摄像单元的使用状态信息用于表征所述摄像单元是否使用完毕;
当所述摄像单元的使用状态信息表征所述摄像单元使用完毕时,控制所述 摄像单元关闭。
优选的,所述摄像装置还包括补光单元;所述补光单元在所述摄像装置启动后处于关闭状态;所述方法还包括:
当所述摄像单元的使用需求信息表征所述摄像单元需要被使用时,获取环境光照强度;
当所述环境光照强度符合预设补光条件时,控制所述补光单元启动。
优选的,在所述补光单元启动之后,所述方法还包括:
获取所述摄像单元的使用状态信息;所述摄像单元的使用状态信息用于表征所述摄像单元是否使用完毕;
当所述摄像单元的使用状态信息表征所述摄像单元使用完毕时,控制所述补光单元关闭。
优选的,在所述摄像单元启动之后,所述方法还包括:
再次获取环境光照强度;
根据再次获取的环境光照强度,控制所述补光单元启动或关闭。
优选的,所述摄像装置还包括视频编码单元,在所述摄像单元启动之后,所述方法还包括:
根据所述工作场景信息,获取视频编码单元的使用需求信息;所述视频编码单元的使用需求信息用于表征所述视频编码单元是否需要被启动;
响应于表征所述视频编码单元需要被使用的启动需求信息,控制所述视频编码单元启动。
优选的,在所述视频编码单元启动之后,所述方法还包括:
获取所述视频编码单元的使用状态信息;所述视频编码单元的使用状态信息用于表征所述视频编码单元是否使用完毕;
当所述视频编码单元的使用状态信息表征所述视频编码单元使用完毕时,控制所述视频编码单元关闭。
优选的,所述摄像装置还包括无线传输单元,所述无线传输单元具有低功耗工作模式;所述方法还包括:
所述无线传输单元在所述低功耗工作模式下,进入休眠状态;
所述无线传输单元在进入所述休眠状态之后,定时从所述休眠状态切换至 工作状态以获取远程数据;
所述无线传输单元在获取所述远程数据之后,从所述工作状态切换至所述休眠状态。
本文中的设备可以是服务器、PC、PAD、手机等。
本申请还提供了一种计算机程序产品,当在数据处理设备上执行时,适于执行初始化有如下方法步骤的程序:
获取所述摄像装置的工作场景信息;所述工作场景信息包括所述摄像装置正在启动或正在执行的任务的信息;
根据所述工作场景信息,获取所述摄像单元的使用需求信息;所述摄像单元的使用需求信息用于表征所述摄像单元是否需要被使用;
响应于表征所述摄像单元需要被使用的使用需求信息,控制所述摄像单元启动。
优选的,在所述摄像单元启动之后,所述方法还包括:
获取所述摄像单元的使用状态信息;所述摄像单元的使用状态信息用于表征所述摄像单元是否使用完毕;
当所述摄像单元的使用状态信息表征所述摄像单元使用完毕时,控制所述摄像单元关闭。
优选的,所述摄像装置还包括补光单元;所述补光单元在所述摄像装置启动后处于关闭状态;所述方法还包括:
当所述摄像单元的使用需求信息表征所述摄像单元需要被使用时,获取环境光照强度;
当所述环境光照强度符合预设补光条件时,控制所述补光单元启动。
优选的,在所述补光单元启动之后,所述方法还包括:
获取所述摄像单元的使用状态信息;所述摄像单元的使用状态信息用于表征所述摄像单元是否使用完毕;
当所述摄像单元的使用状态信息表征所述摄像单元使用完毕时,控制所述补光单元关闭。
优选的,在所述摄像单元启动之后,所述方法还包括:
再次获取环境光照强度;
根据再次获取的环境光照强度,控制所述补光单元启动或关闭。
优选的,所述摄像装置还包括视频编码单元,在所述摄像单元启动之后,所述方法还包括:
根据所述工作场景信息,获取视频编码单元的使用需求信息;所述视频编码单元的使用需求信息用于表征所述视频编码单元是否需要被启动;
响应于表征所述视频编码单元需要被使用的启动需求信息,控制所述视频编码单元启动。
优选的,在所述视频编码单元启动之后,所述方法还包括:
获取所述视频编码单元的使用状态信息;所述视频编码单元的使用状态信息用于表征所述视频编码单元是否使用完毕;
当所述视频编码单元的使用状态信息表征所述视频编码单元使用完毕时,控制所述视频编码单元关闭。
优选的,所述摄像装置还包括无线传输单元,所述无线传输单元具有低功耗工作模式;所述方法还包括:
所述无线传输单元在所述低功耗工作模式下,进入休眠状态;
所述无线传输单元在进入所述休眠状态之后,定时从所述休眠状态切换至工作状态以获取远程数据;
所述无线传输单元在获取所述远程数据之后,从所述工作状态切换至所述休眠状态。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算 机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括 一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。
本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
以上仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。

Claims (14)

  1. 一种功耗控制方法,其中,应用于摄像装置,所述摄像装置包括摄像单元;所述方法包括:
    获取所述摄像装置的工作场景信息;所述工作场景信息包括所述摄像装置正在启动或正在执行的任务的信息;
    根据所述工作场景信息,获取所述摄像单元的使用需求信息;所述摄像单元的使用需求信息用于表征所述摄像单元是否需要被使用;
    响应于表征所述摄像单元需要被使用的使用需求信息,控制所述摄像单元启动。
  2. 如权利要求1所述的方法,其中,在所述摄像单元启动之后,所述方法还包括:
    获取所述摄像单元的使用状态信息;所述摄像单元的使用状态信息用于表征所述摄像单元是否使用完毕;
    当所述摄像单元的使用状态信息表征所述摄像单元使用完毕时,控制所述摄像单元关闭。
  3. 如权利要求1所述的方法,其中,所述摄像装置还包括补光单元;所述补光单元在所述摄像装置启动后处于关闭状态;所述方法还包括:
    当所述摄像单元的使用需求信息表征所述摄像单元需要被使用时,获取环境光照强度;
    当所述环境光照强度符合预设补光条件时,控制所述补光单元启动。
  4. 如权利要求3所述的方法,其中,在所述补光单元启动之后,所述方法还包括:
    获取所述摄像单元的使用状态信息;所述摄像单元的使用状态信息用于表征所述摄像单元是否使用完毕;
    当所述摄像单元的使用状态信息表征所述摄像单元使用完毕时,控制所述补光单元关闭。
  5. 如权利要求3所述的方法,其中,在所述摄像单元启动之后,所述方法还包括:
    再次获取环境光照强度;
    根据再次获取的环境光照强度,控制所述补光单元启动或关闭。
  6. 如权利要求1所述的方法,其中,所述摄像装置还包括视频编码单元,在所述摄像单元启动之后,所述方法还包括:
    根据所述工作场景信息,获取视频编码单元的使用需求信息;所述视频编码单元的使用需求信息用于表征所述视频编码单元是否需要被启动;
    响应于表征所述视频编码单元需要被使用的启动需求信息,控制所述视频编码单元启动。
  7. 如权利要求6所述的方法,其中,在所述视频编码单元启动之后,所述方法还包括:
    获取所述视频编码单元的使用状态信息;所述视频编码单元的使用状态信息用于表征所述视频编码单元是否使用完毕;
    当所述视频编码单元的使用状态信息表征所述视频编码单元使用完毕时,控制所述视频编码单元关闭。
  8. 如权利要求1所述的方法,其中,所述摄像装置还包括无线传输单元,所述无线传输单元具有低功耗工作模式;所述方法还包括:
    所述无线传输单元在所述低功耗工作模式下,进入休眠状态;
    所述无线传输单元在进入所述休眠状态之后,定时从所述休眠状态切换至工作状态以获取远程数据;
    所述无线传输单元在获取所述远程数据之后,从所述工作状态切换至所述休眠状态。
  9. 一种摄像装置,其中,所述摄像装置包括主控单元与摄像单元;所述主控单元包括:
    场景获取单元,用于获取所述摄像装置的工作场景信息;所述工作场景信息包括所述摄像装置正在启动或正在执行的任务的信息;
    需求获取单元,用于根据所述工作场景信息,获取所述摄像单元的使用需求信息;所述摄像单元的使用需求信息用于表征所述摄像单元是否需要被使用;
    摄像控制单元,用于响应于表征所述摄像单元需要被使用的使用需求信息,控制所述摄像单元启动。
  10. 如权利要求9所述的摄像装置,其中,所述主控单元还包括:
    状态获取单元,用于在所述摄像单元启动之后,获取所述摄像单元的使用状态信息;所述摄像单元的使用状态信息用于表征所述摄像单元是否使用完毕;
    所述摄像控制单元,还用于当所述摄像单元的使用状态信息表征所述摄像单元使用完毕时,控制所述摄像单元关闭。
  11. 如权利要求10所述的摄像装置,其中,所述摄像装置还包括补光单元;所述补光单元在所述摄像装置启动后处于关闭状态;所述主控单元还包括:
    光强获取单元,用于当所述摄像单元的使用需求信息表征所述摄像单元需要被使用时,获取环境光照强度;
    补光控制单元,用于当所述环境光照强度符合预设补光条件时,控制所述补光单元启动。
  12. 如权利要求9所述的摄像装置,其中,所述主控单元还包括编码控制单元;
    所述需求获取单元,还用于在所述摄像单元启动之后,根据所述工作场景信息,获取视频编码单元的使用需求信息;所述视频编码单元的使用需求信息用于表征所述视频编码单元是否需要被启动;
    所述编码控制单元,用于响应于表征所述视频编码单元需要被使用的启动需求信息,控制所述视频编码单元启动。
  13. 如权利要求9所述的摄像装置,其中,所述摄像装置还包括:
    辅助控制单元,用于获取所述主控单元的运行状态;当所述主控单元的运行状态为空闲状态时,控制所述主控单元进入断电休眠模式;其中,所述主控单元在所述断电休眠模式下停止工作。
  14. 如权利要求13所述的摄像装置,其中,所述摄像装置还包括无线传输单元,所述无线传输单元具有低功耗工作模式;
    所述无线传输单元,用于在所述低功耗工作模式下,进入休眠状态;在进入所述休眠状态之后,定时从所述休眠状态切换至工作状态以获取远程数据;在获取所述远程数据之后,从所述工作状态切换至所述休眠状态。
PCT/CN2019/074070 2018-02-08 2019-01-31 功耗控制方法与摄像装置 WO2019154241A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810127984.8A CN108156388B (zh) 2018-02-08 2018-02-08 功耗控制方法与摄像装置
CN201810127984.8 2018-02-08

Publications (1)

Publication Number Publication Date
WO2019154241A1 true WO2019154241A1 (zh) 2019-08-15

Family

ID=62459867

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/074070 WO2019154241A1 (zh) 2018-02-08 2019-01-31 功耗控制方法与摄像装置

Country Status (2)

Country Link
CN (1) CN108156388B (zh)
WO (1) WO2019154241A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114339043A (zh) * 2021-12-29 2022-04-12 上海布鲁可积木科技有限公司 玩具摄像头功耗降低方法、系统、介质及玩具
CN114339043B (zh) * 2021-12-29 2024-05-31 上海布鲁可积木科技有限公司 玩具摄像头功耗降低方法、系统、介质及玩具摄像头

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156388B (zh) * 2018-02-08 2020-06-19 云丁网络技术(北京)有限公司 功耗控制方法与摄像装置
CN108924414B (zh) * 2018-06-27 2019-12-10 维沃移动通信有限公司 一种拍摄方法及终端设备
CN109327650A (zh) * 2018-09-13 2019-02-12 广东美的制冷设备有限公司 家电设备、家电设备的控制方法及存储介质
CN109283850B (zh) * 2018-09-13 2021-08-13 广东美的制冷设备有限公司 家电设备、家电设备的控制方法及存储介质
CN112039202A (zh) * 2020-08-21 2020-12-04 深圳供电局有限公司 一种基于摄像技术的电网故障信息远传系统及方法
CN115242975B (zh) * 2022-07-19 2023-06-16 深圳市大云智联科技有限公司 一种监控方法、装置、监控设备及存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110157460A1 (en) * 2009-12-30 2011-06-30 Samsung Electronics Co., Ltd. Method and apparatus for driving camera
CN102377989A (zh) * 2011-10-12 2012-03-14 广东志成冠军集团有限公司 一种基于区端网络的无线监控摄像装置
CN103069789A (zh) * 2010-04-22 2013-04-24 Nec卡西欧移动通信株式会社 图像捕获设备、图像捕获方法以及程序
CN103957363A (zh) * 2014-05-16 2014-07-30 深圳市中兴移动通信有限公司 闪光拍摄方法和拍摄装置
CN105979139A (zh) * 2016-05-31 2016-09-28 深圳埃蒙克斯科技有限公司 一种移动终端及其拍照方法
US20170353699A1 (en) * 2016-06-01 2017-12-07 Pixart Imaging Inc. Surveillance system and operation method thereof
CN108156388A (zh) * 2018-02-08 2018-06-12 云丁网络技术(北京)有限公司 功耗控制方法与摄像装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4289387B2 (ja) * 2006-12-08 2009-07-01 ソニー株式会社 撮像装置、画像記録再生装置、および撮像装置の電源制御方法
CN101247515A (zh) * 2008-03-17 2008-08-20 清华大学 一种用于家庭安防的无线低功耗远程监控摄像装置
KR101920020B1 (ko) * 2012-08-07 2019-02-11 삼성전자 주식회사 단말기 상태 전환 제어 방법 및 이를 지원하는 단말기
CN104811595A (zh) * 2015-04-08 2015-07-29 合肥君正科技有限公司 一种网络监控摄像机及其工作方法
US9749528B1 (en) * 2015-06-11 2017-08-29 Ambarella, Inc. Multi-stage wakeup battery-powered IP camera
CN105516686B (zh) * 2016-01-14 2019-04-16 深圳市华海技术有限公司 省电摄像装置、智能猫眼及网络摄像头
CN105847680B (zh) * 2016-03-28 2017-09-15 维沃移动通信有限公司 一种摄像头功耗控制方法及移动终端
CN106027916A (zh) * 2016-07-18 2016-10-12 广东欧珀移动通信有限公司 一种补光拍照方法及终端

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110157460A1 (en) * 2009-12-30 2011-06-30 Samsung Electronics Co., Ltd. Method and apparatus for driving camera
CN103069789A (zh) * 2010-04-22 2013-04-24 Nec卡西欧移动通信株式会社 图像捕获设备、图像捕获方法以及程序
CN102377989A (zh) * 2011-10-12 2012-03-14 广东志成冠军集团有限公司 一种基于区端网络的无线监控摄像装置
CN103957363A (zh) * 2014-05-16 2014-07-30 深圳市中兴移动通信有限公司 闪光拍摄方法和拍摄装置
CN105979139A (zh) * 2016-05-31 2016-09-28 深圳埃蒙克斯科技有限公司 一种移动终端及其拍照方法
US20170353699A1 (en) * 2016-06-01 2017-12-07 Pixart Imaging Inc. Surveillance system and operation method thereof
CN108156388A (zh) * 2018-02-08 2018-06-12 云丁网络技术(北京)有限公司 功耗控制方法与摄像装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114339043A (zh) * 2021-12-29 2022-04-12 上海布鲁可积木科技有限公司 玩具摄像头功耗降低方法、系统、介质及玩具
CN114339043B (zh) * 2021-12-29 2024-05-31 上海布鲁可积木科技有限公司 玩具摄像头功耗降低方法、系统、介质及玩具摄像头

Also Published As

Publication number Publication date
CN108156388B (zh) 2020-06-19
CN108156388A (zh) 2018-06-12

Similar Documents

Publication Publication Date Title
WO2019154241A1 (zh) 功耗控制方法与摄像装置
US10356320B2 (en) Information processing device and image input device
US9229522B1 (en) Mobile battery performance by identifying apps that disproportionally run background tasks that prevent mobile devices from sleeping
WO2020224658A1 (zh) 待机优化方法、装置、计算机设备和存储介质
US8069360B2 (en) Apparatus, method and computer program for processing information
US8195968B2 (en) System and method for power reduction by sequestering at least one device or partition in a platform from operating system access
US20190369700A1 (en) Electronic Device Control Method and Apparatus, and Electronic Device
CN104076898A (zh) 一种控制移动终端屏幕亮度的方法和装置
US20140378081A1 (en) Wireless communication system with enhanced power management
KR20160066188A (ko) 전자 장치 및 이의 공유 캐시 메모리 제어 방법
WO2016095353A1 (zh) 终端功耗的控制方法及装置、终端
US9778724B2 (en) Power-saving computer system with a watchdog computer and method for controlling power saving of computer system with a watchdog computer
TWI510933B (zh) 遠端存取資料的方法以及本地端裝置
CN112737975A (zh) 缓冲区容量调整方法及装置
WO2019034107A1 (zh) 节电方法及智能眼镜
US20230315148A1 (en) Interface Display Method and Electronic Device
WO2015158161A1 (zh) 一种虚拟桌面的休眠控制方法、装置及系统
CN106603526B (zh) WiFi/热点的开启方法及装置
US20240137870A1 (en) Power Consumption Control Method and Apparatus
CN114816031B (zh) 终端设备的省电方法、终端设备及介质
CN112153245B (zh) 控制方法及摄像机
JP5962212B2 (ja) 情報表示装置
WO2019154242A1 (zh) 一种数据处理方法及装置
CN114980289B (zh) 路由器设备的使用方法、路由器设备和系统
CN115767602B (zh) 设备协议子系统异常自动纠错方法和电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19751261

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19751261

Country of ref document: EP

Kind code of ref document: A1