CN105094282A - Management method for application programs and terminal - Google Patents

Management method for application programs and terminal Download PDF

Info

Publication number
CN105094282A
CN105094282A CN201510432161.2A CN201510432161A CN105094282A CN 105094282 A CN105094282 A CN 105094282A CN 201510432161 A CN201510432161 A CN 201510432161A CN 105094282 A CN105094282 A CN 105094282A
Authority
CN
China
Prior art keywords
application program
power consumption
average power
duration
current operation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510432161.2A
Other languages
Chinese (zh)
Inventor
靖君臣
罗化
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201510432161.2A priority Critical patent/CN105094282A/en
Publication of CN105094282A publication Critical patent/CN105094282A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the invention discloses a management method for application programs and a terminal. The method comprises following steps: acquiring first duration of use inputted by a user; determining whether first duration of use is longer than second duration of use, wherein second duration of use is calculated duration of use for residual electricity quantity of the terminal; and determining at least one target application program and turning off the at least one target application program according to the first duration of use and pre-counted first average quantity for power consumption of each application program of currently-operating application programs if so.The embodiment of the management method for application programs and the terminal has following beneficial effects: residual electricity quantity of the terminal satisfies the requirement of a user for expected duration of use; operation is performed easily; and usage experience of the user is improved.

Description

A kind of management method of application program and terminal
Technical field
The present invention relates to electronic technology field, be specifically related to a kind of management method and terminal of application program.
Background technology
Along with the fast development of electronic technology, the application in terminal is more and more diversified, and meanwhile, the use duration how extending dump energy in terminal also becomes the problem that most of user compares care gradually.
In actual applications, terminal can estimate the use duration of dump energy according to its average power consumption within the unit interval.When the use duration that user expects is greater than the use duration that terminal estimates, user can extend the use duration of dump energy by multiple application program run in repeatedly manual-lock terminal.But multiple application program run still may cannot meet the demand of user for the use duration expected in the mode extending the use duration of dump energy in this repeatedly manual-lock terminal, and complicated operation.
Summary of the invention
The embodiment of the invention discloses a kind of management method and terminal of application program, the use duration of terminal residual electricity can be made to meet the demand of user for the use duration expected, and simple to operate.
Embodiment of the present invention first aspect discloses a kind of management method of application program, and described method comprises:
Obtain user's input first uses duration;
Judge that described first uses duration whether to be greater than the second use duration, described second use duration is the use duration of the dump energy of the terminal calculated;
When described first uses duration to be greater than described second use duration, use first average power consumption added up in advance of each described application program in the application program of duration and current operation according to described first, from the application program of described current operation, determine at least one destination application;
Close at least one destination application described.
Embodiment of the present invention second aspect discloses a kind of terminal, and described terminal comprises acquiring unit, judging unit, the first determining unit and closing unit, wherein:
Described acquiring unit, for obtaining user's input first uses duration;
Described judging unit, for judging that described first uses duration whether to be greater than the second use duration, described second use duration is the use duration of the dump energy of the described terminal calculated;
Described first determining unit, for when described first uses duration to be greater than described second use duration, use first average power consumption added up in advance of each described application program in the application program of duration and current operation according to described first, from the application program of described current operation, determine at least one destination application;
Described closing unit, for closing at least one destination application described.
In the embodiment of the present invention, obtain user's input first uses duration, when this first use duration is greater than the second use duration of the dump energy of the terminal calculated, according to this first the first average power consumption added up in advance using each application program of duration and current operation, from the application program of current operation, determine at least one destination application, and close this at least one destination application.Visible, the embodiment of the present invention can be determined at least one destination application according to the use duration of user's input and the average power consumption of each application program counted in advance and close this at least one destination application from the application program of current operation, is more than or equal to the use duration of user's input with the use duration of the dump energy after making this at least one destination application of closedown.Implementing the embodiment of the present invention can make the use duration of terminal residual electricity meet the demand of user for the use duration expected, and simple to operate, improves the experience of user.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the management method of a kind of application program disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the management method of another kind of application program disclosed in the embodiment of the present invention;
Fig. 3 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of the embodiment of the present invention another terminal disclosed;
Fig. 6 is the structural representation of the embodiment of the present invention another terminal disclosed;
Fig. 7 is the structural representation of the embodiment of the present invention another terminal disclosed.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of management method and terminal of application program, the use duration of dump energy in terminal can be made to meet the demand of user for the use duration expected, and simple to operate, improve the experience of user.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of the management method of a kind of application program disclosed in the embodiment of the present invention.Wherein, method shown in Fig. 1 can be applied to smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palm PC, UMPC (Ultra-mobilePersonalComputer, Ultra-Mobile PC), in the terminal such as net book and mobile internet device (MobileInternetDevices, MID), PAD.As shown in Figure 1, the management method of this application program can comprise following operation steps:
First use duration of S101, acquisition user input.
In the embodiment of the present invention, this first use duration using duration to use duration and the actual demand of self to input for user according to second of the dump energy of the terminal calculated.
S102, judge above-mentioned first use duration whether be greater than the second use duration.
In the embodiment of the present invention, when the judged result of step S102 is for being, perform step S103; When the judged result of step S102 is no, this flow process can be terminated, also can to first information that use duration wrong of user's output for pointing out user to input, the embodiment of the present invention does not limit.
In the embodiment of the present invention, this second use duration is the use duration of the dump energy of the terminal calculated, and namely this second use duration is the use duration of the dump energy maintenance current operating conditions of the terminal calculated.Concrete, the use duration of the dump energy of this second terminal using duration can calculate for first average power consumption (average power consumption namely per minute) counted in advance of each application program in the application program according to current operation, can make the use duration of the dump energy of the terminal calculated more accurate like this.
S103, use first average power consumption added up in advance of each application program in the application program of duration and current operation according to above-mentioned first, from the application program of current operation, determine at least one destination application.
In the embodiment of the present invention, concrete, being more than or equal to first of user's input with the use duration of dump energy after closing at least one application program in the application program of current operation uses duration for foundation, from the application program of current operation, determine at least one destination application.
As the optional embodiment of one, use first average power consumption added up in advance of each application program in the application program of duration and current operation according to above-mentioned first, from the application program of current operation, determine that at least one destination application can comprise:
First average power consumption added up in advance of each application program in the application program of duration and current operation is used according to above-mentioned first, at least one set of applications is determined from the application program of current operation, wherein, each set of applications comprises at least one application program;
Export at least one set of applications above-mentioned, obtain the destination application group that user selects from least one set of applications above-mentioned, and each application program of this destination application group is defined as destination application.
Wherein, this optional embodiment can be more than or equal to first of user's input with the use duration of dump energy after closing at least one application program in the application program of current operation and use duration for foundation, for user provides the combination of the multiple application program that can close (i.e. multiple set of applications that can close), suitable set of applications is selected according to the demand of self to make user, after user chooses suitable set of applications, shutoff operation is performed to each application program in this set of applications, improve the experience of user.
As another optional embodiment, use first average power consumption added up in advance of each application program in the application program of duration and current operation according to above-mentioned first, from the application program of current operation, determine that at least one destination application also can comprise:
First average power consumption added up in advance of each application program in the application program of duration and current operation is used according to above-mentioned first, at least one set of applications is determined from the application program of current operation, wherein, each set of applications comprises at least one application program;
According to the frequency of utilization of each application program at least one set of applications above-mentioned of adding up in advance, from at least one set of applications above-mentioned, determine the destination application group at the application program place that frequency of utilization is minimum, and each application program of destination application group is defined as destination application.
Wherein, this optional embodiment can according to the selective rule pre-set, as the frequency of utilization of application program, the priority of application program or the running status (as front stage operation or running background) etc. of application program, automatically a set of applications is selected from least one set of applications determined, wherein, in this set of applications, in low or this set of applications of the frequency of utilization of application program, in low or this set of applications of the priority of application program, the running status of application program is running background etc., and all application programs of closing in this set of applications, terminal can be made so more intelligent, decrease the manual operation of user, improve the experience of user.
S104, close at least one destination application above-mentioned.
In the embodiment of the present invention, after closing at least one destination application above-mentioned, the use duration of the dump energy of terminal is more than or equal to above-mentioned first and uses duration.
As another optional embodiment, when the judged result of step S102 is for being, before execution step S103, following operation can also be performed:
Judge that above-mentioned first uses duration whether to be less than or equal to the 3rd use duration, wherein, 3rd uses duration to be the use duration (the maximum use duration of the dump energy of terminal) of the dump energy of the terminal when all application programs of terminal are all in closed condition, and when judged result is for being, perform step S103; When judged result is no, can directly terminate this flow process, also first can export for the wrong information of the use duration of pointing out user to input to user, and then perform step S101, the embodiment of the present invention does not limit.Can ensure that the first use duration that user inputs is less than or equal to the 3rd use duration and is more than or equal to above-mentioned second use duration like this, namely when the use duration of user's input is within the scope of effective duration, just perform follow-up operation, further increase the experience of user.
Visible, the embodiment of the present invention can be determined at least one destination application according to the use duration of user's input and the average power consumption of each application program counted in advance and close this at least one destination application from the application program of current operation, is more than or equal to the use duration of user's input with the use duration of the dump energy after making this at least one destination application of closedown.Implementing the embodiment of the present invention can make the use duration of terminal residual electricity meet the demand of user for the use duration expected, and simple to operate, improves the experience of user.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of the management method of another kind of application program disclosed in the embodiment of the present invention.Wherein, method shown in Fig. 2 can be applied to smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palm PC, UMPC (Ultra-mobilePersonalComputer, Ultra-Mobile PC), in the terminal such as net book and mobile internet device (MobileInternetDevices, MID), PAD.As shown in Figure 2, the management method of this application program can comprise following operation steps:
The second average power consumption in S201, computing terminal after each application program each run.
In the embodiment of the present invention, when any one application program of terminal is run, record the total power consumption of this application program when working time of this application program this operation and this time run, and when the second average power consumption after each application program each run equals each run the total power consumption of this application program divided by working time of this this time of application program.
S202, calculate the mean value of predetermined number second average power consumption of each application program.
In the embodiment of the present invention, the predetermined number for each application program can be the same or different, and the embodiment of the present invention does not limit.
For example, suppose that the predetermined number corresponding with application A is n, the working time of the application A counted each run when running for n time is respectively t 1, t 2, t 3..., t n-1and t nand the total power consumption of this application A is respectively Q during each run 1, Q 2, Q 3..., Q n-1and Q n, then the second average power consumption of this application A each run is respectively q 1, q 2, q 3..., q n-1and q n, wherein, q n=Q n/ t n.The then mean value q of n the second average power consumption of this application A a=(q 1+ q 2+ q 3+ ... + q n-1+ q n)/n, wherein, n is larger, this mean value q amore close to the average power consumption per minute of this application A, i.e. the first average power consumption of this application A.
S203, using the mean value of the predetermined number of each application program the second average power consumption as the expectation of the predetermined number of this application program the second average power consumption, calculate the variance of predetermined number second average power consumption of this application program.
In the embodiment of the present invention, with above-mentioned application A for example, with q afor the expectation of n the second average power consumption, then variance D (the q)=[(q of this n the second average power consumption 1-q a) 2+ (q 2-q a) 2+ (q 3-q a) 2+ ... + (q n-1-q a) 2+ (q n-q a) 2]/n.
S204, judge whether the variance of predetermined number second average power consumption of each application program is less than or equal to default variance threshold values.
In the embodiment of the present invention, when the judged result of step S204 is for being, perform step S205, namely the mean value of predetermined number second average power consumption of application program can as the average power consumption (the first average power consumption) per minute of this application program; When the judged result of step S204 is no, perform step S210, namely the mean value of predetermined number second average power consumption of application program can not as the average power consumption (the first average power consumption) per minute of this application program.The degree of accuracy of the first average power consumption of each application program can be improved like this, and then improve the degree of accuracy of the above-mentioned second use duration calculated.
S205, the mean value of the predetermined number of each application program the second average power consumption is defined as the first average power consumption of this application program.
First use duration of S206, acquisition user input.
In the embodiment of the present invention, this first use duration using duration to use duration and the actual demand of self to input for user according to second of the dump energy of the terminal calculated.
S207, judge above-mentioned first use duration whether be greater than the second use duration.
In the embodiment of the present invention, when the judged result of step S207 is for being, perform step S208; When the judged result of step S207 is no, this flow process can be terminated, also can to first information that use duration wrong of user's output for pointing out user to input, the embodiment of the present invention does not limit.
In the embodiment of the present invention, this second use duration is the use duration of the dump energy of the terminal calculated, and namely this second use duration is the use duration of the dump energy maintenance current operating conditions of the terminal calculated.Concrete, the use duration of the dump energy of this second terminal using duration can calculate for first average power consumption (average power consumption namely per minute) of each application program in the application program according to current operation, can make the use duration of the dump energy of the terminal calculated more accurate like this.
S208, use the first average power consumption of each application program in the application program of duration and current operation according to above-mentioned first, from the application program of current operation, determine at least one destination application.
In the embodiment of the present invention, concrete, being more than or equal to first of user's input with the use duration of dump energy after closing at least one application program in the application program of current operation uses duration for foundation, from the application program of current operation, determine at least one destination application.
As the optional embodiment of one, use first average power consumption added up in advance of each application program in the application program of duration and current operation according to above-mentioned first, from the application program of current operation, determine that at least one destination application can comprise:
First average power consumption added up in advance of each application program in the application program of duration and current operation is used according to above-mentioned first, at least one set of applications is determined from the application program of current operation, wherein, each set of applications comprises at least one application program;
Export at least one set of applications above-mentioned, obtain the destination application group that user selects from least one set of applications above-mentioned, and each application program of this destination application group is defined as destination application.
Wherein, this optional embodiment can be more than or equal to first of user's input with the use duration of dump energy after closing at least one application program in the application program of current operation and use duration for foundation, for user provides the combination of the multiple application program that can close (i.e. multiple set of applications that can close), suitable set of applications is selected according to the demand of self to make user, after user chooses suitable set of applications, shutoff operation is performed to each application program in this set of applications, improve the experience of user.
As another optional embodiment, use first average power consumption added up in advance of each application program in the application program of duration and current operation according to above-mentioned first, from the application program of current operation, determine that at least one destination application also can comprise:
First average power consumption added up in advance of each application program in the application program of duration and current operation is used according to above-mentioned first, at least one set of applications is determined from the application program of current operation, wherein, each set of applications comprises at least one application program;
According to the frequency of utilization of each application program at least one set of applications above-mentioned of adding up in advance, from at least one set of applications above-mentioned, determine the destination application group at the application program place that frequency of utilization is minimum, and each application program of destination application group is defined as destination application.
Wherein, this optional embodiment can according to the selective rule pre-set, as the frequency of utilization of application program, the priority of application program or the running status (as front stage operation or running background) etc. of application program, automatically a set of applications is selected from least one set of applications determined, wherein, in this set of applications, in low or this set of applications of the frequency of utilization of application program, in low or this set of applications of the priority of application program, the running status of application program is running background etc., and all application programs of closing in this set of applications, terminal can be made so more intelligent, decrease the manual operation of user, improve the experience of user.
S209, close at least one destination application above-mentioned.
In the embodiment of the present invention, after closing at least one destination application above-mentioned, the use duration of the dump energy of terminal is more than or equal to the first use duration.
S210, increase predetermined number.
In the embodiment of the present invention, be finished after step S210, continue to perform step S202, now, predetermined number is the predetermined number after increasing, the mean value of the predetermined number of each application program the second average power consumption can be made like this as the average power consumption (the first average power consumption) per minute of this application program, improve the degree of accuracy of the first average power consumption.
Implementing the embodiment of the present invention can make the use duration of terminal residual electricity meet the demand of user for the use duration expected, and simple to operate, improves the experience of user.
Refer to Fig. 3, Fig. 3 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention.As shown in Figure 3, this terminal can comprise acquiring unit 301, judging unit 302, first determining unit 303 and closing unit 304, wherein:
Acquiring unit 301, for obtaining user's input first uses duration.
In the embodiment of the present invention, this first use duration using duration to use duration and the actual demand of self to input for user according to second of the dump energy of the terminal calculated.
Judging unit 302, for judging that above-mentioned first uses duration whether to be greater than the second use duration.
Wherein, this second use duration is the use duration of the dump energy of the terminal calculated, and namely this second use duration is the use duration of the dump energy maintenance current operating conditions of the terminal calculated.Concrete, the use duration of the dump energy of this second terminal using duration can calculate for first average power consumption (average power consumption namely per minute) counted in advance of each application program in the application program according to current operation, can make the use duration of the dump energy of the terminal calculated more accurate like this.
First determining unit 303, for when above-mentioned first uses duration to be greater than above-mentioned second use duration, use first average power consumption added up in advance of each application program in the application program of duration and current operation according to above-mentioned first, from the application program of current operation, determine at least one destination application.
Closing unit 304, for closing at least one destination application above-mentioned.
In the embodiment of the present invention, after closing unit 304 closes at least one destination application above-mentioned, the use duration of the dump energy of terminal is more than or equal to the first use duration.
As the optional embodiment of one, the first determining unit can be specifically for:
Use first average power consumption added up in advance of each application program in the application program of duration and current operation according to above-mentioned first, from the application program of current operation, determine at least one set of applications;
Export at least one set of applications above-mentioned;
Obtain the destination application group that user selects from least one set of applications above-mentioned, and each application program of this destination application group is defined as destination application.
Wherein, each set of applications comprises at least one application program.
Visible, this optional embodiment can make user select suitable set of applications according to the demand of self, performs shutoff operation, improve the experience of user after user chooses suitable set of applications to each application program in this set of applications.
As the optional embodiment of another kind, the first determining unit also can be specifically for:
Use first average power consumption added up in advance of each application program in the application program of duration and current operation according to above-mentioned first, from the application program of current operation, determine at least one set of applications;
According to the frequency of utilization of each application program at least one set of applications above-mentioned of adding up in advance, from at least one set of applications above-mentioned, determine the destination application group at the application program place that frequency of utilization is minimum, and each application program of destination application group is defined as destination application.
Wherein, each set of applications comprises at least one application program.
Visible, this optional embodiment can make terminal more intelligent, decreases the manual operation of user, improves the experience of user.
As another optional embodiment, judging unit 302 can also be used for when above-mentioned first uses duration to be greater than above-mentioned second use duration, judge that above-mentioned first uses duration whether to be less than or equal to the 3rd use duration, and when the judged result of judging unit 302 is for being, first determining unit 303 performs above-mentioned the first average power consumption added up in advance using each application program in the application program of duration and current operation according to above-mentioned first, the operation of at least one destination application is determined from the application program of current operation, wherein, 3rd uses duration to be the use duration (the maximum use duration of the dump energy of terminal) of the dump energy of the terminal when all application programs of terminal are all in closed condition.
As another optional embodiment, on the terminal structure basis shown in Fig. 3, this terminal can also comprise the first computing unit 305 and the second determining unit 306, now, the structure of this terminal can as shown in Figure 4, and Fig. 4 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention.Wherein:
First computing unit 305, for the second average power consumption after application program each run each in computing terminal and the mean value of predetermined number the second average power consumption calculating each application program, wherein, the second average power consumption of each application program equals the total power consumption of this application program each run divided by working as time working time.
Second determining unit 306, for being defined as the first average power consumption of this application program by the mean value of the predetermined number of each application program the second average power consumption.
Optionally, the second determining unit 306 can comprise the second computing unit 3061 and the 3rd determining unit 3062, and now, this terminal can as shown in Figure 5, and Fig. 5 is the structural representation of the embodiment of the present invention another terminal disclosed.Wherein:
Second computing unit 3061, for the expectation of predetermined number the second average power consumption using the mean value of the predetermined number of each application program the second average power consumption as this application program, calculate the variance of predetermined number second average power consumption of this application program;
3rd determining unit 3062, when variance for predetermined number the second average power consumption when each application program is less than or equal to default variance threshold values, the mean value of the predetermined number of each application program the second average power consumption is defined as the first average power consumption of this application program.
Further alternative, this terminal can also comprise increases unit 307, and now, the structure of this terminal can as shown in Figure 6, and Fig. 6 is the structural representation of the embodiment of the present invention another terminal disclosed.Wherein:
Increase unit 307, when variance for predetermined number the second average power consumption when each application program is greater than default variance threshold values, increase predetermined number, to trigger the operation that the first computing unit 305 re-executes the mean value of predetermined number second average power consumption of each application program of above-mentioned calculating, now, predetermined number is the predetermined number after increasing, and improves the degree of accuracy of the first average power consumption.
Implementing the embodiment of the present invention can make the use duration of terminal residual electricity meet the demand of user for the use duration expected, and simple to operate, improves the experience of user.
Refer to Fig. 7, Fig. 7 is the structural representation of the embodiment of the present invention another terminal disclosed.As shown in Figure 7, this terminal can comprise: at least one processor 701, as CPU, communication interface 702, storer 703 and at least one communication bus 704, storer 703 can be high-speed RAM storer, also can be nonvolatile memory (non-volatilememory), as at least one magnetic disk memory, optionally, storer 703 can also be that at least one is positioned at the memory storage away from aforementioned processor 701.Wherein:
Communication bus 704 is for realizing the connection communication between these assemblies.
Communication interface 702, for obtaining user's input first uses duration, and wherein, communication interface 702 can comprise touch-screen, physical button or receiver etc., and the embodiment of the present invention does not limit.
Processor 701 calls the program code stored in storer 703, for performing following operation:
Judge that above-mentioned first uses duration whether to be greater than the second use duration, wherein, second use duration is the use duration of the dump energy of the terminal calculated, concrete, the use duration of the dump energy of this second terminal using duration can calculate for first average power consumption (average power consumption namely per minute) counted in advance of each application program in the application program according to current operation, namely this second use duration is the use duration of the dump energy maintenance current operating conditions of the terminal calculated;
When above-mentioned first uses duration to be greater than above-mentioned second use duration, use first average power consumption added up in advance of each application program in the application program of duration and current operation according to above-mentioned first, from the application program of current operation, determine at least one destination application;
Close at least one destination application above-mentioned.
In one embodiment, processor 701 uses first average power consumption added up in advance of each application program in the application program of duration and current operation according to above-mentioned first, determines that the concrete mode of at least one destination application can be from the application program of current operation:
First average power consumption added up in advance of each application program in the application program of duration and current operation is used according to above-mentioned first, at least one set of applications is determined from the application program of current operation, this at least one set of applications is exported by communication interface 702, the destination application group that user selects from this at least one set of applications is obtained by communication interface 702, and each application program of destination application group is defined as destination application, wherein, each set of applications comprises at least one application program.
In another embodiment, processor 701 uses first average power consumption added up in advance of each application program in the application program of duration and current operation according to above-mentioned first, determines that the concrete mode of at least one destination application also can be from the application program of current operation:
First average power consumption added up in advance of each application program in the application program of duration and current operation is used according to above-mentioned first, at least one set of applications is determined from the application program of current operation, according to the frequency of utilization of each application program in this at least one set of applications of adding up in advance, the destination application group at the application program place that frequency of utilization is minimum is determined from this at least one set of applications, and each application program of destination application group is defined as destination application, wherein, each set of applications comprises at least one application program.
In yet another embodiment, processor 701 calls the program code stored in storer 703, can also be used for performing following operation:
When above-mentioned first uses duration to be greater than above-mentioned second use duration, judge that above-mentioned first uses duration whether to be less than or equal to the 3rd use duration, when above-mentioned first uses duration to be less than or equal to the 3rd use duration, processor 701 performs above-mentioned the first average power consumption added up in advance using each application program in the application program of duration and current operation according to above-mentioned first, the operation of at least one destination application is determined from the application program of current operation, wherein, 3rd uses duration to be the use duration of the dump energy when all application programs of terminal are all in closed condition.
In yet another embodiment, processor 701 calls the program code stored in storer 703, can also be used for performing following operation:
The second average power consumption in computing terminal after each application program each run, wherein, the second average power consumption of each application program equals the total power consumption of this application program each run divided by working as time working time;
Calculate the mean value of predetermined number second average power consumption of each application program;
The mean value of the predetermined number of each application program the second average power consumption is defined as the first average power consumption of this application program.
In yet another embodiment, the concrete mode that the mean value of the predetermined number of each application program the second average power consumption is defined as the first average power consumption of this application program can be by processor 701:
The expectation of predetermined number the second average power consumption using the mean value of the predetermined number of each application program the second average power consumption as this application program, calculates the variance of predetermined number second average power consumption of this application program;
When the variance of predetermined number second average power consumption of each application program is less than or equal to default variance threshold values, the mean value of the predetermined number of each application program the second average power consumption is defined as the first average power consumption of this application program.
Optionally, processor 701 calls the program code stored in storer 703, can also be used for performing following operation:
When the variance of predetermined number second average power consumption of each application program is greater than default variance threshold values, increase predetermined number, the operation of the mean value of predetermined number second average power consumption of each application program of above-mentioned calculating is re-executed with Trigger processor 701, now, predetermined number is the predetermined number after increasing, and improves the degree of accuracy of the first average power consumption.
Implementing the embodiment of the present invention can make the use duration of terminal residual electricity meet the demand of user for the use duration expected, and simple to operate, improves the experience of user.
It should be noted that, in the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and unit might not be that the present invention is necessary.
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention terminal can carry out merging, divide and deleting according to actual needs.
Unit described in the embodiment of the present invention, universal integrated circuit can be passed through, such as CPU (CentralProcessingUnit, central processing unit), or realized by ASIC (ApplicationSpecificIntegratedCircuit, special IC).
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above the management method of a kind of application program disclosed in the embodiment of the present invention and terminal are described in detail, apply instantiation herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a management method for application program, is characterized in that, described method comprises:
Obtain user's input first uses duration;
Judge that described first uses duration whether to be greater than the second use duration, described second use duration is the use duration of the dump energy of the terminal calculated;
When described first uses duration to be greater than described second use duration, use first average power consumption added up in advance of each described application program in the application program of duration and current operation according to described first, from the application program of described current operation, determine at least one destination application;
Close at least one destination application described.
2. method according to claim 1, it is characterized in that, described the first average power consumption added up in advance using each described application program in the application program of duration and current operation according to described first, from the application program of described current operation, determine at least one destination application, comprising:
First average power consumption added up in advance of each described application program in the application program of duration and current operation is used according to described first, from the application program of described current operation, determine at least one set of applications, each described set of applications comprises application program described at least one;
Export at least one set of applications described, obtain the destination application group that user selects from least one set of applications described, and each application program of described destination application group is defined as destination application; Or
First average power consumption added up in advance of each described application program in the application program of duration and current operation is used according to described first, from the application program of described current operation, determine at least one set of applications, each described set of applications comprises application program described at least one;
According to the frequency of utilization of each application program at least one set of applications described in adding up in advance, from at least one set of applications described, determine the destination application group at the application program place that frequency of utilization is minimum, and each application program of described destination application group is defined as destination application.
3. method according to claim 1 and 2, it is characterized in that, when described first uses duration to be greater than described second use duration, described the first average power consumption added up in advance using each described application program in the application program of duration and current operation according to described first, determine at least one destination application from the application program of described current operation before, described method also comprises:
Judge that described first uses duration whether to be less than or equal to the 3rd to use duration, wherein, the described 3rd uses duration to be the use duration of the described dump energy when all application programs of described terminal are all in closed condition;
When judged result is for being, perform described the first average power consumption added up in advance using each described application program in the application program of duration and current operation according to described first, from the application program of described current operation, determine the operation of at least one destination application.
4. method according to claim 1, is characterized in that, before first of described acquisition user input uses duration, described method also comprises:
The second average power consumption in computing terminal after each application program each run, wherein, the second average power consumption of each described application program equals the total power consumption of this application program each run divided by working as time working time;
Calculate the mean value of predetermined number described second average power consumption of each described application program;
The mean value of the predetermined number of each described application program described second average power consumption is defined as the first average power consumption of this application program.
5. method according to claim 4, is characterized in that, the described mean value by the predetermined number of each described application program described second average power consumption is defined as the first average power consumption of this application program, comprising:
The expectation of predetermined number described second average power consumption using the mean value of the predetermined number of each described application program described second average power consumption as this application program, calculates the variance of predetermined number described second average power consumption of this application program;
When the variance of predetermined number described second average power consumption of each described application program is less than or equal to default variance threshold values, the mean value of the predetermined number of each described application program described second average power consumption is defined as the first average power consumption of this application program;
Described method also comprises:
When the variance of predetermined number described second average power consumption of each described application program is greater than described default variance threshold values, increase described predetermined number, and perform the operation of the mean value of predetermined number described second average power consumption of each described application program of described calculating.
6. a terminal, is characterized in that, described terminal comprises acquiring unit, judging unit, the first determining unit and closing unit, wherein:
Described acquiring unit, for obtaining user's input first uses duration;
Described judging unit, for judging that described first uses duration whether to be greater than the second use duration, described second use duration is the use duration of the dump energy of the described terminal calculated;
Described first determining unit, for when described first uses duration to be greater than described second use duration, use first average power consumption added up in advance of each described application program in the application program of duration and current operation according to described first, from the application program of described current operation, determine at least one destination application;
Described closing unit, for closing at least one destination application described.
7. terminal according to claim 6, is characterized in that, described first determining unit specifically for:
First average power consumption added up in advance of each described application program in the application program of duration and current operation is used according to described first, at least one set of applications is determined from the application program of described current operation, export at least one set of applications described, obtain the destination application group that user selects from least one set of applications described, and each application program of described destination application group is defined as destination application, each described set of applications comprises application program described at least one; Or
First average power consumption added up in advance of each described application program in the application program of duration and current operation is used according to described first, at least one set of applications is determined from the application program of described current operation, according to the frequency of utilization of each application program at least one set of applications described in adding up in advance, the destination application group at the application program place that frequency of utilization is minimum is determined from least one set of applications described, and each application program of described destination application group is defined as destination application, each described set of applications comprises application program described at least one.
8. the terminal according to claim 6 or 7, it is characterized in that, described judging unit, also for when described first uses duration to be greater than described second use duration, judge that described first uses duration whether to be less than or equal to the 3rd use duration, when described first uses duration to be less than or equal to described 3rd use duration, described first determining unit performs described the first average power consumption added up in advance using each described application program in the application program of duration and current operation according to described first, the operation of at least one destination application is determined from the application program of described current operation, wherein, described 3rd uses duration to be the use duration of the described dump energy when all application programs of described terminal are all in closed condition.
9. terminal according to claim 6, is characterized in that, described terminal also comprises the first computing unit and the second determining unit, wherein:
Described first computing unit, for the mean value of the second average power consumption of calculating in described terminal after each application program each run and predetermined number described second average power consumption that calculates each described application program, wherein, the second average power consumption of each described application program equals the total power consumption of this application program each run divided by working as time working time;
Described second determining unit, for being defined as described first average power consumption of this application program by the mean value of the predetermined number of each described application program described second average power consumption.
10. terminal according to claim 9, is characterized in that, described second determining unit comprises the second computing unit and the 3rd determining unit, wherein:
Described second computing unit, for the expectation of predetermined number described second average power consumption using the mean value of the predetermined number of each described application program described second average power consumption as this application program, calculate the variance of predetermined number described second average power consumption of this application program;
Described 3rd determining unit, when variance for predetermined number described second average power consumption when each described application program is less than or equal to default variance threshold values, the mean value of the predetermined number of each described application program described second average power consumption is defined as described first average power consumption of this application program;
Described terminal also comprises increase unit, wherein:
Described increase unit, when the variance for predetermined number described second average power consumption when each described application program is greater than described default variance threshold values, increases described predetermined number.
CN201510432161.2A 2015-07-22 2015-07-22 Management method for application programs and terminal Pending CN105094282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510432161.2A CN105094282A (en) 2015-07-22 2015-07-22 Management method for application programs and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510432161.2A CN105094282A (en) 2015-07-22 2015-07-22 Management method for application programs and terminal

Publications (1)

Publication Number Publication Date
CN105094282A true CN105094282A (en) 2015-11-25

Family

ID=54574927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510432161.2A Pending CN105094282A (en) 2015-07-22 2015-07-22 Management method for application programs and terminal

Country Status (1)

Country Link
CN (1) CN105094282A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105709400A (en) * 2016-01-22 2016-06-29 安徽华米信息科技有限公司 Method and device for determining user movement recording duration and electronic device
CN106055404A (en) * 2016-05-18 2016-10-26 广东欧珀移动通信有限公司 Method and device for cleaning up background application programs
CN106200866A (en) * 2016-06-28 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of application freezing method and mobile terminal
CN106413053A (en) * 2016-06-02 2017-02-15 周奇 Mobile terminal and power-saving method thereof
CN106896890A (en) * 2015-12-21 2017-06-27 北京奇虎科技有限公司 Electric quantity for electronic equipment management method and device
CN106896894A (en) * 2015-12-21 2017-06-27 北京奇虎科技有限公司 Terminal power management method and terminal
CN107450704A (en) * 2016-05-31 2017-12-08 中兴通讯股份有限公司 A kind of control method, device and the terminal of terminal abnormal power consumption
CN107728769A (en) * 2017-09-21 2018-02-23 深圳Tcl新技术有限公司 Background application management method, device and computer-readable recording medium
CN109309953A (en) * 2018-11-30 2019-02-05 努比亚技术有限公司 Consumption detection method, apparatus, terminal and readable storage medium storing program for executing
CN109388222A (en) * 2017-08-04 2019-02-26 中兴通讯股份有限公司 Power-saving processing method, device and mobile terminal and computer readable storage medium
CN109462627A (en) * 2017-09-06 2019-03-12 中国移动通信有限公司研究院 A kind of electric quantity managing method and system of internet-of-things terminal
WO2019128546A1 (en) * 2017-12-29 2019-07-04 Oppo广东移动通信有限公司 Application program processing method, electronic device, and computer readable storage medium
CN111008079A (en) * 2019-12-10 2020-04-14 Oppo(重庆)智能科技有限公司 Process management method, device, storage medium and electronic equipment
CN112732065A (en) * 2019-10-28 2021-04-30 东芝泰格有限公司 Information processing apparatus and storage medium
CN117369619A (en) * 2023-12-06 2024-01-09 深圳市德晟达电子科技有限公司 Intelligent energy-saving method and system for computer

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778164A (en) * 2010-01-06 2010-07-14 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for adjusting power parameters thereof
CN102521041A (en) * 2011-12-14 2012-06-27 华为终端有限公司 Method for processing application program and wireless handheld device
US20120297224A1 (en) * 2011-05-17 2012-11-22 Yung-Feng Chen Power Management Method and Device Thereof
CN104077207A (en) * 2013-03-27 2014-10-01 腾讯科技(深圳)有限公司 Electric quantity prompt method and device
CN104635908A (en) * 2013-11-13 2015-05-20 腾讯科技(深圳)有限公司 Method and device for lowering power consumption of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778164A (en) * 2010-01-06 2010-07-14 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for adjusting power parameters thereof
US20120297224A1 (en) * 2011-05-17 2012-11-22 Yung-Feng Chen Power Management Method and Device Thereof
CN102521041A (en) * 2011-12-14 2012-06-27 华为终端有限公司 Method for processing application program and wireless handheld device
CN104077207A (en) * 2013-03-27 2014-10-01 腾讯科技(深圳)有限公司 Electric quantity prompt method and device
CN104635908A (en) * 2013-11-13 2015-05-20 腾讯科技(深圳)有限公司 Method and device for lowering power consumption of mobile terminal

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106896890A (en) * 2015-12-21 2017-06-27 北京奇虎科技有限公司 Electric quantity for electronic equipment management method and device
CN106896894A (en) * 2015-12-21 2017-06-27 北京奇虎科技有限公司 Terminal power management method and terminal
CN105709400A (en) * 2016-01-22 2016-06-29 安徽华米信息科技有限公司 Method and device for determining user movement recording duration and electronic device
CN106055404B (en) * 2016-05-18 2020-05-01 Oppo广东移动通信有限公司 Method and device for cleaning background application program
CN106055404A (en) * 2016-05-18 2016-10-26 广东欧珀移动通信有限公司 Method and device for cleaning up background application programs
CN107450704A (en) * 2016-05-31 2017-12-08 中兴通讯股份有限公司 A kind of control method, device and the terminal of terminal abnormal power consumption
CN106413053A (en) * 2016-06-02 2017-02-15 周奇 Mobile terminal and power-saving method thereof
CN106413053B (en) * 2016-06-02 2019-10-18 宜宾邦华智慧科技有限公司 A kind of mobile terminal and its electricity saving method
CN106200866A (en) * 2016-06-28 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of application freezing method and mobile terminal
WO2018000504A1 (en) * 2016-06-28 2018-01-04 宇龙计算机通信科技(深圳)有限公司 Application freezing method and mobile terminal
CN106200866B (en) * 2016-06-28 2018-09-07 宇龙计算机通信科技(深圳)有限公司 A kind of application freezing method and mobile terminal
CN109388222A (en) * 2017-08-04 2019-02-26 中兴通讯股份有限公司 Power-saving processing method, device and mobile terminal and computer readable storage medium
CN109462627A (en) * 2017-09-06 2019-03-12 中国移动通信有限公司研究院 A kind of electric quantity managing method and system of internet-of-things terminal
CN109462627B (en) * 2017-09-06 2022-01-28 中国移动通信有限公司研究院 Electric quantity management method and system for terminal of Internet of things
CN107728769A (en) * 2017-09-21 2018-02-23 深圳Tcl新技术有限公司 Background application management method, device and computer-readable recording medium
WO2019128546A1 (en) * 2017-12-29 2019-07-04 Oppo广东移动通信有限公司 Application program processing method, electronic device, and computer readable storage medium
CN109309953A (en) * 2018-11-30 2019-02-05 努比亚技术有限公司 Consumption detection method, apparatus, terminal and readable storage medium storing program for executing
CN109309953B (en) * 2018-11-30 2023-12-12 努比亚技术有限公司 Power consumption detection method, device, terminal and readable storage medium
CN112732065A (en) * 2019-10-28 2021-04-30 东芝泰格有限公司 Information processing apparatus and storage medium
CN111008079A (en) * 2019-12-10 2020-04-14 Oppo(重庆)智能科技有限公司 Process management method, device, storage medium and electronic equipment
CN111008079B (en) * 2019-12-10 2022-10-21 Oppo(重庆)智能科技有限公司 Process management method, device, storage medium and electronic equipment
CN117369619A (en) * 2023-12-06 2024-01-09 深圳市德晟达电子科技有限公司 Intelligent energy-saving method and system for computer
CN117369619B (en) * 2023-12-06 2024-03-22 深圳市德晟达电子科技有限公司 Intelligent energy-saving method and system for computer

