CN106066813A - Resource scheduling device, mobile terminal and resource regulating method - Google Patents
Resource scheduling device, mobile terminal and resource regulating method Download PDFInfo
- Publication number
- CN106066813A CN106066813A CN201610363761.2A CN201610363761A CN106066813A CN 106066813 A CN106066813 A CN 106066813A CN 201610363761 A CN201610363761 A CN 201610363761A CN 106066813 A CN106066813 A CN 106066813A
- Authority
- CN
- China
- Prior art keywords
- central processing
- processing unit
- frequency
- curvature
- temperature
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
- G06F9/5066—Algorithms for mapping a plurality of inter-dependent sub-tasks onto a plurality of physical CPUs
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Power Sources (AREA)
Abstract
The invention discloses a kind of resource regulating method, including: the curvature changed in obtaining the interior nuclear temperature at the appointed time section of mobile terminal central processing unit;The reference frequency that described central processing unit runs is regulated according to described curvature;Current operation frequency and the Current Temperatures of described kernel of described central processing unit is obtained every the first Preset Time;When described current operation frequency is more than described reference frequency, according to the magnitude relationship between described Current Temperatures and preset kernel closing temperature, the running frequency of described central processing unit is regulated accordingly, carries out application resource scheduling with the running frequency after regulating according to described central processing unit.The invention also discloses a kind of resource scheduling device and mobile terminal.The present invention improves utilization rate and the service life of the resource of mobile terminal.
Description
Technical field
The present invention relates to mobile terminal device technical field, particularly relate to a kind of resource scheduling device, mobile terminal and money
Source dispatching method.
Background technology
At present, along with the function of mobile terminal is more and more abundanter, the resource that relevant application program is operationally consumed
Also getting more and more, meanwhile, people are more sensitive to the response speed of application program itself.At traditional mobile terminal
In the scheduling of resource of system, it is contemplated that the factor such as power consumption, heat radiation, mostly use switch kernel or central processing unit (Central
Processing Unit, CPU) limit method frequently, but this can reduce the response speed that application program runs.
When certain application program of running of mobile terminal consumes memory source very much, cause indivedual CPU to reach closedown threshold values and
It is automatically switched off this CPU.For this situation, traditional solution includes: (1) is always maintained at CPU core standard-sized sheet, does not consider temperature
Degree impact, even if temperature has exceeded closedown, threshold values is not closed.So can obtain higher response speed, but really with higher
Power consumption, heating are cost, also reduce the service life of terminal unit simultaneously.(2) the temperature impact of each CPU is considered, when
Exceed threshold values then to close, keep low-power consumption, heating to greatest extent, but this is to be reduced to cost with the performance of application, causes
The utilization rate of resource is the highest.
Summary of the invention
A kind of resource scheduling device of offer, mobile terminal and resource regulating method are provided, it is intended to
Improve resource utilization and the service life of mobile terminal.
For achieving the above object, the invention provides a kind of resource scheduling device, including:
Curvature acquisition module, change in the interior nuclear temperature at the appointed time section obtaining mobile terminal central processing unit
Curvature;
Reference frequency adjustment module, for regulating, according to described curvature, the reference frequency that described central processing unit runs;
Frequency and temperature acquisition module, for obtaining currently running frequently of described central processing unit every the first Preset Time
Rate and the Current Temperatures of described kernel;
Running frequency adjustment module, for when described current operation frequency is more than described reference frequency, works as according to described
Magnitude relationship between front temperature and preset kernel closing temperature, is carried out the running frequency of described central processing unit accordingly
Regulation, carries out application resource scheduling with the running frequency after regulating according to described central processing unit.
Alternatively, described reference frequency adjustment module is additionally operable to, when described curvature is more than the first preset curvature value, by institute
The reference frequency stating central processing unit operation reduces the first preset value;When described curvature is less than the second preset curvature value, by institute
The reference frequency stating central processing unit operation raises the second preset value;Described second preset curvature value presets song less than described first
Rate value.
Alternatively, described running frequency adjustment module includes:
First regulation unit, for being more than described reference frequency when described current operation frequency, and described Current Temperatures reaches
During to the first preset percentage of described kernel closing temperature, the running frequency of described central processing unit is reduced to described benchmark
Frequency;
Second regulation unit, for obtaining the new temperature of described kernel, reduces to described kernel when described new temperature and closes temperature
During the second preset percentage spent, the running frequency of described central processing unit is heightened predeterminated frequency every the second Preset Time
Value.
Alternatively, described resource scheduling device also includes:
Processing module, for obtaining the total amount consumed of described mobile terminal resource every the 3rd Preset Time, disappears when described
Consumption total amount, more than when presetting consumption, obtains the temperature in described kernel at the appointed time section.
Additionally, for achieving the above object, present invention also offers a kind of mobile terminal, described mobile terminal includes above-mentioned knot
The resource scheduling device of structure.
Additionally, for achieving the above object, present invention also offers a kind of resource regulating method, including:
The curvature changed in obtaining the interior nuclear temperature at the appointed time section of mobile terminal central processing unit;
The reference frequency that described central processing unit runs is regulated according to described curvature;
Current operation frequency and the Current Temperatures of described kernel of described central processing unit is obtained every the first Preset Time;
When described current operation frequency is more than described reference frequency, close with preset kernel according to described Current Temperatures
Magnitude relationship between temperature, regulates accordingly by the running frequency of described central processing unit, with according to described centre
Running frequency after reason device regulation carries out application resource scheduling.
Alternatively, the described reference frequency run according to the described curvature described central processing unit of regulation includes:
When described curvature is more than the first preset curvature value, the reference frequency run by described central processing unit reduces by first
Preset value;
When described curvature is less than the second preset curvature value, the reference frequency run by described central processing unit raises second
Preset value;Described second preset curvature value is less than described first preset curvature value.
Alternatively, when described current operation frequency is more than described reference frequency, according to described Current Temperatures with preset
Magnitude relationship between kernel closing temperature, regulates accordingly by the running frequency of described central processing unit, with according to institute
State central processing unit regulation after running frequency carry out application resource scheduling include:
When described current operation frequency is more than described reference frequency, and described Current Temperatures reaches described kernel closing temperature
The first preset percentage time, the running frequency of described central processing unit is reduced to described reference frequency;
Obtain the new temperature of described kernel, when described new temperature reduces to the second preset percentage of described kernel closing temperature
Time, the running frequency of described central processing unit is heightened predeterminated frequency value every the second Preset Time.
Alternatively, in the interior nuclear temperature at the appointed time section of described acquisition mobile terminal central processing unit the curvature of change it
Before include:
The total amount consumed of described mobile terminal resource is obtained, when described total amount consumed is more than presetting every the 3rd Preset Time
During consumption, obtain the temperature in described kernel at the appointed time section.
Alternatively, include before the described reference frequency regulating the operation of described central processing unit according to described curvature:
3rd preset percentage of the maximum frequency of operation of described central processing unit is set as described reference frequency.
Embodiment of the present invention mobile terminal is by the curvature of change in the interior nuclear temperature at the appointed time section of central processing unit
After the reference frequency running central processing unit is adjusted, the current fortune of central processing unit will be obtained every the first Preset Time
Line frequency compares with reference frequency, and the Current Temperatures obtaining kernel compares with preset kernel closing temperature
Relatively, according to comparative result, the running frequency of central processing unit is adjusted so that mobile terminal can according to regulation after in
The running frequency of central processor carries out scheduling of resource.Achieve interior nuclear temperature to fluctuate in proper range, it is ensured that mobile terminal
All kernels all in work, improve resource utilization and the service life of mobile terminal.
Accompanying drawing explanation
Fig. 1 is the hardware architecture diagram realizing each one optional mobile terminal of embodiment of the present invention;
Fig. 2 is the radio communication device schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the high-level schematic functional block diagram of resource scheduling device one embodiment of the present invention;
Fig. 4 is the curvature that nuclear temperature changes in different time sections in the present invention;
Fig. 5 is the high-level schematic functional block diagram of another embodiment of resource scheduling device of the present invention;
Fig. 6 is the schematic flow sheet of resource regulating method one embodiment of the present invention;
Fig. 7 is the schematic flow sheet of another embodiment of resource regulating method of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further referring to the drawings.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use
For representing the suffix explanation only for the beneficially present invention of such as " module ", " parts " or " unit " of element, itself
Not specific meaning.Therefore, " module " can mixedly use with " parts ".
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include such as moving
The mobile terminal of phone, notebook computer, PDA (personal digital assistant), PAD (panel computer), guider etc. and all
Fixed terminal such as numeral TV, desk computer etc..Hereinafter it is assumed that terminal is mobile terminal.But, those skilled in the art
It will be appreciated that, in addition to the element except being used in particular for mobile purpose, structure according to the embodiment of the present invention also is able to should
Terminal for fixed type.
Fig. 1 is the hardware architecture diagram realizing each one optional mobile terminal of embodiment of the present invention.
Mobile terminal 100 can include wireless communication unit 110, interface unit 120, user input unit 130, output list
Unit 140, memorizer 150, controller 160 and power subsystem 170 etc..Fig. 1 shows the mobile terminal with various assembly, but
It is to it should be understood that, it is not required that implement all assemblies illustrated.Can alternatively implement more or less of assembly.Will under
Face describes the element of mobile terminal in detail.
Wireless communication unit 110 generally includes one or more assembly, and it allows mobile terminal 100 and radio communication device
Or the radio communication between network.Such as, wireless communication unit can include mobile communication module 111, wireless Internet mould
At least one in block 112 and short range communication module 113.
Mobile communication module 111 sends radio signals to base station (such as, access point, node B etc.), exterior terminal
And in server at least one and/or receive from it radio signal.Such radio signal can include that voice leads to
Words signal, video calling signal or the various types of data sending according to text and/or Multimedia Message and/or receiving.
Wireless Internet module 112 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (WLAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc..
Short range communication module 113 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant
ToothTM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybeeTMEtc..
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user's input
Plant operation.User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, triggering
Plate (such as, detection due to touched and cause resistance, pressure, the sensitive component of change of electric capacity etc.), roller, rocking bar etc.
Deng.Especially, when trigger board is superimposed upon on display unit 141 as a layer, triggering screen can be formed.
Interface unit 120 is used as at least one external device (ED) and is connected, with mobile terminal 100, the interface that can pass through.Such as,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, for connect have the port of device of identification module, audio frequency input/output (I/O) end
Mouth, video i/o port, ear port etc..Identification module can be that storage is for verifying that user uses each of mobile terminal 100
Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included
Etc..It addition, the device (hereinafter referred to as " identification device ") with identification module can be to take the form of smart card, therefore, know
Other device can be connected with mobile terminal 100 via port or other attachment means.Interface unit 120 may be used for receive from
The input (such as, data message, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100
One or more elements or may be used between mobile terminal and external device (ED) transmit data.
It addition, when mobile terminal 100 is connected with external base, interface unit 120 can serve as allowing electricity by it
Power provides the path of mobile terminal 100 from base or can serve as allowing from the various command signals of base input by it
It is transferred to the path of mobile terminal.May serve as identifying that mobile terminal is from various command signals or the electric power of base input
The no signal being accurately fitted within base.Output unit 140 is configured to provide defeated with vision, audio frequency and/or tactile manner
Go out signal (such as, audio signal, video signal, vibration signal etc.).
Output unit 140 can include that display unit 141, display unit 141 may be displayed in mobile terminal 100 and process
Information.Such as, when mobile terminal 100 is in telephone calling model, display unit 141 can show and lead to call or other
Believe user interface (UI) or graphic user interface that (such as, text messaging, multimedia file download etc.) is relevant
(GUI).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 141 can show capture
Image and/or the image of reception, UI or GUI illustrating video or image and correlation function etc..
Meanwhile, when display unit 141 and trigger board the most superposed on one another with formed trigger screen time, display unit
141 can serve as input equipment and output device.Display unit 141 can include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
A kind of.Some in these display may be constructed such that transparence is watched from outside with permission user, and this is properly termed as transparent
Display, typical transparent display can for example, TOLED (transparent organic light emitting diode) display etc..According to specific
The embodiment wanted, mobile terminal 100 can include two or more display units (or other display device), such as, move
Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Trigger screen and can be used for detection triggering
Input pressure and triggering input position and triggering input area.
Memorizer 150 can store the process performed by controller 160 and the software program controlling operation etc., or can
Temporarily to store the data (such as, telephone directory, message, still image, video etc.) that oneself maybe will export through output.And
And, memorizer 150 can with storage about when trigger be applied to trigger screen time the vibration of various modes of output and audio signal
Data.
Memorizer 150 can include that the storage medium of at least one type, described storage medium include flash memory, hard disk, many
Media card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM), static random-access store
Device (SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..And, mobile terminal 100 can be connected execution memorizer with by network
The network storage device cooperation of the storage function of 150.
Controller 160 generally controls the overall operation of mobile terminal.Such as, controller 160 performs and voice call, data
Control that communication, video calling etc. are relevant and process.It addition, controller 160 can include for reproducing (or playback) many matchmakers
The multi-media module 161 of volume data, multi-media module 161 can construct in controller 160, or it is so structured that with control
Device 160 separates.Controller 160 can perform pattern recognition process, will trigger the handwriting input or picture performed on screen
Draw input and be identified as character or image.
Power subsystem 170 receives external power or internal power under the control of controller 160 and provides operation each unit
Suitable electric power needed for part and assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any combination of calculating
Machine computer-readable recording medium is implemented.Implementing for hardware, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Program gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to perform function described herein
At least one in electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 160.
Software is implemented, the embodiment of such as process or function can with allow to perform the single of at least one function or operation
Software module is implemented.Software code can be come by the software application (or program) write with any suitable programming language
Implementing, software code can be stored in memorizer 150 and be performed by controller 160.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe such as folded form,
Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing
Example.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 100 may be constructed such that utilize via frame or packet transmission data all if any
Line and radio communication device and satellite-based communicator operate.
The communicator being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.
Such communicator can use different air interfaces and/or physical layer.Such as, communicator use
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications dress
Put (UMTS) (especially, Long Term Evolution (LTE)), global mobile communication device (GSM) etc..As non-limiting example, under
The description in face relates to cdma communication device, but such teaching is equally applicable to other type of device.
With reference to Fig. 2, cdma wireless communication device can include multiple mobile terminal 100, multiple base station (BS) 270, base station
Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN)
290 form interface.MSC280 is also structured to and the BSC275 formation interface that can be couple to base station 270 via back haul link.
If back haul link can construct according to any one in the interface that Ganji knows, described interface includes such as E1/T1, ATM, IP,
PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that device as shown in Figure 2 can include multiple BSC275.
Each BS270 can service one or more subregion (or region), by multidirectional antenna or the sky of sensing specific direction
Each subregion that line covers is radially away from BS270.Or, each subregion can be by for two or more of diversity reception
Antenna covers.Each BS270 may be constructed such that support multiple frequencies distribution, and the distribution of each frequency has specific frequency spectrum
(such as, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver
Device (BTS) or other equivalent terms.In this case, term " base station " may be used for broadly representing single
BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be claimed
For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent in device the mobile terminal operated by broadcsting transmitter (BT) 295
100.In fig. 2 it is shown that several global pick devices (GPS) satellite 300.Satellite 300 helps to position multiple mobile terminals 100
In at least one.
In fig. 2, depict multiple satellite 300, but it is understood that, it is possible to use any number of satellite obtains
Useful location information.Substitute GPS tracking technique or outside GPS tracking technique, it is possible to use mobile terminal can be followed the tracks of
Other technology of position.Pass it addition, at least one gps satellite 300 can optionally or additionally process satellite dmb
Defeated.
As a typical operation of radio communication device, BS270 receives the reverse link from various mobile terminals 100
Signal.Mobile terminal 100 generally participates in call, information receiving and transmitting communicates with other type of.Certain base station 270 receive each instead
Processed in specific BS270 to link signal.The data obtained are forwarded to the BSC275 being correlated with.BSC provides call
Resource distribution and the mobile management function of the coordination of soft switching process included between BS270.The number that BSC275 also will receive
According to being routed to MSC280, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 with
MSC280 forms interface, MSC Yu BSC275 forms interface, and BSC275 correspondingly controls BS270 with by forward link signals
It is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration, the structure of communicator, each embodiment of the inventive method is proposed.
As shown in Figure 3, it is shown that one resource scheduling device first embodiment of the present invention.The scheduling of resource dress of this embodiment
Put and include:
Curvature acquisition module 10, change in the interior nuclear temperature at the appointed time section obtaining mobile terminal central processing unit
Curvature;
In the present embodiment, can being configured according to actual needs of the type of mobile terminal, such as, mobile terminal mobile phone,
Ipad etc..This mobile terminal includes resource scheduling device, mobile terminal use during, mobile terminal central processing unit
At different usage time intervals, interior nuclear temperature may be there is and present different changes in interior nuclear temperature.Such as, in the first paragraph time
In, user uses mobile terminal reading documents, and now the power consumption of mobile terminal is relatively low, and the interior nuclear temperature of central processing unit is relatively low.
And within the second time period, user uses mobile terminal to play game, the power consumption of mobile terminal is higher, the kernel temperature of central processing unit
Spend higher.
The reference frequency run central processing unit for convenience is adjusted, and in one embodiment, mobile terminal can be every
Every certain time, detect the central processing unit interior nuclear temperature within certain period of time period, and according to the kernel within this period of time period
Temperature obtains the curvature of kernel variations in temperature.In another embodiment, detection central processing unit is being specified in case of need
Interior nuclear temperature in time period, such as, when running of mobile terminal is in the case of browsing pictures, and the consumption of mobile terminal resource is total
Measure less, now need not obtain the curvature of kernel variations in temperature;When running of mobile terminal is in the case of scene of game, mobile
The total amount consumed of terminal resource is more, now needs to obtain the curvature of kernel variations in temperature.Then curvature acquisition module 10 basis
Interior nuclear temperature within this appointment time period, obtains this and specifies the curvature of kernel variations in temperature in time period.
As shown in Figure 4, in Fig. 4, transverse axis is the time to the curvature that interior nuclear temperature changes in different time sections, and the longitudinal axis is kernel
Temperature, the curvature that k1, k2, k3 and k4 change in representing different time sections respectively, wherein, and k1 > k2 > k3 > k4, kernel variations in temperature
Curvature the biggest, show interior nuclear temperature rise the fastest, arrive kernel closing temperature time point the shortest.Otherwise, interior nuclear temperature becomes
The curvature changed is the least, shows that interior nuclear temperature rises the slowest, and the time point arriving kernel closedown is the longest.
Reference frequency adjustment module 20, for regulating, according to described curvature, the reference frequency that described central processing unit runs;
In the present embodiment, the reference frequency that central processing unit runs can be to run according to the reference frequency of acquiescence, it is possible to
Pre-set the reference frequency that central processing unit runs.Alternatively, preset the 3rd of the maximum frequency of operation of central processing unit the
Percentage ratio is set as reference frequency, and the 3rd preset percentage may be configured as 80%, it is also possible to be flexible as the case may be
Arrange.Such as, when mobile terminal is to support 8 core central processing units, and the maximum frequency of operation of single central processing unit is 2000Hz
Time, the reference frequency of central processing unit is set as 2000Hz*80%=1600Hz.
Obtaining in interior nuclear temperature at the appointed time section after the curvature of change above-mentioned, reference frequency adjustment module 20 is to curvature
Size judge, according to judged result regulation central processing unit reference frequency.Such as, if curvature is in receivable interval
In [a, b], then it is assumed that in the reasonable scope, it is not necessary to reference frequency is adjusted;If curvature is more than b, then central processing unit
Reference frequency be set as on the basis of current operation frequency declining the x% of current operation frequency;If curvature is less than a, then in
The reference frequency of central processor is set as on the basis of current operation frequency increasing the y% of current operation frequency.Need explanation
, central processing unit operates under reference frequency, and mobile terminal all kernels are all in work, it is to avoid the wave of kernel resources
Take.The concrete value of a, b, x and y can be configured according to practical situation.
Frequency and temperature acquisition module 30, for obtaining the current operation of described central processing unit every the first Preset Time
Frequency and the Current Temperatures of described kernel;
After the reference frequency running central processing unit is adjusted, carry out application resource tune to meet mobile terminal
Degree needs, and mobile terminal all kernels all work in the case of, interior nuclear temperature will not be too high, now needs root
According to current operation frequency and the Current Temperatures of kernel of central processing unit, the running frequency of central processing unit is adjusted.First
First, frequency and temperature acquisition module 30 obtain the current operation frequency of central processing unit and working as of kernel every the first Preset Time
Front temperature, this first Preset Time can be arranged as the case may be and flexibly.
Running frequency adjustment module 40, for when described current operation frequency is more than described reference frequency, according to described
Magnitude relationship between Current Temperatures and preset kernel closing temperature, is carried out the running frequency of described central processing unit accordingly
Regulation, with according to described central processing unit regulate after running frequency carry out application resource scheduling.
In the present embodiment, mobile terminal presets kernel closing temperature, when the temperature of kernel reaches kernel closing temperature,
Corresponding central processing unit can cut out, prevent interior nuclear temperature from continuing to rise.Obtaining the current operation of central processing unit
After the Current Temperatures of frequency and kernel, running frequency adjustment module 40 is by the current operation frequency of central processing unit and said reference
Carry out the comparison of magnitude relationship between frequency, will carry out between Current Temperatures and the preset kernel closing temperature of kernel meanwhile
The comparison of magnitude relationship, is adjusted the running frequency of central processing unit according to both comparative results, to reach the most flat
Weighing apparatus.Such as, if current operation frequency is more than reference frequency, and when the Current Temperatures of kernel reaches kernel closing temperature soon, reduce
The running frequency of central processing unit, until temperature drops to certain scope;When the Current Temperatures of kernel is less than certain value, the most currently
When difference comparsion between temperature and kernel closing temperature is big, improve the running frequency of central processing unit, allow system process more
Task.So can not only ensure that the kernel of mobile terminal all central processing units is all working, interior nuclear temperature is at suitable model
Enclose interior fluctuation, and make mobile terminal can carry out application resource scheduling according to the running frequency of central processing unit.Now real
Having showed the impact of the temperature considering the running frequency of central processing unit and kernel, the software and hardware resources of system can obtain relatively
High usage, has also taken into account the aspects such as power consumption, heating and mobile terminal performance simultaneously, has improved the routine processes ability of mobile terminal
And response speed, improve Consumer's Experience.
Below it is illustrated, it is assumed that terminal is to support 8 core central processing units, and the kernel of each central processing unit is closed
Temperature is 60 DEG C, and the maximum frequency of operation of single central processing unit is 2000Hz, the reference frequency that central processing unit runs is set
It is set to 1600Hz, central processing unit 8 core standard-sized sheet.When under running of mobile terminal is at scene of game, mobile terminal is according to kernel temperature
Spend after the reference frequency that central processing unit runs is adjusted to 1500Hz by the curvature of change at the appointed time section, acquisition centre
The current operation frequency of reason device is 1700Hz, and the Current Temperatures of kernel is 55 DEG C.Then by the current fortune of central processing unit
Line frequency compares with reference frequency, is compared with preset kernel closing temperature by the Current Temperatures of kernel simultaneously.This
Time, the current operation frequency 1700Hz of central processing unit is more than reference frequency 1500Hz, and the Current Temperatures of kernel 55 DEG C is more than
The 90% of kernel closing temperature, then be reduced to 1500Hz by the running frequency of central processing unit.Interior nuclear temperature can gradually under
Fall, is down to the 80% of kernel closing temperature, when being i.e. down to 48 DEG C at a temperature of kernel, by the fortune of central processing unit at a temperature of kernel
Line frequency is slowly raised by 1500Hz, such as, raises 50Hz every 1 minute, when the current operation frequency of central processing unit is more than
Reference frequency, and when the Current Temperatures of kernel is more than kernel closing temperature, the running frequency of central processing unit is reduced to benchmark
Frequency, so moves in circles.Make mobile terminal central processing unit can on the basis of frequency 1500Hz frequency, carry out frequency
Float, it is ensured that all kernels are all in work, it is also possible on the basis of being guaranteed in the existing software and hardware resources of mobile terminal, take into account
Power consumption, performance etc., improve the routine processes ability of terminal, response speed, improves the satisfaction that mobile terminal is used by user.
Embodiment of the present invention mobile terminal is by the curvature of change in the interior nuclear temperature at the appointed time section of central processing unit
After the reference frequency running central processing unit is adjusted, the current fortune of central processing unit will be obtained every the first Preset Time
Line frequency compares with reference frequency, and the Current Temperatures obtaining kernel compares with preset kernel closing temperature
Relatively, according to comparative result, the running frequency of central processing unit is adjusted so that mobile terminal can according to regulation after in
The running frequency of central processor carries out scheduling of resource.Achieve interior nuclear temperature to fluctuate in proper range, it is ensured that mobile terminal
All kernels all in work, improve resource utilization and the service life of mobile terminal.
Further, based on above-mentioned resource scheduling device first embodiment, it is proposed that resource scheduling device second of the present invention
Embodiment, the present embodiment with the difference of resource scheduling device first embodiment of the present invention is, said reference frequency in the present embodiment
Adjustment module 20 is additionally operable to, when described curvature is more than the first preset curvature value, and the benchmark frequency that described central processing unit is run
Rate reduces the first preset value;When described curvature is less than the second preset curvature value, the benchmark frequency that described central processing unit is run
Rate raises the second preset value;Described second preset curvature value is less than described first preset curvature value.
In the present embodiment, after setting the reference frequency that central processing unit runs, reference frequency adjustment module 20 is in basis
During the reference frequency that the curvature regulation central processing unit of kernel variations in temperature runs, in order to reference frequency is carried out
Accurately regulation, can pre-set the mapping relations between curvature interval and the reference frequency amplitude of accommodation, becomes obtaining interior nuclear temperature
After the curvature changed, curvature is mated with the curvature interval preset, determine that the curvature at this curvature place is interval, according to curvature district
Between with the mapping relations of the reference frequency amplitude of accommodation, according to the amplitude of accommodation corresponding with this curvature interval, reference frequency is adjusted
Joint.Such as, curvature being divided into three curvature intervals, first curvature interval is that curvature k is less than curvature a, corresponding benchmark frequency
The rate amplitude of accommodation is for declining the first predeterminated frequency value;Second curvature interval is that curvature k is more than curvature a and less than curvature b, correspondence
The reference frequency amplitude of accommodation be zero;3rd curvature interval is that curvature k is more than curvature b, the corresponding reference frequency amplitude of accommodation
For raising the second predeterminated frequency value.
Specifically, when the curvature of kernel variations in temperature is more than the first preset curvature value, illustrate that in now, nuclear temperature rises
Comparatively fast, the time arriving kernel closing temperature is shorter, and reference frequency adjustment module 20 needs the benchmark run by central processing unit
Frequency reduces the first preset value, to increase the time arriving kernel closing temperature.This first preset curvature value and the first preset value
Can arrange as the case may be and flexibly.Such as, the first preset value may be configured as the 10 of current base frequency, or is
Fixing 100Hz etc..When the curvature of kernel variations in temperature is less than the second preset curvature value, illustrate that in now, nuclear temperature rises relatively
Slowly, the time arriving kernel closing temperature is longer, the reference frequency that central processing unit can be run by reference frequency adjustment module 20
Raise the second preset value, allow system process more task, improve resource utilization.First preset curvature value is preset more than second
Curvature value, this second preset curvature value and the second preset value can arrange as the case may be and flexibly, and the second preset value can be arranged
For consistent with the first preset value or inconsistent.When the curvature of kernel variations in temperature is less than or equal to the first preset curvature value, and greatly
In or equal to the second preset curvature value time, it is not necessary to central processing unit run reference frequency be adjusted.
The present embodiment is carried out by the curvature according to kernel variations in temperature, the reference frequency running central processing unit accordingly
Regulation so that all kernels are all in work, it is to avoid the waste of kernel resources.And ensure that running of mobile terminal is in different merits
Under the application of consumption, (such as, play game, reading etc.) corresponding reference frequency is set, makes interior nuclear temperature fluctuate in proper range,
Improve resource utilization and the service life of mobile terminal.
Further, based on above-mentioned resource scheduling device first embodiment, it is proposed that resource scheduling device the 3rd of the present invention
Embodiment, the present embodiment with the difference of resource scheduling device first embodiment of the present invention is, above-mentioned running frequency in the present embodiment
Adjustment module 40 includes:
First regulation unit, for being more than described reference frequency when described current operation frequency, and described Current Temperatures reaches
During to the first preset percentage of described kernel closing temperature, the running frequency of described central processing unit is reduced to described benchmark
Frequency;
Second regulation unit, for obtaining the new temperature of described kernel, reduces to described kernel when described new temperature and closes temperature
During the second preset percentage spent, the running frequency of described central processing unit is heightened predeterminated frequency every the second Preset Time
Value.
In the present embodiment, mobile terminal is during being adjusted the running frequency of central processing unit, by centre
The current operation frequency of reason device compares with reference frequency, meanwhile, with preset kernel, the Current Temperatures of kernel is closed temperature
Degree compares, if current operation frequency is more than reference frequency, and Current Temperatures reaches the first of kernel closing temperature and presets hundred
Proportion by subtraction, illustrates that the Current Temperatures of kernel reaches kernel closing temperature soon, and now the first regulation unit is by the operation of central processing unit
Frequency is reduced to reference frequency, so that interior nuclear temperature can be gradually reduced.First preset percentage of this kernel closing temperature can set
Being set to the 90% of kernel closing temperature, certainly, the first preset percentage is configured also dependent on practical situation.If currently running
Frequency is less than or equal to reference frequency, or Current Temperatures is not up to the first preset percentage of kernel closing temperature, then need not
Be adjusted the running frequency of central processing unit, i.e. central processing unit maintains current running frequency.
After the running frequency of regulation central processing unit, obtain the new temperature of kernel, reduce to kernel when this new temperature and close
During the second preset percentage of temperature, illustrate that the temperature difference between Current Temperatures and kernel closing temperature is relatively big, the second regulation unit
The running frequency of central processing unit is heightened predeterminated frequency value every the second Preset Time, slowly to improve the fortune of central processing unit
Line frequency, allows system process more task.Second preset percentage of this kernel closing temperature may be configured as kernel and closes temperature
The 80% of degree, certainly, the first preset percentage is configured also dependent on practical situation.Second Preset Time and predeterminated frequency value
It is configured also dependent on practical situation, such as, raised 50Hz every 1 minute.When the current operation frequency of central processing unit is big
In reference frequency, and when the Current Temperatures of kernel is more than kernel closing temperature, the running frequency of central processing unit is reduced to base
Quasi-frequency, so moves in circles.
If it is understood that can also be that current operation frequency is closed less than kernel more than reference frequency, Current Temperatures
The temperature difference between temperature, and Current Temperatures and kernel closing temperature is less than when presetting the temperature difference, by the running frequency of central processing unit
Reducing predeterminated frequency, this default temperature difference and predeterminated frequency can be configured according to practical situation, it is also possible to the default temperature difference divided
Interval for multiple temperature difference, the corresponding different predeterminated frequency in each temperature difference interval.
The present embodiment is according to the magnitude relationship between current operation frequency and reference frequency, and Current Temperatures is closed with kernel
Magnitude relationship between temperature, regulates accordingly to the running frequency of central processing unit, can not only ensure mobile terminal
The kernel of all central processing units is all in work, and interior nuclear temperature fluctuates in proper range, and considers central processing unit
Running frequency and the impact of temperature of kernel, taken into account the aspects such as power consumption, heating and performance, improve the resource of mobile terminal
Utilization rate, response speed and service life.
Further, as it is shown in figure 5, based on above-mentioned resource scheduling device first embodiment, it is proposed that resource of the present invention is adjusted
Degree device the 4th embodiment, the present embodiment is to add process mould with the difference of resource scheduling device first embodiment of the present invention
Block 50, in the present embodiment, above-mentioned resource scheduling device includes:
Curvature acquisition module 10, change in the interior nuclear temperature at the appointed time section obtaining mobile terminal central processing unit
Curvature;
Reference frequency adjustment module 20, for regulating, according to described curvature, the reference frequency that described central processing unit runs;
Frequency and temperature acquisition module 30, for obtaining the current operation of described central processing unit every the first Preset Time
Frequency and the Current Temperatures of described kernel;
Running frequency adjustment module 40, for when described current operation frequency is more than described reference frequency, according to described
Magnitude relationship between Current Temperatures and preset kernel closing temperature, is carried out the running frequency of described central processing unit accordingly
Regulation, with according to described central processing unit regulate after running frequency carry out application resource scheduling.
Processing module 50, for obtaining the total amount consumed of described mobile terminal resource, when described every the 3rd Preset Time
Total amount consumed, more than when presetting consumption, obtains the temperature in described kernel at the appointed time section.
Hereinafter only difference to the present embodiment with resource scheduling device first embodiment of the present invention illustrates, other modules
Can refer to the specific descriptions of first embodiment, do not repeat them here.
In the present embodiment, mobile terminal can be in the case of the total amount consumed of resource be higher, and in just obtaining, nuclear temperature is referring to
Temperature in the section of fixing time, enters according to the reference frequency that central processing unit is run by the curvature of the variations in temperature in this period
Row regulation.Specifically, first, mobile terminal calls processing module 50 and obtains the total amount consumed of resource every the 3rd Preset Time,
And the total amount consumed of resource is compared with default consumption, the 3rd Preset Time and default consumption can be according to concrete feelings
Condition and arrange flexibly.When total amount consumed is more than when presetting consumption, illustrate that the consumed resource that now mobile terminal is current is relatively big,
System needs to process more task, and processing module obtains the temperature in kernel at the appointed time section, in order to mobile terminal according to
In this appointment time period, the curvature of variations in temperature regulates the reference frequency that central processing unit runs, and this appointment time period may be configured as
Detect that the total amount consumed of resource is more than in a period of time when presetting consumption.When total amount consumed consumes less than or equal to presetting
During amount, illustrate that the total amount consumed of mobile terminal resource is less, now need not obtain the curvature of kernel variations in temperature to centre
The reference frequency that reason device runs is adjusted.
The present embodiment mobile terminal, when the total amount consumed of resource is more than default consumption, just needs to obtain kernel and is specifying
Temperature in time period, in order to the reference frequency of central processing unit is entered by the curvature obtaining the variations in temperature in this appointment time period
Row regulation, improves the reasonability of the curvature of the interior change of nuclear temperature at the appointed time section in obtaining, and adjusts reference frequency
Joint accuracy.
Accordingly, proposing one mobile terminal of the present invention, this mobile terminal includes the resource scheduling device of said structure, should
The operation principle of resource scheduling device and implementation can refer to the embodiment of Fig. 3 to Fig. 5 and correspondence thereof, contain institute therein
Having technical characteristic, therefore not to repeat here.This mobile terminal can be mobile phone, iPad etc..In mobile terminal embodiment of the present invention, due to
There is above-mentioned mobile terminal by the curvature of change in the interior nuclear temperature at the appointed time section of central processing unit to central processing unit
After the reference frequency run is adjusted, current operation frequency and the benchmark of central processing unit will be obtained every the first Preset Time
Frequency compares, and the Current Temperatures obtaining kernel compares, according to comparing knot with preset kernel closing temperature
The running frequency of central processing unit is adjusted by fruit so that mobile terminal can be according to the operation of the central processing unit after regulation
Frequency carries out scheduling of resource.Achieve interior nuclear temperature to fluctuate in proper range, it is ensured that all kernels of mobile terminal are all in work
Make, improve resource utilization and the service life of mobile terminal.
Accordingly, as shown in Figure 6, one resource regulating method first embodiment of the present invention is proposed.The present embodiment resource is adjusted
Degree method is corresponding with above-mentioned resource scheduling device first embodiment, and the resource regulating method of this embodiment includes:
Step S10, the interior curvature changed of interior nuclear temperature at the appointed time section of acquisition mobile terminal central processing unit;
In the present embodiment, can being configured according to actual needs of the type of mobile terminal, such as, mobile terminal mobile phone,
Ipad etc..This mobile terminal includes resource scheduling device, mobile terminal use during, mobile terminal central processing unit
At different usage time intervals, interior nuclear temperature may be there is and present different changes in interior nuclear temperature.Such as, in the first paragraph time
In, user uses mobile terminal reading documents, and now the power consumption of mobile terminal is relatively low, and the interior nuclear temperature of central processing unit is relatively low.
And within the second time period, user uses mobile terminal to play game, the power consumption of mobile terminal is higher, the kernel temperature of central processing unit
Spend higher.
The reference frequency run central processing unit for convenience is adjusted, and in one embodiment, mobile terminal can be every
Every certain time, detect the central processing unit interior nuclear temperature within certain period of time period, and according to the kernel within this period of time period
Temperature obtains the curvature of kernel variations in temperature.In another embodiment, detection central processing unit is being specified in case of need
Interior nuclear temperature in time period, such as, when running of mobile terminal is in the case of browsing pictures, and the consumption of mobile terminal resource is total
Measure less, now need not obtain the curvature of kernel variations in temperature;When running of mobile terminal is in the case of scene of game, mobile
The total amount consumed of terminal resource is more, now needs to obtain the curvature of kernel variations in temperature.Then according in this appointment time period
In interior nuclear temperature, obtain this and specify the curvature of kernel variations in temperature in time period.
As shown in Figure 4, in Fig. 4, transverse axis is the time to the curvature that interior nuclear temperature changes in different time sections, and the longitudinal axis is kernel
Temperature, the curvature that k1, k2, k3 and k4 change in representing different time sections respectively, wherein, and k1 > k2 > k3 > k4, kernel variations in temperature
Curvature the biggest, show interior nuclear temperature rise the fastest, arrive kernel closing temperature time point the shortest.Otherwise, interior nuclear temperature becomes
The curvature changed is the least, shows that interior nuclear temperature rises the slowest, and the time point arriving kernel closedown is the longest.
Step S20, the reference frequency run according to the described curvature described central processing unit of regulation;
In the present embodiment, the reference frequency that central processing unit runs can be to run according to the reference frequency of acquiescence, it is possible to
Pre-set the reference frequency that central processing unit runs.Alternatively, preset the 3rd of the maximum frequency of operation of central processing unit the
Percentage ratio is set as reference frequency, and the 3rd preset percentage may be configured as 80%, it is also possible to be flexible as the case may be
Arrange.Such as, when mobile terminal is to support 8 core central processing units, and the maximum frequency of operation of single central processing unit is 2000Hz
Time, the reference frequency of central processing unit is set as 2000Hz*80%=1600Hz.
, the size of curvature is judged, root after the curvature of change above-mentioned obtain in interior nuclear temperature at the appointed time section
It is judged that the reference frequency of result regulation central processing unit.Such as, if curvature is in receivable interval [a, b], then it is assumed that
In zone of reasonableness, it is not necessary to reference frequency is adjusted;If curvature is more than b, then the reference frequency of central processing unit is set as
The x% of current operation frequency is declined on the basis of current operation frequency;If curvature is less than a, then the benchmark frequency of central processing unit
Rate is set as on the basis of current operation frequency increasing the y% of current operation frequency.It should be noted that central processing unit fortune
Row is under reference frequency, and mobile terminal all kernels are all in work, it is to avoid the waste of kernel resources.A, b, x and y specifically take
Value can be configured according to practical situation.
Step S30, obtain the current operation frequency of described central processing unit and described kernel every the first Preset Time
Current Temperatures;
After the reference frequency running central processing unit is adjusted, carry out application resource tune to meet mobile terminal
Degree needs, and mobile terminal all kernels all work in the case of, interior nuclear temperature will not be too high, now needs root
According to current operation frequency and the Current Temperatures of kernel of central processing unit, the running frequency of central processing unit is adjusted.First
First, mobile terminal obtains current operation frequency and the Current Temperatures of kernel of central processing unit every the first Preset Time, and this is the years old
One Preset Time can be arranged as the case may be and flexibly.
Step S40, when described current operation frequency more than described reference frequency time, according to described Current Temperatures with preset
Magnitude relationship between kernel closing temperature, regulates accordingly by the running frequency of described central processing unit, with according to institute
State the running frequency after central processing unit regulation and carry out application resource scheduling.
In the present embodiment, mobile terminal presets kernel closing temperature, when the temperature of kernel reaches kernel closing temperature,
Corresponding central processing unit can cut out, prevent interior nuclear temperature from continuing to rise.Obtaining the current operation of central processing unit
After the Current Temperatures of frequency and kernel, mobile terminal will enter between current operation frequency and the said reference frequency of central processing unit
The comparison of row magnitude relationship, meanwhile, will carry out magnitude relationship between Current Temperatures and the preset kernel closing temperature of kernel
Relatively, according to both comparative results, the running frequency of central processing unit is adjusted, to reach dynamic equilibrium.Such as, if
Current operation frequency is more than reference frequency, and when the Current Temperatures of kernel reaches kernel closing temperature soon, reduces central processing unit
Running frequency, until temperature drops to certain scope;When the Current Temperatures of kernel is less than certain value, i.e. Current Temperatures and kernel
When difference comparsion between closing temperature is big, improve the running frequency of central processing unit, allow system process more task.So
Can not only ensure that the kernel of mobile terminal all central processing units is all working, interior nuclear temperature fluctuates in proper range, and
And make mobile terminal can carry out application resource scheduling according to the running frequency of central processing unit.Now achieve and consider
The running frequency of central processing unit and the impact of the temperature of kernel, the software and hardware resources of system can obtain relatively high usage, with
Time also taken into account power consumption, heating and the aspect such as mobile terminal performance, improve routine processes ability and the response speed of mobile terminal,
Improve Consumer's Experience.
Below it is illustrated, it is assumed that terminal is to support 8 core central processing units, and the kernel of each central processing unit is closed
Temperature is 60 DEG C, and the maximum frequency of operation of single central processing unit is 2000Hz, the reference frequency that central processing unit runs is set
It is set to 1600Hz, central processing unit 8 core standard-sized sheet.When under running of mobile terminal is at scene of game, mobile terminal is according to kernel temperature
Spend after the reference frequency that central processing unit runs is adjusted to 1500Hz by the curvature of change at the appointed time section, acquisition centre
The current operation frequency of reason device is 1700Hz, and the Current Temperatures of kernel is 55 DEG C.Then by the current fortune of central processing unit
Line frequency compares with reference frequency, is compared with preset kernel closing temperature by the Current Temperatures of kernel simultaneously.This
Time, the current operation frequency 1700Hz of central processing unit is more than reference frequency 1500Hz, and the Current Temperatures of kernel 55 DEG C is more than
The 90% of kernel closing temperature, then be reduced to 1500Hz by the running frequency of central processing unit.Interior nuclear temperature can gradually under
Fall, is down to the 80% of kernel closing temperature, when being i.e. down to 48 DEG C at a temperature of kernel, by the fortune of central processing unit at a temperature of kernel
Line frequency is slowly raised by 1500Hz, such as, raises 50Hz every 1 minute, when the current operation frequency of central processing unit is more than
Reference frequency, and when the Current Temperatures of kernel is more than kernel closing temperature, the running frequency of central processing unit is reduced to benchmark
Frequency, so moves in circles.Make mobile terminal central processing unit can on the basis of frequency 1500Hz frequency, carry out frequency
Float, it is ensured that all kernels are all in work, it is also possible on the basis of being guaranteed in the existing software and hardware resources of mobile terminal, take into account
Power consumption, performance etc., improve the routine processes ability of terminal, response speed, improves the satisfaction that mobile terminal is used by user.
Embodiment of the present invention mobile terminal is by the curvature of change in the interior nuclear temperature at the appointed time section of central processing unit
After the reference frequency running central processing unit is adjusted, the current fortune of central processing unit will be obtained every the first Preset Time
Line frequency compares with reference frequency, and the Current Temperatures obtaining kernel compares with preset kernel closing temperature
Relatively, according to comparative result, the running frequency of central processing unit is adjusted so that mobile terminal can according to regulation after in
The running frequency of central processor carries out scheduling of resource.Achieve interior nuclear temperature to fluctuate in proper range, it is ensured that mobile terminal
All kernels all in work, improve resource utilization and the service life of mobile terminal.
Further, based on above-mentioned resource regulating method first embodiment, it is proposed that resource regulating method second of the present invention
Embodiment, the present embodiment resource regulating method is corresponding with above-mentioned resource scheduling device the second embodiment, the present embodiment and the present invention
The difference of resource regulating method first embodiment is that in the present embodiment, above-mentioned steps S20 includes: when described curvature is pre-more than first
If during curvature value, the reference frequency that described central processing unit runs is reduced the first preset value;When described curvature is pre-less than second
If during curvature value, the reference frequency that described central processing unit runs is raised the second preset value;Described second preset curvature value is little
In described first preset curvature value.
In the present embodiment, after setting the reference frequency that central processing unit runs, mobile terminal is becoming according to interior nuclear temperature
During the reference frequency that the curvature regulation central processing unit changed runs, in order to reference frequency is accurately regulated,
The mapping relations between curvature interval and the reference frequency amplitude of accommodation can be pre-set, in the curvature obtaining kernel variations in temperature
After, curvature is mated with the curvature interval preset, determines that the curvature at this curvature place is interval, the interval and benchmark according to curvature
The mapping relations of the frequency amplitude of accommodation, are adjusted reference frequency according to the amplitude of accommodation corresponding with this curvature interval.Such as,
Curvature is divided into three curvature intervals, and first curvature interval is that curvature k is less than curvature a, corresponding reference frequency regulation width
Degree is for declining the first predeterminated frequency value;Second curvature interval is that curvature k is more than curvature a and less than curvature b, corresponding benchmark frequency
The rate amplitude of accommodation is zero;3rd curvature interval be curvature k more than curvature b, the corresponding reference frequency amplitude of accommodation is rising the
Two predeterminated frequency values.
Specifically, when the curvature of kernel variations in temperature is more than the first preset curvature value, illustrate that in now, nuclear temperature rises
Comparatively fast, the time arriving kernel closing temperature is shorter, needs the reference frequency by central processing unit runs to reduce the first preset value,
To increase the time arriving kernel closing temperature.This first preset curvature value and the first preset value can be flexible as the case may be
Arrange.Such as, the first preset value may be configured as the 10 of current base frequency, or is fixing 100Hz etc..Work as kernel
When the curvature of variations in temperature is less than the second preset curvature value, illustrate that in now, nuclear temperature rises relatively slow, arrives kernel closing temperature
Time longer, can by central processing unit run reference frequency raise the second preset value, allow system process more task, carry
High resource utilization.First preset curvature value is more than the second preset curvature value, and this second preset curvature value and the second preset value can
Arranging as the case may be and flexibly, the second preset value may be configured as consistent with the first preset value or inconsistent.When interior nuclear temperature
The curvature of change is less than or equal to the first preset curvature value, and during more than or equal to the second preset curvature value, it is not necessary to central authorities
The reference frequency that processor runs is adjusted.
The present embodiment is carried out by the curvature according to kernel variations in temperature, the reference frequency running central processing unit accordingly
Regulation so that all kernels are all in work, it is to avoid the waste of kernel resources.And ensure that running of mobile terminal is in different merits
Under the application of consumption, (such as, play game, reading etc.) corresponding reference frequency is set, makes interior nuclear temperature fluctuate in proper range,
Improve resource utilization and the service life of mobile terminal.
Further, based on above-mentioned resource regulating method first embodiment, it is proposed that resource regulating method the 3rd of the present invention
Embodiment, the present embodiment resource regulating method is corresponding with above-mentioned resource scheduling device the 3rd embodiment, the present embodiment and the present invention
The difference of resource regulating method first embodiment is that in the present embodiment, above-mentioned steps S40 includes: when described current operation frequency is big
In described reference frequency, and when described Current Temperatures reaches the first preset percentage of described kernel closing temperature, in described
The running frequency of central processor is reduced to described reference frequency;
Obtain the new temperature of described kernel, when described new temperature reduces to the second preset percentage of described kernel closing temperature
Time, the running frequency of described central processing unit is heightened predeterminated frequency value every the second Preset Time.
In the present embodiment, mobile terminal is during being adjusted the running frequency of central processing unit, by centre
The current operation frequency of reason device compares with reference frequency, meanwhile, with preset kernel, the Current Temperatures of kernel is closed temperature
Degree compares, if current operation frequency is more than reference frequency, and Current Temperatures reaches the first of kernel closing temperature and presets hundred
Proportion by subtraction, illustrates that the Current Temperatures of kernel reaches kernel closing temperature soon, now the running frequency of central processing unit is reduced to base
Quasi-frequency, so that interior nuclear temperature can be gradually reduced.First preset percentage of this kernel closing temperature may be configured as kernel and closes
The 90% of temperature, certainly, the first preset percentage is configured also dependent on practical situation.If current operation frequency less than or etc.
In reference frequency, or Current Temperatures is not up to the first preset percentage of kernel closing temperature, then need not central processing unit
Running frequency be adjusted, i.e. central processing unit maintains current running frequency.
After the running frequency of regulation central processing unit, obtain the new temperature of kernel, reduce to kernel when this new temperature and close
During the second preset percentage of temperature, illustrate that the temperature difference between Current Temperatures and kernel closing temperature is relatively big, by central processing unit
Running frequency heighten predeterminated frequency value every the second Preset Time, slowly to improve the running frequency of central processing unit, allow and be
System processes more task.Second preset percentage of this kernel closing temperature may be configured as the 80% of kernel closing temperature, when
So, the first preset percentage is configured also dependent on practical situation.Second Preset Time and predeterminated frequency value are also dependent on reality
Border situation is configured, and such as, raises 50Hz every 1 minute.When the current operation frequency of central processing unit is more than reference frequency,
And the Current Temperatures of kernel more than kernel closing temperature time, the running frequency of central processing unit is reduced to reference frequency, so
Move in circles.
If it is understood that can also be that current operation frequency is closed less than kernel more than reference frequency, Current Temperatures
The temperature difference between temperature, and Current Temperatures and kernel closing temperature is less than when presetting the temperature difference, by the running frequency of central processing unit
Reducing predeterminated frequency, this default temperature difference and predeterminated frequency can be configured according to practical situation, it is also possible to the default temperature difference divided
Interval for multiple temperature difference, the corresponding different predeterminated frequency in each temperature difference interval.
The present embodiment is according to the magnitude relationship between current operation frequency and reference frequency, and Current Temperatures is closed with kernel
Magnitude relationship between temperature, regulates accordingly to the running frequency of central processing unit, can not only ensure mobile terminal
The kernel of all central processing units is all in work, and interior nuclear temperature fluctuates in proper range, and considers central processing unit
Running frequency and the impact of temperature of kernel, taken into account the aspects such as power consumption, heating and performance, improve the resource of mobile terminal
Utilization rate, response speed and service life.
Further, as it is shown in fig. 7, based on above-mentioned resource regulating method first embodiment, it is proposed that resource of the present invention is adjusted
Degree method the 4th embodiment, the present embodiment resource regulating method is corresponding with above-mentioned resource scheduling device the 4th embodiment, this enforcement
Example is to add step S50 with the difference of resource regulating method first embodiment of the present invention, resource regulating method in the present embodiment
Including:
Step S50, every the 3rd Preset Time obtain described mobile terminal resource total amount consumed, when described total amount consumed
More than when presetting consumption, obtain the temperature in described kernel at the appointed time section;
Step S10, the interior curvature changed of interior nuclear temperature at the appointed time section of acquisition mobile terminal central processing unit;
Step S20, the reference frequency run according to the described curvature described central processing unit of regulation;
Step S30, obtain the current operation frequency of described central processing unit and described kernel every the first Preset Time
Current Temperatures;
Step S40, when described current operation frequency more than described reference frequency time, according to described Current Temperatures with preset
Magnitude relationship between kernel closing temperature, regulates accordingly by the running frequency of described central processing unit, with according to institute
State the running frequency after central processing unit regulation and carry out application resource scheduling.
Hereinafter only difference to the present embodiment with resource regulating method first embodiment of the present invention illustrates, other steps
Can refer to the specific descriptions of first embodiment, do not repeat them here.
In the present embodiment, mobile terminal can be in the case of the total amount consumed of resource be higher, and in just obtaining, nuclear temperature is referring to
Temperature in the section of fixing time, enters according to the reference frequency that central processing unit is run by the curvature of the variations in temperature in this period
Row regulation.Specifically, first, mobile terminal obtains the total amount consumed of resource every the 3rd Preset Time, and by the consumption of resource
Total amount compares with default consumption, and the 3rd Preset Time and default consumption can be arranged as the case may be and flexibly.
When total amount consumed is more than when presetting consumption, illustrating that the consumed resource that now mobile terminal is current is relatively big, system needs to process
More task, the temperature in acquisition for mobile terminal kernel at the appointed time section, in order to mobile terminal is according to this appointment time period
The curvature of interior variations in temperature regulates the reference frequency that central processing unit runs, and this appointment time period may be configured as resource being detected
Total amount consumed is more than in a period of time when presetting consumption.When total amount consumed is less than or equal to when presetting consumption, illustrate to move
The total amount consumed of dynamic terminal resource is less, now need not obtain the base that central processing unit is run by the curvature of kernel variations in temperature
Quasi-frequency is adjusted.
The present embodiment mobile terminal, when the total amount consumed of resource is more than default consumption, just needs to obtain kernel and is specifying
Temperature in time period, in order to the reference frequency of central processing unit is entered by the curvature obtaining the variations in temperature in this appointment time period
Row regulation, improves the reasonability of the curvature of the interior change of nuclear temperature at the appointed time section in obtaining, and adjusts reference frequency
Joint accuracy.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-described embodiment side
Method can add the mode of required general hardware platform by software and realize, naturally it is also possible to by hardware, but a lot of in the case of
The former is more preferably embodiment.Based on such understanding, prior art is done by technical scheme the most in other words
The part going out contribution can embody with the form of software product, and this computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, take
Business device, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the alternative embodiment of the present invention, not thereby limit the scope of the claims of the present invention, every utilize this
Equivalent structure or equivalence flow process that bright description and accompanying drawing content are made convert, or are directly or indirectly used in other relevant skills
Art field, is the most in like manner included in the scope of patent protection of the present invention.
Claims (10)
1. a resource scheduling device, it is characterised in that described resource scheduling device includes:
Curvature acquisition module, the song of change in the interior nuclear temperature at the appointed time section obtaining mobile terminal central processing unit
Rate;
Reference frequency adjustment module, for regulating, according to described curvature, the reference frequency that described central processing unit runs;
Frequency and temperature acquisition module, for every first Preset Time obtain described central processing unit current operation frequency and
The Current Temperatures of described kernel;
Running frequency adjustment module, for when described current operation frequency is more than described reference frequency, according to described current temperature
Magnitude relationship between degree and preset kernel closing temperature, adjusts accordingly by the running frequency of described central processing unit
Joint, carries out application resource scheduling with the running frequency after regulating according to described central processing unit.
2. resource scheduling device as claimed in claim 1, it is characterised in that described reference frequency adjustment module is additionally operable to, when
When described curvature is more than the first preset curvature value, the reference frequency that described central processing unit runs is reduced the first preset value;When
When described curvature is less than the second preset curvature value, the reference frequency that described central processing unit runs is raised the second preset value;Institute
State the second preset curvature value less than described first preset curvature value.
3. resource scheduling device as claimed in claim 1, it is characterised in that described running frequency adjustment module includes:
First regulation unit, for being more than described reference frequency when described current operation frequency, and described Current Temperatures reaches institute
When stating the first preset percentage of kernel closing temperature, the running frequency of described central processing unit is reduced to described benchmark frequency
Rate;
Second regulation unit, for obtaining the new temperature of described kernel, when described new temperature reduces to described kernel closing temperature
During the second preset percentage, the running frequency of described central processing unit is heightened predeterminated frequency value every the second Preset Time.
4. the resource scheduling device as described in any one of claim 1-3, it is characterised in that described resource scheduling device also wraps
Include:
Processing module, for obtaining the total amount consumed of described mobile terminal resource, when described consumption is total every the 3rd Preset Time
Amount, more than when presetting consumption, obtains the temperature in described kernel at the appointed time section.
5. a mobile terminal, it is characterised in that described mobile terminal includes the resource as according to any one of claim 1-4
Dispatching device.
6. a resource regulating method, it is characterised in that described resource regulating method comprises the following steps:
The curvature changed in obtaining the interior nuclear temperature at the appointed time section of mobile terminal central processing unit;
The reference frequency that described central processing unit runs is regulated according to described curvature;
Current operation frequency and the Current Temperatures of described kernel of described central processing unit is obtained every the first Preset Time;
When described current operation frequency is more than described reference frequency, according to described Current Temperatures and preset kernel closing temperature
Between magnitude relationship, the running frequency of described central processing unit is regulated accordingly, with according to described central processing unit
Running frequency after regulation carries out application resource scheduling.
7. resource regulating method as claimed in claim 6, it is characterised in that described according to the described curvature described centre of regulation
The reference frequency that reason device runs includes:
When described curvature is more than the first preset curvature value, the reference frequency run by described central processing unit reduces by first and presets
Value;
When described curvature is less than the second preset curvature value, the reference frequency run by described central processing unit raises second and presets
Value;Described second preset curvature value is less than described first preset curvature value.
8. resource regulating method as claimed in claim 6, it is characterised in that when described current operation frequency is more than described benchmark
During frequency, according to the magnitude relationship between described Current Temperatures and preset kernel closing temperature, by described central processing unit
Running frequency regulates accordingly, carries out application resource scheduling bag with the running frequency after regulating according to described central processing unit
Include:
When described current operation frequency is more than described reference frequency, and described Current Temperatures reaches the of described kernel closing temperature
During one preset percentage, the running frequency of described central processing unit is reduced to described reference frequency;
Obtain the new temperature of described kernel, when described new temperature reduces to the second preset percentage of described kernel closing temperature,
The running frequency of described central processing unit is heightened predeterminated frequency value every the second Preset Time.
9. the resource regulating method as described in any one of claim 6-8, it is characterised in that described acquisition mobile terminal centre
Include before the curvature of change in the interior nuclear temperature at the appointed time section of reason device:
The total amount consumed of described mobile terminal resource is obtained, when described total amount consumed consumes more than presetting every the 3rd Preset Time
During amount, obtain the temperature in described kernel at the appointed time section.
10. the resource regulating method as described in any one of claim 6-8, it is characterised in that described regulate according to described curvature
Include before the reference frequency that described central processing unit runs:
3rd preset percentage of the maximum frequency of operation of described central processing unit is set as described reference frequency.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610363761.2A CN106066813B (en) | 2016-05-26 | 2016-05-26 | Resource scheduling device, mobile terminal and resource scheduling method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610363761.2A CN106066813B (en) | 2016-05-26 | 2016-05-26 | Resource scheduling device, mobile terminal and resource scheduling method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106066813A true CN106066813A (en) | 2016-11-02 |
CN106066813B CN106066813B (en) | 2020-03-13 |
Family
ID=57420283
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610363761.2A Active CN106066813B (en) | 2016-05-26 | 2016-05-26 | Resource scheduling device, mobile terminal and resource scheduling method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106066813B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107239345A (en) * | 2017-06-06 | 2017-10-10 | 深圳天珑无线科技有限公司 | Data processing method and device |
CN109254852A (en) * | 2018-12-18 | 2019-01-22 | 展讯通信(上海)有限公司 | Data processing equipment and method |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1314627A (en) * | 2000-03-21 | 2001-09-26 | 神基科技股份有限公司 | Stepped frequency converter |
US7194646B1 (en) * | 1989-10-30 | 2007-03-20 | Texas Instruments Incorporated | Real-time thermal management for computers |
US20070097620A1 (en) * | 2005-10-31 | 2007-05-03 | Leech Phillip A | Heat sink verification |
US20080155288A1 (en) * | 2000-12-28 | 2008-06-26 | Intel Corporation | Method And Apparatus For Thermal Sensitivity Based Dynamic Power Control |
CN101853066A (en) * | 2009-02-11 | 2010-10-06 | 上海芯豪微电子有限公司 | Method and device for automatically adjusting clock frequency of system in real time |
CN102609014A (en) * | 2011-01-25 | 2012-07-25 | 鼎桥通信技术有限公司 | Method for controlling temperature of single plate |
CN103189814A (en) * | 2010-10-29 | 2013-07-03 | 超威半导体公司 | Method and apparatus for thermal control of processing nodes |
US20140189404A1 (en) * | 2012-12-28 | 2014-07-03 | Biswajit Sur | Adaptive thermal control of electronic devices |
CN104122962A (en) * | 2013-04-27 | 2014-10-29 | 宏碁股份有限公司 | Temperature regulation device and method |
CN104137024A (en) * | 2011-12-22 | 2014-11-05 | 英特尔公司 | A method, apparatus, and system for energy efficiency and energy conservation including energy efficient processor thermal throttling using deep power down mode |
TW201445295A (en) * | 2013-05-30 | 2014-12-01 | Hon Hai Prec Ind Co Ltd | System and method of controlling fan speed |
CN104199765A (en) * | 2014-08-14 | 2014-12-10 | 北京金山安全软件有限公司 | Method and device for acquiring normal temperature value range of terminal device and terminal |
CN104360822A (en) * | 2014-10-22 | 2015-02-18 | 深圳芯邦科技股份有限公司 | Chip and control method for working frequency of chip |
CN104487911A (en) * | 2012-07-26 | 2015-04-01 | 高通股份有限公司 | Autonomous thermal controller for power management IC |
CN104635789A (en) * | 2013-11-11 | 2015-05-20 | 联发科技股份有限公司 | Thermal management method using micro-throttle and wireless device thereof |
CN105094169A (en) * | 2015-05-29 | 2015-11-25 | 小米科技有限责任公司 | Monitoring method, apparatus and system for temperature adjustment device and temperature adjustment device |
CN105259996A (en) * | 2015-09-23 | 2016-01-20 | 努比亚技术有限公司 | Temperature regulation device and method of mobile terminal |
-
2016
- 2016-05-26 CN CN201610363761.2A patent/CN106066813B/en active Active
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7194646B1 (en) * | 1989-10-30 | 2007-03-20 | Texas Instruments Incorporated | Real-time thermal management for computers |
CN1314627A (en) * | 2000-03-21 | 2001-09-26 | 神基科技股份有限公司 | Stepped frequency converter |
US20080155288A1 (en) * | 2000-12-28 | 2008-06-26 | Intel Corporation | Method And Apparatus For Thermal Sensitivity Based Dynamic Power Control |
US20070097620A1 (en) * | 2005-10-31 | 2007-05-03 | Leech Phillip A | Heat sink verification |
CN101853066A (en) * | 2009-02-11 | 2010-10-06 | 上海芯豪微电子有限公司 | Method and device for automatically adjusting clock frequency of system in real time |
CN103189814A (en) * | 2010-10-29 | 2013-07-03 | 超威半导体公司 | Method and apparatus for thermal control of processing nodes |
CN102609014A (en) * | 2011-01-25 | 2012-07-25 | 鼎桥通信技术有限公司 | Method for controlling temperature of single plate |
CN104137024A (en) * | 2011-12-22 | 2014-11-05 | 英特尔公司 | A method, apparatus, and system for energy efficiency and energy conservation including energy efficient processor thermal throttling using deep power down mode |
CN104487911A (en) * | 2012-07-26 | 2015-04-01 | 高通股份有限公司 | Autonomous thermal controller for power management IC |
US20140189404A1 (en) * | 2012-12-28 | 2014-07-03 | Biswajit Sur | Adaptive thermal control of electronic devices |
CN104122962A (en) * | 2013-04-27 | 2014-10-29 | 宏碁股份有限公司 | Temperature regulation device and method |
TW201445295A (en) * | 2013-05-30 | 2014-12-01 | Hon Hai Prec Ind Co Ltd | System and method of controlling fan speed |
CN104635789A (en) * | 2013-11-11 | 2015-05-20 | 联发科技股份有限公司 | Thermal management method using micro-throttle and wireless device thereof |
CN104199765A (en) * | 2014-08-14 | 2014-12-10 | 北京金山安全软件有限公司 | Method and device for acquiring normal temperature value range of terminal device and terminal |
CN104360822A (en) * | 2014-10-22 | 2015-02-18 | 深圳芯邦科技股份有限公司 | Chip and control method for working frequency of chip |
CN105094169A (en) * | 2015-05-29 | 2015-11-25 | 小米科技有限责任公司 | Monitoring method, apparatus and system for temperature adjustment device and temperature adjustment device |
CN105259996A (en) * | 2015-09-23 | 2016-01-20 | 努比亚技术有限公司 | Temperature regulation device and method of mobile terminal |
Non-Patent Citations (1)
Title |
---|
UNIFIED EFI,INC.: "Advanced Configuration and Power Interface Specification", 《WWW.UEFI.ORG/SITES/DEFAULT/FILES/RESOURCES/ACPI_6.0.PDF》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107239345A (en) * | 2017-06-06 | 2017-10-10 | 深圳天珑无线科技有限公司 | Data processing method and device |
CN109254852A (en) * | 2018-12-18 | 2019-01-22 | 展讯通信(上海)有限公司 | Data processing equipment and method |
CN109254852B (en) * | 2018-12-18 | 2019-03-29 | 展讯通信(上海)有限公司 | Data processing equipment and method |
Also Published As
Publication number | Publication date |
---|---|
CN106066813B (en) | 2020-03-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106201183B (en) | Split screen display available device, mobile terminal and method | |
US9197737B2 (en) | Mobile terminal and vibration power control method therof | |
CN106230038A (en) | A kind of charging method and terminal | |
CN105704282A (en) | Detection method and apparatus for camera | |
CN105259996A (en) | Temperature regulation device and method of mobile terminal | |
CN104916270B (en) | A kind of method and apparatus adjusting screen intensity | |
CN104935044B (en) | Charging method and charging unit | |
CN106453948A (en) | Parameter configuration device, mobile terminal and method | |
CN105718200B (en) | Page switching device, method and terminal based on pressure sensor | |
CN106648811A (en) | Method for starting application of terminal and terminal | |
CN106534914A (en) | Split screen display device, mobile terminal and method | |
CN106803860A (en) | The storage processing method and device of a kind of terminal applies | |
CN105072351A (en) | Photographing device and method based on front-facing camera | |
CN105573599A (en) | Rapid menu setting device and method | |
CN106559571A (en) | parameter configuration device, mobile terminal and method | |
CN104915139A (en) | Automatic adjusting method and device for brightness of display interface | |
CN104993180A (en) | Terminal charging method and device | |
CN105741786B (en) | Eliminate the method and mobile terminal of display screen shake | |
CN105244959B (en) | Battery charge controller and method | |
CN106445830A (en) | Application program running environment detection method and mobile terminal | |
CN106303055A (en) | Bright screen controls device, mobile terminal and method | |
CN105611059B (en) | Show the method, device and mobile terminal of application availability | |
CN106658470A (en) | Master card setting device and method | |
CN106507460A (en) | A kind of intelligent power saving method, terminal | |
CN106790785A (en) | A kind of mobile terminal charging structure and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |