CN108200473A - Cpu power control method, intelligent TV set and storage medium - Google Patents

Cpu power control method, intelligent TV set and storage medium Download PDF

Info

Publication number
CN108200473A
CN108200473A CN201810116265.6A CN201810116265A CN108200473A CN 108200473 A CN108200473 A CN 108200473A CN 201810116265 A CN201810116265 A CN 201810116265A CN 108200473 A CN108200473 A CN 108200473A
Authority
CN
China
Prior art keywords
cpu
signal
system load
power control
application scenarios
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810116265.6A
Other languages
Chinese (zh)
Other versions
CN108200473B (en
Inventor
许锟
江�润
柳学锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN201810116265.6A priority Critical patent/CN108200473B/en
Publication of CN108200473A publication Critical patent/CN108200473A/en
Application granted granted Critical
Publication of CN108200473B publication Critical patent/CN108200473B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4436Power management, e.g. shutting down unused components of the receiver

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Sources (AREA)

Abstract

The present invention proposes a kind of cpu power control method, intelligent TV set and storage medium, and applied to intelligent TV set, which includes:Obtain the system load parameters of current application scene and legacy system load parameter;According to the system load parameters of current application scene, legacy system load parameter and preset rules, the system load parameters of next application scenarios are determined;System load parameters according to the next application scenarios being calculated adjust the frequency and voltage of CPU, to adjust the power of CPU.Technical solution of the present invention can adjust the power of the CPU of smart television in real time, improve the reliability and service life of CPU.

Description

Cpu power control method, intelligent TV set and storage medium
Technical field
The present invention relates to ntelligent television technolog field more particularly to a kind of cpu power control method, intelligent TV set and deposit Storage media.
Background technology
As the intelligence degree of the equipment such as television set is higher and higher and more and more high quality, two-forty signals Such as the appearance of HDMI2.0, USB3.0, internet video etc., the various application scenarios such as system operation to be treated and signal Also it becomes increasingly complex.
In order to allow system that can handle most complex application context, that is, in order to the upper limit for reaching system, it will usually carry The working frequency of high CPU and supply voltage also lead to the working frequency of CPU and voltage is more than and works as in this way to meet power demand The demand of preceding application scenarios so that the power of CPU remains high, and the temperature of system is caused to be constantly in higher state, this reduction The reliability and service life of system.
Invention content
It is a primary object of the present invention to provide a kind of replacing background method of menu interface, it is intended to adjustment intelligence electricity in real time Depending on CPU power, improve the reliability and service life of CPU.
To achieve the above object, cpu power control method proposed by the present invention, applied to intelligent TV set, the cpu power Control method includes:
Preferably, the system load parameters, legacy system load parameter and preset rules according to current application scene, It determines the system load parameters of next application scenarios, specifically includes:
The active signal of current application scene system load parameter is obtained, when acquisition legacy system load parameter presets multiple Between section idle signal, the active signal and idle signal include CPU idle periods signal, CPU EMS memory occupations ratio is believed Number and cpu chip temperature signal;
The system load parameters of next application scenarios are calculated according to active signal, idle signal and preset rules.
Preferably, the system load parameters that application scenarios are calculated according to active signal, idle signal and preset rules It specifically includes:
Processing is weighted to active signal, calculates the average value of the idle signal;
Active signal after weighting and the idle signal after mean value calculation are overlapped;
The system load parameters of next application scenarios are calculated by rolling average algorithm according to the signal after superposition.
Preferably, the average value that processing is weighted to active signal, calculates the idle signal, specifically includes:
Active signal is converted into corresponding binary digital signal, preset power is assigned to each binary digital signal Weight coefficient;
The idle signal of each period is converted into corresponding binary digital signal, binary digital signal is put down Mean value computation.
Preferably, the active signal after described pair of weighting and the idle signal after mean value calculation are overlapped, specific to wrap It includes:
By active signal assign preset weight coefficient binary digital signal and mean value calculation after binary number Word signal is overlapped, and obtains superposed signal all the way.
Preferably, the signal according to after superposition is born by the system that rolling average algorithm calculates next application scenarios It carries, specifically includes:
The system that the signal according to after superposition calculates next application scenarios by exponential smoothing rolling average algorithm Load.
Preferably, the system load for next application scenarios that the foundation is calculated adjusts the frequency and voltage of CPU It specifically includes:
Judge whether the system load of next application scenarios is more than the load of current application scene;
If the system load of application scenarios is more than the load of current application scene, the operating voltage of CPU is improved, improves CPU Working frequency;If the system load of application scenarios is less than the load of current application scene, the working frequency of CPU is reduced, is reduced The operating voltage of CPU;If the system load of application scenarios is equal to the load of current application scene, the working frequency and work of CPU Make voltage not make adjustments.
Preferably, the intelligent TV set includes power management chip and operating voltage adjustment circuit, passes through operating voltage Adjustment circuit sends out pressure regulation instruction, controls the power management chip adjustment output to the operating voltage of CPU.
The present invention also proposes a kind of intelligent TV set, which includes memory, processor and be stored in described The cpu power control program that memory can simultaneously be run on the processor, the cpu power control program by the processor The step of cpu power control method as described above is realized during execution.
The present invention also proposes a kind of storage medium, which is stored with cpu power control program, the cpu power The step of control program realizes cpu power control method as described above when being executed by processor.
The cpu power control method of the embodiment of the present invention, using smart television, when intelligent TV set works normally, CPU The system load parameters of current application scene and legacy system load parameter are obtained, wherein, application scenarios can be television set The state under the different patterns, such as film broadcasting, music, game etc..In the embodiment of the present invention, answered according to current With the system load parameters and preset rules of scene, the system load parameters of next application scenarios are obtained.It is arrived further according to calculating System load parameters adjust CPU frequency and voltage.Technical solution of the present invention can adjust intelligence in real time according to application scenarios The power of the CPU of TV avoids the waste of the power of CPU, improves the reliability and service life of CPU.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Structure according to these attached drawings obtains other attached drawings.
Fig. 1 is the hardware architecture diagram of one embodiment of smart television of the present invention;
Fig. 2 is the first pass figure of one embodiment of cpu power control method of the present invention;
Fig. 3 is the particular flow sheet of step S200 in Fig. 2;
Fig. 4 is the particular flow sheet of step S220 in Fig. 3;
Fig. 5 is the functional block diagram of CPU operating voltage adjustment circuit first embodiments;
Fig. 6 is the functional block diagram of CPU operating voltage adjustment circuit second embodiments;
Fig. 7 is the functional block diagram of CPU operating voltage adjustment circuit 3rd embodiments.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention proposes a kind of intelligent TV set.
As shown in Figure 1, Fig. 1 is the hardware architecture diagram of one embodiment of smart television of the present invention.
As shown in Figure 1, smart television 100 can include:Processor 1001, such as CPU, network interface 1004, Yong Hujie Mouth 1003, memory 1005, communication bus 1002.Wherein, the connection that communication bus 1002 is used to implement between these components is led to Letter.User interface 1003 can include display unit (Display), input unit such as interactive interface, in the present invention intelligence TV 100 can interact during running software with user terminal, and parameter setting or debugging are being carried out to smart television 100 When, tester or designer can be using the inputs of the progress data information of user interface 1003, and optional user interface 1003 is also It can include standard wireline interface and wireless interface.Network interface 1004 can optionally include the wireline interface, wireless of standard Interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or the memory (non-of stabilization Volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 Storage device.
Optionally, smart television 100 can also include camera, RF (Radio Frequency, radio frequency) circuit, sensing Device, voicefrequency circuit, WiFi module etc..Wherein, sensor such as optical sensor, motion sensor, air quality sensor with And other sensors.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein, ambient light sensor The brightness of display unit can be adjusted according to the light and shade of ambient light, proximity sensor can come into smart television detecting people When 100, display unit and/or backlight are opened.As one kind of motion sensor, gravity accelerometer can detect each side The size of (generally three axis) acceleration upwards, can detect that size and the direction of gravity when static, can be used to identify mobile whole Hold application (such as magnetometer pose calibrating), Vibration identification correlation function (for example percussion) of posture etc.;As environment measuring member Part, air quality sensor can be temperature sensor, humidity sensor, carbon dioxide sensor and PM2.5 sensors;When So, the smart television 100 can also configure gyroscope, barometer, hygrometer, thermometer, infrared ray sensor etc. other sensing Device, details are not described herein.
It will be understood by those skilled in the art that the hardware configuration shown in Fig. 1 does not form the limit to smart television 100 It is fixed, it can include either combining certain components or different components arrangement than illustrating more or fewer components.
When intelligent TV set works normally, the system load of current application scene is obtained.With the hair of intelligent TV set Exhibition and more and more high quality, two-forty signal signals of formation such as HDMI2.0, USB3.0, internet video Occur so that the application scenarios of processing is more and more needed for intelligent TV set.
The cpu power control method is by obtaining the system load parameters of current application scene and legacy system load ginseng Number, the system load of later scene is calculated according to preset rules, and the frequency and electricity of CPU are adjusted according to obtained system load Pressure so that the power of CPU and the required power of current application scenarios match, and the waste of power are avoided, so as to improve The heat dissipation performance of CPU conducive to system temperature is reduced, improves the reliability and service life of system.
As shown in Figure 1, it can lead to as in a kind of memory 1005 of computer storage media including operating system, network Believe module and cpu power control program.
In smart television 100 shown in Fig. 1, network interface 1004 is mainly used for connecting background server or big data cloud End, with background server or big data high in the clouds into row data communication;User interface 1003 is mainly used for connecting client (user End), with client into row data communication;Following methods step is realized during cpu power control program operation:
Obtain the system load parameters of current application scene and legacy system load parameter.
According to the system load parameters of current application scene, legacy system load parameter and preset rules, determine next The system load parameters of application scenarios.
System load parameters according to the next application scenarios being calculated adjust the frequency and voltage of CPU, to adjust The power of CPU.
Further, it is described according to the system load parameters of current application scene, legacy system load parameter and default rule Then, the system load parameters of next application scenarios are determined, are specifically included:
The active signal of current application scene system load parameter is obtained, when acquisition legacy system load parameter presets multiple Between section idle signal, the active signal and idle signal include CPU idle periods signal, CPU EMS memory occupations ratio is believed Number and cpu chip temperature signal.
The system load parameters of next application scenarios are calculated according to active signal, idle signal and preset rules.
Further, the system load ginseng that application scenarios are calculated according to active signal, idle signal and preset rules Number specifically includes:
Processing is weighted to active signal, calculates the average value of the idle signal.
Active signal after weighting and the idle signal after mean value calculation are overlapped.
The system load parameters of next application scenarios are calculated by rolling average algorithm according to the signal after superposition.
Further, the average value that processing is weighted to active signal, calculates the idle signal, it is specific to wrap It includes:
Active signal is converted into corresponding binary digital signal, preset power is assigned to each binary digital signal Weight coefficient.
The idle signal of each period is converted into corresponding binary digital signal, binary digital signal is put down Mean value computation.
Further, the active signal after described pair of weighting and the idle signal after mean value calculation are overlapped, specifically Including:
By active signal assign preset weight coefficient binary digital signal and mean value calculation after binary number Word signal is overlapped, and obtains superposed signal all the way.
Further, the system that the signal according to after superposition calculates next application scenarios by rolling average algorithm Load, specifically includes:
The system that the signal according to after superposition calculates next application scenarios by exponential smoothing rolling average algorithm Load.
Further, the system load for next application scenarios that the foundation is calculated adjusts the frequency and electricity of CPU Pressure specifically includes:
According to the operating voltage and working frequency needed for the system load acquiring size CPU of next application scenarios.
Judge whether the system load of next application scenarios is more than the load of current application scene.
If the system load of application scenarios is more than the load of current application scene, the operating voltage of CPU is improved, improves CPU Working frequency;If the system load of application scenarios is less than the load of current application scene, the working frequency of CPU is reduced, is reduced The operating voltage of CPU;If the system load of application scenarios is equal to the load of current application scene, the working frequency and work of CPU Make voltage not make adjustments.
Further, the intelligent TV set includes power management chip and operating voltage adjustment circuit, passes through the electricity that works Pressure adjustment circuit sends out pressure regulation instruction, controls the power management chip adjustment output to the operating voltage of CPU.
Reference Fig. 2, present invention further propose that a kind of cpu power control method, applied to smart television or other intelligence Terminal.
The cpu power control method includes:
S100, the system load parameters of current application scene and legacy system load parameter are obtained.
S200, system load parameters, legacy system load parameter and preset rules according to current application scene, under determining The system load parameters of one application scenarios.
S300, the system load parameters according to the next application scenarios being calculated adjust the frequency and voltage of CPU, with Adjust the power of CPU.
It should be noted that when next application scenarios are the scene modes that current application scene will enter.For example, High code stream vision signal of the vision signal from USB3.0 that current application scene is obtained for intelligent TV set, next applied field When intelligent TV set obtains low-bit video signal of the vision signal from internet in scape, since CPU is in processing low code stream Power needed for vision signal is less than the power of the vision signal of processing high code stream.Next answer is calculated further according to preset rules With the system load of scene, the frequency and voltage of CPU are turned down according to system load parameters, so as to reduce the power of CPU.Conversely, When the system load of next application scenarios is more than the system load of current application scene, then height-adjusting system loads.
It should be noted that in the present embodiment, application scenarios are corresponding to the audio-video signal of CPU processing different code streams Working condition.
In the concrete realization, the system load parameters are the relevant parameters for referring to characterization cpu power size, such as It CPU EMS memory occupations ratio, the temperature of CPU, CPU idle periods etc., does not enumerate herein.Actually carrying out the pre- of system load In survey, wherein several system load parameters are chosen, the system load parameters of next application scenarios are determined according to preset rules.
Technical solution of the present invention can adjust the power of the CPU of smart television in real time according to application scenarios, avoid the work(of CPU The waste of rate improves the reliability and service life of CPU.
With reference to Fig. 3 specifically, the load for obtaining current application scene specifically includes:
S210, the active signal for obtaining current application scene system load parameter obtain legacy system load parameter and preset The idle signal of multiple periods, the active signal and idle signal include CPU idle periods signal, CPU EMS memory occupations Scaling signal and cpu chip temperature signal.
S220, the system load parameters that next application scenarios are calculated according to active signal, idle signal and preset rules.
What deserves to be explained is the system load parameters of current application scene include CPU idle periods signal, CPU memories account for With scaling signal and cpu chip temperature signal;Legacy system load parameter also includes CPU idle periods signal, CPU memories account for With scaling signal and cpu chip temperature signal.
CPU idle period signals referred in mono- work period of CPU, in the time waited in CPU treatment progress. CPU idle periods signal, CPU EMS memory occupations scaling signal and cpu chip temperature signal these three system load parameters most can tables Levy the parameter of CPU operating powers.Therefore, the load parameter of next application scenarios is determined by these three parameters.
In the present embodiment, CPU idle periods signal, CPU EMS memory occupations scaling signal and cpu chip temperature signal, this three A signal is easily obtained, and can fully characterize the power of CPU, and next scene is determined by less signal and advance rule Load parameter, reduce the calculation amount of CPU, so as to reduce the power consumption of CPU.
With reference to Fig. 4, specifically, the system that application scenarios are calculated according to active signal, idle signal and preset rules Load parameter specifically includes:
S221, processing is weighted to active signal, calculates the average value of the idle signal.
S222, the active signal after weighting and the idle signal after mean value calculation are overlapped.
S223, the system load ginseng for calculating next application scenarios by rolling average algorithm according to the signal after superposition Number.
It should be noted that include the pre- averager of active signal weighter, idle signal, load superimposer in the CPU And index rolling average device.Specific practice is that the active signal of current scene is sent into active signal weighter, and legacy system is born The idle signal of load is sent into the pre- averager of idle signal, is weighted carrying out letter with load superimposer of being sent into rear after mean value calculation Number superposition, the result of superimposer output are sent to index rolling average device, perform index rolling average algorithm, and it is pre- to carry out performance It surveys.The result that index rolling average device obtains is compared in a comparator with pre-set threshold value, if the property of prediction It higher than the upper limit can then ask that frequency is turned up;, whereas if the performance requirement of prediction then asks to reduce frequency less than lower limit.
It is sampled to obtain corresponding active signal, active signal packet by the system load parameters to current application scene Include CPU idle periods signal, CPU EMS memory occupations scaling signal and cpu chip temperature signal.By these signals conversion bit digital letter Number, certain weight coefficient is assigned to CPU idle periods signal, CPU EMS memory occupations scaling signal and cpu chip temperature signal. CPU operating powers are characterized according to CPU idle periods signal, CPU EMS memory occupations scaling signal and cpu chip temperature signal different Degree assigns different size of weight coefficient.In the present embodiment, CPU idle periods signal, CPU EMS memory occupations ratio letter are assigned Number and the weight coefficient of cpu chip temperature signal be followed successively by 0.4,0.4 and 0.2.
It is corresponding by being sampled to obtain to legacy system (application scenarios before current application scene) load parameter Idle signal, idle signal include CPU idle periods signal, CPU EMS memory occupations scaling signal and cpu chip temperature signal.It will These signals are converted to digital signal, to these signal averageds.
Specifically, the average value that processing is weighted to active signal, calculates the idle signal, specifically includes:
Active signal is converted into corresponding binary digital signal, preset power is assigned to each binary digital signal Weight coefficient;
The idle signal of each period is converted into corresponding binary digital signal, binary digital signal is put down Mean value computation.
What deserves to be explained is idle signal of the active signal of current application scene than historical usage scene, to next The predicted impact bigger of application scenarios.The weight coefficient assigned by binary digital signal corresponding to active signal so that The corresponding binary digital signal of the active signal that is affected to cpu power obtains larger weight coefficient, and to idle signal Mean value calculation is carried out, so so that prediction result is more accurate.
Specifically, the active signal after described pair of weighting and the idle signal after mean value calculation are overlapped, specific to wrap It includes:
By active signal assign preset weight coefficient binary digital signal and mean value calculation after binary number Word signal is overlapped, and obtains superposed signal all the way.
It can be readily appreciated that it is that corresponding amplitude is added to signal to the superposition of signal.
Assuming that it after CPU idle periods signal, CPU EMS memory occupations scaling signal and the conversion of cpu chip temperature signal and assigns The corresponding digital signal of weight coefficient is respectively a, b, c;The binary digital signal after mean value calculation is carried out as d, by a, B, c and d are overlapped, and obtain superposed signal e all the way.In this way, it obtains calculating required signal in next step.
It should be noted that by the way that multiple signals are superimposed to signal all the way, by this, signal acts on behalf of preset formula all the way In, carry out the prediction of the system load of next application scenarios.
Specifically, the signal according to after superposition is born by the system that rolling average algorithm calculates next application scenarios It carries, specifically includes:
The system that the signal according to after superposition calculates next application scenarios by exponential smoothing rolling average algorithm Load.In the present embodiment, the system load of later scene is carried out using exponential smoothing rolling average algorithm (i.e. EMA algorithms) pre- It surveys.By EMA algorithms, the system load of next application scenarios is accurately predicted.
Specifically, the frequency and voltage of CPU are adjusted according to the system load parameters for the next application scenarios being calculated, To adjust the power of CPU, specifically include:
Judge whether the system load of next application scenarios is more than the load of current application scene.
If the system load of application scenarios is more than the load of current application scene, the operating voltage of CPU is improved, improves CPU Working frequency;If the system load of application scenarios is less than the load of current application scene, the working frequency of CPU is reduced, is reduced The operating voltage of CPU;If the system load of application scenarios is equal to the load of current application scene, the working frequency and work of CPU Make voltage not make adjustments.
It should be noted that before being adjusted CPU voltages and frequency, need to judge the system of next application scenarios The size of load and the system load of current application scene, to determine being to turn down CPU voltages and frequency either height-regulating CPU voltages And frequency.Specifically the result that index rolling average device obtains and pre-set threshold value are compared in a comparator, If the performance (i.e. system load) of prediction higher than the upper limit asks that frequency is turned up;, whereas if the performance requirement of prediction is less than Lower limit then asks to reduce frequency.In this way, realizing the real-time adjustment to CPU operating voltages and working frequency, ensure the work(of CPU Rate in a more matched range, avoids the waste of cpu power, so as to reduce the calorific value of CPU always.
When CPU carries out operating voltage adjustment, the operating voltage adjustment circuit of CPU includes following three embodiments:
With reference to Fig. 5, in one embodiment, specifically, the intelligent TV set includes power management chip 300 and I2C is controlled Circuit (not indicating) processed, the CPU 200 send out pressure regulation by I2C control circuits and instruct, and control the power management chip tune It is whole to export to the operating voltage of CPU 200.
It should be noted that CPU 200 is directly connect by I2C control circuits with power management chip, wherein I2C controls Circuit includes the universal serial bus that data line SCL and clock line SDL is formed.Pmon signal wires and Thermal signals are further included, we Case can also realize power detection and power supply overheat detecting automatically simultaneously, by power management chip by corresponding PMON and Thermal signals are given to CPU, and CPU combines the information that both signals provide and power management chip is controlled.
Wherein, pmon signals are the codes that CPU 200 is performed after the power is turned on, and the BIOS being equivalent in x86PC machines has concurrently The function of bootloader.In the present embodiment, a kind of operating voltage is realized by a kind of relatively simple hardware circuit and is adjusted Circuit so that hardware cost is relatively low.
With reference to Fig. 6, in one embodiment, specifically, the intelligent TV set includes power management chip and PWM control electricity Road 400, the CPU 200 send out pressure regulation by pwm control circuit 400 and instruct to the power management chip, control the electricity The adjustment of source control chip 300 is exported to the operating voltage of CPU 200.
It should be noted that with reference to shown in Fig. 7, power supply control chip includes FB pins and Vout pins, pwm control circuit 400 include resistance R1, R2, R3, R4 and capacitance C1.
Pwm signal, which is equivalent to, compensates feedback signal, and the pwm signal of different duty can be defeated after low-pass filter Go out the DC level of different voltages, the filtered process of pwm signal, which is equivalent to, realizes D/A conversions.CPU 200 is by sending out PWM wave the FB feet of power management chip are added to after integrating circuit, intelligence is reached by the duty ratio of adjustment PWM wave The effect of the supply voltage Vout of CPU200 can be adjusted.
Formula can be obtained according to kirchhoff electric current rule:
According to formula (1) and formula VPWM=D*VIN(D refers to the duty ratio of PWM, V hereINRefer to the pull-up of PWM Level) it can calculate:
The supply voltage V of CPU can be obtained according to formula (2)OUTIt with duty ratio inversely, will when needing boosting The duty ratio of PWM reduces, and when needing decompression, the duty ratio of PWM is improved.
In the present embodiment, by setting pwm control circuit, voltage control, technology are carried out by the way of pulsewidth modulation Scheme is relatively easy to realize, technology maturation is stablized.
With reference to Fig. 7, in one embodiment, specifically, the intelligent TV set includes power management chip 300 and GPIO is controlled Circuit 500 processed, the CPU send out pressure regulation by GPIO control circuits 500 and instruct to power management chip 300, control the electricity The adjustment of source control chip 300 is exported to the operating voltage of CPU.
The power management chip 300 includes FB pins and Vout pins, and GPIO control circuits 500 include multiple resistance R1, R2, R3......RN and corresponding multiple switch Q1, Q2, Q3......QN.
Signal GPIO1, GPIO2.....GPION is correspondingly formed by switching Q1, Q2, Q3......QN, CPU passes through GPIO1, GPIO2.....GPION send out low and high level to control the switches such as Q1, Q2....QN, and then control R3, R4.....RN Wait the access of resistance, the resistance value after influence is in parallel with R2, the final value for influencing Vout.
According to formula:
By by resistance value after the sum of resistance value of R1 to RN divided by R2 to RN resistance value parallel connections, multiplied by with reference voltage VREF,It can be with It calculates, according to the resistance of the different resistance values of access, the value of different Vout can be obtained.
In the present embodiment, by setting GPIO control circuits so that just can be real using a kind of relatively simple control method The adjusting of existing cpu power voltage reduces the operand of CPU.
The various usage scenarios for equipment such as television sets of the invention are detected and predict resulting System load, and the working frequency and operating voltage of needs are calculated, then carry out intelligentized adjustment so that the eternal work of system Make, in optimum performance state, to substantially increase the stability and reliability of system.
In addition, the embodiment of the present invention also proposes a kind of storage medium, which is stored with cpu power control program, The step of cpu power control program realizes cpu power control method as described above when being executed by processor.
Wherein, cpu power control program is performed realized method and can refer to cpu power control method of the present invention Each embodiment, details are not described herein again.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements not only include those elements, and And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or system institute Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this Also there are other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone, Computer, server, smart television or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made directly or indirectly is used in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of cpu power control method, applied to intelligent TV set, which is characterized in that the cpu power control method includes:
Obtain the system load parameters of current application scene and legacy system load parameter;
According to the system load parameters of current application scene, legacy system load parameter and preset rules, next application is determined The system load parameters of scene;
System load parameters according to the next application scenarios being calculated adjust the frequency and voltage of CPU, to adjust CPU's Power.
2. cpu power control method according to claim 1, which is characterized in that described to be according to current application scene System load parameter, legacy system load parameter and preset rules determine the system load parameters of next application scenarios, specific to wrap It includes:
The active signal of current application scene system load parameter is obtained, legacy system load parameter is obtained and presets multiple periods Idle signal, the active signal and idle signal include CPU idle periods signal, CPU EMS memory occupations scaling signal and Cpu chip temperature signal;
The system load parameters of next application scenarios are calculated according to active signal, idle signal and preset rules.
3. cpu power control method according to claim 2, which is characterized in that described according to active signal, idle signal And the system load parameters of preset rules calculating application scenarios specifically include:
Processing is weighted to active signal, calculates the average value of the idle signal;
Active signal after weighting and the idle signal after mean value calculation are overlapped;
The system load parameters of next application scenarios are calculated by rolling average algorithm according to the signal after superposition.
4. cpu power control method according to claim 3, which is characterized in that described that place is weighted to active signal Reason, calculates the average value of the idle signal, specifically includes:
Active signal is converted into corresponding binary digital signal, preset weight system is assigned to each binary digital signal Number;
The idle signal of each period is converted into corresponding binary digital signal, to the average value of binary digital signal It calculates.
5. cpu power control method according to claim 4, which is characterized in that described pair weighting after active signal and Idle signal after mean value calculation is overlapped, and is specifically included:
By active signal assign preset weight coefficient binary digital signal and mean value calculation after binary digit believe It number is overlapped, obtains superposed signal all the way.
6. cpu power control method according to claim 3, which is characterized in that the signal according to after superposition passes through Rolling average algorithm calculates the system load of next application scenarios, specifically includes:
The signal according to after superposition calculates the system load of next application scenarios by exponential smoothing rolling average algorithm.
7. cpu power control method as claimed in any of claims 1 to 6, which is characterized in that described according to calculating The system load of obtained next application scenarios adjusts the frequency of CPU and voltage specifically includes:
Judge whether the system load of next application scenarios is more than the load of current application scene;
If the system load of application scenarios is more than the load of current application scene, the operating voltage of CPU is improved, and improve CPU's Working frequency;If the system load of application scenarios is less than the load of current application scene, the working frequency of CPU is reduced, and reduce The operating voltage of CPU;If the system load of application scenarios is equal to the load of current application scene, the working frequency and work of CPU Make voltage not make adjustments.
8. cpu power control method as claimed in any of claims 1 to 6, the intelligent TV set includes power supply Managing chip and operating voltage adjustment circuit, which is characterized in that
Pressure regulation is sent out by operating voltage adjustment circuit to instruct, and controls work of the power management chip adjustment output to CPU Voltage.
9. a kind of intelligent TV set, which is characterized in that the intelligent TV set includes memory, processor and is stored in the storage The cpu power control program that device can simultaneously be run on the processor, the cpu power control program are performed by the processor The step of Shi Shixian such as claim 1 to 8 any one of them cpu power control methods.
10. a kind of storage medium, which is characterized in that the storage medium is stored with cpu power control program, the cpu power control It is realized when processing procedure sequence is executed by processor such as the step of claim 1 to 8 any one of them cpu power control method.
CN201810116265.6A 2018-02-01 2018-02-01 CPU power control method, smart television and storage medium Active CN108200473B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810116265.6A CN108200473B (en) 2018-02-01 2018-02-01 CPU power control method, smart television and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810116265.6A CN108200473B (en) 2018-02-01 2018-02-01 CPU power control method, smart television and storage medium

Publications (2)

Publication Number Publication Date
CN108200473A true CN108200473A (en) 2018-06-22
CN108200473B CN108200473B (en) 2020-12-08

Family

ID=62592519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810116265.6A Active CN108200473B (en) 2018-02-01 2018-02-01 CPU power control method, smart television and storage medium

Country Status (1)

Country Link
CN (1) CN108200473B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109324902A (en) * 2018-09-21 2019-02-12 深圳市中科明望通信软件有限公司 A kind of method, mobile terminal and storage medium adjusting mobile terminal working frequency
CN109889896A (en) * 2019-03-27 2019-06-14 努比亚技术有限公司 Method, mobile terminal and the storage medium of dynamic regulation CPU running frequency
CN110624240A (en) * 2018-06-25 2019-12-31 腾讯科技(上海)有限公司 Operation control method, device, terminal equipment and medium for online game
CN111030423A (en) * 2019-11-28 2020-04-17 中国航空工业集团公司西安航空计算技术研究所 Circuit and method for adjusting power supply output voltage based on pulse width
CN112486683A (en) * 2020-11-27 2021-03-12 中国科学技术大学先进技术研究院 Processor control method, control device, and computer-readable storage medium
CN112631415A (en) * 2020-12-31 2021-04-09 Oppo(重庆)智能科技有限公司 CPU frequency adjusting method, device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7337339B1 (en) * 2005-09-15 2008-02-26 Azul Systems, Inc. Multi-level power monitoring, filtering and throttling at local blocks and globally
CN102622273A (en) * 2012-02-23 2012-08-01 中国人民解放军国防科学技术大学 Self-learning load prediction based cluster on-demand starting method
CN104010029A (en) * 2014-05-12 2014-08-27 上海交通大学 Distributed computing environment performance predicting method based on transverse and longitudinal information integration
CN104423529A (en) * 2013-08-30 2015-03-18 华为技术有限公司 CPU (central processing unit) state adjustment method and device
CN105302632A (en) * 2015-11-19 2016-02-03 国家电网公司 Cloud computing working load dynamic integration method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7337339B1 (en) * 2005-09-15 2008-02-26 Azul Systems, Inc. Multi-level power monitoring, filtering and throttling at local blocks and globally
CN102622273A (en) * 2012-02-23 2012-08-01 中国人民解放军国防科学技术大学 Self-learning load prediction based cluster on-demand starting method
CN104423529A (en) * 2013-08-30 2015-03-18 华为技术有限公司 CPU (central processing unit) state adjustment method and device
CN104010029A (en) * 2014-05-12 2014-08-27 上海交通大学 Distributed computing environment performance predicting method based on transverse and longitudinal information integration
CN105302632A (en) * 2015-11-19 2016-02-03 国家电网公司 Cloud computing working load dynamic integration method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
GOVIL K等: "Comparing Algorithms for Dynamic Speed-setting of a Low-power CPU", 《PROC. OF THE 1ST ACM INTERNATIONAL CONF. ON MOBILE COMPUTING AND NETWORKING. BERKELEY, CALIFORNIA, USA》 *
曾益等: "基于周期性模式匹配的动态电压调节预测算法", 《计算机工程》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110624240A (en) * 2018-06-25 2019-12-31 腾讯科技(上海)有限公司 Operation control method, device, terminal equipment and medium for online game
CN110624240B (en) * 2018-06-25 2023-10-13 腾讯科技(上海)有限公司 Operation control method and device for online game, terminal equipment and medium
CN109324902A (en) * 2018-09-21 2019-02-12 深圳市中科明望通信软件有限公司 A kind of method, mobile terminal and storage medium adjusting mobile terminal working frequency
CN109889896A (en) * 2019-03-27 2019-06-14 努比亚技术有限公司 Method, mobile terminal and the storage medium of dynamic regulation CPU running frequency
CN111030423A (en) * 2019-11-28 2020-04-17 中国航空工业集团公司西安航空计算技术研究所 Circuit and method for adjusting power supply output voltage based on pulse width
CN112486683A (en) * 2020-11-27 2021-03-12 中国科学技术大学先进技术研究院 Processor control method, control device, and computer-readable storage medium
CN112486683B (en) * 2020-11-27 2023-05-19 中国科学技术大学先进技术研究院 Processor control method, control apparatus, and computer-readable storage medium
CN112631415A (en) * 2020-12-31 2021-04-09 Oppo(重庆)智能科技有限公司 CPU frequency adjusting method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN108200473B (en) 2020-12-08

Similar Documents

Publication Publication Date Title
CN108200473A (en) Cpu power control method, intelligent TV set and storage medium
CN111179861B (en) Brightness calibration method and device, storage medium and terminal
EP3623906A1 (en) Control device, method and equipment for processor
US11510153B2 (en) Method for controlling heat generation in electronic device, electronic device and storage medium for the same
CN111158455A (en) Power consumption control method and device, storage medium and terminal
CN111052035A (en) Electronic device and operation control method thereof
CN111433737A (en) Electronic device and control method thereof
CN111223438B (en) Compression method and device of pixel compensation table
CN115933852A (en) Power supply architecture of storage system and standby power control method thereof
US11119551B2 (en) Power consumption sensing for power over ethernet (PoE) power sourcing equipment (PSE) system
CN114327332A (en) Internet of things equipment setting method and device, electronic equipment and storage medium
CN107291213B (en) Mode selection method, device, terminal and computer readable storage medium
CN113325767A (en) Scene recommendation method and device, storage medium and electronic equipment
KR20170017128A (en) Display apparatus, power supply and power controlling method thereof
CN115347650B (en) Power supply method, device, equipment and medium based on voltage adjustment of detection equipment
CN115348256A (en) Posting data downloading method and device, storage medium and electronic equipment
CN115279134A (en) Equipment fan rotating speed control method and device, electronic equipment and readable storage medium
CN110995324B (en) Bluetooth communication method, device, storage medium and terminal equipment
CN110994052B (en) Method and device for prolonging battery endurance, storage medium and terminal equipment
CN103377015B (en) Electronic equipment and its information processing method
CN113900414A (en) Switch configuration method and device and intelligent switch
CN112770180B (en) Energy-saving control method and device for set top box and computer readable storage medium
CN108803762A (en) A kind of low pressure difference linear voltage regulator and method for stabilizing voltage
CN111968596B (en) Display method, display device, storage medium and mobile terminal
CN114851959B (en) Light adjusting method and light adjusting system for vehicle

Legal Events

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