Similar Documents

Publication Publication Date Title
CN105094282A (en) Management method for application programs and terminal
CN104866069A (en) Method and device for automatically clearing background application programs
CN102937830B (en) Electric quantity management method and device of mobile equipment and mobile equipment
CN102110015B (en) Method and device for determining task progress and task processing time
CN105072292A (en) Application control method and terminal
CN104239195A (en) Method for processing power consumption of electronic equipment, and electronic equipment
CN110021792B (en) Charging control method and device, terminal equipment and computer storage medium
CN105388992A (en) Fingerprint recognition method and apparatus and terminal
CN104850321A (en) Terminal
CN104850398A (en) Control method for terminal screen
CN105549825A (en) Position adjustment method for application icon and user terminal
CN104580721A (en) Alarm clock implementation method for terminal
CN104866181A (en) Multi-operation event execution method and device
CN105426105A (en) Alarm clock control method and mobile terminal
CN112924779A (en) Non-invasive load identification method and device and terminal equipment
CN106055404B (en) Method and device for cleaning background application program
CN111260147A (en) Power generation capacity prediction method and device and terminal equipment
CN103646670A (en) Method and device for evaluating performances of storage system
CN110988461A (en) Electric energy metering method and electric energy metering device
WO2017113696A1 (en) Frequency modulation parameter adjusting method, device, frequency modulator and mobile terminal
CN104317611A (en) Application rousing setting device and method and mobile terminal
CN104063093A (en) Method and device for preventing touch screen from being operated by mistake and mobile equipment
CN105022633A (en) Solving method of hotkey conflict and terminal
CN104699224A (en) Power-saving control method
CN104915559B (en) A kind of electrical equipment determines method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151125