CN106973429A - It is a kind of to reduce the method, device and mobile terminal of power consumption - Google Patents

It is a kind of to reduce the method, device and mobile terminal of power consumption Download PDF

Info

Publication number
CN106973429A
CN106973429A CN201710225586.5A CN201710225586A CN106973429A CN 106973429 A CN106973429 A CN 106973429A CN 201710225586 A CN201710225586 A CN 201710225586A CN 106973429 A CN106973429 A CN 106973429A
Authority
CN
China
Prior art keywords
alarm clock
google
wake
terminal
application program
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
CN201710225586.5A
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.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Qihoo Technology 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 Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201710225586.5A priority Critical patent/CN106973429A/en
Publication of CN106973429A publication Critical patent/CN106973429A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • 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 method, device and mobile terminal of power consumption are reduced the invention provides a kind of, methods described includes:Whether detection terminal can be by the network access Google servers that currently connects;If the terminal can not be by the way that during Google servers, non-wake-up class alarm clock be updated to by the wake-up class alarm clock of Google's application program described in the network access currently connected;So, once detect terminal can not be by the network access Google servers that currently connect when, the alarm clock type of all Google's application programs will be updated to non-wake-up class alarm clock, Google's application program is avoided frequently to wake up terminal system, force terminal system continually to remove connection network or access Google servers, and then terminal stand-by power consumption is reduced, improve the operating efficiency of user.

Description

It is a kind of to reduce the method, device and mobile terminal of power consumption
Technical field
The present invention relates to communication electronics field, more particularly to a kind of method, device and mobile terminal of reduction power consumption.
Background technology
At present, for the mobile terminals such as smart mobile phone, the use time of battery have become most critical challenge it One.One of chief reason is because the developer of numerous third-party application manufacturers and independent third-party application develops largely For the application of mobile terminal, these application meeting not timings wake up terminal system, can thus increase the stand-by power consumption of terminal, lead Cause the operating efficiency reduction of terminal user.
The content of the invention
The problem of existing for prior art, method, device and the shifting of power consumption are reduced the embodiments of the invention provide a kind of Dynamic terminal, for solving mobile terminal of the prior art because application program can frequently wake up terminal system, causes power consumption of terminal The technical problem of increase.
The present invention provides a kind of method for reducing power consumption, and methods described includes:
Whether detection terminal can be by the network access Google servers that currently connects;
If the terminal can not be by the way that during Google servers, journey be applied by Google described in the network access currently connected The wake-up class alarm clock of sequence is updated to non-wake-up class alarm clock.
It is described that the wake-up class alarm clock of Google's application program is updated to after non-wake-up class alarm clock in such scheme, it is described Method also includes:
Extend the non-triggered time for waking up class alarm clock.
It is described that the wake-up class alarm clock of Google's application program is updated to after non-wake-up class alarm clock in such scheme, it is described Method also includes:
According to default triggering times, the non-triggered time for waking up class alarm clock is set, wherein, the default triggering Number of times is less than the triggering times of the wake-up class alarm clock.
It is described that the wake-up class alarm clock of Google's application program is updated to after non-wake-up class alarm clock in such scheme, it is described Method also includes:
Detect the battery allowance information of the terminal;
The regulating strategy set up between the battery allowance information and non-wake-up class alarm clock triggered time;
The non-triggered time for waking up class alarm clock is dynamically adjusted according to the regulating strategy.
In such scheme, before the battery allowance information of the detection terminal, methods described also includes:
Detect whether the terminal is in charged state;
If the terminal is not on charged state, the balance information of the battery of the terminal is detected in real time;
If the terminal is in charged state, the non-wake-up class is triggered according to default triggered time or triggering times Alarm clock.
It is described that the non-triggered time for waking up class alarm clock, bag are dynamically adjusted according to the regulating strategy in such scheme Include:
Determine the electricity rank residing for the battery allowance information of the terminal;
Set up the electricity rank and the first mapping relations between the triggered time;
According to the electricity rank and first mapping relations adjustment non-triggered time for waking up class alarm clock.
In such scheme, the detection terminal whether can by the network access Google servers that currently connect, including:
Obtain the national network ID of the network currently connected;
Whether judge the national network ID is default network ID;
If the national network ID is default network ID, it is determined that the terminal can not be visited by the network currently connected Ask the Google servers.
In such scheme, the detection terminal whether can by the network access Google servers that currently connect, in addition to:
Obtain the network connection type of the network currently connected;
Whether judge the network connection type is default network connection type;
If the network connection type is default network connection type, it is determined that the terminal can currently be connected by described Google servers described in the network access connect.
It is described that the wake-up class alarm clock of Google's application program is updated to before non-wake-up class alarm clock in such scheme, it is described Method also includes:
Judge whether the application program is Google's application program according to the title of application package;
When it is determined that the application program is Google's application program, by the wake-up class alarm clock of all Google's application programs It is updated to non-wake-up class alarm clock.
In such scheme, the default network connection type includes:Virtual network VPN and Wi-Fi network.
The present invention also provides a kind of device of reduction power consumption, and described device includes:
Detection unit, for detecting whether terminal can be by current connection network access Google servers;
Updating block, will for when the terminal can not be by Google servers described in the network access that currently connects The wake-up class alarm clock of Google's application program is updated to non-wake-up class alarm clock.
In such scheme, the updating block is additionally operable to:The wake-up class alarm clock of Google's application program is being updated to non-call out After class of waking up alarm clock, extend the non-triggered time for waking up class alarm clock.
In such scheme, the updating block is additionally operable to:
The wake-up class alarm clock of Google's application program is updated to after non-wake-up class alarm clock, according to the default triggering time Number sets the non-triggered time for waking up class alarm clock;Wherein, the default triggering times are less than the wake-up class alarm clock Triggering times.
In such scheme, described device also includes:Set up unit;
The detection unit is additionally operable to:The wake-up class alarm clock of Google's application program is updated to after non-wake-up class alarm clock, Detect the battery allowance information of the terminal;
Unit is set up, for setting up the battery allowance information and the non-regulation and control waken up between the class alarm clock triggered time Strategy;
The updating block, is additionally operable to dynamically adjust non-when the calling out triggering of class alarm clock of wake-up according to the regulating strategy Between.
In such scheme, the detection unit is additionally operable to:
Before the battery allowance information of the terminal is detected, detect whether the terminal is in charged state;
If the terminal is not on charged state, the balance information of the battery of the terminal is detected in real time;
If the terminal is in charged state, the updating block is additionally operable to according to default triggered time or triggering times Trigger the non-wake-up class alarm clock.
In such scheme, the updating block specifically for:
Determine the electricity rank residing for the battery allowance information of the terminal;
Set up the electricity rank and the first mapping relations between the triggered time;
According to the electricity rank and first mapping relations adjustment non-triggered time for waking up class alarm clock.
In such scheme, the detection unit specifically for:
Obtain the national network ID of the network currently connected;
Whether judge the national network ID is default network ID;
If the national network ID is default network ID, it is determined that the network currently connected can not access the paddy Sing server.
In such scheme, the detection unit specifically for:
Obtain the network connection type of the network currently connected;
Whether judge the network connection type is default network connection type;
If the network connection type is default network connection type, it is determined that the terminal can currently be connected by described Google servers described in the network access connect.
In such scheme, the detection unit is additionally operable to:The wake-up class alarm clock of Google's application program is updated to non-wake-up Before class alarm clock, judge whether the application program is Google's application program according to the title of application package;
The updating block specifically for:When it is determined that the application program is Google's application program, by all paddy The wake-up class alarm clock of song application program is updated to non-wake-up class alarm clock.
In such scheme, the default network connection type includes:Virtual network VPN and Wi-Fi network.
The present invention also provides a kind of mobile terminal, and the mobile terminal includes:Memory and processor;
The memory is used to store the program for performing any of the above-described methods described;
The processor is configurable for performing the program stored in the memory.
The method, device and mobile terminal of power consumption are reduced the invention provides a kind of, methods described includes:Detecting terminal is It is no can be by the network access Google servers that currently connect;If the terminal can not pass through the network access currently connected During the Google servers, the wake-up class alarm clock of Google's application program is updated to non-wake-up class alarm clock;In this way, once detecting , will be by the alarm clock type of all Google's application programs more when terminal can not be by the network access Google servers that currently connect It is newly non-wake-up class alarm clock, it is to avoid Google's application program frequently wakes up terminal system, forces terminal system continually to go to connect net Network accesses Google servers, and then reduces terminal stand-by power consumption, improves the operating efficiency of user.
Brief description of the drawings
Fig. 1 is the method flow schematic diagram for the reduction power consumption that the embodiment of the present invention one is provided;
Fig. 2 is the apparatus structure schematic diagram for the reduction power consumption that the embodiment of the present invention two is provided;
Fig. 3 is the structural representation of mobile terminal provided in an embodiment of the present invention.
Embodiment
In order to reduce the stand-by power consumption of terminal, the method and device of power consumption, methods described are reduced the invention provides a kind of Including:Whether detection terminal can be by the network access Google servers that currently connects;If the terminal can not be worked as by described Described in the network access of preceding connection during Google servers, the wake-up class alarm clock of Google's application program is updated to non-wake-up class and made a noise Clock.
Technical scheme is described in further detail below by drawings and the specific embodiments.
Embodiment one
The present embodiment provides a kind of method for reducing power consumption, applies on intelligent terminal, such as:Smart mobile phone, PAD Deng;Methods described includes:
Whether S101, the connection network of detection terminal currently can access Google servers.
In this step, because the network of certain areas can not access Google servers, but when dress on terminal device When having Google's application program, can frequently access Google servers obtain network data, but it is this access be it is useless, therefore, In this step, when being provided with Google's application program on terminal device, it can detect that the network that the terminal is currently connected is first It is no to access Google servers.
Here, whether can access server, first method is can be with if terminal can be typically detected by two methods Judge whether terminal is able to access that Google servers by detecting national network ID, specifically:
The national network ID of the current network of terminal connection is obtained first, and whether judge the national network ID is default Network ID;If the national network ID is default network ID, it is determined that the terminal can not be by the network that currently connects Access the Google servers.In general, default network ID is national network ID.
Such as, for the terminal user of China, default national network ID is usually the network ID of China, Chinese Network ID is 460, then default network ID is also 460, is default network ID when detecting the network that terminal currently connects For 460 when, it is determined that the network currently connected can not access the Google servers.And after terminal user goes abroad, currently The network ID of connection is external network ID, when detecting network ID that terminal currently connects and being not default network ID, that Determine that the network that terminal is currently connected can connect Google servers.
Here, second method is the network connection type of the network currently connected by terminal to detect that terminal whether can By the network access Google servers currently connected, specifically:
Obtain the network connection type of the network currently connected;Whether judge the network connection type is default Network connection type;If the network connection type is default network connection type, it is determined that the terminal can be by described Google servers described in the network access currently connected.Wherein, the default network connection type can include:Virtual network VPN and Wi-Fi network.It should be noted that when default network connection type is Wi-Fi network, Wi-Fi network is currently set The focus of connection is required to access Google servers.
Here, once terminal user is provided with a virtual network VPN under Wi-Fi network, and virtual network VPN is passed through When accessing Google servers, representative is can to access successfully.
S102, if the terminal can not be by described in the network access currently connected during Google servers, by Google The wake-up class alarm clock of application program is updated to non-wake-up class alarm clock.
In this step, when the terminal can not be by Google servers described in the network access currently connected, that How terminal system, which accesses Google servers, is obtained less than network data, in order to reduce the standby work(of terminal Consumption, when it is determined that terminal can not be by the network access Google servers that currently connect, then by the wake-up class of Google's application program Alarm clock is updated to non-wake-up class alarm clock, it is to avoid Google's application program frequently wakes up terminal system, forces terminal system to access Google Server.
Here, it is described the wake-up class alarm clock of Google's application program is updated to it is non-wake-up class alarm clock before, methods described Also include:Judge whether the application program is Google's application program according to the title of application package;When it is determined that the application When program is Google's application program, the wake-up class alarm clock of all Google's application programs is updated to non-wake-up class alarm clock.One As for, the package name suffix of Google's application program can all carry google characters, therefore can pass through application package Title judge whether the application program is Google's application program.
It should be noted that alarm clock includes two kinds:One kind is to wake up class alarm clock, and another is non-wake-up class alarm clock;When noisy Clock is wakes up during class alarm clock, and no matter whether system, in resting state, once reaching the triggered time for waking up class alarm clock, will wake up Terminal system so that terminal system goes to access Google servers.And when alarm clock is non-wake-up class alarm clock, when the system of detecting is During resting state, when reaching the triggered time of non-wake-up alarm, non-wake-up alarm can also carry out quarter-bell operation, but will not wake up Terminal system, so it is avoided that terminal system accesses Google servers, and then can reduce stand-by power consumption.
Also, in order to further reduce the stand-by power consumption of terminal, the wake-up class alarm clock of Google's application program is updated For it is non-wake-up class alarm clock after, the triggered time of the non-wake-up alarm can also be extended, such as described non-wake-up alarm touch The hair time is that 2min, i.e. 2min once carry out quarter-bell operation;So the triggered time can directly be extended to 1h or 2h.
Here, the wake-up class alarm clock of Google's application program is updated to after non-wake-up class alarm clock, can also be according to default Triggering times set it is described it is non-wake up class alarm clock triggered time, wherein, the default triggering times be less than it is described wake up The triggering times of class alarm clock.Such as, when the triggering times of the wake-up class alarm clock are small for 24 if 100 times, then in not shadow In the case of ringing Google's application program normal procedure, it is possible to reduce the non-triggering times for waking up class alarm clock, for example:By non-wake-up class The triggering times of alarm clock are set to 24 hours 6 times, can be set into 4 the non-triggered time for waking up class alarm clock accordingly small When.
In addition, the wake-up class alarm clock of Google's application program is updated to after non-wake-up class alarm clock, can also be according to terminal Battery allowance information dynamically adjusts the non-triggered time for waking up class alarm clock, is specially:
Detect the battery allowance information of the terminal;Set up the battery allowance information and non-wake-up class alarm clock triggered time Between regulating strategy;The non-triggered time for waking up class alarm clock is dynamically adjusted according to the regulating strategy.
Here, before the battery allowance information of the terminal is detected, also need to detect the terminal whether in charging shape State;If the terminal is not on charged state, the balance information of the battery of the terminal is detected in real time;If the end , then can be directly according to default triggered time or triggering times the triggering non-wake-up class alarm clock in charged state.
It is further, described that according to the regulating strategy, dynamically the adjustment non-triggered time for waking up class alarm clock is specific For:Determine the electricity rank residing for the battery allowance information of terminal first, set up the electricity rank and the triggered time it Between the first mapping relations;According to the non-triggering for waking up class alarm clock of the electricity rank and first mapping relations adjustment Time.
Such as, in the first mapping relations, when the battery allowance is in first level, the corresponding triggered time For 15s;When the battery allowance is in second level, the corresponding triggered time is 30s;When the battery allowance is in During third level, the corresponding triggered time is 1h;When the battery allowance is in fourth level, the corresponding triggering Time is 2h.Wherein, the first level could be arranged to the 75~100% of battery electric quantity;The second level can be set For the 50~75% of battery electric quantity;The third level could be arranged to the 25~50% of battery electric quantity;The fourth level can To be set to the 0~25% of battery electric quantity.So when terminal battery allowrance is more, the triggered time of non-wake-up class will be short; When terminal battery allowrance is less, the triggered time of non-wake-up class can dynamically adjust with regard to president according to battery allowance information The whole non-triggered time for waking up class.
Certainly, if the terminal can not be by during Google servers, inciting somebody to action described in the network access currently connected here The wake-up class alarm clock of Google's application program is updated to after non-wake-up class alarm clock, can also be extended Google's application program and be retried request visit The time asked, further to reduce stand-by power consumption.
Specifically, when the terminal can not be by Google servers described in the network access currently connected, then can Retry request to access, then how terminal system, which retries access Google servers, is obtained less than Network Synchronization data 's.It is that system is waken up by alarm clock and Google's application program is when synchronizing operation, and then causes terminal system to go to access Google servers obtain synchrodata, and Google's application program is very frequent in the system of wake-up, are usually 1min for the first time; When synchronization failure, 2min will be spaced and wake up system, during resynchronisation failure, the 1h that then is spaced 4min, 8min ..., until obtaining To synchrodata, then network can ceaselessly be connected by resulting in terminal, go to access Google servers acquisition synchrodata, Jin Erhui Increase the stand-by power consumption of terminal.
Also, what Google's application program was synchronized includes multiple, such as the synchronization of address list synchronization, mailbox, Google play Synchronous, photograph album is synchronous, Google Earth is synchronous etc.;And these application programs can frequently wake up system when synchronizing, all, force System accesses Google servers and obtains synchrodata, in order to reduce the stand-by power consumption of terminal, when it is determined that terminal can not be by current The network access Google servers of connection, and when retrying request access failure, then extension Google application program retries request and visited The time asked, it is to avoid Google's application program frequently wakes up terminal system, force terminal system to access Google servers and obtain synchronous Data.
Here, before extension Google application program retries the time that request is accessed, methods described also includes:According to application The title of program bag judges whether the application program is Google's application program;When it is determined that the application program should for the Google Extend all Google's application programs during with program and retry the time that request is accessed.In general, the program bag of Google's application program Title suffix all can carry google characters, therefore can be judged by the title of application package the application program whether be Google's application program.
Wherein, the method for the time that extension Google application program retries request access can include following two:
The first is to reduce default request access times;According to the default request access times setting is each Application program retries the time that request is accessed.Such as, if default request access times are 24 hours 100 times, then Google Application program can wake up terminal system 100 times when failing in synchronization in 24 hours, retry request and access Google servers 100 It is secondary.So in order to reduce stand-by power consumption, in the case where not influenceing Google's application program normal procedure, it is possible to reduce default to ask Access times are sought, for example:Default request access times are reduced to being set to 24 hours 6 times, accordingly each application journey The set of time that sequence retries request access is 4 hours.Wherein, each Google's application program retry request access time can be Identical.
Second is to obtain the time that the current request of each application program is accessed;According to each application program Time for accessing of current request and the time interval of time that accesses of goal-selling request each application program is set The time that final request is accessed;Wherein, the goal-selling request access time is more than the time that the current request is accessed.Than Such as, the time that the current request is accessed is 5min, and default destination request access time is 4h, then just can be according to this Time interval directly sets the application program finally to ask the time accessed.
, can also be according to more than end cell in addition, after the extension Google application program retries the time that request is accessed Dynamically each application program of adjustment retries the time that request is accessed to amount information, specifically includes:
Detect the battery allowance information of the terminal;Set up the battery allowance information and retry request visit with each application program Regulating strategy between the time asked;Each application program is dynamically adjusted according to the regulating strategy and retries the time that request is accessed.
Here, before the battery allowance information of the detection terminal, also need to detect the terminal whether in filling Electricity condition;If the terminal is not on charged state, the balance information of the battery of the terminal is detected in real time;If the end End is in charged state, then being retried according to each default request access time of application program or request access times progress please Ask access.
Further, it is specially according to the regulating strategy time that dynamically each application program of adjustment retries request access: Determine the electricity rank residing for the battery allowance information of the terminal;The electricity rank is set up to retry with each application program Ask the second mapping relations between access time;Respectively should according to the electricity rank and second mapping relations adjustment are described The time that request is accessed is retried with program.
Such as, when the time that each application program retries request access is identical, in the second mapping relations, when the battery When surplus is in first level, the corresponding time for retrying request access is 15s;When the battery allowance is in second level When, the corresponding time for retrying request access is 30s;It is corresponding to retry request when the battery allowance is in third level The time of access is 1h;When the battery allowance is in fourth level, the corresponding time for retrying request access is 2h.Its In, the first level could be arranged to the 75~100% of battery electric quantity;The second level could be arranged to battery electric quantity 50~75%;The third level could be arranged to the 25~50% of battery electric quantity;The fourth level could be arranged to battery The 0~25% of electricity.So when terminal battery allowrance is more, the time that each application program retries request access will be short;When When terminal battery allowrance is less, each application program retries the time of request access with regard to president, and then can be believed according to battery allowance Each application program of breath dynamic adjustment retries the time that request is accessed, to reduce power consumption.
Here, the time that each application program retries request access can also be different, and that is accomplished by reflecting second Penetrate in relation set up respectively each application program retry request access time and battery electric quantity rank between corresponding relation, it sets Put that process is identical with above-mentioned method to set up, can be configured, will not be repeated here according to the actual conditions of each application program.
In addition, when the mode of operation of the terminal is idle pulley, needing also exist for detecting whether the terminal can pass through The network access Google servers currently connected, so as to Google's application program in dynamic adjustment white list.
Specifically, record has the end to perform optimised power consumption strategy when idle pulley, not in the white list Application program.And also including the conventional application program of terminal in the white list, the conventional application program includes:Phone journey Sequence, short message program and acquisition associated person information program etc..The optimised power consumption strategy is specifically included:When the terminal is in the free time During pattern, forbid waking up the strategy of terminal system, forbid accessing the strategy of network and forbid what application program back-end data was run Strategy.That is, when terminal is in idle pulley, the application program in white list is can be with normal wakeup terminal system System, normally access network and normally operation back-end data.
So, can not be by Google servers described in the network access currently connected once detecting the terminal When, delete Google's application program in white list.
Once detect the terminal can be by Google servers described in the network access currently connected when, the side Method also includes:Google's application program is added in the white list, the white list is updated, it is to avoid the application of influence Google The normal of program is used.
Such as, when terminal user is in CHINESE REGION, terminal can not access Google servers, then just by white list In Google's application program delete;And once terminal user goes on business to foreign countries, it can be taken by external network access Google Be engaged in device when, in order to normally use Google's application program, then by Google's application program added in the white list, and update The white list.
Also, before Google's application program in deleting white list, methods described also includes:According to answering for application program Judge whether the application package is Google's application program with ID;When it is determined that the application program is Google's application program Bao Shi, deletes all Google's application programs in the white list.In general, the package name suffix of Google's application program Google characters will be carried, therefore can judge whether the application program is Google's application by the title of application package Program.
Certainly, if the terminal can be by being also needs described in the network access currently connected during Google servers Judge whether the application package is Google's application program according to the application ID of application program;When it is determined that the application program is During Google's application package, all Google's application programs are added in the white list.Thus can be according to terminal Google's application program in the network dynamic adjustment white list currently connected.
Embodiment two
Corresponding to embodiment one, the present embodiment additionally provides a kind of device of reduction power consumption, as shown in Fig. 2 described device Including:Detection unit 21, updating block 22 and set up unit 23;Wherein,
Because the network of certain areas can not access Google servers, but applied when being equipped with Google on terminal device During program, can frequently access Google servers obtain network data, but it is this access be it is useless, therefore, in this step when When Google's application program is provided with terminal device, the detection unit 21 can detect the network that the terminal is currently connected first Whether Google servers can be accessed.
Here, the general detection unit 21 can detect whether terminal can access server by two methods, the A kind of method can be by detection national network ID to judge whether terminal is able to access that Google servers, specifically:
The detection unit 21 obtains the national network ID of the current network of terminal connection first, judges the national net Whether network ID is default network ID;If the national network ID is default network ID, it is determined that the terminal can not pass through Google servers described in the network access currently connected.In general, default network ID is national network ID.
Such as, for the terminal user of China, default national network ID is usually the network ID of China, Chinese Network ID is 460, then default network ID is also 460, when the detection unit 21 detects the network that terminal is currently connected When for default network ID being 460, it is determined that the network currently connected can not access the Google servers.And once terminal is used After family is gone abroad, the network ID currently connected is external network ID, is not default when detecting the network ID that terminal currently connects Network ID when, then determine that the network that currently connects of terminal can connect Google servers.
Second method is the network connection type for the network that the detection unit 21 is currently connected by terminal to detect Whether terminal can be by the network access Google servers that currently connects, specifically:
The detection unit 21 obtains the network connection type of the network currently connected;Judge the network connection class Whether type is default network connection type;If the network connection type is default network connection type, it is determined that described Terminal can pass through Google servers described in the network access currently connected.Wherein, the default network connection type can With including:Virtual network VPN and Wi-Fi network.It should be noted that when default network connection type is Wi-Fi network, The focus that Wi-Fi network currently sets connection is required to access Google servers.
Here, once terminal user is provided with a virtual network VPN under Wi-Fi network, and virtual network VPN is passed through When accessing Google servers, representative is can to access successfully.
When the detection unit 21 detects the terminal can not be by Google described in the network access currently connected During server, the updating block 22 is used to the wake-up class alarm clock of Google's application program being updated to non-wake-up class alarm clock.
When the terminal can not be by Google servers described in the network access currently connected, then no matter terminal How system, which accesses Google servers, is obtained less than network data, then in order to reduce the stand-by power consumption of terminal, when true Terminal is determined when can not be by the network access Google servers that currently connect, and the updating block 22 is then by Google's application program Wake up class alarm clock and be updated to non-wake-up class alarm clock, it is to avoid Google's application program frequently wakes up terminal system, forces terminal system to be visited Ask Google servers.
Here, it is described the wake-up class alarm clock of Google's application program is updated to it is non-wake-up class alarm clock before, the detection Unit 21 is additionally operable to:Judge whether the application program is Google's application program according to the title of application package;When it is determined that institute When stating application program for Google's application program, the wake-up class alarm clock of all Google's application programs is updated to non-wake-up class and made a noise Clock.In general, the package name suffix of Google's application program can all carry google characters, therefore the detection unit 21 Whether it is Google's application program that the application program can be judged by the title of application package.
It should be noted that alarm clock includes two kinds:One kind is to wake up class alarm clock, and another is non-wake-up class alarm clock;When noisy Clock is wakes up during class alarm clock, and no matter whether system, in resting state, once reaching the triggered time for waking up class alarm clock, will wake up Terminal system so that terminal system goes to access Google servers.And when alarm clock is non-wake-up class alarm clock, when the system of detecting is During resting state, when reaching the triggered time of non-wake-up alarm, non-wake-up alarm can also carry out quarter-bell operation, but will not wake up Terminal system, so it is avoided that terminal system accesses Google servers, and then can reduce stand-by power consumption.
Also, in order to further reduce the stand-by power consumption of terminal, the wake-up class alarm clock of Google's application program is updated After non-wake-up class alarm clock, the updating block 22 is additionally operable to:Extend the triggered time of the non-wake-up alarm, such as it is described The triggered time of non-wake-up alarm is that 2min, i.e. 2min once carry out quarter-bell operation;So described updating block 22 can be by institute Stating the triggered time directly extends to 1h or 2h.
Here, the wake-up class alarm clock of Google's application program is updated to after non-wake-up class alarm clock, the updating block 22 The non-triggered time for waking up class alarm clock can also be set according to default triggering times, wherein, the default triggering time Triggering times of the number less than the wake-up class alarm clock.Such as, when the triggering times of the wake-up class alarm clock are small for 24 100 times Words, then in the case where not influenceing Google's application program normal procedure, it is possible to reduce the non-triggering times for waking up class alarm clock, example Such as:The triggering times of non-wake-up class alarm clock are set to 24 hours 6 times, accordingly can by it is described it is non-wake up class alarm clock triggering when Between be set to 4 hours.
In addition, the detection unit 21 is additionally operable to:The wake-up class alarm clock of Google's application program is updated into non-wake-up class to make a noise After clock, the battery allowance information of the terminal is detected;It is described set up unit 23 be used for set up the battery allowance information with it is non- Wake up the regulating strategy between the class alarm clock triggered time;The updating block 22 is additionally operable to dynamically be adjusted according to the regulating strategy The non-triggered time for waking up class alarm clock.
Here, the detection unit 21 is additionally operable to:Before the battery allowance information of the terminal is detected, also need to detect institute State whether terminal is in charged state;If the terminal is not on charged state, the battery of the terminal is detected in real time Balance information;If the terminal is in charged state, the updating block 22 then can directly according to the default triggered time or The triggering times triggering non-wake-up class alarm clock.
Further, the updating block 22 is according to the regulating strategy dynamically adjustment non-triggering for waking up class alarm clock Time specifically includes:The detection unit 21 determines the electricity rank residing for the battery allowance information of terminal first, sets up described Mapping relations between electricity rank and the triggered time;It is described non-according to the electricity rank and mapping relations adjustment Wake up the triggered time of class alarm clock.
Such as, in the first mapping relations, when the battery allowance is in first level, the corresponding triggered time For 15s;When the battery allowance is in second level, the corresponding triggered time is 30s;When the battery allowance is in During third level, the corresponding triggered time is 1h;When the battery allowance is in fourth level, the corresponding triggering Time is 2h.Wherein, the first level could be arranged to the 75~100% of battery electric quantity;The second level can be set For the 50~75% of battery electric quantity;The third level could be arranged to the 25~50% of battery electric quantity;The fourth level can To be set to the 0~25% of battery electric quantity.So when terminal battery allowrance is more, the triggered time of non-wake-up class will be short; When terminal battery allowrance is less, the triggered time of non-wake-up class is with regard to president, and then the updating block 22 just can be according to electricity Pond balance information dynamically adjusts the non-triggered time for waking up class.
Certainly, if here the detection unit 21 detect the terminal can not be by the network access currently connected During the Google servers, the wake-up class alarm clock of Google's application program is updated to non-wake-up class alarm clock by the updating block 22 Afterwards, Google's application program can also be extended and retry the time that request is accessed, further to reduce stand-by power consumption.
Specifically, when the terminal can not be by Google servers described in the network access currently connected, then can Retry request to access, then how terminal system, which retries access Google servers, is obtained less than Network Synchronization data 's.It is that system is waken up by alarm clock and Google's application program is when synchronizing operation, and then causes terminal system to go to access Google servers obtain synchrodata, and Google's application program is very frequent in the system of wake-up, are usually 1min for the first time; When synchronization failure, 2min will be spaced and wake up system, during resynchronisation failure, the 1h that then is spaced 4min, 8min ..., until obtaining To synchrodata, then network can ceaselessly be connected by resulting in terminal, go to access Google servers acquisition synchrodata, Jin Erhui Increase the stand-by power consumption of terminal.
Also, what Google's application program was synchronized includes multiple, such as the synchronization of address list synchronization, mailbox, Google play Synchronous, photograph album is synchronous, Google Earth is synchronous etc.;And these application programs can frequently wake up system when synchronizing, all, force System accesses Google servers and obtains synchrodata, in order to reduce the stand-by power consumption of terminal, when it is determined that terminal can not be by current The network access Google servers of connection, and when retrying request access failure, then extension Google application program retries request and visited The time asked, it is to avoid Google's application program frequently wakes up terminal system, force terminal system to access Google servers and obtain synchronous Data.
Here, the updating block 22 is before extension Google application program retries the time that request is accessed, the detection Unit 21 is additionally operable to:Judge whether the application program is Google's application program according to the title of application package;When it is determined that institute When stating application program for Google's application program, the updating block 22 extends all Google's application programs and retries request access Time.In general, the package name suffix of Google's application program can all carry google characters, therefore can be by answering Judge whether the application program is Google's application program with the title of program bag.
Wherein, the updating block 22 extension Google application program retry the time that request is accessed method can include with Lower two kinds:
The first is to reduce default request access times;The updating block 22 is accessed further according to the default request Number of times sets each application program to retry the time that request is accessed.Such as, default request access times are 24 hours 100 If secondary, then terminal system can be waken up in 24 hours 100 times when Google's application program fails in synchronization, retry request and visit Ask Google servers 100 times.So in order to reduce stand-by power consumption, in the case where not influenceing Google's application program normal procedure, Default request access times can be reduced, for example:Default request access times are reduced to being set to 24 hours 6 times, institute It is 4 hours to state the set of time that each application program retries request access accordingly of updating block 22.Wherein, each Google should Can be identical with the request access time that retries of program.
Second is to obtain the time that the current request of each application program is accessed;The updating block 22 further according to The time interval for the time that the time and goal-selling request that the current request of each application program is accessed access sets every The time that the final request of the individual application program is accessed;Wherein, the goal-selling request access time is more than described current Ask the time accessed.Such as, the time that the current request is accessed is 5min, and default destination request access time is 4h, So described updating block 22 just can directly be set according to this time interval the application program finally ask access when Between.
In addition, the detection unit 21 is additionally operable to:Extension Google application program was retried after the time that request is accessed, detection The battery allowance information of the terminal;The unit 23 of setting up is retried for setting up the battery allowance information with each application program Ask the regulating strategy between the time of access;The updating block 22 is used to dynamically adjust each application according to the regulating strategy Program retries the time that request is accessed.
Here, the detection unit 21 is additionally operable to:Before the battery allowance information of the terminal is detected, also need to detect institute State whether terminal is in charged state;If the terminal is not on charged state, the battery of the terminal is detected in real time Balance information;If the terminal is in charged state, the updating block 22 is then according to the default request of each application program Access time or request access times carry out retrying request access.
Further, the updating block 22 dynamically adjusts each application program according to the regulating strategy and retries request access Time specifically include:Determine the electricity rank residing for the battery allowance information of the terminal;Set up the electricity rank and institute State each application program and retry the second mapping relations asked between access time;According to the electricity rank and second mapping Relation adjusts each application program and retries the time that request is accessed.
Such as, when the time that each application program retries request access is identical, in the second mapping relations, when the battery When surplus is in first level, the corresponding time for retrying request access is 15s;When the battery allowance is in second level When, the corresponding time for retrying request access is 30s;It is corresponding to retry request when the battery allowance is in third level The time of access is 1h;When the battery allowance is in fourth level, the corresponding time for retrying request access is 2h.Its In, the first level could be arranged to the 75~100% of battery electric quantity;The second level could be arranged to battery electric quantity 50~75%;The third level could be arranged to the 25~50% of battery electric quantity;The fourth level could be arranged to battery The 0~25% of electricity.So when terminal battery allowrance is more, the time that each application program retries request access will be short;When When terminal battery allowrance is less, each application program retries time that request accesses with regard to president, the updating block 22 and then can be with Each application program is dynamically adjusted according to battery allowance information and retries the time that request is accessed, to reduce power consumption.
Here, the time that each application program retries request access can also be different, and that is accomplished by reflecting second Penetrate in relation set up respectively each application program retry request access time and battery electric quantity rank between corresponding relation, it sets Put that process is identical with above-mentioned method to set up, can be configured, will not be repeated here according to the actual conditions of each application program.
In addition, when it is determined that when the mode of operation of the terminal is idle pulley, the detection unit 21 needs also exist for inspection Whether survey the terminal can be by the network access Google servers that currently connect, so that the updating block 22 can be adjusted dynamically Google's application program in whole white list.
Specifically, record has the end to perform optimised power consumption strategy when idle pulley, not in the white list Application program.And also including the conventional application program of terminal in the white list, the conventional application program includes:Phone journey Sequence, short message program and acquisition associated person information program etc..The optimised power consumption strategy is specifically included:When the terminal is in the free time During pattern, forbid waking up the strategy of terminal system, forbid accessing the strategy of network and forbid what application program back-end data was run Strategy.That is, when terminal is in idle pulley, the application program in white list is can be with normal wakeup terminal system System, normally access network and normally operation back-end data.
So, once the detection unit 21 detect the terminal can not be by the network access institute currently connected When stating Google servers, the updating block 22 deletes Google's application program in white list.
Once the detection unit 21 detects the terminal can be by Google described in the network access currently connected During server, Google's application program is added in the white list by the updating block 22, is updated the white list, is kept away Exempt to influence the normal of Google's application program to use.
Such as, when terminal user is in CHINESE REGION, terminal can not access Google servers, then described to update single Member 22 just deletes Google's application program in white list;Once and terminal user goes on business to foreign countries, foreign countries can be passed through During network access Google servers, in order to normally use Google's application program, the updating block 22 again applies Google Program is added in the white list, and updates the white list.
Also, the updating block 22 is before Google's application program in deleting white list, the detection unit 21 is also For:Judge whether the application package is Google's application program according to the application ID of application program;When it is determined that the application When program is Google's application package, the updating block 22 deletes all Google's application programs in the white list. In general, the package name suffix of Google's application program can all carry google characters, therefore can pass through application program The title of bag judges whether the application program is Google's application program.
Certainly, if the terminal can be by the way that the detection is single during Google servers described in the network access currently connected Member 21 is also to need to judge whether the application package is Google's application program according to the application ID of application program;When it is determined that institute When stating application program for Google's application package, all Google's application programs are added to described white by the updating block 22 In list.Google's application program in the network dynamic adjustment white list that thus can be currently connected according to terminal.
The beneficial effect that one or more embodiments of the invention is at least brought is:
The method and device of power consumption is reduced the invention provides a kind of, methods described includes:Whether detection terminal can pass through The network access Google servers currently connected;If the terminal can not pass through Google described in the network access currently connected During server, the wake-up class alarm clock of Google's application program is updated to non-wake-up class alarm clock;Can not in this way, once detecting terminal During by the network access Google servers that currently connect, the alarm clock type of all Google's application programs will be updated to non-call out Class of waking up alarm clock, and when retrying request access failure, extension Google application program retries the time that request is accessed;In addition, determining When the mode of operation of terminal is idle pulley, once detecting terminal can not be serviced by the network access Google currently connected Device, deletes Google's application program in white list;Wherein, record has the end when idle pulley in the white list, The application program of optimised power consumption strategy is not performed;Thus Google's application program can be avoided frequently to wake up terminal system, forced Terminal system continually removes connection network or accesses Google servers;And by the wake-up class alarm clock of Google's application program more It it is newly the non-triggered time for waking up after class alarm clock, extending alarm clock, it can in addition contain dynamically adjust alarm clock according to battery allowance information Triggered time, reduce further terminal stand-by power consumption, improve the operating efficiency of user.
The present invention additionally provides a kind of mobile terminal simultaneously, as shown in figure 3, for convenience of description, illustrate only and this hair The related part of bright embodiment, particular technique details is not disclosed, refer to present invention method part.The terminal can be with It is to include mobile phone, tablet personal computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), any terminal device such as vehicle-mounted computer, so that terminal is mobile phone as an example:
Fig. 3 is illustrated that the block diagram of the part-structure of the mobile phone related to terminal provided in an embodiment of the present invention.With reference to figure 3, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 31, memory 132, input block 33, display unit 34, biography Sensor 35, voicefrequency circuit 36, Wireless Fidelity (wireless-fidelity, Wi-Fi) module 37, processor 38 and power supply 39 Deng part.It will be understood by those skilled in the art that the handset structure shown in Fig. 3 does not constitute the restriction to mobile phone, it can wrap Include than illustrating more or less parts, either combine some parts or different parts arrangement.
Each component parts of mobile phone is specifically introduced with reference to Fig. 3:
RF circuits 31 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by under base station After row information is received, handled to processor 38;In addition, being sent to base station by up data are designed.Generally, RF circuits 31 include But be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 31 can also be communicated by radio communication with network and other equipment.Above-mentioned channel radio Letter can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), it is Long Term Evolution (Long Term Evolution, LTE), Email, short Messenger service (Short Messaging Service, SMS) etc..
Memory 32 can be used for storage software program and module, and processor 38 is stored in the soft of memory 32 by operation Part program and module, so as to perform various function application and the data processing of mobile phone.Memory 32 can mainly include storage Program area and storage data field, wherein, the application program that storing program area can be needed for storage program area, at least one function (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored uses created number according to mobile phone According to (such as voice data, phone directory etc.) etc..In addition, memory 32 can include high-speed random access memory, it can also wrap Include nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Input block 33 can be used for the numeral or character information for receiving input, and produce set with the user of mobile phone and The relevant key signals input of function control.Specifically, input block 33 may include contact panel 331 and other input equipments 332.Contact panel 331, also referred to as touch-screen, collecting touch operation of the user on or near it, (such as user uses hand The operation of any suitable object such as finger, stylus or annex on contact panel 331 or near contact panel 331), and according to Formula set in advance drives corresponding attachment means.Optionally, contact panel 331 may include touch detecting apparatus and touch to control Two parts of device processed.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation is brought, will Signal sends touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact Coordinate, then give processor 38, and the order sent of reception processing device 38 and can be performed.Furthermore, it is possible to using resistance-type, The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 331.Except contact panel 331, input block 33 Other input equipments 332 can also be included.Specifically, other input equipments 332 can include but is not limited to physical keyboard, function One or more in key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 34 can be used for the various of the information that is inputted by user of display or the information for being supplied to user and mobile phone Menu.Display unit 34 may include display panel 341, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 341.Further, contact panel 331 can cover display panel 341, when contact panel 331 is detected thereon or attached After near touch operation, processor 38 is sent to determine the type of touch event, with preprocessor 38 according to touch event Type provides corresponding visual output on display panel 341.Although in figure 3, contact panel 331 is with display panel 341 Realize input and the input function of mobile phone as two independent parts, but in some embodiments it is possible to by touch surface Plate 331 and the input that is integrated and realizing mobile phone of display panel 341 and output function.
Mobile phone may also include at least one sensor 35, such as optical sensor, motion sensor and other sensors.Tool Body, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjusts the brightness of display panel 341, proximity transducer can when mobile phone is moved in one's ear, close display panel 341 and/ Or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generally three axles) acceleration Size, can detect that size and the direction of gravity when static, available for identification mobile phone posture application (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit 36, loudspeaker 361, microphone 362 can provide the COBBAIF between user and mobile phone.Voicefrequency circuit Electric signal after the voice data received conversion can be transferred to loudspeaker 361, sound letter is converted to by loudspeaker 361 by 36 Number output;On the other hand, the voice signal of collection is converted to electric signal by microphone 362, by voicefrequency circuit 360 receive after change For voice data, then after voice data output processor 38 is handled, through RF circuits 31 to be sent to such as another mobile phone, or Voice data is exported to memory 32 so as to further processing.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 37 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 3 is shown WiFi module 37, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Omitted in the essential scope of invention.
Processor 38 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform the software program and/or module being stored in memory 32, and call the number being stored in memory 32 According to the various functions and processing data of execution mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 38 may include One or more processing units;It is preferred that, processor 38 can integrated application processor and modem processor, wherein, application Processor mainly handles operating system, user interface and application program etc., and modem processor mainly handles radio communication.Can With understanding, above-mentioned modem processor can not also be integrated into processor 38.
Mobile phone also includes the power supply 39 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system and processor 38 are logically contiguous, so as to realize management charging, electric discharge and power managed etc. by power-supply management system Function.
Although not shown, mobile phone can also include camera, bluetooth module etc., will not be repeated here.
In embodiments of the present invention, the processor 38 included by the terminal also has following functions:The processor 38 is examined Whether survey terminal can be by the network access Google servers that currently connect;If the terminal can not currently be connected by described Described in network access during Google servers, the wake-up class alarm clock of Google's application program is updated to non-wake-up class alarm clock.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. It is understood that, it is possible to use various programming languages realize the content of invention described herein, and above to language-specific institute The description done be in order to disclose the present invention preferred forms.
In the specification that this place is provided, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, exist Above in the description of the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself All as the separate embodiments of the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit is required, summary and accompanying drawing) disclosed in each feature can or similar purpose identical, equivalent by offer alternative features come generation Replace.
Although in addition, it will be appreciated by those of skill in the art that some embodiments in this include institute in other embodiments Including some features rather than further feature, but not the combination of the feature of be the same as Example mean be in the scope of the present invention Within and form different embodiments.For example, in the following claims, embodiment claimed it is any it One mode can use in any combination.
The present invention all parts embodiment can be realized with hardware, or with one or more processor run Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) are realized in gateway according to embodiments of the present invention, proxy server, system Some or all parts some or all functions.The present invention is also implemented as being used to perform side as described herein The some or all equipment or program of device (for example, computer program and computer program product) of method.It is such Realizing the program of the present invention can store on a computer-readable medium, or can have the shape of one or more signal Formula.Such signal can be downloaded from internet website and obtained, and either be provided or with any other shape on carrier signal Formula is provided.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of some different elements and coming real by means of properly programmed computer It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention, it is all Any modifications, equivalent substitutions and improvements made within the spirit and principles in the present invention etc., should be included in the protection of the present invention Within the scope of.
The invention discloses A1, a kind of method of reduction power consumption, methods described include:
Whether detection terminal can be by the network access Google servers that currently connects;
If the terminal can not be by the way that during Google servers, journey be applied by Google described in the network access currently connected The wake-up class alarm clock of sequence is updated to non-wake-up class alarm clock.
A2, the method as described in A1, it is described by the wake-up class alarm clock of Google's application program be updated to non-wake-up class alarm clock it Afterwards, methods described also includes:
Extend the non-triggered time for waking up class alarm clock.
A3, the method as described in A1, it is described by the wake-up class alarm clock of Google's application program be updated to non-wake-up class alarm clock it Afterwards, methods described also includes:
According to default triggering times, the non-triggered time for waking up class alarm clock is set, wherein, the default triggering Number of times is less than the triggering times of the wake-up class alarm clock.
A4, the method as described in A1, it is described by the wake-up class alarm clock of Google's application program be updated to non-wake-up class alarm clock it Afterwards, methods described also includes:
Detect the battery allowance information of the terminal;
The regulating strategy set up between the battery allowance information and non-wake-up class alarm clock triggered time;
The non-triggered time for waking up class alarm clock is dynamically adjusted according to the regulating strategy.
Before A5, the method as described in A4, the battery allowance information of the detection terminal, methods described also includes:
Detect whether the terminal is in charged state;
If the terminal is not on charged state, the balance information of the battery of the terminal is detected in real time;
If the terminal is in charged state, the non-wake-up class is triggered according to default triggered time or triggering times Alarm clock.
A6, the method as described in A4, it is described according to the regulating strategy dynamically adjustment non-triggering for waking up class alarm clock Time, including:
Determine the electricity rank residing for the battery allowance information of the terminal;
Set up the electricity rank and the first mapping relations between the triggered time;
According to the electricity rank and first mapping relations adjustment non-triggered time for waking up class alarm clock.
A7, the method as described in A1, the detection terminal whether can by the network access Google servers that currently connect, Including:
Obtain the national network ID of the network currently connected;
Whether judge the national network ID is default network ID;
If the national network ID is default network ID, it is determined that the terminal can not be visited by the network currently connected Ask the Google servers.
A8, the method as described in A1, the detection terminal whether can by the network access Google servers that currently connect, Also include:
Obtain the network connection type of the network currently connected;
Whether judge the network connection type is default network connection type;
If the network connection type is default network connection type, it is determined that the terminal can currently be connected by described Google servers described in the network access connect.
A9, the method as described in A1, it is described by the wake-up class alarm clock of Google's application program be updated to non-wake-up class alarm clock it Before, methods described also includes:
Judge whether the application program is Google's application program according to the title of application package;
When it is determined that the application program is Google's application program, by the wake-up class alarm clock of all Google's application programs It is updated to non-wake-up class alarm clock.
A10, the method as described in A8, the default network connection type include:Virtual network VPN and Wi-Fi network.
B11, a kind of device of reduction power consumption, described device include:
Detection unit, for detecting whether terminal can be by current connection network access Google servers;
Updating block, will for when the terminal can not be by Google servers described in the network access that currently connects The wake-up class alarm clock of Google's application program is updated to non-wake-up class alarm clock.
B12, the device as described in B11, the updating block are additionally operable to:By the wake-up class alarm clock of Google's application program more It is newly after non-wake-up class alarm clock, to extend the non-triggered time for waking up class alarm clock.
B13, the device as described in B11, the updating block are additionally operable to:
The wake-up class alarm clock of Google's application program is updated to after non-wake-up class alarm clock, according to the default triggering time Number sets the non-triggered time for waking up class alarm clock;Wherein, the default triggering times are less than the wake-up class alarm clock Triggering times.
B14, the device as described in B11, described device also include:Set up unit;
The detection unit is additionally operable to:The wake-up class alarm clock of Google's application program is updated to after non-wake-up class alarm clock, Detect the battery allowance information of the terminal;
Unit is set up, for setting up the battery allowance information and the non-regulation and control waken up between the class alarm clock triggered time Strategy;
The updating block, is additionally operable to dynamically adjust non-when the calling out triggering of class alarm clock of wake-up according to the regulating strategy Between.
B15, the device as described in B14, the detection unit are additionally operable to:
Before the battery allowance information of the terminal is detected, detect whether the terminal is in charged state;
If the terminal is not on charged state, the balance information of the battery of the terminal is detected in real time;
If the terminal is in charged state, the updating block is additionally operable to according to default triggered time or triggering times Trigger the non-wake-up class alarm clock.
B16, the device as described in B14, the updating block specifically for:
Determine the electricity rank residing for the battery allowance information of the terminal;
Set up the electricity rank and the first mapping relations between the triggered time;
According to the electricity rank and first mapping relations adjustment non-triggered time for waking up class alarm clock.
B17, the device as described in B11, the detection unit specifically for:
Obtain the national network ID of the network currently connected;
Whether judge the national network ID is default network ID;
If the national network ID is default network ID, it is determined that the network currently connected can not access the paddy Sing server.
B18, the device as described in B11, the detection unit specifically for:
Obtain the network connection type of the network currently connected;
Whether judge the network connection type is default network connection type;
If the network connection type is default network connection type, it is determined that the terminal can currently be connected by described Google servers described in the network access connect.
B19, the device as described in B11, the detection unit are additionally operable to:The wake-up class alarm clock of Google's application program is updated Before non-wake-up class alarm clock, judge whether the application program is Google's application program according to the title of application package;
The updating block specifically for:When it is determined that the application program is Google's application program, by all paddy The wake-up class alarm clock of song application program is updated to non-wake-up class alarm clock.
B20, the device as described in B18, the default network connection type include:Virtual network VPN and Wi-Fi net Network.
C21, a kind of mobile terminal, the mobile terminal include:Memory and processor;
The memory is used to store the program for performing any one of A1 to A10 methods described;
The processor is configurable for performing the program stored in the memory.

Claims (10)

1. a kind of method for reducing power consumption, it is characterised in that methods described includes:
Whether detection terminal can be by the network access Google servers that currently connects;
If the terminal can not be by described in the network access currently connected during Google servers, by Google's application program Wake up class alarm clock and be updated to non-wake-up class alarm clock.
2. the method as described in claim 1, it is characterised in that it is described the wake-up class alarm clock of Google's application program is updated to it is non- Wake up after class alarm clock, methods described also includes:
Extend the non-triggered time for waking up class alarm clock.
3. the method as described in claim 1, it is characterised in that it is described the wake-up class alarm clock of Google's application program is updated to it is non- Wake up after class alarm clock, methods described also includes:
According to default triggering times, the non-triggered time for waking up class alarm clock is set, wherein, the default triggering times Less than the triggering times of the wake-up class alarm clock.
4. the method as described in claim 1, it is characterised in that it is described the wake-up class alarm clock of Google's application program is updated to it is non- Wake up after class alarm clock, methods described also includes:
Detect the battery allowance information of the terminal;
The regulating strategy set up between the battery allowance information and non-wake-up class alarm clock triggered time;
The non-triggered time for waking up class alarm clock is dynamically adjusted according to the regulating strategy.
5. method as claimed in claim 4, it is characterised in that before the battery allowance information of the detection terminal, institute Stating method also includes:
Detect whether the terminal is in charged state;
If the terminal is not on charged state, the balance information of the battery of the terminal is detected in real time;
If the terminal is in charged state, made a noise according to default triggered time or triggering times the triggering non-wake-up class Clock.
6. a kind of reduce the device of power consumption, it is characterised in that described device includes:
Detection unit, for detecting whether terminal can be by current connection network access Google servers;
Updating block, for when the terminal can not be by Google servers described in the network access that currently connects, by Google The wake-up class alarm clock of application program is updated to non-wake-up class alarm clock.
7. device as claimed in claim 6, it is characterised in that the updating block is additionally operable to:By Google's application program Wake up class alarm clock to be updated to after non-wake-up class alarm clock, extend the non-triggered time for waking up class alarm clock.
8. device as claimed in claim 6, it is characterised in that the updating block is additionally operable to:
The wake-up class alarm clock of Google's application program is updated to after non-wake-up class alarm clock, set according to the default triggering times Put the non-triggered time for waking up class alarm clock;Wherein, the default triggering times are less than the triggering of the wake-up class alarm clock Number of times.
9. device as claimed in claim 6, it is characterised in that described device also includes:Set up unit;
The detection unit is additionally operable to:The wake-up class alarm clock of Google's application program is updated to after non-wake-up class alarm clock, detection The battery allowance information of the terminal;
Unit is set up, for setting up the battery allowance information and the non-regulation and control plan waken up between the class alarm clock triggered time Slightly;
The updating block, is additionally operable to call out the triggered time according to the regulating strategy dynamic adjustment non-wake-up class alarm clock.
10. a kind of mobile terminal, it is characterised in that the mobile terminal includes:Memory and processor;
The memory is used for the program for storing any one of perform claim requirement 1 to 5 methods described;
The processor is configurable for performing the program stored in the memory.
CN201710225586.5A 2017-04-07 2017-04-07 It is a kind of to reduce the method, device and mobile terminal of power consumption Pending CN106973429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710225586.5A CN106973429A (en) 2017-04-07 2017-04-07 It is a kind of to reduce the method, device and mobile terminal of power consumption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710225586.5A CN106973429A (en) 2017-04-07 2017-04-07 It is a kind of to reduce the method, device and mobile terminal of power consumption

Publications (1)

Publication Number Publication Date
CN106973429A true CN106973429A (en) 2017-07-21

Family

ID=59337118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710225586.5A Pending CN106973429A (en) 2017-04-07 2017-04-07 It is a kind of to reduce the method, device and mobile terminal of power consumption

Country Status (1)

Country Link
CN (1) CN106973429A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103891364A (en) * 2011-12-05 2014-06-25 苹果公司 Mobile device network signaling management
US20140221054A1 (en) * 2012-11-30 2014-08-07 Nvidia Corporation Saving power in a mobile terminal
CN104267992A (en) * 2014-09-29 2015-01-07 广州视源电子科技股份有限公司 Method and device of mobile terminal shielding wake-up program
CN105825125A (en) * 2016-03-28 2016-08-03 乐视控股(北京)有限公司 Control method of application program and client side
CN106168902A (en) * 2016-06-29 2016-11-30 北京金山安全软件有限公司 Awakening control method, device and equipment
CN106484075A (en) * 2016-10-12 2017-03-08 北京元心科技有限公司 Method and device for adjusting application program wake-up time
CN106550438A (en) * 2015-09-22 2017-03-29 联芯科技有限公司 Limit method and system, the mobile device of periodic wakeup

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103891364A (en) * 2011-12-05 2014-06-25 苹果公司 Mobile device network signaling management
US20140221054A1 (en) * 2012-11-30 2014-08-07 Nvidia Corporation Saving power in a mobile terminal
CN104267992A (en) * 2014-09-29 2015-01-07 广州视源电子科技股份有限公司 Method and device of mobile terminal shielding wake-up program
CN106550438A (en) * 2015-09-22 2017-03-29 联芯科技有限公司 Limit method and system, the mobile device of periodic wakeup
CN105825125A (en) * 2016-03-28 2016-08-03 乐视控股(北京)有限公司 Control method of application program and client side
CN106168902A (en) * 2016-06-29 2016-11-30 北京金山安全软件有限公司 Awakening control method, device and equipment
CN106484075A (en) * 2016-10-12 2017-03-08 北京元心科技有限公司 Method and device for adjusting application program wake-up time

Similar Documents

Publication Publication Date Title
CN104243671B (en) Volume adjusting method, device and electronic equipment
CN103561400B (en) Method for initiating communication, device thereof and mobile terminal
CN103473092B (en) A kind of download the processing method of application, device and terminal unit
CN103365419B (en) A kind of method and apparatus triggering alarm clock control command
CN104252341B (en) The client device of the skin change method of application program, device and application program
CN106502681B (en) A kind of register method of sensor, device and mobile terminal
CN107092520A (en) Recommendation method, device, storage medium and the mobile terminal of application program
CN106484326B (en) A kind of data transmission processing method and mobile terminal
CN106453597B (en) The method of adjustment of data synchronizing cycles, apparatus and system
CN106331359A (en) Speech signal acquisition method and apparatus and terminal
CN107846722A (en) network registering method, device and mobile terminal
CN108347758A (en) screen awakening method and device, terminal, computer readable storage medium
CN106714103A (en) Network location method and terminal equipment
CN106646440A (en) Drop height detection method and drop height detection device
CN108388413A (en) The screen control method and device of terminal, readable storage medium storing program for executing, terminal
CN107948404A (en) A kind of method, terminal device and computer-readable recording medium for handling message
CN104253870A (en) Method and device for controlling data access period
CN106506815A (en) A kind of application enables method and relevant device
CN106817482A (en) Mobile terminal and its method and apparatus called
CN103488421A (en) Method and device for processing call record and mobile terminal
CN107565650A (en) Design of Compatibility method and circuit
CN106941533A (en) It is a kind of to reduce method, device and the mobile terminal of power consumption
CN107182110A (en) It is a kind of to reduce the method, device and mobile terminal of power consumption
CN106804113A (en) A kind of control method of intelligent terminal pattern, device and intelligent terminal
CN107205082A (en) A kind of short message method for cleaning and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
TA01 Transfer of patent application right

Effective date of registration: 20170720

Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: Beijing Qihu Technology Co., Ltd.

TA01 Transfer of patent application right
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170721

RJ01 Rejection of invention patent application after publication