CN106612539A - Power consumption control method - Google Patents

Power consumption control method Download PDF

Info

Publication number
CN106612539A
CN106612539A CN201611249437.4A CN201611249437A CN106612539A CN 106612539 A CN106612539 A CN 106612539A CN 201611249437 A CN201611249437 A CN 201611249437A CN 106612539 A CN106612539 A CN 106612539A
Authority
CN
China
Prior art keywords
data
processor
speed
power consumption
scene
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
CN201611249437.4A
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.)
Shanghai Wind Communication Technologies Co Ltd
Shanghai Yude Information Technology Co Ltd
Original Assignee
Shanghai Yude Information 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 Shanghai Yude Information Technology Co Ltd filed Critical Shanghai Yude Information Technology Co Ltd
Priority to CN201611249437.4A priority Critical patent/CN106612539A/en
Publication of CN106612539A publication Critical patent/CN106612539A/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
    • 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
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/26TPC being performed according to specific parameters using transmission rate or quality of service QoS [Quality of Service]
    • H04W52/267TPC being performed according to specific parameters using transmission rate or quality of service QoS [Quality of Service] taking into account the information rate
    • 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 invention relates to the technical field of electronic equipment, and discloses a power consumption control method and device. The power consumption control method applied to a terminal comprises that a data downloading parameter which comprises a data downloading speed at least is obtained; a present downloading scene is determined according to the data downloading parameter; and according to present downloading scene, a work state of a processor is adjusted automatically till that a balance is made between the work state of the processor and the data downloading speed. In a high-speed downloading scene, the amount of activated processors is adjusted at least; and in a low-speed downloading scene, the working frequency of the processor adjusted. According to the invention, the present downloading scene is determined according to the obtained data downloading parameter, the work state of the processor is adjusted automatically according to the downloading scene, and a balance is made between the work state and the data downloading speed; and thus, the downloading speed is ensured while the power consumption is reduced.

Description

Power consumption control method and device
Technical field
The present invention relates to technical field of electronic equipment, more particularly to power consumption control method and device.
Background technology
Nowadays, with Internet technology and electronic equipment hardware processing procedure, the continuous lifting of technique, network is uploaded and downloaded Speed become more and more faster.Under plurality of application scenes, the load time of data is shortened, so as to improve the work of people Efficiency and experience.
At present, in order to lift disposal ability, its processor can be designed as being internally integrated multiple tools in processor mobile terminal There is the kernel of complete computation engine, constitute polycaryon processor.Multiple kernels can respectively process different tasks or multiple interior The nuclear coordination same task of process, the balanced network bandwidth simultaneously improves network utilization.But, when mobile terminal is under data During the scene of load, it will usually open multiple kernels and lift speeds of download, and the kernel opened is more and operating frequency of kernel Higher, the power consumption of mobile terminal is also bigger, and compared to non-data scene is downloaded, and power consumption is higher by 60%~70%, so serious Affect the stand-by time of mobile terminal.For the stand-by time for reducing power consumption, extending mobile terminal, conventional design is to move During the scene that terminal is downloaded in data, solved by the operating frequency for reducing processor and the quantity for reducing unlatching kernel This problem, but the speed of network download so can be affected again, while reducing the overall performance of mobile terminal.
The content of the invention
The purpose of embodiment of the present invention is to provide a kind of power consumption control method and device so that the work shape of processor State is automatically adjusted to poised state with data downloading speed, not only can ensure that downloading rate but also can reduce power consumption.
To solve above-mentioned technical problem, embodiments of the present invention provide a kind of power consumption control method, and the method includes:
Obtain data download parameters;Wherein, data download parameters at least include data downloading speed;
Judge current download scene according to data download parameters;
According to current download scene, the working condition of processor is automatically adjusted, until the working condition and number of processor According to downloading rate in lasting poised state;
Wherein, when in high-speed downloads scene, the processor quantity of activation is at least adjusted;
When scene is downloaded in low speed, the operating frequency of processor is adjusted.
The mode of the present invention additionally provides a kind of power consumption control apparatus, and the device includes:Acquisition module, judge module and Adjustment module;
Acquisition module, for obtaining data download parameters;Wherein, data download parameters at least include data downloading speed;
Judge module, for judging current download scene according to data download parameters;
Adjustment module, for according to current download scene, the working condition of processor being automatically adjusted, until processor Working condition reaches poised state with data downloading speed;
Wherein, when in high-speed downloads scene, the processor quantity of activation is at least adjusted;
When scene is downloaded in low speed, the operating frequency of processor is adjusted.
In terms of existing technologies, embodiments of the present invention download ginseng to embodiment of the present invention by the data for obtaining Number judges current download scene, and automatically adjusts the working condition of processor according to current download scene so as to data Downloading rate is continuously in poised state, not only can ensure that downloading rate but also can reduce power consumption.
In addition, obtaining downloading data total amount;When estimating download with current data downloading speed according to downloading data total amount Between;When the download time estimated is more than default threshold value, TCP acknowledgment response frequency, then the process for performing adjustment activation are first reduced The step of device quantity.Reducing TCP acknowledgment response frequency can further lift data speed of download, when downloading so as to shorten data Between.
In addition, when in high-speed downloads scene, after the processor quantity of adjustment activation, power consumption control method is also wrapped Include:Whether the working condition of decision processor can be continuously in poised state with data downloading speed;When the work of processor When state can not be continuously in poised state with data downloading speed, the operating frequency of processor is further adjusted, so as to enter one Step ensure that the working condition of processor is at lasting poised state with data downloading speed.
In addition, before data download parameters are obtained, power consumption control method also includes:Whether detection terminal is in charging shape State;When detecting terminal and being not at charged state, the step of obtaining data download parameters is performed, so avoid to work as terminal In charged state when, if adjustment processor and affect processor process other tasks processing speed so that affect user's body The problem tested.
In addition, data download parameters also include following any one or combination:Network environment, signal quality, so can be with The step-length of the processor quantity of activation or the operating frequency of processor is adjusted according to the data such as signal quality download parameters so that Terminal can quickly be adjusted to the working condition of processor and data downloading speed is in lasting poised state.
Description of the drawings
One or more embodiments are illustrative by the picture in corresponding accompanying drawing, and these are exemplary Illustrate not constitute the restriction to embodiment, the element with same reference numbers label is expressed as similar element in accompanying drawing, Unless there are especially statement, composition is not limited the figure in accompanying drawing.
Fig. 1 is the partial process view according to power consumption control method in first embodiment of the invention;
Fig. 2 is the idiographic flow schematic diagram according to power consumption control method in first embodiment of the invention;
Fig. 3 is the flow chart according to power consumption control method in second embodiment of the invention;
Fig. 4 is the flow chart according to power consumption control method in third embodiment of the invention;
Fig. 5 is the flow chart according to power consumption control method in four embodiment of the invention;
Fig. 6 is the structural representation according to power consumption control apparatus in fifth embodiment of the invention;
Fig. 7 is the structural representation according to power consumption control apparatus in sixth embodiment of the invention;
Fig. 8 is the structural representation according to power consumption control apparatus in seventh embodiment of the invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with each reality of the accompanying drawing to the present invention The mode of applying is explained in detail.However, it will be understood by those skilled in the art that in each embodiment of the invention, In order that reader more fully understands the application and proposes many ins and outs.But, even if without these ins and outs and base Many variations and modification in following embodiment, it is also possible to realize the application technical scheme required for protection.
The first embodiment of the present invention is related to a kind of power consumption control method, and idiographic flow is as shown in Figure 1.It includes:
Step 101, obtains data download parameters.
Specifically, when data download beginning, terminal can obtain data download parameters, and the data download parameters are at least wrapped Data downloading speed is included, terminal can judge current download scene according to initial data speed of download.And, data are downloaded Parameter can also be that network environment, signal quality etc. be a kind of or various combinations of these data download parameters, by these numbers Judge that current data download scene according to the comprehensive reference of download parameters.By taking signal quality and data downloading speed as an example:Signal Used as the auxiliary reference amount of data download parameters, when signal quality is preferable, terminal can increase the processor of adjustment activation to quality The step-length of quantity or processor working frequency, the processor quantity that activation is reduced when such as once adjusting rises to 2 by 1; Or the operating frequency of reduction processor rises to reduction 200HZ by 100HZ is reduced.So can be according to data such as signal qualitys The step-length of the processor quantity of download parameters adjustment activation or the operating frequency of processor so that terminal can be more quick It is adjusted to the working condition of processor and the poised state of data downloading speed.And data download parameters are not limited to this embodiment party Data download parameters cited in formula.
Step 102, according to data download parameters current download scene is judged.
Specifically, in the present embodiment, data download scene includes that low speed downloads scene and high-speed downloads scene, eventually End can judge that current data download scene according to data download parameters.
For example, data download parameters can be data downloading speed.When terminal only judges current by data downloading speed Download scene when, terminal can preset a data downloading speed threshold value, when current data downloading speed is more than or equal to default Data downloading speed threshold value when, terminal can judge now terminal be in high-speed downloads scene;When current data downloading speed During less than default data downloading speed threshold value, terminal will judge that now terminal downloads scene in low speed.
Step 103, according to current download scene, automatically adjusts the working condition of processor, until the work of processor State is continuously in poised state with data downloading speed.
Specifically, terminal can be according to current download scene, the quantity of adjust automatically active processor, the work of processor The working condition of working frequency or TCP responses frequency and then regulation processor, until working condition and the data of processor are downloaded Speed is continuously in poised state.In the equilibrium situation, the power consumption of processor operation generation is relatively low and ensure that initial Data downloading speed.
Can be that data downloading speed is a kind of with data download parameters in present embodiment, and such as mentioned by judgement Whether data downloading speed is concrete as shown in flow process Fig. 2 more than or equal to being described in detail as a example by preset data downloading rate, It is specifically included:
Step 1011, obtains data downloading speed.
Whether step 1021, judge data downloading speed more than or equal to preset data downloading rate, in this way, execution step 1031, otherwise, execution step 1041.
Specifically, when current data downloading speed is more than or equal to default data downloading speed threshold value, terminal Can be determined that now terminal is in high-speed downloads scene;When current data downloading speed is less than default data downloading speed threshold During value, terminal is it is determined that now terminal downloads scene in low speed.
Step 1031, into low speed scene, the operating frequency of adjust automatically processor are downloaded.
Specifically, the operating frequency of processor is higher, and the ability of process task is also stronger, you can be interpreted as data The speed of download is also faster, while occurring that the power consumption produced with the rising of operating frequency is also more.It is whole when judging End in low speed download scene when, processor does not need of a relatively high operating frequency, under this scene, in order to both can be with The requirement of low speed download is completed while reducing power consumption, the operating frequency of processor can be gradually lowered.With processor work frequency Rate be gradually lowered and processor operating frequency it is relatively low to a certain numerical value when, data download speed can be affected, i.e., When data downloading speed reduces and be approximately equal to the initial data downloading speed (data i.e. before the operating frequency of adjustment processor Downloading rate), processor can keep current operating frequency to carry out the task of data download.And, under this scene, terminal The operating frequency of processor can be first dropped to less operating frequency numerical value, judge terminal in the state of this operating frequency Data downloading speed, when data downloading speed now be less than initial data downloading speed when, the work of callback processor Frequency, data downloading speed during real-time monitoring readjustment, until data downloading speed is slightly larger than or equal to initial data During downloading rate, the task that processor can carry out data download with current operating frequency.But, present embodiment is in low When speed downloads scene, the operating frequency that processor is adjusted in which way does not do any restriction, and those skilled in the art can be with root According to practical situation sweetly disposition.
Step 1041, into high-speed downloads scene, at least the processor quantity of adjust automatically activation.
Specifically, when network signal and preferable network environment, terminal can enter into height when data download is carried out Speed downloads scene and is downloaded data, and now, processor can just realize high-speed downloads with relatively low operating frequency.Here Under scene, in order to further reduce power consumption, extend terminal stand-by time, while do not lose more processor performance not only but also Initial data downloading speed is can ensure that, terminal can be realized by reducing the processor quantity of activation, with activation The reduction of processor quantity, the speed that data are downloaded may be affected, but still can be at high-speed downloads scene.Such as: Terminal can gradually decrease the processor quantity of activation, if when data downloading speed reduces and be reduced to initial data download When more than 90% (or 95% etc.) of speed, the data downloading speed and the processor quantity of activation that terminal can be current is carried out The task that data are downloaded;Otherwise, the processor quantity of terminal readjustment activation.And, under this scene, terminal can also be reduced first The processor of more multiple activation, judges terminal data downloading speed in the case, and the data downloading speed when now is less than During initial data downloading speed, the processor quantity of activation is adjusted back, data downloading speed during real-time monitoring readjustment, until Data downloading speed slightly larger than either equal to initial data downloading speed or initial data downloading speed 90% (or 95% etc.) when more than, with the task that the processor quantity of current data downloading speed and activation carries out data download.But It is that present embodiment adjusts in which way the processor quantity and above-mentioned numerical value of activation to being in during high-speed downloads scene Citing should not regard the restriction to protection scope of the present invention as, and those skilled in the art can be according to practical situation sweetly disposition.
Step 1051, until working condition and the data downloading speed of processor are continuously in poised state.
Specifically, poised state can be understood as:Terminal when carrying out data and downloading, as far as possible with relatively low work frequency Rate and less operation processor can just complete the task that the different data downloaded under scene are downloaded, that is, ensure that downloading rate Also power consumption is controlled.
Compared with prior art, embodiments of the present invention judge current download field by the data download parameters for obtaining Scape, and the working condition of processor is automatically adjusted according to current download scene so as to data downloading speed reaching balance State, realizes the purpose that not only can ensure that downloading rate but also can reduce power consumption.
Second embodiment of the present invention is related to a kind of power consumption control method.Second embodiment is to first embodiment Improvement, mainly the improvement is that:In second embodiment of the present invention, carry at high speeds in scene, when processor When working condition can not be continuously in poised state with data downloading speed, the operating frequency of processor can be further adjusted, So as to the working condition for further ensuring processor is at lasting poised state with data downloading speed.
The flow process of present embodiment is as shown in figure 3, it includes:
Step 201, obtains data downloading speed.
Whether step 202, judge data downloading speed more than or equal to preset data downloading rate, in this way, execution step 203, otherwise, execution step 204.
Step 203, into low speed scene, the operating frequency of adjust automatically processor are downloaded.
Step 204, into high-speed downloads scene, the processor quantity of adjust automatically activation.
Whether step 205, working condition and the data downloading speed of decision processor can be continuously in poised state, if It is, process ends, otherwise, execution step 206.
Specifically, processor can carry out the process of multiple tasks, and when high-speed data downloads scene, terminal can be Ensure to be adjusted on the premise of other tasks are unaffected the processor quantity of activation to control power consumption.When the processor of adjustment activation After quantity, terminal can not be with initial data downloading speed or the change in initial data downloading speed smaller range Speed downloading data when, the also just working condition of the explanation processor now and data downloading speed also not up to shape of balance State.Processor quantity of the operating frequency compared to adjustment activation due to adjusting processor, the loss that the performance of processor is come It is less, so when the processor quantity for continuing to adjust activation can affect other tasks to process or current data downloading speed phase When changing greatly compared with initial download speed, processor can also continue to further be dropped by adjusting the operating frequency of processor Power consumption when low data are downloaded.
Step 206, the operating frequency of adjust automatically processor returns afterwards execution step 205 and continues decision processor Whether working condition can be continuously in poised state with data downloading speed.
Specifically, in this step 206, operating frequency and the first embodiment step 1031 of adjust automatically processor In entrance low speed download scene, the method for the operating frequency of adjust automatically processor is identical, will not be described here.
Compared with prior art, embodiments of the present invention judge current download field by the data download parameters for obtaining Scape, and the working condition of processor is automatically adjusted according to current download scene so as to it is continuously in data downloading speed flat Weighing apparatus state, realizes the purpose that not only can ensure that downloading rate but also can reduce power consumption.
Third embodiment of the present invention is related to a kind of power consumption control method.3rd embodiment is to second embodiment Improvement, mainly the improvement is that:In third embodiment of the present invention, before the processor quantity of adjustment activation, Download time can also be estimated, data speed of download can be further lifted by reducing TCP acknowledgment response frequency, so as to shorten Data download time.
The flow process of present embodiment is as shown in figure 4, it includes:
Step 301, obtains data downloading speed.
Whether step 302, judge data downloading speed more than or equal to preset data downloading rate, in this way, into step 303, otherwise, into step 304.
Step 303, into low speed scene, the operating frequency of adjust automatically processor are downloaded.
Step 304, during into high-speed downloads scene, obtains downloading data total amount.
Specifically, when judging that terminal enters high-speed downloads scene, terminal can obtain first data total amount, the data Total amount refers to the size of data file, for example:When terminal will download one section of video, the file that this section of video can be obtained first is big Little, such as the file size of the video can be 800MB or 2G.
Step 305, download time is estimated according to downloading data total amount with current data downloading speed.
Specifically, terminal will estimate download time according to the total amount of downloading data and current data downloading rate.Example Such as:As above, terminal will download one section of video, and the file size for obtaining the video is 2G, and current downloading rate For 1MB per second, processor will estimate download time needs 2408 seconds, it can be seen that download according to current downloading rate One section of video probably needs the time of 40 minutes, and download time is longer.
Whether step 306, judge the download time estimated more than default threshold value.In this way, execution step 307, otherwise, hold Row step 308.
Specifically, terminal can in advance be directed to the threshold value of set of time one, when according to downloading data total amount and current data After downloading rate estimates download time, judge the download time estimated whether more than default threshold value.For example:Processor it is default Threshold value can be 10 minutes, and as previously described, and the download time that processor is estimated probably needs 40 minutes, and processor will Reduce the response frequency of TCP, otherwise the processor quantity of adjust automatically activation.
Step 307, reduces TCP acknowledgment response frequency.
Specifically, Transmission Control Protocol inside provides the ACK authentication mechanisms of acquiescence, and ACK verification modes and operating system It is relevant.In Transmission Control Protocol, when terminal from network side receiving data, need to confirm data, confirmation receive data it Confirmation message can be naturally also sent afterwards.During this TCP acknowledgment, if TCP acknowledgment response frequency is higher, can direct shadow Ring the speed that real time data is downloaded.That is, within the identical unit interval, carrying out data download with same speed, such as Fruit TCP acknowledgment response frequency is higher, and the data file total amount downloaded within the unit interval is less, so as to show in the case, Data downloading speed is relatively low;And TCP acknowledgment response frequency it is relatively low when, within the unit interval download data file total amount it is more, So as to show that in the case, data downloading speed is of a relatively high.It is appreciated that by above-mentioned analysis:The confirmation for reducing TCP should Answering frequency can effectively lift data downloading speed.Data downloading speed after adjusting is more than initial data downloading speed. It should be noted that because the time of data download is longer, data being lifted by reducing the confirmation response frequency of TCP and downloading speed Rate, thus the operating frequency for follow-up further reduction processor or reduces the processor quantity of more activation provide can Can property, within relatively long download time, processor is as far as possible with relatively low operating frequency or small number of activation Processor works, and thus can further realize reducing the purpose of power consumption in the case where data downloading speed is ensured.
Step 308, the processor quantity of adjust automatically activation.
Whether step 309, working condition and the data downloading speed of decision processor can be continuously in poised state, if It is, process ends, otherwise, execution step 310.
If it is determined that it should be noted that the download time estimated is more than default threshold value and reduces TCP acknowledgment response frequently Degree, then the data downloading speed in this step is to reduce the data downloading speed after TCP acknowledgment response frequency.Because reducing After TCP acknowledgment response frequency, data downloading speed will be lifted, it should judgement be processor working condition with lifted after Data downloading speed whether can be continuously in poised state.
Step 310, the operating frequency of adjust automatically processor, the work of the decision processor of the continuation of return to step 309 afterwards Whether state can be continuously in poised state with data downloading speed.
Compared with prior art, embodiments of the present invention judge current download field by the data download parameters for obtaining Scape, and the working condition of processor is automatically adjusted according to current download scene so as to data downloading speed reaching balance State, realizes the purpose that not only can ensure that downloading rate but also can reduce power consumption.
4th embodiment of the present invention is related to a kind of power consumption control method.4th embodiment is to the 3rd embodiment Improvement, mainly the improvement is that:In the 4th embodiment of the present invention, before data download parameters are obtained, detection Whether terminal is in charged state, so avoids when terminal is in charged state, if adjusting processor at impact Reason device processes the processing speed of other tasks and then affects the problem of Consumer's Experience.
The flow process of present embodiment is as shown in figure 4, it includes:
Whether step 401, detection terminal is in charged state, in this way, execution step 402, and otherwise, execution step 403.
By external power source it is in the process particularly terminal that is, when terminal is when data downloading task is carried out Power supply, terminal can be without downloading the measure for taking any control power consumption for data, and terminal can be according to current network rings Border, holding processor working condition now, according to current data downloading speed downloading data.This is done because and work as terminal In charged state when, external power source is that its electricity being filled with is far longer than the control electricity saved of power consumption measure.And, During this, the measure of control power consumption is such as taken, i.e., when terminal-pair processor is operated the adjustment of state, can also be caused Processor declines to the processing speed of other tasks, affects Consumer's Experience.It is advantageous to, can be with charged state in terminal The working condition of processor is not adjusted.
Step 402, according to current data downloading speed downloading data.
Specifically, terminal is on the premise of keeping current processor working state constant, according to current extranets Network environment, network quality obtaining downloading rate, and according to current data downloading speed downloading data.
Step 403, obtains data downloading speed.
Whether step 404, judge data downloading speed more than or equal to preset data downloading rate, in this way, into step 405, otherwise, into step 406.
Step 405, into low speed scene, the operating frequency of adjust automatically processor are downloaded.
Step 406, during into high-speed downloads scene, obtains downloading data total amount.
Step 407, download time is estimated according to downloading data total amount with current data downloading speed.
Whether step 408, judge the download time estimated more than default threshold value.In this way, execution step 409, otherwise, hold Row step 410.
Step 409, reduces TCP acknowledgment response frequency.
Step 410, the processor quantity of adjust automatically activation.
Whether step 411, working condition and the data downloading speed of decision processor can be continuously in poised state, if It is, process ends, otherwise, execution step 412.
Step 412, the operating frequency of adjust automatically processor, under the working condition and data of decision processor is continued afterwards Carry whether speed can be continuously in poised state.
Compared with prior art, embodiments of the present invention judge current download field by the data download parameters for obtaining Scape, and the working condition of processor is automatically adjusted according to current download scene so as to data downloading speed reaching balance State, realizes the purpose that not only can ensure that downloading rate but also can reduce power consumption.
Above the step of various methods divide, be intended merely to description it is clear, can merge into when realizing a step or Some steps are split, multiple steps are decomposed into, as long as comprising identical logical relation, all in the protection domain of this patent It is interior;To either adding inessential modification in algorithm in flow process or introducing inessential design, but its algorithm is not changed With the core design of flow process all in the protection domain of the patent.
Fifth embodiment of the invention is related to a kind of power consumption control apparatus 500, as shown in fig. 6, including:First acquisition module 501st, the first judge module 502 and adjustment module 503.
First acquisition module 501, for obtaining data download parameters;Wherein, data download parameters are at least included under data Carry speed.
First judge module 502, for judging current download scene according to data download parameters.
Adjustment module 503, for according to current download scene, automatically adjusting the working condition of processor, until processing The working condition of device reaches poised state with data downloading speed;
Wherein, when in high-speed downloads scene, the processor quantity of activation is at least adjusted;
When scene is downloaded in low speed, the operating frequency of processor is adjusted.
Compared with prior art, embodiments of the present invention judge current download field by the data download parameters for obtaining Scape, and the working condition of processor is automatically adjusted according to current download scene so as to data downloading speed reaching balance State, realizes the purpose that not only can ensure that downloading rate but also can reduce power consumption.
It is seen that, present embodiment is the device embodiment corresponding with first embodiment, and present embodiment can be with First embodiment is worked in coordination enforcement.The relevant technical details mentioned in first embodiment still have in the present embodiment Effect, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in In first embodiment.
It is noted that each module involved in present embodiment is logic module, in actual applications, one Individual logical block can be a part for a physical location, or a physical location, can be with multiple physics lists The combination of unit is realized.Additionally, the innovative part in order to project the present invention, will not be with solution institute of the present invention in present embodiment The unit that the technical problem relation of proposition is less close is introduced, but this is not intended that in present embodiment there are no other lists Unit.
Sixth embodiment of the invention is related to a kind of power consumption control apparatus 600, as shown in Figure 7.6th implements to be to the 5th The improvement of embodiment, mainly thes improvement is that:In the 6th embodiment of the present invention, power consumption control apparatus also include: Second acquisition module 604, estimation module 605, the second judge module 606, the 3rd judge module 607.
First acquisition module 601, for obtaining data download parameters;Wherein, data download parameters are at least included under data Carry speed.
First judge module 602, for judging current download scene according to data download parameters.
Second acquisition module 604, for when in high-speed downloads scene, before the processor quantity of adjustment activation, Obtain downloading data total amount.
Estimation module 605, for estimating download time with current data downloading speed according to downloading data total amount.
Second judge module 606, for judging the download time estimated whether more than default threshold value;
Adjustment module 603, is additionally operable to judge that the download time estimated is more than default threshold in second judge module 604 During value, TCP acknowledgment response frequency is first reduced, then perform the step of adjusting the processor quantity for activating.
3rd judge module 607, for when in high-speed downloads scene, after the processor quantity of adjustment activation, Whether the working condition of decision processor can be continuously in poised state with data downloading speed.
Adjustment module 603, is additionally operable to be downloaded with data in the working condition of the decision processor of the 3rd judge module 607 When speed can not be continuously in poised state, the further operating frequency of adjustment processor, until processor working condition with Data downloading speed reaches poised state.
Compared with prior art, embodiments of the present invention judge current download field by the data download parameters for obtaining Scape, and the working condition of processor is automatically adjusted according to current download scene so as to data downloading speed reaching balance State, realizes the purpose that not only can ensure that downloading rate but also can reduce power consumption.
It is seen that, present embodiment is the device embodiment corresponding with the 3rd embodiment, and present embodiment can be with 3rd embodiment is worked in coordination enforcement.The relevant technical details mentioned in 3rd embodiment still have in the present embodiment Effect, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in In 3rd embodiment.
Seventh embodiment of the invention is related to a kind of power consumption control apparatus 700, as shown in Figure 8.7th implements to be to the 6th The improvement of embodiment, mainly thes improvement is that:In the 7th embodiment of the present invention, power consumption control apparatus also include inspection Survey module 708.
Detection module 708, for before data download parameters are obtained, whether detection terminal is in charged state, and When detecting terminal and being not at charged state, the first acquisition module 701 is triggered.
First acquisition module 701, for obtaining data download parameters;Wherein, data download parameters are at least included under data Carry speed.
First judge module 702, for judging current download scene according to data download parameters.
Second acquisition module 704, for when in high-speed downloads scene, before the processor quantity of adjustment activation, Obtain downloading data total amount.
Estimation module 705, for estimating download time with current data downloading speed according to downloading data total amount.
Second judge module 706, for judging the download time estimated whether more than default threshold value;
Adjustment module 703, is additionally operable to judge that the download time estimated is more than default threshold in second judge module 704 During value, TCP acknowledgment response frequency is first reduced, then perform the step of adjusting the processor quantity for activating.
3rd judge module 707, for when in high-speed downloads scene, after the processor quantity of adjustment activation, Whether the working condition of decision processor can be continuously in poised state with data downloading speed.
Adjustment module 703, is additionally operable to be downloaded with data in the working condition of the decision processor of the 3rd judge module 707 When speed can not be continuously in poised state, the further operating frequency of adjustment processor, until processor working condition with Data downloading speed reaches poised state.
Compared with prior art, embodiments of the present invention judge current download field by the data download parameters for obtaining Scape, and the working condition of processor is automatically adjusted according to current download scene so as to data downloading speed reaching balance State, realizes the purpose that not only can ensure that downloading rate but also can reduce power consumption.
It is seen that, present embodiment is the device embodiment corresponding with the 4th embodiment, and present embodiment can be with 4th embodiment is worked in coordination enforcement.The relevant technical details mentioned in 4th embodiment still have in the present embodiment Effect, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in In 4th embodiment.
It will be appreciated by those skilled in the art that realizing that all or part of step in above-described embodiment method can be by Program is completed to instruct the hardware of correlation, and the program storage is in a storage medium, including some instructions are used so that one Individual equipment (can be single-chip microcomputer, chip etc.) or processor (processor) perform the application each embodiment methods described All or part of step.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize the specific embodiment of the present invention, And in actual applications, can in the form and details to it, various changes can be made, without departing from the spirit and scope of the present invention.

Claims (9)

1. a kind of power consumption control method, it is characterised in that be applied to terminal;The power consumption control method includes:
Obtain data download parameters;Wherein, the data download parameters at least include data downloading speed;
Judge current download scene according to the data download parameters;
According to the current download scene, the working condition of processor is automatically adjusted, until the working condition of the processor Poised state is continuously in the data downloading speed;
Wherein, when in high-speed downloads scene, the processor quantity of activation is at least adjusted;
When scene is downloaded in low speed, the operating frequency of processor is adjusted.
2. power consumption control method according to claim 1, it is characterised in that when in high-speed downloads scene, in adjustment Before the processor quantity of activation, the power consumption control method also includes:
Obtain downloading data total amount;
Download time is estimated according to the downloading data total amount and current data downloading speed;
When the download time estimated default threshold value is more than, TCP acknowledgment response frequency is first reduced, then perform adjustment activation Processor quantity the step of.
3. power consumption control method according to claim 1 and 2, it is characterised in that when in high-speed downloads scene, is adjusting After the processor quantity of whole activation, the power consumption control method also includes:
Whether the working condition and the data downloading speed for judging the processor can be continuously in poised state;
When the working condition of the processor can not be continuously in poised state with the data downloading speed, further adjustment The operating frequency of processor.
4. power consumption control method according to claim 1, it is characterised in that before the acquisition data download parameters, The power consumption control method also includes:
Whether detection terminal is in charged state;
When detecting terminal and being not at charged state, the step of perform the acquisition data download parameters.
5. power consumption control method according to claim 1, it is characterised in that the data download parameters also include following Meaning is a kind of or combines:
Network environment, signal quality.
6. a kind of power consumption control apparatus, it is characterised in that include:First acquisition module, the first judge module and adjustment module;
First acquisition module, for obtaining data download parameters;Wherein, the data download parameters are at least included under data Carry speed;
First judge module, for judging current download scene according to the data download parameters;
The adjustment module, for according to the current download scene, the working condition of processor being automatically adjusted, until described The working condition of processor reaches poised state with the data downloading speed;
Wherein, when in high-speed downloads scene, the processor quantity of activation is at least adjusted;
When scene is downloaded in low speed, the operating frequency of processor is adjusted.
7. power consumption control apparatus according to claim 6, it is characterised in that the power consumption control apparatus also include:Second Acquisition module, estimation module and the second judge module;
Second acquisition module, is additionally operable to when in high-speed downloads scene, before the processor quantity of adjustment activation, obtain Take downloading data total amount;
The estimation module, for estimating download time according to the downloading data total amount and current data downloading speed;
Second judge module, for judging the download time estimated whether more than default threshold value;
The adjustment module, is additionally operable to judge that the download time estimated is more than default threshold value in second judge module When, TCP acknowledgment response frequency is first reduced, then perform the step of adjusting the processor quantity for activating.
8. power consumption control apparatus according to claim 6 or 7, it is characterised in that the power consumption control apparatus also include:The Three judge modules;
3rd judge module, for when in high-speed downloads scene, after the processor quantity of adjustment activation, judges Whether the working condition of the processor can be continuously in poised state with the data downloading speed;
The adjustment module, is additionally operable in the case where the 3rd judge module judges the working condition of the processor and the data When load speed can not be continuously in poised state, the operating frequency of processor is further adjusted.
9. power consumption control apparatus according to claim 6, it is characterised in that the power consumption control apparatus also include detection mould Block;
The detection module, for before the acquisition data download parameters, whether detection terminal to be in charged state;And When detecting terminal and being not at charged state, first acquisition module is triggered.
CN201611249437.4A 2016-12-30 2016-12-30 Power consumption control method Pending CN106612539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611249437.4A CN106612539A (en) 2016-12-30 2016-12-30 Power consumption control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611249437.4A CN106612539A (en) 2016-12-30 2016-12-30 Power consumption control method

Publications (1)

Publication Number Publication Date
CN106612539A true CN106612539A (en) 2017-05-03

Family

ID=58636447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611249437.4A Pending CN106612539A (en) 2016-12-30 2016-12-30 Power consumption control method

Country Status (1)

Country Link
CN (1) CN106612539A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110248400A (en) * 2019-06-17 2019-09-17 Oppo广东移动通信有限公司 A kind of determining method, terminal and computer storage medium
CN111913802A (en) * 2020-07-17 2020-11-10 烽火通信科技股份有限公司 Multi-node server power consumption control method and system
WO2023273855A1 (en) * 2021-06-29 2023-01-05 中兴通讯股份有限公司 Power consumption control method and apparatus for onu, and electronic device and storage medium
CN116033083A (en) * 2023-01-05 2023-04-28 深圳市杰之龙通信技术有限公司 Automatic power consumption adjusting method, device and system for single access robot

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1207640A2 (en) * 2000-10-19 2002-05-22 Altima Communications, Inc. Method and apparatus for reducing clock speed and power consumption
CN102215481A (en) * 2011-07-14 2011-10-12 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and resource downloading method
CN105357401A (en) * 2015-11-18 2016-02-24 广东欧珀移动通信有限公司 Power saving method and device of multi-core mobile terminal
CN105867582A (en) * 2015-12-31 2016-08-17 乐视移动智能信息技术(北京)有限公司 Frequency modulation parameter adjustment method and apparatus, frequency modulator, and mobile terminal
CN106020990A (en) * 2016-06-30 2016-10-12 宇龙计算机通信科技(深圳)有限公司 Control method for central processing unit and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1207640A2 (en) * 2000-10-19 2002-05-22 Altima Communications, Inc. Method and apparatus for reducing clock speed and power consumption
CN102215481A (en) * 2011-07-14 2011-10-12 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and resource downloading method
CN105357401A (en) * 2015-11-18 2016-02-24 广东欧珀移动通信有限公司 Power saving method and device of multi-core mobile terminal
CN105867582A (en) * 2015-12-31 2016-08-17 乐视移动智能信息技术(北京)有限公司 Frequency modulation parameter adjustment method and apparatus, frequency modulator, and mobile terminal
CN106020990A (en) * 2016-06-30 2016-10-12 宇龙计算机通信科技(深圳)有限公司 Control method for central processing unit and terminal equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110248400A (en) * 2019-06-17 2019-09-17 Oppo广东移动通信有限公司 A kind of determining method, terminal and computer storage medium
CN110248400B (en) * 2019-06-17 2021-11-02 Oppo广东移动通信有限公司 Determination method, terminal and computer storage medium
CN111913802A (en) * 2020-07-17 2020-11-10 烽火通信科技股份有限公司 Multi-node server power consumption control method and system
CN111913802B (en) * 2020-07-17 2022-09-30 烽火通信科技股份有限公司 Multi-node server power consumption control method and system
WO2023273855A1 (en) * 2021-06-29 2023-01-05 中兴通讯股份有限公司 Power consumption control method and apparatus for onu, and electronic device and storage medium
CN116033083A (en) * 2023-01-05 2023-04-28 深圳市杰之龙通信技术有限公司 Automatic power consumption adjusting method, device and system for single access robot
CN116033083B (en) * 2023-01-05 2023-10-31 深圳市杰之龙通信技术有限公司 Automatic power consumption adjusting method, device and system for single access robot

