CN115589628A - Method and device for reducing equipment power consumption and electronic equipment - Google Patents

Method and device for reducing equipment power consumption and electronic equipment Download PDF

Info

Publication number
CN115589628A
CN115589628A CN202211180167.1A CN202211180167A CN115589628A CN 115589628 A CN115589628 A CN 115589628A CN 202211180167 A CN202211180167 A CN 202211180167A CN 115589628 A CN115589628 A CN 115589628A
Authority
CN
China
Prior art keywords
equipment
power consumption
preset
determining
consumption control
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
CN202211180167.1A
Other languages
Chinese (zh)
Inventor
孟伟
王存刚
姜哲华
李辉
邓志吉
刘明
周俊杰
袁文君
姚仲亮
叶奇
孔维生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202211180167.1A priority Critical patent/CN115589628A/en
Publication of CN115589628A publication Critical patent/CN115589628A/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
    • 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
    • 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/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • 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
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Sources (AREA)

Abstract

A method, a device and an electronic device for reducing power consumption of the device are provided, wherein the method comprises the following steps: the method comprises the steps of obtaining the working state of a sensor in the equipment, determining the working mode corresponding to the equipment based on the current battery power and the working state, determining the current power consumption control strategy corresponding to the working mode from a power consumption control strategy set, and controlling the equipment to execute the corresponding power consumption control operation according to the current power consumption control strategy. By the method, different working modes of the equipment correspond to different power consumption control strategies, and the equipment can execute corresponding power consumption controller operation according to the power consumption control strategies, so that the power consumption of the equipment can be reduced in each working mode.

Description

Method and device for reducing equipment power consumption and electronic equipment
Technical Field
The present application relates to the field of cellular low-power sleep wake-up technologies, and in particular, to a method and an apparatus for reducing power consumption of a device, and an electronic device.
Background
Along with the development of the cellular low-power-consumption dormancy awakening technology, in a mobile monitoring scene and a scene inconvenient in power supply, a battery is required to be used for supplying power, the electric quantity of the battery seriously restricts the use time of the equipment, and in order to reduce the power consumption of the equipment, the monitoring equipment is required to enter a dormant state when video transmission is not carried out.
In order to achieve the purposes of reducing power consumption of equipment during operation and how to rapidly perform networking and plug-flow to a platform when the equipment is awakened, the current adopted method is a low-power-consumption video monitoring system and a control method thereof, and the method comprises the following steps: by adopting the mode of dynamically detecting the keep-alive time interval, the keep-alive time interval is the longest time interval during which communication is not carried out between the equipment and the platform, when the equipment exceeds the keep-alive time interval, the connection between the equipment and the platform is disconnected, and the optimal average dormancy power consumption is determined on the premise of ensuring that the equipment is in normal work, so that the optimal dormancy standby time is approached.
The method determines the optimal keep-alive time interval to achieve the purpose of reducing the power consumption of the equipment, but the cellular module in the equipment can also achieve the purpose of updating information by periodically performing cell measurement, position updating and the like with the base station in the keep-alive time interval, and when the information is frequently updated, a large amount of electricity needs to be consumed, so that the overall power consumption of the system is increased.
Disclosure of Invention
The application provides a method and a device for reducing power consumption of equipment and electronic equipment, which are used for reducing the overall power consumption of the equipment in different working modes.
In a first aspect, the present application provides a method for reducing power consumption of a device, the method including:
acquiring the working state of a sensor in equipment;
determining a working mode corresponding to the equipment based on the current battery capacity and the working state, wherein the current battery capacity is the residual capacity of a battery in the equipment;
and determining a current power consumption control strategy corresponding to the working mode from the power consumption control strategy set, and controlling the equipment to execute corresponding power consumption control operation according to the current power consumption control strategy.
By the method, different working modes of the equipment are determined based on the current battery power and the working state of the sensor, each working mode corresponds to one power consumption control strategy, the equipment executes corresponding power consumption control operation according to the power consumption control strategy, and the overall power consumption of the equipment is reduced.
In one possible design, determining a working mode corresponding to the device based on the current battery power and the working state includes:
when a preset module in the equipment is in a normal working state, determining that a working mode corresponding to the equipment is a first preset mode; or
When the current battery power exceeds a preset battery power and the equipment does not receive a pull flow request sent by the pull flow platform, determining that a working mode corresponding to the equipment is a second preset mode; or
And when the current battery electric quantity is lower than a preset battery electric quantity, determining that the working mode corresponding to the equipment is a third preset mode.
Based on the method, the working mode corresponding to the equipment can be determined according to whether the equipment is in pull flow or not and the current battery power, so that the server can accurately identify different working states of the equipment.
In one possible design, determining a current power consumption control policy corresponding to the operating mode from a power consumption control policy set, and controlling the device to execute a corresponding power consumption control operation according to the current power consumption control policy includes:
when the working mode is a first preset mode, acquiring a pull stream request corresponding to a pull stream platform connected with the equipment, wherein the pull stream request is used for acquiring video information acquired by the specified equipment;
determining corresponding video information from the equipment based on the stream pulling request, controlling the equipment to process the video information according to a preset mode, and generating stream pulling information corresponding to the video information;
and controlling the equipment to send the stream pulling information to the stream pulling platform until the equipment receives a stream pulling finishing instruction sent by the stream pulling platform.
Based on the method, when the equipment is in the first preset mode and in the stream pulling state, the equipment sends the acquired video information to the stream pulling platform after packaging, so that the rapid stream pulling is realized.
In one possible design, determining a current power consumption control policy corresponding to the operating mode from a power consumption control policy set, and controlling the device to execute a corresponding power consumption control operation according to the current power consumption control policy includes:
when the working mode is a second preset mode, controlling the equipment to start an image detection function corresponding to the sensor;
determining position change information corresponding to the equipment based on the image detection function, and determining change duration corresponding to the position change information;
and controlling the equipment to obtain a target cell and measurement data corresponding to the target cell again based on the change duration, wherein the measurement data records the target cell to which the equipment is currently connected and the target cell which can be selected by the equipment.
By the method, when the equipment is in the second preset mode and the sensor in the equipment is in the normal working state, whether the position of the equipment is changed or not is determined by determining the change of the image of the equipment, so that the reduction of the power consumption of the equipment in the mode is realized.
In one possible design, determining the location change information corresponding to the device based on the image detection function includes:
acquiring each frame of image in video data acquired by the equipment, responding to the fact that the image difference value between adjacent images exceeds a preset threshold value, and determining position change information corresponding to the equipment based on the preset threshold value; or alternatively
Historical position information in a device position detection module is obtained, and position change information corresponding to the device is determined based on the historical position information.
By the method, whether the position of the equipment changes or not is determined by whether the difference value of the adjacent images exceeds a preset threshold value or not and the equipment position detection module, so that the determined equipment position change information is more accurate.
In one possible design, determining a current power consumption control policy corresponding to the operating mode from a set of power consumption control policies, and controlling the device to perform a corresponding power consumption control operation according to the current power consumption control policy, includes:
when the working mode is a third preset mode, controlling the equipment to power off the first preset module set and starting a second preset module;
controlling the second preset module to be connected with the pull platform, and determining the keep-alive time between the equipment and the pull platform, wherein the keep-alive time is the longest time interval during which the equipment and the pull platform do not communicate;
and taking the keep-alive time as the response time of the equipment responding to the pull platform, and taking the response time as a preset starting period corresponding to a sensor in the equipment.
By the method, the first preset module in the equipment is powered off, the second preset module is started, so that the equipment is in the deep sleep state, and the power consumption of the equipment can be reduced by setting the sensor for timed awakening.
In a possible design, after the taking the response time length as a preset starting period corresponding to a sensor in the device, the method further includes:
detecting whether a sensor in the equipment is in a working state;
if so, controlling the equipment to operate the first preset module again, and powering off the second preset module;
if not, when the sleep time of the sensor reaches the preset starting period, controlling the equipment to send heartbeat information to the pull platform, and controlling the sensor to be in a sleep state, wherein the heartbeat information is used for representing that the equipment is in a normal state.
According to the method, the periodic awakening period of the sensor is set, the first preset module is started, and the second preset module is powered off, so that the power consumption of the equipment is saved, and the power consumption of the equipment is reduced.
In a second aspect, the present application provides an apparatus for reducing power consumption of a device, the apparatus comprising:
the acquisition module is used for acquiring the working state of a sensor in the equipment;
the determining module is used for determining a working mode corresponding to the equipment based on the current battery capacity and the working state, wherein the current battery capacity is the residual capacity of a battery in the equipment;
and the control module is used for determining a current power consumption control strategy corresponding to the working mode from the power consumption control strategy set and controlling the equipment to execute corresponding power consumption control operation according to the current power consumption control strategy.
In a possible design, the determining module is specifically configured to determine that a working mode corresponding to the device is a first preset mode when a preset module in the device is in a normal working state, or determine that the working mode corresponding to the device is a second preset mode when the current battery power exceeds a preset battery power and the device does not receive a pull flow request sent by the pull flow platform, or determine that the working mode corresponding to the device is a third preset mode when the current battery power is lower than a preset battery power.
In a possible design, the control module is specifically configured to, when the working mode is a first preset mode, obtain a pull request corresponding to a pull platform connected to the device, determine, based on the pull request, corresponding video information from the device, control the device to process the video information in a preset manner, generate pull information corresponding to the video information, and control the device to send the pull information to the pull platform until the device receives a pull termination instruction sent by the pull platform.
In a possible design, the control module is further configured to, when the operating mode is a second preset mode, control the device to start an image detection function corresponding to the sensor, determine, based on the image detection function, position change information corresponding to the device, determine a change duration corresponding to the position change information, and control the device to reacquire the target cell and measurement data corresponding to the target cell based on the change duration.
In a possible design, the control module is further configured to obtain each frame of image in the video data acquired by the device, and determine, in response to an image difference value between adjacent images exceeding a preset threshold, location change information corresponding to the device based on the preset threshold, or obtain historical location information in the device location detection module, and determine, based on the historical location information, location change information corresponding to the device.
In a possible design, the control module is further configured to, when the working mode is a third preset mode, control the device to power off the first preset module set, start a second preset module, control the second preset module to connect to the pull platform, determine a keep-alive duration between the device and the pull platform, use the keep-alive duration as a response duration for the device to respond to the pull platform, and use the response duration as a preset start period corresponding to a sensor in the device.
In a possible design, the control module is further configured to detect whether a sensor in the device is in a working state, if so, control the device to operate the first preset module again, and power off the second preset module, and if not, control the device to send heartbeat information to the pull platform and control the sensor to be in a sleep state when the sleep time of the sensor reaches the preset start period.
In a third aspect, the present application provides an electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the above method steps for reducing power consumption of a device when executing the computer program stored in the memory.
In a fourth aspect, a computer-readable storage medium has stored therein a computer program which, when executed by a processor, implements the above-mentioned method steps for reducing power consumption of a device.
For each of the first to fourth aspects and possible technical effects of each aspect, please refer to the above description of the possible technical effects for the first aspect or each possible solution in the first aspect, and no repeated description is given here.
Drawings
FIG. 1 is a flow chart of method steps for reducing power consumption of a device according to the present application;
FIG. 2 is a system framework diagram of the apparatus provided herein;
fig. 3 is a schematic diagram corresponding to each module in the device provided by the present application;
FIG. 4 is a flowchart illustrating the overall operation of the apparatus provided herein;
fig. 5 is a flowchart of determining a change in device location according to the present application;
FIG. 6 is a schematic structural diagram of an apparatus for reducing power consumption of a device according to the present application;
fig. 7 is a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail with reference to the accompanying drawings. The particular methods of operation in the method embodiments may also be applied to apparatus embodiments or system embodiments. It should be noted that "a plurality" is understood as "at least two" in the description of the present application. "and/or" describes the association relationship of the associated objects, meaning 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. A is connected with B and can represent: a and B are directly connected and A and B are connected through C. In addition, in the description of the present application, the terms "first," "second," and the like are used for descriptive purposes only and are not intended to indicate or imply relative importance nor order to be construed.
In the prior art, in order to achieve the purpose of reducing the power consumption of the device and achieve the purpose of rapidly pulling the stream from the device by the stream pulling platform, at present, the method is adopted to adjust the keep-alive interval duration between the adjusted device and the stream pulling platform, and achieve the purpose of reducing the power consumption of the device by adjusting the keep-alive interval duration to the optimal keep-alive interval duration.
In order to solve the foregoing problem, an embodiment of the present application provides a method for reducing power consumption of a device, which is used to determine a power consumption control operation corresponding to a power consumption control policy based on different operating modes of the device, so that the device executes the power consumption control operation, thereby achieving a purpose of reducing power consumption of the device. The method and the device in the embodiment of the application are based on the same technical concept, and because the principles of the problems solved by the method and the device are similar, the device and the embodiment of the method can be mutually referred, and repeated parts are not repeated.
The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1, the present application provides a method for reducing power consumption of a device, which can reduce power consumption of the device and improve a stream pulling efficiency of a stream pulling platform, and an implementation flow of the method is as follows:
step S1: and acquiring the working state of a sensor in the equipment.
The embodiment of the application is to solve the problem that power consumption of a cellular module of an internet of things device is high during dormancy and pull streaming, and meanwhile, solve the problem that the pull streaming is time-consuming due to the fact that a low-power-consumption device is set up for a long time from dormancy to awakening a network, a system framework schematic diagram of the device in the embodiment of the application is shown in fig. 2, a server is connected with each base station and a cloud platform, the cloud platform can be a pull streaming platform, the base station can be connected with devices such as a tablet computer and the like and can also be connected with the low-power-consumption internet of things device, the low-power-consumption internet of things device can be a mobile monitoring device, an image acquisition device and the like, and no specific limitation is made here.
In a mobile monitoring scene, a low-power consumption internet of things device collects video images of a monitoring site, the cloud platform collects the video images, a schematic diagram corresponding to each module in the device in the embodiment of the present application is shown in fig. 3, and in fig. 3, the device includes: the device comprises a main processor, a low-power-consumption MCU, a PIR detection module, an image acquisition module, a cellular module, an NBIOT module, an SIM1 module and an SIM2 module, wherein the described low-power-consumption MCU is a module based on a chip, the PIR module can be a sensor and is used for detecting whether equipment moves and detecting video data, the NBIOT module is used for connecting a network platform and realizing communication with the network platform, the SIM1 and SIM2 modules are used for identifying the equipment which is communicated with other communication modules or other base stations, and the main processor is used for processing information sent by each module in the equipment.
After the device is powered on and initialized, the device is connected to the cloud platform through the cellular module, the cellular module in the device is required to enter the cloud platform through login information, and after the main processor is started, the NBIOT module is powered off to reduce power consumption.
Because this application embodiment is the different power consumption control operations that the different mode of operation based on equipment confirmed, consequently, need to confirm the mode of operation of equipment based on the current battery power of equipment and sensor, the operating condition of sensor includes: the sensor is in a working state, the sensor is in an idle state, and the sensor is in a dormant state.
Based on the above description, the working state of the sensor is determined, and the working mode of the device can be estimated based on the working state of the sensor because the working states of the sensor in different working modes are different.
Step S2: and determining a working mode corresponding to the equipment based on the current battery power and the working state.
The above description has obtained the operating state of the sensor in the device, and then obtained the current battery level of the device, which is the remaining battery level of the device battery.
After the working state of the sensor in the device and the current battery power are obtained, the specific process of determining the working mode of the device based on the working state and the current battery power is as follows:
when a preset module in the equipment is in a normal working state, the equipment is in a first preset mode, the preset module can be a 5G communication module, the preset module can also be other communication modules, and the difference is stated here.
And when the current battery power of the equipment exceeds the preset battery power and the equipment does not receive the pull flow request sent by the pull flow platform, determining that the equipment is in a second preset mode.
When the current battery electric quantity of the equipment is lower than the preset battery electric quantity, other modules connected with the image acquisition module in the equipment are powered off, the communication module is powered off, and the equipment is determined to be in a third preset mode.
By the method, different working modes of the equipment can be determined, and different power consumption control operations corresponding to the different working modes can be determined, so that the method in the embodiment of the application can cover more real-time scenes, and the reduction of the power consumption of the equipment is ensured.
And step S3: and determining a current power consumption control strategy corresponding to the working mode from the power consumption control strategy set, and controlling the equipment to execute corresponding power consumption control operation according to the current power consumption control strategy.
After different working modes of the equipment are determined, in order to determine power consumption control operation corresponding to each working mode, a power consumption control strategy corresponding to the current working mode is determined from the power consumption control strategy set, and the power consumption control operation corresponding to the power consumption control strategy is determined, so that the equipment executes the power consumption control operation to achieve the purpose of reducing power consumption, and the specific process of reducing the power consumption corresponding to each working mode is as follows:
when the device is in a first preset mode, when a sensor in the device is awakened to be in a working state, the device enters a stream pulling mode, a stream pulling request corresponding to a stream pulling platform connected with the device needs to be obtained, the stream pulling request indicates that video information collected by an image collecting module is obtained, the video information corresponding to the stream pulling request is determined from the image collecting module, the video information is processed according to a preset mode, the preset mode is that the video information is coded and packaged, the coded and packaged video information is sent to the stream pulling platform as stream pulling information until the stream pulling platform sends a stream pulling finishing instruction to the device, and the device exits the stream pulling mode.
The current battery electric quantity of equipment in the first preset mode exceeds the preset battery electric quantity, the equipment can regularly detect the battery electric quantity and the working state of a sensor, when no current pulling request exists and the current battery electric quantity exceeds the preset battery electric quantity, the equipment enters the second preset mode, in the second preset mode, an image acquisition module continues to acquire video information, and the sensor in the equipment has an image detection function, so that whether an abnormal condition exists in the video information is monitored based on the sensor, when the abnormal condition occurs, a honeycomb image module is wakened up, and abnormal information corresponding to the abnormal condition is reported to a current pulling platform.
Further, as the main processor and the cellular module in the second preset mode are powered normally, when the abnormal information needs to be reported to the pull leveling platform, second-level network recovery and data transmission can be realized.
In the second preset mode, in order to prevent the position of the device from being changed and cause the sensor in the device to detect an abnormal condition, so as to report the abnormal condition, the position change information corresponding to the device is determined based on the image detection function of the sensor, and the specific determination process is as follows:
the sensor acquires video data acquired in an image acquisition module, the lens multiple of the image acquisition module is not changed when the image acquisition module acquires the video data, the video data is analyzed into continuous multi-frame images, image difference values between adjacent images are calculated, whether the image difference values exceed a preset threshold value or not is judged, and when the image difference values exceed the preset threshold value, the position of equipment is determined not to be changed; when the image difference value is lower than a preset threshold value, determining that the position of the equipment is changed, and determining position change information corresponding to the equipment;
in a possible design, it is determined whether the device location is changed, and the device location may also be determined by obtaining historical location information in a location detection module, where the location detection module may be a Global Navigation Satellite System (GNSS), and when the historical location information in continuous time is inconsistent, it may be determined that the device location is changed, and location change information of the device is obtained; when the historical position information in the continuous time is consistent, the position of the representative equipment in the continuous time is not changed.
It should be noted that, when the position of the device is changed, determining a start time of the position movement of the device and an end time of the position movement stop of the device, calculating a time difference between the start time and the end time, and adding the time difference to a preset waiting time, where the preset waiting time is a time that is continuously waited after the end time, obtaining a change time duration corresponding to the position change information, after determining the change time duration, waiting for the change time duration to arrive, and after the change time duration arrives, the device reacquires a target cell currently connected and measurement data corresponding to the target cell, where the measurement data includes the target cell currently connected and a target cell selectable by the device.
When the current battery power of equipment is less than preset battery power and does not have and draws a class request, equipment will get into the third and predetermine the mode, and the third predetermines the mode and opens the back, and equipment can cut off the power supply with first default module set, and this first default module set includes in concentrated: the method comprises a main processor and a cellular communication module, and a second preset module is started, wherein the second preset module is an NBIOT module, the NBIOT module can complete network registration based on a connected SIM1 card, and receives communication data between equipment and a pull platform based on a registered account number corresponding to the SIM1 card, after the NBIOT module logs in the pull platform based on the registered account number, the keep-alive time length between the equipment and the pull platform is obtained, the keep-alive time length is the longest time interval when the equipment is not communicated with the pull platform, and if the equipment is not communicated with the pull platform within the keep-alive time length, the connection between the equipment and the pull platform is disconnected.
After the keep-alive time length of the equipment is determined, the keep-alive time length is used as the response time length of the equipment for responding to the pull platform, when the pull platform sends a pull request to the equipment, the equipment in a third preset mode responds in the response time length, the NBIOT module synchronizes the response time length to the pull platform and carries out periodic paging according to the response time length to determine whether the pull request exists in the paging period, and when the pull request of the pull platform is monitored, the power supply is carried out on the main processor and the cellular communication module through the low-power-consumption MCU module, the longer the response time length is, the longer the paging interval is, and therefore the power consumption of the equipment is lower.
Further, the NBIOT module in the device takes the response time length as a preset starting period corresponding to the sensor in the device, detects whether the sensor in the device is in a working state according to the preset period after the starting period of the sensor in the device is determined, controls the device to operate the first preset module again when the sensor is in the working state, and powers off the second preset module; when the sensor is not in a working state, the sensor is in a dormant state, when the dormant time of the sensor reaches a preset starting period, the control equipment sends heartbeat information to the pull leveling platform, the heartbeat information is used for informing the pull leveling platform that the equipment is in a normal state, and after the sensor sends the heartbeat information, the server controls the sensor to be in the dormant state.
Further, as shown in fig. 4, when the device is started, a cellular image module in the device is initialized to power on, an NBIOT module in the device is powered on and powered off, if the device has a GNSS module, the device initializes the GNSS module, initiates registration to a pull flow platform based on a cellular communication module, and the server needs to acquire a working mode of the device.
When the working mode of the equipment is not the first preset mode, the equipment starts an image motion detection function, judges whether a picture changes in video data acquired by an image acquisition module, and detects the working mode of the equipment again when the picture does not change; when the picture changes, if the position of the equipment is changed, the change duration is determined based on the steps described above, and when the change duration is reached, the neighbor cell measurement and the cell reselection are initiated once to obtain the measurement data.
When the working mode of the equipment is not the first preset mode and the second preset mode, the equipment enters a third preset mode, the first preset module set is powered off, the second preset module is started, the pull platform is registered based on the NBIOT module and is logged into the pull platform, the keep-alive duration and the response duration between the equipment and the pull platform are determined based on the description, after the response duration is determined, the paging cycle is determined based on the response duration, the equipment enters a power-saving mode when the NBIOT module is idle, whether the sensor is awakened or not needs to be judged after the power-saving mode is entered, and when the sensor is awakened, the equipment powers on the first preset module set and powers off the second preset module; when the sensor is not awakened, judging whether the sleeping time of the sensor reaches the keep-alive duration, when the keep-alive duration reaches, sending heartbeat information to the pull platform, and entering a power-saving mode after the heartbeat information is sent; when the keep-alive time is up, the sensor judges whether the sensor is awakened or not when the preset starting period is up.
In the overall work flow diagram of the device, the detection of whether the position of the device is changed is also involved, and the determination flow diagram of the position change of the device is shown in fig. 5, the position state of the device is initialized to be unchanged, when the device is configured with a GNSS, the position information of the device currently positioned based on the GNSS is acquired, then whether the position of the device is shifted is determined based on the position information, when the position of the device is shifted, the position state information of the device is updated to be unchanged, and when the position of the device is not shifted, the position state information of the device is updated to be position change.
When the device is not configured with the GNSS, if the image detection module is not triggered, determining whether the image detection module is triggered according to the preset waiting time period periodicity, if the image acquisition module in the device is changed when the image detection module is triggered, judging whether the image detection is finished, and if the image acquisition module in the device is not changed, detecting whether the image acquisition module in the device is changed according to the preset waiting time period periodicity.
When judging whether the image detection is finished or not, if not, judging whether the image detection is finished or not according to preset waiting time periodicity; if the image detection is finished and the image acquisition module is determined to be changed, detecting the change of the identification position again; when determining that the image acquisition module is not changed, the image acquisition module in the device comprises: the system comprises a holder, a lens and the like, wherein when the holder moves, the change of an image acquisition module is determined; and when the lens is zoomed, determining that the image acquisition module is changed.
When the image acquisition module is determined not to be changed, determining the image difference value of the adjacent image in the video data acquired by the image acquisition module based on the description, and updating the position state of the equipment into position change when the image difference value exceeds a preset threshold value; and when the image difference value is lower than a preset threshold value, updating the position state information of the equipment to be unchanged.
Based on the method, when the equipment is awakened, the cellular image module is quickly connected with the flow pulling platform, so that efficient flow pulling is realized, meanwhile, after the position of the equipment is changed and the preset waiting time is reached, the target cell measurement and the target cell reselection are triggered once, so that frequent information updating between the cellular image module and the base station is avoided, and when the electric quantity of the equipment is lower than a preset threshold value, the equipment enters a third preset mode, so that the equipment enters a deep sleep mode, and the whole power consumption of the equipment is reduced.
Based on the same inventive concept, an embodiment of the present application further provides an apparatus for reducing power consumption of a device, where the apparatus for reducing power consumption of a device is used to implement a function of a method for reducing power consumption of a device, and with reference to fig. 6, the apparatus includes:
an obtaining module 601, configured to obtain a working state of a sensor in a device;
a determining module 602, configured to determine a working mode corresponding to the device based on a current battery capacity and the working state, where the current battery capacity is a remaining capacity of a battery in the device;
the control module 603 is configured to determine, from the power consumption control policy set, a current power consumption control policy corresponding to the working mode, and control the device to execute a corresponding power consumption control operation according to the current power consumption control policy.
In a possible design, the determining module 602 is specifically configured to determine that a working mode corresponding to the device is a first preset mode when a preset module in the device is in a normal working state, or determine that the working mode corresponding to the device is a second preset mode when the current battery power exceeds a preset battery power and the device does not receive a pull stream request sent by the pull stream platform, or determine that the working mode corresponding to the device is a third preset mode when the current battery power is lower than a preset battery power.
In a possible design, the control module 603 is specifically configured to, when the working mode is a first preset mode, obtain a pull request corresponding to a pull platform connected to the device, determine corresponding video information from the device based on the pull request, control the device to process the video information according to a preset manner, generate pull information corresponding to the video information, and control the device to send the pull information to the pull platform until the device receives a pull termination instruction sent by the pull platform.
In a possible design, the control module 603 is further configured to, when the operating mode is a second preset mode, control the device to start an image detection function corresponding to the sensor, determine, based on the image detection function, position change information corresponding to the device, determine a change duration corresponding to the position change information, and control the device to reacquire the target cell and measurement data corresponding to the target cell based on the change duration.
In a possible design, the control module 603 is further configured to obtain each frame of image in the video data acquired by the device, and determine, in response to that an image difference value between adjacent images exceeds a preset threshold, position change information corresponding to the device based on the preset threshold, or obtain historical position information in the device position detection module, and determine, based on the historical position information, the position change information corresponding to the device.
In a possible design, the control module 603 is further configured to, when the working mode is a third preset mode, control the device to power off the first preset module set, start a second preset module, control the second preset module to connect to the streaming platform, determine a keep-alive duration between the device and the streaming platform, use the keep-alive duration as a response duration for the device to respond to the streaming platform, and use the response duration as a preset start period corresponding to a sensor in the device.
In a possible design, the control module 603 is further configured to detect whether a sensor in the device is in a working state, if so, control the device to operate the first preset module again, and power off the second preset module, otherwise, control the device to send heartbeat information to the pull platform and control the sensor to be in a sleep state when the sleep time of the sensor reaches the preset start period.
Based on the same inventive concept, an embodiment of the present application further provides an electronic device, where the electronic device can implement the function of the foregoing apparatus for reducing power consumption of the device, and with reference to fig. 7, the electronic device includes:
at least one processor 701, and a memory 702 connected to the at least one processor 701, in this embodiment, a specific connection medium between the processor 701 and the memory 702 is not limited, and fig. 7 illustrates an example where the processor 701 and the memory 702 are connected through a bus 700. The bus 700 is shown in fig. 7 by a thick line, and the connection between other components is merely illustrative and not limited thereto. The bus 700 may be divided into an address bus, a data bus, a control bus, etc., and is shown in fig. 7 with only one thick line for ease of illustration, but does not represent only one bus or one type of bus. Alternatively, the processor 701 may also be referred to as a controller, without limitation to name a few.
In the embodiment of the present application, the memory 702 stores instructions executable by the at least one processor 701, and the at least one processor 701 may execute the instructions stored in the memory 702 to perform the method for reducing the power consumption of the device as discussed above. The processor 701 may implement the functions of the various modules in the apparatus shown in fig. 6.
The processor 701 is a control center of the apparatus, and may connect various parts of the entire control device by using various interfaces and lines, and perform various functions and process data of the apparatus by operating or executing instructions stored in the memory 702 and calling data stored in the memory 702, thereby performing overall monitoring of the apparatus.
In one possible design, processor 701 may include one or more processing units, and processor 701 may integrate an application processor, which handles primarily the operating system, user interfaces, and applications, among others, and a modem processor, which handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 701. In some embodiments, processor 701 and memory 702 may be implemented on the same chip, or in some embodiments, they may be implemented separately on separate chips.
The processor 701 may be a general-purpose processor, such as a Central Processing Unit (CPU), a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like, that may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method for reducing power consumption of a device disclosed in the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
Memory 702, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory 702 may include at least one type of storage medium, and may include, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charge Erasable Programmable Read Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and so on. The memory 702 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 702 in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
By programming the processor 701, the code corresponding to the method for reducing the power consumption of the device described in the foregoing embodiment may be solidified into a chip, so that the chip can perform a step of reducing the power consumption of the device in the embodiment shown in fig. 1 when running. How to program the processor 701 is well known to those skilled in the art and will not be described herein.
Based on the same inventive concept, the present application also provides a storage medium storing computer instructions, which when executed on a computer, cause the computer to perform the method for reducing the power consumption of the device discussed above.
In some possible embodiments, the present application provides that the various aspects of a method for reducing power consumption of a device may also be implemented in the form of a program product comprising program code means for causing a control device to carry out the steps of a method for reducing power consumption of a device according to various exemplary embodiments of the present application described above in this specification, when the program product is run on an apparatus.
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 present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to 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.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method for reducing power consumption of a device, comprising:
acquiring the working state of a sensor in equipment;
determining a working mode corresponding to the equipment based on the current battery power and the working state, wherein the current battery power is the residual power of a battery in the equipment;
and determining a current power consumption control strategy corresponding to the working mode from the power consumption control strategy set, and controlling the equipment to execute corresponding power consumption control operation according to the current power consumption control strategy.
2. The method of claim 1, wherein determining the operating mode corresponding to the device based on the current battery level and the operating state comprises:
when a preset module in the equipment is in a normal working state, determining that a working mode corresponding to the equipment is a first preset mode; or alternatively
When the current battery power exceeds a preset battery power and the equipment does not receive a pull flow request sent by the pull flow platform, determining that the working mode corresponding to the equipment is a second preset mode; or
And when the current battery electric quantity is lower than a preset battery electric quantity, determining that the working mode corresponding to the equipment is a third preset mode.
3. The method of claim 1, wherein determining a current power consumption control policy corresponding to the operating mode from a set of power consumption control policies, and controlling the device to perform a corresponding power consumption control operation according to the current power consumption control policy comprises:
when the working mode is a first preset mode, acquiring a pull stream request corresponding to a pull stream platform connected with the equipment, wherein the pull stream request is used for acquiring video information acquired by the specified equipment;
determining corresponding video information from the equipment based on the stream pulling request, controlling the equipment to process the video information according to a preset mode, and generating stream pulling information corresponding to the video information;
and controlling the equipment to send the stream pulling information to the stream pulling platform until the equipment receives a stream pulling finishing instruction sent by the stream pulling platform.
4. The method of claim 1, wherein determining a current power consumption control policy corresponding to the operating mode from a set of power consumption control policies, and controlling the device to perform a corresponding power consumption control operation according to the current power consumption control policy comprises:
when the working mode is a second preset mode, controlling the equipment to start an image detection function corresponding to the sensor;
determining position change information corresponding to the equipment based on the image detection function, and determining change duration corresponding to the position change information;
and controlling the equipment to obtain a target cell and measurement data corresponding to the target cell again based on the changed duration, wherein the measurement data records the target cell to which the equipment is currently connected and the target cell selectable by the equipment.
5. The method of claim 4, wherein determining the location change information corresponding to the device based on the image detection function comprises:
acquiring each frame of image in video data acquired by the equipment, responding to the fact that the image difference value between adjacent images exceeds a preset threshold value, and determining position change information corresponding to the equipment based on the preset threshold value; or
Historical position information in a device position detection module is obtained, and position change information corresponding to the device is determined based on the historical position information.
6. The method of claim 1, wherein determining a current power consumption control policy corresponding to the operating mode from a set of power consumption control policies, and controlling the device to perform a corresponding power consumption control operation according to the current power consumption control policy, comprises:
when the working mode is a third preset mode, controlling the equipment to power off the first preset module set and starting a second preset module;
controlling the second preset module to be connected with the pull platform, and determining the keep-alive time between the equipment and the pull platform, wherein the keep-alive time is the longest time interval during which the equipment and the pull platform do not communicate;
and taking the keep-alive time as the response time of the equipment responding to the pull platform, and taking the response time as a preset starting period corresponding to a sensor in the equipment.
7. The method of claim 6, wherein the step of using the response time period as a preset activation period for a sensor in the device further comprises:
detecting whether a sensor in the equipment is in a working state;
if so, controlling the equipment to operate the first preset module again, and powering off the second preset module;
if not, when the sleep time of the sensor reaches the preset starting period, controlling the equipment to send heartbeat information to the pull platform and controlling the sensor to be in a sleep state, wherein the heartbeat information is used for representing that the equipment is in a normal state.
8. An apparatus for reducing power consumption of a device, comprising:
the acquisition module is used for acquiring the working state of a sensor in the equipment;
the determining module is used for determining a working mode corresponding to the equipment based on the current battery capacity and the working state, wherein the current battery capacity is the residual capacity of a battery in the equipment;
and the control module is used for determining a current power consumption control strategy corresponding to the working mode from the power consumption control strategy set and controlling the equipment to execute corresponding power consumption control operation according to the current power consumption control strategy.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1-7 when executing the computer program stored on the memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 7.
CN202211180167.1A 2022-09-26 2022-09-26 Method and device for reducing equipment power consumption and electronic equipment Pending CN115589628A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211180167.1A CN115589628A (en) 2022-09-26 2022-09-26 Method and device for reducing equipment power consumption and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211180167.1A CN115589628A (en) 2022-09-26 2022-09-26 Method and device for reducing equipment power consumption and electronic equipment

