CN1624626A - Structure of dynamic management device power source and its method - Google Patents

Structure of dynamic management device power source and its method Download PDF

Info

Publication number
CN1624626A
CN1624626A CN 200310120306 CN200310120306A CN1624626A CN 1624626 A CN1624626 A CN 1624626A CN 200310120306 CN200310120306 CN 200310120306 CN 200310120306 A CN200310120306 A CN 200310120306A CN 1624626 A CN1624626 A CN 1624626A
Authority
CN
China
Prior art keywords
condition
power supply
program
dynamic management
management device
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
CN 200310120306
Other languages
Chinese (zh)
Other versions
CN1300660C (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.)
Acer Inc
Original Assignee
Acer 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 Acer Inc filed Critical Acer Inc
Priority to CNB2003101203062A priority Critical patent/CN1300660C/en
Publication of CN1624626A publication Critical patent/CN1624626A/en
Application granted granted Critical
Publication of CN1300660C publication Critical patent/CN1300660C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

A device for receiving a first signal and changing its power supply condition, an electric source management unit for sending the first signal, and a memory location unit containing a residence program and a data gram which records a first and second condition for a executive program using the device, with the first condition judging the possibility of an active program using a device by periodicity of the residence, and the second one judging the average free time of an inactive program more than loss balancing time of device, which is that it will send a second signal to the electric source management unit and send a first signal by the electric source management unit, when the first or second condition is satisfied, for changing the device into close condition dynamically in real-time, saving the loss of electric source and realizing saving electric energy.

Description

