CN102981591A - Method and system capable of reducing power consumption of computer system in sleep mode - Google Patents
Method and system capable of reducing power consumption of computer system in sleep mode Download PDFInfo
- Publication number
- CN102981591A CN102981591A CN2011102610855A CN201110261085A CN102981591A CN 102981591 A CN102981591 A CN 102981591A CN 2011102610855 A CN2011102610855 A CN 2011102610855A CN 201110261085 A CN201110261085 A CN 201110261085A CN 102981591 A CN102981591 A CN 102981591A
- Authority
- CN
- China
- Prior art keywords
- computer system
- output voltage
- normal mode
- sleep pattern
- storer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 13
- 230000002035 prolonged effect Effects 0.000 abstract 1
- 239000003990 capacitor Substances 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005265 energy consumption Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Power Sources (AREA)
Abstract
Description
技术领域 technical field
本发明涉及一种可降低电脑系统功率消耗的方法及相关电脑系统,尤指一种可降低电脑系统在睡眠模式下运行时功率消耗的方法及相关电脑系统。The invention relates to a method for reducing power consumption of a computer system and a related computer system, especially to a method for reducing power consumption of a computer system in sleep mode and a related computer system.
背景技术 Background technique
高级配置和电源接口(Advanced Configuration and Power Interface,ACPI)是由Intel、Microsoft、Phoenix、HP和Toshiba等厂商共同制定的电脑电源管理规格,目的是让操作系统可以直接地管理各种装置利用电源的状况。Advanced Configuration and Power Interface (ACPI) is a computer power management specification jointly developed by manufacturers such as Intel, Microsoft, Phoenix, HP, and Toshiba. The purpose is to allow the operating system to directly manage the use of power by various devices. situation.
现行ACPI架构下定义出电脑系统运作时的不同状态和电源模式:正常工作状态G0包含S0模式,睡眠状态G1包含S1~S4模式,而开机状态G2包含S5模式。以下简述在S0~S5模式下电脑系统中主要组件的供电情形:Under the current ACPI architecture, different states and power modes of the computer system are defined: the normal working state G0 includes the S0 mode, the sleep state G1 includes the S1-S4 modes, and the power-on state G2 includes the S5 mode. The following is a brief description of the power supply of the main components in the computer system in the S0~S5 mode:
S0模式:电脑系统的操作系统以及应用程序都在执行,且持续供电给所有组件;S0 mode: The operating system and application programs of the computer system are running, and power is continuously supplied to all components;
S1模式:中央处理单元(central processing unit,CPU)停止执行指令,但仍持续供电给CPU和其它组件;S1 mode: the central processing unit (central processing unit, CPU) stops executing instructions, but continues to supply power to the CPU and other components;
S2模式:停止供电给CPU,但仍持续供电给其它组件;S2 mode: Stop supplying power to the CPU, but continue to supply power to other components;
S3模式:仅持续供电给存储器,但停止供电给其它组件;S3 mode: only continuously supplies power to the memory, but stops supplying power to other components;
S4模式:将存储器资料写入硬盘,停止供电给所有组件;S4 mode: Write the memory data into the hard disk, stop supplying power to all components;
S5模式:完全关闭所有组件。S5 Mode: Completely shut down all components.
S3模式又可称之为STR(Suspend to RAM)模式,在微软XP或者Linux操作系统中叫做待机状态(stand-by),而在微软Vista或者Mac OS X操作系统中则叫做睡眠状态(sleep)。在S3模式下,电脑系统会将暂存资料载入存储器,并且让存储器以外的零件都停止工作。因此,若使用者暂时不需使用,可让电脑系统进入S3模式以节省耗电,而在需要使用时亦可快速立即回复电脑状态。S3 mode can also be called STR (Suspend to RAM) mode, which is called standby state (stand-by) in Microsoft XP or Linux operating system, and called sleep state (sleep) in Microsoft Vista or Mac OS X operating system . In the S3 mode, the computer system will load the temporary data into the memory, and stop the parts other than the memory. Therefore, if the user does not need to use it temporarily, the computer system can enter the S3 mode to save power consumption, and it can also quickly and immediately restore the computer state when it needs to be used.
在现有技术中ACPI架构下的电脑系统中,并未另外针对S3模式做省电设计,存储器的供电状况并非最佳化,因此仍有可能造成不必要的能量消耗。In the prior art, in the computer system under the ACPI architecture, there is no power-saving design for the S3 mode, and the power supply of the memory is not optimized, so unnecessary energy consumption may still be caused.
发明内容 Contents of the invention
本发明提供一种可降低一电脑系统在一睡眠模式下运行时功率消耗的方法,其包含在从一正常模式进入该睡眠模式前,将一资料写入该电脑系统中一存储器;在进入该睡眠模式后,将一第一输出电压供电给该存储器,并停止供电给该电脑系统中其它组件;以及在从该睡眠模式进入该正常模式前,将一第二输出电压供电给该存储器,其中该第一输出电压的值小于该第二输出电压的值。The present invention provides a method for reducing power consumption when a computer system operates in a sleep mode, which includes writing a data into a memory in the computer system before entering the sleep mode from a normal mode; After the sleep mode, supplying power to the memory with a first output voltage, and stopping power supply to other components in the computer system; and before entering the normal mode from the sleep mode, supplying power to the memory with a second output voltage, wherein The value of the first output voltage is smaller than the value of the second output voltage.
本发明另提供一种可降低一睡眠模式下功率消耗的电脑系统,其包含一存储器;一中央处理单元,用来在从一正常模式进入该睡眠模式前,将一资料写入该存储器;一电源供应;以及一微处理器,用来调整该电源供应使其在该睡眠模式下将一第一输出电压供电给该存储器,以及在从该睡眠模式回到该正常模式前将一第二输出电压供电给该存储器,其中该第一输出电压的值小于该第二输出电压的值。The present invention also provides a computer system capable of reducing power consumption in a sleep mode, which includes a memory; a central processing unit, used to write a data into the memory before entering the sleep mode from a normal mode; power supply; and a microprocessor, which is used to adjust the power supply to supply a first output voltage to the memory in the sleep mode, and a second output voltage before returning to the normal mode from the sleep mode A voltage is supplied to the memory, wherein the value of the first output voltage is less than the value of the second output voltage.
在本发明中,在睡眠模式下存储器仅需微小的自我刷新电流即可维持资料,电源供应仅通过执行自我刷新所需的最小电压来供电给存储器,能更进一步降低睡眠模式下的耗电量,藉以提升睡眠待机时间。In the present invention, the memory only needs a small self-refresh current to maintain data in the sleep mode, and the power supply only supplies power to the memory through the minimum voltage required to perform self-refresh, which can further reduce power consumption in the sleep mode , so as to improve the sleep standby time.
附图说明 Description of drawings
图1为本发明中一低耗能电脑系统的示意图。FIG. 1 is a schematic diagram of a low energy consumption computer system in the present invention.
图2为本发明电脑系统运行时的流程图。Fig. 2 is a flowchart of the operation of the computer system of the present invention.
其中in
10-CPU 20-电源供应 30-存储器10-CPU 20-Power Supply 30-Memory
40-微处理器 100-电脑系统40-microprocessor 100-computer system
具体实施方式 Detailed ways
图1为本发明中一低耗能电脑系统100的示意图。电脑系统100包含一CPU 10、一电源供应20、一存储器30,以及一微处理器40,可在一正常模式和一睡眠模式之间切换。FIG. 1 is a schematic diagram of a low power
图2为本发明电脑系统100运行时的流程图,其包含下列步骤:FIG. 2 is a flowchart of the operation of the
步骤210:供电给电脑系统100内所有组件以在正常模式下运作,执行步骤220。Step 210 : Provide power to all components in the
步骤220:判断是否需要进入睡眠模式:若是,执行步骤230;若否,执行步骤210。Step 220: Determine whether to enter the sleep mode: if yes, execute
步骤230:将资料写入存储器30,执行步骤240。Step 230: Write the data into the
步骤240:将一第一输出电压供电给存储器30,并停止供电给电脑系统100内其它组件以进入睡眠模式,执行步骤250。Step 240 : Supply a first output voltage to the
步骤250:判断是否需要离开睡眠模式:若是,执行步骤260;若否,执行步骤240。Step 250: Determine whether to leave the sleep mode: if yes, execute
步骤260:将一第二输出电压供电给存储器30,执行步骤210。Step 260 : Supply a second output voltage to the
在本发明的实施例中,正常模式可为ACPI的S0模式,即在步骤210中电源供应20会供电给电脑系统100中所有组件。此时CPU 10和存储器30之间可透过数据总线来进行传输,进而执行操作系统以及应用程序。In the embodiment of the present invention, the normal mode can be the S0 mode of ACPI, that is, the
在本发明的实施例中,睡眠模式可为ACPI的S3模式,若是在步骤220中判断需进入睡眠模式,此时CPU 10会在步骤230中将涉及操作系统、所有应用程序和被开启档案的状态等资料写入存储器30中,如此当之后回到正常模式后,电脑系统100可快速地回复至进入睡眠模式前的初始状态。In an embodiment of the present invention, the sleep mode can be the S3 mode of ACPI. If it is judged in
在步骤240中,CPU 10会在启动微处理器40后被关闭,并停止供电给电脑系统100内其它组件以进入睡眠模式。在睡眠模式下,微处理器40会调整电源供应20使其能提供第一输出电压给存储器30。若是在步骤250中判断需离开睡眠模式,微处理器40会调整电源供应20使其能提供第二输出电压给存储器30。In
在本发明之实施例中,存储器30可为一种非永久性存储器(volatile memory),例如动态随机存取存储器(Dynamic Random AccessMemory,DRAM),主要的作用原理是利用电容内存存电荷的多少来代表一个二进位位是1还是0。在实际应用中,电容无可避免地会有漏电情形。为了避免电荷漏失影响资料的完整性,存储器30必须周期性地执行自我刷新(self refresh)的充电动作。In an embodiment of the present invention, the
微处理器40可为一低功率的电压调整电路,例如利用电阻分压来调整电源供应20的输出电压。在本发明中,第一输出电压的值在睡眠模式下存储器30的可正常工作范围内,第二输出电压则为电源供应20的正常输出电压。由于在睡眠模式下存储器30仅需微小的自我刷新电流即可维持资料,因此第一输出电压的值小于第二输出电压。The
在本发明中,进入睡眠模式后电源供应20仅通过执行自我刷新所需的最小电压来供电给存储器30,在离开睡眠模式前再以正常输出电压供电给存储器30,因此能更进一步降低睡眠模式下的耗电量,藉以提升睡眠待机时间。In the present invention, after entering the sleep mode, the
以上所述仅为本发明的较佳实施例,凡依本发明权利要求所做的均等变化与修饰,都应属于本发明的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the claims of the present invention shall fall within the scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011102610855A CN102981591A (en) | 2011-09-05 | 2011-09-05 | Method and system capable of reducing power consumption of computer system in sleep mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011102610855A CN102981591A (en) | 2011-09-05 | 2011-09-05 | Method and system capable of reducing power consumption of computer system in sleep mode |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102981591A true CN102981591A (en) | 2013-03-20 |
Family
ID=47855724
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011102610855A Pending CN102981591A (en) | 2011-09-05 | 2011-09-05 | Method and system capable of reducing power consumption of computer system in sleep mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102981591A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9348770B1 (en) | 2014-11-20 | 2016-05-24 | Industrial Technology Research Institute | Non-volatile semiconductor memory device with temporary data retention cells and control method thereof |
CN106560761A (en) * | 2015-10-01 | 2017-04-12 | 联想企业解决方案(新加坡)有限公司 | Computer system and method for providing both main power and auxiliary power on a single power bus |
CN106775491A (en) * | 2016-12-30 | 2017-05-31 | 北京联想核芯科技有限公司 | Data processing method and storage device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060198225A1 (en) * | 2005-03-04 | 2006-09-07 | Seagate Technology Llc | Reducing power consumption in a data storage system |
US20080082845A1 (en) * | 2006-09-29 | 2008-04-03 | Kabushiki Kaisha Toshiba | Information processing apparatus and system state control method |
CN101581962A (en) * | 2009-06-19 | 2009-11-18 | 北京红旗胜利科技发展有限责任公司 | Method for reducing CPU power consumption and CPU |
US20100250981A1 (en) * | 2009-03-30 | 2010-09-30 | Lenova (Singapore) Pte. Ltd. | Dynamic memory voltage scaling for power management |
CN101916138A (en) * | 2010-08-06 | 2010-12-15 | 北京中星微电子有限公司 | Method and device for switching working state and sleep state of central processing unit |
-
2011
- 2011-09-05 CN CN2011102610855A patent/CN102981591A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060198225A1 (en) * | 2005-03-04 | 2006-09-07 | Seagate Technology Llc | Reducing power consumption in a data storage system |
US20080082845A1 (en) * | 2006-09-29 | 2008-04-03 | Kabushiki Kaisha Toshiba | Information processing apparatus and system state control method |
US20100250981A1 (en) * | 2009-03-30 | 2010-09-30 | Lenova (Singapore) Pte. Ltd. | Dynamic memory voltage scaling for power management |
CN101581962A (en) * | 2009-06-19 | 2009-11-18 | 北京红旗胜利科技发展有限责任公司 | Method for reducing CPU power consumption and CPU |
CN101916138A (en) * | 2010-08-06 | 2010-12-15 | 北京中星微电子有限公司 | Method and device for switching working state and sleep state of central processing unit |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9348770B1 (en) | 2014-11-20 | 2016-05-24 | Industrial Technology Research Institute | Non-volatile semiconductor memory device with temporary data retention cells and control method thereof |
CN106560761A (en) * | 2015-10-01 | 2017-04-12 | 联想企业解决方案(新加坡)有限公司 | Computer system and method for providing both main power and auxiliary power on a single power bus |
CN106775491A (en) * | 2016-12-30 | 2017-05-31 | 北京联想核芯科技有限公司 | Data processing method and storage device |
CN106775491B (en) * | 2016-12-30 | 2019-05-31 | 北京联想核芯科技有限公司 | Data processing method and storage equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI774787B (en) | Memory controller and operating method thereof | |
Liu et al. | Flikker: Saving DRAM refresh-power through critical data partitioning | |
KR102005765B1 (en) | System on chip and operation method using the same | |
CN101802750B (en) | Apparatus and method for reducing power consumption of system on chip | |
US9250665B2 (en) | GPU with dynamic performance adjustment | |
US9927860B2 (en) | Method for reducing power consumption of memory system, and memory controller | |
US9568971B2 (en) | Solid state drive with self-refresh power saving mode | |
CN102866934B (en) | Based on dormancy and the waken system of the embedded device of non-volatile random access memory | |
US20110296095A1 (en) | Data movement engine and memory control methods thereof | |
US11861781B2 (en) | Graphics processing units with power management and latency reduction | |
CN103838352A (en) | Low-power states for a computer system with integrated baseband | |
US20090083561A1 (en) | Dynamic power management of dimms | |
US20210405892A1 (en) | Memory management to improve power performance | |
CN104700886A (en) | Memory circuit with power supply state sensor | |
US9606913B2 (en) | Electronic circuit for and method of executing an application program stored in a one-time-programmable (OTP) memory in a system on chip (SoC) | |
US20110296098A1 (en) | System and Method for Reducing Power Consumption of Memory | |
US10175995B1 (en) | Device hibernation control | |
CN101145036A (en) | Power management structure and management mechanism | |
CN102929381B (en) | Electronic system and power management method thereof | |
CN102981591A (en) | Method and system capable of reducing power consumption of computer system in sleep mode | |
CN102768571A (en) | Energy Saving Method of Data Center Based on PCM | |
EP4047605A1 (en) | Memory power management method and apparatus | |
US10430096B2 (en) | Hybrid storage device, computer, control device, and power consumption reduction method | |
TW201433920A (en) | Information processing apparatus, device control method, and computer program product | |
CN103150191A (en) | Terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130320 |