CN1300660C - System and method for dynamically managing device power - Google Patents
System and method for dynamically managing device power Download PDFInfo
- Publication number
- CN1300660C CN1300660C CNB2003101203062A CN200310120306A CN1300660C CN 1300660 C CN1300660 C CN 1300660C CN B2003101203062 A CNB2003101203062 A CN B2003101203062A CN 200310120306 A CN200310120306 A CN 200310120306A CN 1300660 C CN1300660 C CN 1300660C
- Authority
- CN
- China
- Prior art keywords
- condition
- power
- power supply
- dynamically managing
- program
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000007726 management method Methods 0.000 claims description 40
- 238000013500 data storage Methods 0.000 claims 2
- 230000005611 electricity Effects 0.000 abstract description 12
- 230000006870 function Effects 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 5
- 238000010276 construction Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000009472 formulation Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000002618 waking effect Effects 0.000 description 1
Images
Landscapes
- Power Sources (AREA)
Abstract
The invention discloses a device, which is used for changing the power supply state of the device after receiving a first signal; a power management unit for sending the first signal; and a storage unit, including a resident procedure and a data table, the data table records a first condition and a second condition that an executive program uses the apparatus, wherein, the first condition judges that the probability of using an active procedure to use an apparatus is zero by the resident procedure periodicity, and the second condition judges that the average idle time of an inactive procedure idle the apparatus is greater than the apparatus loss and benefit balance time, when the first or second condition is established, send a second signal to the power management unit and then send the first signal to the apparatus by the power management unit, dynamically change the apparatus to a closed state in real time, in order to save the consumption of the power, in order to realize the use of economizing on electricity.
Description
Technical field
The present invention relates to a kind of system 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 (System 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 of similar S1 CPU and Cache lose, 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 system 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 system and method thereof of dynamic management device power supply, utilize average statistics data of the history file calculating standby time 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, in order to send this first signal; And a storage unit, comprising a resident program and a tables of data, this tables of data writes down a first condition and the second condition that an executive routine uses this device.Wherein, this first condition is to enliven program to use this device probability be zero; This second condition is one non-ly to enliven the average standby time of idle this device of program greater than the device break-even time (devicebreak-even time).When this first condition or this 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, 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 system 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 system 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 system 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 system of dynamic management device power supply of a preferred embodiment of the present invention and the system construction drawing of method thereof; This system mainly comprises a storage unit 10, in order to the judgement of a first condition that carry out to save power supply or a second condition and write 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, device average standby time of 30 is the average statistics data that gained are calculated in the history file storehouse 40 standby time of use 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 write 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 write 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 to utilize the history file storehouse 40 standby time of a device to calculate average statistics data of gained 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 system and 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 writes 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)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2003101203062A CN1300660C (en) | 2003-12-05 | 2003-12-05 | System and method for dynamically managing device power |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2003101203062A CN1300660C (en) | 2003-12-05 | 2003-12-05 | System and method for dynamically managing device power |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1624626A CN1624626A (en) | 2005-06-08 |
| CN1300660C true 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 | System and method for dynamically managing device power |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1300660C (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1913354B (en) * | 2005-08-12 | 2010-05-26 | 鸿富锦精密工业(深圳)有限公司 | System and method for restoring power supply to an electronic device |
| CN100428116C (en) * | 2006-09-08 | 2008-10-22 | 华南理工大学 | A Dynamic Power Management Method Based on Embedded System |
| CN101470412B (en) * | 2007-12-25 | 2011-01-05 | 深圳Tcl新技术有限公司 | Method for reducing power consumption of electronic device and electronic device |
| GB0821459D0 (en) | 2008-11-24 | 2008-12-31 | Icera Inc | Active power management |
Citations (6)
| 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 |
| JP2000066760A (en) * | 1998-08-21 | 2000-03-03 | Nec Kofu Ltd | Circuit for saving power consumption |
| CN1252546A (en) * | 1998-10-23 | 2000-05-10 | 宏碁电脑股份有限公司 | Computer device and method for entering operation mode from power saving mode |
| JP2002140138A (en) * | 2000-08-22 | 2002-05-17 | Canon Inc | Power saving transition control device, information processing device, power saving transition control method, and storage medium |
| US6425086B1 (en) * | 1999-04-30 | 2002-07-23 | Intel Corporation | Method and apparatus for dynamic power control of a low power processor |
-
2003
- 2003-12-05 CN CNB2003101203062A patent/CN1300660C/en not_active Expired - Fee Related
Patent Citations (6)
| 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 |
| JP2000066760A (en) * | 1998-08-21 | 2000-03-03 | Nec Kofu Ltd | Circuit for saving power consumption |
| CN1252546A (en) * | 1998-10-23 | 2000-05-10 | 宏碁电脑股份有限公司 | Computer device and method for entering operation mode from power saving mode |
| US6425086B1 (en) * | 1999-04-30 | 2002-07-23 | Intel Corporation | Method and apparatus for dynamic power control of a low power processor |
| JP2002140138A (en) * | 2000-08-22 | 2002-05-17 | Canon Inc | Power saving transition control device, information processing device, power saving transition control method, and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1624626A (en) | 2005-06-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI283341B (en) | Structure of dynamic management device power source and its method | |
| 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 | |
| US9256271B2 (en) | Predictive power management based on user category | |
| RU2436144C2 (en) | Adaptive control of power consumption | |
| TWI622874B (en) | Power efficient processor architecture | |
| JP3943665B2 (en) | Sleep control method and event notification method | |
| TWI386791B (en) | Transitioning a computing platform to a low power system state | |
| CN102789304B (en) | Power management method and related device | |
| US20110106935A1 (en) | Power management for idle system in clusters | |
| Saxe | Power-efficient software | |
| CN1816790A (en) | Non main cpu/os based operational environment | |
| Chen et al. | Fine-grained power management using process-level profiling | |
| EP2972826B1 (en) | Multi-core binary translation task processing | |
| CN1742249A (en) | Power management system | |
| CN1300660C (en) | System and method for dynamically managing device power | |
| US7636861B2 (en) | Bus technique for controlling power states of blades in a blade enclosure | |
| US7886177B2 (en) | Method and apparatus of collecting timer ticks | |
| Steigerwald et al. | Green software | |
| Xi et al. | Understanding the critical path in power state transition latencies | |
| CN1949134A (en) | Portable electronic device capable of automatically switching power supply modes and switching method thereof | |
| CN106020424B (en) | The processor architecture of power efficient | |
| US8065547B2 (en) | Control method and computer system for advanced configuration and power interface | |
| CN1773454A (en) | Method for waking and fast initiating applied program of computer system | |
| Vaddagir et al. | Power management | |
| GB2536824A (en) | Power efficient processor architecture |
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 |
Granted publication date: 20070214 Termination date: 20211205 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |