CN112867104A - Method and apparatus for saving device power consumption - Google Patents

Method and apparatus for saving device power consumption Download PDF

Info

Publication number
CN112867104A
CN112867104A CN201911180497.9A CN201911180497A CN112867104A CN 112867104 A CN112867104 A CN 112867104A CN 201911180497 A CN201911180497 A CN 201911180497A CN 112867104 A CN112867104 A CN 112867104A
Authority
CN
China
Prior art keywords
wireless communication
communication device
preset
power consumption
power
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
CN201911180497.9A
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.)
Yunding Network Technology Beijing Co Ltd
Original Assignee
Yunding Network Technology Beijing 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 Yunding Network Technology Beijing Co Ltd filed Critical Yunding Network Technology Beijing Co Ltd
Priority to CN201911180497.9A priority Critical patent/CN112867104A/en
Publication of CN112867104A publication Critical patent/CN112867104A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

According to the method and the device for saving the power consumption of the equipment, when the monitoring equipment does not need to start the wireless communication device, the wireless communication device is directly powered off, the wireless communication device can be controlled to be powered on when the preset target is detected by the target detection device, the camera device is controlled to carry out delayed shooting based on the preset time threshold, and the working time of the camera device and the data sending time of the wireless communication device are shortened. Through setting up in the time of two kinds of power saving modes, can reduce wireless communication device and camera device's consumption effectively to can save supervisory equipment's whole consumption effectively, and then can promote supervisory equipment's time of endurance effectively.

Description