Similar Documents

Publication Publication Date Title
CN106612539A (en) Power consumption control method
CN104375618A (en) Power management method, power management device and electronic device
CN103686876B (en) The method and a kind of electronic equipment of a kind of information processing
CN108419025A (en) A kind of exposure parameter method of adjustment, device and readable medium
CN103945478A (en) Cell reselection method and mobile terminal
US20090213734A1 (en) Packet transmission device
CN107463435A (en) Application process priority management method, apparatus, storage medium and electronic equipment
CN108223277A (en) A kind of wind power generating set method for enhancing power and relevant device
CN112020098A (en) Load balancing method and device, computing equipment and computer storage medium
CN103197754B (en) A kind of method and apparatus that reduces chip power-consumption
CN111655000A (en) Electronic equipment heat dissipation method and device and storage medium
CN107257146A (en) A kind of wireless charging method and wireless charging router based on charging priority
CN106034210A (en) Image editing method and image editing device
CN107046309A (en) A kind of charging method and device for automatically adjusting charging current
CN106385716A (en) Interface rate adjusting method and device of mobile industry processor
CN111277173A (en) Motor starting control method and device, electrical equipment and storage medium
CN107139740A (en) Power regulating method and device
CN109217386B (en) Automatic power generation control method and system and terminal equipment
CN109109019A (en) Electrification control method, device, storage medium and the electronic device of robot
EP4310840A1 (en) Echo cancellation method and apparatus, device, and storage medium
CN116231787A (en) Charging and discharging control method and device, terminal equipment and storage medium
CN109839525A (en) A kind of overpower protection method and protective device for electronic load
CN106034182A (en) Method, device and terminal for controlling electric quantity loss
CN104778930B (en) A kind of control method of liquid crystal display
CN112612221A (en) Intelligent control platform and method applying SPI communication

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170503