CN104635908A - Method and device for lowering power consumption of mobile terminal - Google Patents

Method and device for lowering power consumption of mobile terminal Download PDF

Info

Publication number
CN104635908A
CN104635908A CN201310567322.XA CN201310567322A CN104635908A CN 104635908 A CN104635908 A CN 104635908A CN 201310567322 A CN201310567322 A CN 201310567322A CN 104635908 A CN104635908 A CN 104635908A
Authority
CN
China
Prior art keywords
mobile terminal
application program
power consumption
power
consuming hardware
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.)
Granted
Application number
CN201310567322.XA
Other languages
Chinese (zh)
Other versions
CN104635908B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310567322.XA priority Critical patent/CN104635908B/en
Publication of CN104635908A publication Critical patent/CN104635908A/en
Application granted granted Critical
Publication of CN104635908B publication Critical patent/CN104635908B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3228Monitoring task completion, e.g. by use of idle timers, stop commands or wait commands

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention belongs to the field of mobile terminals and provides a method and device for lowering the power consumption of a mobile terminal. The method comprises the steps that the power consumption of an application program in the mobile terminal is detected; the use time of the application program in the mobile terminal is detected; according to the power consumption and the use time of the application program in the mobile terminal, the power consumption speed of the application is determined; according to the power consumption speed of the application in the mobile terminal, the application in the mobile terminal is controlled to stop operation. According to the method and device, the application in the mobile terminal is controlled to stop operation based on the power consumption speed of the application in the mobile terminal, in this way, the power consumption of the mobile terminal can be rapidly lowered, the run time of a battery of the mobile terminal is prolonged, and then the service life of the mobile terminal is prolonged.

Description

A kind of method and device reducing the power consumption of mobile terminal
Technical field
The invention belongs to field of mobile terminals, particularly relate to a kind of method and the device that reduce mobile terminal power consumption.
Background technology
Along with the development of mobile communication technology, the use of mobile terminal is more and more universal, and the application program that can run in the terminal also gets more and more, and causes the cruising time of the battery of mobile terminal also shorter and shorter like this.Become a bottleneck of mobile terminal development the cruising time of current intelligent mobile terminal battery, under the technical conditions of existing battery of mobile terminal, how to save the power consumption of mobile terminal, the cruising time extending battery of mobile terminal has become a hot research project.
The method of the power consumption of existing reduction mobile terminal is generally the power consumption by application program each in accumulative mobile terminal, when the electricity of battery of mobile terminal is lower than default power threshold, and the application program that in mobile terminal out of service, power consumption is maximum.The power consumption be generally accumulated to due to the application program often used in mobile terminal is maximum, therefore, adopt the method for the power consumption of existing reduction mobile terminal when the electricity of battery of mobile terminal is lower than default power threshold, application program out of service is generally the application program that in mobile terminal, frequency of utilization is higher, instead of the application program that in mobile terminal, power consumption is the fastest, thus the power consumption of mobile terminal cannot be reduced fast, simultaneously because the application program that frequency of utilization out of service is higher will bring the defect of mutual friendly aspect to user, thus reduce the competitive power of mobile terminal.
Summary of the invention
The embodiment of the present invention provides a kind of method and the device that reduce the power consumption of mobile terminal, the problem that cannot reduce the power consumption rate of mobile terminal fast that the method being intended to the power consumption solving existing reduction mobile terminal exists.
On the one hand, provide a kind of method reducing the power consumption of mobile terminal, described method comprises:
Detect the power consumption of the application program in mobile terminal;
Detect the use duration of the application program in mobile terminal;
The power consumption rate of described application program is determined according to the power consumption of the application program in mobile terminal and the use duration of application program;
The out of service of application program in mobile terminal is controlled according to the power consumption rate of application program described in mobile terminal.
On the other hand, provide a kind of device reducing the power consumption of mobile terminal, described device comprises:
First detecting unit, for detecting the power consumption of the application program in mobile terminal;
Second detecting unit, for detecting the use duration of the application program in mobile terminal;
Power consumption rate determining unit, for determining the power consumption rate of described application program according to the power consumption of the application program in mobile terminal and the use duration of application program;
Stop control unit, for controlling the out of service of application program in mobile terminal according to the power consumption rate of application program described in mobile terminal.
In embodiments of the present invention, by the power consumption of application program in detection mobile terminal and the use duration of application program, according to the power consumption of application program and the power consumption rate of use duration determination application program, the out of service of application program in mobile terminal is controlled according to the power consumption rate of application program in mobile terminal, thus the power consumption of mobile terminal can be reduced fast, extend the cruising time of battery of mobile terminal, and then extend the serviceable life of battery of mobile terminal.
Accompanying drawing explanation
Fig. 1 is the realization flow figure of the method for the power consumption of the reduction mobile terminal that the embodiment of the present invention provides;
Fig. 2 is the realization flow figure of the method for the power consumption of the reduction mobile terminal that another embodiment of the present invention provides;
Fig. 3 is the realization flow figure of the method for the power consumption of the reduction mobile terminal that another embodiment of the present invention provides;
Fig. 4 is the particular flow sheet of the power consumption of application program in the detection mobile terminal that provides of the embodiment of the present invention;
Fig. 5 is the structured flowchart of the device of the power consumption of the mobile mobile terminal of reduction that the embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
In embodiments of the present invention, by controlling the out of service of application program in mobile terminal according to the power consumption rate of application program in mobile terminal, thus the power consumption of mobile terminal can be reduced fast, extend the cruising time of battery of mobile terminal, and then extend the serviceable life of battery of mobile terminal.
In order to technical solutions according to the invention are described, be described below by specific embodiment.
Fig. 1 shows the realization flow of the method for the power consumption of the reduction mobile terminal that the embodiment of the present invention provides, and details are as follows:
S101, detects the power consumption of the application program in mobile terminal.
Wherein mobile terminal includes but not limited to smart mobile phone, panel computer, notebook computer etc.
Wherein, the power consumption of described application program, refers to from the power consumption in arbitrary appointment duration, can be off the electricity being charged to current time and consuming.Whether be full of electricity when disconnecting and charging with described mobile terminal to have nothing to do.
The mode of the power consumption of the application program in any one detected mobile terminal that the concrete mode wherein detecting the power consumption of the application program in mobile terminal can adopt prior art to provide, also can adopt the mode as shown in Figure 4 that the embodiment of the present invention provides.
S102, detects the use duration of the application program in mobile terminal.
Wherein, described use duration is the duration of specifying corresponding with power consumption in step S101, when described power consumption be off be charged to electricity that current time consumes time, to the duration of current time when corresponding duration is off charging.
Wherein, detect the method whether application program in the duration of specifying is being run, little time interval can be preset, the motion state of an application program is often detected through the duration in the set time interval, if detect that application program is in operation at check point, in the time interval duration then thinking before check point, application program is being run always.The described little time interval can be set to the very little time period, as 2 minutes, shorter when the time interval, detects degree of accuracy higher.
S103, according to the power consumption rate of the power consumption of application program and the use duration determination application program of application program.
Concrete, the value obtained divided by the use duration of application program by the power consumption of application program is as the power consumption rate of this application program.
S104, controls the out of service of application program in mobile terminal according to the power consumption rate of the application program in mobile terminal.
In embodiments of the present invention, before application program out of service, export prompting out of service, to inform that user is by application program out of service, to improve the mutual friendly of mobile terminal.
In the present embodiment, application program can be all application programs in mobile terminal or be the third party application in mobile terminal terminal.All application programs wherein in mobile terminal comprise system application and third party application, system application refers to the application program that mobile terminal operating system carries, and third party application refers to the remaining applications except system application.
Wherein as follows according to the sectional drawing process out of service of the application program in the power consumption rate control mobile terminal of the application program in mobile terminal:
Directly by out of service for application program the fastest for power consumption rate in the current application program run, or first judge whether the dump energy of battery of mobile terminal is less than default power threshold, if, by out of service for application program the fastest for power consumption rate in the current application program run, otherwise, be left intact.
In the present embodiment, the optimization of battery electric quantity is made not need artificial participation by direct by out of service for application program the fastest for power consumption rate in the current application program run, quick and easy and intelligence degree is high.By when the dump energy of battery of mobile terminal is less than default power threshold, just by out of service for application program the fastest for power consumption rate in the current application program run, the optimization of the battery electric quantity of mobile terminal is made to produce less impact to the use of the application program in mobile terminal, thus while the cruising time extending battery of mobile terminal, ensure that the stability of the application program in mobile terminal.
In an alternative embodiment of the invention, as follows according to the detailed process out of service of the application program in the power consumption rate control mobile terminal of the application program in mobile terminal:
Receive the application program END instruction that inputs according to the power consumption rate of application program of user, terminate to run according to this application program END instruction the application program that this application program END instruction specifies.
In the present embodiment, by the power consumption rate of application program is supplied to user, allow user using the reference factor of the power consumption rate of application program as application program out of service, thus user can be balanced on the cruising time of the use of application program and battery.
In an alternative embodiment of the invention, as follows according to the detailed process out of service of the application program in the power consumption rate control mobile terminal of the application program in mobile terminal:
A1, be application deployment priority in mobile terminal in advance;
In the present embodiment, important application program is caused to be stopped the phenomenon of operation in order to prevent the cruising time owing to extending battery, can be the application deployment priority in mobile terminal in advance, priority is higher, represents that the impact that this application program out of service causes to mobile terminal or user is larger.
A2, to run according to the end of the application program in the power consumption rate of the application program in mobile terminal and the two priority classes mobile terminal of application program.
The detailed process wherein run according to the end of the application program in the power consumption rate of the application program in mobile terminal and the two priority classes mobile terminal of application program is as follows:
The application program that in the application program of priority out of service below pre-set priority threshold value, power consumption rate is the fastest.Like this, while the cruising time extending battery of mobile terminal, ensure that the application program that priority is higher is not stopped operation.
In an alternative embodiment of the invention, the detailed process wherein run according to the end of the application program in the power consumption rate of the application program in mobile terminal and the two priority classes mobile terminal of application program is as follows:
The power consumption rate of the priority and application program that are respectively application program arranges weight, obtains the vector of the priority of application program and the power consumption rate of application program, terminates to run the highest application program of vector.Can be considered by the power consumption rate of application program and priority like this and need application program out of service, make the mode of the power consumption reducing mobile terminal more reasonable.
When arranging weight for the application priority of journey and the power consumption rate of application program, for application programs different in mobile terminal, identical or different priority weightings and power consumption rate weight can be set, as for the application program a in mobile terminal and application programs b, the priority weighting of application program a can be set to 0.3, power consumption rate weight is set to 0.7, and the priority weighting of application program b is also set to 0.3, and power consumption rate weight is also set to 0.7; Or the priority weighting of application program a is set to 0.3, and power consumption rate weight is set to 0.7, and the priority weighting of application program b is also set to 0.6, and power consumption rate weight is also set to 0.4.
Fig. 2 shows the realization flow of the method for the power consumption of the reduction mobile terminal that another embodiment of the present invention provides, and details are as follows:
S201, detects the power consumption of the application program in mobile terminal.
S202, detects the use duration of the application program in mobile terminal.
S203, according to power consumption and the power consumption rate using duration to determine each application program of application program.
S204, adopts the sortord preset to carry out sequencing display to the application program in mobile terminal.
To be default sortord be the sortord wherein preset using the power consumption rate of application program as ranking factor or the sortord as one of ranking factor, includes but not limited to sort etc. near slow order according to power consumption rate.
When display application program, can the power consumption rate of simultaneously display application program.Wherein the concrete mode of the power consumption rate of display application program includes but not limited to word, figure etc.
In the present embodiment, display after being sorted according to the sortord preset by application programs, thus be convenient to user from multiple application program, select most suitable application program out of service to extend the cruising time of mobile terminal fast, easily.
S205, controls the out of service of application program in mobile terminal according to the power consumption rate of the application program in mobile terminal.Its detailed process is described above, does not repeat them here.
Fig. 3 shows the realization flow of the method for the power consumption of the reduction mobile terminal that another embodiment of the present invention provides, the method is on the basis of the method shown in Fig. 1 and/or Fig. 2, increase the step of the dump energy obtaining battery of mobile terminal, and when the dump energy of battery of mobile terminal is less than default power threshold, the out of service of application program in mobile terminal is controlled according to the method shown in Fig. 1 and/or Fig. 2, for the method shown in Fig. 2, details are as follows:
S301, obtains the dump energy of battery of mobile terminal.
S302, when the dump energy of battery of mobile terminal is less than default power threshold, detects the power consumption of the application program in mobile terminal.
In an alternative embodiment of the invention, when the dump energy of mobile terminal is less than default power threshold, the current application program run in mobile terminal can be adjusted timely to make user, export power consumption and save prompting, to inform that user some application program out of service can reduce the power consumption of mobile terminal, to reach the object in the cruising time extending battery of mobile terminal fast when battery electric quantity deficiency.
S303, when the dump energy of battery of mobile terminal is less than default power threshold, detects the use duration of the application program in mobile terminal.
S304, according to power consumption and the power consumption rate using duration to determine each application program of application program.
S305, adopts the sortord preset to carry out sequencing display to the application program in mobile terminal.
S306, controls the out of service of application program in mobile terminal according to the power consumption rate of the application program in mobile terminal.
In the present embodiment, when the power consumption of battery of mobile terminal is lower than the power threshold preset, the method of the power consumption of the reduction mobile terminal just adopting the embodiment of the present invention to provide reduces the power consumption of mobile terminal fast, and the application program avoiding the power consumption due to mobile terminal to cause the information of this preservation not have enough time to preserve or needs promptly use too soon cannot use due to dead battery capability.
Refer to Fig. 4, be the idiographic flow of the power consumption of the application program in the detection mobile terminal that the embodiment of the present invention provides, details are as follows:
S401, obtains the power consumption of each power-consuming hardware in mobile terminal.
Wherein, the power consumption of each power-consuming hardware in described acquisition mobile terminal, can directly from system interface from reading the power consumption respectively having electric hardware returned.
Wherein power-consuming hardware includes but not limited to display screen, internal memory etc.
In the present embodiment, because the power consumption of application program each in mobile terminal generally refers to the electricity that application program consumes owing to using the various power-consuming hardware in mobile terminal in operational process.Therefore, in order to detect the power consumption of each application program in mobile terminal, need the power consumption first obtaining each power-consuming hardware in mobile terminal.
When considering charging, the data of power consumption information do not refresh, keep consistent with before charging, interface is made to return power consumption information unstable, therefore, after each charging complete of mobile terminal, starting the power consumption of each power-consuming hardware in accumulative mobile terminal, when obtaining the power consumption of each power-consuming hardware in mobile terminal, only needing the accumulative power consumption reading each power-consuming hardware in current time mobile terminal can get the power consumption of each power-consuming hardware in current time mobile terminal.The concrete mode wherein obtaining the power consumption of each power-consuming hardware in mobile terminal belongs to prior art, does not repeat them here.
In the present embodiment, when only needing to detect the power consumption rate of the current application program run in mobile terminal, then only need the power consumption obtaining the used power-consuming hardware of the current application program run in mobile terminal; When needing to detect the power consumption rate of each application program in mobile terminal, then need the power consumption obtaining each power-consuming hardware in mobile terminal.
S402, obtains application program in mobile terminal and uses the duty ratio of time of each power-consuming hardware in mobile terminal.Its detailed process is as follows:
Total use duration T of each power-consuming hardware in B1, acquisition mobile terminal.The mode of total use duration of each power-consuming hardware in its any one got mobile terminal that prior art can be adopted to provide, also can adopt the following two kinds mode that the embodiment of the present invention provides:
A kind of mode is for often kind of power-consuming hardware, detect each application program in mobile terminal and use the duration of this power-consuming hardware, use the duration of this power-consuming hardware to be added application program each in mobile terminal, total use duration of this power-consuming hardware in mobile terminal can be obtained.As T=T1+T2+ ... + Tn, wherein n is the number of the application program using this power-consuming hardware in mobile terminal, T1 is first duration using the application program of this power-consuming hardware to use this power-consuming hardware, T2 is second duration using the application program of this power-consuming hardware to use this power-consuming hardware, and Tn is the duration that the application program of n-th this power-consuming hardware of use uses this power-consuming hardware.Illustrate as follows:
Suppose that power-consuming hardware is display screen, then detect each application program in mobile terminal and use the duration of display screen, suppose to detect that application program a, application program b and application program c used display screen, and application program a uses the duration of display screen to be Ta1, application program b uses the duration of display screen to be Tb1, application program c uses the duration of display screen to be Tc1, then total use duration T=Ta1+Tb1+Tc1 of display screen.
Suppose that power-consuming hardware is internal memory, then detect each application program in mobile terminal and use the duration of internal memory, suppose to detect that application program a, application program b and application program e used internal memory, and application program a uses the duration of internal memory to be Ta2, application program b uses the duration of internal memory to be Tb2, application program e uses the duration of internal memory to be Te2, then total use duration T=Ta2+Tb2+Te2 of internal memory.
In the present embodiment, when only needing to detect the power consumption rate of the current application program run in mobile terminal, then only need the total use duration obtaining the used power-consuming hardware of the current application program run in mobile terminal; When needing to detect the power consumption rate of each application program in mobile terminal, then need the total use duration obtaining each power-consuming hardware in mobile terminal.
In B2, acquisition mobile terminal, application program uses the duration of each power-consuming hardware in mobile terminal.
In the present embodiment, when only needing to detect the power consumption rate of the current application program run in mobile terminal, then only need to obtain the current application program run in mobile terminal and use the duration of each power-consuming hardware in mobile terminal; When needing to detect the power consumption rate of each application program in mobile terminal, then need to obtain each application program in mobile terminal and use the duration of each power-consuming hardware in mobile terminal.
In B3, the duration using each power-consuming hardware in mobile terminal according to application program in mobile terminal and mobile terminal, total use duration of each power-consuming hardware, determines that in mobile terminal, application program uses the duty ratio of time of each power-consuming hardware.
For often kind of power-consuming hardware, the duration of this power-consuming hardware certain application program in mobile terminal is used to use the duty ratio of time of this power-consuming hardware as this application program divided by the value of total use duration of this power-consuming hardware.As: Pkm=Tkm/T, wherein Pkm refers to that in mobile terminal, application program k uses the duty ratio of time of power-consuming hardware m, and Tkm is the duration that application program k uses power-consuming hardware m.
S403, uses the duty ratio of time of each power-consuming hardware in mobile terminal according to application program in the power consumption of power-consuming hardware each in mobile terminal and mobile terminal, determines that in mobile terminal, application program uses the power consumption of each power-consuming hardware.Its detailed process is as follows:
For each application program, the value duty ratio of time of each power-consuming hardware in this application program use mobile terminal being multiplied by the power consumption of this power-consuming hardware uses the power consumption of this power-consuming hardware as this application program.Illustrate as follows:
Suppose that the used power-consuming hardware of application program a comprises display screen and internal memory, and application program a uses the duty ratio of time of display screen to be Pa1, the duty ratio of time using internal memory is Pa2; The used power-consuming hardware of application program b also comprises display screen and internal memory, and application program b uses the duty ratio of time of display screen to be Pb1, and the duty ratio of time using internal memory is Pb2; The used power-consuming hardware of application program c comprises display screen, and application program c uses the duty ratio of time of display screen to be Pc1; The used power-consuming hardware of application program e comprises internal memory, and application program e uses the duty ratio of time of internal memory to be Pc2; The power consumption of display screen is Q1, and total use duration of internal memory is Q2.
Then application program a uses the power consumption of display screen to be Pa1*Q1, and the power consumption using internal memory is Pa2*Q2; Application program uses the power consumption of display screen to be Pb1*Q1, and the power consumption using internal memory is Pb2*Q2; Application program c uses the power consumption of display screen to be Pc1*Q1; Application program e uses the power consumption of internal memory to be Pe2*Q2.
In the present embodiment, when only needing to detect the power consumption rate of the current application program run in mobile terminal, then only needs use the duty ratio of time of each power-consuming hardware in mobile terminal according to the application program run current in the power consumption of power-consuming hardware each in mobile terminal and mobile terminal, determine that in mobile terminal, the current application program run uses the power consumption of each power-consuming hardware; When needing to detect the power consumption rate of each application program in mobile terminal, then need the duty ratio of time using each power-consuming hardware in mobile terminal according to application program each in the power consumption of power-consuming hardware each in mobile terminal and mobile terminal, determine that in mobile terminal, each application program uses the power consumption of each power-consuming hardware.
S404, uses the power consumption of each application program in the power consumption determination mobile terminal of each power-consuming hardware according to application program each in mobile terminal.
Concrete, for each application program in mobile terminal, the value that this application program can be used the power consumption of each power-consuming hardware to be added to obtain is as the power consumption of this application program.Illustrate as follows:
Suppose that the used power-consuming hardware of application program a comprises display screen and internal memory, and application program a uses the power consumption of display screen to be Pa1*Q1, the power consumption using internal memory is Pa2*Q2, then the power consumption of application program a is Pa1*Q1+Pa2*Q2.
Suppose that the used power-consuming hardware of application program b also comprises display screen and internal memory, and application program b uses the power consumption of display screen to be Pb1*Q1, the power consumption using internal memory is Pb2*Q2, then the power consumption of application program b is Pb1*Q1+Pb2*Q2.
Suppose that the used power-consuming hardware of application program c comprises display screen, and application program c uses the power consumption of display screen to be Pc1*Q1, then the power consumption of application program c is Pc1*Q1.
Suppose that the used power-consuming hardware of application program e comprises internal memory, and application program e uses the power consumption of internal memory to be Pe2*Q2, then the power consumption of application program e is Pe2*Q2.
Fig. 5 shows the structure of the device of the power consumption of the mobile mobile terminal of reduction that the embodiment of the present invention provides, and illustrate only the part relevant to the embodiment of the present invention for convenience of explanation.
This device may be used for mobile terminal, such as smart mobile phone, panel computer, notebook computer etc., can be the software unit run in mobile terminal, the unit that combines of hardware cell or software and hardware, also can be integrated in mobile terminal as independently suspension member or run in the application system of mobile terminal, this device comprises:
First detecting unit 11 is for detecting the power consumption of the application program in mobile terminal.
Wherein the first detecting unit 11 prior art can be adopted to provide any one detected mobile terminal in the detection architecture of power consumption of application program, also can adopt the detecting unit comprising following module that the embodiment of the present invention provides.
This first detecting unit 11 comprises the first acquisition module 111, second acquisition module 112, first power consumption determination module 113 and the second power consumption determination module 114.Wherein:
First acquisition module 111 is for obtaining the power consumption of each power-consuming hardware in mobile terminal.
Second acquisition module 112 uses the duty ratio of time of each power-consuming hardware for the application program obtained in mobile terminal.
In an alternative embodiment of the invention, this second acquisition module 112 is specifically for obtaining total use duration of each power-consuming hardware in mobile terminal; The application program obtained in mobile terminal uses the duration of each power-consuming hardware in mobile terminal; Use total use duration of each power-consuming hardware in the duration of each power-consuming hardware in mobile terminal and mobile terminal according to the application program in mobile terminal, the application program determining in mobile terminal uses the duty ratio of time of each power-consuming hardware.
The mode of total use duration of each power-consuming hardware in any one got mobile terminal that the concrete mode wherein obtaining total use duration of each power-consuming hardware in mobile terminal can adopt prior art to provide, also can adopt the following two kinds mode that the embodiment of the present invention provides:
A kind of mode is from the operating system of mobile terminal, directly read total use duration T of each power-consuming hardware in mobile terminal.
Another kind of mode is for often kind of power-consuming hardware, detect each application program in mobile terminal and use the duration of this power-consuming hardware, use the duration of this power-consuming hardware to be added application program each in mobile terminal, total use duration of this power-consuming hardware in mobile terminal can be obtained.
First power consumption determination module 113 is for using the duty ratio of time of each power-consuming hardware in mobile terminal according to the application program in the power consumption of power-consuming hardware each in mobile terminal and mobile terminal, the application program determining in mobile terminal uses the power consumption of each power-consuming hardware in mobile terminal.Its detailed process is as follows:
For each application program, the value duty ratio of time of each power-consuming hardware in this application program use mobile terminal being multiplied by the power consumption of this power-consuming hardware uses the power consumption of this power-consuming hardware as this application program.
Second power consumption determination module 114 is for using the power consumption of the application program in the power consumption determination mobile terminal of each power-consuming hardware in mobile terminal according to the application program in mobile terminal.
Concrete, for each application program in mobile terminal, the value that this application program can be used the power consumption of each power-consuming hardware to be added to obtain is as the power consumption of this application program.
Second detecting unit 12 is for detecting the use duration of the application program in mobile terminal.
Power consumption rate determining unit 13 is for determining the power consumption rate of described application program according to the power consumption of the application program in mobile terminal and the use duration of application program.
Concrete, the value obtained divided by the use duration of application program by the power consumption of application program is as the power consumption rate of this application program.
Stop control unit 14 is for controlling the out of service of application program in mobile terminal according to the power consumption rate of application program described in mobile terminal.
In the present embodiment, application program can be all application programs in mobile terminal or be the third party application in mobile terminal terminal.All application programs wherein in mobile terminal comprise system application and third party application, system application refers to the application program that mobile terminal operating system carries, and third party application refers to the remaining applications except system application.
In an alternative embodiment of the invention, this device also comprises Tip element 15.This Tip element 15, before stop control unit 14 application program out of service, exports prompting out of service, to inform that user is by application program out of service, to improve the mutual friendly of mobile terminal.
In an alternative embodiment of the invention, this stop control unit 14 specifically for direct by out of service for application program the fastest for power consumption rate in the current application program run, or first judge whether the dump energy of battery of mobile terminal is less than default power threshold, if, by out of service for application program the fastest for power consumption rate in the current application program run, otherwise, be left intact.
In an alternative embodiment of the invention, this stop control unit 14, specifically for receiving the application program END instruction that inputs according to the power consumption rate of application program of user, terminates to run according to described application program END instruction the application program that described application program END instruction specifies.
In an alternative embodiment of the invention, this stop control unit 14 comprises priority configuration module 141 and terminates to run module 142.Wherein:
Priority configuration module 141 is for being the application deployment priority in mobile terminal.
Terminate to run module 142 to run for the end according to the application program in the power consumption rate of the application program in mobile terminal and the two priority classes mobile terminal of application program.
The detailed process wherein run according to the end of the application program in the power consumption rate of the application program in mobile terminal and the two priority classes mobile terminal of application program is as follows:
The application program that in the application program of priority out of service below pre-set priority threshold value, power consumption rate is the fastest.Like this, while the cruising time extending battery of mobile terminal, ensure that the application program that priority is higher is not stopped operation.
In an alternative embodiment of the invention, the detailed process wherein run according to the end of the application program in the power consumption rate of the application program in mobile terminal and the two priority classes mobile terminal of application program is as follows:
The power consumption rate of the priority and application program that are respectively application program arranges weight, obtains the vector of the priority of application program and the power consumption rate of application program, terminates to run the highest application program of vector.
When arranging weight for the application priority of journey and the power consumption rate of application program, for application programs different in mobile terminal, identical or different priority weightings and power consumption rate weight can be set.
In an alternative embodiment of the invention, this device also comprises sequencing display unit 16.This sequencing display unit 16 carries out sequencing display for adopting default sortord to the application program in mobile terminal.Wherein preset sortord be using the power consumption rate of application program as ranking factor or the sortord as one of ranking factor, include but not limited to sort etc. near slow order according to power consumption rate.
In an alternative embodiment of the invention, this device also comprises dump energy acquiring unit 17.This dump energy acquiring unit 17 for obtaining the dump energy of battery of mobile terminal, and when the dump energy of battery of mobile terminal is less than default power threshold, triggers the first detecting unit 11 and the second detecting unit 12.
It should be noted that the unit included by said apparatus is carry out dividing according to function logic, but be not limited to above-mentioned division, as long as corresponding function can be realized; In addition, the concrete title of each functional unit, also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
One of ordinary skill in the art will appreciate that, the all or part of step realized in above-described embodiment method is that the hardware that can carry out instruction relevant by program has come, described program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk, CD etc.
In embodiments of the present invention, by using the power consumption rate of application program as the reference factor of application program out of service or as one of with reference to factor, thus the power consumption of mobile terminal can be reduced fast, extend the cruising time of battery of mobile terminal.By carrying out sequencing display according to the sortord application programs preset, thus make user can more convenient, the application program that can reduce the power consumption of mobile terminal fast out of service efficiently.By when the dump energy of battery of mobile terminal is less than default power threshold, the power consumption of mobile terminal is just reduced according to the power consumption rate of application program, thus while the cruising time extending battery of mobile terminal, the impact of the use on mobile terminal is dropped to minimum.By arranging priority for application program, and the application program that needs to terminate to run is determined according to the priority of application program and power consumption rate, thus while the cruising time extending battery of mobile terminal, ensure that the application program that priority is higher is not stopped operation.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. reduce a method for the power consumption of mobile terminal, it is characterized in that, described method comprises:
Detect the power consumption of the application program in mobile terminal;
Detect the use duration of the application program in mobile terminal;
The power consumption rate of described application program is determined according to the power consumption of the application program in mobile terminal and the use duration of application program;
The out of service of application program in mobile terminal is controlled according to the power consumption rate of application program described in mobile terminal.
2. the method for claim 1, is characterized in that, the described power consumption rate according to application program described in mobile terminal control application program in mobile terminal out of service before, described method also comprises:
Adopt the sortord preset to carry out sequencing display to the application program in mobile terminal, described default sortord is as ranking factor or the sortord as one of ranking factor using the power consumption rate of application program.
3. the method for claim 1, is characterized in that, before the power consumption of the application program in described detection mobile terminal, described method also comprises:
Obtain the dump energy of battery of mobile terminal, when the dump energy of battery of mobile terminal is less than default power threshold, perform the power consumption of the application program in described detection mobile terminal.
4. the method for claim 1, is characterized in that, the described power consumption rate according to application program described in mobile terminal controls the out of service of application program in mobile terminal, specifically comprises:
Receive the application program END instruction that inputs according to the power consumption rate of application program of user, terminate to run according to described application program END instruction the application program that described application program END instruction specifies.
5. the method for claim 1, is characterized in that, the described power consumption rate according to application program described in mobile terminal controls the out of service of application program in mobile terminal, specifically comprises:
Be the application deployment priority in mobile terminal in advance;
End according to the application program in the power consumption rate of the application program in mobile terminal and the two priority classes mobile terminal of application program runs.
6. the method as described in any one of claim 1 to 5, is characterized in that, the power consumption of the application program in described detection mobile terminal, specifically comprises:
Obtain the power consumption of each power-consuming hardware in mobile terminal;
The application program obtained in mobile terminal uses the duty ratio of time of each power-consuming hardware;
Use the duty ratio of time of each power-consuming hardware in mobile terminal according to the application program in the power consumption of power-consuming hardware each in mobile terminal and mobile terminal, the application program determining in mobile terminal uses the power consumption of each power-consuming hardware in mobile terminal;
The power consumption of the application program in the power consumption determination mobile terminal of each power-consuming hardware in mobile terminal is used according to the application program in mobile terminal.
7. method as claimed in claim 6, it is characterized in that, the application program in described acquisition mobile terminal uses the duty ratio of time of each power-consuming hardware, specifically comprises:
Obtain total use duration of each power-consuming hardware in mobile terminal;
The application program obtained in mobile terminal uses the duration of each power-consuming hardware in mobile terminal;
Use total use duration of each power-consuming hardware in the duration of each power-consuming hardware in mobile terminal and mobile terminal according to the application program in mobile terminal, the application program determining in mobile terminal uses the duty ratio of time of each power-consuming hardware.
8. reduce a device for the power consumption of mobile terminal, it is characterized in that, described device comprises:
First detecting unit, for detecting the power consumption of the application program in mobile terminal;
Second detecting unit, for detecting the use duration of the application program in mobile terminal;
Power consumption rate determining unit, for determining the power consumption rate of described application program according to the power consumption of the application program in mobile terminal and the use duration of application program;
Stop control unit, for controlling the out of service of application program in mobile terminal according to the power consumption rate of application program described in mobile terminal.
9. device as claimed in claim 8, it is characterized in that, described device also comprises:
Sequencing display unit, for adopting default sortord to carry out sequencing display to the application program in mobile terminal, described default sortord is as ranking factor or the sortord as one of ranking factor using the power consumption rate of application program.
10. device as claimed in claim 8, it is characterized in that, described device also comprises:
Dump energy acquiring unit, for obtaining the dump energy of battery of mobile terminal, and when the dump energy of battery of mobile terminal is less than default power threshold, triggers described first detecting unit and the second detecting unit.
11. devices as claimed in claim 8, it is characterized in that, described stop control unit, specifically for receiving the application program END instruction that inputs according to the power consumption rate of application program of user, terminates to run according to described application program END instruction the application program that described application program END instruction specifies.
12. devices as claimed in claim 8, it is characterized in that, described stop control unit specifically comprises:
Priority configuration module, for being the application deployment priority in mobile terminal;
Terminate to run module, run for the end according to the application program in the power consumption rate of the application program in mobile terminal and the two priority classes mobile terminal of application program.
13. devices as described in any one of claim 8 to 12, it is characterized in that, described first detecting unit comprises:
First acquisition module, for obtaining the power consumption of each power-consuming hardware in mobile terminal;
Second acquisition module, uses the duty ratio of time of each power-consuming hardware for the application program obtained in mobile terminal;
First power consumption determination module, for using the duty ratio of time of each power-consuming hardware in mobile terminal according to the application program in the power consumption of power-consuming hardware each in mobile terminal and mobile terminal, the application program determining in mobile terminal uses the power consumption of each power-consuming hardware in mobile terminal;
Second power consumption determination module, for using the power consumption of the application program in the power consumption determination mobile terminal of each power-consuming hardware in mobile terminal according to the application program in mobile terminal.
14. devices as claimed in claim 13, is characterized in that, described second acquisition module is specifically for obtaining total use duration of each power-consuming hardware in mobile terminal; The application program obtained in mobile terminal uses the duration of each power-consuming hardware in mobile terminal; Use total use duration of each power-consuming hardware in the duration of each power-consuming hardware in mobile terminal and mobile terminal according to the application program in mobile terminal, the application program determining in mobile terminal uses the duty ratio of time of each power-consuming hardware.
CN201310567322.XA 2013-11-13 2013-11-13 A kind of method and device for the power consumption reducing mobile terminal Active CN104635908B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310567322.XA CN104635908B (en) 2013-11-13 2013-11-13 A kind of method and device for the power consumption reducing mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310567322.XA CN104635908B (en) 2013-11-13 2013-11-13 A kind of method and device for the power consumption reducing mobile terminal

Publications (2)

Publication Number Publication Date
CN104635908A true CN104635908A (en) 2015-05-20
CN104635908B CN104635908B (en) 2018-09-28

Family

ID=53214761

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310567322.XA Active CN104635908B (en) 2013-11-13 2013-11-13 A kind of method and device for the power consumption reducing mobile terminal

Country Status (1)

Country Link
CN (1) CN104635908B (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866069A (en) * 2015-06-12 2015-08-26 广东小天才科技有限公司 Method and device for automatically clearing background application programs
CN105094282A (en) * 2015-07-22 2015-11-25 深圳市金立通信设备有限公司 Management method for application programs and terminal
CN105302598A (en) * 2015-10-15 2016-02-03 广东欧珀移动通信有限公司 Timed application running management method and device
CN105467329A (en) * 2016-01-25 2016-04-06 上海斐讯数据通信技术有限公司 Terminal endurance testing system and terminal endurance testing method
CN105491459A (en) * 2015-11-24 2016-04-13 深圳Tcl数字技术有限公司 Terminal power information prompting method and device
CN105573472A (en) * 2015-12-15 2016-05-11 小米科技有限责任公司 Method and device for closing application program
CN106292997A (en) * 2016-07-28 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of application program freezing method and device
CN106484071A (en) * 2016-09-12 2017-03-08 惠州Tcl移动通信有限公司 A kind of electricity saving method of intelligent terminal and system
CN106774806A (en) * 2016-12-18 2017-05-31 滁州昭阳电信通讯设备科技有限公司 The method and mobile terminal of a kind of power saving
CN106896890A (en) * 2015-12-21 2017-06-27 北京奇虎科技有限公司 Electric quantity for electronic equipment management method and device
CN106951050A (en) * 2016-01-06 2017-07-14 北京小米移动软件有限公司 Terminal power consumption method for determination of amount and device
WO2017128067A1 (en) * 2016-01-26 2017-08-03 陈学良 Method and system for detecting power consumption of mobile phone application programs
CN107222612A (en) * 2017-04-18 2017-09-29 广东小天才科技有限公司 The background application method for closing and device of a kind of mobile terminal
CN107450704A (en) * 2016-05-31 2017-12-08 中兴通讯股份有限公司 A kind of control method, device and the terminal of terminal abnormal power consumption
CN108055386A (en) * 2017-10-30 2018-05-18 捷开通讯(深圳)有限公司 Mobile terminal and its management method, storage device
CN108958696A (en) * 2018-07-02 2018-12-07 Oppo广东移动通信有限公司 Principal and subordinate's earphone method for handover control and Related product
CN110045811A (en) * 2018-01-12 2019-07-23 广东欧珀移动通信有限公司 Applied program processing method and device, electronic equipment, computer readable storage medium
CN110891304A (en) * 2019-11-29 2020-03-17 Tcl移动通信科技(宁波)有限公司 Gps power consumption control method for mobile terminal
CN111198607A (en) * 2018-11-20 2020-05-26 浙江宇视科技有限公司 Method and device for managing power consumption of electronic equipment
CN111309133A (en) * 2020-01-22 2020-06-19 维沃移动通信有限公司 Power saving control method and electronic equipment
TWI717878B (en) * 2019-10-24 2021-02-01 宏碁股份有限公司 Battery power prediction method and computer program product thereof
CN112799495A (en) * 2021-01-21 2021-05-14 惠州Tcl移动通信有限公司 Power consumption mode setting method, terminal device and computer readable storage medium
CN113439252A (en) * 2019-04-12 2021-09-24 深圳市欢太科技有限公司 Terminal control method, terminal control device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102498739A (en) * 2009-08-14 2012-06-13 谷歌公司 Providing a user with feedback regarding power consumption in battery-operated electronic devices
CN102918473A (en) * 2010-06-07 2013-02-06 松下电器产业株式会社 Mobile-type information processing terminal
US20130067263A1 (en) * 2011-09-14 2013-03-14 Huawei Technologies Co., Ltd. Method and apparatus for mobile terminal power management
CN103092685A (en) * 2012-12-21 2013-05-08 广东欧珀移动通信有限公司 Method and device for closing application program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102498739A (en) * 2009-08-14 2012-06-13 谷歌公司 Providing a user with feedback regarding power consumption in battery-operated electronic devices
CN102918473A (en) * 2010-06-07 2013-02-06 松下电器产业株式会社 Mobile-type information processing terminal
US20130067263A1 (en) * 2011-09-14 2013-03-14 Huawei Technologies Co., Ltd. Method and apparatus for mobile terminal power management
CN103092685A (en) * 2012-12-21 2013-05-08 广东欧珀移动通信有限公司 Method and device for closing application program

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866069A (en) * 2015-06-12 2015-08-26 广东小天才科技有限公司 Method and device for automatically clearing background application programs
CN105094282A (en) * 2015-07-22 2015-11-25 深圳市金立通信设备有限公司 Management method for application programs and terminal
CN105302598B (en) * 2015-10-15 2018-09-04 广东欧珀移动通信有限公司 A kind of time control method and device of application operation
CN105302598A (en) * 2015-10-15 2016-02-03 广东欧珀移动通信有限公司 Timed application running management method and device
CN105491459A (en) * 2015-11-24 2016-04-13 深圳Tcl数字技术有限公司 Terminal power information prompting method and device
CN105573472A (en) * 2015-12-15 2016-05-11 小米科技有限责任公司 Method and device for closing application program
CN106896890A (en) * 2015-12-21 2017-06-27 北京奇虎科技有限公司 Electric quantity for electronic equipment management method and device
CN106951050A (en) * 2016-01-06 2017-07-14 北京小米移动软件有限公司 Terminal power consumption method for determination of amount and device
CN105467329A (en) * 2016-01-25 2016-04-06 上海斐讯数据通信技术有限公司 Terminal endurance testing system and terminal endurance testing method
WO2017128067A1 (en) * 2016-01-26 2017-08-03 陈学良 Method and system for detecting power consumption of mobile phone application programs
CN107450704A (en) * 2016-05-31 2017-12-08 中兴通讯股份有限公司 A kind of control method, device and the terminal of terminal abnormal power consumption
CN106292997A (en) * 2016-07-28 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of application program freezing method and device
CN106484071A (en) * 2016-09-12 2017-03-08 惠州Tcl移动通信有限公司 A kind of electricity saving method of intelligent terminal and system
CN106774806A (en) * 2016-12-18 2017-05-31 滁州昭阳电信通讯设备科技有限公司 The method and mobile terminal of a kind of power saving
CN107222612A (en) * 2017-04-18 2017-09-29 广东小天才科技有限公司 The background application method for closing and device of a kind of mobile terminal
CN107222612B (en) * 2017-04-18 2020-03-17 广东小天才科技有限公司 Background application program closing method and device of mobile terminal
CN108055386A (en) * 2017-10-30 2018-05-18 捷开通讯(深圳)有限公司 Mobile terminal and its management method, storage device
CN110045811B (en) * 2018-01-12 2021-02-02 Oppo广东移动通信有限公司 Application program processing method and device, electronic equipment and computer readable storage medium
CN110045811A (en) * 2018-01-12 2019-07-23 广东欧珀移动通信有限公司 Applied program processing method and device, electronic equipment, computer readable storage medium
US11102697B2 (en) 2018-07-02 2021-08-24 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for controlling earphone switching and earphone
CN108958696A (en) * 2018-07-02 2018-12-07 Oppo广东移动通信有限公司 Principal and subordinate's earphone method for handover control and Related product
CN111198607A (en) * 2018-11-20 2020-05-26 浙江宇视科技有限公司 Method and device for managing power consumption of electronic equipment
CN111198607B (en) * 2018-11-20 2022-11-25 浙江宇视科技有限公司 Method and device for managing power consumption of electronic equipment
CN113439252A (en) * 2019-04-12 2021-09-24 深圳市欢太科技有限公司 Terminal control method, terminal control device, storage medium and electronic equipment
CN113439252B (en) * 2019-04-12 2023-05-16 深圳市欢太科技有限公司 Terminal control method and device, storage medium and electronic equipment
TWI717878B (en) * 2019-10-24 2021-02-01 宏碁股份有限公司 Battery power prediction method and computer program product thereof
CN110891304A (en) * 2019-11-29 2020-03-17 Tcl移动通信科技(宁波)有限公司 Gps power consumption control method for mobile terminal
CN110891304B (en) * 2019-11-29 2023-07-28 浙江如新智能科技有限公司 gPS power consumption control method for mobile terminal
CN111309133A (en) * 2020-01-22 2020-06-19 维沃移动通信有限公司 Power saving control method and electronic equipment
CN112799495A (en) * 2021-01-21 2021-05-14 惠州Tcl移动通信有限公司 Power consumption mode setting method, terminal device and computer readable storage medium

Also Published As

Publication number Publication date
CN104635908B (en) 2018-09-28

Similar Documents

Publication Publication Date Title
CN104635908A (en) Method and device for lowering power consumption of mobile terminal
CN100361368C (en) Method and system for charging control of lithium cell
CN102256019A (en) Multi-mode mobile communication terminal and control method and system thereof
US20130346762A1 (en) Optimizing battery use for known future load
CN101917516A (en) Power-saving processing method and system for mobile terminal, and mobile terminal
CN105072292A (en) Application control method and terminal
US8966295B2 (en) Apparatus and method for controlling transfer of power between energy storage devices through a converter
CN103248763B (en) A kind of means of communication and mobile terminal
CN103200318B (en) The power-saving method of mobile terminal and mobile terminal
CN102097844A (en) Intelligent battery management system
CN102200826B (en) Power adapter and portable computer
CN104700886A (en) Memory circuit with power supply state sensor
CN108170252B (en) Terminal power saving method and device
CN103037109B (en) Multicore equipment energy consumption management method and device
CN103135731A (en) Method and device for intelligent power supply control for portable computer
CN103858070A (en) Power-off threshold voltage adjustment method, starting up method and electronic equipment using same
KR101510960B1 (en) Method and apparatus for controlling mode in battery pack electric bycycle
CN103746417B (en) The Low-power-consumptiocontrol control method of a kind of battery detection chip and system
CN106455016A (en) Method for controlling mobile terminal, and mobile terminal
CN103391362A (en) Application classifying method based on power consumption and mobile terminal
CN103986226B (en) Air-conditioning and electric power system thereof and method of supplying power to
CN201994715U (en) Power supply system for wireless sensor node based on multiple power supply mechanisms
CN103901997A (en) Operating state control method and device
CN102929380A (en) Method and device for reducing power consumption of mobile terminal, and terminal
CN104035344A (en) Power saving device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant