CN106708240A - Power saving method, server and power saving system - Google Patents

Power saving method, server and power saving system Download PDF

Info

Publication number
CN106708240A
CN106708240A CN201510802267.7A CN201510802267A CN106708240A CN 106708240 A CN106708240 A CN 106708240A CN 201510802267 A CN201510802267 A CN 201510802267A CN 106708240 A CN106708240 A CN 106708240A
Authority
CN
China
Prior art keywords
power consumption
power saving
mobile terminal
strategy
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.)
Granted
Application number
CN201510802267.7A
Other languages
Chinese (zh)
Other versions
CN106708240B (en
Inventor
王映理
黄石柱
吴进发
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510802267.7A priority Critical patent/CN106708240B/en
Publication of CN106708240A publication Critical patent/CN106708240A/en
Application granted granted Critical
Publication of CN106708240B publication Critical patent/CN106708240B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention relates to a power saving method applied to a mobile terminal; the power saving method includes steps of acquiring power consumption data of every application procedure in the mobile terminal, and sending the power consumption data to a server; receiving the power saving strategy output by the server according to the abnormal power consumption standard formulated by the power consumption data, analyzing and running the power consumption strategy. The invention further provides a server and a power saving system; according to the power saving method, the server and the power saving system, the abnormal power consumption standard formulated by the power consumption data is used; therefore, the power saving strategy is updated only by modifying the power saving strategy in the server instead of modifying the overall code of the mobile terminal; thus the power saving method, the server and the power saving system can save power while improve the operation convenience.

Description

A kind of electricity saving method, server and electricity-saving system
Technical field
The present invention relates to communication technical field, more particularly to a kind of electricity saving method, server and power saving System.
Background technology
At present, the communication technology and terminal technology are developed rapidly, terminal device (especially it is mobile eventually End) have become the articles for use that it is essential that people live.With giant-screen, high-performance, ultra-thin The popularization of mobile terminal, Main Bottleneck of the stand-by time into restriction mobile terminal application.How to make It is problem demanding prompt solution that mobile terminal energy is standby for a long time.
The content of the invention
In view of this, it is necessary to provide a kind of electricity saving method, server and electricity-saving system, it can increase Plus the stand-by time of mobile terminal.
The present invention provides a kind of electricity saving method, is applied to mobile terminal, and the electricity saving method includes: The power consumption data of each application program in the mobile terminal is obtained, and the power consumption data is sent out Deliver to server;The server is received according to defeated after the abnormal power consumption standard of power consumption data formulation The power saving strategy for going out;Parse and run the power saving strategy.
The present invention also provides a kind of electricity saving method, is applied to server, and the electricity saving method includes: Receive the power consumption data of each application program that mobile terminal sends;Formulated according to the power consumption data After abnormal power consumption standard, power saving strategy to the mobile terminal is sent, to cause the mobile terminal Parse and run the power saving strategy.
The present invention also provides a kind of electricity saving method, is applied between mobile terminal and server, described Electricity saving method includes obtaining the power consumption data of each application program in the mobile terminal, and by institute Power consumption data is stated to send to server;Exported after formulating abnormal power consumption standard according to the power consumption data Power saving strategy to the mobile terminal;The province is run after receiving the power saving strategy, and parsing Electric strategy.
The present invention also provides a kind of server, and the server is used to receive the every of mobile terminal transmission After the power consumption data of individual application program, abnormal power consumption standard is formulated according to the power consumption data, concurrently Power saving strategy to the mobile terminal is sent, to cause that the mobile terminal is parsed and runs the power saving Strategy.
The present invention also provides a kind of electricity-saving system, and the electricity-saving system includes mobile terminal and server; The mobile terminal is used to obtain the power consumption data of each application program, and the power consumption data is sent out Deliver to server;The server is used for according to defeated after the abnormal power consumption standard of power consumption data formulation The power saving strategy for going out is to the mobile terminal, so that the mobile terminal is parsed and runs the power saving Strategy.
Electricity saving method, server and electricity-saving system that the present invention is provided, using server according to Power consumption data formulates the power saving strategy exported after abnormal power consumption standard, therefore is needing to update power saving plan The power saving strategy in server need to only be modified when slightly, and mobile terminal entirety need not be changed Code, while power saving, can improve the convenience of operation.
It is that above and other objects, features and advantages of the invention can be become apparent, it is hereafter special Preferred embodiment is lifted, and coordinates institute's accompanying drawings, be described in detail below.
Brief description of the drawings
Fig. 1 is the knot block diagram of mobile terminal used in the embodiment of the present invention.
Fig. 2 is the structured flowchart of server used in the embodiment of the present invention.
The electricity saving method flow chart that Fig. 3 is provided for first embodiment.
The electricity saving method flow chart that Fig. 4 is provided for second embodiment.
The electricity saving method flow chart that Fig. 5 is provided for 3rd embodiment.
The electricity saving method flow chart that Fig. 6 is provided for fourth embodiment.
The electricity saving method flow chart that Fig. 7 is provided for the 5th embodiment.
Fig. 8 is the applied environment schematic diagram of electricity saving method as shown in Figure 7.
Fig. 9 is the time diagram of electricity saving method as shown in Figure 7.
The structured flowchart of the mobile terminal that Figure 10 is provided for sixth embodiment.
The structured flowchart of the server that Figure 11 is provided for the 7th embodiment.
The structured flowchart of the electricity-saving system that Figure 12 is provided for the 8th embodiment.
Specific embodiment
Further to illustrate the present invention to realize technological means and work(that predetermined goal of the invention taken Effect, below in conjunction with accompanying drawing and preferred embodiment, to according to specific embodiment of the invention, structure, Feature and its effect, describe in detail as after.
Fig. 1 is the knot block diagram of mobile terminal used in the embodiment of the present invention.As shown in figure 1, moving Dynamic terminal includes first memory 102, storage control 104, and one or more (only show in figure One) first processor 106, Peripheral Interface 108, radio-frequency module 110, locating module 112, Photographing module 114, audio-frequency module 116, Touch Screen 118 and key-press module 120.These groups Part is mutually communicated by one or more communication bus/holding wire.
It is appreciated that the structure shown in Fig. 1 is only to illustrate, mobile terminal may also include than in Fig. 1 Shown more or less components, or with configuration different shown in Fig. 1.Fig. 1 Shown in each component can using hardware, software or its combination realize.
First memory 102 can be used to store software program and module, such as in the embodiment of the present invention The corresponding programmed instruction of electricity saving method or module are carried out in mobile terminal.
First processor 102 by run software program of the storage in first memory 104 and Module, so as to perform various function application and data processing, that is, realizes above-mentioned in mobile terminal Inside carry out electricity saving method.
First memory 102 may include random first memory at a high speed, may also include non-volatile the One memory, such as one or more magnetic storage device, flash memory or other are non-volatile solid State first memory.In some instances, first memory 102 can be further included relative to The remotely located first memory of one processor 106, these long-range first memories can be by net Network is connected to mobile terminal.The example of above-mentioned network include but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.First processor 106 and other possible components pair The access of first memory 102 can be carried out under the control of storage control 104.
Various input/output devices are coupled to CPU and first memory 102 by Peripheral Interface 108. Various softwares, instruction in the operation first memory 102 of first processor 106 are mobile whole to perform The various functions at end and carry out data processing.
In certain embodiments, Peripheral Interface 108, first processor 106 and storage control 104 can realize in one single chip.In some other example, they can respectively by independence Chip realize.
Radio-frequency module 110 is used to receive and send electromagnetic wave, realizes the phase of electromagnetic wave and electric signal Mutually conversion, so as to be communicated with communication network or miscellaneous equipment.Radio-frequency module 110 may include The various existing circuit elements for performing these functions, for example, antenna, RF transceiver, Data signal first processor, encryption/deciphering chip, subscriber identity module (SIM) card, first Memory etc..Radio-frequency module 110 can be with various networks such as internet, intranet, wireless Network is communicated or communicated with miscellaneous equipment by wireless network.Above-mentioned wireless network May include cellular telephone networks, WLAN or Metropolitan Area Network (MAN).Above-mentioned wireless network can make With various communication standards, agreement and technology, including but not limited to global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communication skill Art (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband code division multiple access, W-CDMA), CDMA (Code division access, CDMA), tdma (time division multiple Access, TDMA), bluetooth, adopting wireless fidelity technology (Wireless, Fidelity, WiFi) is (such as IEEE-USA standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), the networking telephone (Voice over internet Protocal, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, Wi-Max), other be used for mail, instant messaging and short message association View, and any other suitable communications protocol, or even may include that those are not developed currently yet The agreement come.
Locating module 112 is used to obtain the current location of mobile terminal.The example of locating module 112 Including but not limited to GPS (GPS), based on WLAN or mobile logical Believe the location technology of net.
Photographing module 114 is used to shoot photo or video.The photo or video of shooting can be deposited In storage to first memory 102, and can be sent by radio-frequency module 110.
Audio-frequency module 116 provides a user with COBBAIF, its may include one or more microphones, One or more loudspeaker and voicefrequency circuit.Audio-frequency module 116 connects from Peripheral Interface 108 Voice data is received, voice data is converted into power information, power information is transmitted to loudspeaker.Raise one's voice Power information is converted to the sound wave that human ear can be heard by device.Voicefrequency circuit receives telecommunications also from microphone Breath, converts electrical signals to voice data, and by data transmission in network telephony to Peripheral Interface 108 with It is further processed.Voice data can be from first memory 102 or by radio frequency mould Block 110 is obtained.Additionally, voice data can also be stored into first memory 102 or passed through Radio-frequency module 110 is transmitted.In some instances, audio-frequency module 116 may also include an ear Machine sowing hole, for providing COBBAIF to earphone or miscellaneous equipment.
Touch Screen 118 provides an output and inputting interface simultaneously between mobile terminal and user. Touch Screen 118 is used to show video frequency output to user that the content of these video frequency outputs to may include text Word, figure, video and its any combination.Touch Screen 118 is additionally operable to receive the input of user, The gesture operations such as click, the slip of such as user, so that user interface object is to the defeated of these users Enter to respond.Detect user input technology can be based on resistance-type, condenser type or other Any possible touch control detection technology.The instantiation of the display unit of Touch Screen 118 include but simultaneously It is not limited to liquid crystal display or light emitting polymer displays.
Key-press module 120 equally provides the interface that is input into mobile terminal of user, and user can be with By pressing different buttons so that mobile terminal performs different functions.
Fig. 2 shows a kind of structured flowchart of the server 20 used in the embodiment of the present invention.As schemed Shown in 2, server 20 include one or more (one is only shown in figure) second processing devices 202, Second memory 204 and transport module 206.It will appreciated by the skilled person that figure Structure shown in 2 is only to illustrate, and it does not cause to limit to the structure of server 20.For example, clothes Business device 20 may also include components more more than shown in Fig. 2 or less, or with Fig. 2 Shown different configuration.
Second memory 204 can be used to store software program and module, such as in the embodiment of the present invention The corresponding programmed instruction/module of electricity saving method, second processing device 202 by run storage second Software program and module in memory 204, so as to perform at various function application and data Reason, that is, realize above-mentioned electricity saving method.Second memory 204 may include random second storage of high speed Device, may also include non-volatile second memory, such as one or more magnetic storage device, sudden strain of a muscle Deposit or other nonvolatile solid state second memories.In some instances, second memory 204 The second memory remotely located relative to second processing device 202 can be further included, these are long-range Second memory can be by network connection to electronic installation 100.The example of above-mentioned network include but It is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Transport module 206 is used to that data to be received or sent via a network.Above-mentioned network tool Body example may include cable network and wireless network.In an example, transport module 206 includes One network adapter (Network Interface Controller, NIC), its can by netting twine with Other network equipments are connected with router so as to be communicated with internet.In an example, Transport module 206 is radio frequency (Radio Frequency, RF) module, and it is used for by wireless parties Formula and all right communication of mobile terminal.
First embodiment
The flow chart of the electricity saving method that Fig. 3 is provided for first embodiment.Electricity saving method can apply to Mobile terminal, mobile terminal can be, but not limited to be mobile phone, panel computer etc., as shown in figure 3, The method is comprised the following steps:
Step S301:The power consumption data of each application program in mobile terminal is obtained, and by power consumption Data is activation is to server.
Wherein it is possible to but be not limited to periodic (such as every a hour) and obtain each application The power consumption data of program.Power consumption data is obtained to can be, but not limited to use dumpsys batterystats Obtain.
Wherein it is possible to but after being not limited to periodically to obtain the power consumption data of each application program, i.e., When power consumption data is sent to server, it is also possible to will obtain power consumption data storage storage be situated between In matter, and when storing the number of times of power consumption data and reaching pre-determined number (such as six times), in the lump by this The power consumption data of six times is sent to server.
Wherein it is possible to but be not limited by HTTP (Hyper Text Transfer Protocal, HTTP) power consumption data is sent to server.
Wherein, power consumption data can be, but not limited to include:Use the time or use positioning that wake up lock The time of system and the timeslice or its combination of number of times or occupancy central processing unit.Wherein, timeslice Refer to time that CPU distributes to each program, each thread is allocated a time period, referred to as it Timeslice.Certainly it will be appreciated by those skilled in the art that, power consumption data can also include Downloading flow of application program etc. energy reactive applications program uses certain module or the number of power consumption total amount According to etc..
Preferably, power consumption data at least include using wake up lock time, using alignment system when Between and number of times, take central processing unit timeslice.
Step S302:The reception server formulates the province exported after abnormal power consumption standard according to power consumption data Electric strategy.
Wherein, abnormal power consumption standard is formulated according to power consumption data.That is, abnormal power consumption standard One or more data that can be chosen in power consumption data carry out corresponding unusual determination.
Preferably, abnormal power consumption standard can be, but not limited to include reach the using the time for waking up lock One threshold time uses the time of alignment system more than the second threshold time or uses positioning system The number of times of system reaches the 5th threshold values more than the timeslice of the 3rd threshold values number of times or occupancy central processing unit Time.Certainly it will be appreciated by those skilled in the art that, abnormal power consumption standard setting be other Whether the downloading flow of standard such as application program exceedes setting value etc..
Wherein, power saving strategy can be, but not limited to comprise the following steps:
Mobile terminal be in without converse and the screen that goes out state when, if the first application program meets exception Power consumption standard, and mobile terminal go out screen time more than the 6th threshold time, then judge first application Whether program is important procedure;
If the first application program is important procedure, the power consumption of the application program of user first is reminded;
If the first application program is not important procedure, the first application program out of service.
Further, power saving strategy can with but be not limited to include:It is in without call in mobile terminal And during the state of the screen that goes out, if the first application program meets abnormal power consumption standard, and mobile terminal goes out screen Time not less than the 6th threshold time, then record the execution journal of the first application program.
Further, power saving strategy can with but be not limited to include:Perform the cycle of power saving strategy. Power saving strategy of execution in such as every ten minutes etc..
Further, power saving strategy be additionally may included in mobile terminal be in without converse and the screen that goes out shape During state, if the first application program does not meet abnormal power consumption standard, holding for the first application program is recorded Row daily record or mobile terminal be in call or the non-screen that goes out state when, record the first application program Execution journal etc..
Step S303:Parse and run power saving strategy.
Specifically, mobile terminal is by power saving policy resolution into the code that can be performed, and according to above-mentioned Power saving strategy, performs corresponding step.
Above-mentioned electricity saving method, exports after formulating abnormal power consumption standard according to power consumption data using server Power saving strategy, therefore need update power saving strategy when the power saving strategy in server need to only be entered Row modification, and the overall code of mobile terminal need not be changed, operation can be improved while power saving Convenience.
Second embodiment
The electricity saving method flow chart that Fig. 4 is provided for second embodiment.Electricity saving method as shown in Figure 4 The step of S401, S402, S403 and Fig. 3 shown in electricity saving method the step of S301, S302, S303 is identical, will not be repeated here, wherein, electricity saving method as shown in Figure 4 also includes:
Step S404:The daily record of power saving strategy execution is recorded, and the daily record of power saving strategy execution is sent out Server is delivered to, to cause that server optimizes power saving strategy according to the daily record of power saving strategy execution.
Specifically, server can not meet that (such as power saving result does not reach in power saving effect and expection To in expection) when, can be, but not limited to change power saving strategy according to execution journal, such as modification is saved The threshold values of certain object of the Anomaly standard in electric strategy is (such as using the time of wake-up lock by exceeding Be revised as more than 2 minutes within 3 minutes), and/or increase Anomaly standard in object number (for example increase Plus the flow that application program is used is more than 1M), and/or implementing result under certain decision condition (for example by mobile terminal be in without converse and the screen that goes out state when, if the first application program meets Abnormal power consumption standard, and mobile terminal go out screen time not less than the 6th threshold time, then perform knot Fruit is revised as first application program out of service etc. by the execution journal for recording the first application program).
Above-mentioned electricity saving method, exports after formulating abnormal power consumption standard according to power consumption data using server Power saving strategy, therefore need update power saving strategy when the power saving strategy in server need to only be entered Row modification, and the overall code of mobile terminal need not be changed, operation can be improved while power saving Convenience, and power saving strategy can be optimized according to the execution journal of power saving strategy, flexibility is high, And help further to lift power saving effect.
3rd embodiment
The electricity saving method flow chart that Fig. 5 is provided for 3rd embodiment.Electricity saving method is applied to server, As shown in figure 5, electricity saving method includes:
Step S501:Receive the power consumption data of each application program that mobile terminal sends.
Wherein, power consumption data can be, but not limited to include:Use the time or use positioning that wake up lock The time of system and the timeslice or its combination of number of times or occupancy central processing unit.Wherein, timeslice Refer to time that CPU distributes to each program, each thread is allocated a time period, referred to as it Timeslice.Certainly it will be appreciated by those skilled in the art that, power consumption data can also include Downloading flow of application program etc. energy reactive applications program uses certain module or the number of power consumption total amount According to etc..
Preferably, power consumption data at least include using wake up lock time, using alignment system when Between and number of times, take central processing unit timeslice.
Step S502:After formulating abnormal power consumption standard according to power consumption data, power saving strategy to shifting is sent Dynamic terminal, to cause that mobile terminal is parsed and runs power saving strategy.
Wherein, abnormal power consumption standard is formulated according to power consumption data.That is, abnormal power consumption standard One or more data that can be chosen in power consumption data carry out corresponding unusual determination.
Preferably, abnormal power consumption standard can be, but not limited to include reach the using the time for waking up lock One threshold time uses the time of alignment system more than the second threshold time or uses positioning system The number of times of system reaches the 5th threshold values more than the timeslice of the 3rd threshold values number of times or occupancy central processing unit Time.Certainly it will be appreciated by those skilled in the art that, abnormal power consumption standard setting be other Whether the downloading flow of standard such as application program exceedes setting value etc..
Wherein, power saving strategy can be, but not limited to comprise the following steps:
Mobile terminal be in without converse and the screen that goes out state when, if the first application program meets exception Power consumption standard, and mobile terminal go out screen time more than the 6th threshold time, then judge first application Whether program is important procedure;
If the first application program is important procedure, the power consumption of the application program of user first is reminded;
If the first application program is not important procedure, the first application program out of service.
Further, power saving strategy can with but be not limited to include:It is in without call in mobile terminal And during the state of the screen that goes out, if the first application program meets abnormal power consumption standard, and mobile terminal goes out screen Time not less than the 6th threshold time, then record the execution journal of the first application program.
Further, power saving strategy can with but be not limited to include:Perform the cycle of power saving strategy. Power saving strategy of execution in such as every ten minutes etc..
Further, power saving strategy be additionally may included in mobile terminal be in without converse and the screen that goes out shape During state, if the first application program does not meet abnormal power consumption standard, holding for the first application program is recorded Row daily record or mobile terminal be in call or the non-screen that goes out state when, record the first application program Execution journal etc..
Specifically, mobile terminal can by power saving policy resolution into the code that can be performed, and according to Above-mentioned power saving strategy, performs corresponding step.
Above-mentioned electricity saving method, exports after formulating abnormal power consumption standard according to power consumption data using server Power saving strategy, therefore need update power saving strategy when the power saving strategy in server need to only be entered Row modification, and the overall code of mobile terminal need not be changed, operation can be improved while power saving Convenience.
Fourth embodiment
The electricity saving method flow chart that Fig. 6 is provided for fourth embodiment.Electricity saving method as shown in Figure 6 Essentially identical with electricity saving method shown in Fig. 5, difference is only in that electricity saving method also includes:
Step S603:Receive the daily record of the power saving strategy execution of mobile terminal records.
Step S604:Daily record optimization power saving strategy according to power saving strategy execution.
Specifically, server can not meet that (such as power saving result does not reach in power saving effect and expection To in expection) when, can be, but not limited to change power saving strategy according to execution journal, such as modification is saved The threshold values of certain object of the Anomaly standard in electric strategy is (such as using the time of wake-up lock by exceeding Be revised as more than 2 minutes within 3 minutes), and/or increase Anomaly standard in object number (for example increase Plus the flow that application program is used is more than 1M), and/or implementing result under certain decision condition (for example by mobile terminal be in without converse and the screen that goes out state when, if the first application program meets Abnormal power consumption standard, and mobile terminal go out screen time not less than the 6th threshold time, then perform knot Fruit is revised as first application program out of service etc. by the execution journal for recording the first application program).
Above-mentioned electricity saving method, exports after formulating abnormal power consumption standard according to power consumption data using server Power saving strategy, therefore need update power saving strategy when the power saving strategy in server need to only be entered Row modification, and the overall code of mobile terminal need not be changed, operation can be improved while power saving Convenience, and power saving strategy can be optimized according to the execution journal of power saving strategy, flexibility is high, And help further to lift power saving effect.
5th embodiment
The electricity saving method flow chart that Fig. 7 is provided for the 5th embodiment.Fig. 8 is province as shown in Figure 7 The applied environment schematic diagram of method for electrically.Fig. 9 is the time diagram of electricity saving method as shown in Figure 7. Fig. 7, Fig. 8 and Fig. 9 are please also refer to, a kind of electricity saving method is applied to mobile terminal 801 with clothes Between business device 802, electricity saving method comprises the following steps:
Step S701:Mobile terminal 801 obtains the consumption of each application program in mobile terminal 801 Electric data, and power consumption data is sent to server 802.
Wherein, mobile terminal 801 can be, but not limited to periodically (such as every a hour) Obtain the power consumption data of each application program.Power consumption data is obtained to can be, but not limited to use Dumpsys batterystats are obtained.
Wherein, mobile terminal 801 can be, but not limited to periodically obtain the consumption of each application program After electric data, instant sends power consumption data to server 802, it is also possible to the power consumption that will be obtained Data storage stores the number of times of power consumption data and reaches pre-determined number (such as six in storage medium It is secondary) when, this six times power consumption data is sent to server 802 in the lump.
Wherein, mobile terminal 801 can be, but not limited to by HTTP (Hyper Text Transfer Protocal, HTTP) power consumption data is sent to server 802.
Wherein, power consumption data can be, but not limited to include:Use the time or use positioning that wake up lock The time of system and the timeslice or its combination of number of times or occupancy central processing unit.Wherein, timeslice Refer to time that CPU distributes to each program, each thread is allocated a time period, referred to as it Timeslice.Certainly it will be appreciated by those skilled in the art that, power consumption data can also include Downloading flow of application program etc. energy reactive applications program uses certain module or the number of power consumption total amount According to etc..
Preferably, power consumption data at least include using wake up lock time, using alignment system when Between and number of times, take central processing unit timeslice.
Step S702:Server 802 formulates the province exported after abnormal power consumption standard according to power consumption data It is electric tactful to mobile terminal 801.
Wherein, abnormal power consumption standard is formulated according to power consumption data.That is, abnormal power consumption standard One or more data that can be chosen in power consumption data carry out corresponding unusual determination.
Preferably, abnormal power consumption standard can be, but not limited to include reach the using the time for waking up lock One threshold time uses the time of alignment system more than the second threshold time or uses positioning system The number of times of system reaches the 5th threshold values more than the timeslice of the 3rd threshold values number of times or occupancy central processing unit Time.Certainly it will be appreciated by those skilled in the art that, abnormal power consumption standard setting be other Whether the downloading flow of standard such as application program exceedes setting value etc..
Wherein, power saving strategy can be, but not limited to comprise the following steps:
Mobile terminal 801 be in without converse and the screen that goes out state when, if the first application program meets Abnormal power consumption standard, and mobile terminal 801 go out screen time more than the 6th threshold time, then judge Whether the first application program is important procedure;
If the first application program is important procedure, the power consumption of the application program of user first is reminded;
If the first application program is not important procedure, the first application program out of service.
Further, power saving strategy can with but be not limited to include:Nothing is in mobile terminal 801 Converse and go out screen state when, if the first application program meets abnormal power consumption standard, and mobile terminal 801 go out screen time not less than the 6th threshold time, then record the execution journal of the first application program.
Further, power saving strategy can with but be not limited to include:Perform the cycle of power saving strategy. Power saving strategy of execution in such as every ten minutes etc..
Further, power saving strategy is additionally may included in mobile terminal 801 and is in without conversing and the screen that goes out State when, if the first application program does not meet abnormal power consumption standard, record the first application program Execution journal or mobile terminal 801 be in call or the non-screen that goes out state when, record first Execution journal of application program etc..
Step S703:Mobile terminal 801 runs power saving strategy after receiving power saving strategy, and parsing.
Specifically, mobile terminal 801 is by power saving policy resolution into the code that can be performed, and according to Above-mentioned power saving strategy, performs corresponding step.
Further, electricity saving method can also comprise the following steps:
The daily record that section 801 records power saving strategy execution is reviewed in movement, and by the day of power saving strategy execution Will is sent to server 802;
Server 802 optimizes power saving strategy according to the daily record of power saving strategy execution.
Specifically, server 802 can not meet (such as power saving result in power saving effect with expection Not up in expection) when, can be, but not limited to change power saving strategy according to execution journal, for example repair The threshold values for changing certain object of the Anomaly standard in power saving strategy (will for example use the time for waking up lock Be revised as more than 2 minutes by more than 3 minutes), and/or increase Anomaly standard in object number (example Such as increase flow that application program uses more than 1M), and/or execution under certain decision condition As a result (for example by mobile terminal 801 be in without converse and the screen that goes out state when, if first application Program meets abnormal power consumption standard, and mobile terminal 801 go out screen time not less than six threshold values when Between, then implementing result by record the first application program execution journal be revised as out of service first should With program) etc..
Above-mentioned electricity saving method, after formulating abnormal power consumption standard according to power consumption data using server 802 The power saving strategy of output, therefore only need to be to the province in server 802 when needing to update power saving strategy Electric strategy is modified, and need not change the code of the entirety of mobile terminal 801, can be in the same of power saving When, the convenience of operation is improved, and execution journal that can further according to power saving strategy optimizes Power saving strategy, flexibility is high, and helps further to lift power saving effect.
Sixth embodiment
The structured flowchart of the mobile terminal that Figure 10 is provided for sixth embodiment.As shown in Figure 10, move Dynamic terminal include data acquisition module 1001, data transmission blocks 1002, Policy receipt module 1003, Policy enforcement module 1004.
Wherein, acquisition module is used to obtain the power consumption data of each application program in mobile terminal. Data transmission blocks 1002 are used to send power consumption data to server.Policy receipt module 1003 For the power saving strategy that the reception server sends.Policy enforcement module 1004 is used to parse and run province Electric strategy.
Further, mobile terminal can with but be not limited to include that daily record feedback module (does not show in figure Go out).Daily record feedback module is used to for the daily record for performing power saving strategy to feed back to server.
In addition the concrete structure of mobile terminal of the invention can also refer to Fig. 1, then this is repeated no more.
Above-mentioned mobile terminal, after the reception server formulates abnormal power consumption standard according to the power consumption data The power saving strategy of output, and corresponding power saving strategy is performed, therefore when needing to update power saving strategy The power saving strategy in server need to only be modified, and the overall code of mobile terminal need not be changed, While power saving, the convenience of operation can be improved.
7th embodiment
The structured flowchart of the server that Figure 11 is provided for the 7th embodiment.As shown in figure 11, service After device is used for the power consumption data of each application program for receiving mobile terminal transmission, according to power consumption data Abnormal power consumption standard is formulated, and sends power saving strategy to mobile terminal, to cause that mobile terminal is parsed And run power saving strategy.
Server includes data reception module 1101, tactful generation module 1102, tactful sending module 1103.Data reception module 1101 is used for the power consumption of each application program for receiving mobile terminal transmission Data.Tactful generation module 1102 is used to produce province after formulating abnormal power consumption standard according to power consumption data Electric strategy.Tactful sending module 1103 is used to send power saving strategy to mobile terminal.
Further, server can be also used for receiving the day of mobile terminal records power saving strategy execution Will, and power saving strategy is optimized according to the daily record of power saving strategy execution.
In addition the concrete structure of mobile terminal of the invention can also refer to Fig. 2, then this is repeated no more.
Above-mentioned server, the power saving plan exported after abnormal power consumption standard is formulated according to the power consumption data Omit, and perform corresponding power saving strategy, therefore only need to be to server when needing to update power saving strategy In power saving strategy modify, and the overall code of mobile terminal need not be changed, can be in power saving Meanwhile, improve the convenience of operation.
8th embodiment
The structured flowchart of the electricity-saving system that Figure 12 is provided for the 8th embodiment.Such as Figure 12, power saving system System includes mobile terminal 1 201 and server 1202.
Mobile terminal 1 201 is used to obtain the power consumption data of each application program, and power consumption data is sent out Deliver to server 1202;
Server 1202 is used to be formulated according to power consumption data the power saving plan exported after abnormal power consumption standard Slightly to mobile terminal 1 201, so that mobile terminal 1 201 is parsed and runs power saving strategy.
Further, mobile terminal 1 201 can be also used for recording the daily record of power saving strategy execution, and The daily record of power saving strategy execution is sent to server 1202.Server 1202 is additionally operable to according to province The daily record optimization power saving strategy of electric strategy execution.
Above-mentioned electricity-saving system, the power saving exported after abnormal power consumption standard is formulated according to the power consumption data Strategy, and corresponding power saving strategy is performed, therefore only need to be to service when needing to update power saving strategy Power saving strategy in device is modified, and need not change the overall code of mobile terminal, can be in power saving While, improve the convenience of operation.
It should be noted that each embodiment in this specification is described by the way of progressive, What each embodiment was stressed is the difference with other embodiments, between each embodiment Identical similar part mutually referring to.For device class embodiment, due to itself and method Embodiment is substantially similar, so description is fairly simple, referring to the portion of embodiment of the method in place of correlation Defend oneself bright.
It should be noted that herein, such as first and second or the like relational terms are only For an entity or operation are made a distinction with another entity or operation, and not necessarily require Or imply between these entities or operation there is any this actual relation or order.And, Term " including ", "comprising" or its any other variant be intended to including for nonexcludability, from And the process, method, article or the device that include a series of key elements is not only included those key elements, But also other key elements including being not expressly set out, or also include for this process, method, Article or the intrinsic key element of device.In the absence of more restrictions, by sentence " including It is individual ... " limit key element, it is not excluded that in the process including key element, method, article or device In also there is other identical element.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can To be completed by hardware, it is also possible to instruct the hardware of correlation to complete by program, described journey Sequence can be stored in a kind of computer-readable recording medium, and storage medium mentioned above can be Read-only storage, disk or CD etc..
More than, only it is presently preferred embodiments of the present invention, not make any formal to the present invention Limitation, although the present invention is disclosed above with preferred embodiment, but is not limited to this hair It is bright, any those skilled in the art, without departing from the scope of the present invention, when A little change is made using the technology contents of the disclosure above or be modified to the equivalence enforcement of equivalent variations Example, as long as being without departing from technical solution of the present invention content, according to technical spirit of the invention to the above Any simple modification, equivalent variations and modification that embodiment is made, still fall within the technology of the present invention side In the range of case.

Claims (20)

1. a kind of electricity saving method, is applied to mobile terminal, it is characterised in that the electricity saving method bag Include:
Obtain the power consumption data of each application program in the mobile terminal, and by the power consumption number According to transmission to server;
Receive the server and the power saving exported after abnormal power consumption standard is formulated according to the power consumption data Strategy;
Parse and run the power saving strategy.
2. electricity saving method as claimed in claim 1, it is characterised in that the electricity saving method is also wrapped Include:
The daily record of the power saving strategy execution is recorded, and the daily record of the power saving strategy execution is sent To server, to cause that the server optimizes the province according to the daily record of the power saving strategy execution Electric strategy.
3. electricity saving method as claimed in claim 1, it is characterised in that the power consumption data includes: Use time, the time using alignment system and the number of times and occupancy central processing unit that wake up lock Timeslice.
4. electricity saving method as claimed in claim 3, it is characterised in that the abnormal power consumption standard Including reaching the first threshold time using the time for waking up lock or being exceeded using time of alignment system Second threshold time is central more than the 3rd threshold values number of times or occupancy using the number of times of alignment system The timeslice of processor reaches the 5th threshold time.
5. the electricity saving method as described in claim 1 or 2 or 4, it is characterised in that the power saving Strategy includes:
The mobile terminal be in without converse and the screen that goes out state when, if the first application program meets The abnormal power consumption standard, and the mobile terminal go out screen time more than the 6th threshold time, then Judge whether first application program is important procedure;
If first application program is important procedure, the first application program described in user is reminded Power consumption;
If first application program is not important procedure, first application program out of service.
6. electricity saving method as claimed in claim 5, it is characterised in that the power saving strategy is also wrapped Include:Mobile terminal be in without converse and the screen that goes out state when, if the first application program meets described Abnormal power consumption standard, and the mobile terminal go out screen time not less than the 6th threshold time, then remember Record the execution journal of first application program.
7. electricity saving method as claimed in claim 6, it is characterised in that the power saving strategy is also Including:Perform the cycle of the power saving strategy.
8. a kind of electricity saving method, is applied to server, it is characterised in that the electricity saving method includes:
Receive the power consumption data of each application program that mobile terminal sends;
After formulating abnormal power consumption standard according to the power consumption data, power saving strategy to the movement is sent Terminal, to cause that the mobile terminal is parsed and runs the power saving strategy.
9. electricity saving method as claimed in claim 8, it is characterised in that the electricity saving method is also wrapped Include:
Receive the daily record of the power saving strategy execution of the mobile terminal records;
Daily record according to the power saving strategy execution optimizes the power saving strategy.
10. electricity saving method as claimed in claim 8, it is characterised in that the power consumption data bag Include:Use time, the time using alignment system and the number of times and occupancy centre that wake up lock Manage the timeslice of device.
11. electricity saving methods as claimed in claim 10, it is characterised in that the abnormal power consumption mark Standard includes reaching the first threshold time using the time for waking up lock or uses the time of alignment system to surpass In crossing the second threshold time or using the number of times of alignment system more than the 3rd threshold values number of times or take The timeslice of central processor reaches the 5th threshold time.
12. electricity saving method as described in claim 8 or 9 or 11, it is characterised in that the province Electric strategy includes:
The mobile terminal be in without converse and the screen that goes out state when, if the first application program meets The abnormal power consumption standard, and the mobile terminal go out screen time more than the 6th threshold time, then Judge whether first application program is important procedure;
If first application program is important procedure, the first application program described in user is reminded Power consumption;
If first application program is not important procedure, first application program out of service.
13. electricity saving methods as claimed in claim 12, it is characterised in that the power saving strategy is also Including:Mobile terminal be in without converse and the screen that goes out state when, if the first application program meets institute State abnormal power consumption standard, and the mobile terminal go out screen time not less than the 6th threshold time, then Record the execution journal of first application program.
14. electricity saving methods as claimed in claim 13, it is characterised in that the power saving strategy Also include:Perform the cycle of the power saving strategy.
A kind of 15. electricity saving methods, are applied between mobile terminal and server, it is characterised in that The electricity saving method includes:
Obtain the power consumption data of each application program in the mobile terminal, and by the power consumption number According to transmission to server;
According to the power saving strategy exported after the abnormal power consumption standard of power consumption data formulation to the movement Terminal;
The power saving strategy is run after receiving the power saving strategy, and parsing.
16. electricity saving methods as claimed in claim 15, it is characterised in that the electricity saving method is also Including:
The daily record of the power saving strategy execution is recorded, and the daily record of the power saving strategy execution is sent To server;
Daily record according to the power saving strategy execution optimizes the power saving strategy.
17. a kind of servers, it is characterised in that the server is used to receive mobile terminal transmission After the power consumption data of each application program, abnormal power consumption standard is formulated according to the power consumption data, and Power saving strategy to the mobile terminal is sent, to cause that the mobile terminal is parsed and runs the province Electric strategy.
18. servers as claimed in claim 17, it is characterised in that the server is additionally operable to The daily record of power saving strategy execution described in the mobile terminal records is received, and according to the power saving strategy The daily record of execution optimizes the power saving strategy.
19. a kind of electricity-saving systems, it is characterised in that the electricity-saving system includes mobile terminal and service Device;
The mobile terminal is used to obtaining the power consumption data of each application program, and by the power consumption number According to transmission to server;
The server is used to be formulated according to the power consumption data power saving exported after abnormal power consumption standard Strategy to the mobile terminal so that the mobile terminal is parsed and runs the power saving strategy.
20. electricity-saving systems as claimed in claim 19, it is characterised in that:
The mobile terminal is additionally operable to record the daily record of the power saving strategy execution, and by the power saving The daily record of strategy execution is sent to server;
The server is additionally operable to optimize the power saving strategy according to the daily record of the power saving strategy execution.
CN201510802267.7A 2015-11-18 2015-11-18 Power saving method, server and power saving system Active CN106708240B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510802267.7A CN106708240B (en) 2015-11-18 2015-11-18 Power saving method, server and power saving system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510802267.7A CN106708240B (en) 2015-11-18 2015-11-18 Power saving method, server and power saving system

Publications (2)

Publication Number Publication Date
CN106708240A true CN106708240A (en) 2017-05-24
CN106708240B CN106708240B (en) 2023-02-10

Family

ID=58932874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510802267.7A Active CN106708240B (en) 2015-11-18 2015-11-18 Power saving method, server and power saving system

Country Status (1)

Country Link
CN (1) CN106708240B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107589822A (en) * 2017-08-23 2018-01-16 深圳市沃特沃德股份有限公司 Electricity-saving control method, device and mobile terminal
CN107844189A (en) * 2017-10-30 2018-03-27 东莞市金铭电子有限公司 A kind of method, system, terminal and computer-readable recording medium for reducing blank screen power consumption
CN108541013A (en) * 2018-03-29 2018-09-14 广东欧珀移动通信有限公司 Information processing method, device, mobile terminal and computer readable storage medium
CN111385859A (en) * 2020-02-28 2020-07-07 北京九州云动科技有限公司 Terminal power consumption detection optimization method and device
CN112184072A (en) * 2020-10-28 2021-01-05 中国联合网络通信集团有限公司 Machine room equipment management method and device
CN113778214A (en) * 2021-09-15 2021-12-10 广州点金石信息技术有限公司 Power saving optimization method and device, mobile terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037108A (en) * 2012-12-10 2013-04-10 乐蛙科技(上海)有限公司 Power saving method for smart mobile terminal
US20130179973A1 (en) * 2012-01-10 2013-07-11 O2Micro, Inc. Detecting status of an application program running in a device
CN104166615A (en) * 2014-08-08 2014-11-26 可牛网络技术(北京)有限公司 Method, device, server and mobile terminal for determining power consumption condition of third party application program
CN104298335A (en) * 2013-07-19 2015-01-21 贝壳网际(北京)安全技术有限公司 Application program process cleaning method and device of mobile terminal and mobile terminal
CN104375624A (en) * 2014-12-11 2015-02-25 北京奇虎科技有限公司 Mobile terminal and power saving suggestion method for same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130179973A1 (en) * 2012-01-10 2013-07-11 O2Micro, Inc. Detecting status of an application program running in a device
CN103037108A (en) * 2012-12-10 2013-04-10 乐蛙科技(上海)有限公司 Power saving method for smart mobile terminal
CN104298335A (en) * 2013-07-19 2015-01-21 贝壳网际(北京)安全技术有限公司 Application program process cleaning method and device of mobile terminal and mobile terminal
CN104166615A (en) * 2014-08-08 2014-11-26 可牛网络技术(北京)有限公司 Method, device, server and mobile terminal for determining power consumption condition of third party application program
CN104375624A (en) * 2014-12-11 2015-02-25 北京奇虎科技有限公司 Mobile terminal and power saving suggestion method for same

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107589822A (en) * 2017-08-23 2018-01-16 深圳市沃特沃德股份有限公司 Electricity-saving control method, device and mobile terminal
CN107844189A (en) * 2017-10-30 2018-03-27 东莞市金铭电子有限公司 A kind of method, system, terminal and computer-readable recording medium for reducing blank screen power consumption
CN108541013A (en) * 2018-03-29 2018-09-14 广东欧珀移动通信有限公司 Information processing method, device, mobile terminal and computer readable storage medium
CN108541013B (en) * 2018-03-29 2022-06-10 Oppo广东移动通信有限公司 Information processing method, device, mobile terminal and computer readable storage medium
CN111385859A (en) * 2020-02-28 2020-07-07 北京九州云动科技有限公司 Terminal power consumption detection optimization method and device
CN112184072A (en) * 2020-10-28 2021-01-05 中国联合网络通信集团有限公司 Machine room equipment management method and device
CN112184072B (en) * 2020-10-28 2023-07-25 中国联合网络通信集团有限公司 Machine room equipment management method and device
CN113778214A (en) * 2021-09-15 2021-12-10 广州点金石信息技术有限公司 Power saving optimization method and device, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN106708240B (en) 2023-02-10

Similar Documents

Publication Publication Date Title
CN106708240A (en) Power saving method, server and power saving system
CN106033337B (en) A kind of instant messaging emoticon generation method and device
CN103490466B (en) Battery electric quantity shares method, device and server
CN104735671A (en) Malicious call recognition method and device
CN107426806B (en) Method and device for transmitting data by Internet of things terminal
CN103024131A (en) Bluetooth function control method of mobile terminal and mobile terminal
CN106657528A (en) Incoming call management method and device
CN107371221B (en) Select method, apparatus, mobile terminal and the readable storage medium storing program for executing of network
CN104333643B (en) Add the method for contact person, system and terminal
CN111416412B (en) Charging control method and device and terminal equipment
CN107171412B (en) Dynamic adjusts method, apparatus, mobile terminal and the storage medium of charging current
CN107466033B (en) Register method, device, mobile terminal and the storage medium of IMS
CN109922539B (en) Network connection method and related product
CN106123910A (en) Step-recording method based on mobile terminal and step count set
CN107360332A (en) Talking state display methods, device, mobile terminal and storage medium
CN106793010B (en) Network access method and equipment
CN107608720A (en) Using the display methods of footmark, device, mobile terminal and storage medium
CN107948055A (en) Shielding group members send out the method, apparatus and computer-readable recording medium of message
CN104935361A (en) Method and device for communication between Bluetooth headset and mobile terminal
CN107124351A (en) A kind of mobile terminal Notification Method and system based on wearable device
CN105704106B (en) A kind of visualization IVR implementation method and mobile terminal
CN106331258A (en) Call methods, call apparatus and call system
CN106294707A (en) A kind of countdown information output intent and device
CN104219372B (en) Adjust the method and device of backlight brightness
CN106713171A (en) Server and delay-queue-based current-limiting protection system and method

Legal Events

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