The structure of dynamic management device power supply and method thereof
Technical field
The present invention relates to a kind of structure and method thereof of dynamic management device power supply, it can periodically be judged the program of enlivening to use a certain specific device probability be zero or one non-average standby time of enlivening idle this device of program when setting up greater than a first condition of device break-even time (device break-even time) or a second condition, the power supply status of this device of real time altering is to reach the function of saving electrical source consumption.
Background technology
Computing machine is an industrial revolution influence afterwards the most deep and broad human science and technology, and even to this day, we we can say there is not computing machine, just do not have modern new civilization.The Internet this develop surprisingly over 4 years, human history more may enter continue agricultural, cybertimes after the industrial age, and computer and network is the basis of human next stage civilization construction.And Microsoft, the hugest single strength of " decision " computer and network development just.
Microsoft is the construction person of present PC World common language, from early stage dos operating system, the situation that Microsoft has unified computing machine early stage of development a hundred flowers blossom, the operating system that makes personal computer is under the standard of unanimity, violent quick-fried property progress, the lifting that doubles along with hardware efficiency, personal computer replaces mainframe computer finally, begin to become the indispensable electrical equipment of many families, the WINDOWS epoch arrive afterwards, the convenient operation-interface that uses, use a computer and to rely on program language as the book from heaven, personal computer and Microsoft further become more families instrument indispensable with the individual again, because of it gos deep into, extensively enter human lives's degree, make us have to pay attention to the power management of computer installation.
Advanced power-management interface (Advanced Power Management; APM), be Intel and Microsoft in 92 years defined power saving management interface, it makes computing machine utilize APM to do control of peripheral power supply and management, this method is promptly controlled by BIOS; Support the also responsible various peripheral devices of BIOS of APM with oneself, subroutine as screen, hard disk, floppy disk and mainboard system itself etc., provide out with 16bit/32bit protected Mode, and set up suitable calling form, allow other operating system (as Windows) can directly call the power supply status of control hardware.
But the dominant right of APM power management is to transfer to the BIOS keyholed back plate, because of the function of APM definition is limited to, can accomplish it is that (the normally break-even time value of a device) shuts down certain device after setting a few minutes at most, and do simple monitoring, the efficient that power supply is saved not is very high.Because of reality start back real leading, what control whole computing machine is operating system, the scheduling of actual contact peripheral device, the also therefore operation center of gravity of power management, must transfer to OS by BIOS and could really perform to the highest power management efficiency fully, economize on electricity need redefine power supply of new generation/configuration control interface (Advanced Configuration and Power Interface at OS; ACPI).
ACPI is by Intel, Microsoft, Toshiba common the formulation for a common power-management interface is arranged between operating system and hardware, with before improving on power management by disunity interface that each other manufacturer was formulated.It is begun to support by Win98 and WNT5.0, and the function of power management is incorporated in the operating system, controls the power operation of all hardware by unified interface, from the notebook to the desktop PC and server all be included in this specification.
In the ACPI How It Works, operating system is utilized AML language program interpreter, by the ACPI driver peripheral device that meets APCI standard design is done unlatchings, operation such as is closed, or close automatically after the setting some time, opening device or the like.The method of its control has two kinds, and a kind of is to interrupt signal by SCI (Svstem Control Interrupt), and another then is by very complicated tableau format, and directly periphery is to periphery, and periphery is to CPU and the CPU communication to periphery.
Wherein, the defined power supply control model of ACPI figure, all states can be divided into G (Global), D (Device), S (Sleeping) and C (CPU).Wherein Global is meant all systems, can be divided into one again, G0-Working: duty, and user's program can be carried out normally, but equipment can have their state, and when not using this equipment, this equipment can enter other off working state; Two, G1-Sleeping: the less power supply of system consumption under this state, program without any the user is being carried out, system seems just as at off-mode, because this moment, display screen was pent, the fork-like farm tool used in ancient China system promptly is returned to duty very soon as long as there is any message of waking startup to pass on into; Three, G2/S5-SoftOff: under this state, system only keeps considerably less power supply, is carrying out without any the program of user and operating system, needs the long time to be returned to duty under this state; Four, G3-Mechanical Off: the power supply of total system is all closed, and by system, the switch that system can only reopen power supply unit starts without any electric current, and the consumption of power supply is zero under this state.Device is meant some devices, as modulator-demodular unit, Winchester disk drive, CD-ROM drive etc., can be divided into one again, D0-Fully-On: under the operate as normal; Two, D1: can economize less power supply; Three, D2: some function is closed, and can economize more power supply; Four, D3-Off: the power supply of equipment is moved out of fully under this state, so following secondary source needs operating system again this equipment to be done once to set again when being supplied again.Sleeping is meant that system enters sleep state under G1, can be divided into one again, S1-Sleeping: the running of answering system that can be very fast under this state, the content of system are all less than losing; Two, S2-Sleeping: but the content loss in the sixth of the twelve Earthly Branches of similar S1 CPU and Cache, and the content that back operation system need be safeguarded CPU and Cache is replied by system; Three, S3-Sleeping: the content of all the other CPU, Cache and Chipset is all lost except the data of storer, and the content of storer is by hardware maintenance; Four, S4-Sleeping: this state has minimum power supply pin consumption, and the longest turnaround time, all equipment all are closed; Five, S5-Soft Off: the state and the S4 that promptly are Global G2 are similar, but operating system is not safeguarded any content.CPU can be divided into one again, the C0:CPU execution command; Two, C1: under minimum turnaround time, software is unaffected fully; Three, C2: good than C1; Four, C3: good than C2.ACPI defines five kinds of power supply switch modes, effectively utilizes operating system to reach the characteristic of power supply keyholed back plate.
When system enters energy-saving mode, once there is any peripheral device to be triggered, system can produce the hardware interrupts signal notice of a SMI and wake CPU up this moment, cpu clock recovers running, and fetch the relevant information of previous storage by BIOS, OS after, be returned to the duty of original time-out with the RSM instruction.
Though ACPI provides powerful power-management interface, but the standby time of a device is judged by the WINDOWS system in time qualified mode (Time Out), though the method can reach the characteristic that power supply is saved, but caused the problem of another waste power supply, as the mode of using Time Out need waste power supply and supply this device electric power of standby time, and can't close this idle device effectively in real time.
Therefore, how a kind of dynamic power supply management method of device is proposed at the problems referred to above, not only can improve traditional shortcoming, can more effectively save power supply again, not be to use the person eagerly to look forward to for a long time always, for this reason, the inventor is based on research, exploitation, sale practical experience and the individual's thereof of the Related product of engaging in power management for many years professional knowledge, through research and design, special topic discussion in many ways, work out a kind of dynamic power supply management method of device finally, can solve the above problems.
Summary of the invention
Fundamental purpose of the present invention, be to provide a kind of structure and method thereof of dynamic management device power supply, it can periodically judge the program of enlivening (active application) to use a device probability be zero or one non-average standby time of enlivening idle this device of program that changing this device is a closed condition when setting up greater than a first condition of device break-even time (devicebreak-even time) or a second condition.
Another object of the present invention, be to provide the function of real time implementation processing, it can periodically be judged the program of enlivening to use a device probability be zero or one non-average standby time of enlivening idle this device of program when setting up greater than a first condition of device break-even time (device break-even time) or a second condition, the power supply status of this device of real time altering.
Another purpose of the present invention, be to provide a kind of structure and method thereof of dynamic management device power supply, utilize average statistics data of the historical record standby time file calculating gained of a device, the average standby time of this device of fair expression, precisely the power supply of this device of tolerance is saved state, to reach the purposes of saving electrical source consumption.
The present invention discloses a kind of device, after receiving one first signal, change the power supply state of this device; One Power Management Unit is in order to send this first signal; And a storage unit, comprising a resident program and a tables of data, this tables of data is noted down a first condition and the second condition that an executive routine uses this device.Wherein, this first condition judges that periodically whether the program of enlivening is used this device probability is zero; This second condition judges that whether one non-ly enliven the average standby time of idle this device of program greater than the device break-even time (device break-even time).When this first condition or this second condition are set up, send a secondary signal and give this Power Management Unit and send this first signal and give this device, dynamically changing this device in real time is a closed condition, in order to save the consumption of power supply.
Description of drawings
Fig. 1 is the structure of dynamic management device power supply of a preferred embodiment of the present invention and the system construction drawing of method thereof;
Fig. 2 A is the detailed maps of a preferred embodiment storage unit of the present invention;
Fig. 2 B is the field synoptic diagram of an economize on electricity condition data table of a preferred embodiment of the present invention; And
Fig. 3 is the system flowchart of the dynamic management device power supply of a preferred embodiment of the present invention.
The drawing reference numeral explanation
10 storage unit
101 resident programs
102 economize on electricity condition data tables
20 Power Management Unit
30 devices
40 libraries
50 users
Embodiment
Further understand and understanding for architectural feature of the present invention and the effect that realized are had, now in conjunction with the accompanying drawings preferred embodiment of the present invention is described in detail.
General known management devices power supply architecture after utilizing counter calculating one to be installed on one period predetermined standby time is closed this device, but the method often cause must the Extra Supply counter and the power supply of device carry out for calculating operation, can't effectively weigh the power supply status of under which kind of time and which kind of situation, effectively managing this device, the present invention discloses a kind of structure and method thereof of dynamic management device power supply, with the consumption that makes things convenient for a user effectively to save power supply.
See also Fig. 1, it is the structure of dynamic management device power supply of a preferred embodiment of the present invention and the system construction drawing of method thereof; This structure mainly comprises a storage unit l0, in order to the judgement of a first condition that carry out to save power supply or a second condition and note down the judged result of this first condition and this second condition; One Power Management Unit 20 is in order to send this first signal; And at least one device 30, after receiving one first signal, change the power supply state of this device.
Wherein, are average statistics data that the historical record standby time library 40 of use device 30 calculates gained the average standby time of device 30, the average standby time of this device of fair expression, precisely measure the power supply of this device and save state, to reach the purposes of saving electrical source consumption.And install 30 and can be an input/output device, as a network card; If a data memory device is as a Winchester disk drive.
This first condition judges that whether the program of enlivening (active application) is used the probability of this device is zero; And this second condition judges that whether one non-ly enliven the average standby time of idle this device of program (inactive application) greater than the device break-even time (device break-eventime).
After a user 50 opens a computing machine, a first condition that utilizes this storage unit 10 to carry out to save power supplys and the judgement of a second condition and note down the judged result of this first condition and this second condition, in case this first or second condition set up, promptly send a secondary signal and give this Power Management Unit 20, send this first signal after this Power Management Unit 20 receptions one secondary signal and give this device 30.
See also Fig. 2 A, it is the detailed maps of a preferred embodiment storage unit of the present invention, as shown in the figure, disclosed a resident program 101 and an economize on electricity condition data table 102, wherein this resident program 101 is in order to judge whether a first condition and a second condition are set up; This economize on electricity condition data table 102 is in order to note down the judged result of this first condition and this second condition.
See also Fig. 2 B, it is the field synoptic diagram of an economize on electricity condition data table of a preferred embodiment of the present invention, as shown in the figure, disclosed the field of an economize on electricity condition data table 102, wherein this first condition is that a resident program 101 judges that one enlivens program to use the probability of this device be zero result; This second condition judges that for judging a resident program 101 whether a non-program of enlivening leave unused average standby time of this device greater than the result who installs the break-even time (device break-even time).
After a user 50 opens a computing machine, this resident program 101 is periodically judged when the program of enlivening uses this first condition of this device or this second condition to set up, result according to this economize on electricity condition data table 102, send a secondary signal and give this Power Management Unit 20, send one first signal and give this device 30.
See also Fig. 3, it is a kind of dynamic management device power source method of a preferred embodiment of the present invention, and its key step system comprises:
Step S101: open a resident program.
Step S102: carry out a first condition that power supply saves and judge that the program of enlivening uses whether the probability of this device is zero.
Step S103: the judged result of inserting first condition is in an economize on electricity tables of data.
Step S104: judge whether a second condition is set up, wherein be average statistics data of utilizing the historical record standby time library 40 calculating gained of a device the average standby time of this device.
Step S105: the judged result of inserting second condition is in an economize on electricity tables of data.
Step S106: if first or second condition set up, realize that then the economize on electricity condition sends secondary signal to a Power Management Unit.
By the structure and the method for the invention described above, be to utilize a resident program of a storage unit to judge that this power supply is saved condition and a tables of data is noted down a first condition and the second condition that an executive routine uses this device.Wherein, this first condition judges that periodically the program of enlivening uses whether a device probability is zero; This second condition judges that one non-ly enlivens standby time that program uses this device greater than the device break-even time (device break-even time).When this first condition or this second condition are set up, send a secondary signal and give this Power Management Unit and send this first signal by Power Management Unit again and give this device, dynamically change the power supply state of this device in real time, in order to the consumption of saving power supply.
As mentioned above, it only is a preferred embodiment of the present invention, be not to be used for limiting scope of the invention process, all equalizations of being done according to the described shape of claim of the present invention, structure, feature and spirit change and modify, and all should be included in the scope of claim of the present invention.

Claims (15)

1. the structure of a dynamic management device power supply, this structure comprises:
One device after receiving one first signal, changes the power supply state of this device;
One Power Management Unit is in order to send this first signal; And
One storage unit, comprise a resident program and a tables of data, whether this resident program meets a second condition in order to the relation whether relation between the power supply supply of periodically judging the program of enlivening and this device meets between a first condition and the non-power supply supply that enlivens program and this device, and when this first condition or second condition are set up, send a secondary signal and give this Power Management Unit and make it send this first signal to give this device closing the power supply supply of this device, and wherein this tables of data is noted down a first condition and the second condition that an executive routine uses this device.
2. the structure of dynamic management device power supply as claimed in claim 1, wherein this first condition judges that this enlivens program and uses whether the probability of this device is zero.
3. the structure of dynamic management device power supply as claimed in claim 1, wherein this second condition judges that this non-ly enlivens the average standby time of idle this device of program greater than the device break-even time.
4. the structure of dynamic management device power supply as claimed in claim 1, wherein, this device is an input/output device.
5. the structure of dynamic management device power supply as claimed in claim 4, wherein, this input-output unit is a network card.
6. the structure of dynamic management device power supply as claimed in claim 1, wherein, this device is a data memory device.
7. the structure of dynamic management device power supply as claimed in claim 1, wherein, this device is a Winchester disk drive.
8. dynamic management device power source method, this step comprises:
Periodically judge whether the relation whether program of enlivening and relation between the power supply supply of installing meet between a first condition and the non-power supply supply that enlivens program and this device meets a second condition; And
When this first condition or second condition are set up, send a secondary signal and give a Power Management Unit and make it send one first signal to give this device, in order to change a power supply state of this device.
9. dynamic management device power source method as claimed in claim 8, wherein this first condition enlivens program and uses whether the probability of this device is zero for judging this.
10. dynamic management device power source method as claimed in claim 8, wherein this second condition non-ly enlivens the average standby time of idle this device of program greater than the device break-even time for judging this.
11. dynamic power supply management method as claimed in claim 10, wherein, this installs average standby time is average statistics data of utilizing the historical record standby time file gained of this device.
12. dynamic management device power source method as claimed in claim 8, wherein, this device is an input/output device.
13. dynamic management device power source method as claimed in claim 12, wherein, this input-output unit is a network card.
14. dynamic management device power source method as claimed in claim 8, wherein, this device is a data memory device.
15. dynamic management device power source method as claimed in claim 14, wherein, this device is a Winchester disk drive.
CNB2003101203062A 2003-12-05 2003-12-05 Structure of dynamic management device power source and its method Expired - Fee Related CN1300660C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101203062A CN1300660C (en) 2003-12-05 2003-12-05 Structure of dynamic management device power source and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101203062A CN1300660C (en) 2003-12-05 2003-12-05 Structure of dynamic management device power source and its method

