CN109168190A - A kind of power consumption control method and device - Google Patents
A kind of power consumption control method and device Download PDFInfo
- Publication number
- CN109168190A CN109168190A CN201811012750.5A CN201811012750A CN109168190A CN 109168190 A CN109168190 A CN 109168190A CN 201811012750 A CN201811012750 A CN 201811012750A CN 109168190 A CN109168190 A CN 109168190A
- Authority
- CN
- China
- Prior art keywords
- power consumption
- cpu
- memory
- parameter
- self
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The embodiment of the invention provides a kind of power consumption control method and devices, this method comprises: obtaining the first power consumption parameter of the memory;If first power consumption parameter meets the first preset condition, power consumption inhibition processing is carried out to the CPU.The embodiment of the present invention monitors the power consumption situation of memory, so that, as long as the power consumption of memory is larger, also can be carried out the power consumption inhibition processing corresponding to CPU, so that the power consumption of mobile terminal be effectively reduced even if the power consumption of CPU is smaller.
Description
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of power consumption control method and device.
Background technique
With the development of mobile terminal technology, people increasingly improve the dependence of mobile terminal.People are using movement
When terminal, mobile terminal needs to handle every affairs by modes such as operations, mobile terminal when calculate or other affairs,
It usually will cause power consumption.
In the prior art, the power consumption situation of usual monitoring CPU, when only CPU power consumption is larger, just by inhibiting the portion CPU
Divide the mode of performance, reduces power consumption.
It is found by the applicant that above-mentioned technical proposal has the following disadvantages: that the power consumption of CPU merely causes the one of mobile terminal power consumption
Part, the prior art only have CPU power consumption it is larger when, just inhibit CPU part performance, however also have other modules in mobile terminal
Larger power consumption is brought, power consumption inhibition cannot be carried out in time in the prior art, so that reducing the effect that mobile terminal power consumption is played
It is unobvious.
Summary of the invention
The embodiment of the present invention provides a kind of power consumption control method and device, with solve mobile terminal power consumption it is larger when, it is existing
Mode be difficult to the problem of power consumption is effectively reduced.
In order to solve the above-mentioned technical problems, the present invention provides a kind of power consumption control methods, are applied to mobile terminal, described
Mobile terminal includes memory, CPU;
The described method includes:
Obtain the first power consumption parameter of the memory;
If first power consumption parameter meets the first preset condition, power consumption inhibition processing is carried out to the CPU.
The embodiment of the invention also provides a kind of power consumption control apparatus, are applied to mobile terminal, and the mobile terminal includes
Memory, CPU;Described device includes:
First obtains module, for obtaining the first power consumption parameter of the memory;
First execution module carries out power consumption to the CPU if meeting the first preset condition for first power consumption parameter
Inhibition processing.
The embodiment of the present invention still further provides a kind of mobile terminal, including processor, memory and is stored in described deposit
On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor
The step of power consumption control method above-mentioned.
The embodiment of the present invention still further provides a kind of computer readable storage medium, the computer readable storage medium
The step of upper storage computer program, the computer program realizes power consumption control method above-mentioned when being executed by processor.
In the embodiment of the present invention, the first power consumption parameter of memory is obtained, and meet first in the first power consumption parameter and preset
When condition, power consumption inhibition processing is carried out to CPU.That is the power consumption situation of monitoring of embodiment of the present invention memory, so that even if the function of CPU
Consumption is smaller, as long as the power consumption of memory is larger, also can be carried out the power consumption inhibition processing corresponding to CPU, to be effectively reduced mobile whole
The power consumption at end.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of power consumption control method of the embodiment of the present invention one;
Fig. 2 is a kind of specific steps flow chart of power consumption control method of the embodiment of the present invention two;
Fig. 3 is a kind of memory temperature power consumption relation schematic diagram of the embodiment of the present invention two;
Fig. 4 is a kind of memory register parameter schematic diagram of the embodiment of the present invention two;
Fig. 5 is a kind of structural block diagram of power consumption control apparatus of apparatus of the present invention embodiment three;
Fig. 6 is a kind of specific block diagram of power consumption control apparatus of apparatus of the present invention embodiment three;
Fig. 7 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
[embodiment of the method one]
Referring to Fig.1, the step flow chart of one of embodiment of the present invention power consumption control method is shown.This method application
In mobile terminal, mobile terminal includes memory and CPU, and specific steps include:
Step 101: obtaining the first power consumption parameter of the memory.
In embodiments of the present invention, mobile terminal includes but is not limited to mobile phone, tablet computer, laptop, palm electricity
Brain, car-mounted terminal, wearable device and pedometer etc..
In concrete application, memory can be DRAM, and (Dynamic Random Access Memory, dynamic randon access are deposited
Reservoir), the temperature of the metal-oxide-semiconductor (metal oxide semiconductor, field effect transistor) on DRAM in operation can be by
Gradually rising, the temperature of metal-oxide-semiconductor will increase power consumption after rising, and therefore, the first power consumption parameter can be the current temperature value of memory,
It can be used for reflecting that the parameter of power consumption of internal memory, the embodiment of the present invention are not specifically limited the first power consumption parameter for other.
Step 102: if first power consumption parameter meets the first preset condition, power consumption inhibition processing being carried out to the CPU.
In the embodiment of the present invention, the first preset condition can be determined according to the particular content of the first power consumption parameter, with
In step 101 first power consumption parameter be memory current temperature value for, the first power consumption parameter meets the first preset condition can be with
Are as follows: the current temperature value of memory is greater than default memory temperature value;It is appreciated that those skilled in the art can be according to practical feelings
Condition determines the particular content of the first preset condition, so that if the first power consumption parameter meets the first preset condition, it is believed that memory
Power consumption it is excessive, execute and operation inhibited to the power consumption of CPU.
In concrete application, power consumption is carried out to CPU, processing is inhibited specifically to can be, close the operation in CPU without operation
The working frequency of CPU is perhaps adjusted to CPU lowest operating frequency or the operating voltage of CPU is adjusted to CPU most by unit
Low-work voltage, or above-mentioned three kinds of situation any combination are inhibited into CPU power consumption, those skilled in the art can also be according to reality
Application scenarios, determine the concrete operations that power consumption inhibition is carried out to CPU, and the embodiment of the present invention is not particularly limited this.
In the embodiment of the present invention, the first power consumption parameter of memory is obtained, and meet first in the first power consumption parameter and preset
When condition, power consumption inhibition processing is carried out to CPU.That is the power consumption situation of monitoring of embodiment of the present invention memory, so that even if the function of CPU
Consumption is smaller, as long as the power consumption of memory is larger, also can be carried out and inhibits operation corresponding to the power consumption of CPU, to be effectively reduced mobile whole
The power consumption at end.
[embodiment of the method two]
Referring to Fig. 2, the specific steps flow chart of one of embodiment of the present invention power consumption control method is shown.It is applied to
Mobile terminal, mobile terminal include memory and CPU, and specific steps include:
Step 201: obtaining the self-refresh frequency of the memory.
In the embodiment of the present invention, the first power consumption parameter is self-refresh frequency.Using self-refresh frequency as the first function of memory
Consumption parameter is because applicant is by a large amount of research and experiment discovery, and as data storage component, DRAM is waved with data
Hair property, it is therefore desirable to self-refresh be carried out with data preservation integrality with certain frequency, self-refresh frequency depends on temperature, works as temperature
Degree is higher, and DRAM self-refresh frequency can substantially increase with DRAM leakage current, and power consumption also can substantially increase.
Specifically can with as shown in figure 3, DRAM temperature and the characteristic that is positively correlated of power consumption, stair-stepping violent function in Fig. 3
Consumption promoted be in order to continue under the high temperature conditions keep DRAM in 0/1 signal do not disappear at any time, thus improve DRAM from
Refreshing frequency is to maintain data-integrity in DRAM, and in concrete application, self-refresh frequency can be in the base of initial self-refresh frequency
0.25/0.5/1/2/4 times etc. is promoted on plinth, self-refresh frequency raising will cause power consumption and almost grow up at multiplying power.Therefore, of the invention
It in embodiment, selects using the self-refresh frequency of memory as the first power consumption parameter, self-refresh frequency is higher, can indicate that power consumption is got over
Greatly.
In concrete application, the self-refresh frequency of memory can be read by mobile terminal bottom operating system mounted first
Rate such as reads the self-refresh frequency of memory, then, the control mould in mobile terminal by linux kernel (linux kernel)
Block can obtain the self-refresh frequency by communicating with bottom operating system.It is appreciated that those skilled in the art can also root
According to practical application scene, the self-refresh frequency of memory is obtained, the embodiment of the present invention is not specifically limited in this embodiment.
Preferably, the memory includes register, and the register is provided with register parameters, described to obtain the memory
Self-refresh frequency the step of, comprising: according to the register parameters, obtain the self-refresh frequency.
In concrete application, as shown in figure 4, register of the DRAM self-refresh frequency from internal DRAM, as shown in figure 4,
More deposit parameter is provided in register, the position of label 20 is the position for recording self-refresh frequency, due to the position pair
Should be in 4 register of number of DRAM, therefore can be referred to as with MR4 generation.Utilize mobile terminal bottom operating system linux mounted
The real time value of kernel acquisition MR4, so that it may further determine that out the self-refresh frequency of memory.
Step 202: if the self-refresh frequency is greater than predeterminated frequency, power consumption inhibition processing being carried out to the CPU.
Step 203: if first power consumption parameter is unsatisfactory for first preset condition, obtaining the second function of the CPU
Consume parameter;Wherein, second power consumption parameter includes: temperature parameter.
In the embodiment of the present invention, the first power consumption parameter be unsatisfactory for the first preset condition can with specifically, memory self-refresh
Frequency is not more than predeterminated frequency.The second power consumption parameter of CPU can be temperature parameter, specifically can be CPU current temperature value,
Cpu temperature value is higher, can indicate that CPU power consumption is bigger, in concrete application, can by thermistor inside monitoring CPU or
The modes such as the temperature value of person's PN junction obtain CPU current temperature value.
In concrete application, CPU current temperature value cannot work ceiling temperature by core beyond CPU work ceiling temperature value, CPU
The factors such as piece design and chip technology determine that mobile terminal chip is mostly 75 DEG C to 85 DEG C or so, will be had beyond ceiling temperature value
High probability causes chip permanent damage.
Step 204: if second power consumption parameter meets the second preset condition, power consumption inhibition processing being carried out to the CPU.
In the embodiment of the present invention, the second preset condition can be determined according to the particular content of the second power consumption parameter, with
For second power consumption parameter is CPU current temperature value in step 203, the second power consumption parameter meets the second preset condition can be with are as follows:
CPU current temperature value is greater than default cpu temperature value;It is appreciated that those skilled in the art can determine the according to the actual situation
The particular content of two preset conditions, so that if the second power consumption parameter meets the second preset condition, it is believed that the power consumption mistake of CPU
Greatly, power consumption inhibition processing is carried out to CPU.
In the embodiment of the present invention, by step 202 and step 204, so that no matter mobile terminal is in following three kinds of states
Any one, can to CPU carry out power consumption inhibition processing.
The first state, power consumption of internal memory is larger and CPU power consumption is smaller;Second of state, power consumption of internal memory is smaller and CPU power consumption
It is larger;The third state, power consumption of internal memory is larger and CPU power consumption is larger.
It is appreciated that because the detection to power consumption of internal memory is provided in the embodiment of the present invention, so that the embodiment of the present invention exists
Power consumption of internal memory is larger and when CPU power consumption is little, can also be inhibited, reduce power consumption;Monitoring CPU in compared with the existing technology
Power consumption situation, the embodiment of the present invention avoid following happen: CPU power consumption is little, and power consumption of internal memory is very big, but without function
Consumption inhibits operation;Therefore the embodiment of the present invention compared with the existing technology, can achieve the effect that preferably to reduce power consumption.
In concrete application, the decision process of step 202 to step 204 may is that the hardware embbedded of mobile terminal
Controller (embedded controller) is judged, the condition that power consumption inhibits operation that executes is determined for compliance with;Or by mobile whole
End upper layer operating system (Android/iOS/ ... etc.) software is judged for system node information, is determined for compliance with and is executed power consumption suppression
Make the condition of operation;Or the API in compiling Linux kernel completes judgement, is determined for compliance with and executes the item that power consumption inhibits operation
Part.It is appreciated that those skilled in the art can realize above scheme by other means, the embodiment of the present invention, which does not do this, to be had
Body limits.
Step 202, may is that CPU progress power consumption inhibition processing for step 204 utilize hardware embbedded
Controller carries out cpu frequency control, or specific for system by upper layer operating system (Android/iOS/ ... etc.) software
API assigns cpu frequency and inhibits instruction.It is appreciated that those skilled in the art can realize above scheme by other means, this
Inventive embodiments are not specifically limited in this embodiment.
It is preferably, described that the step of power consumption inhibits processing is carried out to the CPU, comprising:
The working frequency of the CPU is reduced, and/or, reduce the operating voltage of the CPU.
In concrete application, for specific mobile terminal, CPU is usually corresponding with preset lowest operating frequency and minimum work
Make voltage, therefore, can by reduce CPU operating frequency value lowest operating frequency, and/or, reduce the operating voltage of CPU extremely
Minimum operating voltage is realized and is inhibited to the power consumption of CPU.It is appreciated that those skilled in the art can realize by other means
Above scheme, the embodiment of the present invention are not specifically limited in this embodiment.
In the embodiment of the present invention, the first power consumption parameter of memory is obtained, and meet first in the first power consumption parameter and preset
When condition, power consumption inhibition processing is carried out to CPU.That is the power consumption situation of monitoring of embodiment of the present invention memory, so that even if the function of CPU
Consumption is smaller, as long as the power consumption of memory is larger, also power consumption inhibition processing can be carried out to CPU, so that the function of mobile terminal be effectively reduced
Consumption.
It should be noted that for the aforementioned method embodiment, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described, because according to
According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know that,
The embodiments described in the specification are all preferred embodiments, and related movement is not necessarily essential to the invention.
[Installation practice three]
Referring to Fig. 5, the structural block diagram of one of embodiment of the present invention power consumption control apparatus 300 is shown.Described device
Including memory, CPU;Described device further include:
First obtains module 310, for obtaining the first power consumption parameter of the memory;
First execution module 320 carries out the CPU if meeting the first preset condition for first power consumption parameter
Power consumption inhibition processing.
Preferably, referring to Fig. 6, on the basis of Fig. 5, in above-mentioned power consumption control apparatus:
First power consumption parameter includes: self-refresh frequency;
Described first, which obtains module 310, includes:
First acquisition submodule 3101, for obtaining the self-refresh frequency of the memory;
First execution module 320 includes:
First implementation sub-module 3201 carries out power consumption to the CPU if being greater than predeterminated frequency for the self-refresh frequency
Inhibition processing.
The memory includes register, and the register is provided with register parameters, first acquisition submodule 3101
Include:
First acquisition unit 31011, for obtaining the self-refresh frequency according to the register parameters.
Preferably, described device further include:
Second obtains module 330, if being unsatisfactory for first preset condition for first power consumption parameter, described in acquisition
The second power consumption parameter of CPU;Wherein, second power consumption parameter includes: temperature parameter.
Second execution module 340 carries out the CPU if meeting the second preset condition for second power consumption parameter
Power consumption inhibition processing.
First execution module 320 includes:
Second implementation sub-module 3202, for reducing the working frequency of the CPU, and/or, reduce the work of the CPU
Voltage.
In concrete application, the power consumption control apparatus of the embodiment of the present invention can be mobile terminal, is also possible to others and sets
Standby, the present invention is not especially limit this.
In the embodiment of the present invention, the first power consumption parameter of memory is obtained, and meet first in the first power consumption parameter and preset
When condition, power consumption inhibition processing is carried out to CPU.That is the power consumption situation of monitoring of embodiment of the present invention memory, so that even if the function of CPU
Consumption is smaller, as long as the power consumption of memory is larger, also power consumption inhibition processing can be carried out to CPU, so that the function of mobile terminal be effectively reduced
Consumption.
Above-mentioned mobile terminal can be realized each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 4, to keep away
Exempt to repeat, which is not described herein again.
A kind of hardware structural diagram of Fig. 7 mobile terminal of each embodiment to realize the present invention.
The mobile terminal 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, defeated
Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor
The components such as 510 and power supply 511.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 7 is not constituted
Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or
Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 510, for obtaining the first power consumption parameter of the memory;If first power consumption parameter meets
First preset condition carries out power consumption inhibition processing to the CPU.
In the embodiment of the present invention, the first power consumption parameter of memory is obtained, and meet first in the first power consumption parameter and preset
When condition, power consumption inhibition processing is carried out to CPU.That is the power consumption situation of monitoring of embodiment of the present invention memory, so that even if the function of CPU
Consumption is smaller, as long as the power consumption of memory is larger, also can be carried out and inhibits operation corresponding to the power consumption of CPU, to be effectively reduced mobile whole
The power consumption at end.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set
Standby communication.
Mobile terminal provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved
The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor
(Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited
Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike
Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear
Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap
Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and
Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071
Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area
It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments
5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it
On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching
The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 7, touch panel 5071 and display
Panel 5061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments
In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in mobile terminal 500 or can be used in 500 He of mobile terminal
Data are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage
Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.It is mobile whole
End 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511 can pass through power supply pipe
Reason system and processor 510 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system
Etc. functions.
In addition, mobile terminal 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509 is stored in
On memory 509 and the computer program that can run on the processor 510, the computer program are executed by processor 510
Each process of the above-mentioned power consumption control method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here
It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned power consumption control method embodiment, and energy when being executed by processor
Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (10)
1. a kind of power consumption control method is applied to mobile terminal, which is characterized in that the mobile terminal includes memory, CPU;
The described method includes:
Obtain the first power consumption parameter of the memory;
If first power consumption parameter meets the first preset condition, power consumption inhibition processing is carried out to the CPU.
2. the method according to claim 1, wherein first power consumption parameter includes: self-refresh frequency;
The step of first power consumption parameter for obtaining the memory, comprising:
Obtain the self-refresh frequency of the memory;
If first power consumption parameter meets the first preset condition, the step of power consumption inhibits processing, packet are carried out to the CPU
It includes:
If the self-refresh frequency is greater than predeterminated frequency, power consumption inhibition processing is carried out to the CPU.
3. according to the method described in claim 2, the register is provided with it is characterized in that, the memory includes register
The step of register parameters, the self-refresh frequency for obtaining the memory, comprising:
According to the register parameters, the self-refresh frequency is obtained.
4. the method according to claim 1, wherein further include:
If first power consumption parameter is unsatisfactory for first preset condition, the second power consumption parameter of the CPU is obtained;Wherein,
Second power consumption parameter includes: temperature parameter;
If second power consumption parameter meets the second preset condition, power consumption inhibition processing is carried out to the CPU.
5. method according to any one of claims 1 to 4, which is characterized in that described to carry out power consumption inhibition processing to the CPU
The step of, comprising:
The working frequency of the CPU is reduced, and/or, reduce the operating voltage of the CPU.
6. a kind of power consumption control apparatus, which is characterized in that described device includes memory, CPU;Described device further include:
First obtains module, for obtaining the first power consumption parameter of the memory;
First execution module carries out power consumption inhibition to the CPU if meeting the first preset condition for first power consumption parameter
Processing.
7. device according to claim 6, which is characterized in that first power consumption parameter includes: self-refresh frequency;
Described first, which obtains module, includes:
First acquisition submodule, for obtaining the self-refresh frequency of the memory;
First execution module includes:
First implementation sub-module carries out at power consumption inhibition the CPU if being greater than predeterminated frequency for the self-refresh frequency
Reason.
8. device according to claim 7, which is characterized in that the memory includes register, and the register is provided with
Register parameters, first acquisition submodule include:
First acquisition unit, for obtaining the self-refresh frequency according to the register parameters.
9. device according to claim 6, which is characterized in that further include:
Second obtains module, if being unsatisfactory for first preset condition for first power consumption parameter, obtains the of the CPU
Two power consumption parameters;Wherein, second power consumption parameter includes: temperature parameter;
Second execution module carries out power consumption inhibition to the CPU if meeting the second preset condition for second power consumption parameter
Processing.
10. according to any device of claim 6 to 9, which is characterized in that first execution module includes:
Second implementation sub-module, for reducing the working frequency of the CPU, and/or, reduce the operating voltage of the CPU.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811012750.5A CN109168190A (en) | 2018-08-31 | 2018-08-31 | A kind of power consumption control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811012750.5A CN109168190A (en) | 2018-08-31 | 2018-08-31 | A kind of power consumption control method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109168190A true CN109168190A (en) | 2019-01-08 |
Family
ID=64893459
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811012750.5A Pending CN109168190A (en) | 2018-08-31 | 2018-08-31 | A kind of power consumption control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109168190A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110895796A (en) * | 2019-03-19 | 2020-03-20 | 李华 | Mobile terminal power consumption management method |
CN115185364A (en) * | 2022-09-09 | 2022-10-14 | 北京智芯微电子科技有限公司 | Intelligent device and power consumption management method thereof |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080091962A1 (en) * | 2006-10-11 | 2008-04-17 | Cepulis Darren J | System and method of controlling power consumption and associated heat generated by a computing device |
CN102436297A (en) * | 2011-09-05 | 2012-05-02 | 浪潮电子信息产业股份有限公司 | Method for saving energy and reducing noise of storage device by use of temperature fusion control |
CN103021451A (en) * | 2011-09-22 | 2013-04-03 | 复旦大学 | Device and method for threshold-voltage adjustment-based multistage temperature control self-refreshing storage |
US20130205149A1 (en) * | 2012-02-06 | 2013-08-08 | Sony Corporation | Apparatus and method for dynamically adjusting frequency of central processing unit |
CN104503563A (en) * | 2014-12-30 | 2015-04-08 | 中科创达软件股份有限公司 | Electricity saving method and device of electronic equipment |
CN104808717A (en) * | 2015-02-12 | 2015-07-29 | 广东欧珀移动通信有限公司 | Temperature control method and temperature control device |
CN106020387A (en) * | 2016-04-30 | 2016-10-12 | 安徽朗格暖通设备有限公司 | Method for controlling mobile terminal temperature and mobile terminal |
CN106933315A (en) * | 2017-02-23 | 2017-07-07 | 深圳市金立通信设备有限公司 | A kind of method and terminal of terminal temperature regulation |
-
2018
- 2018-08-31 CN CN201811012750.5A patent/CN109168190A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080091962A1 (en) * | 2006-10-11 | 2008-04-17 | Cepulis Darren J | System and method of controlling power consumption and associated heat generated by a computing device |
CN102436297A (en) * | 2011-09-05 | 2012-05-02 | 浪潮电子信息产业股份有限公司 | Method for saving energy and reducing noise of storage device by use of temperature fusion control |
CN103021451A (en) * | 2011-09-22 | 2013-04-03 | 复旦大学 | Device and method for threshold-voltage adjustment-based multistage temperature control self-refreshing storage |
US20130205149A1 (en) * | 2012-02-06 | 2013-08-08 | Sony Corporation | Apparatus and method for dynamically adjusting frequency of central processing unit |
CN104503563A (en) * | 2014-12-30 | 2015-04-08 | 中科创达软件股份有限公司 | Electricity saving method and device of electronic equipment |
CN104808717A (en) * | 2015-02-12 | 2015-07-29 | 广东欧珀移动通信有限公司 | Temperature control method and temperature control device |
CN106020387A (en) * | 2016-04-30 | 2016-10-12 | 安徽朗格暖通设备有限公司 | Method for controlling mobile terminal temperature and mobile terminal |
CN106933315A (en) * | 2017-02-23 | 2017-07-07 | 深圳市金立通信设备有限公司 | A kind of method and terminal of terminal temperature regulation |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110895796A (en) * | 2019-03-19 | 2020-03-20 | 李华 | Mobile terminal power consumption management method |
CN110895796B (en) * | 2019-03-19 | 2020-12-01 | 读书郎教育科技有限公司 | Mobile terminal power consumption management method |
CN115185364A (en) * | 2022-09-09 | 2022-10-14 | 北京智芯微电子科技有限公司 | Intelligent device and power consumption management method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108108007B (en) | A kind of processing method and mobile terminal reducing power consumption | |
CN108924817A (en) | A kind of SIM card state switching method and mobile terminal | |
CN109271121A (en) | A kind of application display method and mobile terminal | |
CN107800821B (en) | One kind preventing motor and shake sub-resonance method and mobile terminal | |
CN107608514A (en) | Information processing method and mobile terminal | |
CN108491123A (en) | A kind of adjusting application program image target method and mobile terminal | |
CN109661016A (en) | A kind of method for network access and terminal device | |
CN108919883A (en) | A kind of camera head protecting method and mobile terminal | |
CN108509782A (en) | A kind of recognition of face control method and mobile terminal | |
CN108037966A (en) | A kind of interface display method, device and mobile terminal | |
CN109413726A (en) | Power consumption control method and mobile terminal | |
CN109743503A (en) | Reminding method and terminal | |
CN110399000A (en) | A kind of mobile terminal temperature control method mobile terminal | |
CN109145731A (en) | A kind of fingerprint identification method, device and mobile terminal | |
CN109831359A (en) | A kind of detection method and its terminal device of data network connection state | |
CN109451144A (en) | A kind of message treatment method and terminal device | |
CN109168190A (en) | A kind of power consumption control method and device | |
CN110138963A (en) | A kind of message treatment method and mobile terminal | |
CN109976844A (en) | A kind of message display method and mobile terminal | |
CN107979385B (en) | A kind of radio-frequency front-end data processing method and mobile terminal | |
CN109474747A (en) | A kind of information cuing method and mobile terminal | |
CN108632535A (en) | A kind of image processing method and mobile terminal | |
CN109729301A (en) | A kind of message inspection method and device | |
CN109343811A (en) | A kind of display adjusting method and terminal device | |
CN109522524A (en) | A kind of text browsing methods and terminal device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190108 |
|
RJ01 | Rejection of invention patent application after publication |