CN107329559A - A kind of application control method, device, terminal and storage medium - Google Patents
A kind of application control method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN107329559A CN107329559A CN201710524697.6A CN201710524697A CN107329559A CN 107329559 A CN107329559 A CN 107329559A CN 201710524697 A CN201710524697 A CN 201710524697A CN 107329559 A CN107329559 A CN 107329559A
- Authority
- CN
- China
- Prior art keywords
- application program
- duration
- time threshold
- data transmission
- system service
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/329—Power saving characterised by the action undertaken by task scheduling
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of application control method, device, terminal and storage medium, methods described includes:Obtain the application program of current background operation;Judge whether the application program is in data transmission state;When the application program is not in data transmission state, the duration that the application program is not in data transmission state is recorded;The system service for determining whether to close the application program and/or associate with the application program according to the duration.The program is realized to be automatically controlled during the routine use of terminal to application program, compared with prior art, the power consumption of terminal can not only be reduced, extend the use duration of end cell, and determine whether to close corresponding process by whetheing there is data transmission state and its duration size, avoid and directly close the problem of related application can interrupt the process that user is using in a power-save mode in the prior art, improve the intelligent and hommization of application program controlling.
Description
Technical field
The present invention relates to communication technical field, and in particular to a kind of application control method, device, terminal and storage are situated between
Matter.
Background technology
Mobile terminal is commonly provided with one piece of battery, and due to most of limited battery capacity, current battery of mobile terminal
The running of mobile terminal time of one day or so can only be supported, if frequently terminal, or even will not have electricity less than half a day.
For this problem, existing solution is:Power management applications or some pipes are installed in the terminal
Family's application reduces the power consumption of mobile terminal, and operation principle is usually, when battery capacity is less than predetermined threshold value, to point out user to enter
Enter battery saving mode.But, the battery saving mode of this mode be it is direct close related application process, including entering of using of user
Journey, such as closes wifi, bluetooth, mobile network's process, it is clear that the processing mode of this pattern is more dogmatic, can interrupt user
Ongoing process, brings bad experience.
Therefore, the power consumption of mobile terminal how is reduced in use, extend the use duration of battery, as one urgently
Technical problem to be solved.
The content of the invention
In view of this, the embodiments of the invention provide a kind of application control method, device, terminal and storage medium,
To solve in the prior art, power consumption is big during terminal operating, the short-life problem of battery.
First aspect present invention provides a kind of application control method, applied to terminal, such as mobile phone, tablet personal computer
Deng methods described includes:Obtain the application program of current background operation;Judge whether the application program is in data transfer shape
State;When the application program is not in data transmission state, records the application program and be not in holding for data transmission state
The continuous time;The system for determining whether to close the application program and/or associate with the application program according to the duration
Service.
By implementing the method that first aspect is described, the application program that detection terminal backstage is currently running in real time, and judge
Whether these application programs are in data transmission state, if illustrating that user is applying journey by this in data transmission state
Sequence carries out data transmission on backstage, such as music application is downloading audio file etc., to avoid loss of data or the damage of user
It is bad, then the application program can be kept to continue in running background, if the application program of running background is not in data transfer shape
State, i.e., no data activity then illustrates that user need not currently use the application program, if allowing its long-time to be transported on backstage
OK, a large amount of internal memories are not only taken up, and make terminal power consumption increase, then now recording the application program does not have this shape of data activity
The duration of state, the system service for determining whether to associate by the application program and/or with the application program according to the duration
Close, application program is automatically controlled during the routine use of terminal in this way, realizing, compared with prior art, no
The power consumption of terminal can only be reduced, extend the use duration of end cell, and by whetheing there is data transmission state and its continuing
Time size determines whether to close corresponding process, it is to avoid directly close related application in a power-save mode in the prior art
The problem of program can interrupt the process that user is using, improves the intelligent and hommization of application program controlling.
It is described according to the duration in first aspect present invention first embodiment with reference to first aspect present invention
Determine whether to close the application program and/or include with the system service that the application program is associated:When judging described continue
Between whether reach very first time threshold value;When the duration reaching the very first time threshold value, the application program is closed
The system service of association.
It is that the system service of application program association sets No data activity state duration by performing above-mentioned steps
Threshold value, i.e. very first time threshold value, if the duration that the application program of running background is not in data transmission state reach
Very first time threshold value, then be first shut off the system service of application program association, in this way, can not only avoid the application program from closing
The system service of connection takes running memory, consumed energy, moreover, not turning off the application program directly, user is reusing this
Only need to reopen the system service of association when application program carries out data transmission, it is to avoid directly turn off the application program
Afterwards, the high energy consumption that re-launching applications are brought again in the short time.
With reference to first aspect present invention first embodiment, in first aspect present invention second embodiment, the basis
The duration determines whether that the system service closed the application program and/or associated with the application program also includes:
Judge whether the duration reaches the second time threshold, wherein second time threshold is more than the very first time threshold
Value;When the duration reaching second time threshold, the application program is closed.
It is that the duration of the No data activity state of application program sets threshold value, i.e., second by performing above-mentioned steps
Time threshold, the second time threshold is more than very first time threshold value herein, and specific time numerical value can be advance as needed by user
Set, i.e., after the system service of application program association is closed, if the application program is still without data transfer activities, and
The duration of the state has reached the second time threshold, then illustrates not applying journey using this in user's a very long time
Sequence, it is possible to which user forgets to turn off using finishing, if it continues that a large amount of running memories can be taken in running background, disappeared
A large amount of electric energy are consumed, then close the application program, to save running space and battery power consumption, so that extending battery uses duration.
With reference in first aspect present invention second embodiment, in the embodiment of first aspect present invention the 3rd, described
Also include after the system service for closing the application program association:Second time threshold is not up to when the duration
When, open the system service of present data transmission request.
By performing above-mentioned steps, continue not carry out data transmission in very first time threshold value because of application program, and
After the system service for closing correlation, if the duration of No data activity state is not reaching to second time threshold,
I.e. the application program has data transfer request again during this period, then opens the corresponding system service of the data transfer request i.e.
Can, compared with prior art, due to not turning off the application program directly, user is reusing application program progress data biography
Only needing to reopen the system service of correlation when defeated can recover to use, and not only reduce power consumption of terminal, and user is when using
It is more convenient, improve the hommization of terminal.
In addition, second aspect of the present invention provides a kind of application program controlling device, for terminal, such as mobile phone, flat board electricity
Brain etc., the application program controlling device includes being used to perform above-mentioned first aspect or first aspect any one application program control
The module or unit of method processed.
For example, described device includes:Acquisition module, the application program for obtaining current background operation;Judge module, is used
In judge the application program whether be in data transmission state;Logging modle, for being not in data when the application program
During transmission state, the duration that the application program is not in data transmission state is recorded;Determining module, for according to described
Duration determines whether the system service closed the application program and/or associated with the application program.
By implementing above-mentioned application program controlling device, the application program that detection terminal backstage is currently running in real time, and sentence
Whether these application programs of breaking are in data transmission state, if illustrating user by the application in data transmission state
Program carries out data transmission on backstage, such as music application is downloading audio file etc., for avoid user loss of data or
Damage, then the application program can be kept to continue in running background, if the application program of running background is not in data transfer
State, i.e., no data activity then illustrates that user need not currently use the application program, if allowing its long-time to be transported on backstage
OK, a large amount of internal memories are not only taken up, and make terminal power consumption increase, then now recording the application program does not have this shape of data activity
The duration of state, the system service for determining whether to associate by the application program and/or with the application program according to the duration
Close, application program is automatically controlled during the routine use of terminal in this way, realizing, compared with prior art, no
The power consumption of terminal can only be reduced, extend the use duration of end cell, and by whetheing there is data transmission state and its continuing
Time size determines whether to close corresponding process, it is to avoid directly close related application in a power-save mode in the prior art
The problem of program can interrupt the process that user is using, improves the intelligent and hommization of application program controlling.
With reference to second aspect of the present invention, in second aspect of the present invention first embodiment, the determining module includes:First
Judging unit, for judging whether the duration reaches very first time threshold value;First closing unit, for when described lasting
When time reaches the very first time threshold value, the system service of the application program association is closed.
It is that the system service of application program association sets No data activity shape by implementing above-mentioned application program controlling device
The threshold value of state duration, i.e. very first time threshold value, if the application program of running background is not in holding for data transmission state
The continuous time has reached very first time threshold value, then the system service of application program association is first shut off, in this way, can not only avoid
The system service of application program association takes running memory, consumed energy, moreover, not turning off the application program, user directly
Only need to reopen the system service of association when the application program carries out data transmission reusing, it is to avoid directly turn off
After the application program, the high energy consumption that re-launching applications are brought again in the short time.
It is described to determine in second aspect of the present invention second embodiment with reference to second aspect of the present invention first embodiment
Module also includes:Second judging unit, for judging whether the duration reaches the second time threshold, wherein described second
Time threshold is more than the very first time threshold value;Second closing unit, for reaching second time when the duration
During threshold value, the application program is closed.
It is that the duration of the No data activity state of application program is set by implementing above-mentioned application program controlling device
Threshold value, i.e. the second time threshold, the second time threshold is more than very first time threshold value herein, and specific time numerical value can be by user's root
According to needing to pre-set, i.e., after the system service of application program association is closed, if the application program is still passed without data
Defeated activity, and the duration of the state reached the second time threshold, then illustrate not make in user's a very long time
The application program is used, it is possible to which user forgets to turn off using finishing, if its continuation can take largely in running background
Running memory, a large amount of electric energy of consumption, then close the application program, to save running space and battery power consumption, so as to extend battery
Use duration.
With reference to second aspect of the present invention second embodiment, in the embodiment of second aspect of the present invention the 3rd, in addition to:Open
Open module, for it is described close the system service of application program association after, be not up to described the when the duration
During two time thresholds, the system service of present data transmission request is opened.
By implementing above-mentioned application program controlling device, continue not carry out in very first time threshold value because of application program
Data transfer, and close after the system service of correlation, if the duration of No data activity state is not reaching to described the
Two time thresholds, i.e., the application program has data transfer request again during this period, then opens data transfer request correspondence
System service, compared with prior art, due to not turning off the application program directly, user applies journey reusing this
Only need the system service for reopening correlation to recover to use when sequence carries out data transmission, not only reduce power consumption of terminal, and
And user is more convenient when using, and improves the hommization of terminal.
Module or unit included by the application program controlling device are not limited to above-mentioned naming method.
These aspects of the application can more straightforward in the following description.
Third aspect present invention provide a kind of terminal, including at least one processor and with it is described at least one processing
The memory of device communication connection;Wherein, have can be described by the instruction of at least one computing device for the memory storage
Instruction is by least one described computing device, so that at least one described computing device second aspect of the present invention or second party
Application control method described in any embodiment in face.
Fourth aspect present invention provides a kind of computer-readable recording medium, the computer-readable recording medium storage
Computer instruction, the computer instruction is used for any reality for making the computer perform first aspect present invention or first aspect
Apply the application control method described in mode.
Brief description of the drawings
The features and advantages of the present invention can be more clearly understood from by reference to accompanying drawing, accompanying drawing is schematical without that should manage
Solve to carry out any limitation to the present invention, in the accompanying drawings:
Fig. 1 shows the structure chart of mobile phone in the embodiment of the present invention;
Fig. 2 shows the flow chart of application control method according to embodiments of the present invention;
Fig. 3 shows the structural representation of application program controlling device according to embodiments of the present invention;
Fig. 4 shows another structural representation of application program controlling device according to embodiments of the present invention;
Fig. 5 shows the structural representation of terminal according to embodiments of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those skilled in the art are not having
There is the every other embodiment made and obtained under the premise of creative work, belong to the scope of protection of the invention.
As shown in figure 1, being the application scenarios schematic diagram of embodiments of the invention.Mobile terminal is mobile phone or tablet personal computer etc.
Mobile device, mobile terminal by taking mobile phone as an example, the part-structure block diagram of mobile phone as shown in figure 1, mobile phone include radio circuit 110,
Memory 120, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, wireless module 170, processor 180
And the grade of power supply 190 part.It will be understood by those skilled in the art that the handset structure shown in Fig. 1 is not constituted to mobile phone
Limit, can include than illustrating more or less parts, either combine some parts or different parts arrangement.
Wherein RF circuits 110 be used for receive and send messages or communication process in, the reception and transmission of signal.Memory 120 is used for
Software program and module are stored, processor 180 is stored in the software program and module of memory 120 by operation, so that
Perform various function application and the data processing of mobile phone.Input block 130 is used for the numeral or character information for receiving input, with
And the key signals that generation is set with the user of mobile phone and function control is relevant are inputted.Input block 130 may include contact panel
131 and other input equipments 132.Other input equipments 132 can include but is not limited to physical keyboard, function key, mouse, behaviour
Make the one or more in bar.Display unit 140 be used to showing the information that is inputted by user or the information for being supplied to user and
The various menus of mobile phone.Display unit 140 can include display panel 141.Contact panel 131 can cover display panel 141, when
Contact panel 131 is detected after the touch operation on or near it, sends processor 180 to determine the class of touch event
Type, corresponding visual output is provided with preprocessor 180 according to the type of touch event on display panel 141.
Mobile phone may also include at least one sensor 150, such as optical sensor, motion sensor and other sensors.Light
Sensor may include ambient light sensor and proximity transducer, and environmental sensor can adjust display according to the light and shade of ambient light
The brightness of panel 141, proximity transducer can close display panel 141 and/or backlight when mobile phone is moved in one's ear.This implementation
Optical sensor can be arranged on the housing of the front and back of mobile phone in example, blocked area during for detecting that user holds mobile phone
Domain.Pressure sensor can also be included herein, be arranged in the front of mobile phone or back housing, for the side by detecting pressure
Formula obtains occlusion area during user's grip mobile phone.In addition, mobile phone can also configure gyroscope, barometer, hygrometer, temperature
The other sensors such as meter, infrared ray sensor, are repeated no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the COBBAIF between user and mobile phone.Wireless mould
Block 170 can be WIFI module, provide the user wireless the Internet access service.
Processor 180 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to
Cross operation or perform and be stored in software program and/or module in memory 120, and call and be stored in memory 120
Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 180 can be with
Including one or more processing units.In addition, mobile phone also includes the power supply 190 powered of each part, by power-supply management system with
Processor 180 is logically contiguous, so as to realize the functions such as management charging, electric discharge and power managed by power-supply management system.
Although not shown, mobile phone can also include camera, bluetooth module etc., will not be repeated here.
Referring to Fig. 2, a kind of application control method provided in an embodiment of the present invention, applied to terminal, such as mobile phone,
Tablet personal computer etc., method includes:
S21:Obtain the application program of current background operation, i.e., detect in real time application program that terminal backstage is currently running and
Its system service associated, such as running background application program:QQ, wechat, camera, radio, LeEco video, ocr software etc.
Deng, for avoid influence user use, the application program for terminal front stage operation is not dealt with.
S22:Judge whether the application program is in data transmission state.That is the backstage got in judgment step S21
Whether these application programs of operation are in data transmission state, if illustrating that user passes through in data transmission state
The application program carries out data transmission on backstage, such as music application downloads (caching) audio file etc., to avoid user
Loss of data or damage, then can keep the application program continue in running background, otherwise into step S23.
S23:When the application program is not in data transmission state, records the application program and be not in data transfer
The duration of state;If the application program of running background is not in data transmission state, i.e., no data activity then illustrates
User need not currently use the application program, if allowing its long-time in running background, a large amount of internal memories only not taken up, and make
Terminal power consumption increase, therefore record the application program and there is no the duration of this state of data activity.
S24:Determine whether what is closed the application program and/or associated with the application program according to the duration
System service.Herein application program association system service including but not limited to:GPS services, bluetooth service, network service etc.,
According to duration of the application program recorded in step S23 under No data activity state, it is determined whether by the application program
And/or the system service associated with the application program is closed, in this way, realizing during the routine use of terminal to application program
Automatically controlled, compared with prior art, can not only reduce the power consumption of terminal, extend the use duration of end cell, and
And by whetheing there is data transmission state and its duration size determine whether to close corresponding process, it is to avoid prior art
In directly close related application in a power-save mode the problem of can interrupt the process that user is using, improve and apply journey
The intelligent and hommization of sequence control.
Alternatively, step S24 can include:Judge whether the duration reaches very first time threshold value;Held when described
When the continuous time reaches the very first time threshold value, the system service of the application program association is closed.Specifically, it is application program
The system service of association sets the threshold value of No data activity state duration, i.e. very first time threshold value, if running background
The duration that application program is not in data transmission state has reached very first time threshold value, then is first shut off application program pass
The system service of connection, such as, WIFI are in open mode, and a certain application program is but not connected to for a long time, then can be closed
WIFI reaches reduction power consumption purpose, in this way, the system service that can not only avoid the application program from associating takes running memory, disappeared
Energy consumption, moreover, do not turn off the application program directly, user only needs weight reusing when the application program carries out data transmission
The new system service for opening association, it is to avoid directly turn off after the application program, re-launching applications are brought again in the short time
High energy consumption.
Alternatively, step S24 can include:Judge whether the duration reaches the second time threshold, wherein described
Second time threshold is more than the very first time threshold value;When the duration reaching second time threshold, institute is closed
State application program.Specifically, be application program No data activity state duration set threshold value, i.e. the second time threshold
Value, the second time threshold is more than very first time threshold value herein, and specific time numerical value can as needed be pre-set by user, i.e.,
After the system service of application program association is closed, if the still no data transfer activities of the application program, and the state
Duration reached the second time threshold, such as camera applications then illustrate that user is very long by one long lasting for backstage is hung over
It is no in the section time to use the application program, it is possible to which that user forgets to turn off using finishing, if it continues on backstage
Operation can take a large amount of running memories, consume a large amount of electric energy, then camera process can be killed, to save running space and battery work(
Consumption, so that extending battery uses duration.
In practical application scene, such as user currently sees video, and Video Applications are in front stage operation, read for a long time
Read the application programs such as software, news software, microblogging and be in backstage, the application program of these running backgrounds, which can associate some, to close
The system service closed, if these programs do not carry out data transmission, can be first switched off the system service that need not be used,
Such as gps, bluetooth function, after a period of time, if user does not still use these application programs of running background, turn off
These background programs, to reduce its process in the power consumption caused by running background, so as to extend the use duration of mobile terminal.
Alternatively, also include after the system service for closing the application program association:When the duration not
When reaching second time threshold, the system service of present data transmission request is opened.Specifically, because application program is
Continue not carry out data transmission in one time threshold, and close after the system service of correlation, if No data activity state
Duration be not reaching to second time threshold, i.e., the application program has data transfer request again during this period,
The corresponding system service of the data transfer request is then opened, compared with prior art, journey is applied due to not turning off this directly
Sequence, user only needs to reopen the system service of correlation and can recover to make reusing when the application program carries out data transmission
With, not only reduce power consumption of terminal, and user is more convenient when using, and improves the hommization of terminal.
The application control method provided in the present embodiment, by detecting the application journey that terminal backstage is currently running in real time
Sequence, and judge whether these application programs are in data transmission state, if illustrating that user is led in data transmission state
Cross the application program on backstage to carry out data transmission, such as music application is downloading audio file etc., to avoid the number of user
According to losing or damaging, then the application program can be kept to continue in running background, if the application program of running background is not in
Data transmission state, i.e., no data activity then illustrates that user need not currently use the application program, if allowing its long-time
In running background, a large amount of internal memories are not only taken up, and make terminal power consumption increase, then now recording the application program does not have data work
The duration of this state is moved, determines whether what is associated by the application program and/or with the application program according to the duration
System service is closed, and application program is automatically controlled during the routine use of terminal in this way, realizing, with prior art
Compare, can not only reduce terminal power consumption, extend end cell use duration, and by whether there is data transmission state and
Its duration size determines whether to close corresponding process, it is to avoid directly close phase in a power-save mode in the prior art
The problem of application program can interrupt the process that user is using is closed, the intelligent and hommization of application program controlling is improved.
It is a kind of structural representation of application program controlling device provided in an embodiment of the present invention, for end referring to Fig. 3
End, such as mobile phone, tablet personal computer etc., it includes:
Acquisition module 31, the application program for obtaining current background operation;Detailed content is referring in above-described embodiment
Step S21.
Judge module 32, for judging whether the application program is in data transmission state;Detailed content is referring to above-mentioned
Step S22 in embodiment.
Logging modle 33, for when the application program is not in data transmission state, recording the application program not
Duration in data transmission state;Detailed content is referring to the step S23 in above-described embodiment.
Determining module 34, for determining whether to close the application program according to the duration and/or being answered with described
The system service associated with program.Detailed content is referring to the step S24 in above-described embodiment.
Alternatively, in some embodiments of the invention, as shown in figure 4, the determining module 34 includes:First judging unit
341, for judging whether the duration reaches very first time threshold value;First closing unit 342, for when it is described continue when
Between when reaching the very first time threshold value, close the system service of the application program association.Detailed content is referring to above-mentioned implementation
Related detailed description in example.
Alternatively, in some embodiments of the invention, as shown in figure 4, the determining module 34 also includes:Second judging unit
343, for judging whether the duration reaches the second time threshold, wherein second time threshold is more than described first
Time threshold;Second closing unit 344, for when the duration reaching second time threshold, closing described answer
Use program.Detailed content is described in detail referring to the correlation in above-described embodiment.
Alternatively, in some embodiments of the invention, as shown in figure 4, also including:Opening module 35, for being closed described
After the system service of the application program association, when the duration being not up to second time threshold, open current
The system service of data transfer request.Detailed content is described in detail referring to the correlation in above-described embodiment.
Above-mentioned application program controlling device, by detecting the application program that terminal backstage is currently running in real time, and judges this
Whether a little application programs are in data transmission state, if illustrating user by the application program in data transmission state
Carry out data transmission on backstage, such as music application is downloading audio file etc., to avoid the loss of data or damage of user,
The application program can be then kept to continue in running background, if the application program of running background is not in data transmission state,
I.e. no data activity, then illustrate that user need not currently use the application program, if allowing its long-time in running background, no
A large amount of internal memories are only taken up, and make terminal power consumption increase, then now recording the application program does not have this state of data activity
Duration, determine whether that the system service associated by the application program and/or with the application program is closed according to the duration,
Application program is automatically controlled during the routine use of terminal in this way, realizing, compared with prior art, not only can be with
Reduce the power consumption of terminal, extend the use duration of end cell, and it is big by whetheing there is data transmission state and its duration
It is small to determine whether to close corresponding process, it is to avoid directly to close related application meeting in a power-save mode in the prior art
The problem of interrupting the process that user is using, improves the intelligent and hommization of application program controlling.
The embodiment of the present invention additionally provides a kind of terminal, including:Any application program controlling device in above-described embodiment.
Illustrate a kind of terminal of the present invention by taking a kind of smart mobile phone as an example below.
As shown in figure 5, correspondingly, a kind of terminal provided in the embodiment of the present invention, including:At least one He of processor 51
In memory 52, Fig. 5 by taking a processor as an example, processor 51 and memory 52 are connected by bus 50, and memory 52 is stored
There is the instruction that can be performed by least one processor 51, instruction is performed by least one processor 51, so that at least one is handled
Device performs following method:
Obtain the application program of current background operation;
Judge whether the application program is in data transmission state;
When the application program is not in data transmission state, records the application program and be not in data transmission state
Duration;
The system for determining whether to close the application program and/or associate with the application program according to the duration
Service.
Optionally, in some embodiments of the invention, it is described to be answered according to the duration determines whether closing
Include with program and/or with the system service that the application program is associated:Judge whether the duration reaches the very first time
Threshold value;When the duration reaching the very first time threshold value, the system service of the application program association is closed.
Optionally, in some embodiments of the invention, it is described to be answered according to the duration determines whether closing
The system service associated with program and/or with the application program also includes:When judging whether the duration reaches second
Between threshold value, wherein second time threshold be more than the very first time threshold value;When the duration reaching described second
Between threshold value when, close the application program.
Alternatively, in some embodiments of the invention, after the system service of the closing application program association,
At least one described processor can also carry out:When the duration being not up to second time threshold, open current
The system service of data transfer request.
Related description can correspond to associated description corresponding the step of referring to Fig. 2 and effect is understood, not do herein
Excessively repeat.
The terminal that above-described embodiment is provided, by detecting the application program that terminal backstage is currently running in real time, and judges this
Whether a little application programs are in data transmission state, if illustrating user by the application program in data transmission state
Carry out data transmission on backstage, such as music application is downloading audio file etc., to avoid the loss of data or damage of user,
The application program can be then kept to continue in running background, if the application program of running background is not in data transmission state,
I.e. no data activity, then illustrate that user need not currently use the application program, if allowing its long-time in running background, no
A large amount of internal memories are only taken up, and make terminal power consumption increase, then now recording the application program does not have this state of data activity
Duration, determine whether that the system service associated by the application program and/or with the application program is closed according to the duration,
Application program is automatically controlled during the routine use of terminal in this way, realizing, compared with prior art, not only can be with
Reduce the power consumption of terminal, extend the use duration of end cell, and it is big by whetheing there is data transmission state and its duration
It is small to determine whether to close corresponding process, it is to avoid directly to close related application meeting in a power-save mode in the prior art
The problem of interrupting the process that user is using, improves the intelligent and hommization of application program controlling.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, and computer-readable recording medium storage has meter
Calculation machine executable instruction, the computer executable instructions can perform all or part of flow in above-described embodiment method.Wherein,
Storage medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM), random access memory
(Random Access Memory, RAM), flash memory (Flash Memory), hard disk (Hard Disk Drive, contracting
Write:) or solid state hard disc (Solid-State Drive, SSD) etc. HDD;Storage medium can also include the memory of mentioned kind
Combination.
Although being described in conjunction with the accompanying embodiments of the invention, those skilled in the art can not depart from the present invention
Spirit and scope in the case of various modification can be adapted and modification, such modifications and variations are each fallen within by appended claims institute
Within the scope of restriction.
Claims (10)
1. a kind of application control method, it is characterised in that including:
Obtain the application program of current background operation;
Judge whether the application program is in data transmission state;
When the application program is not in data transmission state, records the application program and be not in holding for data transmission state
The continuous time;
The system clothes for determining whether to close the application program and/or associate with the application program according to the duration
Business.
2. application control method according to claim 1, it is characterised in that described to be determined according to the duration
Whether close the application program and/or include with the system service that the application program is associated:
Judge whether the duration reaches very first time threshold value;
When the duration reaching the very first time threshold value, the system service of the application program association is closed.
3. application control method according to claim 2, it is characterised in that described to be determined according to the duration
The system service whether closed the application program and/or associated with the application program also includes:
Judge whether the duration reaches the second time threshold, wherein second time threshold is more than the very first time
Threshold value;
When the duration reaching second time threshold, the application program is closed.
4. application control method according to claim 3, it is characterised in that close the application program pass described
Also include after the system service of connection:
When the duration being not up to second time threshold, the system service of present data transmission request is opened.
5. a kind of application program controlling device, it is characterised in that including:
Acquisition module, the application program for obtaining current background operation;
Judge module, for judging whether the application program is in data transmission state;
Logging modle, number is not in for when the application program is not in data transmission state, recording the application program
According to the duration of transmission state;
Determining module, for according to the duration determine whether to close the application program and/or with the application program
The system service of association.
6. application program controlling device according to claim 5, it is characterised in that the determining module includes:
First judging unit, for judging whether the duration reaches very first time threshold value;
First closing unit, is closed for when the duration reaching the very first time threshold value, closing the application program
The system service of connection.
7. application program controlling device according to claim 6, it is characterised in that the determining module also includes:
Second judging unit, for judging whether the duration reaches the second time threshold, wherein the second time threshold
Value is more than the very first time threshold value;
Second closing unit, for when the duration reaching second time threshold, closing the application program.
8. application program controlling device according to claim 7, it is characterised in that also include:
Opening module, for after the system service of the closing application program association, being not up to when the duration
During second time threshold, the system service of present data transmission request is opened.
9. a kind of terminal, it is characterised in that be connected including at least one processor and with least one described processor communication
Memory;Wherein, have can be by the instruction of at least one computing device for the memory storage, and the instruction is described
At least one computing device, so that the application journey any one of at least one computing device claim 1-4
Sequence controlling method.
10. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium storage computer refers to
Order, the computer instruction is used to make the application program controlling side any one of the computer perform claim requirement 1 to 4
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710524697.6A CN107329559B (en) | 2017-06-30 | 2017-06-30 | Application program control method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710524697.6A CN107329559B (en) | 2017-06-30 | 2017-06-30 | Application program control method, device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107329559A true CN107329559A (en) | 2017-11-07 |
CN107329559B CN107329559B (en) | 2021-04-16 |
Family
ID=60197580
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710524697.6A Active CN107329559B (en) | 2017-06-30 | 2017-06-30 | Application program control method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107329559B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107831886A (en) * | 2017-11-21 | 2018-03-23 | 广东欧珀移动通信有限公司 | Association starts management-control method, device, storage medium and the intelligent terminal of application |
CN108924290A (en) * | 2018-06-12 | 2018-11-30 | Oppo广东移动通信有限公司 | Camera control method, device, mobile terminal and computer-readable medium |
CN109144728A (en) * | 2018-08-22 | 2019-01-04 | Oppo广东移动通信有限公司 | The occupancy control method and device of camera applications |
CN109511139A (en) * | 2018-12-19 | 2019-03-22 | Oppo广东移动通信有限公司 | WIFI control method, device, mobile device, computer readable storage medium |
CN110032431A (en) * | 2018-01-12 | 2019-07-19 | 广东欧珀移动通信有限公司 | Application processing method and device, electronic equipment, computer readable storage medium |
CN110187753A (en) * | 2019-05-27 | 2019-08-30 | Oppo广东移动通信有限公司 | Application control method, device, terminal and computer readable storage medium |
CN110602359A (en) * | 2019-09-02 | 2019-12-20 | Oppo广东移动通信有限公司 | Image processing method, image processor, photographing device and electronic equipment |
CN112181515A (en) * | 2020-09-18 | 2021-01-05 | Oppo(重庆)智能科技有限公司 | Application program control method, device, terminal and storage medium |
CN112272398A (en) * | 2020-11-13 | 2021-01-26 | Oppo广东移动通信有限公司 | Data transmission method and device, electronic equipment and storage medium |
CN112558745A (en) * | 2019-09-24 | 2021-03-26 | 中兴通讯股份有限公司 | Method and device for freezing control of terminal application program, terminal and storage medium |
CN112947739A (en) * | 2021-03-09 | 2021-06-11 | 北京小米移动软件有限公司 | Terminal application program management method and device, terminal and storage medium |
CN113781703A (en) * | 2021-09-01 | 2021-12-10 | 深兰科技(上海)有限公司 | Control method, device, medium and equipment for vending equipment |
US11316767B2 (en) | 2020-03-02 | 2022-04-26 | Nokia Technologies Oy | Communication of partial or whole datasets based on criterion satisfaction |
CN116501162A (en) * | 2023-04-23 | 2023-07-28 | 深圳中柏科技有限公司 | Method and device for automatically adjusting power consumption of intelligent notebook computer and electronic equipment |
CN112181515B (en) * | 2020-09-18 | 2024-05-24 | Oppo(重庆)智能科技有限公司 | Application program control method, device, terminal and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103365399A (en) * | 2013-06-26 | 2013-10-23 | 贝壳网际(北京)安全技术有限公司 | Control method and device for application object of mobile terminal |
CN103412636A (en) * | 2013-08-05 | 2013-11-27 | Tcl通讯(宁波)有限公司 | Power saving system and power saving method of intelligent terminal |
US20140362768A1 (en) * | 2013-06-09 | 2014-12-11 | Apple Inc. | Non-Waking Push Notifications |
CN105892613A (en) * | 2015-12-04 | 2016-08-24 | 乐视移动智能信息技术(北京)有限公司 | Method and apparatus for clearing background applications |
WO2016165078A1 (en) * | 2015-04-14 | 2016-10-20 | 华为技术有限公司 | Method and terminal for controlling application |
CN106125899A (en) * | 2016-07-01 | 2016-11-16 | 北京金山安全软件有限公司 | Method and device for stopping process and mobile terminal |
CN106200872A (en) * | 2016-06-30 | 2016-12-07 | 维沃移动通信有限公司 | A kind of terminal and the management method of power consumption thereof |
CN106502369A (en) * | 2016-10-28 | 2017-03-15 | 青岛海信电器股份有限公司 | Power consumption management method and equipment |
CN106648032A (en) * | 2016-12-30 | 2017-05-10 | 维沃移动通信有限公司 | Control method for application program operating in background and mobile terminal |
US20170147058A1 (en) * | 2015-11-23 | 2017-05-25 | International Business Machines Corporation | Predicting voltage guardband and operating at a safe limit |
-
2017
- 2017-06-30 CN CN201710524697.6A patent/CN107329559B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140362768A1 (en) * | 2013-06-09 | 2014-12-11 | Apple Inc. | Non-Waking Push Notifications |
CN103365399A (en) * | 2013-06-26 | 2013-10-23 | 贝壳网际(北京)安全技术有限公司 | Control method and device for application object of mobile terminal |
CN103412636A (en) * | 2013-08-05 | 2013-11-27 | Tcl通讯(宁波)有限公司 | Power saving system and power saving method of intelligent terminal |
WO2016165078A1 (en) * | 2015-04-14 | 2016-10-20 | 华为技术有限公司 | Method and terminal for controlling application |
US20170147058A1 (en) * | 2015-11-23 | 2017-05-25 | International Business Machines Corporation | Predicting voltage guardband and operating at a safe limit |
CN105892613A (en) * | 2015-12-04 | 2016-08-24 | 乐视移动智能信息技术(北京)有限公司 | Method and apparatus for clearing background applications |
CN106200872A (en) * | 2016-06-30 | 2016-12-07 | 维沃移动通信有限公司 | A kind of terminal and the management method of power consumption thereof |
CN106125899A (en) * | 2016-07-01 | 2016-11-16 | 北京金山安全软件有限公司 | Method and device for stopping process and mobile terminal |
CN106502369A (en) * | 2016-10-28 | 2017-03-15 | 青岛海信电器股份有限公司 | Power consumption management method and equipment |
CN106648032A (en) * | 2016-12-30 | 2017-05-10 | 维沃移动通信有限公司 | Control method for application program operating in background and mobile terminal |
Non-Patent Citations (3)
Title |
---|
B. ROUNTREE: ""Bounding energy consumption in large-scale MPI programs"", 《PROCEEDINGS OF THE 2007 ACM/IEEE CONFERENCE ON SUPERCOMPUTING》 * |
徐雅斌: "《计算机网路》", 31 December 2011 * |
王彦博: ""自动开关USB调试模式,让安卓手机既省电又安全"", 《电脑知识与技术(经验技巧)》 * |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107831886A (en) * | 2017-11-21 | 2018-03-23 | 广东欧珀移动通信有限公司 | Association starts management-control method, device, storage medium and the intelligent terminal of application |
CN110032431A (en) * | 2018-01-12 | 2019-07-19 | 广东欧珀移动通信有限公司 | Application processing method and device, electronic equipment, computer readable storage medium |
CN108924290A (en) * | 2018-06-12 | 2018-11-30 | Oppo广东移动通信有限公司 | Camera control method, device, mobile terminal and computer-readable medium |
EP3825852A4 (en) * | 2018-08-22 | 2021-09-22 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Occupation control method and apparatus for camera application |
CN109144728A (en) * | 2018-08-22 | 2019-01-04 | Oppo广东移动通信有限公司 | The occupancy control method and device of camera applications |
US11419055B2 (en) | 2018-08-22 | 2022-08-16 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Occupation control method for camera application based on operating state of device and camera data requests |
CN109511139A (en) * | 2018-12-19 | 2019-03-22 | Oppo广东移动通信有限公司 | WIFI control method, device, mobile device, computer readable storage medium |
CN109511139B (en) * | 2018-12-19 | 2023-01-03 | Oppo广东移动通信有限公司 | WIFI control method and device, mobile device and computer-readable storage medium |
CN110187753A (en) * | 2019-05-27 | 2019-08-30 | Oppo广东移动通信有限公司 | Application control method, device, terminal and computer readable storage medium |
CN110187753B (en) * | 2019-05-27 | 2021-09-07 | Oppo广东移动通信有限公司 | Application program control method, device, terminal and computer readable storage medium |
CN110602359A (en) * | 2019-09-02 | 2019-12-20 | Oppo广东移动通信有限公司 | Image processing method, image processor, photographing device and electronic equipment |
CN112558745A (en) * | 2019-09-24 | 2021-03-26 | 中兴通讯股份有限公司 | Method and device for freezing control of terminal application program, terminal and storage medium |
US11316767B2 (en) | 2020-03-02 | 2022-04-26 | Nokia Technologies Oy | Communication of partial or whole datasets based on criterion satisfaction |
CN112181515A (en) * | 2020-09-18 | 2021-01-05 | Oppo(重庆)智能科技有限公司 | Application program control method, device, terminal and storage medium |
CN112181515B (en) * | 2020-09-18 | 2024-05-24 | Oppo(重庆)智能科技有限公司 | Application program control method, device, terminal and storage medium |
CN112272398A (en) * | 2020-11-13 | 2021-01-26 | Oppo广东移动通信有限公司 | Data transmission method and device, electronic equipment and storage medium |
CN112272398B (en) * | 2020-11-13 | 2024-01-19 | Oppo广东移动通信有限公司 | Data transmission method and device, electronic equipment and storage medium |
CN112947739A (en) * | 2021-03-09 | 2021-06-11 | 北京小米移动软件有限公司 | Terminal application program management method and device, terminal and storage medium |
CN113781703A (en) * | 2021-09-01 | 2021-12-10 | 深兰科技(上海)有限公司 | Control method, device, medium and equipment for vending equipment |
CN116501162A (en) * | 2023-04-23 | 2023-07-28 | 深圳中柏科技有限公司 | Method and device for automatically adjusting power consumption of intelligent notebook computer and electronic equipment |
CN116501162B (en) * | 2023-04-23 | 2023-11-24 | 深圳中柏科技有限公司 | Method and device for automatically adjusting power consumption of intelligent notebook computer and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107329559B (en) | 2021-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107329559A (en) | A kind of application control method, device, terminal and storage medium | |
CN102497469A (en) | Method and device for operating music player in screen lock state | |
CN104243671A (en) | Volume adjustment method and device and electronic device | |
US10951754B2 (en) | Method for responding to incoming call by means of fingerprint recognition, storage medium, and mobile terminal | |
CN105306682A (en) | Method and device for automatically disconnecting network connection | |
CN104427083A (en) | Volume adjusting method and device | |
CN106358225B (en) | A kind of processing method of network data, device and mobile terminal | |
CN108572908A (en) | information feedback method and device | |
CN105260004A (en) | Screen rotating method and system for android system terminal | |
CN106527949A (en) | Fingerprint unlocking method and device and terminal | |
CN110032321A (en) | Applied program processing method and device, electronic equipment, computer readable storage medium | |
CN110086222A (en) | A kind of charging/discharging thereof, device and mobile terminal | |
CN111443803A (en) | Mode switching method, device, storage medium and mobile terminal | |
CN108111683B (en) | Mobile terminal, control method and device of working mode of mobile terminal, and storage medium | |
CN104468961A (en) | Method and device for prompting position of terminal | |
CN105302589A (en) | Method and apparatus for acquiring uninstallation information | |
CN104346128A (en) | Executing method and executing device of sound events | |
CN114661515B (en) | Alarm information convergence method and device, electronic equipment and storage medium | |
CN110109529A (en) | SD card method for controlling power supply, device, storage medium and electronic equipment | |
CN110336918A (en) | Bright screen control method, device, storage medium and mobile terminal | |
CN101730300A (en) | Displayer and keyboard power management system and method | |
CN108718458A (en) | Method for connecting network, device, readable storage medium storing program for executing and intelligent terminal | |
CN110896240B (en) | Charging control method and device, computer readable storage medium and terminal | |
CN108411310A (en) | Interface circuit and electronic device | |
CN107765834A (en) | application management method, device, storage medium and electronic equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |