CN106293908A - Central processing unit control method and mobile terminal - Google Patents
Central processing unit control method and mobile terminal Download PDFInfo
- Publication number
- CN106293908A CN106293908A CN201610604812.6A CN201610604812A CN106293908A CN 106293908 A CN106293908 A CN 106293908A CN 201610604812 A CN201610604812 A CN 201610604812A CN 106293908 A CN106293908 A CN 106293908A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- kernel
- temperature value
- processing unit
- central processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- 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/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
- G06F9/4893—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues taking into account power or heat criteria
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)
Abstract
The invention provides a kind of central processing unit control method and mobile terminal, wherein, central processing unit control method is applied to include the mobile terminal of many core central processor, specifically includes: obtain the current temperature value of mobile terminal;Determine the temperature range belonging to current temperature value;Determine the kernel operation quantity that temperature range is corresponding;The kernel of the quantity control in central processing unit, determining is in running status.The central processing unit control method provided by the present invention, it is possible to effectively central processing unit is controlled.
Description
Technical field
The present invention relates to central processing unit and control technical field, particularly relate to a kind of central processing unit control method and shifting
Dynamic terminal.
Background technology
Along with mobile terminal technology is more and more flourishing, CPU in operating system (Central Processing Unit, in
Central processor) number of cores is also continuously increased, and the CPU of mobile terminal the most on the market comprises 8 kernels.Along with shifting
The increase of number of cores in dynamic terminal CPU, the speed of service of mobile terminal operating system is faster, but, along with interior
The increase of nuclear volume, also brings along the negative effect that mobile terminal temperature is too high, if the kernel in CPU is completely in operation shape
State, then easily lead to mobile terminal heating hot, damage mobile terminal.
In order to solve mobile terminal because of the hot problem of the too high heating of temperature, currently mainly use following CPU control program:
Thering is provided user's cpu model to arrange interface in the terminal, user can choose whether owning in CPU to be run
Kernel.Specifically, it is provided that very fast pattern and general mode select for user, wherein, very fast pattern i.e. run in CPU all in
Core, general mode i.e. runs the part kernel of CPU.
This kind of CPU control program, gives user a technical difficult problem beyond doubt and processes, for domestic consumer, and nothing
Method according to mobile terminal current state it is determined that run CPU core quantity.Moreover, this kind of CPU control program, only can
Cause the consequence imposed uniformity without examining individual cases, specifically, if user have selected the whole kernels in very fast pattern instruction running of mobile terminal CPU,
When the too high heating of mobile terminal Current Temperatures is hot, due to user unmodified cpu model, therefore mobile terminal temperature will be held
Height of continuing rising, it is impossible to solve the problem that mobile terminal heating is hot.If user have selected general mode instruction running of mobile terminal CPU
In part kernel, then even if mobile terminal Current Temperatures allow open greater number of kernel, owing to user does not repair
Change cpu model, therefore CPU core run quantity the most still will not increase, this will cause user cannot enjoy high check figure configure institute
The operational smoothness brought and sense of speed.
Visible, existing CPU control program cannot be according to the fortune of kernel in the current temperature Reasonable adjustment CPU of mobile terminal
Line number amount, to realize the effective control to CPU.
Summary of the invention
In view of problem CPU cannot being control effectively present in existing CPU control program, it is proposed that the present invention
To provide a kind of CPU control method overcoming the problems referred to above and mobile terminal.According to one aspect of the present invention, it is provided that one
Plant central processing unit control method, be applied to include that the mobile terminal of many core central processor, described method include: obtain institute
State the current temperature value of mobile terminal;Determine the temperature range belonging to described current temperature value;Determine that described temperature range is corresponding
Kernel run quantity;The kernel of the described quantity control in described central processing unit, determining is in running status.
According to a further aspect in the invention, it is provided that a kind of mobile terminal, described mobile terminal includes many core central place
Reason device, described mobile terminal also includes: acquisition module, for obtaining the current temperature value of described mobile terminal;Temperature range is true
Cover half block, for determining the temperature range belonging to described current temperature value;Number of cores determines module, is used for determining described temperature
The kernel operation quantity that scope is corresponding;Control module, the kernel of the described quantity be used for controlling in described central processing unit, determining
It is in running status.
Compared with prior art, the invention have the advantages that
The CPU control program that the embodiment of the present invention provides, dynamically adjusts CPU core according to mobile terminal current temperature value
Run quantity, when mobile terminal Current Temperatures is low, increases CPU core and run quantity, when mobile terminal Current Temperatures height, subtract
Few CPU core runs quantity, in the case of preventing mobile terminal temperature too high, increases the operation number of CPU core as far as possible
Amount, makes user enjoy high check figure and configures the operational smoothness and sense of speed brought.Visible, the embodiment of the present invention provides
CPU control program, it is not necessary to user manually adjust CPU core run quantity, therefore, it is possible to alleviate the operation burden of user, meanwhile,
Quantity is run, therefore, it is possible to effectively CPU is carried out owing to can dynamically adjust CPU core according to mobile terminal current temperature value
Control.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of description, and in order to allow above and other objects of the present invention, the feature and advantage can
Become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various advantages and benefit are for ordinary skill people
Member will be clear from understanding.Accompanying drawing is only used for illustrating preferred implementation, and is not considered as limitation of the present invention.And
In whole accompanying drawing, it is denoted by the same reference numerals identical parts.In the accompanying drawings:
Fig. 1 is the flow chart of steps of a kind of central processing unit control method of according to embodiments of the present invention;
Fig. 2 is the flow chart of steps of a kind of central processing unit control method of according to embodiments of the present invention two;
Fig. 3 is the structured flowchart of a kind of mobile terminal of according to embodiments of the present invention three;
Fig. 4 is the structured flowchart of a kind of mobile terminal of according to embodiments of the present invention four;
Fig. 5 is the structured flowchart of a kind of mobile terminal of according to embodiments of the present invention five;
Fig. 6 is the structured flowchart of a kind of mobile terminal of according to embodiments of the present invention six.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows the disclosure
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should be by embodiments set forth here
Limited.On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
Embodiment one
With reference to Fig. 1, it is shown that the flow chart of steps of a kind of central processing unit control method of the embodiment of the present invention one.
The central processing unit control method of the embodiment of the present invention comprises the following steps:
Step 101: obtain the current temperature value of mobile terminal.
CPU control method in the embodiment of the present invention is suitable for inclusion in the mobile terminal of many kernels CPU.The embodiment of the present invention
In the particular number of kernel that CPU is comprised be not especially limited.Such as: CPU can comprise 8 kernels, 4 kernels etc..
Mobile terminal is bringing into operation and all can adjust kernel in CPU according to current temperature value in running
Run quantity.When carrying out the control of kernel operation quantity in CPU, perform the CPU control flow in the embodiment of the present invention i.e. every time
Can.
The current temperature value of the mobile terminal obtained can be the internal current temperature value of mobile terminal, it is also possible to for movement
Terminal surrounding current environmental temperature value, is not specifically limited this in the embodiment of the present invention.
Step 102: determine the temperature range belonging to current temperature value.
Mobile terminal is preset with the corresponding relation of temperature range and kernel operation quantity, therefore, this step needs really
Determine the temperature range belonging to current temperature value, it is simple to further determine that kernel runs quantity.
Step 103: determine the kernel operation quantity that temperature range is corresponding.
After determining temperature range, run the corresponding relation between quantity according to temperature range and kernel, in i.e. can determine that
Core runs quantity.In the embodiment of the present invention, the corresponding relation that temperature range and kernel are run quantity is not especially limited.For
The higher limit of each temperature range is not restricted with lower limit.
When the arranging of corresponding relation carrying out temperature range and kernel operation quantity, it then follows temperature value runs number with kernel
The principle that value is inversely proportional to, the i.e. temperature of temperature range instruction are the highest, then the kernel operation quantity of its correspondence is the fewest.
Step 104: the kernel of this quantity control in CPU, determining is in running status.
Such as: determine that 4 kernels run, if CPU comprises 8 kernels, when CPU is controlled, then control 4 in CPU
Individual kernel runs, and 4 other kernels are then controlled in a dormant state.
It should be noted that run or during dormancy at the kernel controlled in CPU, can be come by the frequency adjusting kernel
Realize.
The CPU control method provided by the embodiment of the present invention, dynamically adjusts CPU according to mobile terminal current temperature value
Kernel runs quantity, when mobile terminal Current Temperatures is low, increases CPU core and runs quantity, high at mobile terminal Current Temperatures
Time, reduce CPU core and run quantity, in the case of preventing mobile terminal temperature too high, increase the fortune of CPU core as far as possible
Line number amount, makes user enjoy high check figure and configures the operational smoothness and sense of speed brought.Visible, the embodiment of the present invention provides
CPU control method can effectively CPU be controlled.
Embodiment two
With reference to Fig. 2, it is shown that the flow chart of steps of a kind of central processing unit control method of the embodiment of the present invention two.
The central processing unit control method that the embodiment of the present invention provides specifically includes below scheme:
Step 201: receive the setting that the kernel that each temperature range and each temperature range are corresponding is run quantity.
CPU control method in the embodiment of the present invention is suitable for inclusion in the mobile terminal of many kernels CPU.The embodiment of the present invention
In comprise by CPU and to illustrate as a example by 8 kernels.It should be noted that during implementing, the embodiment of the present invention provides
CPU control method, it is not limited to the CPU comprising 8 kernels is controlled, it is also possible to the kernel comprising other quantity
CPU be controlled.
A kind of preferred temperature range is as follows with the set-up mode of the corresponding relation that kernel runs quantity:
Arranging temperature range is 40 degree of extremely infinities, and in corresponding CPU, all kernels are in resting state;
Arranging temperature range is 30~40 degree, the kernel of the middle half quantity of corresponding CPU in a dormant state, half quantity
Kernel be in running status;
Arranging temperature range is 0 degree~30 degree, and in corresponding CPU, all kernel is in running status.
Certainly, the above-mentioned set-up mode being only to list the corresponding relation that a kind of temperature range runs quantity with kernel,
Being not limited to this during implementing, those skilled in the art can arrange temperature range and temperature according to the actual requirements
In scope and CPU, kernel runs the corresponding relation between quantity.
Step 202: read the temperature value of temperature sensor output.
In the embodiment of the present invention, being provided with temperature sensor in the terminal, this temperature sensor can sense movement
The internal temperature of terminal.Therefore, the temperature value exported by temperature sensor, i.e. can determine that the Current Temperatures of mobile terminal.
Step 203: the temperature value read is defined as the current temperature value of mobile terminal.
It should be noted that step 202 and step 203 are for obtaining mobile terminal internal temperature values, by mobile terminal
Internal temperature values is defined as the mode of mobile terminal current temperature value.It is not limited to this, it is also possible to will during implementing
Mobile terminal ambient temperature value is defined as the current temperature value of mobile terminal, and specific implementation is as follows:
First, current environmental temperature value around mobile terminal is obtained;Secondly, the current environmental temperature value of acquisition is defined as
The current temperature value of mobile terminal.
Weather APP that around mobile terminal, current environmental temperature value can be installed from mobile terminal (Application,
Application program) middle acquisition, such as: ink marks weather APP.
During implementing, those skilled in the art can be to select any one mode in above two mode true
Determine current temperature value.
Step 204: determine the temperature range belonging to the current temperature value of mobile terminal.
Owing to being preset with temperature range the most in the terminal, accordingly, it is determined that after current temperature value,
Current temperature value can be mated with each temperature range, the temperature range mated with current temperature value is defined as current temperature
Temperature range belonging to angle value.
Step 205: determine the kernel operation quantity that temperature range is corresponding.
Run the corresponding pass of quantity with kernel owing to having preset temperature range the most in the terminal
According to this corresponding relation, system, therefore after determining temperature range, in i.e. can determine that the temperature range determined in this step is corresponding
Core runs quantity.
In the CPU comprising multiple kernel, the frequency of each kernel can be passed through in the embodiment of the present invention with independent regulation
In regulation CPU, the mode of the frequency of each kernel controls kernel operation or dormancy.Concrete regulative mode participates in step 206 to step
Related description in rapid 208.
Step 206: by CPU, in the range of the frequency of the kernel of this quantity that determines is adjusted to running frequency.
Such as: the quantity determined is 4 kernels, then in the range of the frequency of in CPU four kernels being adjusted to running frequency.
It is in course of adjustment, if the number of cores that CPU currently runs is more than this quantity determined, then will be in running status
Kernel in one or more frequency be adjusted to the lower limit less than running frequency scope, so can will be currently at
The kernel of running status is adjusted to resting state, makes the quantity of the total kernel run in CPU equal to this quantity determined.
If the number of cores that CPU currently runs is less than this quantity determined, then by kernel in a dormant state
Individual or multiple frequencies is adjusted to the lower limit less than running frequency scope, so can will be currently in resting state
Core is adjusted to running status, makes the quantity of the total kernel run in CPU equal to this quantity determined.Certainly, if CPU currently transports
When the number of cores of row is equal to this quantity determined, the frequency of kernel each in CPU is not adjusted.
Wherein, running frequency scope can be set as 500MHZ~2.3GHZ, and the frequency of kernel is adjusted to this frequency model
In enclosing, then can control kernel and be in running status.
It should be noted that running frequency scope is not limited to this, those skilled in the art can set according to the actual requirements
Put running frequency scope, such as: running frequency scope is arranged to 450MHZ~2.2GHZ.
Step 207: the kernel in addition to the kernel in CPU, in the range of being adjusted to running frequency is defined as dormancy shape
State kernel.
Such as: CPU comprises 8 kernels, in the range of wherein the frequency of four kernels is adjusted to running frequency, the most additionally
Four kernels will be confirmed as resting state kernel.
Step 208: the frequency of resting state kernel is adjusted to the lower limit less than running frequency scope.
Such as: running frequency scope is 500MHZ~2.3GHZ, 500MHZ is then the lower limit of this running frequency scope,
When adjusting the frequency of resting state kernel, the frequency of resting state kernel is adjusted to less than 500MHZ.
The central processing unit control method provided by the embodiment of the present invention, is come dynamically according to mobile terminal current temperature value
Adjust CPU core and run quantity, when mobile terminal Current Temperatures is low, increases CPU core and run quantity, current at mobile terminal
During temperature height, reduce CPU core and run quantity, in the case of preventing mobile terminal temperature too high, increase as far as possible in CPU
The operation quantity of core, makes user enjoy high check figure and configures the operational smoothness and sense of speed brought.Visible, the present invention implements
CPU can be effectively controlled by the CPU control method that example provides.
Embodiment three
With reference to Fig. 3, it is shown that the structured flowchart of a kind of mobile terminal of the embodiment of the present invention three.
Mobile terminal many core central processor of the embodiment of the present invention, also includes: acquisition module 301, is used for obtaining shifting
The current temperature value of dynamic terminal;Temperature range determines module 302, for determining the temperature range belonging to described current temperature value;
Number of cores determines module 303, for determining the kernel operation quantity that described temperature range is corresponding;Control module 304, is used for controlling
The kernel of the described quantity make in described central processing unit, determining is in running status.
The mobile terminal provided by the embodiment of the present invention, is dynamically adjusted in CPU according to mobile terminal current temperature value
Core runs quantity, when mobile terminal Current Temperatures is low, increases CPU core and runs quantity, when mobile terminal Current Temperatures height,
Reduce CPU core and run quantity, in the case of preventing mobile terminal temperature too high, increase the operation of CPU core as far as possible
Quantity, makes user enjoy high check figure and configures the operational smoothness and sense of speed brought.Visible, the embodiment of the present invention provides
CPU can be effectively controlled by mobile terminal.
Embodiment four
With reference to Fig. 4, it is shown that the structured flowchart of a kind of mobile terminal of the embodiment of the present invention four.
The mobile terminal of the embodiment of the present invention is the further optimization to the mobile terminal in embodiment three, the shifting after optimization
Dynamic terminal includes: acquisition module 401, for obtaining the current temperature value of mobile terminal;Temperature range determines module 402, is used for
Determine the temperature range belonging to described current temperature value;Number of cores determines module 403, is used for determining that described temperature range is corresponding
Kernel run quantity;Control module 404, the kernel of the described quantity be used for controlling in described central processing unit, determining is in
Running status.
Preferably, described control module 404 includes: first control submodule 4041, for by described central processing unit,
In the range of the frequency of the kernel of the described quantity determined is adjusted to running frequency;Kernel determines submodule 4042, for by described
The kernel in addition to kernel in central processing unit, in the range of being adjusted to running frequency is defined as resting state kernel;Second
Control submodule 4043, for described kernel being determined the frequency of resting state kernel that submodule determines is adjusted to less than described
The lower limit of running frequency scope.
Preferably, being provided with temperature sensor in described mobile terminal, described acquisition module 401 includes: sensor reads
Submodule 4011, for reading the temperature value of described temperature sensor output;First determines submodule 4012, for reading
Described temperature value be defined as the current temperature value of described mobile terminal.
Preferably, described acquisition module 401 includes: ambient temperature obtains submodule 4013, is used for obtaining described movement eventually
End current environmental temperature value around;Second determines submodule 4014, for the described current environmental temperature value obtained being defined as
The current temperature value of described mobile terminal.
Preferably, described mobile terminal also includes: receiver module 405, for obtaining current temperature at described acquisition module 401
Before angle value, receive the setting that the kernel that each temperature range and each temperature range are corresponding is run quantity.
The mobile terminal of the embodiment of the present invention is used for realizing corresponding central processing unit controlling party in previous embodiment one, two
Method, and there is beneficial effect corresponding with embodiment of the method, do not repeat them here.
Embodiment five
With reference to Fig. 5, it is shown that the structured flowchart of the mobile terminal of the embodiment of the present invention.
The mobile terminal 500 of the embodiment of the present invention includes: at least one processor 501, memorizer 502, at least one net
Network interface 504 and other user interfaces 503.Each assembly in mobile terminal 500 is coupled by bus system 505.
It is understood that bus system 505 is for realizing the connection communication between these assemblies.Bus system 505 except include data/address bus it
Outward, also include power bus, control bus and status signal bus in addition.But for the sake of understanding explanation, in Figure 5 by various always
Line is all designated as bus system 505.
Wherein, user interface 503 can include display, keyboard or pointing device (such as, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
The memorizer 502 being appreciated that in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Maybe can include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memorizer 502 of the system and method that the embodiment of the present invention describes is intended to include but not limited to these
Memorizer with arbitrarily other applicable type.
In some embodiments, memorizer 502 stores following element, executable module or data structure, or
Their subset of person, or their superset: operating system 5021 and application program 5022.
Wherein, operating system 5021, comprise various system program, such as ccf layer, core library layer, driving layer etc., be used for
Realize various basic business and process hardware based task.Application program 5022, comprises various application program, such as media
Player (MediaPlayer), browser (Browser) etc., be used for realizing various applied business.Realize embodiment of the present invention side
The program of method may be embodied in application program 5022.
In embodiments of the present invention, by calling program or the instruction of memorizer 502 storage, concrete, can be application
The program stored in program 5022 or instruction, processor 501 i.e. central processing unit is for obtaining the current temperature of described mobile terminal
Angle value;Determine the temperature range belonging to described current temperature value;Determine the kernel operation quantity that described temperature range is corresponding;Control
In described central processing unit, the kernel of described quantity that determines be in running status.
The method that the invention described above embodiment discloses can apply in processor 501, or is realized by processor 501.
Processor 501 is probably a kind of IC chip, has the disposal ability of signal.During realizing, said method each
Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 501 or software form.Above-mentioned process
Device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.Can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General
The processor etc. that processor can be microprocessor or this processor can also be any routine.In conjunction with embodiment of the present invention institute
The step of disclosed method can be embodied directly in hardware decoding processor and perform, or with the hardware in decoding processor
And software module combination execution completes.Software module may be located at random access memory, and flash memory, read only memory are able to programme read-only
In the storage medium that this areas such as memorizer or electrically erasable programmable memorizer, depositor are ripe.This storage medium is positioned at
Memorizer 502, processor 501 reads the information in memorizer 502, completes the step of said method in conjunction with its hardware.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its
Combination realizes.Realizing for hardware, processing unit can be implemented in one or more special IC (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
Controller, microcontroller, microprocessor, for performing in other electronic unit or a combination thereof of herein described function.
Software is realized, can be by performing the module (such as process, function etc.) of function described in the embodiment of the present invention
Realize the technology described in the embodiment of the present invention.Software code is storable in performing in memorizer and by processor.Storage
Device can within a processor or realize outside processor.
Alternatively, during processor 501 controls described central processing unit, the kernel of described quantity that determines be in running status
Time, specifically for: by described central processing unit, the frequency of the kernel of described quantity that determines be adjusted to running frequency scope
In;Kernel in addition to kernel in described central processing unit, in the range of being adjusted to running frequency is defined as resting state
Kernel;The frequency of described resting state kernel is adjusted to the lower limit less than described running frequency scope.
Alternatively, being provided with temperature sensor in mobile terminal, processor 501 obtains the current temperature value of mobile terminal
Time, specifically for: read the temperature value of described temperature sensor output;The described temperature value read is defined as described movement
The current temperature value of terminal.
Alternatively, when processor 501 obtains the current temperature value of mobile terminal, specifically for: obtain described mobile terminal
Current environmental temperature value around;The described current environmental temperature value obtained is defined as the current temperature value of described mobile terminal.
Alternatively, processor 501 is additionally operable to: obtaining before current temperature value, receives each temperature range and each
The setting of the kernel operation quantity that temperature range is corresponding.
Mobile terminal 500 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding repeating, here
Repeat no more.
The mobile terminal provided by the embodiment of the present invention, is dynamically adjusted in CPU according to mobile terminal current temperature value
Core runs quantity, when mobile terminal Current Temperatures is low, increases CPU core and runs quantity, when mobile terminal Current Temperatures height,
Reduce CPU core and run quantity, in the case of preventing mobile terminal temperature too high, increase the operation of CPU core as far as possible
Quantity, makes user enjoy high check figure and configures the operational smoothness and sense of speed brought.Visible, the embodiment of the present invention provides
CPU can be effectively controlled by mobile terminal.
Embodiment six
With reference to Fig. 6, it is shown that the structured flowchart of the mobile terminal of the embodiment of the present invention.
Mobile terminal in the embodiment of the present invention can be mobile phone, panel computer, personal digital assistant
(PersonalDigital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal in Fig. 6 includes radio frequency (RadioFrequency, RF) circuit 610, memorizer 620, input block
630, display unit 640, processor 660, voicefrequency circuit 670, WiFi (WirelessFidelity) module 680 and power supply 690.
Wherein, input block 630 can be used for receiving numeral or the character information of user's input, and produces and mobile terminal
User setup and function control the input of relevant signal.Specifically, in the embodiment of the present invention, this input block 630 is permissible
Including contact panel 631.Contact panel 631, also referred to as touch screen, thereon or neighbouring touch operation (is compared can to collect user
As user uses any applicable object such as finger, stylus or adnexa operation on contact panel 631), and according to setting in advance
Fixed formula drives corresponding attachment means.Optionally, contact panel 631 can include touch detecting apparatus and touch controller two
Individual part.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, signal is passed
Give touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then
Give this processor 660, and order that processor 660 sends can be received and performed.Furthermore, it is possible to use resistance-type, electricity
The polytypes such as appearance formula, infrared ray and surface acoustic wave realize contact panel 631.Except contact panel 631, input block 630
Can also include other input equipments 632, other input equipments 632 can include but not limited to physical keyboard, function key (such as
Volume control button, switch key etc.), trace ball, mouse, one or more in action bars etc..
Wherein, display unit 640 can be used for showing the information inputted by user or the information being supplied to user and movement
The various menu interfaces of terminal.Display unit 640 can include display floater 641, optionally, can use LCD or organic light emission
The forms such as diode (OrganicLight-EmittingDiode, OLED) configure display floater 641.
It should be noted that contact panel 631 can cover display floater 641, formed and touch display screen, when this touch display screen is examined
Measure thereon or after neighbouring touch operation, send processor 660 to determine the type of touch event, with preprocessor
660 provide corresponding visual output according to the type of touch event on touch display screen.
Touch display screen and include Application Program Interface viewing area and conventional control viewing area.This Application Program Interface viewing area
And the arrangement mode of this conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can be distinguished two and show
Show the arrangement mode in district.This Application Program Interface viewing area is displayed for the interface of application program.Each interface is permissible
The interface elements such as the icon and/or the widget desktop control that comprise at least one application program.This Application Program Interface viewing area
It can also be the empty interface not comprising any content.This conventional control viewing area is for showing the control that utilization rate is higher, such as,
The application icons etc. such as settings button, interface numbering, scroll bar, phone directory icon.
Wherein processor 660 is the control centre of mobile terminal, utilizes each of various interface and the whole mobile phone of connection
Individual part, is stored in the software program in first memory 621 and/or module by running or performing, and calls and be stored in
Data in second memory 622, perform the various functions of mobile terminal and process data, thus mobile terminal is carried out entirety
Monitoring.Optionally, processor 660 can include one or more processing unit.
In embodiments of the present invention, by call the software program and/or module stored in this first memory 621 and/
Or the data in this second memory 622, processor 660 i.e. central processing unit is for obtaining the Current Temperatures of described mobile terminal
Value;Determine the temperature range belonging to described current temperature value;Determine the kernel operation quantity that described temperature range is corresponding;Control institute
The kernel of the described quantity state in central processing unit, determining is in running status.
Alternatively, during processor 660 controls described central processing unit, the kernel of described quantity that determines be in running status
Time, specifically for: by described central processing unit, the frequency of the kernel of described quantity that determines be adjusted to running frequency scope
In;Kernel in addition to kernel in described central processing unit, in the range of being adjusted to running frequency is defined as resting state
Kernel;The frequency of described resting state kernel is adjusted to the lower limit less than described running frequency scope.
Alternatively, being provided with temperature sensor in mobile terminal, processor 660 obtains the current temperature value of mobile terminal
Time, specifically for: read the temperature value of described temperature sensor output;The described temperature value read is defined as described movement
The current temperature value of terminal.
Alternatively, when processor 660 obtains the current temperature value of mobile terminal, specifically for: obtain described mobile terminal
Current environmental temperature value around;The described current environmental temperature value obtained is defined as the current temperature value of described mobile terminal.
Alternatively, processor 660 is additionally operable to: obtaining before current temperature value, receives each temperature range and each
The setting of the kernel operation quantity that temperature range is corresponding.
The mobile terminal provided by the embodiment of the present invention, is dynamically adjusted in CPU according to mobile terminal current temperature value
Core runs quantity, when mobile terminal Current Temperatures is low, increases CPU core and runs quantity, when mobile terminal Current Temperatures height,
Reduce CPU core and run quantity, in the case of preventing mobile terminal temperature too high, increase the operation of CPU core as far as possible
Quantity, makes user enjoy high check figure and configures the operational smoothness and sense of speed brought.Visible, the embodiment of the present invention provides
CPU can be effectively controlled by CPU control program.
For device embodiment, due to itself and embodiment of the method basic simlarity, so describe is fairly simple, relevant
Part sees the part of embodiment of the method and illustrates.
Central processing unit control program is not solid with any certain computer, virtual system or miscellaneous equipment provided herein
Have relevant.Various general-purpose systems can also be used together with based on teaching in this.As described above, structure has this
Structure required by the system of bright scheme is apparent from.Additionally, the present invention is also not for any certain programmed language.Should
Understand, it is possible to use various programming languages realize the content of invention described herein, and above language-specific is done
Description is the preferred forms in order to disclose the present invention.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that the enforcement of the present invention
Example can be put into practice in the case of not having these details.In some instances, it is not shown specifically known method, structure
And technology, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that one or more in order to simplify that the disclosure helping understands in each inventive aspect, exist
Above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes
In example, figure or descriptions thereof.But, the method for the disclosure should not be construed to reflect an intention that i.e. required guarantor
The application claims feature more more than the feature being expressly recited in each claim protected.More precisely, such as right
As claim is reflected, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool
Claims of body embodiment are thus expressly incorporated in this detailed description of the invention, the conduct of the most each claim itself
The independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out the module in the equipment in embodiment adaptively
Change and they are arranged in one or more equipment different from this embodiment.Can be the module in embodiment or list
Unit or assembly are combined into a module or unit or assembly, and can put them in addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit excludes each other, can use any
Combine all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed appoint
Where method or all processes of equipment or unit are combined.Unless expressly stated otherwise, this specification (includes adjoint power
Profit requires, summary and accompanying drawing) disclosed in each feature can be carried out generation by providing identical, equivalent or the alternative features of similar purpose
Replace.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include other embodiments
Some feature included by rather than further feature, but the combination of the feature of different embodiment means to be in the present invention's
Within the scope of and form different embodiments.Such as, in detail in the claims, embodiment required for protection one of arbitrarily
Can mode use in any combination.
The all parts embodiment of the present invention can realize with hardware, or to run on one or more processor
Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that and can use in practice
Microprocessor or digital signal processor (DSP) realize in central processing unit control program according to embodiments of the present invention
The some or all functions of some or all parts.The present invention is also implemented as performing method as described herein
Part or all equipment or device program (such as, computer program and computer program).Such reality
The program of the existing present invention can store on a computer-readable medium, or can be to have the form of one or more signal.
Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or with any other form
There is provided.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference marks that should not will be located between bracket is configured to limitations on claims.Word " comprises " and does not excludes the presence of not
Arrange element in the claims or step.Word "a" or "an" before being positioned at element does not excludes the presence of multiple such
Element.The present invention and can come real by means of including the hardware of some different elements by means of properly programmed computer
Existing.If in the unit claim listing equipment for drying, several in these devices can be by same hardware branch
Specifically embody.Word first, second and third use do not indicate that any order.These word explanations can be run after fame
Claim.
Claims (10)
1. a central processing unit control method, is applied to include the mobile terminal of many core central processor, it is characterised in that
Including:
Obtain the current temperature value of described mobile terminal;
Determine the temperature range belonging to described current temperature value;
Determine the kernel operation quantity that described temperature range is corresponding;
The kernel of the described quantity control in described central processing unit, determining is in running status.
Method the most according to claim 1, it is characterised in that in the described central processing unit of described control, determine described
The kernel of quantity is in the step of running status, including:
By in described central processing unit, in the range of the frequency of the kernel of described quantity that determines is adjusted to running frequency;
Kernel in addition to kernel in described central processing unit, in the range of being adjusted to running frequency is defined as resting state
Kernel;
The frequency of described resting state kernel is adjusted to the lower limit less than described running frequency scope.
Method the most according to claim 1 and 2, it is characterised in that be provided with temperature sensor, institute in described mobile terminal
State the step of the current temperature value obtaining mobile terminal, including:
Read the temperature value of described temperature sensor output;
The described temperature value read is defined as the current temperature value of described mobile terminal.
Method the most according to claim 1 and 2, it is characterised in that the step of the current temperature value of described acquisition mobile terminal
Suddenly, including:
Obtain current environmental temperature value around described mobile terminal;
The described current environmental temperature value obtained is defined as the current temperature value of described mobile terminal.
Method the most according to claim 1, it is characterised in that before the step of described acquisition current temperature value, described
Method also includes:
Receive the setting that the kernel that each temperature range and each temperature range are corresponding is run quantity.
6. a mobile terminal, described mobile terminal includes many core central processor, it is characterised in that described mobile terminal is also
Including:
Acquisition module, for obtaining the current temperature value of described mobile terminal;
Temperature range determines module, for determining the temperature range belonging to described current temperature value;
Number of cores determines module, for determining the kernel operation quantity that described temperature range is corresponding;
Control module, the kernel of the described quantity be used for controlling in described central processing unit, determining is in running status.
Mobile terminal the most according to claim 6, it is characterised in that described control module includes:
First controls submodule, for by described central processing unit, the frequency of the kernel of described quantity that determines be adjusted to fortune
In the range of line frequency;
Kernel determines submodule, for by addition to the kernel in described central processing unit, in the range of being adjusted to running frequency
Kernel be defined as resting state kernel;
Second controls submodule, for described kernel determining, the frequency of resting state kernel that submodule determines is adjusted to be less than
The lower limit of described running frequency scope.
8. according to the mobile terminal described in claim 6 or 7, it is characterised in that described mobile terminal is provided with temperature sensing
Device, described acquisition module includes:
Sensor reading submodule, for reading the temperature value of described temperature sensor output;
First determines submodule, for the described temperature value read is defined as the current temperature value of described mobile terminal.
9. according to the mobile terminal described in claim 6 or 7, it is characterised in that described acquisition module includes:
Ambient temperature obtains submodule, is used for obtaining current environmental temperature value around described mobile terminal;
Second determines submodule, for the described current environmental temperature value obtained is defined as the Current Temperatures of described mobile terminal
Value.
Mobile terminal the most according to claim 6, it is characterised in that described mobile terminal also includes:
Receiver module, before obtaining current temperature value at described acquisition module, receives each temperature range and each temperature
The setting of the kernel operation quantity that scope is corresponding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610604812.6A CN106293908A (en) | 2016-07-27 | 2016-07-27 | Central processing unit control method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610604812.6A CN106293908A (en) | 2016-07-27 | 2016-07-27 | Central processing unit control method and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106293908A true CN106293908A (en) | 2017-01-04 |
Family
ID=57662851
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610604812.6A Pending CN106293908A (en) | 2016-07-27 | 2016-07-27 | Central processing unit control method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106293908A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112068690A (en) * | 2020-09-04 | 2020-12-11 | 龙芯中科技术有限公司 | Processor frequency modulation method and device |
CN115114027A (en) * | 2022-06-30 | 2022-09-27 | 苏州浪潮智能科技有限公司 | CPU running state control method, device, equipment and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103150002A (en) * | 2011-07-28 | 2013-06-12 | 富士通株式会社 | Information processing device and method of controlling information processing device |
US20140253569A1 (en) * | 2013-03-08 | 2014-09-11 | Casio Computer Co., Ltd. | Information processing device, information processing method, and recording medium |
CN105187627A (en) * | 2015-07-21 | 2015-12-23 | 小米科技有限责任公司 | Method and device for adjusting temperature of mobile phone |
CN105528203A (en) * | 2014-10-23 | 2016-04-27 | 深圳富泰宏精密工业有限公司 | CPU use control system and method |
-
2016
- 2016-07-27 CN CN201610604812.6A patent/CN106293908A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103150002A (en) * | 2011-07-28 | 2013-06-12 | 富士通株式会社 | Information processing device and method of controlling information processing device |
US20140253569A1 (en) * | 2013-03-08 | 2014-09-11 | Casio Computer Co., Ltd. | Information processing device, information processing method, and recording medium |
CN105528203A (en) * | 2014-10-23 | 2016-04-27 | 深圳富泰宏精密工业有限公司 | CPU use control system and method |
CN105187627A (en) * | 2015-07-21 | 2015-12-23 | 小米科技有限责任公司 | Method and device for adjusting temperature of mobile phone |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112068690A (en) * | 2020-09-04 | 2020-12-11 | 龙芯中科技术有限公司 | Processor frequency modulation method and device |
CN112068690B (en) * | 2020-09-04 | 2022-09-20 | 龙芯中科技术股份有限公司 | Processor frequency modulation method and device |
CN115114027A (en) * | 2022-06-30 | 2022-09-27 | 苏州浪潮智能科技有限公司 | CPU running state control method, device, equipment and medium |
CN115114027B (en) * | 2022-06-30 | 2024-10-18 | 苏州浪潮智能科技有限公司 | CPU running state control method, device, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107547734B (en) | Method, mobile terminal and the storage medium that screen intensity is adjusted | |
CN106506401A (en) | A kind of flow managing method and mobile terminal | |
CN106502605A (en) | A kind of brightness of mobile terminal and color temperature adjusting method and device | |
CN106060884A (en) | Network switching method and mobile terminal | |
CN106503555A (en) | A kind of method for ensureing safety of payment and mobile terminal | |
CN106157125A (en) | A kind of payment interface changing method and device | |
CN106681604A (en) | Method for adjusting video playing progress and mobile terminal | |
CN106993091A (en) | A kind of image weakening method and mobile terminal | |
CN106569662A (en) | Display method of application interface and mobile terminal | |
CN107122966A (en) | A kind of red packet amount of money distribution method and mobile terminal | |
CN107566622A (en) | A kind of temprature control method and mobile terminal | |
CN106375048A (en) | Antenna switch control method and apparatus of wireless local area network | |
CN106325753A (en) | Payment interface display method and mobile terminal | |
CN107565639A (en) | A kind of charging reminding method and mobile terminal | |
CN106775322A (en) | A kind of method and mobile terminal for preventing virtual key false triggering | |
CN106776085A (en) | Touch screen protective method and mobile terminal | |
CN106527849A (en) | Method for regulating icon position, and mobile terminal | |
CN106372893A (en) | Code scanning interface switching method and apparatus | |
CN107562263A (en) | Data entry device, mobile terminal and computer-readable recording medium | |
CN106131398A (en) | A kind of image browsing method and mobile terminal | |
CN105955600B (en) | A kind of method and mobile terminal adjusting mobile terminal display interface | |
CN106407259A (en) | Cookbook determination method and mobile terminal | |
CN106503179A (en) | A kind of loading method of Webpage and mobile terminal | |
CN106648426A (en) | Method for adjusting video playing progress and mobile terminal | |
CN106933484A (en) | Touch area self-adapting regulation method 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170104 |