CN100442201C - Power managing method and system - Google Patents

Power managing method and system Download PDF

Info

Publication number
CN100442201C
CN100442201C CNB2006101385806A CN200610138580A CN100442201C CN 100442201 C CN100442201 C CN 100442201C CN B2006101385806 A CNB2006101385806 A CN B2006101385806A CN 200610138580 A CN200610138580 A CN 200610138580A CN 100442201 C CN100442201 C CN 100442201C
Authority
CN
China
Prior art keywords
cycle length
gate
control signal
performance
period
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.)
Active
Application number
CNB2006101385806A
Other languages
Chinese (zh)
Other versions
CN1945496A (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.)
Via Technologies Inc
Original Assignee
Via Technologies Inc
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 Via Technologies Inc filed Critical Via Technologies Inc
Priority to CNB2006101385806A priority Critical patent/CN100442201C/en
Publication of CN1945496A publication Critical patent/CN1945496A/en
Application granted granted Critical
Publication of CN100442201C publication Critical patent/CN100442201C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Electrical Variables (AREA)

Abstract

This invention provides a method and system for the management of power. Firstly, it records a record of the data processing unit in a unit dealing with the implementation of a cycle. Based on the effectiveness of the implementation cycle with a demand, it can create a gate signal, and adjust the signal pulse based on a work adjustment gated. Then it will provide connections to the work unit.

Description

Method for managing power supply and system
Technical field
The invention relates to a kind of method for managing power supply and system, and be particularly to a medium coprocessor (Media Processor) is adjusted the work time pulse (Working Clock) of medium coprocessor itself from the action attitude according to the required performance period of its performed unit data (Running Cycle) method and system.
Background technology
Along with the increase of usefulness, quality and functional requirement, processing unit becomes huge day by day and complicated as the design of medium coprocessor, and the imperfection of power supply design is easy to just cause carry out and lost efficacy.Therefore, the improvement of electrical source consumption situation has become one of successful key factor of processing unit design.
Power management all is very important in any medium system.Fig. 1 shows a known media system.In general, medium system 100 comprises a primary processor 110, a medium coprocessor 120, a storer 130, an output/input block 140 and a display unit 150.Medium coprocessor 120 can be handled audio-visual relevant content, as audio-visual coding, audio-visual decoding, 3D animation, 2D animation, MP3 decoding or the like.Audio-visual with display unit 150 broadcasts in order to see through output/input block 140 smoothly, medium coprocessor 120 must be prepared enough video-audio signals.Medium processor 120 must be handled a large amount of work during some, and medium processor 120 then only need be handled a little work during some.The situation of these operating unbalances is to result from the performance requirements of medium system 100, as the frame per second (Frame Rate) that the shows complicated case with image itself.The electrical source consumption of medium system 100 is normally relevant for operating voltage that offers medium coprocessor 120 and frequency of operation.When the high more voltage of medium coprocessor 120 was provided with fast more frequency, medium coprocessor 120 will consume many more power supplys.Otherwise when the low more voltage of medium coprocessor 120 was provided with slow more frequency, medium coprocessor 120 will consume few more power supply.
In the known electric power management mechanism, primary processor 110 can be monitored the situation of medium system 100, change operating voltage and frequency as system temperature and remaining battery electric power, and the operating voltage after will changing and frequency offer medium coprocessor 120, to reach the purpose of power management.In addition, as previously mentioned, based on the different performance requirements of medium system 100, the situation that will have operating unbalance on the medium coprocessor 120 takes place, and therefore also has different demands at power supply.Because primary processor 110 must spend the situation that resource is monitored medium system 100 periodically, if primary processor 110 all needs to monitor medium coprocessor 120 integral status to carry out the adjustment of related work voltage and frequency, will increase the load of primary processor 110 greatly.
In addition, except the load that increases primary processor 110, the known power source administrative mechanism also can't be carried out relevant power supply adjustment and management in executing state with the difference between performance requirements for medium coprocessor 120, cause when handling video-audio data, the power supply instability that medium coprocessor 120 is consumed, and make certain section time instant electric current when handling to become very big, and then, have a large amount of situations that produce with this chip term of life of loss of moment heat and take place medium system 100 with the manufacturing of chip kenel.
Summary of the invention
In view of this, the invention provides a kind of method for managing power supply and system.
The invention provides a kind of method for managing power supply, is to be applicable to a medium coprocessor, and wherein this medium coprocessor comprises a processing unit.At first, write down a required performance period of this processing unit processes one unit data.A comparison performance period and a performance requirements produce a gate-control signal, and the one-period of corresponding this gate-control signal of adjustment, and adjust a work time pulse according to gate-control signal.Afterwards, adjusted work time pulse is provided to processing unit required performance period with as next unit data of this processing unit processes the time; Wherein, when this performance period during, produce this gate-control signal, and this Cycle Length of this gate-control signal is reduced by a length-specific, so that this work time pulse is slack-off less than this performance requirements; And, produce this gate-control signal, and this Cycle Length of this gate-control signal is strengthened by this length-specific, so that this work time pulse accelerates when this performance period during greater than this performance requirements.
Method for managing power supply of the present invention, this unit data are the frame in the media data, and this processing unit is carried out in this performance period at least one instruction that should frame.
Method for managing power supply of the present invention more comprises the following steps: to begin this performance period of accumulative total when this processing unit receives and carry out instruction that should frame; And when this processing unit receives a preset instructions, then stop this performance period of accumulative total.
Method for managing power supply of the present invention more comprises this gate-control signal and this work time pulse is carried out one and logical operation, thereby produces adjusted this work time pulse.
Method for managing power supply of the present invention, this cycle of this gate-control signal has one-period length, and this gate-control signal is for this work time pulse gate one-period every this Cycle Length.
Method for managing power supply of the present invention more comprises the following steps: to compare this performance period and this performance requirements; When this performance period during less than this performance requirements, judge whether this Cycle Length of this gate-control signal equals 0, if, this Cycle Length is maintained 0, if not, this Cycle Length is deducted an adjusted value; And, judge that whether this Cycle Length of this gate-control signal adds an adjusted value greater than a preset period length maximal value when this performance period during greater than this performance requirements, if, this Cycle Length is made as 0, if not, this Cycle Length is added this adjusted value.
Method for managing power supply of the present invention when this Cycle Length is not equal to 0, comprises the following steps: more to judge that whether this Cycle Length deducts this adjusted value less than a preset period length minimum value; If this Cycle Length is made as this Cycle Length minimum value; And if not, this Cycle Length is made as this Cycle Length that deducts behind this adjusted value.
Method for managing power supply of the present invention more comprises the following steps: to compare this performance period and this performance requirements; When this performance period during less than this performance requirements, (formula of (Pt-Pw)/Pw)+1 is set, and wherein, Pg is this Cycle Length, and Pt is this performance requirements, and Pw is this performance period according to Pg=INT with this Cycle Length; And, this Cycle Length is made as 0 when this performance period during greater than this performance requirements.
Method for managing power supply of the present invention comprises the following steps: more to judge that whether this Cycle Length of setting according to this formula is less than a preset period length minimum value; If this Cycle Length is made as this Cycle Length minimum value; And if not, this Cycle Length is made as this Cycle Length of setting according to this formula.
Method for managing power supply of the present invention comprises more according to a counting clock pulse and writes down this required performance period of processing unit processes one unit data that wherein, this counting clock pulse can be independently to exist and influence mutually with this work time pulse.
The present invention provides a kind of power-supply management system in addition, comprises a processing unit, a counter, a control module and a synthesis unit.Processing unit processes one unit data.The performance period that counter records processing unit processes unit data is required.Control module receives a performance period and a performance requirements, and compares the performance period and performance requirements produces a gate-control signal, and the one-period of corresponding this gate-control signal of adjustment.Synthesis unit receives a gate-control signal and a work time pulse,, and adjusted work time pulse is provided to processing unit required performance period with as next unit data of this processing unit processes the time according to gate-control signal adjustment work time pulse; Wherein, when this performance period during less than this performance requirements, produce this gate-control signal, and this Cycle Length of this gate-control signal is reduced by a length-specific, so that this work time pulse is slack-off, and, produce this gate-control signal when this performance period during greater than this performance requirements, and this Cycle Length of this gate-control signal is strengthened by this length-specific, so that this work time pulse accelerates.
Power-supply management system of the present invention, this unit data are the frame in the media data, and this processing unit is more carried out in this performance period at least one instruction that should frame.
Power-supply management system of the present invention, this processing unit more receives and carries out at least one instruction that should frame, and cause this counter to begin this performance period of accumulative total, and when this processing unit receives a preset instructions, then cause this counter to stop this performance period of accumulative total.
Power-supply management system of the present invention, this synthesis unit more carry out this gate-control signal and this work time pulse one and logical operation, thereby produce adjusted this work time pulse.
Power-supply management system of the present invention, this cycle of this gate-control signal has one-period length, and this gate-control signal is for this work time pulse gate one-period every this Cycle Length.
Power-supply management system of the present invention, this control module is more compared this performance period and this performance requirements, when this performance period of this gate-control signal during less than this performance requirements, this control module judges more whether this Cycle Length equals 0, if, this Cycle Length is maintained 0, and if not, this Cycle Length is deducted an adjusted value, and when performance period of this gate-control signal during greater than this performance requirements, this control module judges that more this Cycle Length adds that whether an adjusted value is greater than a preset period length maximal value, if, this Cycle Length is made as 0, and if not, this Cycle Length is added this adjusted value.
Power-supply management system of the present invention, when this Cycle Length is not equal to 0, this control module judges that more whether this Cycle Length deducts this adjusted value less than a preset period length minimum value, if, this Cycle Length is made as this Cycle Length minimum value, if not, this Cycle Length is made as this Cycle Length that deducts behind this adjusted value.
Power-supply management system of the present invention, this control module is more compared this performance period and this performance requirements, when this performance period during less than this performance requirements, (set, and wherein, Pg is this Cycle Length according to Pg=INT by the formula of (Pt-Pw)/Pw)+1 with this Cycle Length for this control module, Pt is this performance requirements, and Pw is this performance period, and when this performance period during greater than this performance requirements, this control module is made as 0 with this Cycle Length.
Power-supply management system of the present invention, this control module judges that more whether this Cycle Length of setting according to this formula is less than a preset period length minimum value, if, this Cycle Length is made as this Cycle Length minimum value, if not, this Cycle Length is made as this Cycle Length of setting according to this formula.
Power-supply management system of the present invention, this counter can write down this required performance period of processing unit processes one unit data according to a counting clock pulse, and wherein, this counting clock pulse can be independently to exist and not influence mutually with this work time pulse.
Said method of the present invention can see through the procedure code mode and include in tangible media.When procedure code was written into and carries out by machine, machine became in order to carry out device of the present invention.
Method for managing power supply of the present invention and system, intervention monitoring that need not primary processor can reach the purpose of power supply control, and outside monitoring voluntarily, still the amplitude (spectrum) of (flatten) electrical source consumption takes place to avoid the rapid situation that consumes of power supply gently.
Description of drawings
Fig. 1 is that a synoptic diagram is to show a known media system.
Fig. 2 is that a synoptic diagram is the power-supply management system that shows according to the embodiment of the invention.
Fig. 3 is that a synoptic diagram is to show the instruction of corresponding different frame and preset instructions therebetween.
Fig. 4 is that a process flow diagram is the method for managing power supply that shows according to the embodiment of the invention.
Fig. 5 is that a process flow diagram is the gate-control signal production method that shows according to the embodiment of the invention.
Fig. 6 is that a process flow diagram is the Cycle Length setting example that shows according to the gate-control signal of the embodiment of the invention.
Fig. 7 is that a process flow diagram is the Cycle Length setting example that shows according to the gate-control signal of another embodiment of the present invention.
Fig. 8 A is that a clock pulse figure shows a work time pulse.
Fig. 8 B is that a clock pulse figure shows through Cycle Length to be the synthetic work time pulse of gate-control signal of Pg.
Fig. 8 C is that a clock pulse figure shows that process Cycle Length Pg is 0 the synthetic work time pulse of gate-control signal.
Fig. 9 A and Fig. 9 B are to describe known respectively and the electrical source consumption synoptic diagram of the present invention under a plurality of unit datas of processing (as: frame).
Embodiment
For above-mentioned feature and advantage of the present invention can be become apparent, embodiment cited below particularly, and cooperate appended diagram, be described in detail as follows.
Fig. 2 shows the power-supply management system according to the embodiment of the invention, be contained in being in the medium coprocessor, wherein, medium coprocessor can be a kind of integrated drawing chip, the bridging chip that is about to drawing function and south, north bridge is integrated into one, or a nonconformity type drawing chip, promptly is independent of described bridging chip and operates, this medium coprocessor is in order to handle audio-visual relevant content, as audio-visual coding, audio-visual decoding, 3D animation, 2D animation, MP 3 decodings or the like.
As shown in Figure 2, the power-supply management system 200 according to the embodiment of the invention comprises a processing unit 210, a counter 220, a control module 230 and a synthesis unit 240.Processing unit 210 is in order to carry out relevant treatment for media data, as audio-visual coding, audio-visual decoding, 3D animation, 2D animation, MP3 decoding etc.Processing unit 210 can receive and handle and comprise a plurality of unit data DU, as the media data of frame (Frame).When processing unit 210 desires were handled a frame, processing unit 210 can be carried out a plurality of instructions of corresponding this frame.What note is that processing unit 210 sees through synthesis unit 240 and receives a work time pulse WC, and operates according to this work time pulse WC.
Counter 220 can come recording processing unit 210 to handle performance period (Running Cycle) Pw that frame is required according to counting clock pulse CC.It should be noted that counting clock pulse CC and work time pulse WC can be independent existence the and not influence mutually, to keep the accurate of counter 220 countings.In certain embodiments, because the frame in the media data is continuously, therefore, between corresponding to the instruction of different frame, can design a specific instruction, as shown in Figure 3.In Fig. 3, C nRepresent a plurality of instructions of corresponding frame n, C (n+1)Represent a plurality of instructions of corresponding frame n+1, and C (n+2)Represent a plurality of instructions of corresponding frame n+2.Between corresponding to the instruction of different frame, can there be a preset instructions SC.When processing unit 210 receives instruction with the corresponding new frame of execution, can cause counter 220 to begin accumulative total its performance period Pw, and when processing unit 210 receives preset instructions SC, then can cause counter 220 to stop to add up and reseting corresponding performance period accumulative total, wherein, this preset instructions SC can be a kind of sign instruction (Flag Command) kenel.
Control module 230 has a controlled variable CP, and this controlled variable CP comprises a performance requirements Pt at least.In certain embodiments, controlled variable CP more comprises default one-period length maximal value Pmax, one-period length minimum value Pmin and an adjusted value Pd.Control module 230 produces a gate-control signal (Gating Signal) GS according to the required performance period of processing unit 210 processing one frame with the controlled variable CP that presets, and exports synthesis unit 240 to.What note is that controlled variable CP can and set by driver definition, and its usage will describe in detail in the back.Synthesis unit 240 receives work time pulse WC and gate-control signal GS, and adjusts work time pulse WC according to gate-control signal GS, and adjusted work time pulse WC is provided to processing unit 210.Wherein, synthesis unit 240 can be one with door (an AND Gate), and work time pulse WC and gate-control signal GS carried out and logical operation, so that work time pulse WC and gate-control signal GS are synthesized.
It should be noted that gate-control signal GS has one-period length Pg, and via synthesis unit 240, gate-control signal GS week about phase length Pg for work time pulse WC gate one-period.In other words,, see through the gate-control signal GS of different performance period Pw and the different different cycles length that controlled variable CP produced, work time pulse WC can be adjusted based on the mode of clock pulse gate (Clock Gating).In certain embodiments, the Cycle Length Pg of gate-control signal will fall between Cycle Length maximal value Pmax and the Cycle Length minimum value Pmin.When Cycle Length Pg more hour, be work time pulse WC to be transferred slow, and when Cycle Length Pg is 0, represent to keep original work time pulse WC.For instance, Fig. 8 A shows an original work time pulse WC.Synthesis unit 240 can synthesize work time pulse WC and the gate-control signal GS with Cycle Length Pg, with the work time pulse that obtains synthesizing, shown in Fig. 8 B.Wherein, every a Pg cycle for work time pulse WC gate one-period.When the Cycle Length Pg of gate-control signal GS was 0, expression was not carried out gate for work time pulse, shown in Fig. 8 C.
Fig. 4 shows the method for managing power supply according to the embodiment of the invention.
At first, as step S410, recording processing cell processing one unit data, as frame, required performance period Pw.In one embodiment, processing unit can be carried out a plurality of instructions of corresponding this frame in the performance period, when processing unit receives and carry out first instruction of corresponding frame, begin the accumulative total performance period, and when processing unit receives a preset instructions SC, then stop the accumulative total performance period.As step S420, produce a gate-control signal according to performance period Pw and performance requirements Pt.Fig. 5 shows the gate-control signal production method according to the embodiment of the invention.At first, as step S510, judge that whether performance period Pw is less than performance requirements Pt.If expression processing unit processes speed is too fast, as step S530, produce gate-control signal, and the Cycle Length Pg of gate-control signal is reduced by a length-specific, promptly make the gate frequency accelerate and make that further work time pulse is slack-off.If performance period Pw is not less than performance requirements Pt, expression processing unit processes speed is too slow, as step S520, produces gate-control signal, and the Cycle Length Pg of gate-control signal is strengthened by a length-specific, promptly make the gate frequency deceleration and make that further work time pulse accelerates.Then, as step S430, adjust work time pulse according to gate-control signal, and, adjusted work time pulse is provided to processing unit as step S440.Afterwards, processing unit just can operate according to adjusted work time pulse.
Fig. 6 shows the Cycle Length setting example according to the gate-control signal of the embodiment of the invention.As step S610, the Cycle Length Pg of gate-control signal is initially set 0.After processing unit processes is finished at least one unit data,, judge that whether corresponding performance period Pw is less than performance requirements Pt as step S620.If performance period Pw is less than performance requirements Pt, the processing speed of expression processing unit is fast, then as step S630, judges whether present Cycle Length Pg equals 0.If as step S640, Pg is maintained 0 with Cycle Length.What note is, owing to represent that when Pg equals 0 processing unit just carries out operation with the fastest speed, and can't quicken again, therefore, keeping Cycle Length Pg in step S640 is 0.If Pg is not equal to 0,, Cycle Length Pg is made as maximal value (Pg=max (Pmin, Pg-Pd)) among Cycle Length minimum value Pmin and the Pg-Pd as step S650.Wherein, Pd is a default adjusted value, and it represents the less important numerical value that Pg is adjusted.It should be noted that, do not accept the processing of gate owing to when Pg becomes 0, represent work time pulse, and when the Cycle Length of gate-control signal will make that too in short-term the operation of processing unit is slack-off, it is operated undesiredly, therefore, Cycle Length must be made as the maximal value among Cycle Length minimum value Pmin and the Pg-Pd among the step S650, to keep the normal operation of processing unit.If performance period Pw is not less than performance requirements Pt, the speed of expression processing unit is slow, then as step S660, judges that Cycle Length Pg adds that whether adjusted value Pd is greater than Cycle Length maximal value Pmax.If, represent processing unit under the more numerous and diverse existing unit data of corresponding processing, the execution speed deficiency that seems, therefore as step S670, Pg is made as 0 with Cycle Length.If not, expression then can allow processing unit accelerate its execution speed as long as strengthen the Pg Cycle Length a little, and therefore as step S680, Pg adds Pd with Cycle Length.Afterwards, flow process is got back to step S620, continues to carry out the judgement of performance period Pw and performance requirements Pt for the processing of next unit data, to adjust the Cycle Length Pg of gate-control signal.
Fig. 7 shows another Cycle Length setting example according to the gate-control signal of the embodiment of the invention.As step S710, the Cycle Length Pg of gate-control signal is initially set 0.After processing unit processes is finished a unit data,, judge that whether corresponding performance period Pw is less than performance requirements Pt as step S720.If performance period Pw is less than performance requirements Pt, as step S730, the round values that Cycle Length Pg is made as (Pt-Pw)/Pw adds 1 (INT ((Pt-Pw)/Pw)+1), and as step S740, Cycle Length Pg is made as maximal value (Pg=max (Pmin, Pg)) among Cycle Length minimum value Pmin and the Pg.Must be noted that in step S730, can set for Cycle Length Pg according to the part that performance requirements Pt exceeds performance period Pw.Similarly, do not accept the processing of gate owing to when Pg becomes 0, represent work time pulse, and when the Cycle Length of gate-control signal will make that too in short-term the operation of processing unit is slack-off, it is operated undesiredly, therefore, Cycle Length must be made as the maximal value among Cycle Length minimum value Pmin and the Pg among the step S740, to keep the normal operation of processing unit.If performance period Pw is not less than performance requirements Pt, as step S750, Pg is made as 0 with Cycle Length.Afterwards, flow process is got back to step S720, continues to judge for performance period Pw and performance requirements Pt, to adjust the Cycle Length Pg of gate-control signal.
In above-mentioned Fig. 5, Fig. 6 and Fig. 7, equal at performance period Pw that (step S510, S620 S720), owing to be optimum condition, therefore need not this performance period, therefore there is no in diagram to demonstrate especially under the situation of performance requirements Pt.
Please refer to Fig. 9 A and Fig. 9 B, is to describe known respectively and the electrical source consumption synoptic diagram of the present invention under a plurality of unit datas of processing (as: frame).With Fig. 9 A, the time of known required cost when handling the per unit data equal working time (work time) W with standby time (idle time) I with, though the known consumption that does not have power supply standby time when handling, but can produce very big electric current in moment at the power supply that the working time consumed, therefore for medium coprocessor with the manufacturing of chip kenel, having a large amount of situations that produce with this chip term of life of loss of moment heat takes place, this all also can't carry out relevant power supply adjustment and management in executing state with the difference between performance requirements for medium coprocessor because of the known power source administrative mechanism, cause when handling video-audio data the power supply inequality that medium coprocessor consumed.And be to do assessment at the performance period of medium coprocessor itself with the practice of the present invention, if processor processing speed is too fast, then downgrade its processing speed, otherwise, then increase its processing speed, can allow the electrical source consumption performance of medium coprocessor on whole time shaft relatively steadily many whereby, can be and allow because of the rapid term of life of consuming itself that produces of the heat of certain time point with the medium coprocessor of chip kenel manufacturing.
Method of the present invention, or specific kenel or its part, can be contained in tangible media with the kenel of procedure code, get (as embodied on computer readable) storage medium as floppy disk, discs, hard disk or any other machine readable, wherein, when procedure code by machine, when being written into and carrying out as computing machine, this machine becomes in order to participate in device of the present invention.Method and apparatus of the present invention also can see through some transmission mediums with the procedure code kenel, transmit as electric wire or cable, optical fiber or any transmission kenel, wherein, when procedure code by machine, as the computing machine reception, when being written into and carrying out, this machine becomes in order to participate in device of the present invention.When the general service processor is done in fact, the procedure code associative processor provides a class of operation to be similar to the unique apparatus of using particular logic circuit.
Itself regulate and control (adaption byitself) voluntarily by medium coprocessor utilization of the present invention and regulate and control its performance period with instant (real time), the present invention need not primary processor the intervention monitoring can reach the purpose of power supply control, and outside monitoring voluntarily, still the amplitude (spectrum) of (flatten) electrical source consumption takes place to avoid the rapid situation that consumes of power supply gently.
The above only is preferred embodiment of the present invention; so it is not in order to limit scope of the present invention; any personnel that are familiar with this technology; without departing from the spirit and scope of the present invention; can do further improvement and variation on this basis, so the scope that claims were defined that protection scope of the present invention is worked as with the application is as the criterion.
Being simply described as follows of symbol in the accompanying drawing:
100: medium system
110: primary processor
120: medium coprocessor
130: memory
140: output/input block
150: display unit
200: power-supply management system
210: processing unit
220: counter
230: control module
240: synthesis unit
DU: unit data
CC: counting clock pulse
WC: work time pulse
Pw: performance period
CP: controlled variable
GS: gate-control signal
C n, C (n+1), C (n+2): instruction
SC: preset instructions
S410, S420 ..., S440: operation steps
S510, S520, S530: operation steps
S610, S620 ..., S680: operation steps
S710, S720 ..., S750: operation steps

Claims (20)

1. a method for managing power supply is characterized in that, is applicable to a medium coprocessor, and wherein this medium coprocessor comprises a processing unit, and this method for managing power supply comprises the following steps:
Write down a required performance period of this processing unit processes one unit data;
Compare this performance period and a performance requirements produces a gate-control signal, and the one-period of corresponding this gate-control signal of adjustment;
Adjust a work time pulse according to this gate-control signal; And
Adjusted this work time pulse is provided to this processing unit required performance period with as next unit data of this processing unit processes the time;
Wherein, when this performance period during, produce this gate-control signal, and this Cycle Length of this gate-control signal is reduced by a length-specific, so that this work time pulse is slack-off less than this performance requirements; And
When this performance period during, produce this gate-control signal, and this Cycle Length of this gate-control signal is strengthened by this length-specific, so that this work time pulse accelerates greater than this performance requirements.
2. method for managing power supply according to claim 1 is characterized in that, this unit data is the frame in the media data, and this processing unit is carried out in this performance period at least one instruction that should frame.
3. method for managing power supply according to claim 2 is characterized in that, more comprises the following steps:
When this processing unit receives and carry out instruction that should frame, begin this performance period of accumulative total; And
When this processing unit receives a preset instructions, then stop this performance period of accumulative total.
4. method for managing power supply according to claim 1 is characterized in that, more comprises this gate-control signal and this work time pulse are carried out one and logical operation, thereby produces adjusted this work time pulse.
5. method for managing power supply according to claim 1 is characterized in that, this cycle of this gate-control signal has one-period length, and this gate-control signal is for this work time pulse gate one-period every this Cycle Length.
6. method for managing power supply according to claim 5 is characterized in that, more comprises the following steps:
Compare this performance period and this performance requirements;
When this performance period during less than this performance requirements, judge whether this Cycle Length of this gate-control signal equals 0, if, this Cycle Length is maintained 0, if not, this Cycle Length is deducted an adjusted value; And
When this performance period during greater than this performance requirements, judge that whether this Cycle Length of this gate-control signal adds an adjusted value greater than a preset period length maximal value, if, this Cycle Length is made as 0, if not, this Cycle Length is added this adjusted value.
7. method for managing power supply according to claim 6 is characterized in that, when this Cycle Length is not equal to 0, more comprises the following steps:
Judge that whether this Cycle Length deducts this adjusted value less than a preset period length minimum value;
If this Cycle Length is made as this Cycle Length minimum value; And
If not, this Cycle Length is made as this Cycle Length that deducts behind this adjusted value.
8. method for managing power supply according to claim 5 is characterized in that, more comprises the following steps:
Compare this performance period and this performance requirements;
When this performance period during less than this performance requirements, (formula of (Pt-Pw)/Pw)+1 is set, and wherein, Pg is this Cycle Length, and Pt is this performance requirements, and Pw is this performance period according to Pg=INT with this Cycle Length; And
When this performance period during, this Cycle Length is made as 0 greater than this performance requirements.
9. method for managing power supply according to claim 8 is characterized in that, more comprises the following steps:
Judge that whether this Cycle Length of setting according to this formula is less than a preset period length minimum value;
If this Cycle Length is made as this Cycle Length minimum value; And
If not, this Cycle Length is made as this Cycle Length of setting according to this formula.
10. method for managing power supply according to claim 1, it is characterized in that, comprise more according to a counting clock pulse and write down this required performance period of processing unit processes one unit data that wherein, this counting clock pulse can be independently to exist and influence mutually with this work time pulse.
11. a power-supply management system is characterized in that, in be contained in a medium coprocessor, this power-supply management system comprises:
One processing unit is in order to handle a unit data;
One counter is in order to write down a required performance period of this unit data of this processing unit processes;
One control module in order to receiving this performance period and a performance requirements, and is compared this performance period and this performance requirements produces a gate-control signal, and the one-period of corresponding this gate-control signal of adjustment; And
One synthesis unit in order to receive this gate-control signal and a work time pulse, is adjusted this work time pulse according to this gate-control signal, adjusted this work time pulse is provided to this processing unit required performance period with as next unit data of this processing unit processes the time;
Wherein, when this performance period during less than this performance requirements, produce this gate-control signal, and this Cycle Length of this gate-control signal is reduced by a length-specific, so that this work time pulse is slack-off, and, produce this gate-control signal when this performance period during greater than this performance requirements, and this Cycle Length of this gate-control signal is strengthened by this length-specific, so that this work time pulse accelerates.
12. power-supply management system according to claim 11 is characterized in that, this unit data is the frame in the media data, and this processing unit is more carried out in this performance period at least one instruction that should frame.
13. power-supply management system according to claim 12, it is characterized in that, this processing unit more receives and carries out at least one instruction that should frame, and cause this counter to begin this performance period of accumulative total, and when this processing unit receives a preset instructions, then cause this counter to stop this performance period of accumulative total.
14. power-supply management system according to claim 11 is characterized in that, this synthesis unit more carries out this gate-control signal and this work time pulse one and logical operation, thereby produces adjusted this work time pulse.
15. power-supply management system according to claim 11 is characterized in that, this cycle of this gate-control signal has one-period length, and this gate-control signal is for this work time pulse gate one-period every this Cycle Length.
16. power-supply management system according to claim 15, it is characterized in that, this control module is more compared this performance period and this performance requirements, when this performance period of this gate-control signal during less than this performance requirements, this control module judges more whether this Cycle Length equals 0, if, this Cycle Length is maintained 0, and if not, this Cycle Length is deducted an adjusted value, when performance period of this gate-control signal during greater than this performance requirements, this control module judges that more this Cycle Length adds that whether an adjusted value is greater than a preset period length maximal value, if this Cycle Length is made as 0, and if not, this Cycle Length is added this adjusted value.
17. power-supply management system according to claim 16, it is characterized in that, when this Cycle Length is not equal to 0, this control module judges that more whether this Cycle Length deducts this adjusted value less than a preset period length minimum value, if, this Cycle Length is made as this Cycle Length minimum value, if not, this Cycle Length is made as this Cycle Length that deducts behind this adjusted value.
18. power-supply management system according to claim 15, it is characterized in that, this control module is more compared this performance period and this performance requirements, and when this performance period during less than this performance requirements, (set according to Pg=INT by the formula of (Pt-Pw)/Pw)+1 with this Cycle Length for this control module, wherein, Pg is this Cycle Length, and Pt is this performance requirements, and Pw is this performance period, when this performance period during greater than this performance requirements, this control module is made as 0 with this Cycle Length.
19. power-supply management system according to claim 18, it is characterized in that, this control module judges that more whether this Cycle Length of setting according to this formula is less than a preset period length minimum value, if, this Cycle Length is made as this Cycle Length minimum value, if not, this Cycle Length is made as this Cycle Length of setting according to this formula.
20. power-supply management system according to claim 14, it is characterized in that, this counter can write down this required performance period of processing unit processes one unit data according to a counting clock pulse, and wherein, this counting clock pulse can be independently to exist and not influence mutually with this work time pulse.
CNB2006101385806A 2006-11-09 2006-11-09 Power managing method and system Active CN100442201C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101385806A CN100442201C (en) 2006-11-09 2006-11-09 Power managing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101385806A CN100442201C (en) 2006-11-09 2006-11-09 Power managing method and system

Publications (2)

Publication Number Publication Date
CN1945496A CN1945496A (en) 2007-04-11
CN100442201C true CN100442201C (en) 2008-12-10

Family

ID=38044925

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101385806A Active CN100442201C (en) 2006-11-09 2006-11-09 Power managing method and system

Country Status (1)

Country Link
CN (1) CN100442201C (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5815725A (en) * 1996-04-03 1998-09-29 Sun Microsystems, Inc. Apparatus and method for reducing power consumption in microprocessors through selective gating of clock signals
US20020104032A1 (en) * 2001-01-30 2002-08-01 Mazin Khurshid Method for reducing power consumption using variable frequency clocks
CN1497407A (en) * 2002-09-30 2004-05-19 英特尔公司 Method and device for reducing clock frequency during low working capacity
CN1608239A (en) * 2000-06-30 2005-04-20 英特尔公司 Device and method to control di/dt for a microprocessor
US20060168463A1 (en) * 2002-12-04 2006-07-27 Koninklijke Philips Electronics N.V. Register file gating to reduce microprocessor power dissipation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5815725A (en) * 1996-04-03 1998-09-29 Sun Microsystems, Inc. Apparatus and method for reducing power consumption in microprocessors through selective gating of clock signals
CN1608239A (en) * 2000-06-30 2005-04-20 英特尔公司 Device and method to control di/dt for a microprocessor
US20020104032A1 (en) * 2001-01-30 2002-08-01 Mazin Khurshid Method for reducing power consumption using variable frequency clocks
CN1497407A (en) * 2002-09-30 2004-05-19 英特尔公司 Method and device for reducing clock frequency during low working capacity
US20060168463A1 (en) * 2002-12-04 2006-07-27 Koninklijke Philips Electronics N.V. Register file gating to reduce microprocessor power dissipation

Also Published As

Publication number Publication date
CN1945496A (en) 2007-04-11

Similar Documents

Publication Publication Date Title
US9904346B2 (en) Methods and apparatus to improve turbo performance for events handling
US7904287B2 (en) Method and system for real-time prediction of power usage for a change to another performance state
CN101495958B (en) System and method for controlling processor low power states
US8327170B2 (en) Computing load management method and system
CN100381978C (en) System and method for power management of plural information handling systems
CN1256637C (en) Central processing unit dispatch method and device
US20100106982A1 (en) Adaptive computing responsive to environmental conditions
CN1246752C (en) Method and apparatus to control processor power and performance for single phase lock loop (PLL) processor systems
CN101281415A (en) Method for regulating dynamic voltage frequency in power supply management technique
CN103377115A (en) System event log management system and system event log management method
CN106250051B (en) Disc driver speed management method and system
CN101661324A (en) Energy-saving method of multipath server
CN103975288A (en) Methods and systems for energy efficiency and energy conservation including entry and exit latency reduction for low power states
US20140351614A1 (en) Data storage system with power management and method of operation thereof
US7793133B2 (en) Power management method and system based on data unit running cycle and performance requirement
CN102929381B (en) Electronic system and method for managing power supply thereof
EP4018308A1 (en) Technology for dynamically grouping threads for energy efficiency
CN109117418A (en) A kind of programmable system on chip
US6906433B2 (en) Method and apparatus for regulating the efficiency of a power supply in a computer system
CN101071329A (en) Power supply control device for multi-core processor and its method
CN103133059A (en) Systems and methods for adjusting clearances in turbines
CN100442201C (en) Power managing method and system
CN101661326B (en) Image processing module, power-saving computer system and power-saving method thereof
Yin et al. Copa: Highly cost-effective power back-up for green datacenters
WO2023107495A1 (en) Systems and techniques for renewable energy generation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant