CN101655734B - Computer with power-saving state control and its control method - Google Patents
Computer with power-saving state control and its control method Download PDFInfo
- Publication number
- CN101655734B CN101655734B CN2008102132902A CN200810213290A CN101655734B CN 101655734 B CN101655734 B CN 101655734B CN 2008102132902 A CN2008102132902 A CN 2008102132902A CN 200810213290 A CN200810213290 A CN 200810213290A CN 101655734 B CN101655734 B CN 101655734B
- Authority
- CN
- China
- Prior art keywords
- mentioned
- computer
- power
- module
- trigger event
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 230000000712 assembly Effects 0.000 claims 1
- 238000000429 assembly Methods 0.000 claims 1
- 238000007726 management method Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000007704 transition Effects 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 1
Images
Landscapes
- Power Sources (AREA)
Abstract
Description
技术领域 technical field
本发明有关一种电脑与控制方法,特别是一种具省电状态控制的电脑与其控制方法。The invention relates to a computer and a control method, in particular to a computer with power-saving state control and a control method thereof.
背景技术 Background technique
电子产品的电源消耗为设计上的重要因素之一,每一家厂商无不希望自家的电子产品能够消耗最少的电源。尤其是针对可携式电子产品而言,电源的消耗越小,可让电池的使用时间越长,而不需经常更换电池,如此更能满足使用者的需求。The power consumption of electronic products is one of the important design factors, and every manufacturer hopes that their electronic products can consume the least power. Especially for portable electronic products, the smaller the power consumption, the longer the service time of the battery without frequent replacement of the battery, which can better meet the needs of users.
因此,针对电脑系统而言为了达到省电的效果,电脑系统设有所谓的睡眠(省电)模式(sleeping mode),可让电脑系统随使用者需求,或依使用者未动作的时间长短,而进入不同的睡眠模式。其中,每一个睡眠模式分别对应不同的电源组,可在不同的睡眠模式下开启或关闭特定的电源。对照于电脑系统若一直处于正常的工作模式(working mode)下,需将所有电源全部开启的状态,睡眠模式着实节省了不少电源的损耗。Therefore, in order to achieve the power saving effect for the computer system, the computer system has a so-called sleep (power saving) mode (sleeping mode), which allows the computer system to follow the needs of the user or the length of time the user has not acted. And enter a different sleep mode. Wherein, each sleep mode corresponds to a different power supply group, and a specific power supply can be turned on or off in different sleep modes. Compared with the computer system that is always in the normal working mode (working mode), all the power must be turned on, the sleep mode really saves a lot of power consumption.
然而,当电脑系统进入某一个睡眠模式后,若要改变到其它的睡眠模式时,以已知技术的作法,需先将电脑系统唤醒,而回到工作模式之后,才能再进到另一个睡眠模式。However, when the computer system enters a certain sleep mode, if it wants to change to other sleep modes, it is necessary to wake up the computer system first, and then enter another sleep mode after returning to the working mode. model.
请参照图1,该图所示为已知技术的睡眠模式转换示意图。假设,目前电脑系统的状态处于第一睡眠模式(S1),如果要由第一睡眠模式(S1)进入更深一层的第二睡眠模式(S2),就必需将所有的电源开启,而先回到工作模式(S0),然后才能再进入第二睡眠模式(S2)。也就是说,睡眠模式(S1~S4)之间无法直接转换,不论目前处于哪一个睡眠模式,只要须转换到不同的睡眠模式时,皆必须先回到工作模式(S0)后,才能再进入另一个睡眠模式。如此,不仅会将睡眠模式之间的转换时间拉长,且由于必须先开启所有的电源而回到工作模式,才能进行后续的动作(进入另一个睡眠模式),反而会造成不必要的电源消耗。Please refer to FIG. 1 , which is a schematic diagram of sleep mode transition in the known technology. Assume that the current state of the computer system is in the first sleep mode (S1), if you want to enter the deeper second sleep mode (S2) from the first sleep mode (S1), you must turn on all the power supplies, and return to the sleep mode first. To the working mode (S0), and then to enter the second sleep mode (S2). That is to say, sleep modes (S1~S4) cannot be switched directly. No matter which sleep mode you are currently in, as long as you need to switch to a different sleep mode, you must first return to the working mode (S0) before entering Another sleep mode. In this way, not only will the transition time between sleep modes be lengthened, but also because all power supplies must be turned on first to return to the working mode before subsequent actions can be performed (entering another sleep mode), which will cause unnecessary power consumption on the contrary. .
发明内容 Contents of the invention
有鉴于此,本发明的目的在于提供一种具省电状态控制的电脑及控制方法,以改善现有技术的缺失。In view of this, the object of the present invention is to provide a computer with power-saving state control and a control method to improve the deficiencies of the prior art.
本发明提出一种具省电状态控制的电脑,具有多个睡眠模式直接切换,该电脑包含:电源组、储存模块、电源管理模块及控制模块。电源组提供多个电源给电脑内多个组件。储存模块用以储存每一个睡眠模式所对应的执行资料。电源管理模块用以设定每一个睡眠模式所开启对应电源组的数目。控制模块依据所接收的触发事件,判断切换的睡眠模式,来送出第一切换信号到储存模块,使储存模块进行储存执行资料,并送出第二切换信号到电源管理模块,使电源管理模块设定电源组的数目,再将电脑由第一睡眠模式直接切换第二睡眠模式。The invention proposes a computer with power-saving state control, which has a plurality of sleep modes to switch directly. The computer includes: a power pack, a storage module, a power management module and a control module. Power packs provide multiple power sources to multiple components within the computer. The storage module is used for storing execution data corresponding to each sleep mode. The power management module is used to set the number of power groups corresponding to each sleep mode. The control module judges the switched sleep mode according to the received trigger event, sends the first switch signal to the storage module, makes the storage module store the execution data, and sends the second switch signal to the power management module, makes the power management module set The number of power packs, and then directly switch the computer from the first sleep mode to the second sleep mode.
本发明还提出一种省电状态的控制方法,应用于具有多个电源组与多个睡眠模式直接切换的电脑,控制方法包含下列步骤:接收触发事件,上述电脑为第一睡眠模式;判断触发事件的事件属性;当该事件属性为一睡眠事件时,先储存对应于该第一睡眠模式的一执行资料,再设定该些电源组开启的数目,当该事件属性为一唤醒事件时,先设定该些电源组开启的数目,再储存对应于该第一睡眠模式的该执行资料;使电脑进行上述第一睡眠模式直接切换第二睡眠模式。The present invention also proposes a control method of a power-saving state, which is applied to a computer with multiple power groups and multiple sleep modes directly switched. The control method includes the following steps: receiving a trigger event, the computer is in the first sleep mode; judging the trigger The event attribute of the event; when the event attribute is a sleep event, first store an execution data corresponding to the first sleep mode, and then set the number of these power supply groups to open; when the event attribute is a wake-up event, First set the number of these power groups to be turned on, and then store the execution data corresponding to the first sleep mode; make the computer perform the above-mentioned first sleep mode and directly switch to the second sleep mode.
藉由本发明所提出的装置或方法,可允许电脑系统在进入某一个睡眠模式后,依照接收到的事件(Event),不需先回到工作模式,即可直接改变到其它的睡眠模式。如此,可提供更有弹性的电源管理方式,以增加电池的使用寿命,更可让使用者在使用上更为直观。The device or method proposed by the present invention can allow the computer system to directly change to other sleep modes without returning to the working mode according to the received event after entering a certain sleep mode. In this way, a more flexible power management method can be provided to increase the service life of the battery, and it can also make the user's use more intuitive.
有关本发明的较佳实施例及其功效,兹配合图式说明如后。The preferred embodiments of the present invention and their effects are described as follows in conjunction with the drawings.
附图说明 Description of drawings
图1为已知技术的睡眠模式转换示意图。FIG. 1 is a schematic diagram of sleep mode conversion in the prior art.
图2为具省电状态控制的电脑的第一实施例示意图。FIG. 2 is a schematic diagram of a first embodiment of a computer with power-saving state control.
图3为具省电状态控制的电脑的第二实施例示意图。FIG. 3 is a schematic diagram of a second embodiment of a computer with power-saving state control.
图4为本发明的睡眠模式转换示意图。FIG. 4 is a schematic diagram of sleep mode conversion in the present invention.
图5为省电状态的控制方法的流程图。FIG. 5 is a flowchart of a control method of a power saving state.
具体实施方式 Detailed ways
请参照图2,该图所示为具省电状态控制的电脑的第一实施例示意图。本发明所提出的电脑,具有多个睡眠模式可供切换,该电脑包含:储存模块10、电源管理模块20、控制模块30及电源组40~49。Please refer to FIG. 2 , which is a schematic diagram of a first embodiment of a computer with power-saving state control. The computer proposed by the present invention has multiple sleep modes for switching, and the computer includes: a
电脑具有不同的省电状态,因此可进入多种不同的睡眠模式,而不同的睡眠模式所需的电源组数目有所不同。其中,电源组40~49分别提供电源给电脑内的多个组件所使用。随着睡眠模式的不同,所处理的执行资料也会有所差异。举例说明,当由较浅的睡眠模式进入较深的睡眠模式时,由于较深的睡眠模式所对应的电源组的电源数目较少(省电效果较好),因此所剩的电源将无法处理某些原本在较浅的睡眠模式下的执行资料,所以须先将较浅的睡眠模式下的执行资料储存起来。于此,储存模块10即可用以储存每一个睡眠模式所对应的执行资料。Computers have different power saving states, so they can go into several different sleep modes, and different sleep modes require different numbers of power banks. Wherein, the power groups 40-49 respectively provide power for multiple components in the computer. As the sleep mode is different, the execution data processed will also be different. For example, when entering a deeper sleep mode from a lighter sleep mode, since the power supply group corresponding to the deeper sleep mode has fewer power supplies (better power saving effect), the remaining power supplies will not be able to handle Some execution data originally in the lighter sleep mode, so the execution data in the lighter sleep mode must be stored first. Here, the
如上所述,每一个睡眠模式所需的电源组数目有所不同,举例说明:在工作模式(S0)下,所有的电源组,也就是第一电源组40、第二电源组41、第三电源组42到第N电源组49皆需开启,而第一睡眠模式(S1)可关闭其中一个电源组,第二睡眠模式(S2)又再关闭其中一个电源组,以此类推。于此,电源管理模块20便是用以设定每一个睡眠模式下所对应的电源组所需开启的数目。As mentioned above, the number of power supply groups required for each sleep mode is different. For example: in the working mode (S0), all power supply groups, that is, the first
控制模块30接收触发事件,依据触发事件,判断目前需切换到哪一个睡眠模式,由此来送出第一切换信号到储存模块10,使储存模块10进行储存执行资料的动作,并且送出第二切换信号到电源管理模块20,使电源管理模块20设定对应的电源组的数目,使电脑进行睡眠模式的切换,并直接进入另一种睡眠模式,此点于后将有更详尽的说明。其中,控制模块可选自南桥芯片、北桥芯片、嵌入式控制器(embedded controller,EC)、键盘控制器(keyboard controller,KBC)及其组合所构成的群组,亦即电脑系统中原本即具有的组件,如此不需增设新的组件,因而不会造成额外的成本支出。The
请参照图3为具省电状态控制的电脑的第二实施例示意图。于第二实施例中,还包含触发模块50。由图中所示可知,触发模块50可产生两种不同的触发事件,分别为睡眠事件与唤醒事件,底下针对这两种不同的事件,分别作说明。Please refer to FIG. 3 , which is a schematic diagram of a second embodiment of a computer with power-saving state control. In the second embodiment, a
当触发模块50产生的触发事件为睡眠事件时,表示电脑由目前的状态(可能是工作模式或某一个睡眠模式),要进入较深层的睡眠模式下。举例说明,假设电脑原本处于第一睡眠模式(S1)下,此时第一电源组40、第二电源组41、第三电源组42到第N-1电源组皆开启。当控制模块30接收到触发模块50所产生的睡眠事件,藉由睡眠事件而触发电脑进入第三睡眠模式(S3)。此时,控制模块30会先将执行资料储存于该储存模块10中,再由电源管理模块20控制关闭对应的电源组,以符合第三睡眠模式(S3)的电源组数目,亦即剩下第一电源组40、第二电源组41、第三电源组42到第N-3电源组为开启状态。如此,可让电脑达到更为省电的状态,且进入更深层的睡眠过程中,不必像先前技术般需先回到工作模式下,才能转换到另一睡眠模式,藉由本发明可让电脑的状态由一种睡眠模式直接进入另一种睡眠模式。When the trigger event generated by the
其中,本发明所提及的储存模块10可为高速缓存(cache memory)、缓存器(register)、随机存取内存(RAM)或硬盘(hard disk)等多种不同的可供存储用的模块。举例说明,由于睡眠模式的不同,因此每一个睡眠模式的执行资料可能储存于不同种类的储存模块10中,假设第一睡眠模式(较浅的睡眠模式)的执行资料储存于随机存取内存中,而第三睡眠模式(较深的睡眠模式)的执行资料储存于硬盘中。因此,上述触发事件为睡眠事件的例子中,控制模块30处理储存模块10的执行资料的方式为,先将执行资料由随机存取内存储存于硬盘之中。Wherein, the
另一方面,当触发模块50产生的触发事件为唤醒事件时,表示电脑由某一个睡眠模式,要进入较浅层的睡眠模式。举例说明,假设电脑原本处于第三睡眠模式(S3)下,此时第一电源组40、第二电源组41、第三电源组42到第N-3电源组皆开启。当控制模块30接收到触发模块50所产生的唤醒事件,藉由唤醒事件而触发电脑进入第一睡眠模式(S1)。此时,控制模块30会先控制电源管理模块20开启对应的电源组,以符合第一睡眠模式(S1)的电源组的数目,亦即开启第N-2电源组与第N-1电源组,使得第一电源组40、第二电源组41、第三电源组42到第N-1电源组皆开启。之后再储存执行资料于储存模块10。于此,可将执行资料由硬盘改为储存于随机存取内存之中。如此,当电脑要进入较浅层的睡眠模式时,同样可由一种睡眠模式直接进入另一种睡眠模式,而不需先回到工作模式下,才能进行后续的动作。On the other hand, when the trigger event generated by the
请参照图4,该图所示为本发明的睡眠模式转换示意图。藉由本发明所提出的装置,可让电脑系统中的睡眠模式的转换,如图4所示。将图4与图1作比较,可清楚发现,藉由本发明所提出的装置,可让每一个睡眠模式与工作模式之间可直接转换,还让任何一个睡眠模式可直接转换到另一个睡眠模式。相较于已知技术,省略了需先回到工作模式,才能再转换到另一种睡眠模式的步骤。如此,不仅可提升睡眠模式之间的转换效率,还可提供更为弹性化的电源管理方式,以增加电池的使用寿命。Please refer to FIG. 4 , which is a schematic diagram of sleep mode transition of the present invention. With the device proposed by the present invention, the sleep mode in the computer system can be switched, as shown in FIG. 4 . Comparing Fig. 4 with Fig. 1, it can be clearly found that with the device proposed by the present invention, each sleep mode can be directly switched to the work mode, and any sleep mode can be directly switched to another sleep mode . Compared with the known technology, the step of returning to the working mode before switching to another sleeping mode is omitted. In this way, not only can the conversion efficiency between sleep modes be improved, but also a more flexible power management method can be provided to increase the service life of the battery.
为了方便使用者操作电脑系统而进入不同的睡眠模式或工作模式,上述所提及的触发模块50可包含按键。使用者可藉由电脑上所设置的按键,而触发不同的事件(睡眠事件或唤醒事件)。产生触发事件可藉由一有线或无线网络装置。或者藉由一屏幕的开阖、一电池的电量大小或一转接器(adapter)的有无插入产生该触发事件。In order to facilitate the user to operate the computer system to enter different sleep modes or working modes, the
另外,也可采用电脑系统内部软件的方式来实现,此时触发模块50可包含计时器(Timer)。使用者可先设定好电脑系统内部的计时器,假设,设定一特定时间(如30分钟),若使用者未使用电脑,便进入更深一层的睡眠模式。因此,藉由计时器的设定,于经过特定的时间后,即可自动触发睡眠事件。类似的情形,若使用者要将电脑由工作模式转换至最深层的睡眠模式,而在工作模式下可先设定电脑系统内部的计时器。假设,设定一特定时间,如1个半小时,要由最深层的睡眠模式回到最浅层的睡眠模式,若电脑系统具有四个睡眠模式,如此,电脑系统便会在每经过30分钟后,自动产生一唤醒事件,使电脑进入较浅一层的睡眠模式。因此,通过计时器可达到使用者的需求,亦即经过1个半小时后,自动由第四睡眠模式(最深层的睡眠模式)回到第一睡眠模式(最浅层的睡眠模式)。In addition, it can also be implemented by means of internal software of the computer system, and at this time, the
请参照图5,该图所示为省电状态的控制方法的流程图。该控制方法,应用于具有多个电源组与多个睡眠模式可供切换的电脑,该控制方法包含下列步骤。Please refer to FIG. 5 , which is a flow chart of a method for controlling the power saving state. The control method is applied to a computer with multiple power groups and multiple sleep modes that can be switched, and the control method includes the following steps.
步骤S10:接收触发事件。其中,触发事件可藉由按键或计时器(Timer)而产生。Step S10: Receive a trigger event. Wherein, the trigger event can be generated by a button or a timer (Timer).
步骤S20:判断触发事件的事件属性。Step S20: Determine the event attribute of the trigger event.
步骤S30:于步骤S20所判断的结果,若事件属性为睡眠事件,先储存对应于睡眠模式的执行资料。Step S30: As a result of judging in step S20, if the event attribute is a sleep event, first store execution data corresponding to the sleep mode.
步骤S32:再关闭对应的电源组的数目。Step S32: turn off the corresponding number of power groups.
步骤S40:于步骤S20所判断的结果,若事件属性为唤醒事件,先开启对应的电源组的数目。Step S40: As a result of judging in step S20, if the event attribute is a wake-up event, turn on the corresponding number of power packs first.
步骤S42:再储存对应于睡眠模式的执行资料。Step S42: Restore the execution data corresponding to the sleep mode.
步骤S50:使电脑进行睡眠模式的切换。Step S50: Make the computer switch between sleep modes.
虽然本发明的技术内容已经以较佳实施例揭露如上,然其并非用以限定本发明,任何熟习此技艺者,在不脱离本发明的精神所作些许的更动与润饰,皆应涵盖于本发明的范畴内,因此本发明的保护范围当视权利要求书所界定者为准。Although the technical content of the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention, and any modifications and modifications made by those skilled in the art without departing from the spirit of the present invention should be included in the present invention. Therefore, the scope of protection of the present invention should be defined by the claims.
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008102132902A CN101655734B (en) | 2008-08-18 | 2008-08-18 | Computer with power-saving state control and its control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008102132902A CN101655734B (en) | 2008-08-18 | 2008-08-18 | Computer with power-saving state control and its control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101655734A CN101655734A (en) | 2010-02-24 |
CN101655734B true CN101655734B (en) | 2011-12-07 |
Family
ID=41710043
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008102132902A Active CN101655734B (en) | 2008-08-18 | 2008-08-18 | Computer with power-saving state control and its control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101655734B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102314212A (en) * | 2010-07-09 | 2012-01-11 | 联想(北京)有限公司 | Control method, control device and terminal |
US20120173902A1 (en) * | 2011-01-05 | 2012-07-05 | Jennifer Greenwood Zawacki | Power management of base and detachable device |
US9276428B2 (en) * | 2011-07-06 | 2016-03-01 | Htc Corporation | System power integrated circuit and architecture, management circuit, power supply arrangement, and portable apparatus |
CN111124518B (en) * | 2019-12-24 | 2024-01-30 | 西安闻泰电子科技有限公司 | System sleep control circuit and control method thereof |
CN112133251B (en) * | 2020-10-30 | 2022-10-14 | 歌尔科技有限公司 | Wearable device display control method and wearable device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1567139A (en) * | 2003-06-27 | 2005-01-19 | 联想(北京)有限公司 | A memory device and storage method thereof |
CN1763714A (en) * | 2004-10-21 | 2006-04-26 | 华硕电脑股份有限公司 | Computer with multi-function power button and method for controlling power conversion of computer |
CN101154131A (en) * | 2006-09-29 | 2008-04-02 | 株式会社东芝 | Information processing apparatus and system state control method |
-
2008
- 2008-08-18 CN CN2008102132902A patent/CN101655734B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1567139A (en) * | 2003-06-27 | 2005-01-19 | 联想(北京)有限公司 | A memory device and storage method thereof |
CN1763714A (en) * | 2004-10-21 | 2006-04-26 | 华硕电脑股份有限公司 | Computer with multi-function power button and method for controlling power conversion of computer |
CN101154131A (en) * | 2006-09-29 | 2008-04-02 | 株式会社东芝 | Information processing apparatus and system state control method |
Also Published As
Publication number | Publication date |
---|---|
CN101655734A (en) | 2010-02-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100488088B1 (en) | The power management method of portable computer | |
CN105225316B (en) | A kind of dormancy of electron key low-power consumption power supply plan and awakening method | |
US7783905B2 (en) | Method for reducing power consumption of a computer system in the working state | |
US7861099B2 (en) | Method and apparatus for user-activity-based dynamic power management and policy creation for mobile platforms | |
TWI622874B (en) | Power efficient processor architecture | |
CN106020721B (en) | Memory device and energy-saving control method thereof | |
US20080091965A1 (en) | Discrete power control of components within a computer system | |
JP5095682B2 (en) | Information processing apparatus, power control method for information processing apparatus, and computer-executable program | |
CN102037428A (en) | Integrated circuit with secondary-memory controller for providing a sleep state for reduced power consumption and method therefor | |
JP2009530709A5 (en) | ||
US20120042184A1 (en) | Computer motherboard capable of reducing power consumption in suspend | |
CN101655734B (en) | Computer with power-saving state control and its control method | |
TWI670602B (en) | Electronic device and method for power-conserving cache memory usage | |
CN106020417B (en) | Memory device and energy-saving control method thereof | |
CN103294641A (en) | Finite state machine for system management | |
CN104331144A (en) | Method for realizing low power consumption of power terminal | |
CN103887570A (en) | Power supply management method, power supply management system and electronic device | |
CN101697095B (en) | Linux embedded system-based dynamic power management method | |
CN103746417A (en) | Low-power-consumption control method and system of battery monitoring chip | |
CN101145036A (en) | Power management structure and management mechanism | |
CN105022469B (en) | Portable electronic device and kernel exchange method thereof | |
US8230250B2 (en) | Computer having power saving state control function and control method thereof | |
CN100552600C (en) | north bridge power management device and method thereof | |
CN101937266B (en) | Wireless network card dynamic power management method based on embedded system | |
CN103488270A (en) | Power saving method and electronic device thereof |
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 |