CN105824392A - Application program management method and terminal - Google Patents

Application program management method and terminal Download PDF

Info

Publication number
CN105824392A
CN105824392A CN201510844919.3A CN201510844919A CN105824392A CN 105824392 A CN105824392 A CN 105824392A CN 201510844919 A CN201510844919 A CN 201510844919A CN 105824392 A CN105824392 A CN 105824392A
Authority
CN
China
Prior art keywords
application program
wake
time
white list
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510844919.3A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201510844919.3A priority Critical patent/CN105824392A/en
Publication of CN105824392A publication Critical patent/CN105824392A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides an application program management method and a terminal, relates to the technical field of terminal power conservation, and aims to solve the problem that the standby time is greatly shortened as the terminal power consumption is increased since a system can be still wakened by unnecessary application programs after the terminal is in a sleep mode. The application program management method comprises the following steps: after the system of the terminal switches to a wakening state from the sleep state, acquiring an application program which wakens the system; judging whether the application program wakening the system is included in a preset application program white list of preset service or not, wherein the preset service comprises networking service and wakening lock application service; if the application program wakening the system is not included in the preset application program white list of the preset service, limiting the behavior that the system is wakened again by the preset service of the application program. According to the embodiment of the invention, as the behavior that the system is wakened again by the preset service of the application program is limited, the terminal system can be in a normal sleep state, the purpose of power conservation is achieved, and furthermore the standby time of the terminal is greatly prolonged.

Description