Method and apparatus for saving device power consumption
Technical Field
The embodiment of the application relates to the field of monitoring equipment, in particular to a method and a device for saving equipment power consumption.
Background
The existing security product comprises monitoring equipment, and the monitoring equipment can play a good role in safety precaution and is generally applied. In order to increase the endurance time of the monitoring device, the conventional method generally reduces the power consumption of the monitoring device by keeping a wireless communication device (e.g., a System On Chip (SOC) WIFI module) in the monitoring device connected to a server all the time, reporting the data at regular time, and keeping other idle time in a sleep state, so as to increase the endurance time of the monitoring device. Since the wireless communication apparatus needs to operate continuously, power consumption is still high.
Disclosure of Invention
The embodiment of the application provides a method and a device for saving power consumption of equipment.
In a first aspect, an embodiment of the present application provides a method for saving power consumption of a device, which is applied to a power consumption controller in a monitoring device; the monitoring equipment comprises a wireless communication device, a target detection device, a camera device and the power consumption controller; the method comprises the following steps:
if the monitoring equipment is in a preset power saving mode and the wireless communication device meets a preset power-down condition, controlling the wireless communication device to power down;
under the condition that the wireless communication device is powered off, if the target detection device detects a preset target, controlling the wireless communication device to be powered on and connected to the network;
acquiring the existence time of the preset target detected by the target detection device;
and when the existence time is greater than a preset time threshold value, controlling the camera device to acquire the image information of the preset target so as to send the image information acquired by the camera device to other equipment through the wireless communication device.
In some embodiments, obtaining the existence time of the preset target detected by the target detection device includes:
and acquiring the time of the continuous existence of the preset target detected by the target detection device as the existence time.
In some embodiments, prior to the controlling the wireless communication device to power down, the method further comprises:
sending offline prompt information to a server through the wireless communication device, so that the server sends first prompt information used for indicating that the monitoring equipment is offline to a user terminal of a user to which the monitoring equipment belongs, and the user terminal modifies attribute information of a target control based on the first prompt information.
In some embodiments, before the obtaining the existence time of the preset target detected by the target detection device, the method further comprises:
detecting whether the monitoring equipment has started a delayed video recording function;
and if so, acquiring a preset time threshold related to the time delay video recording function.
In some embodiments, after the controlling the wireless communication device to power down, the method further comprises:
and if the preset key on the monitoring equipment is triggered, controlling the camera device to acquire image information of personnel triggering the preset key and/or controlling the wireless communication device to be powered on and connected with the network.
In some embodiments, the preset power down condition comprises at least one of: the target detection device does not detect a preset target within a first specified time period, and the wireless communication device is in an idle state.
In some embodiments, after said controlling said wireless communications device to power up and network, said method further comprises:
acquiring equipment updating information of the monitoring equipment from a server through the wireless communication device, and executing an updating operation corresponding to the equipment updating information;
and/or, after said controlling the wireless communications device to power up and network, the method further comprises:
sending online prompt information to a server through the wireless communication device, so that the server sends second prompt information for indicating that the monitoring equipment is online to a user terminal of a user to which the monitoring equipment belongs, and the user terminal modifies attribute information of a target control based on the second prompt information;
and/or, after said controlling the wireless communications device to power up and network, the method further comprises:
and receiving a mode switching instruction, and switching modes based on the mode switching instruction.
In some embodiments, the wireless communication device comprises a system on a chip (SOC) WIFI module.
In a second aspect, an embodiment of the present application provides an apparatus for saving power consumption of a device, which is applied to a power consumption controller in a monitoring device; the monitoring equipment comprises a wireless communication device, a target detection device, a camera device and the power consumption controller; the device comprises:
the power-down control module is used for controlling the wireless communication device to be powered down if the monitoring equipment is in a preset power-saving mode and the wireless communication device meets a preset power-down condition;
the power-on and networking control module is used for controlling the power-on and networking of the wireless communication device if the target detection device detects a preset target under the condition that the wireless communication device is powered off;
the time acquisition module is used for acquiring the existence time of the preset target detected by the target detection device;
and the image acquisition module is used for controlling the camera device to acquire the image information of the preset target when the existence time is greater than a preset time threshold value, so that the image information acquired by the camera device is sent to other equipment through the wireless communication device.
In a third aspect, the present application provides a computer readable medium, on which a computer program is stored, where the program, when executed by a processor, implements the method as described in any implementation manner of the first aspect.
In a fourth aspect, the present application provides a processor, where the processor is configured to execute a program, where the program executes to perform the method described in any implementation manner of the first aspect.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: one or more power consumption controllers; a target detection device configured to detect a preset target; the camera device is configured to acquire image information of the preset target; the wireless communication device is configured to transmit the image information acquired by the camera device to other equipment; a storage device having one or more programs stored thereon; the one or more programs, when executed by the one or more power consumption controllers, cause the one or more power consumption controllers to implement the method as described in any implementation of the first aspect.
According to the method and the device for saving the power consumption of the equipment, the power-down of the wireless communication device is controlled under the condition that the monitoring equipment is in the preset power-saving mode and the wireless communication device meets the preset power-down condition; then under the condition that the wireless communication device is powered off, responding to the preset target detected by the target detection device, controlling the wireless communication device to be powered on and connected with the network, and acquiring the existence time of the preset target detected by the target detection device; when the existence time of the preset target is longer than the preset time threshold, the camera device is controlled to collect the image information of the preset target, the wireless communication device is directly powered off when the monitoring equipment does not need to start the wireless communication device, the wireless communication device can be controlled to be powered on when the preset target detected by the target detection device is detected, the camera device is controlled to carry out time-delay shooting based on the preset time threshold, and the working time of the camera device and the data sending time of the wireless communication device are shortened. Through setting up in the time of two kinds of power saving modes, can reduce wireless communication device and camera device's consumption effectively to can save supervisory equipment's whole consumption effectively, and then can promote supervisory equipment's time of endurance effectively.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It is obvious that the drawings in the following description are only some examples or embodiments of the present application, and that for a person skilled in the art, other drawings can be obtained from the provided drawings without inventive effort, and that the present application can also be applied to other similar scenarios from the provided drawings. Unless otherwise apparent from the context, or otherwise indicated, like reference numbers in the figures refer to the same structure or operation.
FIG. 1 is an exemplary system architecture diagram to which some embodiments of the present application may be applied;
FIG. 2 is a schematic diagram of a monitoring device suitable for use in implementing some embodiments of the present application;
FIG. 3 is a flow diagram of one embodiment of a method for conserving device power consumption in accordance with the present application;
FIG. 4 is a flow diagram of another embodiment of a method for conserving device power consumption in accordance with the present application;
FIG. 5 is a block diagram illustrating an embodiment of an apparatus for saving device power consumption according to the present application.
FIG. 6 is another schematic diagram of a monitoring device suitable for use in implementing some embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. The described embodiments are only some embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be understood that "system", "apparatus", "unit" and/or "module" as used herein is a method for distinguishing different components, elements, parts or assemblies at different levels. However, other words may be substituted by other expressions if they accomplish the same purpose.
As used in this application and the appended claims, the terms "a," "an," "the," and/or "the" are not intended to be inclusive in the singular, but rather are intended to be inclusive in the plural unless the context clearly dictates otherwise. In general, the terms "comprises" and "comprising" merely indicate that steps and elements are included which are explicitly identified, that the steps and elements do not form an exclusive list, and that a method or apparatus may include other steps or elements. An element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
Flow charts are used herein to illustrate operations performed by systems according to embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed in the exact order in which they are performed. Rather, the various steps may be processed in reverse order or simultaneously. Meanwhile, other operations may be added to the processes, or a certain step or several steps of operations may be removed from the processes.
The inventor of the application finds out through research that: the monitoring equipment in the embodiment of the invention generally refers to a video product used for security protection and containing a wireless communication device (such as an SOC WIFI module and the like), the wireless communication device can be always connected with a server, can be used for reporting life at regular time, and can realize active remote viewing of real-time videos and real-time remote setting within 7 x 24 hours. Since the wireless communication apparatus needs to operate continuously, power consumption is relatively high. The inventor further researches and discovers that if the monitoring equipment does not need to collect external image information, namely does not need to work, the wireless communication device can be powered down, and therefore the power consumption of the wireless communication device can be reduced. In addition, when a person rapidly passes through a monitoring area of the monitoring equipment, the person is usually indicated as a passerby, the monitoring equipment usually does not need to collect image information of the passerby, and if the monitoring equipment can avoid collecting useless image information as much as possible, the power consumption of the monitoring equipment can be further saved.
Fig. 1 illustrates an exemplary system architecture 100 to which some embodiments of the present method for saving device power consumption or apparatus for saving device power consumption may be applied.
As shown in fig. 1, the system architecture 100 may include monitoring devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium to provide communication links between the monitoring devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The monitoring devices 101, 102, 103 interact with a server 105 over a network 104 to receive or send messages or the like. The monitoring devices 101, 102, and 103 may be various electronic devices, including but not limited to a monitoring camera, a smart cat eye, a smart phone with a monitoring function, or a tablet computer, and the specific type of the monitoring device is not limited in this embodiment of the application.
Referring to fig. 2, the monitoring devices 101, 102, 103 may include:
a wireless communication device 13, an object detection device 12, a camera device 14 (such as a camera), and a power consumption controller 11. The power consumption controller 11 is connected to the object detection device 12 and the wireless communication device 13, respectively. Further, the power consumption controller 11 may also communicate directly or indirectly with the image pickup device 14. As an example, when the power consumption controller 11 indirectly communicates with the image pickup device 14, the monitoring apparatuses 101, 102, 103 may further include a main controller, which may respectively connect the power consumption controller 11 and the image pickup device 14, through which the power consumption controller 11 may realize indirect communication with the image pickup device 14.
It should be noted that the object detection device 12 may be various devices for detecting a preset object (e.g., a person), for example. If the predetermined target is a human, the target detection device 12 may be a radar human body detector or an infrared detector, for example. The Infrared detector may be, for example, an active Infrared detector or a Passive Infrared detector (PIR).
The wireless communication device 13 may be a WIFI module, a zigbee module, a bluetooth module, or a radio frequency module. In practical application, a WIFI module (for example, an SOC WIFI module) is preferred, because the power consumption of the WIFI module is high, the effect of saving the power consumption of the WIFI module is more obvious, and the power consumption of the zigbee module, the bluetooth module, or the radio frequency module is low, the effect of the zigbee module is not very obvious.
The main functional devices are explained as follows:
1) the main controller may be used for controlling or executing, for example, audio/video acquisition, local screen display, encoding, video recording, uploading of video to the server 105, transmission of real-time audio/video data to a user terminal, and the like.
2) The wireless communication device 13 is responsible for wireless network connection and data transmission.
3) The object detection device 12 is responsible for detecting a preset object (e.g., a person) and, when the preset object is detected, emitting a trigger signal.
4) The power consumption controller 11 may be a processor for performing power consumption control. In addition, the power consumption controller 11 may be composed of a single chip microcomputer and a circuit connected thereto. Specifically, the power consumption controller 11 may be responsible for implementing a power saving mode and a delayed video recording function, controlling power on and power off of the wireless communication device 13 as needed, and controlling the camera device 14 to perform delayed shooting. Alternatively, when the power consumption controller 11 is communicatively coupled to the main controller, the power consumption controller 11 may provide a data channel for the main controller and the wireless communication device 13. Optionally, the power consumption controller 11 may also be used to control the power up and power down of the main controller.
5) The camera 14 may capture image information by taking a picture or recording a video.
Optionally, the monitoring device may further include, but is not limited to, a photo resistor, a speaker, a night vision infrared fill light, a face recognition device, and the like. Wherein, main control unit can connect face identification device, photo resistance, speaker and night vision infrared light filling lamp respectively.
It should be noted that the face recognition device may be hardware or software. When the face recognition device is hardware, the face recognition device can be integrated in the main controller or can be mutually independent from the main controller. When the face recognition device is software, it may be installed in the main controller. And is not particularly limited herein.
In practice, when light is not enough or at night, the main controller can turn on the night vision infrared light supplement lamp to supplement light so as to obtain a clearer picture effect.
Optionally, the monitoring devices 101, 102, 103 may also comprise a voice acquisition arrangement (e.g. a microphone). The voice capture device may be integrated into the camera device 14. The voice capture device may also be independent of the camera device 14. The power consumption controller 11 may control the camera 14 to collect image information and control the voice collecting device to collect voice information. In practice, the main controller may synthesize the image information collected by the camera 14 and the voice information collected by the voice collecting device, and send the synthesized audio/video information to the server 105 through the wireless communication device 13. For example, the main controller first sends the audio/video information to the power consumption controller 11, then the power consumption controller 11 sends the audio/video information to the wireless communication device 13, and then the wireless communication device 13 sends the audio/video information to the server 105.
The server 105 may be a server providing various services, such as a background server providing support for the monitoring devices 101, 102, and 103, and the background server may be a cloud server or a physical server, which is not limited in this respect. The background server may respond to the received information (e.g., image information, prompt information, etc.) sent by the monitoring devices 101, 102, 103, and perform corresponding processing on the information.
The server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the method for saving device power consumption provided by the embodiment of the present application is generally executed by the power consumption controller 11 in the monitoring devices 101, 102, 103, and accordingly, the means for saving device power consumption is generally disposed in the power consumption controller 11 in the monitoring devices 101, 102, 103.
It should be understood that the numbers of the monitoring apparatus, the network, the server in fig. 1, and the power consumption controller, the image pickup device, the wireless communication device, and the object detection device in fig. 2 are merely illustrative. There may be any number of monitoring devices, networks, servers, power consumption controllers, cameras, wireless communication devices, and object detection devices, as desired for implementation.
With continued reference to FIG. 3, a flow diagram of one embodiment of a method for conserving device power consumption in accordance with the present application is shown. The method for saving device power consumption may be applied to a power consumption controller (e.g., the power consumption controller 11 shown in fig. 2) in a monitoring device (e.g., the monitoring devices 101, 102, 103 shown in fig. 1). The monitoring apparatus further includes a wireless communication device (e.g., the wireless communication device 13 shown in fig. 2), an image pickup device (e.g., the image pickup device 14 shown in fig. 2), and an object detection device (e.g., the object detection device 12 shown in fig. 2). The method for saving power consumption of a device comprises the following steps:
step S201, if the monitoring device is in the preset power saving mode and the wireless communication device meets the preset power-down condition, controlling the wireless communication device to power down.
In the prior art, a wireless communication device (for example, an SOC WIFI module, etc.) is generally always connected to a server, and reports the activity at regular time, and other idle time is in a sleep state. Since the timing of reporting still needs to consume more power, the effect of saving power is not obvious. In order to reduce the power consumption of the wireless communication apparatus, it may be considered to power down the wireless communication apparatus when the wireless communication apparatus is not in operation, thereby necessarily reducing the power consumption of the wireless communication apparatus, but before powering down the wireless communication apparatus, it is necessary to consider whether the wireless communication apparatus is in the preset power saving mode and whether the preset power down condition is satisfied.
In this embodiment, the monitoring device may have a preset normal operation mode and a preset power saving mode. When the monitoring device is in the preset normal operation mode, the wireless communication device in the monitoring device may keep connected with a server (e.g., the server 105 shown in fig. 1) all the time, and report the activity at regular time, and the rest of the idle time is in a sleep state. When the monitoring device is in the preset power saving mode, the power consumption controller in the monitoring device can control the wireless communication device to be powered on or powered off according to a preset power on or power off strategy related to the wireless communication device, so that the power consumption of the wireless communication device can be reduced under the condition that the wireless communication device can normally work. The power consumption of the wireless communication device in the preset power saving mode is lower than that in the preset normal working mode.
As an implementation manner, a user to which the monitoring device belongs may set an operating mode of the monitoring device through a user terminal of the user. The user terminal can be provided with a client application for managing the monitoring equipment, and the client application can be communicated with the server. The user may select a desired operating mode, such as a preset normal operating mode or a preset power saving mode, in the client application. The client application can send the information of the working mode selected by the user to the server after detecting the working mode selected by the user, and the server sends a corresponding mode switching instruction to the monitoring equipment based on the information. If the wireless communication device in the monitoring equipment is powered on and networked, the server can immediately send the mode switching instruction to the monitoring equipment. If the wireless communication device is powered off, the server can wait until the wireless communication device is powered on and networked and then send the mode switching instruction to the monitoring equipment.
As another implementation, the user terminal may directly communicate with the monitoring device, that is, a server may not be needed as an intermediate device for information transmission and conversion, and the whole process flow is similar to that described above, but the mode switching instruction is directly sent by the user terminal. In detail, if the wireless communication device in the monitoring device is powered on and networked, the client application in the user terminal may immediately send the mode switching instruction to the monitoring device. If the wireless communication device is powered off, the client application may wait until the wireless communication device is powered on before sending the mode switching instruction to the monitoring device.
As another implementation manner, the user may also directly perform setting on the monitoring device, and at this time, a mode setting key needs to be set on the monitoring device, where the mode setting key is used to select one of the preset normal operating mode and the preset power saving mode. The user can send a corresponding mode switching instruction to the monitoring equipment by triggering the key. The monitoring device may perform a corresponding mode switching operation based on the mode switching instruction. For example, a display screen can be arranged on the cat eye, a preset normal working mode and a preset power saving mode are arranged on the display screen, and the modes are selected by clicking of a user.
In this embodiment, when the monitoring device is in the preset power saving mode, the power consumption controller may monitor whether the wireless communication apparatus satisfies a preset power-down condition. When the wireless communication device is monitored to meet the preset power-down condition, the power-down of the wireless communication device can be controlled. It should be noted that the monitoring device may include a power supply module, and the power supply module may supply power to components in the monitoring device. The power consumption controller may control the wireless communication device to power down by controlling the power supply module to disconnect a circuit that powers the wireless communication device.
The preset power-off condition may include: the target detection device does not detect the preset target within the first specified time period, and the wireless communication device is in an idle state. The duration of the first designated time period may be set according to the actual situation, such as 3 seconds, 4 seconds, and so on.
Generally, when the monitoring device successfully enters the preset power saving mode, the power consumption controller monitors whether the wireless communication device satisfies a preset power-down condition. In addition, under the condition that the monitoring device is already in the preset power saving mode, if the wireless communication device is switched from the power-off state to the power-on state, the power consumption controller also monitors whether the wireless communication device meets the preset power-off condition.
Optionally, if the power consumption controller checks that the wireless communication device satisfies the preset power-down condition and continues for a period of time, a mode switching notification may be sent to the client application through the server, so that the user switches to the preset power saving mode. The power consumption controller may control the wireless communication apparatus to be powered down if the user switches from the preset normal operation mode to the preset power saving mode in response to the notification.
As an example, the process of determining whether the target detection means detects the preset target may include: whether the power consumption controller can receive detection information fed back by the target detection device when the preset target is detected or not is judged, and if the detection information is received, the target detection device is judged to detect the preset target; if not, the target detection device is determined not to detect the preset target. In addition, the power consumption controller may directly inquire whether the object detection means detects a preset object. The process of the power consumption controller determining the operating state of the wireless communication apparatus may include: the power consumption controller inquires about a working state of an MCU (Microcontroller Unit) built in the wireless communication device in real time, and may report the working state in real time.
Step S202, in the case that the wireless communication device is powered down, if the target detection device detects a preset target, controlling the wireless communication device to be powered on and connected to the network.
In this embodiment, in a case that the wireless communication device is powered off, if the target detection device detects a preset target, the power consumption controller may control the power supply module to connect the circuit for supplying power to the wireless communication device, so as to control the power supply of the wireless communication device, and the power consumption controller may further control the wireless communication device to be networked. After the wireless communication device is networked, the wireless communication device can be temporarily in a dormant state, and after the camera device determines to start to collect the image information of the preset target, the wireless communication device enters a working state, and outputs the image information collected by the camera device to other equipment, such as a server or a user terminal.
In step S203, the existence time of the preset target detected by the target detection device is acquired.
In this embodiment, after the target detection device detects a preset target (e.g., a person, an animal, and other creatures, generally a person), taking the preset target as a person as an example, the person may be a passerby passing through quickly, or may be a visitor or suspicious person staying in a monitoring area of the monitoring device, and the like, at this time, to avoid that the person passes through quickly, the camera device collects useless image information, after the target detection device detects the preset target, the power consumption controller does not immediately control the camera device to collect data, and only when the preset target existence time is greater than a preset time threshold, the camera device is controlled to start collecting image information.
It should be noted that, when the target detection device detects the preset target all the time, the target detection device may send the detection information to the power consumption controller in real time or at regular time, and the power consumption controller may count the existence time of the preset target in real time based on the time of receiving the detection information.
In some optional implementation manners of this embodiment, the target detection device may continuously detect whether the preset target can be detected, and the existence time acquired by the power consumption controller is a time when the preset target detected by the target detection device continuously exists. In addition, in order to reduce the power consumption of the target detection device, the detection of the preset target may be performed at regular time intervals, and the regular time interval may be, for example, 1 second, 2 seconds, or 3 seconds, and is not particularly limited herein. Taking a certain time period of 2 seconds as an example, whether the preset target still exists can be detected every 2 seconds.
Step S204, judging whether the existing time of the preset target is greater than a preset time threshold value.
In this embodiment, the power consumption controller may compare the acquired existence time of the preset target with a preset time threshold. If the existing time of the preset target is greater than the preset time threshold, step S205 is executed. If the existence time of the obtained preset target is not greater than the preset time threshold and the target detection device can still detect the preset target, the power consumption controller may continue to execute step S203. If the existence time of the acquired preset target is not more than the preset time threshold and the target detection device cannot detect the preset target, the power consumption controller may not control the video recording device to acquire the image information. The existence time is longer than the preset time threshold, which indicates that the detected preset target is not a person passing through quickly, but a visitor or a suspicious person, and the like. The preset time threshold in this embodiment may be 4 seconds, 6 seconds, 10 seconds, or the like, and may be set according to actual needs, which is not specifically limited herein.
In practical application, in order to improve the user experience and the flexibility of the working mode of the monitoring equipment, the user can be supported to select to turn on or turn off the time-delay video recording function according to the actual requirements of the user. Generally, when the monitoring device starts the time-delay video recording function, the preset time threshold value can be obtained, and the comparison process between the existing time and the preset time threshold value can be performed. And if the delayed video recording function is not started, directly controlling the camera device to acquire the image information of the preset target. Therefore, after the wireless communication device is controlled to be powered on and connected to the network in response to the detection of the preset target by the target detection device, the power consumption controller may detect whether the monitoring device has started the delayed video recording function before the acquisition of the existence time of the preset target is started. As an example, the delayed video recording function has a corresponding parameter representing delayed video recording. The parameter may have a first parameter value indicating that the delayed video recording function is turned on and a second parameter value indicating that the delayed video recording function is not turned on. The power consumption controller can determine whether the monitoring device has started the delayed video recording function by detecting the current parameter value of the parameter. For another example, the monitoring device may store a record generated when the user last set the time-lapse video recording function. The power consumption controller may determine whether the monitoring device has turned on the delayed video function based on the record. It should be understood that the present embodiment does not limit any method for determining whether the monitoring device has started the delayed video recording function.
And step S205, controlling the camera device to collect the image information of the preset target, so as to send the image information collected by the camera device to other equipment through the wireless communication device.
In this embodiment, when the existence time of the preset target is greater than the preset time threshold, the power consumption controller may control the camera device to start image acquisition, the acquired image information may be sent to the power consumption controller, and the power consumption controller outputs the image information to the server or the user terminal through the wireless communication device. If the image information is sent to the server, the server may forward the image information to the user terminal.
When image acquisition is carried out, the power consumption controller can directly or indirectly control the camera device to carry out image information acquisition. For example, the power consumption controller may communicate directly with the camera device by sending an image capture instruction to the camera device to enable direct control of the camera device. Optionally, the monitoring apparatus may further include a main controller, and the main controller and the camera may be respectively in communication connection with the power consumption controller. The power consumption controller can send an image acquisition instruction to the main controller, so that the main controller forwards the image acquisition instruction to the camera device, and indirect control over the camera device is achieved.
In addition, when the image pickup apparatus directly communicates with the power consumption controller, the image pickup apparatus may directly transmit the collected image information to the power consumption controller. When the camera device realizes indirect communication with the power consumption controller through the main controller, the camera device can send acquired image information to the main controller, and the main controller sends the image information to the power consumption controller.
In addition, in some optional implementation manners of this embodiment, the powering on of the wireless communication device and the networking may be triggered by a preset key on the monitoring device, and/or the image information of a person who triggers the preset key may be collected by the camera device. In practical application, a wake-up key can be set on the monitoring device, after a user triggers the wake-up key, a circuit corresponding to the wake-up key can send a trigger signal to the power consumption controller, and the power consumption controller can control the camera device to acquire image information of a person triggering the wake-up key and/or control the wireless communication device to be powered on and connected to the network in response to receiving the trigger signal. By applying the implementation mode, the control modes of powering on the wireless communication device and acquiring the image information of the preset target by the camera device are enriched.
In another implementation manner of the present invention, a practical application scenario of the method for saving device power consumption is introduced. Specifically, in practical application, in order to meet the actual requirements of users and improve the user experience, the user-defined time delay video recording time can be supported. The client application may include a setting area for setting the delayed video recording time, and the setting area may include a plurality of preset time points and/or a sub-area for inputting time. The plurality of time points may include, for example, but are not limited to, 0s, 2s, 4s, 6s, 8s, 10s, and the like. Where s is the time unit "seconds". The user can set the time delay video recording time by selecting the preset time point. The user can also set the time-lapse recording time by inputting a time point desired to be set in the sub-area. The user may set the time delay recording time according to the user habit or the actual scene requirement, which is not specifically limited. It should be noted that the delayed video recording time set by the user is used to replace the existing preset time threshold.
The user setting information can be stored in the server in the preset power saving mode, and the monitoring equipment is updated synchronously after being awakened for networking next time.
For example, assuming that the target detection device is PIR, taking 4-second delayed video as an example, the logic of delayed video will be described as follows:
1) the PIR triggered within 0-4 seconds does not respond and the wireless communication device is in a sleep state.
2) The PIR triggered within 4-9 seconds starts to respond and controls the image pickup device to record images, for example, the image pickup device can be directly controlled to record images, or the main controller is started to control the image pickup device to record images. In addition, the power consumption controller may respond to the PIR until the master controller is powered down.
3) If PIR is not triggered within 4-9 seconds, the 9 th second triggers PIR to not respond, and 4 second filtering is started again, namely, the step 1 is jumped.
4) After 9 seconds, no PIR is triggered, the wireless communication device enters a sleep mode and is activated in a timing mode in a preset normal working mode, and the wireless communication device is controlled to be powered down in a preset power saving mode. Here, the wireless communication apparatus may actively request power-down from the power consumption controller, or the power consumption controller may actively control the power-down of the wireless communication apparatus.
Here, taking the monitoring device as an intelligent cat eye as an example, the scheme provided by this embodiment is illustrated. The intelligent cat eye can include power consumption controller, camera, PIR and SOC WIFI module. And the PIR detection preset target is a human. When the intelligent cat eye is in a preset power saving mode, the power consumption controller can monitor whether the SOC WIFI module meets preset power-off conditions or not, and when the SOC WIFI module is monitored to meet the preset power-off conditions, the SOC WIFI module is controlled to be powered off. Under the condition that the SOC WIFI module is powered off, if the PIR detects a person, the power consumption controller can control the SOC WIFI module to be powered on and connected to the network. In addition, the power consumption controller can also acquire the existence time of the person detected by the PIR and judge whether the existence time of the person is greater than a preset time threshold value. If the existence time of the person is longer than the preset time threshold value, the power consumption controller can control the camera to collect the image information of the person, and the image information collected by the camera device is sent to other equipment, such as a server or a user terminal, through the SOC WIFI module.
In the embodiment, the wireless communication device is controlled to be powered down under the condition that the monitoring equipment is in the preset power saving mode and the wireless communication device meets the preset power down condition; then under the condition that the wireless communication device is powered off, responding to the preset target detected by the target detection device, controlling the wireless communication device to be powered on and connected with the network, and acquiring the existence time of the preset target detected by the target detection device; when the existence time of the preset target is longer than the preset time threshold, the camera device is controlled to collect the image information of the preset target, the wireless communication device is directly powered off when the monitoring equipment does not need to start the wireless communication device, the wireless communication device can be controlled to be powered on when the preset target detected by the target detection device is detected, the camera device is controlled to carry out time-delay shooting based on the preset time threshold, and the working time of the camera device and the data sending time of the wireless communication device are shortened. Through setting up in the time of two kinds of power saving modes, can reduce wireless communication device and camera device's consumption effectively to can save supervisory equipment's whole consumption effectively, and then can promote supervisory equipment's time of endurance effectively.
The embodiment of the invention can be suitable for low-power-consumption video products based on soc wifi, can realize active remote viewing and real-time setting for 7 multiplied by 24 hours in a preset normal working mode, and can realize ultra-low power consumption and ultra-long endurance in a preset power-saving mode. The preset power saving mode and the time-delay video can be set independently, the device is suitable for various user demand scenes, the power consumption is lowest when two functions are set simultaneously, and the endurance time can be improved to a higher degree.
With further reference to fig. 4, a flow diagram of yet another embodiment of a method for conserving device power consumption is shown. The method for saving the power consumption of the device is executed in the same way as above. Specifically, the method comprises the following steps:
after step S302, i.e., "controlling the wireless communication device to power up and network," the power consumption controller may further perform step S306, specifically:
s306, acquiring the equipment updating information of the monitoring equipment from the server through the wireless communication device, and executing the updating operation corresponding to the equipment updating information.
When the monitoring device is in the preset power saving mode, after the wireless communication device is powered on and the networking is successful, the power consumption controller can communicate with the server and send a request for updating the synchronous monitoring device to the server, and after the server receives the request, whether the monitoring device has certain conditions, such as the condition that software needs to be upgraded and a bug needs to be repaired, can be checked. If the situation that software needs to be upgraded and a bug needs to be repaired is detected, that is, the monitoring device needs to update the device is explained, at this time, the server can feed back device update information to the power consumption controller through the wireless communication device, the device update information includes content needing to be updated and an update program corresponding to the content needing to be updated, and the power consumption controller controls the monitoring device to perform update operation corresponding to the device update information, so that the software version in the monitoring device is ensured to be the latest version, and better service is provided for a user.
In another implementation manner of the present invention, after step S302, the power consumption controller may further execute step S307, specifically:
s307, sending online prompt information to the server through the wireless communication device, so that the server sends second prompt information for indicating that the monitoring equipment is online to a user terminal of a user to which the monitoring equipment belongs, and the user terminal modifies attribute information of the target control based on the second prompt information.
In addition, in some optional implementation manners of this embodiment, before controlling the wireless communication device to power down, the power consumption controller may send offline prompt information to the server through the wireless communication device, so that the server sends first prompt information for indicating that the monitoring device is offline to the user terminal of the user to which the monitoring device belongs, and the user terminal modifies the attribute information of the target control based on the first prompt information.
In particular, the target control may include, for example, a video view button for viewing the video in real-time. The attribute information may include, for example, a trigger state attribute. The attribute values of the trigger state attribute may include a first attribute value (e.g., 1) and a second attribute value (e.g., 0). The first attribute value may be used to characterize that the video view button may be triggered. The second attribute value may be used to characterize that the video view button cannot be triggered. And after the user terminal receives first prompt information for indicating that the monitoring equipment is off-line, the current attribute value of the trigger state attribute can be modified into a second attribute value. And after the user terminal receives second prompt information for indicating that the monitoring equipment is on line, the current attribute value of the trigger state attribute can be modified into the first attribute value.
In practical application, the wireless communication device can report the online state of the wireless communication device of the server at any time, if the wireless communication device is powered on, the wireless communication device is always connected with the server, the wireless communication device reports the activity regularly, for example, the heartbeat packet reporting the activity regularly is sent, the wireless communication device can also be regarded as online prompt information, then the power consumption controller sends the online prompt information to the server through the wireless communication device, the server generates second prompt information which is corresponding to the online prompt information and used for indicating the monitoring equipment to be online according to the online prompt information, then the second prompt information is sent to the client application of the user terminal of the user to which the monitoring equipment belongs, at the moment, the client application changes a video viewing button into a clickable viewing state after monitoring the notification of the second prompt information, and inquires whether the client is online or not from the server regularly. If the wireless communication device is powered off after idling and reports an offline event to the server, the offline prompt message is sent, the server sends a first prompt message used for indicating the monitoring device to be offline to the client application in the user terminal, and at the moment, the client application monitors the device offline event notification or inquires an online return error and then changes the video viewing button into a non-clickable state. It should be noted that, after sending the offline prompt information to the server, the power consumption controller may receive the offline instruction returned by the server and control the wireless communication module to power off based on the offline instruction, in addition to the above direct offline mode.
In addition, for the setting of the off-line state and the on-line state of the equipment in the client application, the server changes the equipment state into the off-line state after not receiving the live heartbeat packet within a certain time under a preset normal working mode, and pushes an off-line notice to the user; the device is in an online state by default in a preset power saving mode, and no offline notification is pushed.
The wireless communication device is always connected with the server in a preset normal working mode, and reports the activity at regular time, and the wireless communication device is in a dormant state when other devices are idle; in the preset power saving mode, the wireless communication device only performs networking transmission data when the target detection device triggers image information acquisition or key awakening, and is in a power-off or deep sleep state (depending on hardware design and wireless communication type) when other devices are idle, so that the wireless communication device cannot be always connected with a server and cannot actively report the activity.
In addition, a user can check image information collected by the camera device through the video check button in real time through the client application, a default user can always click to check in a preset normal working mode, a default user cannot click in a preset power saving mode, the client application monitors that the button becomes a clickable check state after the device on-line event notification is sent, and whether the device is on line or not is regularly inquired. And when the client application monitors the offline event notification of the equipment or inquires the online return error, the button is changed into a non-clickable state.
In addition, in another implementation manner of the present invention, after step S302, the power consumption controller may further perform step S308, specifically:
s308, receiving a mode switching instruction, and switching the mode based on the mode switching instruction.
The content in this step has already been described in detail in step S201 in the embodiment corresponding to fig. 3, please refer to corresponding parts in the above embodiments, and will not be described again here.
Compared with the corresponding embodiments described above, the method for saving device power consumption in the present embodiment highlights the interaction of the monitoring device with the server. Therefore, the scheme described in this embodiment can enable the server and the user terminal to know the working state of the monitoring device in time.
It should be noted that there is no execution sequence among steps S306, S307, and S308, only one of steps S306, S307, and S308 may be executed, two or three of steps S306, S307, and S308 may also be executed, and the execution sequence is not specifically limited.
In addition, steps S301 to S305 in this embodiment are the same as steps S201 to S205, please refer to the corresponding descriptions in the above embodiments, and are not repeated herein.
With further reference to fig. 5, as an implementation of the methods shown in some of the above figures, the present application provides an embodiment of an apparatus for saving power consumption of a device, which corresponds to the embodiment of the method shown in fig. 3, and which may be applied in various electronic devices.
As shown in fig. 5, the apparatus 500 for saving device power consumption of the present embodiment may be applied to a power consumption controller in a monitoring device; the monitoring equipment comprises a wireless communication device, a target detection device, a camera device and a power consumption controller; the above apparatus 500 includes: a power-off control module 501, a power-on and networking control module 502, a time acquisition module 503 and an image processing module 504. The power-down control module 501 is configured to control the wireless communication device to power down if the monitoring device is in a preset power saving mode and the wireless communication device meets a preset power-down condition; a power-on and networking control module 502, configured to, when the wireless communication device is powered off, control the wireless communication device to be powered on and networked if the target detection device detects a preset target; a time obtaining module 503, configured to obtain a time when a preset target detected by the target detecting apparatus exists; and the image processing module 504 is configured to control the camera device to acquire image information of a preset target when the existence time is greater than a preset time threshold, so as to send the image information acquired by the camera device to other equipment through the wireless communication device.
In this embodiment, specific processing of the power-off control module 501, the power-on and networking control module 502, the time obtaining module 503, and the image processing module 504 and technical effects thereof may refer to related descriptions of step 201, step 202, step 203, step 204, and step 205 in the corresponding embodiment of fig. 2, which are not described herein again.
In some optional implementations of this embodiment, when the time obtaining module 503 is configured to obtain the existence time of the preset target detected by the target detecting device, it is specifically configured to:
the time when the preset target detected by the target detection device exists continuously is acquired and taken as the existence time.
In some optional implementation manners of this embodiment, the apparatus 500 further includes an information sending module, configured to send offline prompt information to the server through the wireless communication apparatus before controlling the wireless communication apparatus to power down, so that the server sends first prompt information for indicating that the monitoring device is offline to the user terminal of the user to which the monitoring device belongs, and the user terminal modifies the attribute information of the target control based on the first prompt information.
In some optional implementation manners of this embodiment, the apparatus 500 further includes a function control module, configured to detect whether the monitoring device has started the delayed video recording function before obtaining the existence time of the preset target detected by the target detection apparatus; and if so, acquiring a preset time threshold related to the delayed video recording function.
In some optional implementations of this embodiment, the apparatus 500 further includes:
and the function triggering module is used for controlling the camera device to acquire image information of personnel triggering the preset keys and/or controlling the wireless communication device to be powered on and connected with the network if the preset keys on the monitoring equipment are triggered after controlling the wireless communication device to be powered off.
In some optional implementations of this embodiment, the preset power-down condition includes at least one of: the target detection device does not detect the preset target within the first specified time period, and the wireless communication device is in an idle state.
In some optional implementations of this embodiment, the apparatus 500 further includes a data processing module, configured to, after controlling the wireless communication apparatus to be powered on and networked, obtain, by the wireless communication apparatus, the device update information of the monitoring device from the server, and perform an update operation corresponding to the device update information;
and/or the first sending module is used for sending online prompt information to the server through the wireless communication device after controlling the wireless communication device to be powered on and networked, so that the server sends second prompt information for indicating the monitoring equipment to be online to a user terminal of a user to which the monitoring equipment belongs, and the user terminal modifies attribute information of the target control based on the second prompt information;
and/or the mode switching module is used for receiving a mode switching instruction after controlling the wireless communication device to be powered on and networked, and switching the mode based on the mode switching instruction.
In some optional implementations of this embodiment, the wireless communication device includes an SOC WIFI module.
It should be noted that the apparatus 500 for saving device power consumption may be a chip, a component or an apparatus, and the apparatus 500 for saving device power consumption may include a processor and a memory, and the power-down control module 501, the power-on and networking control module 502, the time acquisition module 503, the image processing module 504, and the like are all stored in the memory as program devices, and the processor executes the above program devices stored in the memory to implement corresponding functions.
The processor may include a kernel that calls the corresponding sequencer from memory. One or more cores can be set, and the purpose of saving the power consumption of the equipment is realized by adjusting the parameters of the cores.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
The apparatus for saving device power consumption provided by the above embodiment of the present application controls the wireless communication apparatus to power down when the monitoring device is in the preset power saving mode and the wireless communication apparatus meets the preset power down condition; then under the condition that the wireless communication device is powered off, responding to the preset target detected by the target detection device, controlling the wireless communication device to be powered on and connected with the network, and acquiring the existence time of the preset target detected by the target detection device; when the existence time of the preset target is longer than the preset time threshold, the camera device is controlled to collect the image information of the preset target, the wireless communication device is directly powered off when the monitoring equipment does not need to start the wireless communication device, the wireless communication device can be controlled to be powered on when the preset target detected by the target detection device is detected, the camera device is controlled to carry out time-delay shooting based on the preset time threshold, and the working time of the camera device and the data sending time of the wireless communication device are shortened. Through setting up in the time of two kinds of power saving modes, can reduce wireless communication device and camera device's consumption effectively to can save supervisory equipment's whole consumption effectively, and then can promote supervisory equipment's time of endurance effectively.
Referring now to FIG. 6, a schematic diagram of a monitoring device suitable for use in implementing some embodiments of the present application is shown. The monitoring device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 6, the monitoring apparatus may include a wireless communication device 13, an object detection device 12, an image pickup device 14, a power consumption controller 11, and a memory 15; the memory 15 is connected to the power consumption controller 11, and the connection relationship between the wireless communication device 13, the object detection device 12, the imaging device 14, and the power consumption controller 11 is as described in the above embodiments.
An object detection device 12 configured to detect a preset object;
a camera 14 configured to acquire image information of a preset target;
and the wireless communication device 13 is configured to transmit the image information acquired by the camera device 14 to other equipment.
In the embodiment of the present application, the power consumption controller 11 may be a processor for controlling power consumption, and the processor may be a Central Processing Unit (CPU), an application-specific integrated circuit (ASIC), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic devices.
In one possible implementation, the memory 15 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as storing image information collected by the camera device), and the like; the storage data area may store data created during use of the computer, such as image information captured by the camera 14.
Further, the memory 15 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device or other volatile solid state storage device.
The power consumption controller 11 may call a program stored in the memory 15, and specifically, the power consumption controller 11 may execute the method for saving the power consumption of the device as shown in any one of the embodiments of fig. 3 to 4.
The memory 15 is used for storing one or more programs, the program may include program codes, the program codes include computer operation instructions, in this embodiment, the memory 15 stores at least the program for implementing the following functions:
if the monitoring equipment is in a preset power saving mode and the wireless communication device meets a preset power-down condition, controlling the wireless communication device to power down;
under the condition that the wireless communication device is powered off, if the target detection device detects a preset target, controlling the wireless communication device to be powered on and connected with the network;
acquiring the existence time of a preset target detected by a target detection device;
and when the existence time is longer than the preset time threshold, controlling the camera device to acquire the image information of the preset target so as to send the image information acquired by the camera device to other equipment through the wireless communication device.
In one possible implementation, the monitoring device may further include a communication bus and a communication interface. Wherein the power consumption controller 11 and the memory 15 may be connected to each other through a communication bus. The communication interface may be an interface of the wireless communication device 13. Specifically, the communication interface may be configured to obtain information sent by a user terminal and/or a server to which the monitoring device is connected, and the communication interface is further configured to send image information collected by the camera 14 to other devices.
In a possible implementation manner, the input unit in the monitoring apparatus in this embodiment may further include at least one of a touch sensing unit that senses a touch event on the touch display panel, a keyboard, a mouse, a microphone, and the like, in addition to the object detection device 12 and the camera 14.
In a possible implementation manner, the monitoring device in this embodiment may further include an output unit, and the output unit may include at least one of a display, a speaker, a vibration mechanism, a lamp, and the like. The display may comprise a display panel, such as a touch display panel or the like. In one possible case, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The vibration mechanism can enable the monitoring equipment to generate displacement when in work, and in one possible implementation mode, the vibration mechanism comprises a motor and an eccentric vibrator, and the motor drives the eccentric vibrator to rotate so as to generate vibration. The brightness and/or color of the lamp can be adjusted, in a possible implementation manner, different information can be embodied through at least one of the on-off, brightness and color of the lamp, for example, the alarm information can be embodied through red light emitted by the lamp.
Of course, the structure of the monitoring device shown in fig. 6 does not constitute a limitation of the monitoring device in the embodiments of the present application, and the monitoring device may include more or less components than those shown in fig. 6, or some components may be combined in practical applications.
The present application provides a computer readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method for saving power consumption of a device described in the above method embodiments.
The embodiment of the present application provides a processor, configured to execute a program, where the program executes to implement the method for saving power consumption of a device described in the above method embodiments.
The present application further provides a computer program product which, when executed on a data processing device, causes the data processing device to implement the method for saving device power consumption described in the above method embodiments.
The monitoring device, the processor, the computer-readable medium, or the computer program product provided in the foregoing embodiments of the present application may all be used to execute the corresponding method provided above, and therefore, the beneficial effects achieved by the monitoring device, the processor, the computer-readable medium, or the computer program product may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, which include both non-transitory and non-transitory, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, program means, 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 disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may 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, and the like) having computer-usable program code embodied therein.
The above description is only for the purpose of illustrating the preferred embodiments of the present application and the technical principles applied, and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. The scope of the invention according to the present application is not limited to the specific combinations of the above-described features, and may also cover other embodiments in which the above-described features or their equivalents are arbitrarily combined without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (12)

