CN112867109B - Power consumption balancing method and system, electronic device and readable storage medium - Google Patents

Power consumption balancing method and system, electronic device and readable storage medium Download PDF

Info

Publication number
CN112867109B
CN112867109B CN202011634092.0A CN202011634092A CN112867109B CN 112867109 B CN112867109 B CN 112867109B CN 202011634092 A CN202011634092 A CN 202011634092A CN 112867109 B CN112867109 B CN 112867109B
Authority
CN
China
Prior art keywords
power consumption
message
modem
time
data
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.)
Active
Application number
CN202011634092.0A
Other languages
Chinese (zh)
Other versions
CN112867109A (en
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.)
Queclink Wireless Solutions Co Ltd
Original Assignee
Queclink Wireless Solutions 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 Queclink Wireless Solutions Co Ltd filed Critical Queclink Wireless Solutions Co Ltd
Priority to CN202011634092.0A priority Critical patent/CN112867109B/en
Publication of CN112867109A publication Critical patent/CN112867109A/en
Application granted granted Critical
Publication of CN112867109B publication Critical patent/CN112867109B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04W52/0245Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal according to signal strength
    • 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
    • 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)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention relates to the field of Internet of things and discloses a power consumption balancing method, a power consumption balancing system, electronic equipment and a readable storage medium. In the invention, in a first message uploading period, first power consumption compensation time of the modem is obtained; and when the first power consumption compensation time is longer than the preset average working time of the uploaded message, rejecting to upload the first message data in the first message uploading period. The power consumption balance can be dynamically realized, and the service life of the equipment is prolonged.

Description

