CN102306095B - Application management method and terminal - Google Patents

Application management method and terminal Download PDF

Info

Publication number
CN102306095B
CN102306095B CN201110204888.7A CN201110204888A CN102306095B CN 102306095 B CN102306095 B CN 102306095B CN 201110204888 A CN201110204888 A CN 201110204888A CN 102306095 B CN102306095 B CN 102306095B
Authority
CN
China
Prior art keywords
application program
system resource
currently running
user
occupancy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110204888.7A
Other languages
Chinese (zh)
Other versions
CN102306095A (en
Inventor
汪智勇
叶必清
冯玉慧
刘东海
王新颖
张开营
廖迴敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201110204888.7A priority Critical patent/CN102306095B/en
Publication of CN102306095A publication Critical patent/CN102306095A/en
Application granted granted Critical
Publication of CN102306095B publication Critical patent/CN102306095B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of application management method and a kind of terminal.Wherein, application management method includes:Step 102, calculates occupancy of the application program being respectively currently running to system resource;Step 104, according to occupancy of the application program being respectively currently running to system resource, obtains the current surpluses of system resource;One or more in the application program that will start or be currently running are performed specific operations according to the current surpluses of system resource by step 106, and specific operation includes closing or point out user to need closing.By the present invention, may determine that whether the application program that will start can cause system operation smooth or according to cannot start, and according to judged result notifying whether user recommends startup optimization, after can also judging that the application program being currently running is closed, can be whether that the ruuning situation of system be brought and be obviously improved, and according to judged result notifying whether the user application program is recommended to close.

Description

Application management method and terminal
Technical field
The present invention relates to moving communicating field, in particular to a kind of application management method and a kind of terminal.
Background technology
With the lifting of handset processes performance, the mobile phone of currently the majority all supports multitasking, you can with same luck Act charitably several different application programs, for example, can also surf the Net while listening song or read a book, especially Android phone, fit Application program is very more.
As user Jing is often on mobile phone while process multiple tasks, this will result in such a case, and user is in handss Still do not know completely after dozens of application program is performed on machine, but now cell phone system performance has been in higher load condition.For The systematic functions such as the response speed of mobile phone are lifted, or when must start up new application program, user must not pass through Manual mode is closing the application program being currently running one by one.
Above-mentioned processing mode the disadvantage is that, user close application program when, in this case it is not apparent which application program be adapted to It is closed, tends to cause important application program to be closed, or close multiple application programs and can not still significantly improves systematicness The situation of energy.Meanwhile, user is when application program is started, in this case it is not apparent that the load condition of cell phone system, as a result often applies Program cannot start or smooth cannot run.
Accordingly, it would be desirable to a kind of application program management mode, can be judged as that user sentenced before user launches application The application program break if appropriate for being activated, when user needs to close application program, can judge specifically to need to close for user Which application program closed.
The content of the invention
The technical problem to be solved is, there is provided a kind of application program management mode, can start in user Before application program, it is judged as that user judges the application program if appropriate for being activated, when user needs to close application program, Can judge specifically need which application program closed for user.
In view of this, the present invention provides a kind of application management method, including:Step 102, what calculating was respectively currently running Occupancy of the application program to system resource;Step 104, according to the application program being respectively currently running to the system resource Occupancy, obtain the current surpluses of the system resource;Step 106, according to the current surpluses pair of the system resource One or more in the application program that will start or be currently running perform specific operation, and specific operation includes closing or points out User needs to close.By the technical scheme, it can be determined that whether the application program that will start can cause system operation not smooth Or according to cannot start, and according to judged result notifying whether user recommends startup optimization, it is also possible to what judgement was currently running After application program is closed, if can be that the ruuning situation of system be brought and be obviously improved, and according to judged result notifying to use Whether the family application program is recommended to close.The type of system resource includes but is not limited to capacity, internal memory, CPU usage and electricity.
In above-mentioned technical proposal, it is preferable that in the step 106, for any type of system resource, if institute When occupancy when stating any one operation in the application program that will start is more than current surpluses, judge that this applies journey Sequence is unable to startup optimization, and points out user or forbid which to start.In the technical scheme, when judging that application program can not start When, then recommended user does not start.
In above-mentioned technical proposal, it is preferable that before the step 106, also include:Set for each type system resource Put weight and first threshold;In the step 106, for the system resource of each type, calculate described in will start Occupancy and current surpluses of application program when running difference, in the difference corresponding to described each type system resource When value is all higher than equal to zero, relatively more described difference and first threshold corresponding to each resource type, and according to described each class Comparing result and weight corresponding to type system resource, can not run after finding out startup in the application program that will start Smooth application program, and the application program to smoothness can not be run after the startup performs specific operation, specific operation includes Close or point out user to need to close.In the technical scheme, when judging that application program smooth can not run, then do not recommend to use Family starts.
In above-mentioned technical proposal, it is preferable that before the step 106, also include:Set for each type system resource Put Second Threshold;In the step 106, corresponding class of the current surpluses less than the system resource of Second Threshold is inquired Type, calculate described in the application program that is currently running occupancy and the corresponding types to the system resource of the corresponding types The ratio of the total amount of system resource, and according to the size of the ratio, needs are found out in the application program being currently running The application program of closing, and need the application program closed to perform specific operation to described, specific operation includes closing or points out User needs to close.In the technical scheme, when judging that application program is excessive to the occupation proportion of resource, then recommended user closes The application program.
In above-mentioned technical proposal, it is preferable that before the step 106, also include:For the application being currently running Program arrange parameter, and be that the parameter and the ratio are respectively provided with weight;In the step 106, according to the parameter And its weight, and the ratio and its weight, find out the application program for needing and closing.In the technical scheme, ginseng Several types includes but is not limited to priority, AM/BAM operation, for example, can arrange higher priority to note, even if then which accounts for With compared with multiple resource, also do not exit easily.
In above-mentioned technical proposal, it is preferable that also include:The application program that smoothness can not be run upon actuation is activated Afterwards, the application program of needs closing is found out in the application program being currently running, and the application journey closed is needed to described Sequence performs specific operation, and specific operation includes closing or points out user to need to close.By the technical scheme, it is ensured that even if working as Front system resource is nervous, it is also possible to run the application program of user.
The present invention also provides a kind of terminal, including:Occupancy computing module, calculates the application program being respectively currently running to being The occupancy of system resource;Surpluses acquisition module, accounts for the system resource according to the application program being respectively currently running Consumption, obtains the current surpluses of the system resource;System control module, according to the current surpluses pair of the system resource One or more in the application program that will start or be currently running perform specific operation, and specific operation includes closing or points out User needs to close.By the technical scheme, it can be determined that whether the application program that will start can cause system operation not smooth Or according to cannot start, and according to judged result notifying whether user recommends startup optimization, it is also possible to what judgement was currently running After application program is closed, if can be that the ruuning situation of system be brought and be obviously improved, and according to judged result notifying to use Whether the family application program is recommended to close.The type of system resource includes but is not limited to capacity, internal memory, CPU usage and electricity.
In above-mentioned technical proposal, it is preferable that the system control module is for any type of system resource, if institute When occupancy when stating any one operation in the application program that will start is more than current surpluses, judge that this applies journey Sequence is unable to startup optimization, and points out user or forbid which to start.In the technical scheme, when judging that application program can not start When, then recommended user does not start.
In above-mentioned technical proposal, it is preferable that also include:First setup module, is that each type system resource arranges power Weight and first threshold;The system control module for described each type system resource, calculate described in the application that will start The difference of occupancy and current surpluses when program is run is big in the difference corresponding to described each type system resource When equal to zero, relatively more described difference and first threshold corresponding to each resource type, and according to described each type system Comparing result and weight corresponding to resource, finds out in the application program that will start Application program, and to can not run after the startup smoothness application program perform specific operation, specific operation include close or Prompting user needs to close.In the technical scheme, when judging that application program smooth can not run, then recommended user does not open It is dynamic.
In above-mentioned technical proposal, it is preferable that also include:Second setup module, is that each type system resource arranges the Two threshold values;The system control module inquires corresponding types of the current surpluses less than the system resource of Second Threshold, meter The system of the occupancy of the application program that is currently running to the system resource of the corresponding types described in calculating and the corresponding types The ratio of the total amount of resource, and according to the size of the ratio, finding out in the application program being currently running needs to close Application program, and need the application program closed to perform specific operation to described, specific operation includes closing or points out user Need to close.In the technical scheme, when judging that application program is excessive to the occupation proportion of resource, then recommended user closes and should answer Use program.
In above-mentioned technical proposal, it is preferable that second setup module is also set for the application program being currently running Parameter is put, and is that the parameter and the ratio are respectively provided with weight;The system control module is according to the parameter and its power Weight, and the ratio and its weight, find out the application program for needing and closing.In the technical scheme, the class of parameter Type include but is not limited to priority, AM/BAM operation, for example can to note arrange higher priority, even if then which occupies compared with Multiple resource, is not also exited easily.
In above-mentioned technical proposal, it is preferable that also include:The system control module can not run answering for smoothness after starting After being activated with program, the application program for needing to close is found out in the application program being currently running, and to the needs The application program of closing performs specific operation.By the technical scheme, it is ensured that even if current system resource is nervous, it is also possible to transport The application program of row user.
By above technical scheme, it is possible to achieve a kind of application management method and a kind of terminal, can open in user Before dynamic application program, it is judged as that user judges that the application program, if appropriate for being activated, needs to close application program in user When, can judge specifically need which application program closed for user.
Description of the drawings
Fig. 1 is the flow chart of application program method according to an embodiment of the invention;
Fig. 2 is the block diagram of terminal according to an embodiment of the invention;
Fig. 3 is the schematic diagram of terminal according to an embodiment of the invention;
Fig. 4 is the setting schematic diagram of terminal according to an embodiment of the invention;
Fig. 5 is the workflow diagram of terminal according to an embodiment of the invention;
Fig. 6 is the workflow diagram of terminal according to an embodiment of the invention;
Fig. 7 is the workflow diagram of terminal according to an embodiment of the invention;
Fig. 8 is the interface schematic diagram of terminal according to an embodiment of the invention;
Fig. 9 is the interface schematic diagram of terminal according to an embodiment of the invention.
Specific embodiment
It is in order to be more clearly understood that the above objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and concrete real Apply mode to be further described in detail the present invention.
Many details are elaborated in the following description in order to fully understand the present invention, but, the present invention may be used also Implemented with being different from other modes described here using other, therefore, the present invention is not limited to following public concrete reality Apply the restriction of example.
Fig. 1 is the flow chart of application program method according to an embodiment of the invention.
As shown in figure 1, the present invention provides a kind of application management method, including:Step 102, calculating are respectively currently running Occupancy of the application program to system resource;Step 104, according to occupancy of the application program being respectively currently running to system resource Amount, obtains the current surpluses of system resource;Step 106, according to the current surpluses of system resource to starting or One or more in the application program of operation perform specific operation, and specific operation includes closing or points out user to need to close. By the technical scheme, it can be determined that whether the application program that will start can cause system operation smooth or according to cannot open It is dynamic, and according to judged result notifying whether user recommends startup optimization, it is also possible to the application program that judgement is currently running is closed After closing, if can be that the ruuning situation of system be brought and be obviously improved, and according to judged result notifying user's application program Whether recommendation is closed.The type of system resource includes but is not limited to capacity, internal memory, CPU usage and electricity.
In above-mentioned technical proposal, in step 106, for any type of system resource, if what is will started should When occupancy when being run with any one in program is more than current surpluses, judge that the application program can not start fortune OK, and point out user or forbid which to start.In the technical scheme, when judging that application program can not start, then do not recommend to use Family starts.
In above-mentioned technical proposal, before step 106, also include:For each type system resource, weight and the are set One threshold value;In step 106, for the system resource of each type, calculate the occupancy when application program that will start runs The difference with current surpluses is measured, when the difference corresponding to each type system resource is all higher than equal to zero, compares each Difference and first threshold corresponding to resource type, and the comparing result and weight according to corresponding to each type system resource, The application program that smoothness can not be run after starting is found out in the application program that will start, and to smoothness can not be run after startup Application program perform specific operation, specific operation includes closing or point out user to need closing.In the technical scheme, when sentencing When disconnected application program smooth can not run, then recommended user does not start.
In above-mentioned technical proposal, before step 106, also include:For each type system resource, Second Threshold is set; In step 106, corresponding types of the current surpluses less than the system resource of Second Threshold are inquired, what calculating was currently running Ratio of the application program to the total amount of the system resource of the occupancy and corresponding types of the system resource of corresponding types, and according to than The size of example, finds out the application program for needing to close, and the application program to needing to close in the application program being currently running Specific operation is performed, specific operation includes closing or points out user to need to close.In the technical scheme, when judging application program Excessive to the occupation proportion of resource, then recommended user closes the application program.
In above-mentioned technical proposal, before step 106, also include:For the application program arrange parameter being currently running, and It is that parameter and ratio are respectively provided with weight;In step 106, according to parameter and its weight, and ratio and its weight, find out Need the application program closed.In the technical scheme, the type of parameter includes but is not limited to priority, AM/BAM operation, example Such as higher priority can be set to note, even if then which occupies compared with multiple resource, also not exit easily.
In above-mentioned technical proposal, also include:Can not run upon actuation smoothness application program be activated after, The application program for needing to close is found out in the application program of operation, and the application program to needing to close performs specific operation.It is logical Cross the technical scheme, it is ensured that even if current system resource is nervous, it is also possible to run the application program of user.
Fig. 2 is the block diagram of terminal according to an embodiment of the invention.
As shown in Fig. 2 the present invention also provides a kind of terminal 200, including:Occupancy computing module 202, calculating are respectively transported Occupancy of the capable application program to system resource;Surpluses acquisition module 204, according to the application program being respectively currently running to being The occupancy of system resource, obtains the current surpluses of system resource;System control module 206, according to current surplus of system resource Surplus performs specific operations to one or more in the application program that will start or be currently running, and specific operation includes closing Or prompting user needs to close.By the technical scheme, it can be determined that whether the application program that will start can cause system to transport It is capable smooth or according to cannot start, and according to judged result notifying whether user recommends startup optimization, it is also possible to judge After the application program of operation is closed, if can be that the ruuning situation of system be brought and be obviously improved, and according to judged result come Notify whether the user application program is recommended to close.The type of system resource includes but is not limited to capacity, internal memory, CPU usage And electricity.
In above-mentioned technical proposal, it is preferable that system control module 206 is for any type of system resource, if being When occupancy when any one in the application program that will start is run is more than current surpluses, the application program is judged not Energy startup optimization, and point out user or forbid which to start.In the technical scheme, when judging that application program can not start, then Recommended user does not start.
In above-mentioned technical proposal, also include:First setup module 208, be each type system resource arrange weight and First threshold;System control module 206 is calculated when the application program that will start runs for the system resource of each type Occupancy and the difference of current surpluses, when the difference corresponding to each type system resource is all higher than equal to zero, compare Difference and first threshold corresponding to each resource type, and the comparing result and power according to corresponding to each type system resource Weight, finds out the application program that smoothness can not be run after starting in the application program that will start, and to running after startup Smooth application program performs specific operation, and specific operation includes closing or points out user to need to close.In the technical scheme, When judging that application program smooth can not run, then recommended user does not start.
In above-mentioned technical proposal, also include:Second setup module 210, is that each type system resource arranges the second threshold Value;System control module 206 inquires corresponding types of the current surpluses less than the system resource of Second Threshold, calculates Ratio of the application program of operation to the total amount of the system resource of the occupancy and corresponding types of the system resource of corresponding types, and According to the size of ratio, the application program for needing to close is found out in the application program being currently running, and to needing closing to answer Program performing specific operation, specific operation is used to include closing or point out user to need to close.In the technical scheme, when judgement should Excessive to the occupation proportion of resource with program, then recommended user closes the application program.
In above-mentioned technical proposal, the second setup module 210 is also the application program arrange parameter being currently running, and to join Number and ratio are respectively provided with weight;System control module 206 is according to parameter and its weight, and ratio and its weight, finds out Need the application program closed.In the technical scheme, the type of parameter includes but is not limited to priority, AM/BAM operation, example Such as higher priority can be set to note, even if then which occupies compared with multiple resource, also not exit easily.
In above-mentioned technical proposal, also include:System control module 206 can not run the application program quilt of smoothness after starting After startup, the application program for needing to close is found out in the application program being currently running, and to needing the application program closed to hold Row specific operation.By the technical scheme, it is ensured that even if current system resource is nervous, it is also possible to run the application journey of user Sequence.
Fig. 3 is the schematic diagram of terminal according to an embodiment of the invention.
Below according to Fig. 3, that introduces the terminal in the present embodiment first realizes frame diagram:
As shown in figure 3, whole framework is mainly made up of four module, and application program module 302, user's setup module 304, Configuration file and Configuration Manager 306, system control module 308.Below each module is continued to describe in detail.
1. application program module 302
The system resource occupancy situation of application program is obtained, can be application program itself.Application program source includes institute The application program with difference in functionality and operation characteristic having (carries application program and third-party application journey including cell phone system Sequence), such as:Network software, bitcom, chat software, Games Software, software of taking pictures, music software etc., specifically can be such as Fig. 3 In the QQ that lists and browser etc..User when above-mentioned certain application program is started, due to the systematicness under not in the same time Can difference, the runnability of the application program, such as fluency and response speed have a difference, user to current system performance not In the case of knowing the inside story, it is possible to which the same time runs excessive application program causes systematic function over loading, also results in operation The application response is slow, and experience is bad.
The terminal of the present embodiment can be according to the operation characteristic of each application program, such as:Operation committed memory, CPU usage, The use priority, electricity expend etc., with reference to current system performance to whether allow to run the application program and be managed and to Go out assessment report for reference;Simultaneously in the case that system is run in multi-task parallel, performance is in load condition, can Arrangement proposed projects is recommended with the end for providing multiple tasks, so that user improves system fluency and and using the response of operation Speed.
2. user's setup module 304
The function of this module is that user can be carried out certainly according to the parameter under Managed Solution of the personal needs to multitask Definition is arranged, and specific multiple task management pattern arranges interface can be with as shown in figure 4, but be not limited in the setting illustrated in Fig. 4 Hold and mode, the set content and mode in Fig. 4 described further below.
1) multiple task management mode switch (being defaulted as being not turned on):After switch cuts out, then multi job mode is not managed Reason is identical with prior art;After switch open, application program management function is opened, and background program starts, with reference to user couple The control parameter of application program carries out data record and control.
2) password is arranged:Code authentication control is used to multiple task management mode capabilities, user operation is more pacified Entirely.
3) use default weight value:User can arrange the option, select the weights of system default suggestion, or using use The weighted value of the personalized definition in family.
4) the status of system performance factor (including but not limited to herein below):
A. file system spare capacity after running
File system residual capacity directly influences whether certain application program can start, or upon actuation whether by Cause application program to exit in file system space deficiency, and whether can affect the normal use of other application programs.It is logical Cross and the value is set, user is can ensure that when certain application program is run, resource when being not result in that other application programs are run It is abnormal to reduce, it is ensured that system operation is smooth.
B. remaining minimum internal memory after running
User can be with self-defined system in remaining how many capacity the standard that reduces as systematic function of state, by arranging The value can ensure that running status of the system operation under certain free memory capacity, it is ensured that application program runs and system operation Fluency.
C. CPU residues occupancy after running
The standard that user can be reduced as systematic function with self-defined system in the remaining how many states of CPU, should by arranging Value can ensure that the CPU for running that the application program will not take system in a large number, cause system to run nothing without response and application program Response.
Electricity residual capacity when d. running
The value is set and can ensure that application program will not consume electricity after operation in a large number, and cause mobile phone not have electricity make Use other functions.
5) application program running state statistics (score exited for application program is assessed, including but not limited to it is following because Son)
To each application program, user can arrange according to the personal needs of oneself whether the application program exits Parameter:Under the application program various state factors operationally, each factor institute in total score is exited in the recommendation calculated The weight for accounting for, it is as follows:
A. application priorities definition, to each application program, user can be set to force level/general Level.
1. level is forced:The important program of some functions:Address list, dial, short multimedia message etc., these application program work( Can be important, in the present embodiment it is proposed that when exiting application program, there is these application programs highest to retain priority.
2. general level:Some relatively common application programs, when the order of application program is exited in assessment, these apply journey The sequence of sequence is before level is forced.
B. front/rear operation of application program:When assessment application program is exited, if current application program is just on foreground, Which has certain reservation priority, and the reservation priority is showed with the weight of user's setting/system default, by one because The mode of son shows.
C. application program consumes system resource:When systematic function is less than parameter value set by user/system, now may be used With the correspondence problem according to current system degraded performance, such as low memory, all application programs being currently running to system are carried out System resource takes analysis, is set out and takes putting in order for resource (such as EMS memory occupation), and passes through user's setting/system default Weight counting this factor in the fraction for always exiting in fraction.
6) weight
If user have selected self-defined weighted value, can arrange interface to each state factor calculate total score when Weight set, to make the weight plan of establishment meet the performance oneself most paid close attention to.
The weighted value such as following table of application program launching presented below and the acquiescence that logs off:(default value can be according to difference The characteristic of platform or hardware is changing)
7) application program running score
Herein, user can be checked in real-time systematic function, after starting the application program, by the present embodiment The total score that operation computational algorithm is obtained.
8) application program exits score
Herein, user can be checked in real-time systematic function, when systematic function is reduced, moving back by this programme Go out the total score that application program computational algorithm is obtained, arranged by the score value using the suggestion order for exiting.
9) operation total score is set
When an application program is activated, the application program running score (factor 7) for calculating in real time should if being less than Operation total score set by user, then obtain it is not recommended that running the assessment report of the application program.
After user arranges interface input control parameter in application program management pattern, relevant parameter is then transmitted by the module To Configuration Manager.
3. configuration file and Configuration Manager 306
The function of the module has two:1st, get after control parameter from user's setup module 304, write parameters to Preserved in configuration file;2nd, configuration parameter control function is provided for system model control module 308.
A configuration file is maintain in terminal, the configuration file includes concrete set by application program management pattern The information included by control parameter, configuration file content and application program management pattern setting interface is consistent.
4th, system control module 308
This module is there is provided under real-time status of system performance, evaluating whether the application program that user need to start is worth Operation, and when system causes performance to reduce due to multiple tasks parallel running, there is provided go out operating application program and terminate excellent First level proposed projects, so as to the response speed that user improves system fluency and runs with application program, its principle is system control The performance of characteristic and current system when molding block is run by application program, carries out data algorithm to the parameter in configuration file Analysis, there is provided whether certain application program is worth the intelligent decision foundation for starting and exiting.
The implementation method of judgement can be divided into two kinds:A kind of method is from employing phase using the weight factor of system default Whether the algorithm answered is worth the total score for starting or exiting to calculate, and another kind of method is the module that user arranges interface manually Whether weighted value is worth the total score for starting or exiting to calculate.
Whether smooth terminal judges application program in the present embodiment flow process after whether can running or run can be as Shown in Fig. 5.
Step 502, user start an application program.
Step 504, obtains the operation characteristic parameter of application program.
Step 506, obtains the current performance parameters of system.
Step 508, calculates two parameter difference, judges whether the application program can startWhen judged result is no, enter Step 510, judged result for when being, into step 512, specifically, judge application program can start can as follows (comprising but It is not limited to following condition):
Initiation value=(operation of system current file system remaining space > application programs need to use file system space)
&& (operation of system current residual internal memory > application programs need to use memory headroom)
&& (the current CPU of system takes the operation of surplus ratio > application programs needs CPU to take surplus ratio)
&& (during operation, electricity residual capacity > application program launching needs minimum capability value)
&&......
If application program starts the condition met in above-mentioned formula simultaneously, initiation value is 1, and representing application program can be with Start;As long as one of them is unsatisfactory for, then initiation value is 0, and representing application program can not start.
Step 510, points out user start, while the scheme for recommending other application programs to exit is given, so that this should Can be with smooth operation with program;
Step 512, calculates the startup total score of the application program, if start score value more than the recommendation of setting, judgement is The no standard for meeting the smooth operation of application program, and when judged result is no, into step 514, when judged result is to be, enter Enter step 516, specifically, judge application program can smooth operation can be with as shown in fig. 6, carrying out running the calculating of total score (corresponding weight by user arrange interface setting, it is also possible to arranged using system default, and include and be not limited to it is following because Son):
Step 602, the score value of calculation document system spare capacity,
Step 604, the score value of computing system free memory capacity,
Step 606, computing system CPU take the score value of surplus ratio,
Step 608, calculates the score value of electricity residual capacity.
Start total score=file system residual capacity × respective weights+system spare internal memory × respective weights+system CPU Take surplus ratio × respective weights+electricity residual capacity × respective weights+..., wherein, start total score scope for [0, 1] in interval.
File system remaining space:After being expressed as running the application program, whether the remaining space of file system is more than use Family or the arranges value of system default.
System spare internal memory:After being expressed as running the application program, the memory headroom of system spare whether be more than user or The arranges value of system default.
System CPU takes surplus ratio:After being expressed as running the application program, whether the surplus ratio that CPU takes is more than user Or the arranges value of system default.
Electricity residual capacity:After being expressed as running the application program, whether battery remaining power is more than user or system is silent The arranges value recognized.
If the operation total score for calculating recommends operation total score more than setting, the application can be with smooth operation, will The application program is run directly, as prior art, if the operation total score for calculating recommends operation less than setting Total score, then show that the application program operation starts possible slow problem, now provide user's prompting, while providing analysis report Accuse (include and be not limited to following form and content):
Suggestion user exits application programs of some same resources of occupancy, and can be given according to the setting of user and exit arrangement Order list, and the function that the user exits recommended application program is provided, move back so that user can reach simplest operation Go out unwanted application program, by the analysis of the terminal intelligent of the present embodiment, allowing user run each glibly should With program, so that the application program normally can start.
Meanwhile, this programme prompting user:After the application program launching, how many systematic functions, the following institute of its algorithm will be consumed Show:
Consumption systematic function percentage ratio=(application program takes file after file system capacity/starting up to application program System spare capacity) × respective weights × (system spare internal memory after application program committed memory/starting up) × respective weights+ (CPU takes surplus ratio after application program CPU usage/starting up) × respective weights+....
Step 514, points out user's application program operation have some setbacks, and user can select operation, while providing recommendation The scheme that other application programs are exited, so that the application program can be with smooth operation;
Step 516, directly runs application program.
Meanwhile, the terminal in this example also provides the evaluation function that intelligent recommendation application program is exited, if the one of mobile phone side A little application programs, will be now supplied to when causing the performance of system to be less than the parameter value set by user/system in continuous service User's intellectual analysis exit the function of application program, and (it can be various shapes such as shortcut, certain menu, software that function provides form Formula, comprising and be not limited to these modes):
User can be given and exits list and assessment report using recommendation according to the correspondence problem of current system degraded performance Accuse, its flow process is as shown in Figure 7:
Step 702, acquisition is currently the excessive resource type of energy consumption.
Step 704, according to resource type, calculates the corresponding consumption resource score of the application program.
Step 706, calculates the preference score of certain application program.
Step 708, calculates front/rear running score of application program.
Step 710, the application program exit PTS, wherein, the preferential of total score=application program is exited in each application The a certain class system that a certain class system resource value spent by level × respective weights+application program/all applications of system at present expend Resource value) × respective weights+application program whether foreground × respective weights+... wherein, application program exits total score Scope be [0,1] it is interval in.
The priority of application program:If mandatory, then it is 1, if general, is then 0.
A certain class system resource value spent by application program:If the slow main cause of current system be internal memory not Foot, then the value is the amount of ram spent by the application program.
The a certain class system resource value that all application programs of system expend at present:If the slow main cause of current system For low memory, the then memory amount spent by all application programs that the value is run by system.
Whether application program operates in foreground:If so, it is then 1, if it is not, being then 0.
Step 712, judges whether the application program that system is just being run has traveled throughAnd when judged result is no, open again Other application programs are processed by beginning flow process, when judged result is to be, into step 714;
Step 714, calculates the performance boost ratio that each application program is exited, specifically, the performance that certain application program is exited Lifting ratio=(application program takes file system spare capacity after file system capacity/starting up) × respective weights+(should With system spare internal memory after program committed memory/starting up) × respective weights+(application program CPU usage/starting up CPU takes surplus ratio afterwards) × respective weights+... the result is displayed to user, can be with as exiting after the application program Lift system how many performances are used as reference.
Step 716, exits priority according to the arrangement of the score of each application program.
The application scheme of the terminal in the present embodiment can be as follows:
Startup scheme:As user starts application program A, if the system resource situation taken after the application program operation is such as Shown in lower:System disclosure satisfy that the condition of the application program launching, but after the application program launching, be calculated by this programme Score value 0.8 of the total score for coming less than user's setting/system default, if directly running the application program, system will be delayed very much The slow and application program speed of service is not smooth, directly affects the experience that user uses mobile phone.
Suggestion user exits application programs of some same resources of occupancy, and can be given according to the setting of user and exit arrangement Order list, and the function that the user exits recommended application program is provided, move back so that user can reach simplest operation Go out unwanted application program, by the analysis of this programme intelligence, allow user run each application program glibly, with Just the application program normally can start, concrete as shown in Figure 8.
Total score is exited by each application program that above-mentioned algorithm is calculated, by total score with low to high sequencing display To user, when the performance of system is reduced, reported by the sequence, user can clearly and accurately exit impact current system The application program of performance, to obtain more preferable experience.
User is by exiting the application program recommended using this programme algorithm:By the multiple applications being currently running of comparison Program, as shown in figure 8, Need For Speed and music walkman committed memory are at most, and are in backstage, just arranges up front. Cell phone system be can ensure that in preferable performance, while ensureing that the application program operation that user need to start is smooth.
Exit scheme:When the cell phone system of user runs excessive application program, cause the performance of system less than use During parameter value set by family/system, now the terminal of embodiment is by the function of being supplied to user intelligently to exit application program:Can With the correspondence problem according to current system degraded performance, provide user application and recommend to exit list and assessment report, its effect Really as shown in figure 9, the internal memory of the bird occupancy of Need For Speed and madness is relatively more, user can be exited.
In sum, technology according to the present invention scheme, it is possible to achieve a kind of application management method and a kind of terminal, Can be judged as that user judged that the application program, if appropriate for being activated, is needed in user before user launches application When closing application program, can judge specifically need which application program closed for user.
The preferred embodiments of the present invention are the foregoing is only, the present invention is not limited to, for the skill of this area For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair Change, equivalent, improvement etc., should be included within the scope of the present invention.

Claims (8)

1. a kind of application management method, it is characterised in that include:
Step 102, calculates occupancy of the application program being respectively currently running to system resource;
Step 104, according to occupancy of the application program being respectively currently running to the system resource, obtains the system money The current surpluses in source;
Step 106, according to the current surpluses of the system resource in the application program that will start or be currently running Individual or multiple execution specific operations, wherein, the specific operation includes closing or points out user to need to close;
Before the step 106, also include:
For each type system resource, weight and first threshold are set;
In the step 106, for described each type system resource, calculate it is described will start application program operation when Occupancy and the difference of current surpluses, be all higher than equal to zero in the difference corresponding to described each type system resource When, relatively more described difference and first threshold corresponding to each resource type, and it is right according to described each type system resource institute The comparing result answered and weight, find out the application journey that smoothness can not be run after starting in the application program that will start Sequence, and the application program to smoothness can not be run after the startup performs the specific operation.
2. application management method according to claim 1, it is characterised in that before the step 106, also wrap Include:
For each type system resource, Second Threshold is set;
In the step 106, corresponding types of the current surpluses less than the system resource of Second Threshold are inquired, institute is calculated State the system resource of the occupancy of the application program that is currently running to the system resource of the corresponding types and the corresponding types Total amount ratio, and according to the size of the ratio, find out in the application program being currently running need to close should With program, and the application program closed is needed to perform the specific operation to described.
3. application management method according to claim 2, it is characterised in that before the step 106, also wrap Include:
For the application program arrange parameter being currently running, and it is that the parameter and the ratio are respectively provided with weight;
In the step 106, according to the parameter and its weight, and the ratio and its weight, find out the needs The application program of closing.
4. application management method according to claim 2, it is characterised in that also include:
Can not run upon actuation smoothness application program be activated after, find out needs in the application program being currently running The application program of closing, and need the application program closed to perform the specific operation to described.
5. a kind of terminal, it is characterised in that include:
Occupancy computing module, calculates occupancy of the application program being respectively currently running to system resource;
Surpluses acquisition module, according to occupancy of the application program being respectively currently running to the system resource, obtains institute State the current surpluses of system resource;
System control module, according to the current surpluses of the system resource in the application program that will start or be currently running One or more perform specific operations, wherein, the specific operation includes closing or point out user to need closing;
First setup module, is that each type system resource arranges weight and first threshold;
The system control module for described each type system resource, calculate it is described will start application program operation when Occupancy and the difference of current surpluses, be all higher than equal to zero in the difference corresponding to described each type system resource When, relatively more described difference and first threshold corresponding to each resource type, and it is right according to described each type system resource institute The comparing result answered and weight, find out the application journey that smoothness can not be run after starting in the application program that will start Sequence, and the application program to smoothness can not be run after the startup performs the specific operation.
6. terminal according to claim 5, it is characterised in that also include:
Second setup module, is that each type system resource arranges Second Threshold;
The system control module inquires corresponding types of the current surpluses less than the system resource of Second Threshold, calculates institute State the system resource of the occupancy of the application program that is currently running to the system resource of the corresponding types and the corresponding types Total amount ratio, and according to the size of the ratio, find out in the application program being currently running need to close should With program, and the application program closed is needed to perform the specific operation to described.
7. terminal according to claim 6, it is characterised in that second setup module also for it is described be currently running should Program arrange parameter is used, and is that the parameter and the ratio are respectively provided with weight;
The system control module is according to the parameter and its weight, and the ratio and its weight, finds out the needs The application program of closing.
8. terminal according to claim 6, it is characterised in that also include:
The system control module can not run upon actuation smoothness application program be activated after, it is described be currently running should With the application program that needs to close is found out in program, and the application program closed is needed to perform the specific operation to described.
CN201110204888.7A 2011-07-21 2011-07-21 Application management method and terminal Active CN102306095B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110204888.7A CN102306095B (en) 2011-07-21 2011-07-21 Application management method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110204888.7A CN102306095B (en) 2011-07-21 2011-07-21 Application management method and terminal

Publications (2)

Publication Number Publication Date
CN102306095A CN102306095A (en) 2012-01-04
CN102306095B true CN102306095B (en) 2017-04-05

Family

ID=45379961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110204888.7A Active CN102306095B (en) 2011-07-21 2011-07-21 Application management method and terminal

Country Status (1)

Country Link
CN (1) CN102306095B (en)

Families Citing this family (52)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294528A (en) * 2012-03-01 2013-09-11 宇龙计算机通信科技(深圳)有限公司 Terminal and process control method
CN102662781A (en) * 2012-04-11 2012-09-12 腾讯科技(深圳)有限公司 Method and device for ensuring normal operation of terminal
CN103425577B (en) * 2012-05-25 2018-06-26 腾讯科技(深圳)有限公司 A kind of test method and device
CN103577253B (en) * 2012-07-30 2018-07-20 腾讯科技(深圳)有限公司 The treating method and apparatus of application program
CN103812720B (en) 2012-11-15 2015-04-01 腾讯科技(深圳)有限公司 Network acceleration management method and device
CN103220427A (en) * 2013-04-16 2013-07-24 广东欧珀移动通信有限公司 Mobile phone background program cleaning method and mobile phone
CN103218307B (en) * 2013-04-18 2016-03-30 海信集团有限公司 Internal storage management system and EMS memory management process
CN103440172A (en) * 2013-08-19 2013-12-11 深圳创维数字技术股份有限公司 Resource management method and terminal device
CN103530193A (en) * 2013-11-01 2014-01-22 北京网秦天下科技有限公司 Method and device used for adjusting application process
CN103777871B (en) * 2014-02-14 2017-10-10 北京猎豹移动科技有限公司 Start the method and device of application under a kind of screen lock state
CN103761036B (en) * 2014-02-14 2017-05-17 北京猎豹移动科技有限公司 Method and device for running application
US9811458B2 (en) 2014-03-19 2017-11-07 Htc Corporation Mobile electronic device and method for clearing memory blocks based on processor determination of physical block to erase in response to GUI input from user specified time and directing controller to erase within the specified time
TWI548989B (en) * 2014-03-19 2016-09-11 宏達國際電子股份有限公司 Mobile electronic device and method for clearing memory blocks
CN104166815B (en) * 2014-07-24 2018-02-23 深圳天珑无线科技有限公司 A kind of electronic equipment management system and its method
CN104239196B (en) * 2014-09-17 2018-06-01 北京金山安全软件有限公司 Method and device for detecting abnormal operation of application program and mobile terminal
CN104268248B (en) * 2014-09-30 2018-06-05 北京金山安全软件有限公司 Recommendation method and device for application program and terminal
CN104461742B (en) * 2014-12-15 2016-10-12 北京奇虎科技有限公司 Calculate equipment optimization method and device
CN104461576B (en) * 2014-12-29 2018-06-01 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN104536813B (en) * 2014-12-29 2016-10-12 北京奇虎科技有限公司 The acceleration method and device of calculating equipment
CN104572300B (en) * 2014-12-31 2017-11-24 广东欧珀移动通信有限公司 The method and mobile terminal device of control application operation
CN104778086A (en) * 2015-04-15 2015-07-15 天脉聚源(北京)教育科技有限公司 Method and device for releasing resources
CN104881323B (en) * 2015-06-05 2018-03-30 广东欧珀移动通信有限公司 A kind of method and system for avoiding mobile terminal from crashing
CN104866069A (en) * 2015-06-12 2015-08-26 广东小天才科技有限公司 Method and device for automatically clearing background application programs
CN104866366B (en) * 2015-06-15 2018-06-19 广东欧珀移动通信有限公司 Application program method for cleaning and device
KR102446325B1 (en) * 2015-06-24 2022-09-22 삼성전자주식회사 Operating Method For Application Program and electronic device supporting the same
CN105045637A (en) * 2015-08-14 2015-11-11 深圳市金立通信设备有限公司 Application start method and terminal
CN105487822A (en) * 2015-12-03 2016-04-13 海信集团有限公司 Scanning control method and intelligent equipment
CN105677403B (en) * 2015-12-31 2018-11-06 北京金山安全软件有限公司 Data processing method, device and equipment
CN105824702A (en) * 2016-03-22 2016-08-03 乐视云计算有限公司 Method and terminal for managing program memory footprint
CN106055408B (en) 2016-05-31 2017-11-24 广东欧珀移动通信有限公司 A kind of application control method and mobile terminal
CN106685752B (en) * 2016-06-28 2019-01-04 腾讯科技(深圳)有限公司 A kind of information processing method and terminal
CN106227565B (en) * 2016-07-27 2020-02-28 北京金山安全软件有限公司 Application control method and device and terminal
CN106502807B (en) * 2016-11-01 2020-09-04 Tcl科技集团股份有限公司 Display control method and system of application pop-up box
CN106776041B (en) * 2016-12-30 2020-01-14 Oppo广东移动通信有限公司 Data processing method and device
CN107193716B (en) * 2017-04-25 2021-08-03 北京小米移动软件有限公司 Resource occupation display method and device
CN107249074A (en) * 2017-05-16 2017-10-13 努比亚技术有限公司 Application program quick start method, mobile terminal and computer-readable recording medium
CN107291601B (en) * 2017-06-12 2021-01-22 北京奇艺世纪科技有限公司 Safe operation and maintenance method and system
CN107562539B (en) * 2017-08-25 2020-08-18 Oppo广东移动通信有限公司 Application program processing method and device, computer equipment and storage medium
CN107678796A (en) * 2017-09-28 2018-02-09 惠州Tcl移动通信有限公司 A kind of method, storage device and mobile terminal for optimizing system resource
CN107729216B (en) * 2017-10-31 2020-03-10 Oppo广东移动通信有限公司 Application program control method and device, storage medium and electronic equipment
CN107885544B (en) * 2017-10-31 2020-04-10 Oppo广东移动通信有限公司 Application program control method, device, medium and electronic equipment
CN108881360B (en) * 2017-11-22 2021-06-29 视联动力信息技术股份有限公司 Terminal control method and device based on video network
WO2019119280A1 (en) * 2017-12-19 2019-06-27 华为技术有限公司 Service processing method, cloud server, and terminal device
CN108319685A (en) * 2018-01-31 2018-07-24 努比亚技术有限公司 Application program recommends method, mobile terminal and computer readable storage medium
CN108491122B (en) * 2018-02-07 2020-02-18 平安科技(深圳)有限公司 Click event response method, computer readable storage medium and terminal equipment
CN108762925A (en) * 2018-05-24 2018-11-06 四川斐讯信息技术有限公司 A kind of management method and system of storage device application program
CN110557555B (en) * 2018-06-01 2021-03-02 杭州海康威视数字技术股份有限公司 Function starting method, device, equipment and system of intelligent camera
CN111399934A (en) * 2020-02-21 2020-07-10 中国建设银行股份有限公司 Method and device for managing automatic program
CN111459758B (en) * 2020-03-31 2022-12-20 Oppo广东移动通信有限公司 Application information display method and device, electronic equipment and storage medium
CN111708633A (en) * 2020-05-28 2020-09-25 北京赛博云睿智能科技有限公司 Dynamic resource adjustment method and system
CN111752800B (en) * 2020-06-24 2023-02-21 研祥智能科技股份有限公司 Monitoring method and monitoring device for computer system and application program
CN115333941B (en) * 2022-01-28 2023-08-22 花瓣云科技有限公司 Method for acquiring application running condition and related equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1715421A1 (en) * 2005-04-21 2006-10-25 International Business Machines Corporation Workload scheduling method and system with improved planned job duration updating scheme
CN101777009A (en) * 2009-11-30 2010-07-14 英业达股份有限公司 Load control method of application program
CN101968750A (en) * 2010-10-15 2011-02-09 珠海举天软件科技有限公司 Computer system and working method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408861A (en) * 2007-10-11 2009-04-15 鸿富锦精密工业(深圳)有限公司 Real time monitoring system and method of application program
CN101996101B (en) * 2009-08-13 2013-08-28 北京搜狗科技发展有限公司 Method and device for optimizing application program performance

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1715421A1 (en) * 2005-04-21 2006-10-25 International Business Machines Corporation Workload scheduling method and system with improved planned job duration updating scheme
CN101777009A (en) * 2009-11-30 2010-07-14 英业达股份有限公司 Load control method of application program
CN101968750A (en) * 2010-10-15 2011-02-09 珠海举天软件科技有限公司 Computer system and working method thereof

Also Published As

Publication number Publication date
CN102306095A (en) 2012-01-04

Similar Documents

Publication Publication Date Title
CN102306095B (en) Application management method and terminal
JP5795349B2 (en) A device that determines whether an application should be launched locally or remotely as a web application
JP5175242B2 (en) Method for predicting battery usable time of mobile communication terminal based on usage pattern
CN108563500A (en) Method for scheduling task, cloud platform based on cloud platform and computer storage media
CN105045367A (en) Android system equipment power consumption optimization method based on game load prediction
CN107398070A (en) Display control method and device, the electronic equipment of a kind of game picture
CN113599803A (en) Data processing method and device based on edge calculation and readable storage medium
CN112015536B (en) Kubernetes cluster container group scheduling method, device and medium
CN105843670A (en) Cloud platform based virtual cluster deployment and integration method
CN112445575B (en) Multi-cluster resource scheduling method, device and system
CN108647092A (en) Cloud storage method, cloud platform and computer readable storage medium
CN106569582A (en) Method and device for prompting remaining power consumption time of terminal
CN104267800A (en) Method for implementing automatic adjustment of display resolution of application in operating system
CN106406494B (en) A kind of method and terminal of processor scheduling
CN103973885A (en) Data reporting method and mobile terminal
CN107533479A (en) Power knows scheduling and power manager
CN106648854A (en) Task execution method and device for terminal
CN101754129A (en) Method for displaying short message and mobile terminal
CN107241758A (en) Network control method, network control unit and intelligent terminal
CN108549575A (en) Exit processing method, device, storage medium and the electronic equipment of split screen
CN103257894B (en) A kind of method and electric terminal of management program
CN106503543A (en) A kind of method and apparatus of management application program
CN106980481A (en) A kind of method for displaying image and equipment
CN103796226B (en) A kind of network optimized approach and device
CN107315635A (en) The method of adjustment of the stock number of handheld device and the handheld device

Legal Events

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