Publications (1)

Publication Number Publication Date
CN115589628A true CN115589628A (en) 2023-01-10

Family

ID=84773096

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211180167.1A Pending CN115589628A (en) 2022-09-26 2022-09-26 Method and device for reducing equipment power consumption and electronic equipment

Country Status (1)

Country Link
CN (1) CN115589628A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116938613A (en) * 2023-09-18 2023-10-24 北京交通大学 Dormancy method of monitoring sensor based on nonlinear information age and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116938613A (en) * 2023-09-18 2023-10-24 北京交通大学 Dormancy method of monitoring sensor based on nonlinear information age and electronic equipment
CN116938613B (en) * 2023-09-18 2023-12-01 北京交通大学 Dormancy method of monitoring sensor based on nonlinear information age and electronic equipment

Similar Documents

Publication Publication Date Title
US10452123B2 (en) Predictive power saving and screen dimming for computing devices
CN110198558B (en) Standby optimization method and device, computer equipment and storage medium
CN109803224B (en) Low-power-consumption positioning method and system, positioning terminal, service platform and control terminal
US20060262739A1 (en) Extending battery life in communication devices having a plurality of receivers
EP2071893A1 (en) Dynamic adjustment of setup time based on paging performance
CN104977979B (en) Clock source switch method and system
CN106412845B (en) Dormancy method and device of wireless fidelity Wi-Fi equipment
CN115589628A (en) Method and device for reducing equipment power consumption and electronic equipment
CN108449785B (en) EGPRS communication method and system based on hierarchical energy consumption management
CN110572869A (en) equipment awakening method and device based on BLE and Hall switch
CN107708192B (en) Method and device for automatically switching Bluetooth working modes
CN113691722A (en) Control method and device and electronic equipment
WO2018014620A1 (en) Control method and apparatus for gps, and storage medium
CN106598193B (en) Power consumption control method and device
CN110475321B (en) Power-saving optimization method and device for wireless local area network (AP)
CN112732062B (en) Energy management method and system for lightweight operating system of terminal of Internet of things
CN110928586B (en) APP background keep-alive method and device
CN111246549B (en) Method and device for providing node dormancy and wakeup time
CN111679730B (en) Processor state control method and device based on FreeRTOS
CN112135260B (en) Control method of main control unit, reporting method of position information and tracker
CN113207160A (en) Terminal wake-up method and device, computer equipment and storage medium
WO2019153874A1 (en) Method and device for supplying power to lpwa device
CN111722568B (en) Method and device for controlling electric toothbrush and central control device
CN112954783B (en) Single-chip low-power-consumption system based on built-in GNSS and implementation method thereof
CN109040953B (en) Mobile terminal positioning control system based on Internet of things

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