CN106201551A - A kind of application program exits method and device - Google Patents
A kind of application program exits method and device Download PDFInfo
- Publication number
- CN106201551A CN106201551A CN201610586696.XA CN201610586696A CN106201551A CN 106201551 A CN106201551 A CN 106201551A CN 201610586696 A CN201610586696 A CN 201610586696A CN 106201551 A CN106201551 A CN 106201551A
- Authority
- CN
- China
- Prior art keywords
- application program
- program
- reference applications
- frame rate
- rank
- 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/442—Shutdown
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3055—Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses a kind of application program and exit method, described method includes: obtain the target frame rate rank of the destination application instruction of terminal;Obtain the current frame rate of described terminal, it is judged that whether described current frame rate meets the frame per second scope that described target frame rate rank is corresponding;If described current frame rate is unsatisfactory for the frame per second scope that described target frame rate rank is corresponding, then finds out in default program uses state mapping map and be currently at the reference applications that the use priority of running status is minimum, exit described reference applications.The embodiment of the invention also discloses a kind of application program extractor.Use the present invention, can exit, automatically according to frame per second demand, the application program that part is currently running, improve the intelligent of terminal.
Description
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of application program and exit method and device.
Background technology
At present, the application software kind of terminal gets more and more, and function is more and more abundanter.In daily terminal uses, use
Family can be forgotten to be turned off after a certain item application starting terminal or function unavoidably, causes application or function to locate in the terminal
In retaining state or at running background, cause the consumption of system resource is increased, and generally use systematic function user
When requiring higher application program, arise that Caton phenomenon, the most then need user manually clear up be currently running in and do not make
Application program to ensure that terminal smoothness is run, but reduce the intelligent of terminal.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, it is provided that a kind of application program exits method and device, can
Exit, automatically according to frame per second demand, the application program that part is currently running, improve the intelligent of terminal.
In order to solve above-mentioned technical problem, embodiments provide a kind of application program and exit method, described method
Including:
Obtain the target frame rate rank of the destination application instruction of terminal;
Obtain the current frame rate of described terminal, it is judged that it is corresponding whether described current frame rate meets described target frame rate rank
Frame per second scope;
If described current frame rate is unsatisfactory for the frame per second scope that described target frame rate rank is corresponding, then use in default program
State mapping map finds out and is currently at the reference applications that the use priority of running status is minimum, exit described reference
Application program.
Correspondingly, the embodiment of the present invention additionally provides a kind of application program extractor, and described device includes:
Frame per second rank acquisition module, for obtaining the target frame rate rank of the destination application instruction of terminal;
Frame per second judge module, for obtaining the current frame rate of described terminal, it is judged that it is described whether described current frame rate meets
The frame per second scope that target frame rate rank is corresponding;
Program exits module, for being unsatisfactory for, in described current frame rate, the frame per second scope that described target frame rate rank is corresponding
Time, in default program uses state mapping map, find out the reference being currently at the uses priority of running status minimum answer
By program, exit described reference applications.
In embodiments of the present invention, by frame that the current frame rate of terminal is corresponding with the target frame rate rank that application program indicates
Rate scope compares, it is judged that if the frame per second scope whether current frame rate meets target frame rate rank corresponding is unsatisfactory for, then in advance
If program use in state mapping map to find out and be currently at the reference applications that the use priority of running status is minimum,
And exit.In prior art, when frame per second is unsatisfactory for requiring, the application program during manually cleaning is currently running and not used is to protect
Card terminal smoothness is run, and compared with prior art, the present invention can exit, automatically according to frame per second demand, the application that part is currently running
Program, improves the intelligent of terminal.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to
Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet that a kind of application program in the embodiment of the present invention exits method;
Fig. 2 is the schematic flow sheet that the application program in another embodiment of the present invention exits method;
Fig. 3 is the structural representation of a kind of application program extractor in the embodiment of the present invention;
Fig. 4 is the structural representation that in the embodiment of the present invention, the program of application program extractor exits module;
Fig. 5 is the structural representation that in another embodiment of the present invention, the program of application program extractor exits module;
Fig. 6 is the structural representation that in another embodiment of the present invention, the program of application program extractor exits module;
Fig. 7 is the structural representation that in another embodiment of the present invention, the program of application program extractor exits module;
Fig. 8 is a kind of in the embodiment of the present invention to perform the Organization Chart that above-mentioned application program exits the computer system of method.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise
Embodiment, broadly falls into the scope of protection of the invention.
Term in description and claims of this specification and above-mentioned accompanying drawing " include " and " having " and they appoint
What deformation, it is intended that cover non-exclusive comprising.Such as contain series of steps or the process of unit, method, system, product
Product or equipment are not limited to step or the unit listed, but the most also include step or the unit do not listed, or
The most also include other steps intrinsic for these processes, method, product or equipment or unit.
The application program mentioned in the embodiment of the present invention exits the execution of method and depends on computer program, can run on Feng
On the computer system of Ruo Yiman system.This computer program can run based on application program extractor.Described application journey
Sequence extractor can be mobile terminal or the software program operating in mobile terminal, described mobile terminal can include mobile phone,
Notebook computer, panel computer, vehicle-mounted computer, POS (Point Of Sales, point of sale) machine etc..
It is described in detail individually below.
Fig. 1 is the schematic flow sheet that in the embodiment of the present invention, a kind of application program exits method, the most described method
At least include:
Step S101, obtains the target frame rate rank of the destination application instruction of terminal.
Concrete, frame per second (Frame rate) is that units of measurement is display frame per second for measuring measuring of display frame number
Number (Frames per Second, FPS) or " hertz " (Hz).The fluency of current page can be judged by this parameter.
Generally, frame per second can be divided into following rank, such as: rank one: s1 < 24, card rank;Rank two: 24≤s2 < 30, commonly
Rank;Rank three: 30≤s3 < 60, flow process rank;Rank four: 60≤s4 < 75, super smooth rank;Rank five: s5 >=75, ignores
Rank.Wherein, due to the special physiological structure of human eye, if the frame per second of seen picture is less than 24, then it is assumed that incoherent;
And to game, in general, first person shooting game compares the height focusing on FPS, if FPS < 30, game can seem and not connect
Pass through;High frame per second can obtain animation more smooth, more true to nature, therefore then can be obviously improved friendship when frame per second is promoted to 60Hz
Mutual inductance and realism;But in general the most just it is not easy to have perceived obvious fluency to improve more than 75Hz, if
Frame per second exceedes screen refresh rate only can waste the ability of graphics process, because monitor can not update with the fastest speed, this
Sample exceedes the frame per second of refresh rate and just slatterns.
In the present embodiment, in the application program of terminal operating, according to the application program demand to frame per second, determine target
Frame per second rank.The such as application program at terminal operating includes big game, then determine target in default frame per second grade
Frame per second grade, such as s5 >=75.
Step S102, obtains the current frame rate of described terminal, it is judged that whether described current frame rate meets described target frame rate
The frame per second scope that rank is corresponding.
Concrete, detect and collect the current frame rate of terminal by described terminal, by current frame rate and target frame rate
The frame per second scope of rank compares, it may be judged whether meet frame per second demand.If current frame rate s is 40, and the target frame rate of demand
Frame per second scope corresponding to rank is 50~75, is therefore unsatisfactory for;If current frame rate s is 70, and the target frame rate rank pair of demand
The frame per second scope answered is 50~75, now meets frame per second demand;If current frame rate s is 90, and the target frame rate rank pair of demand
The frame per second scope answered is 50~75, now it also hold that meet frame per second demand.
Step S103, if described current frame rate is unsatisfactory for the frame per second scope that described target frame rate rank is corresponding, is then presetting
Program use in state mapping map to find out and be currently at the reference applications that the use priority of running status is minimum, move back
Go out described reference applications.
Concrete, program uses state mapping map can be that pre-build one of terminal can be reflected application program and make
With the table of mapping relations between priority, at least one application program and use corresponding to each application program wherein can be included
Priority.Each application program in terminal has been divided one the most respectively and has used priority, and the program that generates uses state
Mapping table, the division wherein using priority can be the use frequency according to each application program, in preset time period
Use duration, the performance effect of this application program, in the occupation proportion of tag memory etc. many factors or many
Individual determine.And the application program being in running status can include the current application journey being user-operably or using
Sequence, is additionally included in the application program of the running background of terminal.Exit application program then to refer to that terminal completely closes and be in operation
The application program of state, the application program after i.e. exiting not only can not carry out foreground in terminal and show or operation, the most also
Running background can not be carried out.
In the present embodiment, if described current frame rate is unsatisfactory for the frame per second scope that described target frame rate rank is corresponding, then table
Bright terminal current performance is relatively low, is not enough to provide the operation demand meeting application program, it is therefore desirable to exit certain applications program
To improve performance level.Terminal can be searched in the application program being currently at running status in program uses state mapping map
Use at least one application program that priority is minimum, and at least one exited find uses the application journey that priority is minimum
Sequence.In other words, terminal, during cleaning application program, first searches the application program using priority minimum, if used
The application program that priority is minimum cleans out, again judges whether current frame rate meets the frame per second demand model that program is run
Enclosing, if being unsatisfactory for, the most further searching secondary rudimentary application program, the rest may be inferred, until finding some do not cleared up
At least one application program that application level is corresponding, and exit at least one application program that this application level is corresponding.Need
Bright, exit here and be currently at the application program that at least one application level of running status is minimum, can be to exit mesh
Elementary all application programs of being in running status of mark, it is also possible to be only exit one of them or several, this
Place is not especially limited.
Such as, application program as shown in table 1 and the mapping relations table using priority, the application journey being wherein currently running
Sequence has 5, respectively A, B, C, D, E, and corresponding use priority is respectively rank one, rank one, rank two, rank two, level
Other three, wherein rank numeral is the least, and rank is the lowest, and the corresponding different frame per second scope of each rank.Level according to application program E
Not requirement, owing to current frame rate is unsatisfactory for the frame per second scope of rank three correspondence, therefore begins to shut off from application A and/or B,
After exiting A and/or B, again detecting current frame rate, and judge whether to meet the frame per second scope of rank three, if meeting, being then not related to
Close any application program, if being unsatisfactory for, then close C and/or D, judge according to this, until meeting.
Table 1
Application program | Use priority |
A | Rank one |
B | Rank one |
C | Rank two |
D | Rank two |
E | Rank three |
In embodiments of the present invention, by frame that the current frame rate of terminal is corresponding with the target frame rate rank that application program indicates
Rate scope compares, it is judged that if the frame per second scope whether current frame rate meets target frame rate rank corresponding is unsatisfactory for, then in advance
If program use in state mapping map to find out and be currently at the reference applications that the use priority of running status is minimum,
And exit.In prior art, when frame per second is unsatisfactory for requiring, the application program during manually cleaning is currently running and not used is to protect
Card terminal smoothness is run, and compared with prior art, the present invention can exit, automatically according to frame per second demand, the application that part is currently running
Program, improves the intelligent of terminal.
Fig. 2 is the schematic flow sheet that the application program that another embodiment of the present invention provides exits method, described as shown in the figure
Method at least includes:
Step S201, obtains each application program and the use the most corresponding with described each application program that described terminal comprises
State, described use state includes using at least one in frequency or conventional time interval.
Concrete, if terminal includes A1~A5 totally 5 application programs, the use of recordable these 5 application programs within 1 week
State, as used frequency.
Such as, record result is that A1 and A2 uses weekly 5 times, and A3 uses weekly 8 times, and A4 uses weekly 10 times, and A5 is weekly
Use 15 times.
Step S202, preserves described each application program and the use state the most corresponding with described each application program to institute
Program of stating uses in state mapping map.
Concrete, if terminal is the highest according to the use frequency of application program, application level sets the highest principle, sets up
Program uses state mapping map.In being embodied as, multiple use frequency range, each use frequency range correspondence one can be divided
Individual use priority, say, that terminal can determine the use belonging to this use frequency according to the use frequency of application program
Frequency range, and then determine this use priority corresponding to use frequency range, so that it is determined that making corresponding to application program
By priority, set up multiple application program and application uses the mapping relations between priority and preserves.
Such as, according to the record result of S201, set up application program and use the corresponding relation of frequency, as shown in table 2, if
Dividing three in advance and use frequency range, including 0~5 time/week, 6~10 times/week, more than 11 times/week, these three uses frequency
The use priority of scope correspondence respectively is followed successively by 1 grade, 2 grades and 3 grades, and wherein numeral is the least, and priority level is the lowest.According to table 2
Can set up application program as shown in table 3 and use the mapping relations table between priority, therefore A1 and A2 belongs to rank 1,
A3 and A4 belongs to rank 2, and A5 belongs to rank 3.
Table 2
Application program | Use frequency |
A1 | 5 |
A2 | 5 |
A3 | 8 |
A4 | 10 |
A5 | 15 |
Table 3
Step S203, obtains the current performance Demand and service grade of terminal, searches institute in default frame per second class set
State the target frame rate rank that current performance Demand and service grade is corresponding.
Concrete, frame per second (Frame rate) is that units of measurement is display frame per second for measuring measuring of display frame number
Number (Frames per Second, FPS) or " hertz " (Hz).The fluency of current page can be judged by this parameter
's.Generally, frame per second can be divided into following rank, such as: rank one: s1 < 24, card rank;Rank two: 24≤s2 < 30, general
Logical rank;Rank three: 30≤s3 < 60, flow process rank;Rank four: 60≤s4 < 75, super smooth rank;Rank five: s5 >=75, nothing
The scale of visibility is other.Wherein, due to the special physiological structure of human eye, if the frame per second of seen picture is less than 24, then it is assumed that discontinuous
's;And to game, in general, first person shooting game compares the height focusing on FPS, if FPS < 30, game can seem
Discontinuous;High frame per second can obtain animation more smooth, more true to nature, therefore then can substantially carry when frame per second is promoted to 60Hz
Rise mutual sense and realism;But in general the most just it is not easy to have perceived obvious fluency to improve more than 75Hz.
If frame per second exceedes screen refresh rate only can waste the ability of graphics process, because monitor can not with the fastest speed more
Newly, the frame per second so exceeding refresh rate just slatterns.
Capabilities service grade be then according to the application program performance requirement to terminal depending on, as commonly browsed demand, to property
Energy demand is little, it is believed that capabilities service grade is fw=1;Trivial games, chat tool, e-book etc., be defined demand to performance,
Fw=2;Big game, HD video, 3D animation etc., high to performance requirement, fw=3, concrete division does not limits.
In the present embodiment, in the application program of terminal operating, according to the application program demand to capabilities service, determine
Corresponding target frame rate rank.The such as application program at terminal operating includes 3D animation, then in default frame per second grade
Determine target frame rate grade, such as s5 >=75.
Step S204, obtains the current frame rate of described terminal, it is judged that whether described current frame rate meets described target frame rate
The frame per second scope that rank is corresponding.
Concrete, detect and collect the current frame rate of terminal by described terminal, by current frame rate and target frame rate
The frame per second scope of rank compares, it may be judged whether meet frame per second demand.If current frame rate s is 40, and the target frame rate of demand
Frame per second scope corresponding to rank is 50~75, is therefore unsatisfactory for;If current frame rate s is 70, and the target frame rate rank pair of demand
The frame per second scope answered is 50~75, now meets frame per second demand;If current frame rate s is 90, and the target frame rate rank pair of demand
The frame per second scope answered is 50~75, now it also hold that meet frame per second demand.
Step S205, if described current frame rate is unsatisfactory for the frame per second scope that described target frame rate rank is corresponding, is then presetting
Program use in state mapping map to find out and be currently at the reference applications that the use priority of running status is minimum.
Concrete, program uses state mapping map can be that pre-build one of terminal can be reflected application program and make
With the table of mapping relations between priority, at least one application program and use corresponding to each application program wherein can be included
Priority.Each application program in terminal has been divided one the most respectively and has used priority, and the program that generates uses state
Mapping table, the division wherein using priority can be the use frequency according to each application program, in preset time period
Use duration, the performance effect of this application program, in the occupation proportion of tag memory etc. many factors or many
Individual determine.And the application program being in running status can include the current application journey being user-operably or using
Sequence, is additionally included in the application program of the running background of terminal.Exit application program then to refer to that terminal completely closes and be in operation
The application program of state, the application program after i.e. exiting not only can not carry out foreground in terminal and show or operation, the most also
Running background can not be carried out.
Step S206, obtains the use frequency that in described reference applications, each application program is the most corresponding.
Concrete, the use frequency of application program can refer to that user opens the number of times of this application program in preset duration;
It can also be user's total duration of operating this application program in preset duration.Such as, preset duration is one week, and terminal detects
The number of times that application A is opened by user is 10, then the use frequency of application A is just 10 times/week, if user was at one week
The most altogether use application A time a length of 10 hours, then the use frequency of application A is just 10 hours/week, specifically marks
Standard is not especially limited herein.
Step S207, exits and uses the application program that frequency is minimum in described reference applications.
Concrete, according to obtain be currently running in the use frequency of each application, determine use frequency minimum should
By program, and exit.
Optionally, described in exit described reference applications, including:
Obtain the most corresponding the presetting of each application program in described reference applications and commonly use time interval;
According to current point in time, application program each in described reference applications will be not at each commonly using time interval
Application program be defined as sample application program;
Exit described sample application program.
Concrete, presetting conventional time interval can be to commonly use time period of each application program according to user to count in advance
A period of time interval.Such as, user generally uses application A at 9 in the morning at 11 in the morning, then terminal just can be by
It is set to the conventional time interval that application A is corresponding during this period of time.
In the present embodiment, terminal determine be currently in the application program of running status use priority minimum
After at least one application program, it is possible to obtain each application program in this at least one application program corresponding when presetting conventional
Between interval.Then obtain current time point, search current point in time and be not belonging to be currently in the application program of running status
Use the application program in the conventional time interval of each application program that priority is minimum.
Such as, it is currently in the application program of running status and uses the application program that priority is minimum to include A, B and C,
Wherein corresponding for A conventional time interval is 9 o'clock to the 10 o'clock morning, and conventional time interval corresponding for B is 1 o'clock to 3 o'clock afternoon, C pair
The conventional time interval answered is 7 o'clock to 9 o'clock afternoon, if current point in time is 2 pm, then terminal may determine that at A, B and C
In to be in the application program of conventional time interval be that B, i.e. A and C are not currently in conventional time interval, then A and B can be defined as
Sample application program.
Optionally, described in exit described reference applications, including:
Obtain use frequency and default conventional time interval that in described reference applications, each application program is the most corresponding;
According to current point in time, application program each in described reference applications will use frequency minimum and be not at each
It is defined as sample application program from the application program of conventional time interval;
Exit described sample application program.
Concrete, obtain respectively the use frequency of each application program in the application program that terminal is currently running and conventional time
Between interval, if the use frequency of A application is 10 hours/week, conventional time interval is 8 o'clock to 10 o'clock evening, the use frequency of B application
Rate is 10 hours/week, and conventional time interval is 8 o'clock to 10 o'clock morning, and A, B are the application programs using frequency minimum, and if
Current point in time is point in evening 9, the most only exits B and does not exit A.
Optionally, described in exit described reference applications, including:
Obtain the application program being in mode of operation in described reference applications;
Exit in described reference applications except described in be in the application program of mode of operation in addition to application program.
Concrete, described in be in the application program of mode of operation can be the application program that user is operating, namely
Saying, the application program being in mode of operation is necessarily in running status, but the application program being in running status differs
Surely some application programs being in mode of operation, such as running background are just not belonging to be in the application program of mode of operation.
In the present embodiment, if the terminal determine that the application program being in mode of operation belongs to is currently at running status
Use the application program that priority is minimum, then terminal only exits and is currently in the application program of running status except being in behaviour
Make the application program that the use priority beyond the application program of state is minimum.
Such as, just chat at QQ interface if user is current, and the use priority being currently at running status is minimum
Application program includes QQ, microblogging and wechat, then terminal does not the most exit this application program of QQ, and only exits microblogging and micro-
Letter the two application program.
In embodiments of the present invention, by frame that the current frame rate of terminal is corresponding with the target frame rate rank that application program indicates
Rate scope compares, it is judged that if the frame per second scope whether current frame rate meets target frame rate rank corresponding is unsatisfactory for, then in advance
If program use in state mapping map to find out and be currently at the reference applications that the use priority of running status is minimum,
And exit.In prior art, when frame per second is unsatisfactory for requiring, the application program during manually cleaning is currently running and not used is to protect
Card terminal smoothness is run, and compared with prior art, the present invention can exit, automatically according to frame per second demand, the application that part is currently running
Program, improves the intelligent of terminal.
Fig. 3 is the composition structural representation of a kind of application program extractor that the embodiment of the present invention provides, as shown in the figure
Described device includes:
Frame per second rank acquisition module 310, for obtaining the target frame rate rank of the destination application instruction of terminal.
Concrete, described frame per second rank acquisition module 310, it is used for:
Obtain the current performance Demand and service grade of terminal, in default frame per second class set, search described current performance
The target frame rate rank that Demand and service grade is corresponding.
Frame per second judge module 320, for obtaining the current frame rate of described terminal, it is judged that whether described current frame rate meets institute
State the frame per second scope that target frame rate rank is corresponding.
Program exits module 330, for being unsatisfactory for, in described current frame rate, the frame per second model that described target frame rate rank is corresponding
When enclosing, find out in default program uses state mapping map and be currently at the reference that the use priority of running status is minimum
Application program, exits described reference applications.
Optionally, as shown in Figure 4, described program exits module 330 and exits described reference applications, including:
Frequency acquisition unit 3301, for obtaining the use frequency that in described reference applications, each application program is the most corresponding
Rate;
First exits unit 3302, uses, for exiting, the application program that frequency is minimum in described reference applications.
Optionally, as it is shown in figure 5, described program exits module 330 exits described reference applications, including:
Time acquisition unit 3303, for obtaining the most corresponding often the presetting of each application program in described reference applications
Use time interval;
Program determines unit 3304, for according to current point in time, by application program each in described reference applications
The application program being not at each commonly using time interval is defined as sample application program;
Second exits unit 3305, is used for exiting described sample application program.
Optionally, as shown in Figure 6, described program exits module 330 and exits described reference applications, including:
Using information acquisition unit 3306, for obtaining, each application program in described reference applications is corresponding respectively to be made
With frequency and default conventional time interval;
Sample program determines unit 3307, for according to current point in time, will respectively apply journey in described reference applications
Sequence uses frequency minimum and be not at each commonly using the application program of time interval and be defined as sample application program;
3rd exits unit 3308, is used for exiting described sample application program.
Optionally, as it is shown in fig. 7, described program exits module 330 exits described reference applications, including:
Operation sequence acquiring unit 3309, for obtaining the application journey being in mode of operation in described reference applications
Sequence;
4th exits unit 3310, for exit described reference applications is removed described in be in the application journey of mode of operation
Application program beyond sequence.
Optionally, described device, also include:
State acquisition module 340, for obtaining each application program that described terminal comprises and dividing with described each application program
Not corresponding use state, described use state includes using at least one in frequency or conventional time interval;
State preserves module 350, for by described each application program and the use the most corresponding with described each application program
State preserves to described program use state mapping map.
In embodiments of the present invention, by frame that the current frame rate of terminal is corresponding with the target frame rate rank that application program indicates
Rate scope compares, it is judged that if the frame per second scope whether current frame rate meets target frame rate rank corresponding is unsatisfactory for, then in advance
If program use in state mapping map to find out and be currently at the reference applications that the use priority of running status is minimum,
And exit.In prior art, when frame per second is unsatisfactory for requiring, the application program during manually cleaning is currently running and not used is to protect
Card terminal smoothness is run, and compared with prior art, the present invention can exit, automatically according to frame per second demand, the application that part is currently running
Program, improves the intelligent of terminal.
Fig. 8 illustrates and a kind of run above-mentioned application program and exit the computer system based on von Neumann system of method
10.This computer system 10 can be Intelligent glove, intelligent keyboard, smart mobile phone, panel computer, palm PC, notebook electricity
Brain or PC etc. have the terminal unit of input function.Concrete, it may include the outside input connected by system bus
Interface 1001, processor 1002, memorizer 1003 and output interface 1004.Wherein, outer input interface 1001 can include touch-control
Screen 10016, optionally can also include network interface 10018.Memorizer 1003 can include external memory 10032 (such as hard disk,
CD or floppy disk etc.) and built-in storage 10034.Output interface 1004 can include display screen 10042 and sound equipment/loudspeaker 10044 etc.
Equipment.
In the present embodiment, the operation of this method is stored in based on computer program, the program file of this computer program
In the external memory 10032 of aforementioned computer system based on von Neumann system 10, operationally it is loaded into built-in storage
In 10034, it is transferred to after being then compiled as machine code in processor 1002 perform, so that based on von Neumann system
Computer system 10 in form frame per second rank acquisition module 310 in logic, frame per second judge module 320, program exit module
330, state acquisition module 340 and state preserve module 350, and during above-mentioned application program exits method execution, input
Parameter all received by outer input interface 1001, and be transferred in memorizer 1003 caching, be then input to processor
Processing in 1002, the result data of process or be cached in memorizer 1003 subsequently processes, or is passed to defeated
Outgoing interface 1004 exports.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, be permissible
Instructing relevant hardware by computer program to complete, described program can be stored in a computer read/write memory medium
In, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access
Memory, RAM) etc..
The above disclosed present pre-ferred embodiments that is only, can not limit the right model of the present invention with this certainly
Enclose, the equivalent variations therefore made according to the claims in the present invention, still belong to the scope that the present invention is contained.
Claims (14)
1. an application program exits method, it is characterised in that including:
Obtain the target frame rate rank of the destination application instruction of terminal;
Obtain the current frame rate of described terminal, it is judged that whether described current frame rate meets the frame per second that described target frame rate rank is corresponding
Scope;
If described current frame rate is unsatisfactory for the frame per second scope that described target frame rate rank is corresponding, then use state in default program
Mapping table finds out and is currently at the reference applications that the use priority of running status is minimum, exit described with reference to application
Program.
2. the method for claim 1, it is characterised in that the target frame of the destination application instruction of described acquisition terminal
Rate rank, including:
Obtain the current performance Demand and service grade of terminal, default frame per second class set is searched described current performance demand
The target frame rate rank that the grade of service is corresponding.
3. the method for claim 1, it is characterised in that the target frame of the destination application instruction of described acquisition terminal
Before rate rank, also include:
Obtain each application program and the use state the most corresponding with described each application program, described use that described terminal comprises
State includes using at least one in frequency or conventional time interval;
Described each application program and the use state the most corresponding with described each application program are preserved to described program use shape
In state mapping table.
4. the method for claim 1, it is characterised in that described in exit described reference applications, including:
Obtain the use frequency that in described reference applications, each application program is the most corresponding;
Exit and described reference applications uses the application program that frequency is minimum.
5. the method for claim 1, it is characterised in that described in exit described reference applications, including:
Obtain the most corresponding the presetting of each application program in described reference applications and commonly use time interval;
According to current point in time, each commonly use answering of time interval by application program each in described reference applications is not at
It is defined as sample application program by program;
Exit described sample application program.
6. the method for claim 1, it is characterised in that described in exit described reference applications, including:
Obtain use frequency and default conventional time interval that in described reference applications, each application program is the most corresponding;
According to current point in time, application program each in described reference applications will use frequency minimum and be the most often not at
It is defined as sample application program with the application program of time interval;
Exit described sample application program.
7. the method for claim 1, it is characterised in that described in exit described reference applications, including:
Obtain the application program being in mode of operation in described reference applications;
Exit in described reference applications except described in be in the application program of mode of operation in addition to application program.
8. an application program extractor, it is characterised in that including:
Frame per second rank acquisition module, for obtaining the target frame rate rank of the destination application instruction of terminal;
Frame per second judge module, for obtaining the current frame rate of described terminal, it is judged that whether described current frame rate meets described target
The frame per second scope that frame per second rank is corresponding;
Program exits module, for when described current frame rate is unsatisfactory for frame per second scope corresponding to described target frame rate rank,
The program preset uses in state mapping map to find out and is currently at the reference application journey that the use priority of running status is minimum
Sequence, exits described reference applications.
9. device as claimed in claim 8, it is characterised in that described frame per second rank acquisition module, is used for:
Obtain the current performance Demand and service grade of terminal, default frame per second class set is searched described current performance demand
The target frame rate rank that the grade of service is corresponding.
10. device as claimed in claim 8, it is characterised in that described device, also includes:
State acquisition module, for obtaining each application program that described terminal comprises and the most corresponding with described each application program
Use state, described use state includes using at least one in frequency or conventional time interval;
State preserves module, for described each application program and the use state the most corresponding with described each application program being preserved
Use in state mapping map to described program.
11. devices as claimed in claim 8, it is characterised in that described program exits module and exits described reference applications,
Including:
Frequency acquisition unit, for obtaining the use frequency that in described reference applications, each application program is the most corresponding;
First exits unit, uses, for exiting, the application program that frequency is minimum in described reference applications.
12. devices as claimed in claim 8, it is characterised in that described program exits module and exits described reference applications,
Including:
Time acquisition unit, commonly uses time zone for obtaining the most corresponding the presetting of each application program in described reference applications
Between;
Program determines unit, for according to current point in time, each by being not in application program each in described reference applications
It is defined as sample application program from the application program of conventional time interval;
Second exits unit, is used for exiting described sample application program.
13. devices as claimed in claim 8, it is characterised in that described program exits module and exits described reference applications,
Including:
Use information acquisition unit, for obtain use frequency corresponding to each application program in described reference applications and
Preset conventional time interval;
Sample program determines unit, for according to current point in time, using in application program each in described reference applications
Frequency is minimum and is not at each commonly using the application program of time interval and is defined as sample application program;
3rd exits unit, is used for exiting described sample application program.
14. devices as claimed in claim 8, it is characterised in that described program exits module and exits described reference applications,
Including:
Operation sequence acquiring unit, for obtaining the application program being in mode of operation in described reference applications;
4th exits unit, for exit in described reference applications except described in be in the application program of mode of operation in addition to
Application program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610586696.XA CN106201551A (en) | 2016-07-22 | 2016-07-22 | A kind of application program exits method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610586696.XA CN106201551A (en) | 2016-07-22 | 2016-07-22 | A kind of application program exits method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106201551A true CN106201551A (en) | 2016-12-07 |
Family
ID=57492821
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610586696.XA Pending CN106201551A (en) | 2016-07-22 | 2016-07-22 | A kind of application program exits method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106201551A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106936995A (en) * | 2017-03-10 | 2017-07-07 | 广东欧珀移动通信有限公司 | A kind of control method of mobile terminal frame per second, device and mobile terminal |
CN107577532A (en) * | 2017-08-31 | 2018-01-12 | 广东欧珀移动通信有限公司 | Resource allocation method and Related product |
CN107589998A (en) * | 2017-08-31 | 2018-01-16 | 广东欧珀移动通信有限公司 | Resource allocation method and Related product |
WO2019041324A1 (en) * | 2017-09-01 | 2019-03-07 | 深圳传音通讯有限公司 | Shooting frame rate selection method for terminal, terminal, and computer readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030154463A1 (en) * | 2002-02-08 | 2003-08-14 | Betker Michael Richard | Multiprocessor system with cache-based software breakpoints |
CN104423887A (en) * | 2013-08-22 | 2015-03-18 | 深圳富泰宏精密工业有限公司 | Method and system for managing mobile equipment memory |
CN104714874A (en) * | 2015-02-28 | 2015-06-17 | 深圳市中兴移动通信有限公司 | Method for intelligently optimizing internal storage of mobile terminal and mobile terminal |
CN104866366A (en) * | 2015-06-15 | 2015-08-26 | 广东欧珀移动通信有限公司 | Application clearing method and application clearing device |
CN105242973A (en) * | 2015-11-10 | 2016-01-13 | 上海斐讯数据通信技术有限公司 | Internal memory optimization method of Android system |
CN105468416A (en) * | 2015-11-30 | 2016-04-06 | 魅族科技(中国)有限公司 | Application program clearing method and terminal |
CN105786552A (en) * | 2014-12-26 | 2016-07-20 | 联想(北京)有限公司 | Memory clearing method and electronic equipment |
-
2016
- 2016-07-22 CN CN201610586696.XA patent/CN106201551A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030154463A1 (en) * | 2002-02-08 | 2003-08-14 | Betker Michael Richard | Multiprocessor system with cache-based software breakpoints |
CN104423887A (en) * | 2013-08-22 | 2015-03-18 | 深圳富泰宏精密工业有限公司 | Method and system for managing mobile equipment memory |
CN105786552A (en) * | 2014-12-26 | 2016-07-20 | 联想(北京)有限公司 | Memory clearing method and electronic equipment |
CN104714874A (en) * | 2015-02-28 | 2015-06-17 | 深圳市中兴移动通信有限公司 | Method for intelligently optimizing internal storage of mobile terminal and mobile terminal |
CN104866366A (en) * | 2015-06-15 | 2015-08-26 | 广东欧珀移动通信有限公司 | Application clearing method and application clearing device |
CN105242973A (en) * | 2015-11-10 | 2016-01-13 | 上海斐讯数据通信技术有限公司 | Internal memory optimization method of Android system |
CN105468416A (en) * | 2015-11-30 | 2016-04-06 | 魅族科技(中国)有限公司 | Application program clearing method and terminal |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106936995A (en) * | 2017-03-10 | 2017-07-07 | 广东欧珀移动通信有限公司 | A kind of control method of mobile terminal frame per second, device and mobile terminal |
US10863213B2 (en) | 2017-03-10 | 2020-12-08 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and device for controlling frame rate of electronic device, storage medium, and electronic device |
CN107577532A (en) * | 2017-08-31 | 2018-01-12 | 广东欧珀移动通信有限公司 | Resource allocation method and Related product |
CN107589998A (en) * | 2017-08-31 | 2018-01-16 | 广东欧珀移动通信有限公司 | Resource allocation method and Related product |
CN107577532B (en) * | 2017-08-31 | 2019-10-29 | Oppo广东移动通信有限公司 | Resource allocation method and Related product |
WO2019041324A1 (en) * | 2017-09-01 | 2019-03-07 | 深圳传音通讯有限公司 | Shooting frame rate selection method for terminal, terminal, and computer readable storage medium |
CN111406399A (en) * | 2017-09-01 | 2020-07-10 | 深圳传音通讯有限公司 | Terminal shooting frame rate selection method, terminal and computer readable storage medium |
CN111406399B (en) * | 2017-09-01 | 2022-04-08 | 深圳传音通讯有限公司 | Terminal shooting frame rate selection method, terminal and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111045814B (en) | Resource scheduling method and terminal equipment | |
CN108337358B (en) | Application cleaning method and device, storage medium and electronic equipment | |
US20180032484A1 (en) | Dynamic message display method, server, and terminal | |
CN107003727B (en) | Electronic device for running multiple applications and method for controlling electronic device | |
CN106201551A (en) | A kind of application program exits method and device | |
CN104063125B (en) | A kind of desktop icon management method and device | |
CN108345483A (en) | A kind of reminding method of notification message, terminal and computer readable storage medium | |
CN107959965A (en) | Frame dropping method, device, mobile terminal and the readable storage medium storing program for executing of application program | |
CN109215037A (en) | Destination image partition method, device and terminal device | |
CN108898587A (en) | Image processing method, picture processing unit and terminal device | |
CN106210895A (en) | Processor frequencies control method, device and terminal | |
CN106598379A (en) | Method and device for managing application program | |
CN111538852A (en) | Multimedia resource processing method, device, storage medium and equipment | |
CN103869936B (en) | The display packing of information and electronic equipment | |
CN107704155A (en) | Application program image target methods of exhibiting, device, terminal and storage medium | |
CN107943571B (en) | Background application control method and device, storage medium and electronic equipment | |
CN106909383A (en) | The display methods and display device of application program | |
US20160154545A1 (en) | Electronic device and method for managing and displaying application icons | |
CN109358927B (en) | Application program display method and device and terminal equipment | |
CN110472018A (en) | Information processing method, device and computer storage medium based on deep learning | |
CN107943535B (en) | Application cleaning method and device, storage medium and electronic equipment | |
CN110554821A (en) | Display method, system and equipment of suspension frame for screening query conditions | |
CN105975164A (en) | Application program display method and terminal | |
CN107870811B (en) | Application cleaning method and device, storage medium and electronic equipment | |
CN116560837A (en) | Cache resource adjustment method and device, electronic equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161207 |