CN110147275A - A kind of terminal resource optimization method and device - Google Patents
A kind of terminal resource optimization method and device Download PDFInfo
- Publication number
- CN110147275A CN110147275A CN201910441108.7A CN201910441108A CN110147275A CN 110147275 A CN110147275 A CN 110147275A CN 201910441108 A CN201910441108 A CN 201910441108A CN 110147275 A CN110147275 A CN 110147275A
- Authority
- CN
- China
- Prior art keywords
- application
- list
- optimization
- terminal
- restored
- 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
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/48—Indexing scheme relating to G06F9/48
- G06F2209/482—Application
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of terminal resource optimization method and devices.This method comprises: obtaining the scene mode of terminal, the scene mode is the use environment and use condition according to the terminal and preset mode;List of application corresponding with the scene mode is extracted from the mapping table of scene mode and list of application according to the scene mode;The mapping table is the relation table of pre-set different scenes mode and list of application;The current state and the principle of optimality respectively applied in the list of application are obtained from terminal;The principle of optimality is the relationship between application described under the different scene modes and Optimized Measures;According to the principle of optimality of the scene mode, the current state of the application and the application to respectively application optimizes in the list of application.The method increase the service efficiencies of terminal, reduce inactive application occupied terminal resource, extend the use duration of terminal.
Description
Technical field
The present invention relates to field of terminal technology, and in particular to a kind of terminal resource optimization method and device.
Background technique
The intelligence of terminal and becoming increasingly abundant for application, bringing convenience to people's lives property so that people to terminal,
The dependence of especially portable terminal is increasing.However, the operation of various applications needs to occupy biggish terminal resource, especially
It is the application of function complexity, and the memory and battery resource occupied is more, and the increase of the value volume and range of product with application, is led
The resource of terminal is caused more to have too many difficulties to cope with.
Terminal is in use, much very low using frequency, such as the application of system update, quarter-bell, these uses
Lower one talent of application of frequency is using primary or even several days or longer time just using primary.However, these applications exist always
Running background, still committed memory and battery resource.
Settling mode is that manual " key optimization " mode closes application, cleaning caching at present.This mode can will use frequency
Rate is higher, be not intended to close application close together, when reuse should in application, start the time it is longer, influence user's body
It tests.And " key optimization " mode is unable to satisfy the use demand of terminal under different scenes mode.When terminal resource is used frequency
When the low application of rate occupies, the speed of service applied under extreme case will affect, or even threaten user's life, property and privacy
Safety.
Summary of the invention
For this purpose, the present invention provides a kind of terminal resource optimization method and device, to solve in the prior art since terminal provides
The problem of terminal resource is unable to satisfy use demand under complex scene caused by the unreasonable allocation of source.
To achieve the goals above, first aspect present invention provides a kind of terminal resource optimization method, which comprises
The scene mode of terminal is obtained, the scene mode is the use environment and use condition according to the terminal and pre-
The mode first set;
It is extracted from the mapping table of scene mode and list of application according to the scene mode and the scene mode pair
The list of application answered;The mapping table is the relation table of pre-set different scenes mode and list of application;
The current state and the principle of optimality respectively applied in the list of application are obtained from terminal;The principle of optimality is not
With application described under the scene mode and the relationship between Optimized Measures;
According to the principle of optimality of the scene mode, the current state of the application and the application to the list of application
In respectively application optimize.
Wherein, the principle of optimality according to the scene mode, the current state of the application and the application is to institute
Stating the step of respectively application optimizes in list of application includes:
Terminal closed state is set by the application inactive in the list of application;
The application started in the list of application is included in optimization list of application;
The application in the optimization list of application is successively optimized.
Wherein, described the step of successively optimizing to the application optimized in list of application, includes:
Judge the optimization attributes of each application in the optimization list of application;
If the optimization attributes of the application are that can restore and the current state of the application is starting, the extensive of the application is obtained
Multiple pointer simultaneously saves, and list of application to be restored is added in the application, and the pointer that restores includes the application when advance
Spend information and configuration information;
If the optimization attributes are irrecoverable attribute, which is added in optimization list of application;
Application in the optimization list of application is successively optimized, the application for completing optimization is removed into the optimization and is answered
Use list.
Preferably, the waiting time respectively applied in the list of application to be restored is judged, if the waiting time of the application
Beyond preset recovery waiting time, then this is reset using corresponding recovery pointer.
Preferably, the method also includes:
Judge whether the list of application to be restored is empty;If so, terminating this optimization process;If it is not, then checking institute
Whether effective state the recovery pointer applied in list of application to be restored;
If it is not, the application is then removed the list of application to be restored;If so, according to described in recovery pointer recovery
Using, and the application is removed into the list of application to be restored.
Preferably, the method also includes:
Start in optimization process new in application, the scene mode according to terminal obtains corresponding list of application, judgement
Whether the application of the new starting is in optimization list of application, if so, refusing application starting;If it is not, then allowing the application just
Often starting.
The second aspect of the present invention also provides a kind of terminal resource optimization device, and described device includes:
First acquisition unit, for obtaining the scene mode of terminal, the scene mode is the use according to the terminal
Environment and use condition and preset mode;
Extraction unit, for extracted from the mapping table of scene mode and list of application according to the scene mode with
The corresponding list of application of the scene mode;The mapping table is the pass of pre-set different scenes mode and list of application
It is table;
Second acquisition unit, for obtaining the current state and the principle of optimality respectively applied in the list of application from terminal;
The principle of optimality is the optimization relationship between application described under the different scene modes and Optimized Measures;
Analytical unit, for according to the current state of the scene mode, the application and the principle of optimality of the application
To respectively application carries out the specific Optimized Measures that analysis acquisition is directed to the application in the list of application;
Optimize unit, is operated for optimizing according to the specific Optimized Measures to the application execution.
Wherein, the analytical unit includes:
Whether first judgment module, the application for judging in the list of application start, if it is not, then single to the optimization
Member issues the instruction for setting the application to terminal closed state;If so, the application that will start in the list of application
It is included in optimization list of application.
Preferably, the analytical unit further include:
Second judgment module, for judging the optimization attributes of each application in the optimization list of application;
List of application module to be restored, for by optimization attributes be can restore and current state be start the application plus
Enter list of application to be restored, and saves the recovery pointer of application, it is described to restore the current schedules information that pointer includes the application
And configuration information;
Optimize list of application module, for being that optimization list of application is added in expendable application by the optimization attributes
In;
The optimization unit successively optimizes the application in the optimization list of application, and the application for completing optimization is moved
The optimization list of application out.
Preferably, described device further includes recovery unit, for after terminal terminates optimization, in list of application to be restored
Application restored, the recovery unit includes:
Third judgment module, for judging whether the list of application to be restored is empty;If so, to the optimization unit
Issue the instruction for terminating this optimization process;
Check module, for checking whether the recovery pointer applied in the list of application to be restored effective, if it is not, then to
The optimization unit issues the instruction that the application is removed to the list of application to be restored;If so, being sent out to the optimization unit
Restore the application according to the recovery pointer out and the application is removed to the instruction of the list of application to be restored.
The present invention has the advantage that
Terminal resource optimization method provided by the invention takes differentiation to different terminals for different scene modes
Optimized Measures, i.e., for different scenes to terminal application optimize, while consider application current state and optimization rule
Then each application in terminal is optimized, the configuration of optimization is obtained, improves service efficiency, inactive application is reduced and occupies
Terminal resource extends the use duration of terminal, effectively improves terminal resource occupancy situation, meets making for terminal under more scenes
Use demand.
Detailed description of the invention
The drawings are intended to provide a further understanding of the invention, and constitutes part of specification, with following tool
Body embodiment is used to explain the present invention together, but is not construed as limiting the invention.
Fig. 1 is a kind of flow chart of terminal resource optimization method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of step S4 in method provided in an embodiment of the present invention;
Fig. 3 is the functional block diagram that terminal resource provided in an embodiment of the present invention optimizes device.
In the accompanying drawings:
1: first acquisition unit 2: extraction unit
3: second acquisition unit 4: analytical unit
41: 42: the second judgment module of first judgment module
43: list of application module 44 to be restored: optimization list of application module
5: optimization unit 6: recovery unit
61: third judgment module 62: checking module
Specific embodiment
Below in conjunction with attached drawing, detailed description of the preferred embodiments.It should be understood that this place is retouched
The specific embodiment stated is merely to illustrate and explain the present invention, and is not intended to restrict the invention.
The present embodiment provides a kind of terminal resource optimization methods.As shown in Figure 1, terminal resource optimization method includes:
Step S1, obtains the scene mode of terminal, and scene mode is the use environment and use condition according to terminal and pre-
The mode first set.
In the present embodiment, scene mode is the use environment and condition setting and preset mode for terminal, including
But it is not limited to normal mode, special pattern, privacy mode and urgent use pattern.
Wherein, normal mode needs to discharge or in use, to terminal for terminal user without special or urgent resource
Resource carries out the case where optimization routine is to improve the routine use time.Special pattern is to be directed to terminal user in specific condition or answer
The occupation condition of terminal is optimized under heterocycle border, to promote the service efficiency of terminal under special screne or complex environment
And the case where duration.Privacy mode is for terminal user under the usage scenarios such as private space or secret time, for privacy
Protect the optimization carried out to the resource of terminal using configuration.Urgent use pattern is for user in urgent fields such as interim or bursts
Under scape, resource occupation to terminal and there is strong optimization demand using duration, needs to carry out largest optimization to the resource of terminal to match
Use is set, the case where extending using duration is maximized.
Step S2 is extracted from the mapping table of scene mode and list of application and the scene mode according to scene mode
Corresponding list of application;Mapping table is the relation table of pre-set different scenes mode and list of application.
A variety of applications are usually installed, at the terminal to realize different functions.Application referred herein refers to holds in terminal
All application programs and process carried, the form of application is unlimited, can be APP, webpage, background process etc..
In the present embodiment, using tool, there are two types of optimization attributes, can restore attribute and irrecoverable attribute.It can restore to belong to
Property and irrecoverable attribute refer to after terminal exits current scene mode, are again started up this in application, whether the application can be straight
It connects and jumps to the process before exiting or progress status, if can, the application is with can restore attribute;If it is not, then the application has
Irrecoverable attribute.
In fact, the attribute of application is related to scene mode, the optimization attributes of same application in different modes are different.
Such as, in the emergency mode, most applications have irrecoverable attribute.In normal mode, wechat, which has, can restore attribute.But
Under special pattern, wechat has irrecoverable attribute.Therefore, whether terminal should can be restored to belong to according to applying to have under present mode
Property, to judge the recovery operation applied under AD HOC.
In the present embodiment, optimization attributes are a kind of default rules, according to application scenarios, the type of application and user
Habit setting.It needs to optimize application according to optimization attributes in subsequent steps, therefore, the optimization attributes of application are preparatory
It is arranged in optimization list in the database.Commonly used optimization attributes storage in the server, after terminal enables, is applied
List is downloaded and stored in local terminal.Moreover, terminal is in optimization process, it can also be according to the practical application of user
Feature is updated list of application.
Step S3 obtains the current state and the principle of optimality respectively applied in list of application from terminal;The principle of optimality is not
With the relationship applied under scene mode between Optimized Measures.
It is related to the optimization processing of application and the current state of the application, therefore, this is needed before optimization processing
The current state of application.The current state of application includes enabling and closing, and is taken not the application in closing and initiate mode
Same Optimized Measures.
The principle of optimality is under different scenes mode using the relationship between Optimized Measures.The principle of optimality determines different moulds
Under formula, apply which kind of Optimized Measures used to any class, therefore, will be added different using classifying by Different Optimization measure
Optimize in list of application.
Such as: in normal mode, for applications such as daily outgoing, system updates, although there is optimization demand, optimization is needed
Ask relatively weak, therefore, when optimization by self-starting, backstage self-operating, high power consumption and agreement starting time (such as 3 days) without visit
The application asked is closed in time.Such application is included in optimization routine list of application according to user demand.
In a special mode, such as body-building, travelling are applied, and optimization demand is placed in the middle, if terminal has the demand of using electricity wisely,
By self-starting, backstage self-operating, high power consumption and agreement start in application in (such as 30min) without access close, can also be with
Mobile network's application is closed at wifi.
Under privacy mode, the economize on electricity of terminal is no longer rigid demand, optimizes demand mainly from secret protection, such as defends
Situations such as bath, talk, camera, microphone, loudspeaker, mirror etc. are had shooting, recording etc., and there are the applications of privacy leakage risk
It closes.
Under urgent Optimizing Mode, terminal mainly deals with urgent and emergency situations, and user may face life, property damage
It loses, in order to promote the service efficiency and duration of terminal to greatest extent, optimization collocation need to be carried out to the resource of terminal, is only retained most
Smallization application configuration.Under the premise of ensuring to maximize acquisition user security information, such as except minimum needed for the operation of reservation system
Outside the functions such as configuration and microphone, camera, communication, positioning, network, every other running application is closed.
In the present embodiment, the application in optimization routine list of application belongs to other several list of application, special optimization
List of application belongs to urgent optimization list of application.Privacy, which optimizes list of application, has particularity, does not arrange with other scene modes
Table is compatible.
Step S4 is respectively applied according to the principle of optimality of scene mode, the current state of application and application in list of application
It optimizes.
In step s 4, scene mode is identified by unique identification informations such as field or code signs.Application is worked as
Preceding state can be obtained by the application of terminal, and the principle of optimality is set in advance in list of application, and the principle of optimality is under server
It is downloaded in the database of local terminal, the principle of optimality can be obtained by searching local data base.Optimised application state includes eventually
End close, optimize successfully, optimize unsuccessfully, it is to be restored, restored.
As shown in Fig. 2, step S4 is specifically included:
Application inactive in list of application is set terminal closed state by step S41.
List of application stores in the local database, and list of application can be obtained by searching local data base.Application is arranged
Inactive application, does not optimize it in table, its state is directly set to terminal and is closed.
The application started in list of application is included in optimization list of application by step S42.
For the application started in list of application, it is included in optimization object, is added in optimization list of application.
Step S43 successively optimizes the application in optimization list of application.
Application in optimization list of application is also needed to carry out different Optimized Measures according to optimization attributes.Specifically,
Step S43 includes:
Step S431 judges to optimize the optimization attributes respectively applied in list of application.
The optimization attributes of application include can restore with it is irrecoverable.Different for the application use of Different Optimization attribute is excellent
Change is handled, and therefore, it is necessary to first judge the optimization attributes of application.
Step S432 obtains this and answers if the optimization attributes of application are that can restore and the current state of the application is starting
Recovery pointer simultaneously saves, and will restore the current schedules information that pointer includes application using list of application to be restored is added
And configuration information.If optimization attributes are irrecoverable attribute, which is added in optimization list of application.
It is that can restore and current state is that list of application to be restored is added in the application of starting, and obtains this and answer by optimization attributes
Recovery pointer simultaneously saves, and restores current schedules (progress node) information, address information and match confidence that pointer includes application
Breath restores pointer and is stored in recovery list with application.Such as the progress value of video app, menu is directed toward in document storing address
The pointer of item.Restore pointer and is saved as the parameter that this method is implemented by this terminal regardless of form, it is inextensive by application
Influence whether multiple.
It is that expendable application is directly added into optimization list of application by optimization attributes.
Step S433 successively optimizes the application in optimization list of application, and the application for completing optimization is removed optimization
List of application.
Application in optimization list of application is successively optimized, and the application for completing optimization is removed into optimization application column
Table.Application after optimization is rejected or closes, and after exiting or closing successfully, which is set to optimization success status, and by its
Remove optimization list of application.If the application is exited or Fail-closed, such as does not obtain user's manual authorisation or distal end without response feelings
Condition then checks the scene mode of this suboptimization terminal.Under special pattern, privacy mode and urgent use pattern, to terminal system
System, which is sent, forcibly closes request, closes the application.After the completion of terminal closing, it will be removed using terminal closed state is updated to
Optimize list of application.In normal mode, optimization failure is set by the state of the application of Fail-closed, and removes optimization application
List, to avoid unpredictable hidden danger.
As an alternative embodiment of the present embodiment, in optimization process, judge respectively to apply in list to be restored etc.
To the time, if the waiting time of application exceeds preset recovery waiting time, this is reset using corresponding recovery pointer.
After optimization, terminal is restored to apply according to list to be restored.
Step S434 judges whether list of application to be restored is empty;If so, terminating this optimization process, terminal is completed
Optimization.If it is not, then checking whether the recovery pointer applied in list of application to be restored is effective.
If it is invalid to restore pointer, which is removed into list of application to be restored;If restoring, pointer is effective, and foundation is restored
Pointer restores application, and the application is removed list of application to be restored.After application recovery success, which is set as having restored
State, and remove list to be restored;If application recovery fails, set restoring status of fail for the application, same removal to
Restore list.List is empty or pointer is invalid when to be restored, terminates this suboptimization, and terminal restores normal use mode.
As another alternative embodiment of the present embodiment, in optimization process, if user starts new application, terminal is first
First judge scene mode, and obtain the corresponding list of application of the scene mode, then judges whether the application newly started is optimizing
In list of application, if so, refusing application starting;If it is not, the application is then allowed normally to start.
It,, cannot be to distributing rationally before optimization terminates if terminal is in Optimizing Mode it should be noted that in principle
It changes.For the operational requirements applied individually, for the application not in optimization list, user can manually to the application into
Row operation.For the application in optimization list, user can only terminate this suboptimization manually, then carry out configuration operation.
Terminal resource optimization method provided in this embodiment takes difference to different terminals for different scene modes
The Optimized Measures of change optimize the application of terminal for different scenes, while considering the current state and optimization of application
Rule optimizes each application in terminal, obtains the configuration of optimization, improves service efficiency, reduces inactive application and accounts for
With terminal resource, extend the use duration of terminal, effectively improve terminal resource occupancy situation, meets terminal under more scenes
Use demand.
The present embodiment also provides a kind of terminal resource optimization device.As shown in figure 3, terminal resource optimization device includes:
First acquisition unit 1, for obtaining the scene mode of terminal, scene mode is the use environment according to terminal and makes
The preset mode with condition;
Extraction unit 2, for being extracted and being somebody's turn to do from the mapping table of scene mode and list of application according to scene mode
The corresponding list of application of scene mode;Mapping table is the relation table of pre-set different scenes mode and list of application;
Second acquisition unit 3, for obtaining the current state and the principle of optimality respectively applied in list of application from terminal;Optimization
Rule is under different scenes mode using the optimization relationship between Optimized Measures;
Analytical unit 4, for according to the current state of scene mode, application and the principle of optimality of application in list of application
Each application carries out analysis and obtains the specific Optimized Measures for being directed to application;
Optimize unit 5, is operated for optimizing according to specific Optimized Measures to application execution.
Wherein, analytical unit 4 includes:
Whether first judgment module 41, the application for judging in list of application start, if it is not, then issuing to optimization unit
Set the application to the instruction of terminal closed state;If so, the application started in list of application is included in optimization application column
Table.
Second judgment module 42 optimizes the optimization attributes respectively applied in list of application for judging.
List of application module 43 to be restored, for by optimization attributes be can restore and current state be starting application addition
List of application to be restored, and the recovery pointer of application is saved, restore current schedules information and configuration information that pointer includes application.
Optimize list of application module 44, for being that expendable application is added in optimization list of application by optimization attributes.
Application in 5 pairs of unit optimization list of application of optimization successively optimizes, and the application for completing optimization is removed optimization
List of application.
As an optional embodiment of the present embodiment, it further includes recovery unit 6 that terminal resource, which optimizes device, is used for
After terminal terminates optimization, the application in list of application to be restored is restored.
Recovery unit 6 includes:
Third judgment module 61, for judging whether list of application to be restored is empty;If so, issuing knot to optimization unit
The instruction of Shu Benci optimization process.
Module 62 is checked, for checking whether the recovery pointer applied in list of application to be restored is effective, if it is not, then Xiang You
Change unit and issues the instruction that the application is removed to list of application to be restored;If so, issuing to optimization unit according to recovery pointer
Restore the application and the application is removed to the instruction of list of application to be restored.
Terminal resource provided in this embodiment optimizes device specifically optimal way and terminal resource provided in this embodiment
Optimization method is identical, repeats no more again.
Terminal resource provided by the invention optimizes device, takes differentiation to different terminals for different scene modes
Optimized Measures, i.e., for different scenes to terminal application optimize, while consider application current state and optimization rule
Then each application in terminal is optimized, the configuration of optimization is obtained, improves the service efficiency of terminal, reduce without effect
With occupied terminal resource, extend the use duration of terminal, effectively improve terminal resource occupancy situation, meets under more scenes eventually
The use demand at end.
It is understood that the principle that embodiment of above is intended to be merely illustrative of the present and the exemplary implementation that uses
Mode, however the present invention is not limited thereto.For those skilled in the art, essence of the invention is not being departed from
In the case where mind and essence, various changes and modifications can be made therein, these variations and modifications are also considered as protection scope of the present invention.
Claims (10)
1. a kind of terminal resource optimization method, which is characterized in that the described method includes:
The scene mode of terminal is obtained, the scene mode is use environment and use condition according to the terminal and sets in advance
Fixed mode;
It is extracted from the mapping table of scene mode and list of application according to the scene mode corresponding with the scene mode
List of application;The mapping table is the relation table of pre-set different scenes mode and list of application;
The current state and the principle of optimality respectively applied in the list of application are obtained from terminal;The principle of optimality is in different institutes
State the application and the relationship between Optimized Measures under scene mode;
According to the principle of optimality of the scene mode, the current state of the application and the application to each in the list of application
Using optimizing.
2. the method according to claim 1, wherein it is described according to the scene mode, the application it is current
State and the principle of optimality of the application include: to the step of respectively application optimizes in the list of application
Terminal closed state is set by the application inactive in the list of application;
The application started in the list of application is included in optimization list of application;
The application in the optimization list of application is successively optimized.
3. according to the method described in claim 2, it is characterized in that, it is described to it is described optimization list of application in the application according to
Secondary the step of optimizing includes:
Judge the optimization attributes of each application in the optimization list of application;
If the optimization attributes of the application are that can restore and the current state of the application is starting, the recovery for obtaining the application refers to
Needle simultaneously saves, and list of application to be restored is added in the application, described to restore the current schedules letter that pointer includes the application
Breath and configuration information;
If the optimization attributes are irrecoverable attribute, which is added in optimization list of application;
Application in the optimization list of application is successively optimized, the application for completing optimization is removed into the optimization application column
Table.
4. according to the method described in claim 3, it is characterized in that, judging the waiting respectively applied in the list of application to be restored
Time resets this using corresponding recovery pointer if the waiting time of the application exceeds preset recovery waiting time.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
Judge whether the list of application to be restored is empty;If so, terminating this optimization process;If it is not, then check it is described to
Whether effective restore the recovery pointer applied in list of application;
If it is not, the application is then removed the list of application to be restored;If so, being answered according to described in recovery pointer recovery
With, and the application is removed into the list of application to be restored.
6. according to the method described in claim 4, it is characterized in that, the method also includes:
Start in optimization process new in application, the scene mode according to terminal obtains corresponding list of application, judges that this is new
Whether the application of starting is in optimization list of application, if so, refusing application starting;If it is not, the application is then allowed normally to open
It is dynamic.
7. a kind of terminal resource optimizes device, which is characterized in that described device includes:
First acquisition unit, for obtaining the scene mode of terminal, the scene mode is the use environment according to the terminal
With use condition and preset mode;
Extraction unit, for being extracted from the mapping table of scene mode and list of application according to the scene mode and this
The corresponding list of application of scape mode;The mapping table is the relationship of pre-set different scenes mode and list of application
Table;
Second acquisition unit, for obtaining the current state and the principle of optimality respectively applied in the list of application from terminal;It is described
The principle of optimality is the optimization relationship between application described under the different scene modes and Optimized Measures;
Analytical unit, for according to the current state of the scene mode, the application and the principle of optimality of the application to institute
State the specific Optimized Measures for being respectively directed to the application using analysis acquisition is carried out in list of application;
Optimize unit, is operated for optimizing according to the specific Optimized Measures to the application execution.
8. device according to claim 7, which is characterized in that the analytical unit includes:
First judgment module, whether the application for judging in the list of application starts, if it is not, then sending out to the optimization unit
Out set the application to the instruction of terminal closed state;If so, the application started in the list of application is included in
Optimize list of application.
9. device according to claim 8, which is characterized in that the analytical unit further include:
Second judgment module, for judging the optimization attributes of each application in the optimization list of application;
List of application module to be restored, for by optimization attributes be can restore and current state be start the addition of the application to
Restore list of application, and save the recovery pointer of application, the recovery pointer includes the current schedules information of the application and matches
Confidence breath;
Optimize list of application module, for being that expendable application is added in optimization list of application by the optimization attributes;
The optimization unit successively optimizes the application in the optimization list of application, and the application for completing optimization is removed institute
State optimization list of application.
10. device according to claim 9, which is characterized in that described device further includes recovery unit, in terminal knot
After Shu Youhua, the application in list of application to be restored is restored, the recovery unit includes:
Third judgment module, for judging whether the list of application to be restored is empty;If so, being issued to the optimization unit
Terminate the instruction of this optimization process;
Module is checked, for checking whether the recovery pointer applied in the list of application to be restored is effective, if it is not, then Xiang Suoshu
Optimize unit and issues the instruction that the application is removed to the list of application to be restored;If so, to the optimization unit issue according to
Restore the application according to the recovery pointer and the application is removed to the instruction of the list of application to be restored.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910441108.7A CN110147275A (en) | 2019-05-24 | 2019-05-24 | A kind of terminal resource optimization method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910441108.7A CN110147275A (en) | 2019-05-24 | 2019-05-24 | A kind of terminal resource optimization method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110147275A true CN110147275A (en) | 2019-08-20 |
Family
ID=67593092
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910441108.7A Pending CN110147275A (en) | 2019-05-24 | 2019-05-24 | A kind of terminal resource optimization method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110147275A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102508701A (en) * | 2011-10-18 | 2012-06-20 | 北京百纳威尔科技有限公司 | User terminal and method for controlling automatically-operating application program |
CN104699218A (en) * | 2013-12-10 | 2015-06-10 | 华为终端有限公司 | Task management method and equipment |
US20160117202A1 (en) * | 2014-10-28 | 2016-04-28 | Kamal Zamer | Prioritizing software applications to manage alerts |
CN105677477A (en) * | 2015-12-30 | 2016-06-15 | 北京金山安全软件有限公司 | Method and device for optimizing application program resources and electronic equipment |
CN109062676A (en) * | 2018-07-02 | 2018-12-21 | 奇酷互联网络科技(深圳)有限公司 | Using aligning method, device, readable storage medium storing program for executing and mobile terminal |
-
2019
- 2019-05-24 CN CN201910441108.7A patent/CN110147275A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102508701A (en) * | 2011-10-18 | 2012-06-20 | 北京百纳威尔科技有限公司 | User terminal and method for controlling automatically-operating application program |
CN104699218A (en) * | 2013-12-10 | 2015-06-10 | 华为终端有限公司 | Task management method and equipment |
US20160117202A1 (en) * | 2014-10-28 | 2016-04-28 | Kamal Zamer | Prioritizing software applications to manage alerts |
CN105677477A (en) * | 2015-12-30 | 2016-06-15 | 北京金山安全软件有限公司 | Method and device for optimizing application program resources and electronic equipment |
CN109062676A (en) * | 2018-07-02 | 2018-12-21 | 奇酷互联网络科技(深圳)有限公司 | Using aligning method, device, readable storage medium storing program for executing and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106201574A (en) | A kind of startup method and device of application interface | |
CN101415264B (en) | Method and system for managing terminal loss | |
CN107844342A (en) | Management-control method, device and the storage medium and mobile terminal of application program keep-alive | |
CN105244025A (en) | Voice identification method and system based on intelligent wearable device | |
CN112150659B (en) | Full-automatic attendance card punching method and system based on terminal positioning | |
CN101232638A (en) | System and method for remote protecting mobile terminal data | |
CN105933497B (en) | A kind of call blocking method and apparatus of multi-mode | |
CN107610259A (en) | A kind of Work attendance method and device based on surrounding environment marker | |
JP2005117472A (en) | Mobile communication system | |
CN108765825A (en) | Safety protecting method, device, terminal device and computer readable storage medium | |
CN108574780A (en) | Management method, device, storage medium and the intelligent terminal of network function | |
CN110147275A (en) | A kind of terminal resource optimization method and device | |
CN114268690B (en) | Application program control method and device, electronic equipment and storage medium | |
CN113242543B (en) | USIM-based application control method, USIM, terminal and medium | |
CN106096344A (en) | Business performs method, business performs device and terminal | |
CN112866983B (en) | Control method, control device and electronic equipment | |
CN102333283B (en) | Method for updating and authenticating Qualcomm chat (Qchat) mobile terminal as well as mobile terminal | |
CN114490134A (en) | Event processing method, system, device, computer equipment and storage medium | |
CN111901792B (en) | UICC application setting information management method, system and terminal | |
CN103067849B (en) | A kind ofly to stop using, the method and apparatus of multiplexing gprs service | |
CN101541104A (en) | Mobile terminal for informing contact person of replacement of subscriber identity module card and method thereof | |
US11876866B2 (en) | Method for assisting unregistered user device to access end-to-end call service of private network and communication system | |
CN100493259C (en) | A method for dynamically updating group information in cluster service | |
CN110430230A (en) | A kind of high precision GNSS receiver remote setting method and device | |
CN111949471A (en) | Monitoring control method for terminal process |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190820 |