Power consumption balancing method and system, electronic device and readable storage medium
Technical Field
The embodiment of the invention relates to the field of Internet of things, in particular to a power consumption balancing method, a power consumption balancing system, electronic equipment and a readable storage medium.
Background
Low power operation remains a key driver for various industrial applications. With the increase in sleep modes, power management suddenly shifted from a pure hardware problem to something the software developer had to consider. Because the internet of things devices such as the Tracker system report data in a wireless manner through a General Packet Radio Service (GPRS) module, the networking quality and the networking speed of the GPRS module and the average operation current consumption of the GPRS module are directly affected by the strength of surrounding signals in a working wireless environment, and the service life of the whole device is further affected. In the case of a fixed battery capacity, if the service life of the device is expected to reach a theoretical value, the average operation consumption of the device must be controlled within a certain range.
Because the traditional data reporting frequency is driven by data acquisition, namely, a modem is turned on to report after data is acquired every time. The processing mode causes that data reporting and data acquisition are bound together in the process, the data reporting frequency completely depends on the data acquisition, the service life of the equipment is directly controlled by the data acquisition frequency, the modem still carries out uploading work when network faults or network states are not good, the power consumption is obviously increased, and the service life of the equipment is further influenced.
Disclosure of Invention
The embodiment of the invention aims to provide a power consumption balancing method, a power consumption balancing system, electronic equipment and a readable storage medium, which can dynamically realize power consumption balancing and prolong the service life of the equipment.
In order to solve the above technical problem, an embodiment of the present invention provides a power consumption balancing method, including the following steps:
acquiring first power consumption compensation time of the modem in a first message uploading period;
and when the first power consumption compensation time is longer than the preset average working time of the uploaded message, rejecting to upload the first message data in the first message uploading period.
An embodiment of the present invention further provides a power consumption balancing system, including:
the acquisition module is used for acquiring first power consumption compensation time of the modem in a first message uploading period;
and the power consumption compensation module is used for refusing to upload the first message data in the first message uploading period when the first power consumption compensation time is longer than the preset average working time of the uploaded message.
An embodiment of the present invention also provides an electronic device, including:
at least one modem; and a memory communicatively coupled to the at least one modem; wherein the memory stores instructions executable by the at least one modem to enable the at least one modem to perform any of the power consumption balancing methods.
Embodiments of the present invention also provide a computer-readable storage medium, and when being executed by a processor, the computer program implements any one of the power consumption balancing methods.
Compared with the related art, the method and the device have the advantages that the power consumption compensation time is used for confirming the power consumption condition of the current device, the next working state is dynamically adjusted according to the power consumption condition, and when the power consumption compensation time exceeds the average working time, namely the power consumption is too high, the uploading work of the modem is suspended to reduce the consumption, so that the electric quantity is saved, and the service life of the device is prolonged.
In addition, the method for power consumption balancing according to an embodiment of the present invention further includes, after acquiring the first power consumption compensation time of the modem in the first packet upload period: when the first power consumption compensation time is less than or equal to the average working time of the uploaded message, acquiring the first message data; and forming a first message according to the first message data, and uploading the first message through the modem to continue working under the condition of low power consumption of the equipment so as to increase the use efficiency of the equipment.
In addition, the method for balancing power consumption according to an embodiment of the present invention, where uploading the first packet through the modem, includes: acquiring the time for the modem to upload the first message; calculating the difference value between the time for uploading the first message and the average working time of the uploaded message; and adding the difference value and the first power consumption compensation time to be used as a second power consumption compensation time. Under the condition that the power consumption of the equipment is not high, the power consumption compensation time is accumulated, so that the power consumption condition of the equipment is more accurate.
In addition, in the power consumption balancing method provided by the embodiment of the present invention, in a second packet uploading period, a second power consumption compensation time of the modem is obtained, where the second power consumption compensation time is a difference between the first power consumption compensation time and an average working time of the uploaded packet; determining that the second power consumption compensation time is less than or equal to the preset average working time of the uploaded message; acquiring second message data, wherein the second message data comprises the first message data; and forming a second message according to the second message data, and uploading the second message through the modem. When the first message period is not uploaded, the data of the first message is also uploaded in the second message period, and the uploading efficiency is improved.
In addition, the method for power consumption balancing according to an embodiment of the present invention, where the modem refuses to upload the second packet data when the power consumption compensation time is longer than the average working time of the upload packet, includes: when a second message period starts, acquiring the first power consumption compensation time; and determining that the first power consumption compensation time is longer than the average working time of the uploading message, and enabling the modem to enter a sleep state. The current power consumption condition and the use condition of the equipment are determined by acquiring the value of the power consumption compensation time, so that the uploading work can be reduced under the condition of high power consumption to reduce the consumption of power and electricity.
In addition, the method for power consumption balancing according to the embodiment of the present invention, when the second packet cycle starts and the first power consumption compensation time is obtained, further includes: determining that the first power consumption compensation time is less than or equal to the average working time of the uploading message; acquiring the second message data from the data queue; and uploading the second message through the modem. When the power consumption compensation time does not exceed the average working time, namely the current equipment has good use condition, the equipment can work normally.
In addition, the method for power consumption balancing according to an embodiment of the present invention, after uploading the second packet through the modem, includes: acquiring the time for the modem to upload the second message; calculating a second difference value between the time for uploading the second message and the average working time of the uploaded messages; adding the second difference to the first power consumption compensation time as the second power consumption compensation time. The calculation of the power consumption compensation time adopts an accumulation mode, so that the power consumption service condition can be accumulated, and the power consumption compensation is more accurate.
In addition, the method for balancing power consumption according to an embodiment of the present invention, where uploading the first packet through the modem, includes: and when the first message is uploaded, if the network signal intensity is lower than a preset intensity threshold value, the first message is stopped being uploaded through the modem. And a mechanism which stops working when the network signal intensity is lower than a preset intensity threshold value is set to be used as a second defense line for preventing large-scale power loss, so that the effect of equalization is better.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a flowchart of a power consumption balancing method according to a first embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a Tracker system according to a second embodiment of the present invention;
fig. 3 is a timing diagram of a conventional acquisition report according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a power consumption balancing method according to a second embodiment of the present invention;
fig. 5 is a flowchart of a power consumption balancing method according to a second embodiment of the present invention;
fig. 6 is a timing chart of a power consumption balancing method according to a second embodiment of the present invention;
fig. 7 is a schematic structural diagram of a power consumption balancing system according to a third embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
A first embodiment of the present invention relates to a power consumption balancing method. The specific process is shown in FIG. 1.
Step 101, acquiring a first power consumption compensation time of the modem in a first message uploading period;
the traditional technology usually adopts a data acquisition and uploading connection mode, the data reporting frequency completely depends on data acquisition, namely, after the sensor acquires data, the modem immediately uploads the data, however, the mode can lead the service life of the equipment to be directly controlled by the data acquisition frequency, when the data acquisition frequency is high, the working period of the equipment is short, and when the data acquisition frequency is low, the working period of the equipment is long. If the service life of the equipment needs to be prolonged, the data acquisition frequency needs to be reduced, but many sensors need to acquire data continuously, for example, temperature and humidity sensors need to sense the temperature and humidity of the environment regularly to acquire environment data. Therefore, the method of reducing the collection frequency cannot be adopted to increase the service life of the equipment.
The storage area is configured to store data acquired by the peripheral device, and the storage area may be a data queue, a data pool, or other units with a storage function.
The peripheral equipment (such as a sensor) can collect data according to a preset interval period or a preset collection condition without worrying about the influence of the collection frequency on the uploading frequency. Meanwhile, the data uploading is performed periodically, that is, the data in the data queue is uploaded to the background server according to a preset interval. The data acquisition and the data uploading are separated by setting the data queue, so that the uploading frequency of the data is not influenced by the data acquisition frequency, and the start and the pause of the work can be dynamically controlled according to the use condition and the work flow consumption condition of the equipment, so as to realize the balanced management of the power consumption.
Further, after the data is stored in the data queue, the modem periodically uploads the data in the data queue to the background server. Specifically, at the beginning of an upload cycle, the modem first obtains the value of the power consumption compensation time, which is an index for measuring the current power consumption condition of the device, and the calculation method is to subtract the preset average working time from the working time of the modem several times, and cumulatively add the difference values of several times to obtain the power consumption compensation time.
Let the first power consumption compensation time be Δ T, the average operating time be a, and the actual operating time (actual upload time) be T:
ΔT=(T1-A)+(T2-A)+…(Tn-A);
wherein, T1 is the actual working time of the first message period, T2 is the actual working time of the second message period, and so on, tn is the actual working time of the nth message period.
When Δ T > a, Δ T '= Δ T-a, the Δ T' is taken as the second power consumption compensation time.
And 102, when the first power consumption compensation time is longer than the preset average working time of the uploaded message, refusing to upload first message data in the first message uploading period.
Before uploading the first message, the modem acquires the current power consumption compensation time of the equipment and judges whether the value of the power consumption compensation time is larger than the average working time.
When the power consumption compensation time is less than or equal to the average working time, the modem acquires first message data (generally all data which are not uploaded in the data queue) from the data queue, uploads the first message data to the background server, records the actual working time, and updates a delta T value according to the actual working time after the uploading is finished, namely delta T = (T1-A) + (T2-A) + (8230; (Tn-A);
when the power consumption compensation time is longer than the average working time, the modem refuses to upload the first message, namely, the data of the first message is not acquired from the data queue, the modem enters a dormant state, and the average working time is subtracted from the current power consumption compensation time to be used as the second power consumption compensation time, namely when the delta T is larger than A, the delta T' = delta T-A. By the method, the actual average working time uploaded by the equipment message is maintained at about the preset average working time, so that the average working time of the equipment is controlled within a certain level, and the condition that the working life consistency of all the equipment is good is further achieved.
It should be noted that the message uploading process of the modem includes startup, network registration, PDP activation, server connection, data transmission, and shutdown, and entering the sleep state of the modem means that the modem does not perform the startup process.
In the working process of the modem, if the network signal strength is lower than the preset strength threshold value, networking timeout may be caused, the working time of a network registration step, a PDP activation step, a server connection step and a data sending step is affected, even long-time delay may be caused, and a large amount of electric quantity of equipment is consumed, so that when the network signal is weak or connection is timed out for many times, the modem is turned off, and uploading work is finished to reduce power consumption and save electric quantity.
Compared with the related art, the embodiment calculates the power consumption exceeding the average working time when the first message is uploaded as the power consumption compensation time, so as to confirm the power consumption condition of the current equipment, dynamically adjust the next working state according to the power consumption condition, and suspend the uploading work of the modem to reduce the consumption when the power consumption compensation time exceeds the average working time, namely the power consumption is too high, so as to save the electric quantity and further prolong the service life of the equipment.
In order to make the person skilled in the art more clearly understand the overall flow of the power consumption balancing method disclosed in the above first embodiment of the present invention, a second embodiment of the present invention relates to a power consumption balancing method, and a specific example is taken as an illustration:
the internet of things Tracker system includes peripheral devices such as a Modem (Modem) and a temperature and humidity Sensor (Sensor), as shown in fig. 2. Because the Tracker system is usually battery powered and reports data at fixed time intervals, the peripheral devices such as the Modem and the Sensor are usually relatively large in power consumption. In order to realize long-time work, the Modem and the Sensor modules are not enabled to be in a working state all the time, but are turned on as required, namely, the Sensor information is collected according to a certain time interval and reported to a server, then the devices are all turned off, and the MCU enters a shutdown mode, so that the purpose of saving electricity is achieved.
Fig. 3 is a timing chart of the conventional Tracker operation timing reporting, in which a device reports a message to a background server at regular intervals. Before the first data reporting time comes, the MCU firstly opens the Sensor and collects related data within t11 time, and closes the Sensor module after the data is collected. And then, opening the Modem for network connection at t12, reporting data to the server, finally, closing the Modem, and enabling the MCU to enter a standby mode.
In this embodiment, the Sensor is separated from the uploading of the Modem by the data queue, the Sensor collects environmental temperature and humidity data at a set time interval, and buffers the collected data in the data queue, and when the Modem can perform the uploading, the Modem obtains the data stored in the data queue and uploads the data, as shown in fig. 4.
The specific workflow is shown in fig. 5.
Step 501, judging whether a new message is generated.
The MCU controls the uploading work of the Modem, namely when the MCU considers that the Modem needs to upload, the MCU generates the data in the data queue into a new message for uploading the data.
When a new message is generated, step 502 is performed.
In step 502, it is determined whether the power consumption compensation time (Δ T) is greater than a preset average operating time (a, e.g., a =60 s).
In the present embodiment, when the normal network signal is good, the average service time of the Modem from power-on to power-off is only about 44 s. The average operating time was set at 60s, which is about 26% power savings over the expected theoretical calculation. In a slightly worse working environment of the network, the working time of the links can be prolonged, and particularly for the 4G NB network, the time for registering the Modem network on the line can be different from a few seconds to a few minutes due to the fact that the frequency bands of the 4G NB network are more. The Modem requires 95S from on to off working time when the network signal is poor, and consumes 58% more electricity than the theoretical expected calculation according to the average 60S calculation.
As shown in fig. 6, the first report is a normal working time, the second and third reports have too long working time, and the cumulative value of Δ T exceeds the average working time 60s, so that the Modem is not turned on to work during the fourth report, and since the average working time 60s is subtracted from the value of Δ T during the fifth report, Δ T is less than 60s, so that the fifth report works normally.
After judging whether the power consumption compensation time is greater than the preset average working time, if the power consumption compensation time is greater than the preset average working time, executing step 503; if the power consumption compensation time is less than the preset average working time, step 504 is executed.
In other embodiments, the MCU may also first determine whether the power consumption compensation time is longer than the preset average working time when a new round of packet uploading cycle begins. If yes, the MCU will form a message with the collected data to be uploaded, and execute step 504. If not, go to step 503.
And step 503, the Modem does not work, the power consumption compensation time (delta T) is reduced by 60s, and the process is ended.
And step 504, turning on the Modem to start uploading.
The uploading work of the Modem comprises starting up, network registration, PDP activation, server connection, data sending and shutdown, and the conditions of weak network signals or overtime connection may occur in the working process, so that the working time is too long, the power consumption is too high, and the service life of the equipment is further influenced.
Step 505, determine whether the network signal strength is lower than a preset strength threshold.
If the network signal strength is lower than the preset strength threshold, go to step 508;
if the network signal strength is equal to or higher than the predetermined strength threshold, go to step 506.
Step 506, determine if networking is timed out.
If the networking is timed out, go to step 508; otherwise, go to step 507.
And step 507, sending the message.
And step 508, closing the Modem, and counting the actual working time.
Compared with the related technology, the frequency of uploading data by the Modem is not influenced by the frequency of acquiring data by a Sensor any more through the data queue, the frequency of acquiring data is not influenced in order to save electric quantity, a task of saving power consumption and electric quantity is placed in a data uploading stage, the power consumption use condition is judged more accurately by setting power consumption compensation time as an index for judging the power consumption condition, when the power consumption compensation time is longer than the average work time, one round of work is stopped, the total work time is balanced, the uploading work time in the first rounds is short, the reporting work for more times can be carried out in the later rounds, if the uploading work time in the first rounds is long, the work is stopped, the actual average work time is kept about the preset work time, the power consumption is balanced, the electric quantity is saved, and the service life of equipment is prolonged.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are within the scope of the present patent; it is within the scope of this patent to add insignificant modifications or introduce insignificant designs to the algorithms or processes, but not to change the core designs of the algorithms and processes.
Since the first embodiment corresponds to the present embodiment, the present embodiment can be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in this embodiment, and the technical effects that can be achieved in the first embodiment can also be achieved in this embodiment, and are not described herein again in order to reduce the repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first embodiment.
A third embodiment of the present invention relates to a power consumption compensation system, as shown in fig. 7, including:
an obtaining module 701, configured to obtain a first power consumption compensation time of the modem in a first packet uploading period;
a power consumption compensation module 702, configured to refuse to upload the first packet in the first packet upload period when the first power consumption compensation time is longer than a preset average working time of an upload packet.
It should be understood that the present embodiment is a system example corresponding to the first embodiment, and the present embodiment may be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related technical details mentioned in the present embodiment can also be applied to the first embodiment.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
A fourth embodiment of the present invention relates to an electronic apparatus, as shown in fig. 8, including:
at least one modem 801;
and a memory 802 communicatively coupled to the at least one modem 801;
wherein the memory stores instructions executable by the at least one modem to enable the at least one modem to perform the first and second embodiments.
The memory and the modem are connected by a bus, which may include any number of interconnected buses and bridges that link various circuits of the memory and the modem together. The bus may also link various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor. The modem is responsible for managing the bus and general processing and may provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory may be used to store data used by the processor in performing operations.
Meanwhile, the electronic equipment further comprises a sensor used for collecting data to be uploaded and storing the data to be uploaded in a storage area.
Due to the arrangement of the storage area, the data acquired by the sensor can be completely stored, the modem uploads the data acquired by the sensor periodically, and the acquisition frequency of the sensor is not required to be the same as the uploading frequency of the modem, so that the method and the device are suitable for different application scenes.
Those skilled in the art can understand that all or part of the steps in the method according to the above embodiments may be implemented by a program to instruct related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples of practicing the invention, and that various changes in form and detail may be made therein without departing from the spirit and scope of the invention in practice.

Claims (11)

1. A power consumption balancing method applied to a modem comprises the following steps:
acquiring first power consumption compensation time of the modem in a first message uploading period;
when the first power consumption compensation time is longer than the preset average working time of the uploaded message, rejecting to upload first message data in the first message uploading period;
the first power consumption compensation time is calculated by subtracting the preset average work time of the upload message from the actual work time of the modem several times, and cumulatively adding the difference of several times to obtain the first power consumption compensation time.
2. The power consumption balancing method according to claim 1, wherein the modem is configured to periodically upload data to be uploaded, acquired by a sensor, and the data to be uploaded is stored in a storage area; the power consumption balancing method comprises the following steps:
and acquiring all the data to be uploaded in the storage area as the first message data.
3. The power consumption balancing method according to claim 1, wherein after obtaining the first power consumption compensation time of the modem in the first packet upload period, the method further comprises:
when the first power consumption compensation time is less than or equal to the average working time of the uploaded message, acquiring the first message data;
and forming a first message according to the first message data, and uploading the first message through the modem.
4. The method according to claim 3, wherein the uploading the first packet via the modem includes:
acquiring the time for the modem to upload the first message;
calculating the difference value between the time for uploading the first message and the average working time of the uploaded message;
and adding the difference value and the first power consumption compensation time to obtain a second power consumption compensation time.
5. The method of claim 3, wherein the uploading the first packet via the modem comprises:
and when the first message is uploaded, if the network signal intensity is lower than a preset intensity threshold value, the first message is stopped being uploaded through the modem.
6. The power consumption balancing method according to claim 1, wherein when the first power consumption compensation time is longer than a preset average working time of the upload message, after the first message data is rejected to be uploaded in the first message upload cycle, the method includes:
acquiring second power consumption compensation time of the modem in a second message uploading period, wherein the second power consumption compensation time is the difference between the first power consumption compensation time and the average working time of the uploaded message;
determining that the second power consumption compensation time is less than or equal to the preset average working time of the uploading message;
acquiring second message data, wherein the second message data comprises the first message data;
and forming a second message according to the second message data, and uploading the second message through the modem.
7. The power consumption balancing method according to claim 1, wherein the rejecting of the uploading of the first packet data in the first packet uploading period includes:
and refusing to upload the first message data in the first message uploading period when the modem is not started or enters a dormant state.
8. A power consumption equalization system, comprising:
the acquisition module is used for acquiring first power consumption compensation time of the modem in a first message uploading period;
the power consumption compensation module is used for refusing to upload first message data in the first message uploading period when the first power consumption compensation time is longer than the preset average working time of the uploaded messages;
the first power consumption compensation time is calculated by subtracting the preset average work time of the upload message from the actual work time of the modem several times, and cumulatively adding the difference of several times to obtain the first power consumption compensation time.
9. An electronic device, comprising:
at least one modem; and (c) a second step of,
a memory communicatively coupled to the at least one modem; wherein,
the memory stores instructions executable by the at least one modem to enable the at least one modem to perform the method for power consumption balancing of claims 1-7.
10. The electronic device of claim 9, further comprising a sensor configured to collect data to be uploaded and store the data to be uploaded in a storage area.
11. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the power consumption balancing method of any one of claims 1 to 7.
CN202011634092.0A 2020-12-31 2020-12-31 Power consumption balancing method and system, electronic device and readable storage medium Active CN112867109B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011634092.0A CN112867109B (en) 2020-12-31 2020-12-31 Power consumption balancing method and system, electronic device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011634092.0A CN112867109B (en) 2020-12-31 2020-12-31 Power consumption balancing method and system, electronic device and readable storage medium

Publications (2)

Publication Number Publication Date
CN112867109A CN112867109A (en) 2021-05-28
CN112867109B true CN112867109B (en) 2023-04-07

Family

ID=76000095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011634092.0A Active CN112867109B (en) 2020-12-31 2020-12-31 Power consumption balancing method and system, electronic device and readable storage medium

Country Status (1)

Country Link
CN (1) CN112867109B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929293A (en) * 2013-01-15 2014-07-16 电子科技大学 Asymmetrically-delayed time synchronization method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI20011288A (en) * 2001-06-18 2002-12-19 Pauli Koivuniemi A weather information system and method, and a computer program for implementing a weather information system
JP2009238211A (en) * 2008-03-07 2009-10-15 Panasonic Corp Information processing apparatus and elapsed time measurement method
CN109040315A (en) * 2018-09-18 2018-12-18 北京先见智控科技有限公司 Internet-of-things terminal and the Internet of Things Congestion Avoidance system dispatched based on server centered
CN109120362B (en) * 2018-10-24 2021-01-01 南京航空航天大学 Channel selection method of cognitive radio network with energy acquisition function
CN111882849B (en) * 2020-07-24 2022-02-08 安徽大学 Device and method for collecting and detecting temperature and humidity inside and outside granary

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929293A (en) * 2013-01-15 2014-07-16 电子科技大学 Asymmetrically-delayed time synchronization method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
IEEE 1588精确时间同步协议和累积频率补偿方法研究;岳中涛等;《化工自动化及仪表》;20160110(第01期);全文 *

Also Published As

Publication number Publication date
CN112867109A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
US9160833B2 (en) Method and apparatus for dynamic battery management control in a mobile communication device
US9684356B2 (en) Method for determining remaining service time of battery, client device and mobile terminal
US8600458B2 (en) Method of reducing power consumption in a UE when the UE is in idle mode
DE112012002663B4 (en) Terminal, data transmission system and method for activating a terminal
TW200824324A (en) Electronic device power management system and method
US9717050B2 (en) Delivering data to a wireless station
CN113608138B (en) Storage battery power shortage risk monitoring method, electronic equipment and storage medium
US20100201535A1 (en) Apparatus and method for asset tracking based on ubiquitous sensor network using motion sensing
EP2224575B1 (en) Method and apparatus for dynamic battery management control in a mobile communication device
CN107465219B (en) Power usage pattern collector and charge controller
CN116449072A (en) Static current testing method and device, battery controller, vehicle and storage medium
CN112867109B (en) Power consumption balancing method and system, electronic device and readable storage medium
CN111044912B (en) Dormancy monitoring system and method
GB2541413A (en) Battery cell management
JP2017037358A (en) Observation system, repeating device and observation data reception method
CN105788205B (en) Acquisition terminal based on WIA-PA wireless communication module and power management monitoring method thereof
CN114338778B (en) Gateway equipment control method and device, storage medium and electronic device
CN113920678B (en) Remote smoke alarm system on M5311 chip based on middle moving object
CN115604796A (en) Data transmission method, system, device and storage medium
KR20220096315A (en) Power saving method and system by determining the operation pattern of energy harvesting sensor
CN111504452A (en) Monitoring apparatus and vibration abnormality determination method
CN110672145B (en) Sensor data acquisition and processing method, device, equipment and storage medium
CN111970164A (en) System, method, device, terminal and storage medium for detecting state of communication module
US20230247547A1 (en) Communication device, non-transitory computer readable medium, and communication method
CN212007515U (en) Monitoring device

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
GR01 Patent grant
GR01 Patent grant