The management method of a kind of application program and terminal
Technical field
The present invention relates to saving power for terminal technical field, particularly relate to management method and the terminal of a kind of application program.
Background technology
The sleep of intelligent terminal refers to that the data processed do not process, and is placed on internal memory, and machine is in the state of a kind of low-power consumption.Terminal power consumption is the problem always complained by user, often has customer complaint terminal to be put aside one evening and just consumes substantial amounts of electricity.Not known to user, the extensive application that we are used after system sleep, waken up up frequently by various forms system and hold Related arousal lock do not discharge so that system cannot be slept for a long time.Application is once called and is waken up lock up and hold for a long time and do not discharge, and no matter whether screen on-off, and CPU can be always held at running status, and system cannot be introduced into sleep state.Application can frequently wake up system up especially by network, constantly ask on backstage to carry out a large amount of network transmission with carrier server, hold related application lock and do not discharge for a long time, system cannot be slept for a long time, final consume our flow and consume terminal power simultaneously, causing stand-by time to greatly reduce.
Summary of the invention
The purpose of the embodiment of the present invention is to provide management method and the terminal of a kind of application program, it is intended to after solving terminal sleep, still has inessential application program frequently to wake up system up, causes terminal power consumption amount to increase, the problem that stand-by time greatly reduces.
To achieve these goals, embodiments provide the management method of a kind of application program, be applied to terminal, including:
After the system of terminal is converted to wake-up states by sleep state, obtains and wake up described systematic difference program up;
Judging whether the described application program waking up described system up is in the default application program white list of intended service, described intended service includes: networking service and application wake up lock business up;
If waking up the described application program of described system up outside the default application program white list of described intended service, then the intended service limiting described application program wakes up the behavior of described system again up.
For solving above-mentioned technical problem, the embodiment of the present invention additionally provides a kind of terminal, including:
Acquisition module, for after the system of terminal is converted to wake-up states by sleep state, obtains and wakes up described systematic difference program up;
Judge module, for judging whether the described application program waking up described system up is in the default application program white list of intended service, described intended service includes: networking service and application wake up lock business up;
Processing module, if for waking up the described application program of described system up outside the default application program white list of described intended service, then the intended service limiting described application program wakes up the behavior of described system again up.
Having the beneficial effect that of the technique scheme of the embodiment of the present invention:
In the scheme of the embodiment of the present invention, after the system of terminal is converted to wake-up states by sleep state, obtains and wake up described systematic difference program up;Judging whether the described application program waking up described system up is in the default application program white list of intended service, described intended service includes: networking service and application wake up lock business up;If waking up the described application program of described system up outside the default application program white list of described intended service, the intended service then limiting described application program wakes up the behavior of described system again up, thus decrease application program and frequently wake up the number of times of system up, make the terminal system can ortho sleep, reach the purpose of power saving, and then considerably increase the standby time of terminal.
Accompanying drawing explanation
Fig. 1 is the first pass schematic diagram of the management method of the application program of the embodiment of the present invention;
Fig. 2 is the second procedure schematic diagram of the management method of the application program of the embodiment of the present invention;
Fig. 3 is the 3rd schematic flow sheet of the management method of the application program of the embodiment of the present invention;
Fig. 4 is the 4th schematic flow sheet of the management method of the application program of the embodiment of the present invention;
Fig. 5 is the first structural representation of the terminal of the embodiment of the present invention;
Fig. 6 is the structural representation of the acquisition module in embodiment of the present invention terminal;
Fig. 7 is the structural representation of the judge module in embodiment of the present invention terminal;
Fig. 8 is the structural representation of the processing module in embodiment of the present invention terminal;
Fig. 9 is the second structural representation of the terminal of the embodiment of the present invention.
Detailed description of the invention
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, it is described in detail below in conjunction with the accompanying drawings and the specific embodiments.
The present invention is directed to prior art still has extensive application program frequently wake up system up after terminal sleep, cause the problem that terminal standby time greatly reduces, it is provided that the management method of a kind of application program and terminal, improve the standby time of terminal.
First embodiment:
As it is shown in figure 1, the management method of this application program, including:
Step 11: after the system of terminal is converted to wake-up states by sleep state, obtains and wakes up systematic difference program up.
Concrete, after terminal can be converted to wake-up states system being detected by sleep state, obtain the application program making said system be in operating condition.
Step 12: judging to wake up whether systematic difference program is in the default application program white list of intended service up, above-mentioned intended service includes: networking service and application wake up lock business up.
The default application program white list of above-mentioned intended service includes: the default application program white list of networking service and application wake up the default application program white list of lock business up, is in the system that the above-mentioned predetermined application program setting in application program white list can unrestricted wake up up in sleep state.
Preferably, above-mentioned default application program white list can specifically by terminal according to the actual demand of user, configure at times, as the time of every day is specifically divided into predetermined number the time period, such as 4.Citing 7:00-9:00 is a time period, and 12:00-14:00 is a time period, and 17:00-19:00 is a time period, and 19:00-24:00 is a time period.By big data analysis, QQ, wechat is the application that requirement of real-time that user commonly uses is higher, then put it in the white list of more time period aforementioned four free time, for the highest application of other requirement of real-times according to the result of big data analysis, higher in the use frequency of certain time period, then it is added into time period.The present invention also can be arranged white list content by server end according to the laws of use of application program, as higher in news category application in morning real-time, putting in this time period of 7:00-9:00, the control real-time of train ticket on daytime is high during spring transportation, then put it in four time periods.
Step 13: if waking up systematic difference program up outside the default application program white list of intended service, then the intended service limiting application program wakes up the behavior of system again up.
In this embodiment, wake up up systematic difference program outside the default application program white list of intended service time, the intended service limiting application program wakes up the behavior of system again up, as working application carries out taboo net process, restriction application program release in limited time wakes up lock etc. up, reduce inessential application program and wake up the frequency of system up, decrease power consumption, considerably increase the standby time of terminal.
Second embodiment:
As in figure 2 it is shown, the management method of this application program, including:
Step 111: after the wake-up states of system of terminal being detected, it is judged that whether there is sleep state in the time period of terminal current time to the front screen that once goes out.
The present invention, by judging whether terminal current time after wake-up states exists sleep state to the time period of the front screen that once goes out, determines whether terminal is converted to wake-up states by sleep state.This embodiment can specifically obtain the system all lengths of one's sleep in current time to system boot time and the front length of one's sleep once gone out in screen time to the available machine time, then determine whether terminal current time after wake-up states exists sleep state to the time period of the front screen that once goes out according to the difference of two lengths of one's sleep.Preferably, current time needs and front screen time of once going out more met the service condition of user at a distance of 5 minutes or above time.
Step 112: if terminal current time exists sleep state to the time period of the front screen that once goes out, then obtain and wake up systematic difference program up.
If the current time that terminal is after wake-up states exists sleep state to the time period of the front screen that once goes out, now can determine that terminal is to be converted to wake-up states by sleep state, and be now in the application program of duty for waking up systematic difference program up.
Step 12: judging to wake up whether systematic difference program is in the default application program white list of intended service up, above-mentioned intended service includes: networking service and application wake up lock business up.
Step 13: if waking up systematic difference program up outside the default application program white list of intended service, then the intended service limiting application program wakes up the behavior of system again up.
In this embodiment, as it is shown on figure 3, above-mentioned steps 111 specifically includes:
Step 1111: after the wake-up states of system of terminal being detected, obtains the system very first time when current time distance start, and removes second time of system all lengths of one's sleep in the very first time.
In a particular embodiment of the present invention, can the most not included the duration (unit: ms) of system sleep by function SystemClock.uptimeMillis () acquisition system from start, and included the duration (unit: ms) of system sleep by function SystemClock.elapsedRealtime () acquisition system from start till now.
Step 1112: the 3rd time of the screen that once goes out before acquisition, and obtain the 4th time removing system all lengths of one's sleep in the 3rd time.
Before once go out screen the 3rd time be go out screen time, it is assumed that its distance start time be 10 minutes, then, and the 4th time be start after 10 minutes in remove all sleeps of system time.
Step 1113: obtain first difference of the very first time and the second time, and second difference of the 3rd time and the 4th time.
Step 1114: if the difference of the first difference and the second difference is more than the first predetermined threshold value, then judge that terminal current time exists sleep state to the time period of the most front screen that once goes out.
It is contemplated that the error problem of time record, it is therefore desirable to setting a predetermined threshold value, above-mentioned first predetermined threshold value can be specially 1ms, if the absolute value of the first difference and the second difference is more than 1ms, then shows system sleep mistake in the above-mentioned time period.According to above-mentioned it is assumed that the difference of the first difference and the second difference is 0, now may indicate that system was not slept within the above-mentioned time period.
This embodiment is by judging whether system exists sleep state within the above-mentioned time period, determine and wake up systematic difference program up, and limit inessential application program according to default application program white list and again wake up the behavior of system up, reduce inessential application program and wake up the frequency of system up, reduce terminal power consumption amount, thus increase the stand-by time of terminal, improve the experience of user.
3rd embodiment:
As shown in Figure 4, the management method of the application program of this embodiment, including:
Step 11: after the system of terminal is converted to wake-up states by sleep state, obtains and wakes up systematic difference program up.
Step 121: judge to wake up whether systematic difference program is in the default application program white list of networking service up.If it is not, perform step 13;If so, terminate.
Step 122: judge to wake up whether systematic difference program is in the default application program white list that application wakes up lock business up up.If it is not, perform step 13;If so, terminate.
Step 13: if waking up the described application program of described system up outside the default application program white list of described intended service, then the intended service limiting described application program wakes up the behavior of described system again up.
Wherein, for an application program, above-mentioned steps 121 and step 122 are "or" relation between the two, the problem that the most there is not sequencing.As long as meeting step 121 or step 122 either step, then perform step 13.Above-mentioned steps 121 and step 122 are specifically described below realizes process.
Concrete, above-mentioned steps 121 includes:
Obtain the on off state of described terminal current network.
Concrete, by invocation framenort application programming interface (ApplicationProgrammingInterface, it is called for short API) obtain data network and WLAN (WirelessLocalAreaNetworks that active user is arranged, be called for short WLAN) on off state, if both are closed mode, unnecessary employing prohibits net strategy, if data network is for opening, the application network under forbidden data network condition is the most only needed to prohibit net strategy, if WLAN is for opening, the most only forbid that the application network under WLAN prohibits net strategy, if both for opening, then all take under both states to prohibit net strategy.Though mobile terminal is when both for opening, default priority connects WLAN, but in view of the timing of WLAN unstable state, can automatically jump to data network state, so now taking two states all to prohibit net strategy.
If the on off state of current network is for opening, then obtain the default application program white list of networking service, the default application program white list of networking service includes the pool of applications of multiple time period, includes application program that count in advance, that use frequency to be more than the second predetermined threshold value within this time period in the pool of applications of each time period.
This embodiment can configure preset application program white list especially by following program, rationally prohibit net and reduce electric quantity consumption and do not affect user's actual experience.
<WhiteApplications1start=" 6 " time=" 6-9 ">
<item>application bag name</item>
</WhiteApplications1>
<WhiteApplications2start=" 9 " time=" 9-18 ">
<item>application bag name</item>
</WhiteApplications2>
<WhiteApplications3start=" 18 " time=" 18-23 ">
<item>application bag name</item>
</WhiteApplications3>
<WhiteApplications4start=" 23 " time=" 23-6 ">
<item>application bag name</item>
</WhiteApplications4>
In said procedure, is divided into 4 time periods the time of every day: 6-9,9-18,18-23,23-6, it is assumed that the frequency that a certain application program used within the above-mentioned 6-9 time is more than above-mentioned second predetermined threshold value, then this application program is put into the white list of 6-9 time.
In the default application program white list of networking service, search the pool of applications of time period corresponding to current time, set this pool of applications found in the default application program white list of networking service as the first pool of applications.
Concrete, above-mentioned first pool of applications is the nonsystematic pool of applications allowing networking, above-mentioned first preset white list in preserve the user identity of above-mentioned nonsystematic application program and prove UID list information.
If described first pool of applications includes waking up systematic difference program up, in then judgement wakes up the default application program white list being in networking service of systematic difference program up, otherwise judgement wakes up up outside the default application program white list of networking service described in systematic difference program.
Concrete, above-mentioned steps 122 includes:
Waking up systematic difference program up to when waking up the application information of lock up when detecting, it is judged that whether application information is to the first application information waking up lock up, first wakes up lock up wakes up lock up for keep system central processor operating.
In a particular embodiment of the present invention, wake up lock up and include with Types Below: partial wake lock PARTIAL_WAKE_LOCK: keeping CPU operating, screen and keyboard light are likely to be closedown;Screen is dimmed wakes up lock SCREEN_DIM_WAKE_LOCK up: keep CPU operating, it is allowed to keep screen to show it is possible that ash, it is allowed to closing keyboard lamp;The bright lock SCREEN_BRIGHT_WAKE_LOCK that wakes up up in screen limit: keep CPU operating, keep screen highlight to show, it is allowed to closing keyboard lamp;All waking up lock FULL_WAKE_LOCK up: keep CPU operating, keep screen highlight to show, keyboard light also keeps brightness.Under the screen holding state that goes out, commonly used wake up system up by arranging alarm clock, then arrange a PARTIAL_WAKE_LOCK type wakes up lock up to keep CPU to operate, PARTIAL type wakelock has been applied for if applied under screen state of going out, and hold for a long time and do not discharge, now system does not actually enter sleep state, is consuming mobile terminal electricity yet, and reply this type wakes up lock up and takes to discharge in limited time strategy.
If application information is the first application information waking up lock up, then judge to wake up whether systematic difference program is in the default application program white list that application first wakes up lock business up up, wherein, application program in application first wakes up the default application program white list of lock business up holds first, and to wake up time of lock up constant, and the application program outside described application described first wakes up the default application program white list of lock business up discharges first in limited time and wakes up lock up.
In this embodiment, when application program wakes up lock up in application, it is judged that whether having sleep state in the time period of system current time after wake-up states to the front screen that once goes out, if there is no sleep state, not processing;If there being sleep, judge whether the type waking up lock up of application is PARTIAL type the most again, if not processing;If PARTIAL type is locked, then judge to apply whether bag name (may be configured as the application of necessary system and commonly use calendar prompting class, such as information, calendar etc.) in application wakes up the default application program white list of lock business up.If, do not process, if not existing, then the timing of 350 milliseconds (being certainly alternatively other durations) is set to this lock, forcible aborting will be locked after the time arrives.
This embodiment is held the duration waking up lock up by restricted part application program so that system ortho sleep, reduce the electric quantity consumption of system, increase standby time.
Concrete, above-mentioned steps 13 includes:
If waking up up outside the default application program white list that described systematic difference program is in networking service, then to wake up up described systematic difference program carry out prohibit net process.
In a particular embodiment of the present invention according to prohibiting net application program identification UID list, re-establish firewall rule by iptables command script mode.Concrete, according to iptables configuration rule, rewrite OUTPUT chain, the package source prohibiting net in existing iptables is set, limit incoming all application in net application UID list of prohibiting and transmit data outward from the package source arranged, limit application network transmission, reach to prohibit net effect.
If waking up described systematic difference program up to be in the default application program white list of networking service, and be in the taboo user name list that user pre-sets, then to wake up up described systematic difference program carry out prohibit net process.
In a particular embodiment of the present invention, owing to current system realizing the foreground setting to prohibiting net application, therefore the taboo net strategy of the present invention, in our set white list of application program, but when being simultaneously in the taboo net list of application that user is arranged under bright screen state, still take to prohibit net strategy to it.
It addition, the management method of the application program of the embodiment of the present invention, also include after above-mentioned steps 13:
After bright screen operation being detected, described in recovery, wake up the access to network of the described systematic difference program up.
In a particular embodiment of the present invention, before starting taboo net function, first the application program preserving user setup accesses the original state of network, concrete, utilizing " adbshelliptables L-n " order, read its output stream, the application network that record active user is arranged arranges state, No. UID of net application program prohibited in record, prepares for recovery during follow-up bright screen.
The management method of the application program of the embodiment of the present invention, when system sleep, net application UID list is prohibited when preserving user under bright screen state to the setting of application network state and user setup bright screen, after receiving bright screen message, utilize this list, recover to original subscriber's bright screen network state, do not affect the use to terminal during user's bright screen.It addition, for preventing application program because of other abnormal growth under screen state of going out, and cannot again be detected current application network state after bright screen, check whether to be successfully recovered by network during normal flow recovery bright screen, recovered the most again once time unsuccessful after bright screen.
The management method of the application program of the embodiment of the present invention, prohibits the number of times that net strategy minimizing system frequently wakes up up because of network, and release in limited time wakes up lock up, reduce application program and hold the duration waking up lock up, making system ortho sleep, both combinations reach power saving purpose, increase standby time.
4th embodiment:
As it is shown in figure 5, the embodiment of the present invention additionally provides a kind of terminal, including:
Acquisition module 51, for after the system of terminal is converted to wake-up states by sleep state, obtains and wakes up described systematic difference program up;
Judge module 52, for judging whether the described application program waking up described system up is in the default application program white list of intended service, described intended service includes: networking service and application wake up lock business up;
Processing module 53, if for waking up the described application program of described system up outside the default application program white list of described intended service, then the intended service limiting described application program wakes up the behavior of described system again up.
Further, as shown in Figure 6, above-mentioned acquisition module 51 includes:
Detector unit 511, after the wake-up states of system described terminal being detected, it is judged that whether there is sleep state in the time period of described terminal current time to the front screen that once goes out;
Acquiring unit 512, if there is sleep state for described terminal within the time period of current time to the front screen that once goes out, then obtains and wakes up described systematic difference program up.
Further, as shown in Figure 6, above-mentioned detector unit 511 includes:
First obtains subelement 5111, after the wake-up states of system described terminal being detected, obtains the described system very first time when current time distance start, and removes second time of described system all lengths of one's sleep in the described very first time;
Second obtains subelement 5112, the 3rd time of the screen that once goes out before obtaining, and obtains the 4th time removing described system all lengths of one's sleep in described 3rd time;
3rd obtains subelement 5113, for obtaining first difference of the described very first time and described second time, and second difference of described 3rd time and described 4th time;
Judging unit 5114, if the difference for described first difference with described second difference is more than the first predetermined threshold value, then judges that described terminal current time exists sleep state to the time period of the most front screen that once goes out.
Further, as it is shown in fig. 7, described judge module 52 includes:
First obtains submodule 521, for obtaining the on off state of described terminal current network;
Second obtains submodule 522, if the on off state for described current network is unlatching, then obtain the default application program white list of described networking service, the default application program white list of described networking service includes the pool of applications of multiple time period, includes application program that count in advance, that use frequency to be more than the second predetermined threshold value within this time period in the pool of applications of each described time period;
Search submodule 523, for searching the pool of applications of time period corresponding to current time in the default application program white list of described networking service, set this pool of applications found in the default application program white list of described networking service as the first pool of applications;
First judges submodule 524, if for described first pool of applications include described in wake up described systematic difference program up, wake up up described in then judging in the default application program white list being in described networking service of described systematic difference program, otherwise wake up up outside the default application program white list that described systematic difference program is in described networking service described in judgement.
Further, as described in Figure 8, described processing module 53 includes:
First process submodule 531, if waking up up outside the default application program white list that described systematic difference program is in described networking service described in Yong Yu, then to described wake up up described systematic difference program carry out prohibit net process;
Second processes submodule 532, if waking up described systematic difference program described in for up to be in the default application program white list of described networking service, and be in the taboo user name list that described user pre-sets, then to described wake up up described systematic difference program carry out prohibit net process.
Further, as it is shown in figure 9, above-mentioned terminal, also include:
Recover access modules 54, for, after bright screen operation being detected, waking up the access to network of the described systematic difference program described in recovery up.
Further, as described in Figure 7, described judge module 52 also includes:
Second judges submodule 525, for when detecting that the described application program waking up described system up is to when waking up the application information of lock up, judging whether described application information is to the first application information waking up lock up, described first wakes up lock up wakes up lock up for what holding system central processor operated;
3rd judges submodule 526, if being the described first application information waking up lock up for described application information, then judge whether the described application program waking up described system up is in the default application program white list that application described first wakes up lock business up, wherein, application program in described application described first wakes up the default application program white list of lock business up holds described first, and to wake up time of lock up constant, and the application program outside described application described first wakes up the default application program white list of lock business up discharges described first in limited time and wakes up lock up.
It should be noted that this terminal is the terminal corresponding with said method embodiment, in said method embodiment, all implementations are all be applicable to the embodiment of this terminal, also can reach identical technique effect.
The management method of the application program of the embodiment of the present invention and terminal, after the system of terminal is converted to wake-up states by sleep state, obtains and wake up described systematic difference program up;Judging whether the described application program waking up described system up is in the default application program white list of intended service, described intended service includes: networking service and application wake up lock business up;If waking up the described application program of described system up outside the default application program white list of described intended service, the intended service then limiting described application program wakes up the behavior of described system again up, thus decrease application program and frequently wake up the number of times of system up, make the terminal system can ortho sleep, reach the purpose of power saving, and then considerably increase the standby time of terminal.
The above is the preferred embodiment of the present invention; it should be pointed out that, for those skilled in the art, on the premise of without departing from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be regarded as protection scope of the present invention.

Claims (14)

1. a management method for application program, is applied to terminal, it is characterised in that including:
After the system of terminal is converted to wake-up states by sleep state, obtains and wake up described systematic difference program up;
Judging whether the described application program waking up described system up is in the default application program white list of intended service, described intended service includes: networking service and application wake up lock business up;
If waking up the described application program of described system up outside the default application program white list of described intended service, then the intended service limiting described application program wakes up the behavior of described system again up.
The management method of application program the most according to claim 1, it is characterised in that after the described system in terminal is converted to wake-up states by sleep state, acquisition wakes up the step of described systematic difference program up and includes:
After the wake-up states of system of described terminal being detected, it is judged that whether there is sleep state in the time period of described terminal current time to the front screen that once goes out;
If existing, then obtain and wake up described systematic difference program up.
The management method of application program the most according to claim 2, it is characterised in that described in the wake-up states of system of described terminal detected after, it is judged that whether there is dormant step in the time period of described terminal current time to the most front screen that once goes out and include:
After the wake-up states of system of described terminal being detected, obtain the described system very first time when current time distance start, and the described very first time removes second time of described system all lengths of one's sleep;
Once go out the 3rd time shielded before acquisition, and obtain the 4th time removing described system all lengths of one's sleep in described 3rd time;
Obtain first difference of the described very first time and described second time, and second difference of described 3rd time and described 4th time;
If described first difference is more than the first predetermined threshold value with the difference of described second difference, then judge that described terminal current time exists sleep state to the time period of the most front screen that once goes out.
The management method of application program the most according to claim 1, it is characterised in that judge to wake up up the step whether described application program of described system be in the default application program white list of described networking service and include:
Obtain the on off state of described terminal current network;
If the on off state of described current network is for opening, then obtain the default application program white list of described networking service, the default application program white list of described networking service includes the pool of applications of multiple time period, includes application program that count in advance, that use frequency to be more than the second predetermined threshold value within this time period in the pool of applications of each described time period;
In the default application program white list of described networking service, search the pool of applications of time period corresponding to current time, set this pool of applications found in the default application program white list of described networking service as the first pool of applications;
If described first pool of applications wakes up described systematic difference program up described in including, wake up up described in then judging in the default application program white list being in described networking service of described systematic difference program, otherwise wake up up outside the default application program white list that described systematic difference program is in described networking service described in judgement.
The management method of application program the most according to claim 4, it is characterized in that, if the described described application program of described system that wakes up up is outside the default application program white list of described intended service, then the step of the behavior that the intended service limiting described application program wakes up described system again up includes:
Wake up up outside the default application program white list that described systematic difference program is in described networking service described in if, then to described wake up up described systematic difference program carry out prohibit net process;Or
Wake up described systematic difference program described in if up to be in the default application program white list of described networking service, and be in the taboo user name list that described user pre-sets, then to described wake up up described systematic difference program carry out prohibit net process.
The management method of application program the most according to claim 5, it is characterized in that, if at the described described application program of described system that wakes up up outside the default application program white list of described intended service, after the step of the behavior that the intended service then limiting described application program wakes up described system again up, also include:
After bright screen operation being detected, described in recovery, wake up the access to network of the described systematic difference program up.
The management method of application program the most according to claim 1, it is characterised in that judge to wake up up the described application program of described system and whether be in the step that described application wakes up up in the default application program white list of lock business and include:
When detecting that the described application program waking up described system up is to when waking up the application information of lock up, it is judged that whether described application information is to the first application information waking up lock up, described first wakes up lock up wakes up lock up for keep system central processor operating;
If described application information is the described first application information waking up lock up, then judge whether the described application program waking up described system up is in the default application program white list that application described first wakes up lock business up, wherein, application program in described application described first wakes up the default application program white list of lock business up holds described first, and to wake up time of lock up constant, and the application program outside described application described first wakes up the default application program white list of lock business up discharges described first in limited time and wakes up lock up.
8. a terminal, it is characterised in that including:
Acquisition module, for after the system of terminal is converted to wake-up states by sleep state, obtains and wakes up described systematic difference program up;
Judge module, for judging whether the described application program waking up described system up is in the default application program white list of intended service, described intended service includes: networking service and application wake up lock business up;
Processing module, if for waking up the described application program of described system up outside the default application program white list of described intended service, then the intended service limiting described application program wakes up the behavior of described system again up.
Terminal the most according to claim 8, it is characterised in that described acquisition module includes:
Detector unit, after the wake-up states of system described terminal being detected, it is judged that whether there is sleep state in the time period of described terminal current time to the front screen that once goes out;
Acquiring unit, if there is sleep state for described terminal within the time period of current time to the front screen that once goes out, then obtains and wakes up described systematic difference program up.
Terminal the most according to claim 9, it is characterised in that described detector unit includes:
First obtains subelement, after the wake-up states of system described terminal being detected, obtains the described system very first time when current time distance start, and removes second time of described system all lengths of one's sleep in the described very first time;
Second obtains subelement, the 3rd time of the screen that once goes out before obtaining, and obtains the 4th time removing described system all lengths of one's sleep in described 3rd time;
3rd obtains subelement, for obtaining first difference of the described very first time and described second time, and second difference of described 3rd time and described 4th time;
Judging unit, if the difference for described first difference with described second difference is more than the first predetermined threshold value, then judges that described terminal current time exists sleep state to the time period of the most front screen that once goes out.
11. terminals according to claim 8, it is characterised in that described judge module includes:
First obtains submodule, for obtaining the on off state of described terminal current network;
Second obtains submodule, if the on off state for described current network is unlatching, then obtain the default application program white list of described networking service, the default application program white list of described networking service includes the pool of applications of multiple time period, includes application program that count in advance, that use frequency to be more than the second predetermined threshold value within this time period in the pool of applications of each described time period;
Search submodule, for searching the pool of applications of time period corresponding to current time in the default application program white list of described networking service, set this pool of applications found in the default application program white list of described networking service as the first pool of applications;
First judges submodule, if for described first pool of applications include described in wake up described systematic difference program up, wake up up described in then judging in the default application program white list being in described networking service of described systematic difference program, otherwise wake up up outside the default application program white list that described systematic difference program is in described networking service described in judgement.
12. terminals according to claim 11, it is characterised in that described processing module includes:
First process submodule, if waking up up outside the default application program white list that described systematic difference program is in described networking service described in Yong Yu, then to described wake up up described systematic difference program carry out prohibit net process;
Second processes submodule, if waking up described systematic difference program described in for up to be in the default application program white list of described networking service, and be in the taboo user name list that described user pre-sets, then to described wake up up described systematic difference program carry out prohibit net process.
13. terminals according to claim 12, it is characterised in that also include:
Recover access modules, for, after bright screen operation being detected, waking up the access to network of the described systematic difference program described in recovery up.
14. terminals according to claim 8, it is characterised in that described judge module also includes:
Second judges submodule, for when detecting that the described application program waking up described system up is to when waking up the application information of lock up, judging whether described application information is to the first application information waking up lock up, described first wakes up lock up wakes up lock up for what holding system central processor operated;
3rd judges submodule, if being the described first application information waking up lock up for described application information, then judge whether the described application program waking up described system up is in the default application program white list that application described first wakes up lock business up, wherein, application program in described application described first wakes up the default application program white list of lock business up holds described first, and to wake up time of lock up constant, and the application program outside described application described first wakes up the default application program white list of lock business up discharges described first in limited time and wakes up lock up.
CN201510844919.3A 2015-11-26 2015-11-26 Application program management method and terminal Pending CN105824392A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510844919.3A CN105824392A (en) 2015-11-26 2015-11-26 Application program management method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510844919.3A CN105824392A (en) 2015-11-26 2015-11-26 Application program management method and terminal

Publications (1)

Publication Number Publication Date
CN105824392A true CN105824392A (en) 2016-08-03

Family

ID=56514629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510844919.3A Pending CN105824392A (en) 2015-11-26 2015-11-26 Application program management method and terminal

Country Status (1)

Country Link
CN (1) CN105824392A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445077A (en) * 2016-10-18 2017-02-22 中国科学院信息工程研究所 Batch processing awakening low-power-consumption method based on clock mechanism of smartphone
CN106445600A (en) * 2016-09-29 2017-02-22 三星电子(中国)研发中心 Method and device for recovering application program of media equipment
CN106527655A (en) * 2016-10-14 2017-03-22 珠海市魅族科技有限公司 Power-saving method and system for electronic device
CN106774792A (en) * 2016-11-28 2017-05-31 宇龙计算机通信科技(深圳)有限公司 Method for managing power supply and system
CN107193707A (en) * 2017-05-08 2017-09-22 广东欧珀移动通信有限公司 Information processing method, device and mobile terminal
CN107783633A (en) * 2017-09-12 2018-03-09 深圳市金立通信设备有限公司 A kind of method, terminal and computer-readable recording medium for managing application program
CN108509017A (en) * 2018-03-22 2018-09-07 上海爱优威软件开发有限公司 A kind of control method and system of terminal applies
CN109062396A (en) * 2018-07-24 2018-12-21 百度在线网络技术(北京)有限公司 Method and apparatus for controlling devices
WO2023071363A1 (en) * 2021-10-25 2023-05-04 中兴通讯股份有限公司 Management and control method for white list, and device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622079A (en) * 2012-02-25 2012-08-01 华为终端有限公司 Sleep method, wakening method and mobile terminal device
CN103336572A (en) * 2013-06-26 2013-10-02 深圳天珑无线科技有限公司 Intelligent terminal and power saving method thereof
CN103402027A (en) * 2013-07-29 2013-11-20 广东欧珀移动通信有限公司 Mobile terminal and method for putting same into sleeping state
CN104009910A (en) * 2014-05-28 2014-08-27 惠州Tcl移动通信有限公司 Message pushing processing method and system based on mobile terminal and mobile terminal
CN104221445A (en) * 2013-11-15 2014-12-17 华为终端有限公司 Method for waking up terminal system and terminal
US20150296405A1 (en) * 2014-04-14 2015-10-15 Samsung Electronics Co., Ltd. Method and apparatus for controlling aperiodic traffic in electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622079A (en) * 2012-02-25 2012-08-01 华为终端有限公司 Sleep method, wakening method and mobile terminal device
CN103336572A (en) * 2013-06-26 2013-10-02 深圳天珑无线科技有限公司 Intelligent terminal and power saving method thereof
CN103402027A (en) * 2013-07-29 2013-11-20 广东欧珀移动通信有限公司 Mobile terminal and method for putting same into sleeping state
CN104221445A (en) * 2013-11-15 2014-12-17 华为终端有限公司 Method for waking up terminal system and terminal
US20150296405A1 (en) * 2014-04-14 2015-10-15 Samsung Electronics Co., Ltd. Method and apparatus for controlling aperiodic traffic in electronic device
CN104009910A (en) * 2014-05-28 2014-08-27 惠州Tcl移动通信有限公司 Message pushing processing method and system based on mobile terminal and mobile terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445600A (en) * 2016-09-29 2017-02-22 三星电子(中国)研发中心 Method and device for recovering application program of media equipment
CN106527655A (en) * 2016-10-14 2017-03-22 珠海市魅族科技有限公司 Power-saving method and system for electronic device
CN106527655B (en) * 2016-10-14 2019-11-12 珠海市魅族科技有限公司 Electronic equipment electricity saving method and system
CN106445077A (en) * 2016-10-18 2017-02-22 中国科学院信息工程研究所 Batch processing awakening low-power-consumption method based on clock mechanism of smartphone
CN106774792A (en) * 2016-11-28 2017-05-31 宇龙计算机通信科技(深圳)有限公司 Method for managing power supply and system
CN107193707A (en) * 2017-05-08 2017-09-22 广东欧珀移动通信有限公司 Information processing method, device and mobile terminal
CN107783633A (en) * 2017-09-12 2018-03-09 深圳市金立通信设备有限公司 A kind of method, terminal and computer-readable recording medium for managing application program
CN108509017A (en) * 2018-03-22 2018-09-07 上海爱优威软件开发有限公司 A kind of control method and system of terminal applies
CN109062396A (en) * 2018-07-24 2018-12-21 百度在线网络技术(北京)有限公司 Method and apparatus for controlling devices
CN109062396B (en) * 2018-07-24 2020-01-21 百度在线网络技术(北京)有限公司 Method and device for controlling equipment
WO2023071363A1 (en) * 2021-10-25 2023-05-04 中兴通讯股份有限公司 Management and control method for white list, and device and storage medium

Similar Documents

Publication Publication Date Title
CN105824392A (en) Application program management method and terminal
CN106020415B (en) Application control method and device under smart machine standby mode
CN103402027B (en) Mobile terminal and method for putting same into sleeping state
US9970966B2 (en) Method, device and computer storage medium for detecting power consumption of an application
US8977876B2 (en) Method and apparatus for implementing low power consumption for data switching device, and data switching device thereof
CN107302789B (en) Method and system for improving battery endurance of android device
CN106055074A (en) Method and device for processing application program
CN102495761A (en) Method and device for closing applications
KR20100101652A (en) Mobile network device battery conservation system and methods
CN104714620A (en) Method and device for adjusting wakeup frequency of intelligent terminal
CN105608049A (en) Method and device for controlling CPU of intelligent terminal
CN105630132A (en) Power consumption control method and system as well as terminal
CN105955444A (en) Aligned wakeup method and apparatus
CN112752332B (en) Sleep control method of Internet of things system based on NB-IoT communication protocol stack
CN108536269A (en) A kind of method and its system reducing terminal standby power consumption
CN105824391A (en) Timer awakening control method and electronic equipment
CN106550438B (en) Method and system for limiting regular awakening and mobile device
CN104571464A (en) Electricity saving mode control method, device and terminal of a plurality of operation systems
CN106686633A (en) Method for preventing WIFI malicious frequent awakening
US10945207B2 (en) Beacon signal processing system and filtering method of reducing wake-up frequency
CN106598193B (en) Power consumption control method and device
CN110568921A (en) Method for reducing chip power consumption
CN106020426B (en) A kind of method for releasing and device waking up lock
CN110990066B (en) Sleep awakening method of communication terminal
TWI407765B (en) Mobile device, power saving method and computer executable medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160803

RJ01 Rejection of invention patent application after publication