CN109947503A - Application control method, device, terminal and computer readable storage medium - Google Patents
Application control method, device, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN109947503A CN109947503A CN201910237344.7A CN201910237344A CN109947503A CN 109947503 A CN109947503 A CN 109947503A CN 201910237344 A CN201910237344 A CN 201910237344A CN 109947503 A CN109947503 A CN 109947503A
- Authority
- CN
- China
- Prior art keywords
- application
- destination application
- program
- destination
- close
- 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
Abstract
The embodiment of the invention discloses a kind of application control method, device, terminal and computer readable storage mediums, wherein method includes: to obtain the triggering Starting mode of the destination application when detecting the presence of the destination application in running background;According to the triggering Starting mode of the destination application, it is determined whether close the destination application;If it is determined that closing the destination application, then terminate the operation process of the destination application.Background application can be cleared up automatically through this embodiment, realize the automation and intelligence of application program cleaning.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of application control method, device, terminal and calculating
Machine readable storage medium storing program for executing.
Background technique
The universal of intelligent terminal (for example, mobile phone) greatly facilitates people's lives, study and work.In terminal operating
When, some Android applications can open to carry out some consistency operations certainly, in addition, there is association between certain applications, an application is opened certainly
It can pull-up other application.Along with certain user does not clear up the habit on backstage, the time, which has grown terminal backstage, will be hung up very much
Using, the extensive application for operating in backstage can occupy a large amount of memory sources of mobile phone, may result in terminal occur dodging move back, Caton etc.
Problem, to influence the operating experience of foreground application.Currently, clear up application program manually by user mainly come releasing memory,
However the operating process cleared up manually is cumbersome.
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that providing a kind of application control method, device, terminal
And computer readable storage medium, background application can be cleared up automatically, realize the automation and intelligence of application program cleaning
Energyization.
In a first aspect, the embodiment of the invention provides a kind of application control methods, this method comprises:
When detecting the presence of the destination application in running background, the triggering for obtaining the destination application is opened
Flowing mode;
According to the triggering Starting mode of the destination application, it is determined whether close the destination application;
If it is determined that closing the destination application, then terminate the operation process of the destination application.
In one embodiment, the triggering Starting mode according to the destination application, it is determined whether close institute
State destination application, comprising:
When the triggering Starting mode of the destination application is that automatic trigger starts, the destination application is judged
It whether is the first default application program;
If the destination application is the described first default application program, it is determined that do not close the target application journey
Sequence;
If the destination application is not the described first default application program, it is determined that close the target application journey
Sequence.
In one embodiment, if the destination application is not the described first default application program, it is determined that
Close the destination application, comprising:
If the destination application is not the described first default application program, making for the destination application is obtained
Use frequency;
Whether the frequency of use for detecting the destination application is less than or equal to predeterminated frequency threshold value;
If the frequency of use of the destination application is less than or equal to the predeterminated frequency threshold value, it is determined that described in closing
Destination application.
In one embodiment, the triggering Starting mode according to the destination application, it is determined whether close institute
State destination application, comprising:
When the triggering Starting mode of the destination application is that applications trigger starts, background application sum is obtained
Amount;
If the background application total quantity is greater than or equal to preset quantity threshold value, the target is obtained from network side
The assessment information of application program, the assessment information includes power consumption degree;
If the power consumption degree of the destination application is greater than or equal to default power consumption degree, it is determined that described in closing
Destination application.
In one embodiment, before the acquisition background application total quantity, the method also includes:
Judge that the second default application program is required with the presence or absence of the second default application program in foreground application
Safe coefficient be greater than or equal to the application program of default safe coefficient;
If there are the described second default application programs in the foreground application, it is determined that close the target application journey
Sequence;
If the described second default application program is not present in the foreground application, the acquisition background application is executed
The step of program total quantity.
In one embodiment, the triggering Starting mode according to the destination application, it is determined whether close institute
State destination application, comprising:
When the triggering Starting mode of the destination application is that user triggers starting, the destination application is obtained
Running background duration in background operation state;
Detect whether the running background duration is greater than preset duration threshold value;
If the running background duration is greater than the preset duration threshold value, it is determined that close the destination application.
In one embodiment, the method also includes:
When the destination application is in front stage operation, if detecting, user is directed to the trigger action of the first key,
Then close the destination application;
If detecting, user is directed to the trigger action of the second key, controls the destination application and enters running background
State.
Second aspect, the embodiment of the invention provides a kind of application program controlling device, which includes for executing
State the unit of the described in any item application control methods of first aspect.
The third aspect, the embodiment of the invention provides a kind of terminal, including processor and memory, the processor and institute
State memory interconnection, wherein for the memory for storing computer program, the computer program includes that program refers to
It enables, the processor is configured for calling described program instruction, executes the described in any item application programs of above-mentioned first aspect
Control method.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, and the computer program includes program instruction, and described program instructs when being executed by a processor
The processor is set to execute the above-mentioned described in any item application control methods of first aspect.
The embodiment of the present invention is by obtaining target application when detecting the presence of the destination application in running background
The triggering Starting mode of program, then according to the triggering Starting mode of destination application, it is determined whether close target application journey
Sequence, however, it is determined that close destination application, then the operation process of target end application program, answered so as to clear up backstage automatically
With program, the automation and intelligence of application program cleaning are realized.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of application control method provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of application program controlling device provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description.
The embodiment of the invention discloses a kind of application control method, device, terminal and computer readable storage medium,
For clearing up background application automatically, to realize the automation and intelligence of application program cleaning.Wherein, the present invention is implemented
Terminal in example can be smart phone (such as Android phone), tablet computer, mobile internet device (Mobile
Internet Devices, MID) etc..
Referring to Fig. 1, being a kind of flow diagram of application control method provided in an embodiment of the present invention.The present invention
Application control method described in embodiment may include:
S101, when detecting the presence of the destination application in running background, terminal obtains the target application journey
The triggering Starting mode of sequence.
In the embodiment of the present invention, there are a variety of, application program can be automatic trigger for the triggering Starting mode of application program
Starting is also possible to applications trigger starting, can also be that user triggers starting.Automatic trigger starting is that application program voluntarily opens
Dynamic, applications trigger starting is to call the application program launching according to interface by terminal other applications;User triggers starting can
Start the application program by triggering the icon of application program to be terminal user, is also possible to terminal user and is answered by triggering
Start the application program with the corresponding initiation gesture of program or quick start path.When application program launching, terminal can be with
Obtain and record the triggering Starting mode of the application program.When terminal detects the presence of the application program in running background,
Application program in running background is determined as destination application, and obtains the triggering starting side of the destination application
Formula.It should be noted that the destination application can be any one application program for being in running background.
S102, the terminal are according to the triggering Starting mode of the destination application, it is determined whether close the target
Application program.
In the embodiment of the present invention, after terminal gets the triggering Starting mode of destination application, answered according to the target
With the triggering Starting mode of program, it is determined whether close the destination application.
In one embodiment, when the triggering Starting mode of the destination application is that automatic trigger starts, terminal is sentenced
Whether the destination application that breaks is the first default application program.First application program must be to be started when being terminal operating
Application program.If terminal judges that the destination application is the first default application program, in other words, the target application
Necessary application program to be started when program is terminal operating, then the destination application is not closed in determination to terminal.If terminal
Judging the destination application not is the first default application program, and terminal, which then determines, closes the destination application.Using
Aforesaid way, necessary application program to be started when whether can be terminal operating according to destination application, to determine whether
The destination application is closed, can not only prevent from occurring after closing application program to be started necessary when terminal operating eventually
The problem of end is unable to operate normally;Can also in time by terminal operating when be not required closing application program to be started, to release
Put terminal memory.
In another embodiment, if it is the first default application program that terminal, which judges the destination application not,
Terminal then further obtains the frequency of use of the destination application.It is pre- that the frequency of use of the destination application can be terminal
First store.Terminal counts in advance and records the access times of destination application in a certain period of time, then according to record
Statistical result the frequency of use of destination application is calculated, and store the frequency of use of destination application.This is a certain
Period can be a week, two weeks or one month etc..Further, terminal detects the use of the destination application
Whether frequency is less than or equal to predeterminated frequency threshold value.The predeterminated frequency threshold value is for judging that destination application is that terminal often makes
The application program that application program or terminal are not frequently used.If a terminal detects that destination application uses frequency
Rate is greater than the predeterminated frequency threshold value, then shows that the destination application is the application program that terminal is commonly used, terminal then determines
The destination application is not closed.If terminal detects that the frequency of use of destination application is less than or equal to the predeterminated frequency threshold
Value then shows the destination application not and is the application program that terminal is commonly used, and terminal, which then determines, closes the target application journey
Sequence.It should be noted that terminal can be updated every frequency of use of the prefixed time interval to destination application.Using
Whether aforesaid way can be application program that terminal is commonly used according to destination application, to determine whether to close the mesh
Application program is marked, can not only retain the application program that terminal is commonly used, can also clear up in time what terminal was not frequently used
Application program, to discharge terminal memory.
In one embodiment, when the triggering Starting mode of the destination application is that applications trigger starts, terminal is first
Background application total quantity is first obtained, that is to say the total quantity for obtaining the application program in running background;Then judgement should
Whether running background program total quantity is greater than or equal to preset quantity threshold value.If terminal judges the background application total quantity
Less than the preset quantity threshold value, then showing that the application program for being currently in running background is less, the terminal memory of occupancy is also less,
Influence to terminal operating is also smaller, and terminal, which can then determine, does not close the destination application.If terminal judges the backstage
Application program total quantity is greater than or equal to the preset quantity threshold value, then shows that the application program for being currently in running background is more,
The terminal memory of occupancy is also more, and the influence to terminal operating is also larger, and terminal, which can then determine, closes the destination application.
Using aforesaid way, the total quantity of program can be run according to current background, to determine whether to close the destination application, no
Only it can retain background application when running background program is less, it can also be clear in time when running background program is more
Background application is managed, to discharge terminal memory.
In another embodiment, if terminal judges that the background application total quantity is greater than or equal to the preset quantity
Threshold value, terminal then obtain the assessment information of the destination application from network side, which includes power consumption degree;Then
Judge whether the power consumption degree of the destination application is greater than or equal to default power consumption degree.The default power consumption degree is used
In judging that destination application is the high application program of power consumption or the low application program of power consumption.If terminal detects mesh
The power consumption degree for marking application program is less than the default power consumption degree, then shows that the destination application is that power consumption is low and answers
With program, terminal, which can then determine, does not close the destination application.If terminal detects the power consumption range of destination application
Degree is greater than or equal to the default power consumption degree, then shows that the destination application is the high application program of power consumption, terminal is then
It can determine and close the destination application.It, can be when running background program be more, according to target application using aforesaid way
The power consumption of program can not only retain the low application program of power consumption, may be used also to determine whether to close the destination application
To clear up the high application program of power consumption in time, to discharge terminal memory and reduce the power consumption of terminal.It should be noted that eventually
End can also obtain the assessment information of destination application using other modes.
In another embodiment, when the triggering Starting mode of the destination application is that applications trigger starts, eventually
Before end obtains background application total quantity, first determine whether to whether there is the second default application program in foreground application,
The second default application program is the application program that required safe coefficient is greater than or equal to default safe coefficient.If terminal is sentenced
There are the second default application program in disconnected foreground application out, then show to there are needs in front stage operation program compared with high safety
Property application program (such as payment application etc.), terminal can then determine close the destination application, in certain journey
The safety of terminal is improved on degree, and release terminal memory in time.If terminal is judged to be not present in foreground application
The second default application program then triggers the step of obtaining background application total quantity.
In one embodiment, when the triggering Starting mode of the destination application is that user triggers starting, terminal is obtained
Take the destination application to be in the running background duration of background operation state, and detect the running background duration whether be greater than it is pre-
If duration threshold value.The preset duration threshold value is, for example, 15min or 30min etc..If a terminal detects that the destination application
Running background duration in background operation state is greater than the preset duration threshold value, then shows that terminal user does not make again for a long time
With the destination application, terminal, which can then determine, closes the destination application.
In one embodiment, no matter the triggering Starting mode of the destination application is automatic trigger starting, using touching
Hair starting or user trigger starting.Terminal obtains the occupied memory of the destination application first, and judges that the target is answered
Whether it is greater than default memory size with the occupied memory of program.In if terminal judges that the destination application is occupied
It deposits and is less than or equal to the default memory size, then show that destination application is the lesser application program of committed memory, terminal is then
It can determine and not close the destination application.If it is pre- that terminal judges that the occupied memory of the destination application is greater than this
If memory size, then show that destination application is the biggish application program of committed memory, terminal, which can then determine, closes the mesh
Mark application program., can be directly according to the occupied memory of destination application using aforesaid way, it should to determine whether to close
Destination application can not only retain the lesser application program of committed memory, and it is biggish can also to clear up in time committed memory
Application program, to discharge terminal memory.
S103, if it is determined that closing the destination application, the terminal then terminates the operation of the destination application
Process.
In the embodiment of the present invention, terminal then terminates the fortune of the destination application if it is determined that close the destination application
Traveling journey;Terminal then keeps the destination application running background if it is determined that do not close the destination application.
In one embodiment, when destination application is in front stage operation, if terminal detects user for first
The trigger action of key then really closes the destination application, and terminates the operation process of the destination application.Wherein,
One key can be any one in the keys such as homepage key, return key and the backstage key of terminal preset, and the first key can also
To be the special key of terminal.Using aforesaid way, user can realize the mesh for exiting front stage operation by the first key of triggering
While marking application program, the operation process of direct target end application program, to provide a kind of cleaning application program
New paragon.In another embodiment, when destination application is in front stage operation, if terminal detects user for second
The trigger action of key then controls the destination application and enters background operation state.Wherein, the second key can be pre- for terminal
Any one in the keys such as homepage key, return key and the backstage key set, the second key is also possible to the special key of terminal.
It should be noted that first key and second key can be physical button, it is also possible to virtual key.It should
First key may be the same or different with second key.When first key is identical as second key, if terminal
Detect that user for first key or the first trigger action of second key, then controls destination application entrance
Background operation state;If terminal detects that user for first key or the second trigger action of second key, is closed
Close the destination application.First trigger action is different from second trigger action, which, which can be, clicks,
Second trigger action can be multi-hit (such as double-click or three hit).When first key and the second key difference,
Trigger action for the first key may be the same or different with the trigger action for the second key, and the present invention is implemented
Example is not construed as limiting.
The embodiment of the present invention is by obtaining target application when detecting the presence of the destination application in running background
The triggering Starting mode of program, then according to the triggering Starting mode of destination application, it is determined whether close target application journey
Sequence, however, it is determined that close destination application, then the operation process of target end application program, answered so as to clear up backstage automatically
With program, the automation and intelligence of application program cleaning are realized.
Referring to Fig. 2, Fig. 2 is a kind of structural schematic diagram of application program controlling device provided in an embodiment of the present invention.This
Application program controlling device described in embodiment may include:
Acquiring unit 201, for obtaining the target when detecting the presence of the destination application in running background
The triggering Starting mode of application program;
Processing unit 202, for the triggering Starting mode according to the destination application, it is determined whether close the mesh
Mark application program;
The processing unit 202 is also used to then terminate the target application journey if it is determined that close the destination application
The operation process of sequence.
In one embodiment, the processing unit 202 is specifically used for:
When the triggering Starting mode of the destination application is that automatic trigger starts, the destination application is judged
It whether is the first default application program;
If the destination application is the described first default application program, it is determined that do not close the target application journey
Sequence;
If the destination application is not the described first default application program, it is determined that close the target application journey
Sequence.
In one embodiment, the processing unit 202 is also used to:
If the destination application is not the described first default application program, making for the destination application is obtained
Use frequency;
Whether the frequency of use for detecting the destination application is less than or equal to predeterminated frequency threshold value;
If the frequency of use of the destination application is less than or equal to the predeterminated frequency threshold value, it is determined that described in closing
Destination application.
In one embodiment, the application program controlling device further include: communication unit 203, the processing unit 202
It is specifically used for:
When the triggering Starting mode of the destination application is that applications trigger starts, background application sum is obtained
Amount;
If the background application total quantity is greater than or equal to preset quantity threshold value, pass through the communication unit 203
The assessment information of the destination application is obtained from network side, the assessment information includes power consumption degree;
If the power consumption degree of the destination application is greater than or equal to default power consumption degree, it is determined that described in closing
Destination application.
In one embodiment, it before the processing unit 202 obtains background application total quantity, is also used to:
Judge that the second default application program is required with the presence or absence of the second default application program in foreground application
Safe coefficient be greater than or equal to the application program of default safe coefficient;
If there are the described second default application programs in the foreground application, it is determined that close the target application journey
Sequence;
If the described second default application program is not present in the foreground application, the acquisition background application is executed
The step of program total quantity.
In one embodiment, the processing unit 202 is specifically used for:
When the triggering Starting mode of the destination application is that user triggers starting, the destination application is obtained
Running background duration in background operation state;
Detect whether the running background duration is greater than preset duration threshold value;
If the running background duration is greater than the preset duration threshold value, it is determined that close the destination application.
In one embodiment, the processing unit 202 is also used to:
When the destination application is in front stage operation, if detecting, user is directed to the trigger action of the first key,
Then close the destination application;
If detecting, user is directed to the trigger action of the second key, controls the destination application and enters running background
State.
It is understood that the function of each functional unit of the application program controlling device of the embodiment of the present invention can be according to upper
The method specific implementation in embodiment of the method is stated, specific implementation process is referred to the associated description of above method embodiment,
Details are not described herein again.
The embodiment of the present invention is by obtaining target application when detecting the presence of the destination application in running background
The triggering Starting mode of program, then according to the triggering Starting mode of destination application, it is determined whether close target application journey
Sequence, however, it is determined that close destination application, then the operation process of target end application program, answered so as to clear up backstage automatically
With program, the automation and intelligence of application program cleaning are realized.
Referring to Fig. 3, Fig. 3 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention, in the embodiment of the present invention
Described terminal includes: processor 301, communication interface 302, memory 303.Wherein, processor 301, communication interface 302,
Memory 303 can be connected by bus or other modes, and the embodiment of the present invention by bus for being connected.
Processor 301 can be central processing unit (central processing unit, CPU), network processing unit
The combination of (network processor, NP) or CPU and NP.Processor 301 is also possible to use in multi-core CPU or multicore NP
In the core for realizing communication identifier binding.
Above-mentioned processor 301 can be hardware chip.Above-mentioned hardware chip can be specific integrated circuit
(application-specific integrated circuit, ASIC), programmable logic device (programmable
Logic device, PLD) or combinations thereof.Above-mentioned PLD can be Complex Programmable Logic Devices (complex
Programmable logic device, CPLD), field programmable gate array (field-programmable gate
Array, FPGA), Universal Array Logic (generic array logic, GAL) or any combination thereof.
Above-mentioned communication interface 302 can be used for receiving and sending messages or the interaction of signaling and the reception of signal and transmitting, communication connect
Mouth 302 can be transceiver.Above-mentioned memory 303 can mainly include storing program area and storage data area, wherein storage program
It area can storage program (such as text store function, position store function etc.) needed for storage program area, at least one function;
Storage data area, which can be stored, uses created data (such as image data, lteral data) etc. according to terminal, and can wrap
Include application memory program etc..In addition, memory 303 may include high-speed random access memory, it can also include non-volatile
Memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Above-mentioned memory 303 is also used to store program instruction.Above-mentioned processor 301 can call above-mentioned memory 303 to deposit
The program instruction of storage realizes application control method as shown in the embodiment of the invention.
Specifically, above-mentioned processor 301 calls the program instruction being stored in above-mentioned memory 303 to execute following steps:
When detecting the presence of the destination application in running background, the triggering for obtaining the destination application is opened
Flowing mode;
According to the triggering Starting mode of the destination application, it is determined whether close the destination application;
If it is determined that closing the destination application, then terminate the operation process of the destination application.
The method that processor executes in the embodiment of the present invention is described from the angle of processor, it is to be understood that this
Processor will execute the cooperation that the above method needs other hardware configurations in inventive embodiments.The embodiment of the present invention is to specific reality
Existing process is not described in detail and limits.
In one embodiment, the processor 301 is according to the triggering Starting mode of the destination application, determination
The no concrete mode for closing the destination application are as follows:
When the triggering Starting mode of the destination application is that automatic trigger starts, the destination application is judged
It whether is the first default application program;
If the destination application is the described first default application program, it is determined that do not close the target application journey
Sequence;
If the destination application is not the described first default application program, it is determined that close the target application journey
Sequence.
In one embodiment, if the destination application is not the described first default application program, the place
It manages device 301 and then determines the concrete mode for closing the destination application are as follows:
If the destination application is not the described first default application program, making for the destination application is obtained
Use frequency;
Whether the frequency of use for detecting the destination application is less than or equal to predeterminated frequency threshold value;
If the frequency of use of the destination application is less than or equal to the predeterminated frequency threshold value, it is determined that described in closing
Destination application.
In one embodiment, the processor 301 is according to the triggering Starting mode of the destination application, determination
The no concrete mode for closing the destination application are as follows:
When the triggering Starting mode of the destination application is that applications trigger starts, background application sum is obtained
Amount;
If the background application total quantity is greater than or equal to preset quantity threshold value, the target is obtained from network side
The assessment information of application program, the assessment information includes power consumption degree;
If the power consumption degree of the destination application is greater than or equal to default power consumption degree, it is determined that described in closing
Destination application.
In one embodiment, it before the processor 301 obtains background application total quantity, is also used to:
Judge that the second default application program is required with the presence or absence of the second default application program in foreground application
Safe coefficient be greater than or equal to the application program of default safe coefficient;
If there are the described second default application programs in the foreground application, it is determined that close the target application journey
Sequence;
If the described second default application program is not present in the foreground application, the acquisition background application is executed
The step of program total quantity.
In one embodiment, the processor 301 is according to the triggering Starting mode of the destination application, determination
The no concrete mode for closing the destination application are as follows:
When the triggering Starting mode of the destination application is that user triggers starting, the destination application is obtained
Running background duration in background operation state;
Detect whether the running background duration is greater than preset duration threshold value;
If the running background duration is greater than the preset duration threshold value, it is determined that close the destination application.
In one embodiment, the processor 301 is also used to:
When the destination application is in front stage operation, if detecting, user is directed to the trigger action of the first key,
Then close the destination application;
If detecting, user is directed to the trigger action of the second key, controls the destination application and enters running background
State.
In the specific implementation, processor 301, communication interface 302 described in the embodiment of the present application, memory 303 can be held
It is real that the application also can be performed in the implementation of terminal described in row application control method provided in an embodiment of the present invention
The implementation of the application program controlling device of the offer of example diagram 2 is applied, details are not described herein.
The embodiment of the present invention is by obtaining target application when detecting the presence of the destination application in running background
The triggering Starting mode of program, then according to the triggering Starting mode of destination application, it is determined whether close target application journey
Sequence, however, it is determined that close destination application, then the operation process of target end application program, answered so as to clear up backstage automatically
With program, the automation and intelligence of application program cleaning are realized.
The embodiment of the present invention also provides a kind of computer readable storage medium, stores in the computer readable storage medium
There is computer program, the computer program includes program instruction, and described program instruction makes the place when being executed by a processor
It manages device and executes application control method described in above method embodiment.
The embodiment of the present invention also provides a kind of computer program product comprising instruction, when run on a computer,
So that computer executes application control method described in above method embodiment.
It should be noted that for simple description, therefore, it is stated as a systems for each embodiment of the method above-mentioned
The combination of actions of column, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described, because
For according to the present invention, certain some step can be performed in other orders or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily this hair
Necessary to bright.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Module in the device of that embodiment of the invention can be combined, divided and deleted according to actual needs.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access
Memory, RAM), disk or CD etc..
Above disclosed is only a preferred embodiment of the present invention, cannot limit the power of the present invention with this certainly
Sharp range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and weighs according to the present invention
Benefit requires made equivalent variations, still belongs to the scope covered by the invention.
Claims (10)
1. a kind of application control method, which is characterized in that the described method includes:
When detecting the presence of the destination application in running background, the triggering starting side of the destination application is obtained
Formula;
According to the triggering Starting mode of the destination application, it is determined whether close the destination application;
If it is determined that closing the destination application, then terminate the operation process of the destination application.
2. the method according to claim 1, wherein the triggering starting side according to the destination application
Formula, it is determined whether close the destination application, comprising:
When the triggering Starting mode of the destination application is that automatic trigger starts, whether the destination application is judged
For the first default application program;
If the destination application is the described first default application program, it is determined that do not close the destination application;
If the destination application is not the described first default application program, it is determined that close the destination application.
3. if according to the method described in claim 2, it is characterized in that, the destination application is not described first pre-
If application program, it is determined that close the destination application, comprising:
If the destination application is not the described first default application program, obtain the destination application uses frequency
Rate;
Whether the frequency of use for detecting the destination application is less than or equal to predeterminated frequency threshold value;
If the frequency of use of the destination application is less than or equal to the predeterminated frequency threshold value, it is determined that close the target
Application program.
4. the method according to claim 1, wherein the triggering starting side according to the destination application
Formula, it is determined whether close the destination application, comprising:
When the triggering Starting mode of the destination application is that applications trigger starts, background application total quantity is obtained;
If the background application total quantity is greater than or equal to preset quantity threshold value, the target application is obtained from network side
The assessment information of program, the assessment information includes power consumption degree;
If the power consumption degree of the destination application is greater than or equal to default power consumption degree, it is determined that close the target
Application program.
5. described according to the method described in claim 4, it is characterized in that, before the acquisition background application total quantity
Method further include:
Judge that, with the presence or absence of the second default application program in foreground application, the second default application program is required peace
Whole degree is greater than or equal to the application program of default safe coefficient;
If there are the described second default application programs in the foreground application, it is determined that close the destination application;
If the described second default application program is not present in the foreground application, the acquisition background application is executed
The step of total quantity.
6. the method according to claim 1, wherein the triggering starting side according to the destination application
Formula, it is determined whether close the destination application, comprising:
When the triggering Starting mode of the destination application is that user triggers starting, obtains the destination application and be in
The running background duration of background operation state;
Detect whether the running background duration is greater than preset duration threshold value;
If the running background duration is greater than the preset duration threshold value, it is determined that close the destination application.
7. the method according to claim 1, wherein the method also includes:
When the destination application is in front stage operation, if detecting, user is directed to the trigger action of the first key, closes
Close the destination application;
If detecting, user is directed to the trigger action of the second key, controls the destination application and enters running background shape
State.
8. a kind of application program controlling device, which is characterized in that including for executing such as any one of claims 1 to 7 right
It is required that the unit of the application control method.
9. a kind of terminal, which is characterized in that including processor and memory, the processor and the memory are connected with each other,
Wherein, the memory is for storing computer program, and the computer program includes program instruction, and the processor is configured
For calling described program to instruct, the application control method as described in any one of claims 1 to 7 is executed.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey
Sequence, the computer program include program instruction, and described program instruction executes the processor such as
Application control method described in any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910237344.7A CN109947503A (en) | 2019-03-27 | 2019-03-27 | Application control method, device, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910237344.7A CN109947503A (en) | 2019-03-27 | 2019-03-27 | Application control method, device, terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109947503A true CN109947503A (en) | 2019-06-28 |
Family
ID=67010908
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910237344.7A Pending CN109947503A (en) | 2019-03-27 | 2019-03-27 | Application control method, device, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109947503A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130235405A1 (en) * | 2012-03-06 | 2013-09-12 | Canon Kabushiki Kaisha | Image forming apparatus and control method thereof |
US20140366042A1 (en) * | 2013-06-09 | 2014-12-11 | Apple Inc. | Initiating Background Updates Based on User Activity |
US20140366041A1 (en) * | 2013-06-09 | 2014-12-11 | Apple Inc. | Dynamic Adjustment of Mobile Device Based on User Activity |
CN105824664A (en) * | 2016-03-08 | 2016-08-03 | 广东欧珀移动通信有限公司 | Start monitoring method and device of application program and terminal equipment |
CN106127030A (en) * | 2016-06-22 | 2016-11-16 | 广东欧珀移动通信有限公司 | A kind of interface control method and device |
CN106201688A (en) * | 2016-07-06 | 2016-12-07 | 青岛海信移动通信技术股份有限公司 | The control method of a kind of application program and device |
CN107807857A (en) * | 2017-11-29 | 2018-03-16 | 努比亚技术有限公司 | Method, equipment and the computer for clearing up running memory can storage mediums |
CN107944259A (en) * | 2017-11-21 | 2018-04-20 | 广东欧珀移动通信有限公司 | Using the management-control method of startup, device and storage medium and mobile terminal |
CN107944277A (en) * | 2017-11-21 | 2018-04-20 | 广东欧珀移动通信有限公司 | Using the control method of startup, device, storage medium and intelligent terminal |
CN107957906A (en) * | 2017-12-20 | 2018-04-24 | 珠海全志科技股份有限公司 | Application management method, computer installation, the computer-readable recording medium of terminal device |
-
2019
- 2019-03-27 CN CN201910237344.7A patent/CN109947503A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130235405A1 (en) * | 2012-03-06 | 2013-09-12 | Canon Kabushiki Kaisha | Image forming apparatus and control method thereof |
US20140366042A1 (en) * | 2013-06-09 | 2014-12-11 | Apple Inc. | Initiating Background Updates Based on User Activity |
US20140366041A1 (en) * | 2013-06-09 | 2014-12-11 | Apple Inc. | Dynamic Adjustment of Mobile Device Based on User Activity |
CN105824664A (en) * | 2016-03-08 | 2016-08-03 | 广东欧珀移动通信有限公司 | Start monitoring method and device of application program and terminal equipment |
CN106127030A (en) * | 2016-06-22 | 2016-11-16 | 广东欧珀移动通信有限公司 | A kind of interface control method and device |
CN106201688A (en) * | 2016-07-06 | 2016-12-07 | 青岛海信移动通信技术股份有限公司 | The control method of a kind of application program and device |
CN107944259A (en) * | 2017-11-21 | 2018-04-20 | 广东欧珀移动通信有限公司 | Using the management-control method of startup, device and storage medium and mobile terminal |
CN107944277A (en) * | 2017-11-21 | 2018-04-20 | 广东欧珀移动通信有限公司 | Using the control method of startup, device, storage medium and intelligent terminal |
CN107807857A (en) * | 2017-11-29 | 2018-03-16 | 努比亚技术有限公司 | Method, equipment and the computer for clearing up running memory can storage mediums |
CN107957906A (en) * | 2017-12-20 | 2018-04-24 | 珠海全志科技股份有限公司 | Application management method, computer installation, the computer-readable recording medium of terminal device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103116456B (en) | Realize apparatus and method and the intelligent terminal of file merging | |
EP3951578A1 (en) | Processing method, device and apparatus for split-screen display, and storage medium | |
US20220391232A1 (en) | Content sharing method, device, terminal and storage medium | |
US20100281409A1 (en) | Apparatus and method for handling notifications within a communications device | |
CN107911487A (en) | Information-pushing method, device, server and readable storage medium storing program for executing | |
US20170193992A1 (en) | Voice control method and apparatus | |
CN106445292B (en) | Method and system for managing application programs in different body modes | |
CN103164229A (en) | Method and device for clearing progresses of mobile terminal | |
CN106201409A (en) | The processing method at a kind of application program operation interface and system | |
CN104469717B (en) | Note transmission method and device | |
CN108415657B (en) | Message sending method, device, medium and electronic equipment | |
US11209951B2 (en) | Method and apparatus for displaying application program, terminal device, and storage medium | |
CN109271223A (en) | Windows switching method, device, terminal and computer readable storage medium | |
CN108108249A (en) | Data inputting method and device | |
CN110022399B (en) | Message display method and device, user terminal and readable storage medium | |
CN111796747B (en) | Multi-open application processing method and device and electronic equipment | |
CN105912896A (en) | Application switching method and terminal | |
CN112988185A (en) | Cloud application updating method, device and system, electronic equipment and storage medium | |
CN112184242A (en) | Red packet resource sending method, device, equipment and storage medium | |
CN106302932A (en) | The method and apparatus checking log in communication terminal | |
CN108092784A (en) | A kind of method, terminal and computer-readable medium for creating group | |
CN109451506B (en) | LTE capacity expansion evaluation method and device, terminal and computer storage medium | |
CN112187624B (en) | Message reply method and device and electronic equipment | |
CN108243085B (en) | Method and device for pushing and setting communication group state identifier | |
CN109947503A (en) | Application control method, device, terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |