CN106020964A - Method and device for freezing application, and terminal - Google Patents
Method and device for freezing application, and terminal Download PDFInfo
- Publication number
- CN106020964A CN106020964A CN201610516581.3A CN201610516581A CN106020964A CN 106020964 A CN106020964 A CN 106020964A CN 201610516581 A CN201610516581 A CN 201610516581A CN 106020964 A CN106020964 A CN 106020964A
- Authority
- CN
- China
- Prior art keywords
- freeze
- target
- application
- time
- freezes
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/329—Power saving characterised by the action undertaken by task scheduling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5016—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5022—Mechanisms to release resources
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/504—Resource capping
Abstract
The embodiment of the invention provides a method and a device for freezing an application, and a terminal. The method comprises the following steps: calculating and obtaining first freezing time according to obtained user work and rest data; calculating and obtaining the application of which application resource consumption data exceed a preset resource consumption threshold value according to the obtained application resource consumption data, and using the application as a first freezing application; generating a corresponding target freezing strategy according to the first freezing time and the first freezing application, wherein the target freezing strategy comprises target freezing time and a target freezing application; operating according to the target freezing strategy, and carrying out corresponding freezing treatment on the target freezing application in the target freezing time. By adopting the method provided by the invention, the application in the terminal can be intelligently frozen, and the convenience in application freezing is increased.
Description
Technical field
The present invention relates to field of terminal technology, particularly relate to method, device and terminal that a kind of application is freezed.
Background technology
In order to remove/slow down memory source shared by the non-core application of some in communication terminal, at present in terminal
On be widely used the relevant Removal Technology such as such as a key cleaning, Menu key cleaning, third-party application cleaning or
Freezing technology is used to continue to freeze by intended application so that described intended application no longer committed memory after freezing
Space, and application can not be run.
But in practice, it has been found that the former needs user's manual operation, but for some the most professional users
For, they be not aware that how to go perform cleaning operation, even and if terminal carried out cleaning operation, with
It is thorough to there is application cleaning in sample, and cleaning efficiency is not efficient, consumes tag memory resource.The latter,
After application is frozen, this application can not use completely, if user wants to reuse this application needs
Manually this application is thawed, operate the most loaded down with trivial details, practicality is the highest and takes time and effort.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, it is provided that a kind of method that application is freezed, device
And terminal, the safety that application is freezed can be promoted.
On the one hand, the embodiment of the present invention is open provides a kind of method that application is freezed, and described method includes:
User according to obtaining works and rests data, is calculated the first freeze-off time;
According to the application resource consumption data obtained, it is calculated described application resource consumption data and exceedes default
The application of resource consumption threshold value, and freeze application as first;
Freeze application target corresponding to generation according to described first freeze-off time with described first and freeze strategy, institute
State target freeze strategy include target freeze-off time and target freeze application;
Freeze strategy operation according to described target, described target freeze-off time freeze described target to apply into
What row was corresponding freezes to process.
The most alternatively, described freezing with described first according to described first freeze-off time applies generation corresponding
Target freezes strategy, including:
Judge whether the second freeze-off time of user setup;
If it is present according to preset freezing information priority, from described first freeze-off time and described
Two freeze-off times choose target freeze-off time, and freeze described first to apply and freeze application as target,
And freeze to apply target corresponding to generation to freeze strategy with described target according to described target freeze-off time;
If it does not exist, then directly using described first freeze-off time as target freeze-off time, and by described
One freezes application freezes application as target, and freezes application generation according to described target freeze-off time and target
Corresponding target freezes strategy.
The most alternatively, described freezing with described first according to described first freeze-off time applies generation corresponding
Target freezes strategy, including:
Judge whether that the second of user setup freezes application;
If it is present according to preset freezing information priority, freeze application and described the from described first
Two freeze to choose target in application freezes application, and using described first freeze-off time as target freeze-off time,
And freeze to apply target corresponding to generation to freeze strategy with described target according to described target freeze-off time;
If it does not exist, then directly using described first freeze-off time as target freeze-off time, and by described
One freezes application freezes application as target, and freezes application generation according to described target freeze-off time and target
Corresponding target freezes strategy.
The most alternatively, described freezing with described first according to described first freeze-off time applies generation corresponding
Target freezes strategy, including:
Judge whether that second freeze-off time and second of user setup freezes application;
If it is present according to preset freezing information priority, from described first freeze-off time and described
Two freeze-off times choose target freeze-off time, and freezes application and described second from described first and freeze application
In choose target and freeze application, and freeze application with described target according to described target freeze-off time and generate corresponding
Target freeze strategy;
If it does not exist, then directly using described first freeze-off time as target freeze-off time, and by described
One freezes application freezes application as target, and freezes application generation according to described target freeze-off time and target
Corresponding target freezes strategy.
The most alternatively, described method also includes:
Described target is freezed strategy be saved in local data base, in order to next time directly according to described mesh
Mark freezes strategy operation.
The most alternatively, described method also includes:
Receiving request to create, described request to create is used for asking establishment to freeze list;
Respond described request to create, freeze list described in establishment, and freeze application interpolation by described first and deposit
Storage is freezed in list to described.
On the other hand, the embodiment of the present invention is also disclosed and provides the device that a kind of application is freezed, described device bag
Include:
Computing module, for data of working and resting according to the user obtained, is calculated the first freeze-off time;According to
The application resource consumption data obtained, is calculated described application resource consumption data and exceedes default resource consumption
The application of threshold value, and freeze application as first;
Generation module, generates corresponding mesh for freezing application according to described first freeze-off time with described first
Mark freezes strategy, and described target is freezed strategy and included that target freeze-off time and target freeze application;
Freeze module, for freezing strategy operation according to described target, at described target freeze-off time by described
Target freeze to apply carry out correspondence freeze process.
The most alternatively,
Described generation module, specifically for judging whether the second freeze-off time of user setup;If deposited
, then according to preset freezing information priority, from described first freeze-off time and described second freeze-off time
In choose target freeze-off time, and freeze described first to apply and freeze application as target, and according to described
Target freeze-off time freezes application target corresponding to generation and freezes strategy with described target;If it does not exist, then
Directly using described first freeze-off time as target freeze-off time, and freeze application using described first as target
Freeze application, and freeze to apply target corresponding to generation to freeze strategy with target according to described target freeze-off time.
The most alternatively,
Described generation module, specifically for judging whether that the second of user setup freezes application;If deposited
, then according to preset freezing information priority, freeze application and described second from described first and freeze application
In choose target and freeze application, and using described first freeze-off time as target freeze-off time, and according to described
Target freeze-off time freezes application target corresponding to generation and freezes strategy with described target;If it does not exist, then
Directly using described first freeze-off time as target freeze-off time, and freeze application using described first as target
Freeze application, and freeze to apply target corresponding to generation to freeze strategy with target according to described target freeze-off time.
The most alternatively,
Described generation module, freezes specifically for the second freeze-off time and second judging whether user setup
Knot application;If it is present according to preset freezing information priority, from described first freeze-off time and institute
State and the second freeze-off time is chosen target freeze-off time, and freeze application from described first and described second freeze
Application is chosen target and freezes application, and freeze application generation according to described target freeze-off time and described target
Corresponding target freezes strategy;If it does not exist, then directly described first freeze-off time is freezed as target
Time, and freeze described first to apply and freeze application as target, and according to described target freeze-off time and
The target that target freezes application generation corresponding freezes strategy.
The most alternatively, described device also includes:
Preserve module, be saved in local data base for described target is freezed strategy, in order to next time
Directly freeze strategy operation according to described target.
The most alternatively, described device also includes:
Receiver module, is used for receiving request to create, and described request to create is used for asking establishment to freeze list;
Creation module, is used for responding described request to create, freezes list, and freeze described first described in establishment
Knot application is added and stores described freezing in list.
Another further aspect, the embodiment of the present invention is also disclosed and provides a kind of terminal, and described terminal includes as mentioned above
Application freezing plant.
The embodiment of the present invention can be calculated the first freeze-off time, root by data of working and resting according to the user obtained
It is calculated described application resource consumption data according to the application resource consumption data obtained and exceedes default resource consumption
The application of threshold value, and freeze application as first;According further to described first freeze-off time and described
One freezes application generates corresponding target and freezes strategy, described target freeze strategy include target freeze-off time and
Target freezes application, finally freezes strategy operation according to described target, at described target freeze-off time by described
Target freeze to apply carry out correspondence freeze process;So terminal can automatically, intelligently in this terminal provide
Source consumes bigger application and correspondingly freezes to process, and also saves end while saving terminal power consumption
Taking of end memory, improves practicality and convenient and swift property that terminal applies is freezed.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement
In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, describe below
In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying
On the premise of going out creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet applying freezing method of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the another kind of application freezing method of the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the another kind of application freezing method of the embodiment of the present invention;
Fig. 4 is the schematic flow sheet of the another kind of application freezing method of the embodiment of the present invention;
Fig. 5 is the schematic flow sheet of the another kind of application freezing method of the embodiment of the present invention;
Fig. 6 is the schematic flow sheet of the another kind of application freezing method of the embodiment of the present invention;
Fig. 7 is a kind of structural representation applying freezing plant of the embodiment of the present invention;
Fig. 8 is the structural representation of the another kind of application freezing plant of the embodiment of the present invention;
Fig. 9 is the structural representation of a kind of terminal of the embodiment of the present invention.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the present invention program, implement below in conjunction with the present invention
Accompanying drawing in example, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that institute
The embodiment described is only the embodiment of a present invention part rather than whole embodiments.Based on this
Embodiment in bright, the institute that those of ordinary skill in the art are obtained under not making creative work premise
There are other embodiments, all should belong to the scope of protection of the invention.
Term " first ", " second " and " in description and claims of this specification and above-mentioned accompanying drawing
Three " (if present) etc. are for distinguishing different object, not for describing particular order.Additionally, term
" include " and they any deformation, it is intended that cover non-exclusive comprising.Such as contain a series of
Step or the process of unit, method, system, product or equipment are not limited to step or the unit listed,
But the most also include step or the unit do not listed, or the most also include for these processes, side
Other step that method, product or equipment are intrinsic or unit.
Referring to Fig. 1, be a kind of schematic flow sheet applying freezing method of the embodiment of the present invention, the present invention is real
The described method executing example can be applied at bands such as such as smart mobile phone, panel computer, intelligence wearable devices logical
In the terminal of communication network function, specifically can be realized by the processor of these terminals.The institute of the embodiment of the present invention
Method of stating also comprises the steps.
S101, data of working and resting according to the user obtained, be calculated the first freeze-off time.
In the embodiment of the present invention, terminal can obtain in the preset time period that recorded in this terminal (as one week,
One month etc.) user work and rest data, or described terminal can by the way of wire/wireless communication (as
Bluetooth, wifi, width etc.) from other-end/server, obtain the user in preset time period work and rest data.
Described terminal can according to user/system in advance in this terminal some algorithms of self-defined setting, analytical standard/
The data of working and resting the described user got such as rule are analyzed, and therefrom statistical separates out needs and freezes
First freeze-off time of management.Described first freeze-off time can include the first freezing onset time or
One freezes the end time, exemplarily, as described terminal can be to the user in the preset time period got
Dormant data is analyzed, obtain correspondingly this user sleep the time in evening in described preset time period (namely
It is sack time), described terminal can be slept from these evenings and be chosen a maximum the time and freeze as described first
The knot time started;In like manner, the user in the described preset time period got can be slept number by described terminal
According to being analyzed, obtain this user getting up early time (that is to say the time of getting up) in described preset time period,
Described terminal can choose a minima from these getting up early times, freezes the end time as described first.
It should be noted that described user works and rests data can include the dormant data in user's sleeping process,
Or including the life data in user's daily life state, or include that user is the most not
Use the time data of terminal, or include that user uses the terminal of described terminal to use data, or include
Other the related data drawing described first freeze-off time for statistics, the embodiment of the present invention is not construed as limiting.
Described terminal can include smart mobile phone (such as Android phone, IOS mobile phone etc.), PC,
Panel computer, palm PC, mobile internet device (MID, Mobile Internet Devices) or wearing
The internet devices such as formula smart machine, the embodiment of the present invention is not construed as limiting.
S102, according to obtain application resource consumption data, be calculated described application resource consumption data surpass
Cross the application presetting resource consumption threshold value, and freeze application as first.
In the embodiment of the present invention, terminal can also obtain the application resource of all or part application in this terminal
Consumption data, the terminal resource consumption data such as such as CPU consumption, memory consumption, electric quantity consumption, described end
The application resource consumption data of each application got can be analyzed by end, and statistics obtains described application
Resource consumption data more than or equal to user/system in advance in this terminal the default resource of self-defined setting disappear
Consumption application corresponding to threshold value, each application that statistics can also be drawn by described terminal is frozen as needs
Each of knot/freezing management first freezes application.Alternatively, described terminal can also obtain this terminal all or
The user of certain applications uses data, and the most described terminal can use number to the described user got
According to being analyzed, statistics obtains the application of each application and uses the time, the most therefrom counts described answering
The Preset Time threshold of self-defined setting in this terminal in advance is surpassed more than or equal to user/system with the use time
Application corresponding to value, each application that statistics can be obtained by described terminal carries out frozen/refrigerated as needs
Management each described first freeze application.
The most alternatively, described method also includes:
Receiving request to create, described request to create is used for asking establishment to freeze list;
Respond described request to create, freeze list described in establishment, and freeze application interpolation by described first and deposit
Storage is freezed in list to described.
Managing above-mentioned each described first for the convenience of the user and freeze application, described terminal can automatically create one
Individual or multiple for load and store described first freeze application freeze list, described terminal can be by institute
Have or first the freezing application and add and store and described freeze in list of part, with facilitate user check with
And amendment.Or, described terminal can receive the request to create that user/other-end sends, and described establishment please
Ask for asking establishment to freeze list;Described terminal can respond the described request to create received, at this end
End creates one or more and freezes list, described in freeze list for loading and store above-mentioned each
One freezes application, and the most described terminal can be freezed described first to apply to add and store and freeze to described
In knot list, to facilitate user to check or to revise, the most described terminal directly can freeze row by described
Each in table described first freezes application and freezes.
S103, freeze application according to described first freeze-off time with described first and generate corresponding target and freeze plan
Omiting, described target is freezed strategy and is included that target freeze-off time and target freeze application.
In the embodiment of the present invention, terminal can be according in S101 and S102 corresponding calculated described first
Freeze-off time and described first freezes the application corresponding target of generation and freezes strategy, and described target is freezed
Strategy can including, target freeze-off time and target freeze application.
The most alternatively, described freezing with described first according to described first freeze-off time applies generation corresponding
Target freezes strategy, including:
Judge whether the second freeze-off time of user setup;
If it is present according to preset freezing information priority, from described first freeze-off time and described
Two freeze-off times choose target freeze-off time, and freeze described first to apply and freeze application as target,
And freeze to apply target corresponding to generation to freeze strategy with described target according to described target freeze-off time;
If it does not exist, then directly using described first freeze-off time as target freeze-off time, and by described
One freezes application freezes application as target, and freezes application generation according to described target freeze-off time and target
Corresponding target freezes strategy.
Described terminal can detect and judge whether that whether there is user in this terminal makes by oneself in advance in this terminal
The second freeze-off time that justice is arranged;Or, described terminal can be supplied to user in this terminal can be autonomous
Amendment freeze-off time menu option, user can on described menu option self-defined setting or select phase
The second corresponding freeze-off time;Described terminal can detect and judge that whether user selects at the menu of described terminal
Self-defined setting in Xiang/revise the second freeze-off time.If described terminal detects that user makes by oneself in this terminal
Justice arranges/revises described second freeze-off time, then described terminal can be according to user/system in advance at this end
Freeze-off time/the information priorities of self-defined setting in end, freezes from described first freeze-off time and described second
Selecting this terminal in time and carry out freezing the target freeze-off time of management, described terminal is it is also possible that state the
One freezes to apply the target carrying out freezing to manage directly as this terminal needs to freeze application, and described terminal is permissible
The described target freeze-off time chosen according to this terminal/determine and described target are freezed application and are generated in contrast
The target answered freezes strategy, and described target freezes strategy for indicating described mesh at described target freeze-off time
Mark freeze to apply carry out correspondence freeze/freeze process.Do not exist if described terminal detects/determine this terminal
During described second freeze-off time that User Defined arranges/revises, described terminal can be directly by above-mentioned first
Freeze-off time as needing to carry out freezing the target freeze-off time of management, freeze above-mentioned first to apply as
The target carrying out freezing management is needed to freeze application, the institute that described terminal can be chosen according to this terminal/determine
State target freeze-off time and described target is freezed the application corresponding target of generation and freezed strategy, described mesh
Mark freeze strategy for instruction described target freeze-off time freeze described target to apply carry out the freezing of correspondence/
Freezing processing.
The most alternatively, described freezing with described first according to described first freeze-off time applies generation corresponding
Target freezes strategy, including:
Judge whether that the second of user setup freezes application;
If it is present according to preset freezing information priority, freeze application and described the from described first
Two freeze to choose target in application freezes application, and using described first freeze-off time as target freeze-off time,
And freeze to apply target corresponding to generation to freeze strategy with described target according to described target freeze-off time;
If it does not exist, then directly using described first freeze-off time as target freeze-off time, and by described
One freezes application freezes application as target, and freezes application generation according to described target freeze-off time and target
Corresponding target freezes strategy.
Described terminal can detect and judge whether that whether there is user in this terminal makes by oneself in advance in this terminal
The second of justice setting freezes application;Or, described terminal can be supplied to user in this terminal can be autonomous
Amendment freeze application menu option, user can on described menu option self-defined setting or select phase
Corresponding second freezes application;Described terminal can detect and judge that whether user selects at the menu of described terminal
In Xiang, application is freezed in self-defined setting/amendment second.If described terminal detects that user makes by oneself in this terminal
Justice arranges/revises has described second to freeze application, then described terminal can be according to user/system in advance at this end
In end self-defined setting freeze applications/information priority, freeze application from described first and described second freeze
Selecting this terminal in application to carry out freezing the target of management and freeze application, described terminal is it is also possible that state the
One freeze-off time needs the target freeze-off time carrying out freezing management directly as this terminal, and described terminal is permissible
The described target freeze-off time chosen according to this terminal/determine and described target are freezed application and are generated in contrast
The target answered freezes strategy, and described target freezes strategy for indicating described mesh at described target freeze-off time
Mark freeze to apply carry out correspondence freeze/freeze process.Do not exist if described terminal detects/determine this terminal
When described the second of User Defined setting/amendment freezes application, described terminal can be directly by above-mentioned first
Freeze-off time as needing to carry out freezing the target freeze-off time of management, freeze above-mentioned first to apply as
The target carrying out freezing management is needed to freeze application, the institute that described terminal can be chosen according to this terminal/determine
State target freeze-off time and described target is freezed the application corresponding target of generation and freezed strategy, described mesh
Mark freeze strategy for instruction described target freeze-off time freeze described target to apply carry out the freezing of correspondence/
Freezing processing.
The most alternatively, described freezing with described first according to described first freeze-off time applies generation corresponding
Target freezes strategy, including:
Judge whether that second freeze-off time and second of user setup freezes application;
If it is present according to preset freezing information priority, from described first freeze-off time and described
Two freeze-off times choose target freeze-off time, and freezes application and described second from described first and freeze application
In choose target and freeze application, and freeze application with described target according to described target freeze-off time and generate corresponding
Target freeze strategy;
If it does not exist, then directly using described first freeze-off time as target freeze-off time, and by described
One freezes application freezes application as target, and freezes application generation according to described target freeze-off time and target
Corresponding target freezes strategy.
Described terminal can detect and judge whether that whether there is user in this terminal makes by oneself in advance in this terminal
The second freeze-off time and second that justice is arranged freezes application;Or, described terminal can provide in this terminal
Can independently revise freeze-off time to user and freeze the menu option of application, user can select at described menu
On item self-defined setting or select the second corresponding freeze-off time and second freeze application;Described terminal
When can detect and judge user whether self-defined setting/amendment second is freezed in the menu option of described terminal
Between and second freeze application.If described terminal detects user, in this terminal, self-defined setting/amendment has been
State the second freeze-off time and described second and freeze application, then described terminal can exist in advance according to user/system
The freezing information priority of self-defined setting in this terminal (that is to say freeze-off time and freezes the preferential of application
Level), from described first freeze-off time and described second freeze-off time, select this terminal carry out freezing management
Target freeze-off time, and freeze application and described second from described first and freeze application selects this terminal and enters
Row freezes the target of management and freezes application, the described target that described terminal can be chosen according to this terminal/determine
Freeze-off time and described target are freezed the application corresponding target of generation and are freezed strategy, and described target is freezed
Described target is freezed to apply carry out correspondence to freeze/freeze place for instruction at described target freeze-off time by strategy
Reason.If described terminal detects/determines this terminal and there is not User Defined and arrange/described second the freezing of amendment
The knot time and described second freeze application time, described terminal can directly using the first above-mentioned freeze-off time as
Need the target freeze-off time carrying out freezing management, freeze application using above-mentioned first and freeze as needs
The target of management freezes application, when described terminal can be freezed according to the described target that this terminal is chosen/determined
Between and described target freeze application generate corresponding target freeze strategy, described target freeze strategy use
Described target is freezed to apply at described target freeze-off time the frozen/refrigerated process carrying out correspondence in instruction.
It should be noted that the first above-mentioned freeze-off time and the second above-mentioned freeze-off time may refer to district
Other or identical freeze-off time, described freeze-off time can include freezing onset time and/or freeze to terminate
Time, described freeze-off time may refer to user/system in advance at one of the self-defined setting of this terminal or many
Individual freeze-off time, or refer to described terminal according to the user that gets work and rest data statistics out, or
Refer to what described terminal was arbitrarily distributed, or refer to other for generate described target freeze strategy freeze
Time, the embodiment of the present invention is not restricted.
Above-mentioned first freeze application freeze to apply with above-mentioned second may refer to distinguishing or identical
Freeze application, described in freeze to apply may refer to user/system in advance at one of the self-defined setting of this terminal or
What the multiple needs of person freezed freezes application, or refers to that described terminal consumes number according to the application resource got
The most out, or refer to the random assignment of allocation of described terminal, or refer to other for generating
Described target freeze strategy freeze application, the embodiment of the present invention is not restricted.
S104, according to described target freeze strategy operation, at described target freeze-off time, described target is freezed
Application carry out correspondence freeze process.
In the embodiment of the present invention, terminal can freeze strategy operation according to the described target generated in S103,
Described target freeze-off time freeze described target to apply carry out correspondence freeze/freeze process.
The most alternatively, described target freeze-off time includes target freezing onset time, described in described target
Freeze-off time freeze described target to apply carry out correspondence freeze process, including:
When detection arrives described target freezing onset time, trigger and generate corresponding instruction of freezing, and according to
Described target is freezed to apply carry out correspondence to freeze process by the described instruction freezing instruction.
If described target freeze-off time includes target freezing onset time, then described terminal is detecting this
Terminal arrive described target freezing onset time time, described terminal can automatically generate correspondence freeze instruction,
Described freeze to instruct carry out freezing processing for indicating described terminal that described target is freezed application;Described terminal
Freeze instruction described in can responding, described target is freezed application and carries out freezing to process.
Described target is freezed to apply the work process carrying out freezing to process to may include that isolation institute by described terminal
State target to freeze to apply system resource shared in described terminal, system framework is isolated described target
Freeze application, freeze described target to apply shared internal storage data and default storage path to dump to simultaneously
In external memory storage, and delete and described tag memory freeze to described target apply relevant data content,
Reduce its system resource taken.
The most alternatively, described target freeze-off time also includes that target is freezed the end time, and described method is also wrapped
Include:
When the detection described target of arrival freezes the end time, trigger and generate corresponding defrosting instruction, and according to
The described target freezed after processing is freezed to apply the defrosting carrying out correspondence to process by the instruction of described instruction of thawing.
If described target freeze-off time can also include that target freezes the end time, then described terminal is in inspection
Measuring this terminal and arrive described target when freezing the end time, described terminal can automatically generate the defrosting of correspondence
Instruction, described instruction of thawing carries out correspondence for indicating described terminal that the target after above-mentioned freezing is freezed application
Defrosting process;Described terminal can respond described instruction of thawing, and the target after described freezing is freezed application
Carry out corresponding defrosting to process.
Target after described freezing is freezed to apply the work process carrying out defrosting process to wrap by described terminal
Include: obtain from described external memory storage and freeze to described target to apply relevant data content, such as configure
Files etc., are reduced to described data content install described target before and freeze to apply corresponding default storage
In path, again recover described target and freeze the original function of application.
The most alternatively, described method also includes:
Receive the defrosting instruction freezing application for the described target freezed after processing;
Respond described instruction of thawing, freeze to apply by the described target freezed after processing and carry out at the defrosting of correspondence
Reason.
Target after above-mentioned freezing can be freezed application and carry out operation of thawing by user, such as freezes described in click
After target freeze application icon or as desired guiding trajectory drag/slide described in freeze after target freeze should
Icon etc., send corresponding defrosting instruction to described terminal, described defrosting instruction is used for indicating described end
Target after described freezing is freezed application and is carried out defrosting process by end;Described terminal can receive user/other ends
The described defrosting instruction that end sends over, according further to the described instruction instructed of thawing by after described freezing
Target freeze to apply and carry out corresponding defrosting and process, freeze to apply original function recovering described target.
The most alternatively, described method also includes:
Described target is freezed strategy be saved in local data base, in order to next time directly according to described mesh
Mark freezes strategy operation.
The most described terminal is it is also possible that state target and freeze strategy and be saved in this terminal, in order to institute
State terminal and directly can freeze strategy operation according to described target next time.
For helping people that above-described embodiment is further understood that, explain in detail below by an example
State.Assume existing one to include intellectual analysis unit, freeze control unit, arrange unit and memory element
A terminal.Wherein, described intellectual analysis unit can have a function/effect of following three aspects: 1) basis
The work and rest custom of user, adds up the work and rest rule of this user.Assume as a example by sack time, statistics one week
Sack time (as mobile phone terminal, it is simply that mobile phone go out screen the standby moment).Sleep from so many
In the feel time, choose a maximum, as freezing onset time T1.In like manner, its week age is added up
Get up the time (for mobile phone terminal, it is simply that the moment that the bright screen of mobile phone is started working), choose one
Little value (moment the earliest), as freezing end time T2.Wherein, one it is carved with during T1 and T2 the two
Feature can be according to time period dynamic calculation, and such as certain a period of time, user often works overtime very late, T1
Can dynamically adjust.To sum up first function/effect of intellectual analysis unit is that output T1 and T2 the two is crucial
Moment.2) second function/effect of intellectual analysis unit be analysing terminal consumes resource big (as CPU,
Internal memory etc.), application that power consumption is big, arrange the list of application L that needs carry out freezing.3) intellectual analysis list
Unit the 3rd function/effect be send freeze instruction to described in freeze control unit, further require described in
Freeze control unit to initiate to freeze according to T1 and the T2 the two moment and end is freezed.
Described unit is set, can be a supplementary functions unit to described intellectual analysis unit.Described set
That puts unit reception terminal use arranges operation.Although described intellectual analysis unit can be at major part scene energy
Analyzing the daily schedule of user, intelligent analysis judgement are freezed to start or terminate and application further
Freeze list L, but still likely cause maloperation.Such as major part user may need not in bed
QQ is in running order, and intellectual analysis unit can freeze QQ at night due to the feature of the good TV university of QQ
Come.But individual user may want to remain that QQ is active.When there is this conflict, arrange
Unit can provide one to enter confession user's manual modification to freeze strategy.Strategy tool through user's manual modification
The highest standby priority, because it directly represents the will of user.
Described freeze control unit, described intellectual analysis unit and the described instruction that unit is set can be received.
And do an arbitration, further to the committed memory in terminal, the application that power consumption is big performs freeze operation.
After freezing, related application is due to stiff, and the consumption to terminal resource is preferably minimized, thus reaches power saving
Purpose.Wherein, the arbitration implementation of above-mentioned arbitration can be if the described unit that arranges has instruction to come,
The described instruction that unit is set of preferential execution.If the described unit that arranges does not instructs, then perform described intelligence
The instruction of analytic unit.
Described memory element, can store the relevant information of terminal, preserve the output of described intellectual analysis unit
Instruction (T1, T2, L), preserve the setting of user, that is to say described unit is set instruction, preserve and freeze
The arbitration result of control unit, as assumed within a period of time, described intellectual analysis unit and described list is set
The instruction of unit keeps constant, can directly use the arbitration result of last time, in order to terminal can perform quickly
Instruction.
Assume that now utilizing this terminal that each application in this terminal is carried out correspondingly intelligence freezes.Described freeze
Control unit can receive the T1 from the output of described intellectual analysis unit, the key parameter such as T2, L and instruction,
And receive from the described parameter arranging unit output and instruction;Control unit is freezed permissible described in further
Judge whether the instruction of the above-mentioned described instruction arranging unit received and/or described intellectual analysis unit has change
Change, if instruction is not changed in, then read in this terminal last preserve freeze strategy, and according to described
Freeze strategy to carry out corresponding intelligence and freeze.If it is determined that to changing, then described terminal is sentenced further
Break and whether receive the described instruction that unit is set, if it is then described terminal can arrange list to described
Instruction and the described intelligent control single metainstruction of unit carry out arbitration process, wherein arbitration principle can be described in set
The instruction priority putting unit is the highest.Such as, the instruction of described intelligent control unit is that 23:00 starts to freeze.
The described instruction arranging unit is that 22:00 starts to freeze, and its arbitration result is that 22:00 starts to freeze.And for example institute
Stating the instruction of intelligent control unit for freeze QQ, wechat is not freezed, the described instruction arranging unit
For not freezing QQ, wechat is freezed.Its arbitration result is that QQ does not freezes, and wechat is freezed.Without connecing
Receive the described instruction that unit is set, then described terminal can directly use the finger of described intellectual analysis unit
Order.Further, the object command that above-mentioned arbitration process can be obtained by described terminal, or above-mentioned intelligence
The instruction of analytic unit, freezes strategy as this arbitration, is saved to further in this terminal.Enter
The one described terminal in step ground performs this arbitration described and freezes strategy, and the application that, power consumption big to resource consumption is big is held
Row freezes.
The embodiment of the present invention can be calculated the first freeze-off time, root by data of working and resting according to the user obtained
It is calculated described application resource consumption data according to the application resource consumption data obtained and exceedes default resource consumption
The application of threshold value, and freeze application as first;According further to described first freeze-off time and described
One freezes application generates corresponding target and freezes strategy, described target freeze strategy include target freeze-off time and
Target freezes application, finally freezes strategy operation according to described target, at described target freeze-off time by described
Target freeze to apply carry out correspondence freeze process;So terminal can automatically, intelligently in this terminal provide
Source consumes bigger application and correspondingly freezes to process, and also saves end while saving terminal power consumption
Taking of end memory, improves practicality and convenient and swift property that terminal applies is freezed.
Refer to Fig. 2, be the schematic flow sheet of the another kind of application freezing method of the embodiment of the present invention, the present invention
The described method of embodiment can be applied at bands such as such as smart mobile phone, panel computer, intelligence wearable devices
In the terminal of communications network functionality, specifically can be realized by the processor of these terminals.The embodiment of the present invention
Described method also comprises the steps.
S201, data of working and resting according to the user obtained, be calculated the first freeze-off time.
S202, according to obtain application resource consumption data, be calculated described application resource consumption data surpass
Cross the application presetting resource consumption threshold value, and freeze application as first.
S203, freeze application according to described first freeze-off time with described first and generate corresponding target and freeze plan
Omiting, described target is freezed strategy and is included that target freeze-off time and target freeze application.
S204, according to described target freeze strategy operation, when detection arrive described target freezing onset time time,
Trigger and generate corresponding instruction of freezing, and according to the described instruction freezing instruction freeze described target to apply into
What row was corresponding freezes to process;Wherein, described target freeze-off time includes target freezing onset time.
S205, when detection arrive described target freeze the end time time, trigger and generate corresponding defrosting instruction,
And the described target freezed after processing is freezed to apply the defrosting carrying out correspondence according to the instruction of described instruction of thawing
Process;Wherein, described target freeze-off time includes that target freezing onset time and target freeze the end time.
The defrosting instruction of application is freezed in S206, reception for the described target freezed after processing, and described in response
Thaw and instruct, freeze the described target freezed after processing to apply the defrosting carrying out correspondence to process.
It should be noted that step S206 be step S205 another in detailed description of the invention.
S207, described target freezed strategy be saved in local data base, in order to next time directly according to
Described target freezes strategy operation.
The embodiment of the present invention can be calculated the first freeze-off time, root by data of working and resting according to the user obtained
It is calculated described application resource consumption data according to the application resource consumption data obtained and exceedes default resource consumption
The application of threshold value, and freeze application as first;According further to described first freeze-off time and described
One freezes application generates corresponding target and freezes strategy, described target freeze strategy include target freeze-off time and
Target freezes application, finally freezes strategy operation according to described target, at described target freeze-off time by described
Target freeze to apply carry out correspondence freeze process;So terminal can automatically, intelligently in this terminal provide
Source consumes bigger application and correspondingly freezes to process, and also saves end while saving terminal power consumption
Taking of end memory, improves practicality and convenient and swift property that terminal applies is freezed.
Please also refer to Fig. 3, it is the schematic flow sheet of the another kind of application freezing method of the embodiment of the present invention, this
The described method of inventive embodiments can be with above-mentioned steps S201 to step S207, wherein after step S202
Can also comprise the steps.
S301, reception request to create, described request to create is used for asking establishment to freeze list.
S302, respond described request to create, described in establishment, freeze list, and freeze application by described first and add
Adduction stores described freezing in list.
Please also refer to Fig. 4, it is the schematic flow sheet of the another kind of application freezing method of the embodiment of the present invention, this
All or part during the described method of inventive embodiments can include such as above-mentioned Fig. 2 or Fig. 3 embodiment is real
Executing step, wherein, step S203 specifically can include implementing step as follows.
S401, judge whether the second freeze-off time of user setup.
In the embodiment of the present invention, there is the second freeze-off time of user setup in terminal in determining this terminal,
So continue executing with step S402;Otherwise continue executing with step S403.
S402, according to preset freezing information priority, freeze from described first freeze-off time and described second
Time chooses target freeze-off time, and freezes described first to apply and freeze application as target, and according to
Described target freeze-off time freezes application target corresponding to generation and freezes strategy with described target.
S403, directly using described first freeze-off time as target freeze-off time, and freeze described first should
It is used as target and freezes application, and freeze the mesh applying generation corresponding according to described target freeze-off time with target
Mark freezes strategy.
The embodiment of the present invention can be calculated the first freeze-off time, root by data of working and resting according to the user obtained
It is calculated described application resource consumption data according to the application resource consumption data obtained and exceedes default resource consumption
The application of threshold value, and freeze application as first;According further to described first freeze-off time and described
One freezes application generates corresponding target and freezes strategy, described target freeze strategy include target freeze-off time and
Target freezes application, finally freezes strategy operation according to described target, at described target freeze-off time by described
Target freeze to apply carry out correspondence freeze process;So terminal can automatically, intelligently in this terminal provide
Source consumes bigger application and correspondingly freezes to process, and also saves end while saving terminal power consumption
Taking of end memory, improves practicality and convenient and swift property that terminal applies is freezed.
Please also refer to Fig. 5, it is the schematic flow sheet of the another kind of application freezing method of the embodiment of the present invention, this
All or part during the described method of inventive embodiments can include such as above-mentioned Fig. 2 or Fig. 3 embodiment is real
Executing step, wherein, step S203 specifically can include implementing step as follows.
S501, judge whether the second of user setup freeze application.
In the embodiment of the present invention, there is the second of user setup and freeze application in terminal in determining this terminal,
So continue executing with step S502;Otherwise continue executing with step S503.
S502, according to preset freezing information priority, freeze application and described second from described first and freeze
Application is chosen target and freezes application, and using described first freeze-off time as target freeze-off time, and according to
Described target freeze-off time freezes application target corresponding to generation and freezes strategy with described target.
S503, directly using described first freeze-off time as target freeze-off time, and freeze described first should
It is used as target and freezes application, and freeze the mesh applying generation corresponding according to described target freeze-off time with target
Mark freezes strategy.
Please also refer to Fig. 6, it is the schematic flow sheet of the another kind of application freezing method of the embodiment of the present invention, this
All or part during the described method of inventive embodiments can include such as above-mentioned Fig. 2 or Fig. 3 embodiment is real
Executing step, wherein, step S203 specifically can include implementing step as follows.
S601, judge whether second freeze-off time and second of user setup freeze application.
In the embodiment of the present invention, terminal exist in determining this terminal user setup the second freeze-off time and
Second freezes application, then continue executing with step S602;Otherwise continue executing with step S603.
S602, according to preset freezing information priority, freeze from described first freeze-off time and described second
Time is chosen target freeze-off time, and freezes to choose application and described second is freezed to apply from described first
Target freezes application, and freezes the target applying generation corresponding with described target according to described target freeze-off time
Freeze strategy.
S603, directly using described first freeze-off time as target freeze-off time, and freeze described first should
It is used as target and freezes application, and freeze the mesh applying generation corresponding according to described target freeze-off time with target
Mark freezes strategy.
The embodiment of the present invention can be calculated the first freeze-off time, root by data of working and resting according to the user obtained
It is calculated described application resource consumption data according to the application resource consumption data obtained and exceedes default resource consumption
The application of threshold value, and freeze application as first;According further to described first freeze-off time and described
One freezes application generates corresponding target and freezes strategy, described target freeze strategy include target freeze-off time and
Target freezes application, finally freezes strategy operation according to described target, at described target freeze-off time by described
Target freeze to apply carry out correspondence freeze process;So terminal can automatically, intelligently in this terminal provide
Source consumes bigger application and correspondingly freezes to process, and also saves end while saving terminal power consumption
Taking of end memory, improves practicality and convenient and swift property that terminal applies is freezed.
Referring to Fig. 7, be a kind of structural representation applying freezing plant of the embodiment of the present invention, the present invention is real
The described device executing example can may be provided at the band such as such as smart mobile phone, panel computer, intelligence wearable device
In the terminal of communications network functionality, described device 7 includes:
Computing module 70, for data of working and resting according to the user obtained, is calculated the first freeze-off time;Root
According to the application resource consumption data obtained, it is calculated described application resource consumption data and exceedes default resource and disappear
The application of consumption threshold value, and freeze application as first;
Generation module 71, generates corresponding for freezing application according to described first freeze-off time with described first
Target freezes strategy, and described target is freezed strategy and included that target freeze-off time and target freeze application;
Freeze module 72, for freezing strategy operation according to described target, at described target freeze-off time by institute
State target freeze to apply carry out correspondence freeze process.
Implementing of the modules related in the embodiment of the present invention refers to Fig. 1 to Fig. 6 correspondence embodiment
Middle related function module/unit or the description of enforcement step, be not repeated herein.
The embodiment of the present invention can be calculated the first freeze-off time, root by data of working and resting according to the user obtained
It is calculated described application resource consumption data according to the application resource consumption data obtained and exceedes default resource consumption
The application of threshold value, and freeze application as first;According further to described first freeze-off time and described
One freezes application generates corresponding target and freezes strategy, described target freeze strategy include target freeze-off time and
Target freezes application, finally freezes strategy operation according to described target, at described target freeze-off time by described
Target freeze to apply carry out correspondence freeze process;So terminal can automatically, intelligently in this terminal provide
Source consumes bigger application and correspondingly freezes to process, and also saves end while saving terminal power consumption
Taking of end memory, improves practicality and convenient and swift property that terminal applies is freezed.
Referring to Fig. 8, be a kind of structural representation applying freezing plant of the embodiment of the present invention, the present invention is real
Execute the described device 8 of example to may include that above-mentioned computing module 70, generation module 71, freeze module 72,
Wherein,
Described generation module 71, specifically for judging whether the second freeze-off time of user setup;If
Exist, then according to preset freezing information priority, when described first freeze-off time and described second freeze
Choose target freeze-off time between, and freeze described first to apply and freeze application as target, and according to institute
State target freeze-off time to freeze with described target to apply target corresponding to generation to freeze strategy;If it does not,
The most directly using described first freeze-off time as target freeze-off time, and freeze application using described first as mesh
Mark freezes application, and freezes to apply target corresponding to generation to freeze plan with target according to described target freeze-off time
Slightly.
The most alternatively,
Described generation module 71, specifically for judging whether that the second of user setup freezes application;If
Exist, then according to preset freezing information priority, freeze application and described second from described first and freeze to answer
Choose target in and freeze application, and using described first freeze-off time as target freeze-off time, and according to institute
State target freeze-off time to freeze with described target to apply target corresponding to generation to freeze strategy;If it does not,
The most directly using described first freeze-off time as target freeze-off time, and freeze application using described first as mesh
Mark freezes application, and freezes to apply target corresponding to generation to freeze plan with target according to described target freeze-off time
Slightly.
The most alternatively,
Described generation module 71, specifically for judging whether second freeze-off time and second of user setup
Freeze application;If it is present according to preset freezing information priority, from described first freeze-off time and
Described second freeze-off time chooses target freeze-off time, and freezes application and described second from described first and freeze
Knot application is chosen target and freezes application, and it is raw to freeze application according to described target freeze-off time and described target
The target becoming corresponding freezes strategy;If it does not exist, then directly described first freeze-off time is frozen as target
The knot time, and freeze described first to apply and freeze application as target, and according to described target freeze-off time
Freeze application target corresponding to generation with target and freeze strategy.
The most alternatively,
Described freeze module 72, specifically for when detection arrives described target freezing onset time, trigger raw
Become corresponding instruction of freezing, and according to the described instruction freezing instruction, described target is freezed application and carry out correspondence
Freeze process.
The most alternatively,
Described freeze module 72, be additionally operable to when detection arrive described target freeze the end time time, trigger and generate
Corresponding defrosting instructs, and freezes to answer by the described target freezed after processing according to the instruction of described instruction of thawing
Process with the defrosting carrying out correspondence.
The most alternatively,
Described freeze module 72, be additionally operable to receive the defrosting freezing application for the described target freezed after processing
Instruction, and respond described instruction of thawing, freeze the described target freezed after processing to apply the solution carrying out correspondence
Freeze process.
The most alternatively, described device also includes:
Preserve module 73, be saved in local data base for described target is freezed strategy, in order to next
Secondary directly freeze strategy operation according to described target.
The most alternatively, described device also includes:
Receiver module 74, is used for receiving request to create, and described request to create is used for asking establishment to freeze list;
Creation module 75, is used for responding described request to create, freezes list described in establishment, and by described first
Freeze application add and store described freezing in list.
Implementing of the modules related in the embodiment of the present invention refers to Fig. 1 to Fig. 6 correspondence embodiment
Middle related function module/unit or the description of enforcement step, be not repeated herein.
The embodiment of the present invention can be calculated the first freeze-off time, root by data of working and resting according to the user obtained
It is calculated described application resource consumption data according to the application resource consumption data obtained and exceedes default resource consumption
The application of threshold value, and freeze application as first;According further to described first freeze-off time and described
One freezes application generates corresponding target and freezes strategy, described target freeze strategy include target freeze-off time and
Target freezes application, finally freezes strategy operation according to described target, at described target freeze-off time by described
Target freeze to apply carry out correspondence freeze process;So terminal can automatically, intelligently in this terminal provide
Source consumes bigger application and correspondingly freezes to process, and also saves end while saving terminal power consumption
Taking of end memory, improves practicality and convenient and swift property that terminal applies is freezed.
Refer to Fig. 9 again, be the structural representation of a kind of terminal of the embodiment of the present invention.Described terminal can be
The equipment of the band communications network functionalities such as smart mobile phone, panel computer, intelligence wearable device, as it is shown in figure 9,
The described terminal of the embodiment of the present invention can include the modules such as display screen, button, speaker, pick up, and
And also include: at least one bus 901, at least one processor 902 being connected with bus 901 and with always
At least one memorizer 903 that line 901 is connected, it is achieved the communicator 905 of communication function, respectively consumes for terminal
The supply unit 904 of electricity module for power supply.
Described processor 902 can pass through bus 901, calls the code of storage in memorizer 903 relevant to perform
Function, wherein, memorizer 903 includes operating system, data transmission applications program.
Described processor 902, for data of working and resting according to the user obtained, is calculated the first freeze-off time;
According to the application resource consumption data obtained, it is calculated described application resource consumption data and exceedes default resource
Consume the application of threshold value, and freeze application as first;Freeze according to described first freeze-off time and described first
Knot application generates corresponding target and freezes strategy, and described target is freezed strategy and included target freeze-off time and target
Freeze application;Freeze strategy operation according to described target, at described target freeze-off time, described target is freezed
Application carry out correspondence freeze process.
Still optionally further, described processor 902 is additionally operable to judge whether that the second of user setup is freezed
Time;If it is present according to preset freezing information priority, from described first freeze-off time and described
Second freeze-off time chooses target freeze-off time, and freezes described first to apply and freeze application as target,
And freeze to apply target corresponding to generation to freeze strategy with described target according to described target freeze-off time;If
Do not exist, the most directly using described first freeze-off time as target freeze-off time, and freeze described first to answer
It is used as target and freezes application, and freeze the mesh applying generation corresponding according to described target freeze-off time with target
Mark freezes strategy.
Still optionally further, described processor 902 is additionally operable to judge whether that the second of user setup is freezed
Application;If it is present according to preset freezing information priority, freeze application with described from described first
Second freezes to choose target in application freezes application, and using described first freeze-off time as target freeze-off time,
And freeze to apply target corresponding to generation to freeze strategy with described target according to described target freeze-off time;If
Do not exist, the most directly using described first freeze-off time as target freeze-off time, and freeze described first to answer
It is used as target and freezes application, and freeze the mesh applying generation corresponding according to described target freeze-off time with target
Mark freezes strategy.
Still optionally further, described processor 902 is additionally operable to judge whether that the second of user setup is freezed
Time and second freezes application;If it is present according to preset freezing information priority, from described first
Freeze-off time and described second freeze-off time choose target freeze-off time, and from described first freeze application and
Described second freezes to choose target in application freezes application, and according to described target freeze-off time and described target
The target freezing application generation corresponding freezes strategy;If it does not exist, then directly by described first freeze-off time
As target freeze-off time, and freeze described first to apply and freeze application as target, and according to described mesh
Mark freeze-off time freezes application target corresponding to generation and freezes strategy with target.
Still optionally further, described processor 902 is additionally operable to when detection arrives described target freezing onset time
Time, triggering generates corresponding instruction of freezing, and freezes to answer by described target according to the described instruction freezing instruction
With carry out correspondence freeze process.
Still optionally further, described processor 902 is additionally operable to freeze the end time when detection arrives described target
Time, trigger and generate corresponding defrosting instruction, and according to the instruction of described instruction of thawing by described freeze to process after
Target freeze to apply the defrosting carrying out correspondence to process.
Still optionally further, described processor 902 is additionally operable to receive and freezes for the described target freezed after processing
The defrosting instruction of knot application;Respond described instruction of thawing, freeze to apply by the described target freezed after processing into
The defrosting that row is corresponding processes.
Still optionally further, described processor 902 is additionally operable to that described target is freezed strategy and is saved in local number
According in storehouse, in order to directly freeze strategy operation according to described target next time.
Still optionally further, described processor 902 is additionally operable to receive request to create, and described request to create is used for
List is freezed in request establishment;Respond described request to create, freeze list described in establishment, and freeze described first
Knot application is added and stores described freezing in list.
The embodiment of the present invention can be calculated the first freeze-off time, root by data of working and resting according to the user obtained
It is calculated described application resource consumption data according to the application resource consumption data obtained and exceedes default resource consumption
The application of threshold value, and freeze application as first;According further to described first freeze-off time and described
One freezes application generates corresponding target and freezes strategy, described target freeze strategy include target freeze-off time and
Target freezes application, finally freezes strategy operation according to described target, at described target freeze-off time by described
Target freeze to apply carry out correspondence freeze process;So terminal can automatically, intelligently in this terminal provide
Source consumes bigger application and correspondingly freezes to process, and also saves end while saving terminal power consumption
Taking of end memory, improves practicality and convenient and swift property that terminal applies is freezed.
The embodiment of the present invention also provides for a kind of computer-readable storage medium, and wherein, this computer-readable storage medium can be deposited
Containing program, this program includes freezing and thawing of any application described in said method embodiment when performing
The part or all of step of operational approach.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all stated
For a series of combination of actions, but those skilled in the art should know, the present invention is not by described
The restriction of sequence of movement, because according to the present invention, some step can use other orders or enter simultaneously
OK.Secondly, those skilled in the art also should know, embodiment described in this description belongs to excellent
Select embodiment, necessary to involved action and the module not necessarily present invention.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not has in certain embodiment
The part described in detail, may refer to the associated description of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, can be passed through it
Its mode realizes.Such as, device embodiment described above is only schematically, the most described list
The division of unit, is only a kind of logic function and divides, and actual can have other dividing mode, example when realizing
As multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can be ignored,
Or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can
To be the INDIRECT COUPLING by some interfaces, device or unit or communication connection, can be electrical or other
Form.
The described unit illustrated as separating component can be or may not be physically separate, as
The parts that unit shows can be or may not be physical location, i.e. may be located at a place, or
Can also be distributed on multiple NE.Can select therein some or all of according to the actual needs
Unit realizes the purpose of the present embodiment scheme.
It addition, each functional unit in various embodiments of the present invention can be integrated in a processing unit,
Can also be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit
In.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ SFU software functional unit
Form realizes.
If described integrated unit realizes using the form of SFU software functional unit and as independent production marketing or
During use, can be stored in a computer read/write memory medium.Based on such understanding, the present invention
The part that the most in other words prior art contributed of technical scheme or this technical scheme whole or
Part can embody with the form of software product, and this computer software product is stored in a storage medium
In, including some instructions with so that a computer equipment (can be personal computer, server or net
Network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage
Medium includes: USB flash disk, read only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can store program code
Medium.
The above, above example only in order to technical scheme to be described, is not intended to limit;To the greatest extent
The present invention has been described in detail by pipe with reference to previous embodiment, and those of ordinary skill in the art should manage
Solve: the technical scheme described in foregoing embodiments still can be modified by it, or to wherein part
Technical characteristic carries out equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution take off
Scope from various embodiments of the present invention technical scheme.
Claims (13)
1. the method that an application is freezed, it is characterised in that described method includes:
User according to obtaining works and rests data, is calculated the first freeze-off time;
According to the application resource consumption data obtained, it is calculated described application resource consumption data and exceedes default
The application of resource consumption threshold value, and freeze application as first;
Freeze application target corresponding to generation according to described first freeze-off time with described first and freeze strategy, institute
State target freeze strategy include target freeze-off time and target freeze application;
Freeze strategy operation according to described target, described target freeze-off time freeze described target to apply into
What row was corresponding freezes to process.
2. the method for claim 1, it is characterised in that described according to described first freeze-off time and
Described first target freezing application generation corresponding freezes strategy, including:
Judge whether the second freeze-off time of user setup;
If it is present according to preset freezing information priority, from described first freeze-off time and described
Two freeze-off times choose target freeze-off time, and freeze described first to apply and freeze application as target,
And freeze to apply target corresponding to generation to freeze strategy with described target according to described target freeze-off time;
If it does not exist, then directly using described first freeze-off time as target freeze-off time, and by described
One freezes application freezes application as target, and freezes application generation according to described target freeze-off time and target
Corresponding target freezes strategy.
3. the method for claim 1, it is characterised in that described according to described first freeze-off time and
Described first target freezing application generation corresponding freezes strategy, including:
Judge whether that the second of user setup freezes application;
If it is present according to preset freezing information priority, freeze application and described the from described first
Two freeze to choose target in application freezes application, and using described first freeze-off time as target freeze-off time,
And freeze to apply target corresponding to generation to freeze strategy with described target according to described target freeze-off time;
If it does not exist, then directly using described first freeze-off time as target freeze-off time, and by described
One freezes application freezes application as target, and freezes application generation according to described target freeze-off time and target
Corresponding target freezes strategy.
4. the method for claim 1, it is characterised in that described according to described first freeze-off time and
Described first target freezing application generation corresponding freezes strategy, including:
Judge whether that second freeze-off time and second of user setup freezes application;
If it is present according to preset freezing information priority, from described first freeze-off time and described
Two freeze-off times choose target freeze-off time, and freezes application and described second from described first and freeze application
In choose target and freeze application, and freeze application with described target according to described target freeze-off time and generate corresponding
Target freeze strategy;
If it does not exist, then directly using described first freeze-off time as target freeze-off time, and by described
One freezes application freezes application as target, and freezes application generation according to described target freeze-off time and target
Corresponding target freezes strategy.
5. the method as described in any one in claim 1-4, it is characterised in that described method also includes:
Described target is freezed strategy be saved in local data base, in order to next time directly according to described mesh
Mark freezes strategy operation.
6. the method for claim 1, it is characterised in that described method also includes:
Receiving request to create, described request to create is used for asking establishment to freeze list;
Respond described request to create, freeze list described in establishment, and freeze application interpolation by described first and deposit
Storage is freezed in list to described.
7. the device that an application is freezed, it is characterised in that described device includes:
Computing module, for data of working and resting according to the user obtained, is calculated the first freeze-off time;According to
The application resource consumption data obtained, is calculated described application resource consumption data and exceedes default resource consumption
The application of threshold value, and freeze application as first;
Generation module, generates corresponding mesh for freezing application according to described first freeze-off time with described first
Mark freezes strategy, and described target is freezed strategy and included that target freeze-off time and target freeze application;
Freeze module, for freezing strategy operation according to described target, at described target freeze-off time by described
Target freeze to apply carry out correspondence freeze process.
8. device as claimed in claim 7, it is characterised in that
Described generation module, specifically for judging whether the second freeze-off time of user setup;If deposited
, then according to preset freezing information priority, from described first freeze-off time and described second freeze-off time
In choose target freeze-off time, and freeze described first to apply and freeze application as target, and according to described
Target freeze-off time freezes application target corresponding to generation and freezes strategy with described target;If it does not exist, then
Directly using described first freeze-off time as target freeze-off time, and freeze application using described first as target
Freeze application, and freeze to apply target corresponding to generation to freeze strategy with target according to described target freeze-off time.
9. device as claimed in claim 7, it is characterised in that
Described generation module, specifically for judging whether that the second of user setup freezes application;If deposited
, then according to preset freezing information priority, freeze application and described second from described first and freeze application
In choose target and freeze application, and using described first freeze-off time as target freeze-off time, and according to described
Target freeze-off time freezes application target corresponding to generation and freezes strategy with described target;If it does not exist, then
Directly using described first freeze-off time as target freeze-off time, and freeze application using described first as target
Freeze application, and freeze to apply target corresponding to generation to freeze strategy with target according to described target freeze-off time.
10. device as claimed in claim 7, it is characterised in that
Described generation module, freezes specifically for the second freeze-off time and second judging whether user setup
Knot application;If it is present according to preset freezing information priority, from described first freeze-off time and institute
State and the second freeze-off time is chosen target freeze-off time, and freeze application from described first and described second freeze
Application is chosen target and freezes application, and freeze application generation according to described target freeze-off time and described target
Corresponding target freezes strategy;If it does not exist, then directly described first freeze-off time is freezed as target
Time, and freeze described first to apply and freeze application as target, and according to described target freeze-off time and
The target that target freezes application generation corresponding freezes strategy.
11. devices as described in any one in claim 7-10, it is characterised in that described device also wraps
Include:
Preserve module, be saved in local data base for described target is freezed strategy, in order to next time
Directly freeze strategy operation according to described target.
12. devices as claimed in claim 7, it is characterised in that described device also includes:
Receiver module, is used for receiving request to create, and described request to create is used for asking establishment to freeze list;
Creation module, is used for responding described request to create, freezes list, and freeze described first described in establishment
Knot application is added and stores described freezing in list.
13. 1 kinds of terminals, it is characterised in that including: processor, memorizer, communication interface and bus;
Described processor, described memorizer and described communication interface are connected by described bus and complete each other
Communication;Described memorizer storage executable program code;Described processor is by reading in described memorizer
The executable program code of storage runs the program corresponding with described executable program code, for execution
A kind of application freezing method;Wherein, described method is the method as described in any one of claim 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610516581.3A CN106020964A (en) | 2016-06-30 | 2016-06-30 | Method and device for freezing application, and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610516581.3A CN106020964A (en) | 2016-06-30 | 2016-06-30 | Method and device for freezing application, and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106020964A true CN106020964A (en) | 2016-10-12 |
Family
ID=57106673
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610516581.3A Pending CN106020964A (en) | 2016-06-30 | 2016-06-30 | Method and device for freezing application, and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106020964A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528284A (en) * | 2016-10-19 | 2017-03-22 | 北京奇虎科技有限公司 | Application configuration method and apparatus, and terminal device |
CN107040654A (en) * | 2017-03-21 | 2017-08-11 | 深圳市金立通信设备有限公司 | A kind of auxiliary traveling method and terminal based on scene |
CN107315633A (en) * | 2017-06-28 | 2017-11-03 | 广东欧珀移动通信有限公司 | Mobile payment means of defence, device and mobile terminal |
CN107807849A (en) * | 2017-10-20 | 2018-03-16 | 广东欧珀移动通信有限公司 | Using freezing method and related product |
CN107832128A (en) * | 2017-10-20 | 2018-03-23 | 广东欧珀移动通信有限公司 | Using freezing method and related product |
CN107957771A (en) * | 2017-11-20 | 2018-04-24 | 珠海市魅族科技有限公司 | A kind of control method of application program, device, mobile terminal and storage medium |
CN109491774A (en) * | 2018-10-30 | 2019-03-19 | 奇酷互联网络科技(深圳)有限公司 | Application management method, intelligent terminal, storage device based on intelligent terminal |
WO2019128562A1 (en) * | 2017-12-29 | 2019-07-04 | Oppo广东移动通信有限公司 | Application freezing method and apparatus, and terminal and computer-readable storage medium |
CN109992395A (en) * | 2017-12-29 | 2019-07-09 | 广东欧珀移动通信有限公司 | Using freezing method, device, terminal and computer readable storage medium |
CN110018885A (en) * | 2017-12-29 | 2019-07-16 | 广东欧珀移动通信有限公司 | Application program freezing method, device, storage medium and terminal |
CN110908727A (en) * | 2018-09-14 | 2020-03-24 | 中兴通讯股份有限公司 | Application freezing method and device, storage medium and electronic device |
WO2020093297A1 (en) * | 2018-11-08 | 2020-05-14 | 深圳市欢太科技有限公司 | Method and apparatus for application filtering during freezing, and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103702404A (en) * | 2014-01-13 | 2014-04-02 | 联想(北京)有限公司 | Power consumption mode switching method and device |
CN104375623A (en) * | 2014-11-28 | 2015-02-25 | 北京华网汇通技术服务有限公司 | Wearable intelligent device and electricity-saving control method thereof |
CN104375839A (en) * | 2014-11-28 | 2015-02-25 | 东莞宇龙通信科技有限公司 | Data processing method and device in sleep mode and mobile terminal |
CN105468426A (en) * | 2016-01-05 | 2016-04-06 | 珠海市魅族科技有限公司 | Application freezing method and terminal |
CN105528052A (en) * | 2015-12-09 | 2016-04-27 | 上海斐讯数据通信技术有限公司 | Electronic equipment power consumption reduction method and device and electronic equipment with display screen |
-
2016
- 2016-06-30 CN CN201610516581.3A patent/CN106020964A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103702404A (en) * | 2014-01-13 | 2014-04-02 | 联想(北京)有限公司 | Power consumption mode switching method and device |
CN104375623A (en) * | 2014-11-28 | 2015-02-25 | 北京华网汇通技术服务有限公司 | Wearable intelligent device and electricity-saving control method thereof |
CN104375839A (en) * | 2014-11-28 | 2015-02-25 | 东莞宇龙通信科技有限公司 | Data processing method and device in sleep mode and mobile terminal |
CN105528052A (en) * | 2015-12-09 | 2016-04-27 | 上海斐讯数据通信技术有限公司 | Electronic equipment power consumption reduction method and device and electronic equipment with display screen |
CN105468426A (en) * | 2016-01-05 | 2016-04-06 | 珠海市魅族科技有限公司 | Application freezing method and terminal |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528284A (en) * | 2016-10-19 | 2017-03-22 | 北京奇虎科技有限公司 | Application configuration method and apparatus, and terminal device |
CN106528284B (en) * | 2016-10-19 | 2019-12-13 | 北京安云世纪科技有限公司 | application program configuration method and device and terminal equipment |
CN107040654A (en) * | 2017-03-21 | 2017-08-11 | 深圳市金立通信设备有限公司 | A kind of auxiliary traveling method and terminal based on scene |
CN107315633A (en) * | 2017-06-28 | 2017-11-03 | 广东欧珀移动通信有限公司 | Mobile payment means of defence, device and mobile terminal |
CN107807849A (en) * | 2017-10-20 | 2018-03-16 | 广东欧珀移动通信有限公司 | Using freezing method and related product |
CN107832128A (en) * | 2017-10-20 | 2018-03-23 | 广东欧珀移动通信有限公司 | Using freezing method and related product |
CN107957771A (en) * | 2017-11-20 | 2018-04-24 | 珠海市魅族科技有限公司 | A kind of control method of application program, device, mobile terminal and storage medium |
CN109992395A (en) * | 2017-12-29 | 2019-07-09 | 广东欧珀移动通信有限公司 | Using freezing method, device, terminal and computer readable storage medium |
CN109992376A (en) * | 2017-12-29 | 2019-07-09 | 广东欧珀移动通信有限公司 | Using freezing method, device, terminal and computer readable storage medium |
WO2019128562A1 (en) * | 2017-12-29 | 2019-07-04 | Oppo广东移动通信有限公司 | Application freezing method and apparatus, and terminal and computer-readable storage medium |
CN110018885A (en) * | 2017-12-29 | 2019-07-16 | 广东欧珀移动通信有限公司 | Application program freezing method, device, storage medium and terminal |
CN109992376B (en) * | 2017-12-29 | 2023-11-10 | Oppo广东移动通信有限公司 | Application freezing method, device, terminal and computer readable storage medium |
CN110908727A (en) * | 2018-09-14 | 2020-03-24 | 中兴通讯股份有限公司 | Application freezing method and device, storage medium and electronic device |
CN109491774A (en) * | 2018-10-30 | 2019-03-19 | 奇酷互联网络科技(深圳)有限公司 | Application management method, intelligent terminal, storage device based on intelligent terminal |
WO2020093297A1 (en) * | 2018-11-08 | 2020-05-14 | 深圳市欢太科技有限公司 | Method and apparatus for application filtering during freezing, and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106020964A (en) | Method and device for freezing application, and terminal | |
CN109213539A (en) | A kind of method for recovering internal storage and device | |
US8547840B1 (en) | Bandwidth allocation of bursty signals | |
CN106777009B (en) | Intelligent equipment and task plan execution control method and device | |
CN106292999A (en) | Method, device and the terminal that a kind of terminal is energy-conservation | |
CN106126009A (en) | Method, device and the terminal of a kind of application icon management | |
EP3319375B1 (en) | Terminal management method and device | |
CN107577508B (en) | Application processing method and device, readable storage medium and mobile terminal | |
CN107787034A (en) | Discontinuous receiving cycle collocation method, system, mobile terminal and storage medium | |
CN104601683A (en) | File download management method, mobile terminal and communication system | |
CN109634724A (en) | Collecting method, device, equipment and computer storage medium | |
CN105406894A (en) | Carrier aggregation mode setting method for communication terminal and communication terminal | |
CN105517123A (en) | Carrier aggregation mode setting method for communication terminal and communication terminal | |
CN105430726B (en) | The carrier aggregation function control method and communication terminal of a kind of communication terminal | |
CN105138107B (en) | Downloading method of mobile terminal, device and mobile terminal | |
CN108351741A (en) | A kind of bright screen duration adjusting and terminal of terminal | |
US20150301582A1 (en) | Energy Efficient Mobile Device | |
CN105517162B (en) | The carrier aggregation function control method and communication terminal of a kind of communication terminal | |
CN110032397A (en) | Application processing method and device, electronic equipment, computer readable storage medium | |
CN105430723B (en) | The carrier aggregation mode setting method and communication terminal of a kind of communication terminal | |
CN106843890A (en) | Sensor network, node and its operation method based on intelligent decision | |
CN107613546B (en) | BLE chip, control method of designated element in BLE chip and Bluetooth low-power-consumption equipment | |
CN102970417A (en) | Method for managing shutdown alarm clock of mobile phone | |
CN112052077A (en) | Method, device, equipment and medium for software task management | |
CN109658043A (en) | Collection data processing method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161012 |
|
RJ01 | Rejection of invention patent application after publication |