1. A method for saving power consumption of a device is characterized in that the method is applied to a power consumption controller in a monitoring device; the monitoring equipment comprises a wireless communication device, a target detection device, a camera device and the power consumption controller; the method comprises the following steps:
if the monitoring equipment is in a preset power saving mode and the wireless communication device meets a preset power-down condition, controlling the wireless communication device to power down;
under the condition that the wireless communication device is powered off, if the target detection device detects a preset target, controlling the wireless communication device to be powered on and connected to the network;
acquiring the existence time of the preset target detected by the target detection device;
and when the existence time is greater than a preset time threshold value, controlling the camera device to acquire the image information of the preset target so as to send the image information acquired by the camera device to other equipment through the wireless communication device.
2. The method according to claim 1, wherein obtaining the existence time of the preset target detected by the target detection device comprises:
and acquiring the time of the continuous existence of the preset target detected by the target detection device as the existence time.
3. The method of claim 1, wherein prior to the controlling the wireless communication device to power down, the method further comprises:
sending offline prompt information to a server through the wireless communication device, so that the server sends first prompt information used for indicating that the monitoring equipment is offline to a user terminal of a user to which the monitoring equipment belongs, and the user terminal modifies attribute information of a target control based on the first prompt information.
4. The method according to claim 1, wherein before the obtaining the existence time of the preset target detected by the target detection device, the method further comprises:
detecting whether the monitoring equipment has started a delayed video recording function;
and if so, acquiring a preset time threshold related to the time delay video recording function.
5. The method of claim 1, wherein after the controlling the wireless communication device to power down, the method further comprises:
and if the preset key on the monitoring equipment is triggered, controlling the camera device to acquire image information of personnel triggering the preset key and/or controlling the wireless communication device to be powered on and connected with the network.
6. The method of claim 1, wherein the preset power down condition comprises at least one of: the target detection device does not detect a preset target within a first specified time period, and the wireless communication device is in an idle state.
7. The method of one of claims 1-6, wherein after said controlling said wireless communication device to power up and network, said method further comprises:
acquiring equipment updating information of the monitoring equipment from a server through the wireless communication device, and executing an updating operation corresponding to the equipment updating information;
and/or, after said controlling the wireless communications device to power up and network, the method further comprises:
sending online prompt information to a server through the wireless communication device, so that the server sends second prompt information for indicating that the monitoring equipment is online to a user terminal of a user to which the monitoring equipment belongs, and the user terminal modifies attribute information of a target control based on the second prompt information;
and/or, after said controlling the wireless communications device to power up and network, the method further comprises:
and receiving a mode switching instruction, and switching modes based on the mode switching instruction.
8. The method of any of claims 1-6, wherein the wireless communication device comprises a system on a chip (SOC) WIFI module.
9. An apparatus for saving power consumption of a device, characterized by a power consumption controller applied in a monitoring device; the monitoring equipment comprises a wireless communication device, a target detection device, a camera device and the power consumption controller; the device comprises:
the power-down control module is used for controlling the wireless communication device to be powered down if the monitoring equipment is in a preset power-saving mode and the wireless communication device meets a preset power-down condition;
the power-on and networking control module is used for controlling the power-on and networking of the wireless communication device if the target detection device detects a preset target under the condition that the wireless communication device is powered off;
the time acquisition module is used for acquiring the existence time of the preset target detected by the target detection device;
and the image processing module is used for controlling the camera device to acquire the image information of the preset target when the existence time is greater than a preset time threshold value, so that the image information acquired by the camera device is sent to other equipment through the wireless communication device.
10. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-8.
11. A processor, characterized in that the processor is configured to run a program, wherein the program when running implements the method according to any of claims 1-8.
12. A monitoring device, comprising:
one or more power consumption controllers;
a target detection device configured to detect a preset target;
the camera device is configured to acquire image information of the preset target;
the wireless communication device is configured to transmit the image information acquired by the camera device to other equipment;
a storage device having one or more programs stored thereon;
the one or more programs, when executed by the one or more power consumption controllers, cause the one or more power consumption controllers to implement the method of any of claims 1-8.
CN201911180497.9A 2019-11-27 2019-11-27 Method and apparatus for saving device power consumption Pending CN112867104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911180497.9A CN112867104A (en) 2019-11-27 2019-11-27 Method and apparatus for saving device power consumption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911180497.9A CN112867104A (en) 2019-11-27 2019-11-27 Method and apparatus for saving device power consumption

Publications (1)

Publication Number Publication Date
CN112867104A true CN112867104A (en) 2021-05-28

Family

ID=75985526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911180497.9A Pending CN112867104A (en) 2019-11-27 2019-11-27 Method and apparatus for saving device power consumption

Country Status (1)

Country Link
CN (1) CN112867104A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713091A (en) * 2017-01-25 2017-05-24 移康智能科技(上海)股份有限公司 Control method of home monitoring device and device thereof
WO2019062659A1 (en) * 2017-09-26 2019-04-04 云丁网络技术(北京)有限公司 Surveillance video recognition method and device
CN110290352A (en) * 2019-06-28 2019-09-27 Oppo广东移动通信有限公司 Monitoring method and device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713091A (en) * 2017-01-25 2017-05-24 移康智能科技(上海)股份有限公司 Control method of home monitoring device and device thereof
WO2019062659A1 (en) * 2017-09-26 2019-04-04 云丁网络技术(北京)有限公司 Surveillance video recognition method and device
CN110290352A (en) * 2019-06-28 2019-09-27 Oppo广东移动通信有限公司 Monitoring method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US20190140973A1 (en) Dynamic virtualized resource allocation
US10368312B2 (en) Method, device, and system for detecting device power
US9258556B2 (en) Digital signage device capable of entering diagnostic display mode
KR20140128885A (en) Power efficient image sensing apparatus, method of operating the same and eye/gaze tracking system
CN103313031A (en) Dynamic dispatching video recording system and method
KR20190064295A (en) Apparatus and method for manegementing consumption power in a electrolic device
CN108156388B (en) Power consumption control method and camera device
CN107509274B (en) LED display control method and intelligent equipment
US20190386883A1 (en) Proactively deploying analytics to a computerized edge device
US9392320B1 (en) Adaptive battery life enhancer
CN112867104A (en) Method and apparatus for saving device power consumption
CN114845089B (en) Video picture transmission method and device
CN115412381B (en) Notification method, intelligent access control equipment, doorbell module, server and storage medium
CN111104289A (en) System and method for checking efficiency of GPU (graphics processing Unit) cluster
US11956554B2 (en) Image and video analysis with a low power, low bandwidth camera
CN115059987A (en) Air conditioner control method and device, air conditioner, electronic equipment and storage medium
CN112153245B (en) Control method and camera
US10074098B2 (en) Demographic information collection and content display based on demographic information
WO2019154242A1 (en) Data processing method and apparatus
CN112863096A (en) Monitoring method and device
CN115941882A (en) Method and device for controlling security equipment
CN112948146B (en) Application sharing system, control method and storage medium
CN114007090B (en) Video live broadcast establishing method and device, storage medium and electronic equipment
CN116683470A (en) Load adjusting method, system and terminal based on people stream density
CN112532608B (en) Data processing method and device based on information management system

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: 20210528

RJ01 Rejection of invention patent application after publication