Publications (2)

Publication Number Publication Date
CN1624626A true CN1624626A (en) 2005-06-08
CN1300660C CN1300660C (en) 2007-02-14

Family

ID=34761517

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101203062A Expired - Fee Related CN1300660C (en) 2003-12-05 2003-12-05 Structure of dynamic management device power source and its method

Country Status (1)

Country Link
CN (1) CN1300660C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100428116C (en) * 2006-09-08 2008-10-22 华南理工大学 Dynamic power supply management construction based on embedded system
CN1913354B (en) * 2005-08-12 2010-05-26 鸿富锦精密工业(深圳)有限公司 System and method for recovering power supply to electronic device
CN101470412B (en) * 2007-12-25 2011-01-05 深圳Tcl新技术有限公司 Method for reducing power consumption of electronic device and electronic device thereof
CN102257454A (en) * 2008-11-24 2011-11-23 艾色拉公司 Active power management

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5432944A (en) * 1991-08-05 1995-07-11 Motorola, Inc. Data processing system having a dynamically enabled input synchronizer for selectively minimizing power consumption
CN2210422Y (en) * 1994-07-04 1995-10-18 游凝思 Card for controlling power supply
JP3119628B2 (en) * 1998-08-21 2000-12-25 甲府日本電気株式会社 Power consumption reduction circuit
CN1147774C (en) * 1998-10-23 2004-04-28 宏基股份有限公司 Computer device and its change method from power economizing mode into operation mode
US6425086B1 (en) * 1999-04-30 2002-07-23 Intel Corporation Method and apparatus for dynamic power control of a low power processor
JP4689087B2 (en) * 2000-08-22 2011-05-25 キヤノン株式会社 Information processing apparatus and power saving transition control method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913354B (en) * 2005-08-12 2010-05-26 鸿富锦精密工业(深圳)有限公司 System and method for recovering power supply to electronic device
CN100428116C (en) * 2006-09-08 2008-10-22 华南理工大学 Dynamic power supply management construction based on embedded system
CN101470412B (en) * 2007-12-25 2011-01-05 深圳Tcl新技术有限公司 Method for reducing power consumption of electronic device and electronic device thereof
CN102257454A (en) * 2008-11-24 2011-11-23 艾色拉公司 Active power management
CN102257454B (en) * 2008-11-24 2014-09-17 辉达技术英国有限公司 Active power management
US9141165B2 (en) 2008-11-24 2015-09-22 Icera Inc. Method and system for controlling clock frequency for active power management

Also Published As

Publication number Publication date
CN1300660C (en) 2007-02-14

Similar Documents

Publication Publication Date Title
Srivastava et al. Predictive system shutdown and other architectural techniques for energy efficient programmable computation
RU2436144C2 (en) Adaptive control of power consumption
US7610497B2 (en) Power management system with a bridge logic having analyzers for monitoring data quantity to modify operating clock and voltage of the processor and main memory
US5905900A (en) Mobile client computer and power management architecture
US9256271B2 (en) Predictive power management based on user category
CN102566739B (en) Multicore processor system and dynamic power management method and control device thereof
TWI283341B (en) Structure of dynamic management device power source and its method
JP3943665B2 (en) Sleep control method and event notification method
TWI622875B (en) Power efficient processor architecture
CN1415085A (en) Sleep state transitioning
US20110106935A1 (en) Power management for idle system in clusters
Chen et al. Fine-grained power management using process-level profiling
WO2008042179A1 (en) Transitioning a computing platform to a low power system state
CA2087767A1 (en) System for distributed power management in portable computers
US7886177B2 (en) Method and apparatus of collecting timer ticks
EP2972826B1 (en) Multi-core binary translation task processing
CN102768571A (en) Energy saving method of PCM-based (phase change memory based) data center
CN1949134A (en) Portable electronic device capable of auto switching electric source modes and switching method thereof
CN1300660C (en) Structure of dynamic management device power source and its method
CN101408792A (en) Power supply managing device and managing method thereof
CN1722059A (en) Method for auto-power-off according to user's habit
CN1503101A (en) Power source management method for portable computer
Saxe Power-Efficient Software: Power-manageable hardware can help save energy, but what can software developers do to address the problem?
CN106020424B (en) The processor architecture of power efficient
CN1661517A (en) Method of saving electricity for portable computers

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070214

Termination date: 20211205