CN106256116A - A kind of method controlling application program and terminal - Google Patents

A kind of method controlling application program and terminal Download PDF

Info

Publication number
CN106256116A
CN106256116A CN201580006068.3A CN201580006068A CN106256116A CN 106256116 A CN106256116 A CN 106256116A CN 201580006068 A CN201580006068 A CN 201580006068A CN 106256116 A CN106256116 A CN 106256116A
Authority
CN
China
Prior art keywords
application program
terminal
application
destination application
destination
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
Application number
CN201580006068.3A
Other languages
Chinese (zh)
Other versions
CN106256116B (en
Inventor
李颉思
郭玉华
兰宏波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910690275.5A priority Critical patent/CN110554762A/en
Publication of CN106256116A publication Critical patent/CN106256116A/en
Application granted granted Critical
Publication of CN106256116B publication Critical patent/CN106256116B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • H04M1/73Battery saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention discloses a kind of method controlling application program, including: obtain the operational factor of at least one application program run in terminal;According to the described operational factor obtained, obtaining destination application from least one application program described, the operational factor of described destination application is more than or equal to predetermined threshold value;Close described destination application.Correspondingly, the embodiment of the invention also discloses a kind of terminal.Use the embodiment of the present invention, it is possible to achieve reduce the power consumption of terminal, increase the electricity cruising time of terminal.

Description

A kind of method and terminal of control application program Technical field
The present invention relates to field of computer technology, more particularly to a kind of method and terminal of control application program.
Background technology
With continuing to develop for electronic technology, the terminal of such as smart mobile phone or tablet personal computer is increasingly popularized.At present, hardware and software level and there is contradiction between electricity cruising time that terminal is increasingly lifted, although on the one hand the hardware and software level of lifting enriches the function of terminal, more services are brought to user, the electricity cruising time of terminal is but shortened but then, reduces the usage experience of user.For example, due to application program (Application, APP) design defect, causing the APP unpredictably continuous services, causing unnecessary power consumption, the electricity cruising time of terminal is shortened.In view of the above-mentioned problems, existing solution is:Scheme one, terminal reduce the brightness of screen, to reduce power consumption;Scheme two, the terminal quick screen that goes out after user stops operation, to enter the park mode of low-power consumption.
Wherein, in scheme one, the power consumption brought by APP is not reduced.In scheme two, some APP still can produce unnecessary power consumption, for example, some APP can continually wake up the terminal in park mode on backstage, cause power consumption;And for example, some APP can open dormancy lock (wake lock), to prevent terminal from entering park mode, cause power consumption, etc..
The content of the invention
The embodiments of the invention provide a kind of method and terminal of control application program, it is possible to reduce the power consumption of terminal, increases the electricity cruising time of terminal.
First aspect of the embodiment of the present invention provides a kind of method for controlling application program, including:
Obtain the operational factor at least one application program run in terminal;
According to the operational factor of acquisition, destination application is obtained from least one described application program, the operational factor of the destination application is more than or equal to predetermined threshold value;
Close the destination application.
In the first possible implementation of first aspect, described to close after the destination application, methods described also includes:
Receive after the instruction that the destination application is actively triggered, the instruction is not performed.
With reference to the first possible implementation of first aspect or first aspect, in second of possible implementation of first aspect, before the operational factor for obtaining at least one application program run in terminal, methods described also includes:
Determine that the terminal is in screen state of going out;
The operational factor includes:Application program wakes up the number of times of the terminal in a dormant state in first time period, and/or, application program opens the duration of dormancy lock.
With reference to second of possible implementation of first aspect, in the third possible implementation of first aspect, the operational factor according to acquisition obtains destination application from least one described application program, including:
If the number of times that the first application program wakes up the terminal in a dormant state in first time period is more than or equal to the first preset times, first application program is obtained for the destination application;Or
If the duration that the second application program opens dormancy lock is more than or equal to the first preset duration, second application program is obtained for the destination application.
In the 4th kind of possible implementation of first aspect, the operational factor, including it is following any one or more:
The number of times of application program self-starting in second time period;
When the internal temperature of the terminal is higher than preset temperature threshold value, application program takes CPU ratio within the 3rd period;
Power consumption of the application program within the 4th period;
Application program carries out the duration of GPS location within the 5th period.
With reference to the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation of first aspect, the operational factor according to acquisition obtains destination application from least one described application program, including:
If the number of times of the 3rd application program self-starting in the second time period is more than or equal to the second preset times, the 3rd application program is obtained for the destination application;Or
When the internal temperature of the terminal is higher than the preset temperature threshold value, if the ratio that the 4th application program takes CPU within the 3rd period is more than or equal to pre-set ratio, the 4th application program is obtained for the destination application;Or
If power consumption of the 5th application program within the 4th period is more than or equal to default electricity consumption value, The 5th application program is obtained for the destination application;Or
If the duration that the 6th application program carries out GPS location within the 5th period is more than or equal to the second preset duration, the 6th application program is obtained for the destination application.
With reference to the 5th kind of possible implementation of first aspect, in the 6th kind of possible implementation of first aspect, the 6th application program is not navigation type application program.
It is described to close before the destination application in the 7th kind of possible implementation of first aspect with reference to the 4th to the 6th of first aspect any one possible implementation, in addition to:
It is the application program in running background to determine the destination application.
It is described to close before the destination application in the 8th kind of possible implementation of first aspect with reference to first aspect or the first to the 7th of first aspect any one possible implementation, in addition to:
It is not default system application to determine the destination application.
With reference to first aspect or the first to the 8th of first aspect any one possible implementation, in the 9th kind of possible implementation of first aspect, the closing destination application, including:
Directly close the destination application;Or
Prompt message is sent, after the confirmation of outside transmission is received, the destination application is closed.
Second aspect of the embodiment of the present invention provides a kind of terminal, including:
Parameter acquisition module, the operational factor at least one application program run for obtaining in terminal;
Using acquisition module, for the operational factor according to acquisition, destination application is obtained from least one described application program, the operational factor of the destination application is more than or equal to predetermined threshold value;
Using closedown module, for closing the destination application.
In the first possible implementation of second aspect, the terminal, in addition to instruction refusal module,
The instruction refusal module, for being closed in the application closedown module after the destination application, if receiving the instruction that the destination application is actively triggered, the instruction is not performed.
With reference to the first possible implementation of second aspect or second aspect, in second of possible implementation of second aspect, the terminal, in addition to state determining module,
The state determining module, for before the operational factor that the parameter acquisition module obtains at least one application program run in terminal, determining that the terminal is in screen state of going out;
The operational factor includes:Application program wakes up the end in a dormant state in first time period The number of times at end, and/or, application program opens the duration of dormancy lock.
With reference to second of possible implementation of second aspect, in the third possible implementation of second aspect, the application acquisition module is in the operational factor according to acquisition, when obtaining destination application from least one described application program, specifically for:
If the number of times that the first application program wakes up the terminal in a dormant state in first time period is more than or equal to the first preset times, first application program is obtained for the destination application;Or
If the duration that the second application program opens dormancy lock is more than or equal to the first preset duration, second application program is obtained for the destination application.
In the 4th kind of possible implementation of second aspect, the operational factor, including it is following any one or more:
The number of times of application program self-starting in second time period;
When the internal temperature of the terminal is higher than preset temperature threshold value, application program takes CPU ratio within the 3rd period;
Power consumption of the application program within the 4th period;
Application program carries out the duration of GPS location within the 5th period.
With reference to the 4th kind of possible implementation of second aspect, in the 5th kind of possible implementation of second aspect, the application acquisition module is in the operational factor according to acquisition, when obtaining destination application from least one described application program, specifically for:
If the number of times of the 3rd application program self-starting in the second time period is more than or equal to the second preset times, the 3rd application program is obtained for the destination application;Or
When the internal temperature of the terminal is higher than the preset temperature threshold value, if the ratio that the 4th application program takes CPU within the 3rd period is more than or equal to pre-set ratio, the 4th application program is obtained for the destination application;Or
If power consumption of the 5th application program within the 4th period is more than or equal to default electricity consumption value, the 5th application program is obtained for the destination application;Or
If the duration that the 6th application program carries out GPS location within the 5th period is more than or equal to the second preset duration, the 6th application program is obtained for the destination application.
With reference to the 5th kind of possible implementation of second aspect, in the 6th kind of possible implementation of second aspect, the 6th application program is not navigation type application program.
With reference to the 4th to the 6th of second aspect any one possible implementation, at the 7th kind of second aspect In possible implementation, the terminal, in addition to apply determining module,
The application determining module, for before the application closedown module closes the destination application, it to be the application program in running background to determine the destination application.
With reference to second aspect or the first to the 7th of second aspect any one possible implementation, in the 8th kind of possible implementation of second aspect, the application determining module, it is additionally operable to before the application closedown module closes the destination application, it is not default system application to determine the destination application.
With reference to second aspect or the first to the 8th of second aspect any one possible implementation, in the 9th kind of possible implementation of second aspect, the application closedown module close the destination application when, specifically for:
Directly close the destination application;Or
Prompt message is sent, after the confirmation of outside transmission is received, the destination application is closed.
The third aspect of the embodiment of the present invention provides a kind of computer-readable storage medium, and the computer-readable storage medium has program stored therein, a kind of part or all of step of the method for the control application program provided when the program is performed including first aspect.
Fourth aspect of the embodiment of the present invention provides a kind of terminal, display unit, input block, memory and processor, wherein, store batch processing in memory, and processor is used to call the program stored in memory, performs following operate:
Obtain the operational factor at least one application program run in terminal;
According to the operational factor of acquisition, destination application is obtained from least one described application program, the operational factor of the destination application is more than or equal to predetermined threshold value;
Close the destination application.
In the first possible implementation of fourth aspect, the processor, if receiving the instruction that the destination application is actively triggered, the instruction is not performed after the destination application is closed.
With reference to the first possible implementation of fourth aspect or fourth aspect, in second of possible implementation of fourth aspect, the processor is also performed before the operational factor at least one application program run in obtaining terminal:
Determine that the terminal is in screen state of going out;
The operational factor includes:Application program wakes up the number of times of the terminal in a dormant state in first time period, and/or, application program opens the duration of dormancy lock.
With reference to second of possible implementation of fourth aspect, in the third possible implementation of fourth aspect, the processor is in the operational factor according to acquisition, when obtaining destination application from least one described application program, specific to perform following operate:
If the number of times that the first application program wakes up the terminal in a dormant state in first time period is more than or equal to the first preset times, first application program is obtained for the destination application;Or
If the duration that the second application program opens dormancy lock is more than or equal to the first preset duration, second application program is obtained for the destination application.
In the 4th kind of possible implementation of fourth aspect, the operational factor, including it is following any one or more:
The number of times of application program self-starting in second time period;
When the internal temperature of the terminal is higher than preset temperature threshold value, application program takes CPU ratio within the 3rd period;
Power consumption of the application program within the 4th period;
Application program carries out the duration of GPS location within the 5th period.
With reference to the 4th kind of possible implementation of fourth aspect, in the 5th kind of possible implementation of fourth aspect, the processor is in the operational factor according to acquisition, when obtaining destination application from least one described application program, specific to perform following operate:
If the number of times of the 3rd application program self-starting in the second time period is more than or equal to the second preset times, the 3rd application program is obtained for the destination application;Or
When the internal temperature of the terminal is higher than the preset temperature threshold value, if the ratio that the 4th application program takes CPU within the 3rd period is more than or equal to pre-set ratio, the 4th application program is obtained for the destination application;Or
If power consumption of the 5th application program within the 4th period is more than or equal to default electricity consumption value, the 5th application program is obtained for the destination application;Or
If the duration that the 6th application program carries out GPS location within the 5th period is more than or equal to the second preset duration, the 6th application program is obtained for the destination application.
With reference to the 5th kind of possible implementation of fourth aspect, in the 6th kind of possible implementation of fourth aspect In, the 6th application program is not navigation type application program.
With reference to the 4th to the 6th of fourth aspect any one possible implementation, in the 7th kind of possible implementation of fourth aspect, the processor is also performed before the destination application is closed:
It is the application program in running background to determine the destination application.
With reference to fourth aspect or the first to the 7th of fourth aspect any one possible implementation, in the 8th kind of possible implementation of fourth aspect, the processor is also performed before the destination application is closed:
It is not default system application to determine the destination application.
With reference to fourth aspect or the first to the 8th of fourth aspect any one possible implementation, in the 9th kind of possible implementation of fourth aspect, the processor is specific to perform following operate when closing the destination application:
Directly close the destination application;Or
Prompt message is sent, after the confirmation of outside transmission is received, the destination application is closed.
Therefore, the embodiment of the present invention is after at least one APP run in obtaining terminal operational factor, the target APP that operational factor is more than or equal to predetermined threshold value is obtained from least one above-mentioned APP, and then close target APP, the power consumption for reducing and being brought by the APP of operation exception can be realized, increases the electricity cruising time of terminal.
Brief description of the drawings
In order to illustrate the embodiments of the present invention more clearly, the required accompanying drawing used in embodiment will be briefly described below, apparently, drawings in the following description are only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the method for control application program provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the method for another control application program provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the method for another control application program provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of terminal provided in an embodiment of the present invention;
Fig. 5 is the structural representation of another terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made belongs to the scope of protection of the invention.
The method of control application program provided in an embodiment of the present invention is implemented in terminal, and the terminal includes the electronic equipments such as smart mobile phone, tablet personal computer, digital audio & video players, electronic reader, handheld game machine and vehicle electronic device.In the embodiment of the present invention, the operating system of terminal can be the systems such as Android, iOS, Windows Phone and BlackBerry OS, be not construed as limiting here.Terminal can run APP on an operating system.
In order to make it easy to understand, first explaining some concepts being related in the lower embodiment of the present invention here.First, the screen state of terminal includes bright screen state and screen state of going out, the bright on-screen displays of end point under bright screen state, and terminal closes screen not display picture under screen state of going out, therefore, the power consumption of screen state sub-screen of going out is less than the power consumption of bright screen state sub-screen.Wherein, terminal is in mode of operation under bright screen state, and terminal is typically in park mode under screen state of going out, but it is also possible to be waken up mode of operation, it should be understood that ground, the power consumption of terminal in the hibernation mode is less than the power consumption under mode of operation.Further, the APP method of operation includes front end operation and running background, by taking the terminal under bright screen state as an example, and the performance directly perceived of front end operation is the runnable interface that screen display has the APP, and the performance directly perceived of running background is the runnable interface that screen does not show the APP.
Fig. 1 is a kind of schematic flow sheet of the method for control application program in the embodiment of the present invention, as shown in figure 1, this method can include:
S101, obtains the operational factor at least one application program (APP) run in terminal.
The operational factor of the APP can have polytype, and it can directly or indirectly reflect APP power consumption situation.
Alternatively, before the operational factor of the APP in detection terminal, the current screen state of terminal can first be determined.From the foregoing, it can be understood that the screen state of terminal includes bright screen state and screen state of going out.
On the one hand, however, it is determined that terminal screen state to go out screen state, then the operational factor obtained include with Any one or more of lower six types.
Class1:APP wakes up the number of times of terminal in a dormant state in first time period.
The first time period can be preset by designer, can also be set by the user, not limited here.For example, first time period is a hour.
The purpose for obtaining the type operational factor is, terminal is after screen state of going out, park mode can be entered to reduce power consumption, but it can wake up the operation that the terminal in park mode is specified to perform in the presence of some APP, operation, which terminates rear terminal, can be again introduced into park mode, if wakeup frequency is too high, terminal can be made to be in mode of operation for a long time, cause power consumption to increase.
Type 2:APP opens the duration of dormancy lock (wake lock).
The dormancy is locked for preventing the terminal in screen state of going out from entering park mode, so that the operation that APP is currently performed is not disrupted.
The purpose for obtaining the type operational factor is, if APP opens the overlong time of dormancy lock, terminal can be made to be in mode of operation for a long time, cause power consumption to increase.
Type 3:The number of times of APP self-startings in second time period.
Similarly, the second time period can be preset by designer, can also be preset, do not limited here by user.For example, second time period is 30 minutes.
The purpose for obtaining the type operational factor is that some APP are because of the defect in programming, and the frequency of self-starting is very high, and causing the power consumption of terminal increases.For example, due to the defect of programming, some APP gets self-starting after a triggering command, but because finding that no task needs to exit performing after self-starting, if triggering command is not eliminated yet after exiting, the APP can self-starting again, repeat until triggering command is eliminated.
Type 4:When the internal temperature of terminal is higher than preset temperature threshold value, APP takes CPU ratio within the 3rd period.
Similarly, the 3rd period can be preset by designer, can also be preset, do not limited here by user.For example, the 3rd period was 10 minutes.Wherein, the internal temperature of terminal can be detected by temperature sensor, preset temperature threshold value can be preset by designer, also not limited here, such as 50 DEG C.
The purpose for obtaining the type operational factor is, when the internal temperature rise of terminal, illustrates to there may be APP just in misoperation, causing the power consumption of terminal increases.
Type 5:Power consumption of the APP within the 4th period.
Similarly, the 4th period can be preset by designer, can also be preset, do not limited here by user.Wherein it is possible to which according to the working frequency (different working frequencies corresponds to different electricity consumption values) of CPU in APP run time and the time, power consumption of the APP within the time is calculated using calculus.
The purpose for obtaining the type operational factor is that APP power consumption directly affects the electricity cruising time of terminal.
Type 6:APP carries out the duration of GPS (Global Positioning System, global positioning system) positioning within the 5th period.
Similarly, the 5th period can be preset by designer, can also be preset, do not limited here by user.For example, the 5th period was 1 day.
The purpose for obtaining the type operational factor is that the mechanism that there is some APP progress GPS locations is unreasonable, continually carries out GPS location, and the power consumption for carrying out GPS location is very big, have impact on the electricity cruising time of terminal.
On the other hand, however, it is determined that the screen state of terminal be bright screen state, then the operational factor obtained can be any one or more in the above-mentioned type 3- types 6 these four types.
It should be noted that before the operational factor of the APP in detecting terminal, terminal can not first know current screen state, and directly detect any one or more operational factor in these four types of the above-mentioned type 3- types 6;After it is to go out screen state to get current screen state, the operational factor of the above-mentioned type 1 and/or type 2 can be detected again.
Multiple APP can be run in terminal;Each APP operationally, there is corresponding operational factor.For example:APP1 and APP2 is run in terminal, wherein APP1 may be to that there should be the one or more in above-mentioned six kinds of operational factors, and APP2 may be also to that there should be the one or more in above-mentioned six kinds of operational factors.
S102, according to the operational factor of acquisition, obtains destination application, the operational factor of the destination application is more than or equal to predetermined threshold value from least one described application program.
It is pointed out that for different types of operational factor, the type of corresponding predetermined threshold value may be different;Operational factor but different types of APP for same type, the value of corresponding predetermined threshold value can also be different.
Specifically, according to the operational factor of acquisition, obtain target APP's from least one described APP Implementation process can include the one or more in the following manner, specifically be determined by the type of the operational factor obtained;After certain type of operational factor is obtained, according to the operational factor of the type, target APP is obtained.Such as:After the operational factor of the above-mentioned type 1 is obtained, target APP is obtained by following mode 1.
Mode 1:If the number of times that the first APP wakes up terminal in a dormant state in first time period is more than or equal to the first preset times, the first APP of acquisition is target APP.
Refer to the example shown in table 1, APP is pre-installed in table and refers to that third party APP, NA that the preassembled APP in addition to system APP of the producer of terminal, self-chambering APP refer to that user voluntarily installs refer to not given threshold, wherein, the operational factor acquiescence for not given threshold is more than or equal to predetermined threshold value.If in the specific implementation, the number of times that mobile phone house keeper woke up the terminal in park mode in 1 hour reaches 10 times, higher than 7 times, then mobile phone house keeper is recorded as into target APP.
Table 1
Alternatively, first preset times should be greater than APP beats, APP beats refer to that the APP sends the number of times of online response message in first time period to its subordinate server, for example, a social APP will send 30 online response messages to its subordinate server per hour, with notification server, the user is still online, can receive chat messages;If first time period is 1 hour, in order to avoid the social APP normally run is mistaken for into target APP, the first preset times of the social APP need to be arranged on more than 30 times.
Mode 2:If the duration that the 2nd APP opens dormancy lock is more than or equal to the first preset duration, the 2nd APP of acquisition is target APP.
The example shown in table 2 is referred to, relevant information is similar to table 1, repeats no more here.In the specific implementation, assuming that mobile phone house keeper opened dormancy lock more than 2 minutes after terminal is in screen state of going out, then by mobile phone pipe Family is recorded as target APP.
Table 2
Mode 3:If the number of times of the 3rd APP self-startings in second time period is more than or equal to the second preset times, the 3rd APP of acquisition is target APP.
The example shown in table 3 is referred to, relevant information is similar to table 1, repeats no more here.In the specific implementation, assuming that some self-chambering APP self-starting number of times in 5 minutes is 20 times, higher than 15 times, then self-chambering APP is recorded as target APP.
Table 3
Further, the concrete operations for the target APP that the number of times for obtaining the self-starting in second time period is more than or equal to the second preset times can also be:Search high self-starting rate APP lists;Acquisition is not belonging to high self-starting rate APP lists, and the number of times of self-starting is greater than or equal to the target APP of the second preset times in second time period.Wherein, the APP that high self-starting rate APP lists are recorded is the APP of intrinsic high self-starting rate, and this kind of APP should not be taken as target APP, for example, input method APP, self-starting rate is higher, if being considered as target APP closings, user can be caused can not to use input method, the usage experience of user is reduced.Alternatively, high self-starting rate APP lists can be updated by network.
Mode 4:When the internal temperature of terminal is higher than preset temperature threshold value, if the ratio that the 4th APP takes CPU within the 3rd period is more than or equal to pre-set ratio, the 4th APP of acquisition is target APP.
The example shown in table 4 is referred to, relevant information is similar to table 1, repeats no more here.In the specific implementation, assuming that the ratio that some self-chambering APP took CPU in 10 minutes is 12%, higher than 7%, then will Self-chambering APP is recorded as target APP.
Table 4
Mode 5:If power consumption of the 5th APP within the 4th period is more than or equal to default electricity consumption value, the 5th APP is obtained for target APP.
The example shown in table 5 is referred to, relevant information is similar to table 1, repeats no more here.In the specific implementation, assuming that mobile phone house keeper power consumption in 1 hour is 18mA, higher than 15mA, then mobile phone house keeper is recorded as target APP.
Table 5
Mode 6:If the duration that the 6th APP carries out GPS location within the 5th period is more than or equal to the second preset duration, the 6th APP of acquisition is target APP.
The example shown in table 6 is referred to, relevant information is similar to table 1, repeats no more here.In the specific implementation, assuming that some self-chambering APP added up to carry out GPS location up to 3 minutes in 8 hours, higher than 2 minutes, then self-chambering APP is recorded as target APP.
Table 6
Further, the target APP of record is non-navigation type APP.It will be appreciated that navigation type APP major function is exactly to carry out GPS location, therefore its duration for carrying out GPS location is certain to, more than the second preset duration, management and control scope not included.
Supplementary notes are also needed to, above-mentioned the first APP, the 2nd APP, the 3rd APP, the 4th APP, the 5th APP and the 6th APP is a kind of mode of name, the APP referred to should not be constituted and limited, they may refer to same APP, can also refer to different APP.
S103, closes destination application.
Specifically, closing target APP implementation process can be:Target end APP all processes, service and activity.
Alternatively, after target APP is closed, if receiving the instruction that target APP is actively triggered again, the instruction is not performed.For example, it is assumed that target APP is the too high APP of self-starting rate, after target APP is closed, if receiving the self-starting instruction that target APP is actively triggered, self-starting instruction will not be performed.
In the embodiment of the present invention, however, it is determined that the screen state of terminal be bright screen state, then whether before target APP is closed, it is APP in running background that can also determine target APP, when target APP is the APP of running background, just closes target APP.Reason is that the operational factor for the APP (i.e. the APP of front stage operation) that user is currently up is likely to not meet preset standard, but belongs to normal condition, and the APP should not include management and control scope, only need the APP of management and control running background.
Again alternatively, before target APP is closed, it is not default system APP that need to determine target APP.The default system APP can include the application of system jingle bell, the application of system dial etc..Default system APP operational factor may not meet preset standard, but management and control scope should not be included, for example, the application of system jingle bell may open dormancy lock for a long time after smart mobile phone is in screen state of going out, if stopping response system jingle bell application, it can then cause smart mobile phone to send jingle bell in incoming call, reduce the usage experience of user;And for example, the application of system dial meeting short time self-starting repeatedly, if stopping response system dial application, may can cause user can not eject dial when dialing, reduce the usage experience of user when operation.
Again alternatively, the APP's closed in order to avoid closing user to be not desired to, closing target APP implements process and can be:Prompt message is sent, after the confirmation of outside transmission is received, target APP is closed.For example, determining A game applications after target APP, to push to user and show a prompting frame:" the current power consumption of A game applications is abnormal, if clear up immediately<It is>;<It is no>", if user clicks on<It is>, then A game applications are closed, if user clicks on<It is no>, then any processing is not made.Preferably for some default APP, after target APP is defined as, can directly it close;For other default APP, after target APP is defined as, prompt message need to be sent, is closed after the confirmation of outside transmission is received.For example, refer to table 7, mode 1 represents the target APP obtained according to the number of times that terminal in a dormant state is waken up in first time period, mode 2 is represented according to the target APP for opening the duration acquisition that dormancy is locked, mode 3 represents the target APP obtained according to the number of times of the self-starting in second time period, mode 4 represents the target APP obtained according to the ratio that CPU is taken within the 3rd period, mode 5 represents the target APP obtained according to the power consumption within the 4th period, mode 6 represents the target APP obtained according to the duration that GPS location is carried out within the 5th period, I represents directly to close, II represents that prompt message need to be sent, closed after the confirmation of outside transmission is received.
Table 7
Still optionally further, it is determined that user is in prompting frame after input validation information, target APP is added into high power consumption blacklist, and during APP in not actuated high power consumption blacklist, do not performed by the instruction of target APP actively triggerings.
Therefore, the embodiment of the present invention obtains the target APP that operational factor is more than or equal to predetermined threshold value after at least one APP run in obtaining terminal operational factor from least one above-mentioned APP, And then close target APP, it is possible to achieve the power consumption brought by the APP of operation exception is reduced, increases the electricity cruising time of terminal.
Fig. 2 is the schematic flow sheet of the method for another control application program in the embodiment of the present invention, can be included:
S201, determines that the terminal is in screen state of going out.
From the foregoing, it can be understood that the screen state of terminal includes bright screen state and screen state of going out.Specifically, it is determined that the current screen state of terminal performs step S202 to go out after screen state.
S202, obtains the operational factor at least one application program run in terminal.
Specifically, the operational factor of acquisition include it is following kind of any one or more:
Class1:APP wakes up the number of times of terminal in a dormant state in first time period.
Type 2:APP opens the duration of dormancy lock (wake lock).
Type 3:The number of times of APP self-startings in second time period.
Type 4:When the internal temperature of terminal is higher than preset temperature threshold value, APP takes CPU ratio within the 3rd period.
Type 5:Power consumption of the APP within the 4th period.
Type 6:APP carries out the duration of GPS location within the 5th period.
S203, according to the operational factor of acquisition, obtains destination application, the operational factor of the destination application is more than or equal to predetermined threshold value from least one described application program.
Specifically, according to the operational factor of acquisition, target APP implementation process is obtained from least one described APP can include in the following manner:
Mode 1:If the number of times that the first APP wakes up terminal in a dormant state in first time period is more than or equal to the first preset times, the first APP of acquisition is target APP.
Mode 2:If the duration that the 2nd APP opens dormancy lock is more than or equal to the first preset duration, the 2nd APP of acquisition is target APP.
Mode 3:If the number of times of the 3rd APP self-startings in second time period is more than or equal to the second preset times, the 3rd APP of acquisition is target APP.
Mode 4:When the internal temperature of terminal is higher than preset temperature threshold value, if the ratio that the 4th APP takes CPU within the 3rd period is more than or equal to pre-set ratio, the 4th APP of acquisition is target APP.
Mode 5:If power consumption of the 5th APP within the 4th period is more than or equal to default electricity consumption value, the 5th APP is obtained for target APP.
Mode 6:If the duration that the 6th APP carries out GPS location within the 5th period is more than or equal to the second preset duration, the 6th APP of acquisition is target APP.
S204, sends prompt message.
The prompt message is used for prompting the user with whether close target APP.
S205, after the confirmation of outside transmission is received, closes target APP.
The information that the outside confirmation sent inputs for user, instruction can close target APP.
It should be noted that S204, S205, which may alternatively be, directly closes target APP, that is to say, that after S203 gets target APP, prompt message can not be sent to user, and directly close target APP.
Therefore, in the embodiment of the present invention, when terminal is in screen state of going out, after at least one APP run in obtaining terminal operational factor, the target APP that operational factor is more than or equal to predetermined threshold value is obtained from least one above-mentioned APP, and then close target APP, it is possible to achieve the power consumption brought by the APP of operation exception is reduced, increases the electricity cruising time of terminal.
Fig. 3 is the schematic flow sheet of the method for another control application program in the embodiment of the present invention, can be included:
S301, determines that the terminal is in bright screen state.
From the foregoing, it can be understood that the screen state of terminal includes bright screen state and screen state of going out.Specifically, after it is determined that the current screen state of terminal is bright screen state, step S302 is performed.
S302, obtains the operational factor at least one application program run in terminal.
Specifically, the operational factor of acquisition include it is following kind of any one or more:
Type 3:The number of times of APP self-startings in second time period.
Type 4:When the internal temperature of terminal is higher than preset temperature threshold value, APP takes CPU ratio within the 3rd period.
Type 5:Power consumption of the APP within the 4th period.
Type 6:APP carries out the duration of GPS location within the 5th period.
S303, according to the operational factor of acquisition, obtaining target from least one described application program should With program, the operational factor of the destination application is more than or equal to predetermined threshold value.
Specifically, according to the operational factor of acquisition, target APP implementation process is obtained from least one described APP can include in the following manner:
Mode 1:If the number of times of the 3rd APP self-startings in second time period is more than or equal to the second preset times, the 3rd APP of acquisition is target APP.
Mode 2:When the internal temperature of terminal is higher than preset temperature threshold value, if the ratio that the 4th APP takes CPU within the 3rd period is more than or equal to pre-set ratio, the 4th APP of acquisition is target APP.
Mode 3:If power consumption of the 5th APP within the 4th period is more than or equal to default electricity consumption value, the 5th APP is obtained for target APP.
Mode 4:If the duration that the 6th APP carries out GPS location within the 5th period is more than or equal to the second preset duration, the 6th APP of acquisition is target APP.
S304, it is the APP in running background to determine target APP.
Reason is that the operational factor for the APP (i.e. the APP of front end operation) that user is currently up is likely to not meet preset standard, but belongs to normal condition, and the APP should not include management and control scope, only need the APP of management and control running background.
S305, sends prompt message.
S306, after the confirmation of outside transmission is received, closes target APP.
It should be noted that after S303 gets target APP, prompt message can not be sent to user, and directly close target APP.
Therefore, in the embodiment of the present invention, when terminal is in bright screen state, after at least one APP run in obtaining terminal operational factor, the target APP that operational factor is more than or equal to predetermined threshold value is obtained from least one above-mentioned APP, and then close target APP, it is possible to achieve the power consumption brought by the APP of operation exception is reduced, increases the electricity cruising time of terminal.
Fig. 4 is the structural representation of terminal in the embodiment of the present invention, the terminal is used for the method for performing the control application program in figure 1 above, Fig. 2 or embodiment illustrated in fig. 3, it will be appreciated that the explanation and citing that occur in Fig. 1, Fig. 2 or embodiment illustrated in fig. 3, are hereafter repeated no more.Specifically, as shown in figure 4, the terminal in the embodiment of the present invention can at least include parameter acquisition module 410, using acquisition module 420 and using closedown module 430, wherein:
Parameter acquisition module 410, at least one APP run for obtaining in terminal operational factor.
Using acquisition module 420, for the operational factor according to acquisition, target APP is obtained from least one APP, target APP operational factor is more than or equal to predetermined threshold value.
Using closedown module 430, for closing target APP.
Referring to Fig. 4, the terminal in the embodiment of the present invention can also include instruction refusal module 440 as shown in the figure, instruction refusal module 440 is closed after target APP in application closedown module, is used for:Target APP is received actively after the instruction of triggering, not execute instruction.
Referring to Fig. 4, the terminal in the embodiment of the present invention can also include state determining module 450 as shown in the figure, state determining module 450 is used for before the operational factor that parameter acquisition module 410 obtains at least one APP run in terminal:Determine that terminal is in screen state of going out.Further, operational factor includes:APP wakes up the number of times of terminal in a dormant state in first time period, and/or, APP opens the duration of dormancy lock.
Wherein, using acquisition module 420 in the operational factor according to acquisition, when obtaining target APP from least one APP, specifically for:
If the number of times that the first APP wakes up terminal in a dormant state in first time period is more than or equal to the first preset times, the first APP of acquisition is target APP;Or
If the duration that the 2nd APP opens dormancy lock is more than or equal to the first preset duration, the 2nd APP of acquisition is target APP.
Alternatively, operational factor, can also include following any one or more:
The number of times of APP self-startings in second time period;
When the internal temperature of terminal is higher than preset temperature threshold value, APP takes CPU ratio within the 3rd period;
Power consumption of the APP within the 4th period;
APP carries out the duration of GPS location within the 5th period.
Wherein, using acquisition module 420 in the operational factor according to acquisition, when obtaining target APP from least one APP, specifically for:
If the number of times of the 3rd APP self-startings in second time period is more than or equal to the second preset times, the 3rd APP of acquisition is target APP;Or
When the internal temperature of terminal is higher than preset temperature threshold value, if the 4th APP is accounted within the 3rd period It is more than or equal to pre-set ratio with CPU ratio, then it is target APP to obtain the 4th APP;Or
If power consumption of the 5th APP within the 4th period is more than or equal to default electricity consumption value, the 5th APP of acquisition is target APP;Or
If the duration that the 6th APP carries out GPS location within the 5th period is more than or equal to the second preset duration, the 6th APP of acquisition is target APP.
Alternatively, the 6th APP is not navigation type APP.
Referring to Fig. 4, the terminal in the embodiment of the present invention can also include applying determining module 460 as shown in the figure, using determining module 460 before application closedown module 430 closes target APP, it is used for:It is the APP in running background to determine target APP.
Alternatively, using determining module 460, before application closedown module 430 closes target APP, it is additionally operable to:It is not default system APP to determine target APP.
Also alternatively, using closedown module 430 when closing the destination application, specifically for:
Directly close the destination application;Or
Prompt message is sent, after the confirmation of outside transmission is received, the destination application is closed.
Fig. 5 is the structural representation of another terminal in the embodiment of the present invention, as shown in figure 5, the terminal can include:At least one processor 501, such as CPU, at least one communication bus 502, memory 503, display unit 504, input block 505.Wherein, communication bus 502 is used to realize the connection communication between these components;Display unit 504 can include screen;Input block can include touch-screen and other input equipments.Memory 503 can be high-speed RAM memory or non-volatile memory (non-volatile memory), for example, at least one magnetic disk storage.Optionally, memory 503 can also be at least one storage device for being located remotely from aforementioned processor 501.Batch processing code is stored in memory 503, and processor 501 is used to call the program code stored in memory 503 to perform following operate:
Obtain the operational factor at least one application program run in terminal;
According to the operational factor of acquisition, destination application is obtained from least one described application program, the operational factor of the destination application is more than or equal to predetermined threshold value;
Close the destination application.
Alternatively, processor 501 is also performed after the destination application is closed:
Receive after the instruction that the destination application is actively triggered, the instruction is not performed.
Alternatively, processor 501 is also performed before the operational factor at least one application program run in obtaining terminal:
Determine that the terminal is in screen state of going out;
The operational factor includes:Application program wakes up the number of times of the terminal in a dormant state in first time period, and/or, application program opens the duration of dormancy lock.
Correspondingly, processor 501 is in the operational factor according to acquisition, when obtaining destination application from least one described application program, specific to perform following operate:
If the number of times that the first application program wakes up the terminal in a dormant state in first time period is more than or equal to the first preset times, first application program is obtained for the destination application;Or
If the duration that the second application program opens dormancy lock is more than or equal to the first preset duration, second application program is obtained for the destination application.
Again alternatively, the operational factor, including following any one or more:
The number of times of application program self-starting in second time period;
When the internal temperature of the terminal is higher than preset temperature threshold value, application program takes CPU ratio within the 3rd period;
Power consumption of the application program within the 4th period;
Application program carries out the duration of GPS location within the 5th period.
Correspondingly, processor 501 is in the operational factor according to acquisition, when obtaining destination application from least one described application program, specific to perform following operate:
If the number of times of the 3rd application program self-starting in the second time period is more than or equal to the second preset times, the 3rd application program is obtained for the destination application;Or
When the internal temperature of the terminal is higher than the preset temperature threshold value, if the ratio that the 4th application program takes CPU within the 3rd period is more than or equal to pre-set ratio, the 4th application program is obtained for the destination application;Or
If power consumption of the 5th application program within the 4th period is more than or equal to default electricity consumption value, the 5th application program is obtained for the destination application;Or
If the duration that the 6th application program carries out GPS location within the 5th period is more than or equal to the second preset duration, the 6th application program is obtained for the destination application.
Further, the 6th application program is not navigation type application program.
Separately alternatively, processor 501 is also performed before the destination application is closed:
It is the application program in running background to determine the destination application.
Separately alternatively, processor 501 is also performed before the destination application is closed:
It is not default system application to determine the destination application.
Separately alternatively, processor 501 is specific to perform following operate when closing the destination application:
Directly close the destination application;Or
Prompt message is sent, after the confirmation of outside transmission is received, the destination application is closed.
The embodiment of the present invention also proposed a kind of computer-readable storage medium, the computer-readable storage medium has program stored therein, and described program includes the part or all of step in method of some instructions to perform the control application program described by Fig. 1 of the embodiment of the present invention-Fig. 3.
Therefore, the embodiment of the present invention is after at least one APP run in obtaining terminal operational factor, the target APP that operational factor is more than or equal to predetermined threshold value is obtained from least one above-mentioned APP, and then close target APP, the power consumption for reducing and being brought by the APP of operation exception can be realized, increases the electricity cruising time of terminal.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, computer program is can be by instruct the hardware of correlation to complete, described program can be stored in a computer read/write memory medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosure is only preferred embodiment of present invention, can not limit the interest field of the present invention, therefore the equivalent variations made according to the claims in the present invention with this certainly, still belongs to the scope that the present invention is covered.

Claims (30)

  1. A kind of method for controlling application program, it is characterised in that methods described includes:
    Obtain the operational factor at least one application program run in terminal;
    According to the operational factor of acquisition, destination application is obtained from least one described application program, the operational factor of the destination application is more than or equal to predetermined threshold value;
    Close the destination application.
  2. The method as described in claim 1, it is characterised in that after the closing destination application, methods described also includes:
    Receive after the instruction that the destination application is actively triggered, the instruction is not performed.
  3. Method as claimed in claim 1 or 2, it is characterised in that before the operational factor at least one application program run in the acquisition terminal, methods described also includes:
    Determine that the terminal is in screen state of going out;
    The operational factor includes:Application program wakes up the number of times of the terminal in a dormant state in first time period, and/or, application program opens the duration of dormancy lock.
  4. Method as claimed in claim 3, it is characterised in that the operational factor according to acquisition, destination application is obtained from least one described application program, including:
    If the number of times that the first application program wakes up the terminal in a dormant state in first time period is more than or equal to the first preset times, first application program is obtained for the destination application;Or
    If the duration that the second application program opens dormancy lock is more than or equal to the first preset duration, second application program is obtained for the destination application.
  5. The method as described in claim 1, it is characterised in that the operational factor includes following any one or more:
    The number of times of application program self-starting in second time period;
    When the internal temperature of the terminal is higher than preset temperature threshold value, application program takes CPU ratio within the 3rd period;
    Power consumption of the application program within the 4th period;
    Application program carries out the duration of GPS location within the 5th period.
  6. Method as claimed in claim 5, it is characterised in that the operational factor according to acquisition, destination application is obtained from least one described application program, including:
    If the number of times of the 3rd application program self-starting in the second time period is more than or equal to the second preset times, the 3rd application program is obtained for the destination application;Or
    When the internal temperature of the terminal is higher than the preset temperature threshold value, if the ratio that the 4th application program takes CPU within the 3rd period is more than or equal to pre-set ratio, the 4th application program is obtained for the destination application;Or
    If power consumption of the 5th application program within the 4th period is more than or equal to default electricity consumption value, the 5th application program is obtained for the destination application;Or
    If the duration that the 6th application program carries out GPS location within the 5th period is more than or equal to the second preset duration, the 6th application program is obtained for the destination application.
  7. Method as claimed in claim 6, it is characterised in that the 6th application program is not navigation type application program.
  8. Method as described in claim any one of 5-7, it is characterised in that before the closing destination application, in addition to:
    It is the application program in running background to determine the destination application.
  9. Method as described in claim any one of 1-8, it is characterised in that before the closing destination application, in addition to:
    It is not default system application to determine the destination application.
  10. Method as described in claim any one of 1-9, it is characterised in that the closing destination application, including:
    Directly close the destination application;Or
    Prompt message is sent, after the confirmation of outside transmission is received, the intended application journey is closed Sequence.
  11. A kind of terminal, it is characterised in that the terminal includes:
    Parameter acquisition module, the operational factor at least one application program run for obtaining in terminal;
    Using acquisition module, for the operational factor according to acquisition, destination application is obtained from least one described application program, the operational factor of the destination application is more than or equal to predetermined threshold value;
    Using closedown module, for closing the destination application.
  12. Terminal as claimed in claim 11, it is characterised in that the terminal, in addition to instruction refusal module,
    The instruction refusal module, for being closed in the application closedown module after the destination application, if receiving the instruction that the destination application is actively triggered, the instruction is not performed.
  13. Terminal as described in claim 11 or 12, it is characterised in that the terminal also includes state determining module,
    The state determining module, for before the operational factor that the parameter acquisition module obtains at least one application program run in terminal, determining that the terminal is in screen state of going out;
    The operational factor includes:Application program wakes up the number of times of the terminal in a dormant state in first time period, and/or, application program opens the duration of dormancy lock.
  14. Terminal as claimed in claim 13, it is characterised in that the application acquisition module is in the operational factor according to acquisition, when obtaining destination application from least one described application program, specifically for:
    If the number of times that the first application program wakes up the terminal in a dormant state in first time period is more than or equal to the first preset times, first application program is obtained for the destination application;Or
    If the duration that the second application program opens dormancy lock is more than or equal to the first preset duration, second application program is obtained for the destination application.
  15. Terminal as claimed in claim 11, it is characterised in that the operational factor includes following any one or more:
    The number of times of application program self-starting in second time period;
    When the internal temperature of the terminal is higher than preset temperature threshold value, application program takes CPU ratio within the 3rd period;
    Power consumption of the application program within the 4th period;
    Application program carries out the duration of GPS location within the 5th period.
  16. Terminal as claimed in claim 15, it is characterised in that the application acquisition module is in the operational factor according to acquisition, when obtaining destination application from least one described application program, specifically for:
    If the number of times of the 3rd application program self-starting in the second time period is more than or equal to the second preset times, the 3rd application program is obtained for the destination application;Or
    When the internal temperature of the terminal is higher than the preset temperature threshold value, if the ratio that the 4th application program takes CPU within the 3rd period is more than or equal to pre-set ratio, the 4th application program is obtained for the destination application;Or
    If power consumption of the 5th application program within the 4th period is more than or equal to default electricity consumption value, the 5th application program is obtained for the destination application;Or
    If the duration that the 6th application program carries out GPS location within the 5th period is more than or equal to the second preset duration, the 6th application program is obtained for the destination application.
  17. Terminal as claimed in claim 16, it is characterised in that the 6th application program is not navigation type application program.
  18. Terminal as described in claim any one of 15-17, it is characterised in that the terminal also includes applying determining module,
    The application determining module, for before the application closedown module closes the destination application, it to be the application program in running background to determine the destination application.
  19. Terminal as described in claim any one of 11-18, it is characterised in that the application determining module, is additionally operable to before the application closedown module closes the destination application, it is not default system application to determine the destination application.
  20. Terminal as described in claim any one of 11-19, it is characterised in that the application closedown module close the destination application when, specifically for:
    Directly close the destination application;Or
    Prompt message is sent, after the confirmation of outside transmission is received, the destination application is closed.
  21. A kind of terminal, it is characterised in that the terminal includes display unit, input block, memory and processor, wherein, batch processing is stored in memory, and processor is used to call the program stored in memory, performs following operate:
    Obtain the operational factor at least one application program run in terminal;
    According to the operational factor of acquisition, destination application is obtained from least one described application program, the operational factor of the destination application is more than or equal to predetermined threshold value;
    Close the destination application.
  22. Terminal as claimed in claim 21, it is characterised in that the processor, if receiving the instruction that the destination application is actively triggered, the instruction is not performed after the destination application is closed.
  23. Terminal as described in claim 21 or 22, it is characterised in that the processor is also performed before the operational factor at least one application program run in obtaining terminal:
    Determine that the terminal is in screen state of going out;
    The operational factor includes:Application program wakes up the number of times of the terminal in a dormant state in first time period, and/or, application program opens the duration of dormancy lock.
  24. Terminal as claimed in claim 23, it is characterised in that the processor is in the operational factor according to acquisition, when obtaining destination application from least one described application program is specific to perform following operate:
    If the number of times that the first application program wakes up the terminal in a dormant state in first time period is more than or equal to the first preset times, first application program is obtained for the destination application;Or
    If the duration that the second application program opens dormancy lock is more than or equal to the first preset duration, second application program is obtained for the destination application.
  25. Terminal as claimed in claim 21, it is characterised in that the operational factor, including it is following any one or more:
    The number of times of application program self-starting in second time period;
    When the internal temperature of the terminal is higher than preset temperature threshold value, application program takes CPU ratio within the 3rd period;
    Power consumption of the application program within the 4th period;
    Application program carries out the duration of GPS location within the 5th period.
  26. Terminal as claimed in claim 25, it is characterised in that the processor is in the operational factor according to acquisition, when obtaining destination application from least one described application program is specific to perform following operate:
    If the number of times of the 3rd application program self-starting in the second time period is more than or equal to the second preset times, the 3rd application program is obtained for the destination application;Or
    When the internal temperature of the terminal is higher than the preset temperature threshold value, if the ratio that the 4th application program takes CPU within the 3rd period is more than or equal to pre-set ratio, the 4th application program is obtained for the destination application;Or
    If power consumption of the 5th application program within the 4th period is more than or equal to default electricity consumption value, the 5th application program is obtained for the destination application;Or
    If the duration that the 6th application program carries out GPS location within the 5th period is more than or equal to the second preset duration, the 6th application program is obtained for the destination application.
  27. Terminal as claimed in claim 26, it is characterised in that the 6th application program is not navigation type application program.
  28. Terminal as described in claim any one of 25-27, it is characterised in that the processor is also performed before the destination application is closed:
    It is the application program in running background to determine the destination application.
  29. Terminal as described in claim any one of 21-28, it is characterised in that the processor is also performed before the destination application is closed:
    It is not default system application to determine the destination application.
  30. Terminal as described in claim any one of 21-29, it is characterised in that the processor is specific to perform following operate when closing the destination application:
    Directly close the destination application;Or
    Prompt message is sent, after the confirmation of outside transmission is received, the destination application is closed.
CN201580006068.3A 2015-04-14 2015-04-14 A kind of method and terminal controlling application program Active CN106256116B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910690275.5A CN110554762A (en) 2015-04-14 2015-04-14 Method and terminal for controlling application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/076589 WO2016165078A1 (en) 2015-04-14 2015-04-14 Method and terminal for controlling application

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201910690275.5A Division CN110554762A (en) 2015-04-14 2015-04-14 Method and terminal for controlling application program

Publications (2)

Publication Number Publication Date
CN106256116A true CN106256116A (en) 2016-12-21
CN106256116B CN106256116B (en) 2019-08-13

Family

ID=57125564

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910690275.5A Pending CN110554762A (en) 2015-04-14 2015-04-14 Method and terminal for controlling application program
CN201580006068.3A Active CN106256116B (en) 2015-04-14 2015-04-14 A kind of method and terminal controlling application program

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201910690275.5A Pending CN110554762A (en) 2015-04-14 2015-04-14 Method and terminal for controlling application program

Country Status (2)

Country Link
CN (2) CN110554762A (en)
WO (1) WO2016165078A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108717376A (en) * 2018-03-23 2018-10-30 河源市美晨智能研究院 Management method, electronic equipment and the device with store function of background application
CN109271292A (en) * 2018-09-06 2019-01-25 北京小米移动软件有限公司 Power consumption information acquisition method and device
CN109413726A (en) * 2018-12-24 2019-03-01 维沃移动通信有限公司 Power consumption control method and mobile terminal
CN110837288A (en) * 2018-08-15 2020-02-25 北京搜狗科技发展有限公司 Application program management method and device, mobile terminal and readable storage medium

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329559B (en) * 2017-06-30 2021-04-16 宇龙计算机通信科技(深圳)有限公司 Application program control method, device, terminal and storage medium
CN107729236A (en) * 2017-09-30 2018-02-23 努比亚技术有限公司 Management method, device, mobile terminal and the storage medium of application program
CN107886119B (en) * 2017-10-31 2020-05-12 Oppo广东移动通信有限公司 Feature extraction method, application control method, device, medium and electronic equipment
CN110134219B (en) * 2019-05-13 2024-03-19 深圳传音通讯有限公司 Application program background power consumption processing method and device
CN111221633A (en) * 2019-10-31 2020-06-02 RealMe重庆移动通信有限公司 Terminal control method and device, mobile terminal and storage medium
CN111309282B (en) * 2020-02-11 2023-08-22 RealMe重庆移动通信有限公司 Audio equipment power consumption control method and device, audio equipment and storage medium
CN113766611B (en) * 2020-06-02 2023-08-11 深圳市万普拉斯科技有限公司 Low-power consumption control optimization method and device, mobile terminal and storage medium
CN111867024A (en) * 2020-06-28 2020-10-30 维沃移动通信有限公司 Electronic equipment control method and device and electronic equipment
CN114449094B (en) * 2020-10-30 2023-04-11 华为技术有限公司 Control method, electronic device, chip and storage medium
CN113645682A (en) * 2021-08-12 2021-11-12 深圳市柔宇科技股份有限公司 Application program management method and mobile terminal
CN117119564A (en) * 2022-05-16 2023-11-24 中兴通讯股份有限公司 Control method of positioning tracking device, positioning tracking device and storage medium
CN116089930A (en) * 2022-08-19 2023-05-09 荣耀终端有限公司 Application management and control method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306118A (en) * 2011-08-31 2012-01-04 中兴通讯股份有限公司 Method and device for monitoring power consumption of application program at Android terminal
US20130093482A1 (en) * 2010-02-04 2013-04-18 Altera Corporation Clock and data recovery circuitry with auto-speed negotiation and other possible features
CN103324519A (en) * 2013-06-17 2013-09-25 华为技术有限公司 Method and device for clearing malicious power consumption applications, and user terminal
CN104317649A (en) * 2014-09-30 2015-01-28 北京金山安全软件有限公司 Processing method and device of terminal application program APP and terminal
CN104331357A (en) * 2014-10-10 2015-02-04 北京金山安全软件有限公司 Application program abnormity detection method and device and mobile terminal

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2446168A (en) * 2007-01-30 2008-08-06 Third Sense Ltd Reducing the power consumed from a battery
CN102510422B (en) * 2011-10-09 2014-06-25 惠州Tcl移动通信有限公司 Mobile terminal and method for regulating operating load thereof
CN102946486A (en) * 2012-11-20 2013-02-27 惠州Tcl移动通信有限公司 Background application automatic clearing method based on mobile phone and mobile phone
CN104184907B (en) * 2013-05-27 2017-12-15 腾讯科技(深圳)有限公司 The detection method and terminal of the wake-up data of terminal application software in the standby state
CN104298336B (en) * 2013-07-19 2018-09-14 贝壳网际(北京)安全技术有限公司 Mobile terminal and control method and device of application program of mobile terminal
CN103607494B (en) * 2013-11-30 2016-04-06 广东欧珀移动通信有限公司 The method in a kind of automated terminal test at times cruising time and terminal
CN104021019B (en) * 2014-06-18 2016-09-14 腾讯科技(深圳)有限公司 A kind of apply the control method of self-starting, terminal and server
CN104102326B (en) * 2014-07-23 2017-08-08 Tcl通讯(宁波)有限公司 The electricity-saving control method and system of a kind of mobile terminal
CN104391743B (en) * 2014-11-26 2018-01-12 北京奇虎科技有限公司 Optimize the method and apparatus of the speed of service of mobile terminal
CN104486510A (en) * 2014-12-16 2015-04-01 上海斐讯数据通信技术有限公司 Method for reducing power consumption of intelligent terminal, and system for reducing power consumption of intelligent terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130093482A1 (en) * 2010-02-04 2013-04-18 Altera Corporation Clock and data recovery circuitry with auto-speed negotiation and other possible features
CN102306118A (en) * 2011-08-31 2012-01-04 中兴通讯股份有限公司 Method and device for monitoring power consumption of application program at Android terminal
CN103324519A (en) * 2013-06-17 2013-09-25 华为技术有限公司 Method and device for clearing malicious power consumption applications, and user terminal
CN104317649A (en) * 2014-09-30 2015-01-28 北京金山安全软件有限公司 Processing method and device of terminal application program APP and terminal
CN104331357A (en) * 2014-10-10 2015-02-04 北京金山安全软件有限公司 Application program abnormity detection method and device and mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108717376A (en) * 2018-03-23 2018-10-30 河源市美晨智能研究院 Management method, electronic equipment and the device with store function of background application
CN110837288A (en) * 2018-08-15 2020-02-25 北京搜狗科技发展有限公司 Application program management method and device, mobile terminal and readable storage medium
CN110837288B (en) * 2018-08-15 2024-03-19 北京搜狗科技发展有限公司 Application management method and device, mobile terminal and readable storage medium
CN109271292A (en) * 2018-09-06 2019-01-25 北京小米移动软件有限公司 Power consumption information acquisition method and device
CN109413726A (en) * 2018-12-24 2019-03-01 维沃移动通信有限公司 Power consumption control method and mobile terminal
CN109413726B (en) * 2018-12-24 2021-05-07 维沃移动通信有限公司 Power consumption control method and mobile terminal

Also Published As

Publication number Publication date
WO2016165078A1 (en) 2016-10-20
CN106256116B (en) 2019-08-13
CN110554762A (en) 2019-12-10

Similar Documents

Publication Publication Date Title
CN106256116A (en) A kind of method controlling application program and terminal
CN103064716B (en) The method of mobile terminal device fast discharging application program
US20200396325A1 (en) Application switching method and terminal
CN107783803B (en) System optimization method and device of intelligent terminal, storage medium and intelligent terminal
CN106055077A (en) Wake-up lock-based processing method and device
TW201250600A (en) Management of background tasks
US20120191994A1 (en) Electronic device, storage medium and method for saving power of the electronic device
CN107748685A (en) Application program launching control method, device, terminal device and storage medium
CN102196097A (en) Method and device for automatically closing idle programs of mobile communication terminal background
WO2016197337A1 (en) Short message processing method and apparatus, and electronic device
CN106528282A (en) Method, device and terminal for closing process
US20110119355A1 (en) Mobile device and method for updating display screen with online widget
CN102033943A (en) Multiwindow browse method and system based on mobile communication equipment terminal
CN104331488A (en) Method, device and equipment for cleaning files based on floating windows
CN105704312A (en) Message push processing method and device
CN106022108A (en) Synchronous management method and terminal device
WO2019024646A1 (en) Application management and control method, apparatus, and electronic device
CN111796735B (en) Application program control method and device and electronic equipment
WO2022111407A1 (en) Cell handover method and apparatus
CN105005740A (en) Method and system for controlling terminal application
CN104954550A (en) Messaging system and method thereof
CN106250180A (en) A kind of ODEX optimal control method and mobile terminal
CN102135857A (en) Control method for opening application and terminal thereof
CN102497479B (en) Method for smart phone to judge Trojprograms according to application software behaviors
WO2017219446A1 (en) Icon processing method and device

Legal Events

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