TWI489260B - Stand-by management method and related management module and computer system - Google Patents
Stand-by management method and related management module and computer system Download PDFInfo
- Publication number
- TWI489260B TWI489260B TW098115668A TW98115668A TWI489260B TW I489260 B TWI489260 B TW I489260B TW 098115668 A TW098115668 A TW 098115668A TW 98115668 A TW98115668 A TW 98115668A TW I489260 B TWI489260 B TW I489260B
- Authority
- TW
- Taiwan
- Prior art keywords
- state
- event
- computer system
- standby
- wake
- Prior art date
Links
Landscapes
- Power Sources (AREA)
Description
本發明係有關於一種待機管理方法及其相關管理裝置以及晶片組,特別是有關於一種基於進階組態與電源界面(Advanced Configuration and Power Interface,ACPI)的S1或S3狀態的待機管理方法及其相關管理裝置以及晶片組。The present invention relates to a standby management method and related management apparatus and chipset thereof, and more particularly to a standby management method based on an S1 or S3 state of an Advanced Configuration and Power Interface (ACPI) and Its associated management device and chipset.
為了省電的目的,一般電腦系統,尤其是可攜式電腦例如筆記型電腦等,均採用進階組態與電源界面(Advanced Configuration and Power Interface,以下簡稱ACPI)標準來管理其電源。ACPI定義了五種狀態,例如:S0、S1、S3、S4和S5五種狀態。電腦系統一般工作於正常狀態(S0狀態),而當電腦系統閒置一段時間之後,將進入較省電的待機狀態S1至S5,其中S3比S1省電,S4比S3省電,依此類推。For the purpose of power saving, general computer systems, especially portable computers such as notebook computers, use the Advanced Configuration and Power Interface (ACPI) standard to manage their power supply. ACPI defines five states, such as S0, S1, S3, S4, and S5. The computer system generally works in the normal state (S0 state), and when the computer system is idle for a period of time, it will enter the more power-saving standby state S1 to S5, where S3 saves power compared to S1, S4 saves power compared to S3, and so on.
目前的電腦系統中的基本輸入輸出系統(basic input/output system,以下簡稱BIOS)可以通知作業系統(OS)進入待機的狀態。使用者可以透過BIOS的設定選擇以S1或S3狀態作為作業系統(OS)的待機狀態。換言之,BIOS可以通知OS進入S1或S3狀態。在S3狀態下,所有裝置的大部分電源供應會被關閉,而在S1狀態下則所有裝置的電源供應會被啟動。因此,當考慮低電源時,使用者通常選擇以S3狀態作為OS的待機狀態。雖然S3狀態比S1狀態更省電,然而相對地,其恢復成正常工作狀態的時間也較長。不管是S1或S3狀態,顯示單元例如LCD的畫面都是被關閉的。The basic input/output system (hereinafter referred to as BIOS) in the current computer system can notify the operating system (OS) to enter the standby state. The user can select the S1 or S3 state as the standby state of the operating system (OS) through the BIOS setting. In other words, the BIOS can notify the OS to enter the S1 or S3 state. In the S3 state, most of the power supply for all devices will be turned off, while in the S1 state, the power supply for all devices will be activated. Therefore, when considering a low power supply, the user usually selects the S3 state as the standby state of the OS. Although the S3 state is more power efficient than the S1 state, the time it takes to return to the normal operating state is relatively long. Regardless of the S1 or S3 state, the screen of the display unit such as the LCD is turned off.
習知地,當電腦系統閒置一段時間後,電腦系統會自動進入預設的待機狀態以節省電源。然而,當系統在S1或S3的待機狀態下時,顯示單元會被關閉,若要回復到正常狀態需要較長的時間,若此時使用者需要觀看螢幕,必須手動地下達恢復指令例如點擊滑鼠,等待系統由待機狀態回到正常狀態,如此將造成使用者的不便。Conventionally, when the computer system is idle for a period of time, the computer system automatically enters a preset standby state to save power. However, when the system is in the standby state of S1 or S3, the display unit will be turned off. If it takes a long time to return to the normal state, if the user needs to watch the screen at this time, the recovery command must be manually performed, for example, click-slip. The mouse waits for the system to return to the normal state from the standby state, which will cause inconvenience to the user.
有鑑於此,本發明提供一種待機管理模組,係應用於一電腦系統中。電腦系統包括一基本輸入輸出系統(BIOS)、一繪圖模組以及一顯示模組且可操作於一工作狀態以及至少一待機狀態。模組包括一計時單元以及一中斷產生單元。計時單元用以於偵測到電腦系統閒置時,開始一計時週期。中斷產生單元用以於計時週期結束時,產生一中斷要求至基本輸入輸出系統以要求準備進入一特定狀態。其中,當處於特定狀態下,電腦系統進入待機狀態,顯示模組對應之一鎖相迴路電路開啟,其他單元對應之鎖相迴路電路關閉,並且繪圖模組係由一儲存單元中一固定區域取得一儲存畫面顯示於顯示模組。In view of this, the present invention provides a standby management module that is applied to a computer system. The computer system includes a basic input/output system (BIOS), a graphics module, and a display module, and is operable in an active state and at least in a standby state. The module includes a timing unit and an interrupt generating unit. The timing unit is used to start a time period when it detects that the computer system is idle. The interrupt generation unit is configured to generate an interrupt request to the basic input/output system at the end of the timing period to request preparation for entering a particular state. Wherein, when in a certain state, the computer system enters a standby state, one of the phase-locked loop circuits corresponding to the display module is turned on, the phase-locked loop circuit corresponding to the other unit is turned off, and the drawing module is obtained by a fixed area in a storage unit. A storage screen is displayed on the display module.
本發明實施例另提供一種待機管理方法,適用於一電腦系統。其中,電腦系統具有至少一基本輸入輸出系統、一繪圖模組、一顯示模組以及一待機管理模組,電腦系統可操作於一工作狀態以及至少一待機狀態。方法包括於工作狀態下,偵測到電腦系統閒置,開始一計時週期。於進入一特定狀態前,產生一中斷要求,以準備要求進入特定狀態。當進入特定狀態時,電腦系統進入待機狀態,並保持與顯示模組對應之一鎖相迴路電路開啟,關閉其他單元對應之鎖相迴路電路。其中,當處於特定狀態下,繪圖模組係由一儲存單元中一固定區域取得一儲存畫面顯示於顯示模組。The embodiment of the invention further provides a standby management method, which is applicable to a computer system. The computer system has at least one basic input/output system, a drawing module, a display module and a standby management module, and the computer system is operable in a working state and at least in a standby state. The method includes detecting that the computer system is idle and starting a time period under working conditions. Before entering a particular state, an interrupt request is generated to prepare for a particular state. When entering a certain state, the computer system enters a standby state, and keeps one phase-locked loop circuit corresponding to the display module turned on, and turns off the phase-locked loop circuit corresponding to other units. Wherein, in a specific state, the drawing module obtains a storage screen displayed on the display module by a fixed area in a storage unit.
本發明實施例另提供一種電腦系統,可操作於一工作狀態以及至少一待機狀態,包括一基本輸入輸出系統、一顯示模組、一繪圖模組以及一待機管理模組。基本輸入輸出系統用以切換電腦系統之一狀態。顯示模組提供一顯示。繪圖模組耦接至顯示模組,用以控制顯示模組。待機管理模組耦接至基本輸入輸出系統以及繪圖模組,用以執行一待機管理,其包括一計時單元以及一中斷產生單元。計時單元用以於偵測到電腦系統閒置時,開始一計時週期。中斷產生單元用以於計時週期結束時,產生一中斷要求至基本輸入輸出系統以要求準備進入一特定狀態。其中,當處於特定狀態下,電腦系統進入待機狀態,顯示模組對應之一鎖相迴路電路開啟,其他單元對應之鎖相迴路電路關閉。其中,當處於特定狀態下,繪圖模組係由一儲存單元中一固定區域取得一儲存畫面顯示於顯示模組。The embodiment of the invention further provides a computer system operable in a working state and at least one standby state, comprising a basic input/output system, a display module, a drawing module and a standby management module. The basic input/output system is used to switch the state of one of the computer systems. The display module provides a display. The drawing module is coupled to the display module for controlling the display module. The standby management module is coupled to the basic input/output system and the drawing module for performing a standby management, and includes a timing unit and an interrupt generating unit. The timing unit is used to start a time period when it detects that the computer system is idle. The interrupt generation unit is configured to generate an interrupt request to the basic input/output system at the end of the timing period to request preparation for entering a particular state. Wherein, when in a certain state, the computer system enters a standby state, one of the display module corresponding to the phase-locked loop circuit is turned on, and the phase-locked loop circuit corresponding to the other unit is turned off. Wherein, in a specific state, the drawing module obtains a storage screen displayed on the display module by a fixed area in a storage unit.
本發明上述方法可以透過程式碼方式收錄於實體媒體中。當程式碼被機器載入且執行時,機器變成用以實行本發明之裝置。The above method of the present invention can be recorded in physical media through code. When the code is loaded and executed by the machine, the machine becomes the means for practicing the invention.
為使本發明之上述和其他目的、特徵、和優點能更明顯易懂,下文特舉出較佳實施例,並配合所附圖式,作詳細說明如下。The above and other objects, features and advantages of the present invention will become more <RTIgt;
第1圖顯示依據本發明實施例之電腦系統100。其中,電腦系統100可操作於一工作狀態(如ACPI標準之S0狀態)以及多個待機狀態(如ACPI標準之S1或S3狀態),只有當操作於工作狀態時,電腦系統100為正常操作的狀態,其餘待機狀態皆處於休眠狀態。如第1圖所示,電腦系統100至少包括一基本輸入輸出系統(以下簡稱BIOS)110、一繪圖模組120、一待機管理模組130以及一顯示模組140。BIOS 110用以依據目前使用情形及中斷要求,設定電腦系統的狀態,例如一工作狀態(S0狀態)或一待機狀態(S1或S3狀態)。繪圖模組120係耦接至顯示模組140,用以執行繪圖相關操作以及控制顯示模組140,並將操作結果顯示於顯示模組140(例如液晶顯示器)上。同時,繪圖模組120持續儲存顯示模組140上的目前操作畫面於一儲存單元(未繪示)的一固定區域(例如一緩衝區)上。換言之,可由此固定區域得到儲存的操作畫面的資訊。Figure 1 shows a computer system 100 in accordance with an embodiment of the present invention. The computer system 100 can operate in a working state (such as the S0 state of the ACPI standard) and a plurality of standby states (such as the S1 or S3 state of the ACPI standard), and the computer system 100 is normally operated only when operating in the working state. Status, the rest of the standby state is in a sleep state. As shown in FIG. 1 , the computer system 100 includes at least a basic input/output system (hereinafter referred to as BIOS) 110 , a drawing module 120 , a standby management module 130 , and a display module 140 . The BIOS 110 is configured to set the state of the computer system according to the current use situation and the interrupt request, such as a working state (S0 state) or a standby state (S1 or S3 state). The graphics module 120 is coupled to the display module 140 for performing graphics related operations and controlling the display module 140, and displaying the operation results on the display module 140 (eg, a liquid crystal display). At the same time, the drawing module 120 continuously stores the current operation screen on the display module 140 on a fixed area (for example, a buffer) of a storage unit (not shown). In other words, the information of the stored operating picture can be obtained from this fixed area.
待機管理模組130係耦接至BIOS 110以及繪圖模組120,用以執行依據本發明之待機管理方法。The standby management module 130 is coupled to the BIOS 110 and the graphics module 120 for performing the standby management method according to the present invention.
待機管理模組130至少包括一計時單元131、一中斷產生單元132、一狀態設定單元133、一阻止進入單元134、一衝突判斷單元135以及一繪圖模式控制單元136。計時單元131係用以偵測電腦系統是否閒置。當計時單元131偵測到電腦系統100閒置時,開始一計時週期。於一實施例中,計時單元131係為一倒數計時器,倒數計時器具有一初始值,此初始值可於BIOS 110中設定。其中,倒數計時器將由初始值倒數至0,且只有在電腦系統閒置時繼續倒數至0。若於計數過程中,計時器131偵測到電腦系統發生任何喚醒事件或動作時,計時器將重置(reset)回初始值重新計數。當計時週期結束(time out),例如倒數至0時,表示電腦系統已閒置夠久。中斷產生單元132於計時單元131計時週期結束,例如倒數至0時,產生一中斷要求至BIOS 110以要求準備進入一特定狀態。The standby management module 130 includes at least a timing unit 131, an interrupt generating unit 132, a state setting unit 133, a blocking access unit 134, a conflict determining unit 135, and a drawing mode control unit 136. The timing unit 131 is used to detect whether the computer system is idle. When the timing unit 131 detects that the computer system 100 is idle, it starts a time period. In one embodiment, the timing unit 131 is a countdown timer, and the countdown timer has an initial value that can be set in the BIOS 110. The countdown timer will count down from the initial value to 0 and continue to count down to 0 when the computer system is idle. If the timer 131 detects any wake event or action in the computer system during the counting process, the timer will reset to the initial value and recount. When the timeout is over, for example, the countdown to 0 means that the computer system has been idle for a long time. The interrupt generation unit 132 generates an interrupt request to the BIOS 110 at the end of the timing period of the timing unit 131, for example, to count down to 0 to request preparation for entering a particular state.
於一實施例中,特定狀態係與ACPI標準的S1狀態相關,其中,當處於特定狀態下:(1)電腦系統進入待機狀態(S1狀態);(2)繪圖模組120處於一快照(snapshot)模式;(3)電腦系統裡除了與顯示模組140相關的鎖相迴路電路(phase lock loop,以下簡稱PLL)保持開啟外,其他的系統PLL都會被關閉;(4)電腦系統裡其餘的周邊裝置均會進入其對應的低功耗省電模式,亦即最省電的模式。當繪圖模組120處於快照模式時,將由儲存單元中上述固定區域取得儲存的操作畫面並持續顯示於顯示模組140上,亦即顯示模組140上將一直顯示儲存的操作畫面。在一實施例中,在該特定狀態下,電腦系統100進入待機狀態S1並且利用顯示模組140顯示最後儲存的操作畫面(last frame)。In an embodiment, the specific state is related to the S1 state of the ACPI standard, wherein, when in a specific state: (1) the computer system enters a standby state (S1 state); (2) the drawing module 120 is in a snapshot (snapshot) (3) In the computer system, except for the phase lock loop (PLL) associated with the display module 140, the other system PLLs will be turned off; (4) the rest of the computer system Peripheral devices will enter their corresponding low-power saving mode, which is the most power-saving mode. When the drawing module 120 is in the snapshot mode, the stored operation screen is obtained from the fixed area in the storage unit and continuously displayed on the display module 140, that is, the stored operation screen is always displayed on the display module 140. In one embodiment, in this particular state, computer system 100 enters standby state S1 and uses display module 140 to display the last stored last frame.
狀態設定單元133係耦接至計時單元131以及繪圖模組120,用以提供對應特定狀態的一狀態設定值,在中斷產生單元132產生一中斷要求後,狀態設定單元133設置(assert)狀態設定值,以使得BIOS準備處理進入特定狀態的中斷要求。BIOS 110會依據狀態設定單元133裡記錄的狀態設定值,判斷是否進入特定狀態。狀態設定值為是否進入特定狀態的一參考值。舉例來說,若狀態設定值等于第一設定值(例如等於1),表示要進入特定狀態。而若狀態設定值不等於第一設定值(例如等於0)時,則表示不進入特定狀態。繪圖模組120將參考此狀態設定值,判斷是否要設定在上述快照模式以及是否關閉與顯示模組140相關的PLL。若狀態設定值為1,繪圖模組120將設定在快照模式且與顯示模組140相關的PLL保持開啟(enable)。換言之,當處於特定狀態時,除了顯示模組140相關的PLL保持開啟之外,其他PLL都會被關閉。繪圖模式控制單元136可用以執行將繪圖模組120設定在快照模式的相關操作。The state setting unit 133 is coupled to the timing unit 131 and the drawing module 120 for providing a state setting value corresponding to a specific state. After the interrupt generating unit 132 generates an interrupt request, the state setting unit 133 sets the state setting. The value is such that the BIOS is ready to handle the interrupt request to enter a particular state. The BIOS 110 determines whether or not to enter a specific state based on the state setting value recorded in the state setting unit 133. The status setting value is a reference value for entering a specific state. For example, if the state set value is equal to the first set value (eg, equal to 1), it indicates that a particular state is to be entered. If the state set value is not equal to the first set value (for example, equal to 0), it means that the specific state is not entered. The drawing module 120 will refer to the state setting value to determine whether to set the snapshot mode and whether to close the PLL associated with the display module 140. If the state setting value is 1, the graphics module 120 will set the snapshot mode and the PLL associated with the display module 140 remains enabled. In other words, when in a particular state, the PLL will be turned off except that the PLL associated with display module 140 remains on. The drawing mode control unit 136 can be used to perform related operations of setting the drawing module 120 in the snapshot mode.
阻止進入單元134具有一暫存器,用以儲存一表示禁止進入特定狀態的阻止進入旗標,例如其初始值為0,當有一預先定義的阻止進入事件發生時,阻止進入單元134設置阻止進入旗標(例如阻止進入旗標被設置為1)以禁止進入特定狀態。當BIOS 110接收到中斷要求要進入特定狀態之前,將先依據阻止進入單元134中的阻止進入旗標,決定是否進入特定狀態。當阻止進入旗標被設置時,表示有阻止進入事件發生,BIOS 110將忽略中斷要求,恢復電腦系統的一工作狀態(例如恢復為S0狀態)。當阻止進入旗標未被設置時,BIOS 110將依據進入特定狀態的中斷要求,致使電腦系統100進入待機狀態S1並且利用顯示模組140顯示最後儲存的操作畫面。The block entry unit 134 has a register for storing a block entry flag indicating that access to a particular state is prohibited, for example, its initial value is 0. When a predefined block entry event occurs, the block entry unit 134 is set to block entry. The flag (for example, the block entry flag is set to 1) to prohibit entry into a particular state. Before the BIOS 110 receives an interrupt request to enter a particular state, it will first decide whether to enter a particular state based on the block entry flag in the block entry unit 134. When the block entry flag is set, indicating that a blocking entry event has occurred, the BIOS 110 will ignore the interrupt request and resume a working state of the computer system (eg, return to the S0 state). When the block entry flag is not set, the BIOS 110 will cause the computer system 100 to enter the standby state S1 and display the last stored operation screen by the display module 140 in accordance with the interrupt request to enter the specific state.
衝突判斷單元135係用以於特定狀態下,判斷接收的喚醒事件(wake up event)是否是既定的喚醒事件,用以避免衝突發生。舉例來說,既定喚醒事件係可由一切換至另一待機狀態例如切換至S3狀態之要求所觸發,例如係由蓋上一筆記型電腦的動作所觸發或由按壓電腦系統100上的一特定按鈕如電源按鈕或睡眠按鈕所觸發,但不限於此。當有一既定喚醒事件發生時,衝突判斷單元135會將既定喚醒事件延遲一既定時間,並發出一假喚醒事件(false wake up event)至BIOS 110,等到BIOS 110處理完假喚醒事件之後,再發出既定喚醒事件至BIOS 110。其中,假喚醒事件可以係一標準的S1狀態下的喚醒事件,例如按壓電腦系統100上的任意鍵事件。因此,衝突判斷單元135可發出一假喚醒事件例如按壓任意鍵的事件至BIOS 110,使其由特定狀態恢復至工作狀態S0。The conflict judging unit 135 is configured to determine whether the received wake up event is a predetermined wake event in a specific state, so as to avoid a conflict. For example, a given wake-up event may be triggered by a request to switch to another standby state, such as switching to the S3 state, such as triggered by an action of a laptop or by pressing a particular button on computer system 100. It is triggered by a power button or a sleep button, but is not limited to this. When a predetermined wake-up event occurs, the conflict judging unit 135 delays the predetermined wake-up event by a predetermined time and issues a false wake up event to the BIOS 110, and waits until the BIOS 110 processes the fake wake-up event. The intended wake event is to BIOS 110. The fake wake-up event may be a wake-up event in a standard S1 state, such as pressing any key event on the computer system 100. Therefore, the conflict determination unit 135 can issue a false wake-up event, such as pressing an event of any key, to the BIOS 110 to restore it from the specific state to the active state S0.
第2圖顯示一依據本發明實施例之待機管理方法之流程圖。請同時參照第1圖,於本實施例中,假設電腦系統100係為一筆記型電腦且工作於工作狀態(S0狀態),計時單元131係為一倒數計時器,且其具有一初始值。當電腦系統100處於特定狀態下:(1)電腦系統進入待機狀態(S1狀態);(2)繪圖模組120處於一快照模式;(3)電腦系統裡除了與顯示模組140相關的PLL保持開啟外,其他的系統PLL都會被關閉;(4)電腦系統裡其餘的周邊裝置均會進入其對應的低功耗省電模式,亦即最省電的模式。Figure 2 shows a flow chart of a standby management method in accordance with an embodiment of the present invention. Referring to FIG. 1 at the same time, in the embodiment, it is assumed that the computer system 100 is a notebook computer and operates in an active state (S0 state), and the timing unit 131 is a countdown timer and has an initial value. When the computer system 100 is in a specific state: (1) the computer system enters a standby state (S1 state); (2) the drawing module 120 is in a snapshot mode; (3) the PLL remains in the computer system in addition to the display module 140 When turned on, other system PLLs will be turned off; (4) The remaining peripheral devices in the computer system will enter their corresponding low-power saving mode, which is the most power-saving mode.
首先,如步驟S210,於工作狀態下,電腦系統沒被使用而開始閒置,於是待機管理模組130偵測到電腦系統閒置,利用計時單元131開始一計時週期。當電腦系統持續閒置,在一實施例中,計時器由初始值倒數至0,在步驟S220,如計時器倒數到0,計時週期結束(time out),表示閒置夠久。於是,繪圖模組120將被觸發以進入快照模式。此時,電腦系統的所有裝置的PLL電路仍是開啟的。於是,待機管理模組130利用繪圖模式控制單元136將繪圖模組120設定在快照模式。接著,如步驟S230,判斷計時器是否被重置,在一實施例中,計時器仍然為0,代表未被重置。當計時器被重置時(步驟S230的是),回到步驟S210,重新開始一計時週期。當計時器未被重置時(步驟S230的否),如步驟S240,準備進入特定狀態,中斷產生單元132產生一中斷要求至BIOS 110以要求準備進入一特定狀態。First, in step S210, in the working state, the computer system is not used and starts to be idle, so that the standby management module 130 detects that the computer system is idle, and uses the timing unit 131 to start a time period. When the computer system continues to be idle, in one embodiment, the timer is counted down from the initial value to 0. In step S220, if the timer counts down to 0, the timeout period expires, indicating that the idle time is long enough. Thus, the graphics module 120 will be triggered to enter the snapshot mode. At this point, the PLL circuit of all devices of the computer system is still turned on. Then, the standby management module 130 sets the drawing module 120 in the snapshot mode by using the drawing mode control unit 136. Next, in step S230, it is determined whether the timer is reset. In one embodiment, the timer is still 0, indicating that the timer has not been reset. When the timer is reset (YES in step S230), the flow returns to step S210 to restart a counting period. When the timer has not been reset (NO in step S230), in step S240, ready to enter a specific state, the interrupt generating unit 132 generates an interrupt request to the BIOS 110 to request preparation for entering a specific state.
如步驟S250,待機管理模組130設置狀態設定單元133的狀態設定值,在一實施例中,設置狀態設定值為1,同時BIOS 110準備處理進入特定狀態的中斷要求。請注意,若有任何預先定義的阻止進入事件發生時,阻止進入單元134設置一阻止進入旗標,在一實施例中,設置阻止進入旗標為1,表示禁止進入特定狀態。因此,當BIOS 110接收到中斷要求要進入特定狀態之前,將先依據阻止進入單元134中的阻止進入旗標,決定是否進入特定狀態。於是,如步驟S260,判斷是否有任何阻止進入事件發生。若是,如步驟S270,阻止進入單元134設置阻止進入旗標,表示禁止進入特定狀態。由於阻止進入旗標係被設置,表示有阻止進入事件發生,BIOS 110將忽略中斷要求,恢復電腦系統的工作狀態(S0狀態),流程結束。因此,電腦系統仍處於工作狀態(S0狀態),系統所有的鎖相迴路電路仍為開啟狀態。In step S250, the standby management module 130 sets the state setting value of the state setting unit 133. In one embodiment, the state setting value is set to 1, and the BIOS 110 is ready to process the interrupt request to enter the specific state. Note that if any of the predefined blocked entry events occur, the block entry unit 134 sets a block entry flag. In one embodiment, the set block entry flag is set to 1, indicating that entry into the particular state is prohibited. Therefore, before the BIOS 110 receives an interrupt request to enter a particular state, it will first decide whether to enter a particular state based on the block entry flag in the block entry unit 134. Then, as in step S260, it is judged whether any blocking entry event has occurred. If so, in step S270, the block entry unit 134 sets a block entry flag, indicating that entry into a particular state is prohibited. Since the blocking entry flag is set, indicating that the blocking entry event occurs, the BIOS 110 will ignore the interrupt request and resume the working state of the computer system (S0 state), and the process ends. Therefore, the computer system is still in the working state (S0 state), and all the phase-locked loop circuits of the system are still open.
反之,若沒有任何阻止進入事件發生(步驟S260的否),阻止進入單元134中的阻止進入旗標未被設置,如步驟S280,BIOS110將依據進入特定狀態的中斷要求,致使電腦系統100進入待機狀態S1並且利用顯示模組140顯示儲存的操作畫面(例如最後儲存的操作畫面)。此時,電腦系統只保留顯示模組140相關的PLL開啟,其他PLL都會被關閉,且電腦系統裡其餘的周邊裝置均會進入其對應的低功耗省電模式。On the other hand, if there is no blocking entry event (NO in step S260), the blocking entry flag in the blocking access unit 134 is not set. In step S280, the BIOS 110 will cause the computer system 100 to enter standby according to the interrupt request to enter the specific state. State S1 and display of the stored operation screen (e.g., the last stored operation screen) is displayed by display module 140. At this time, the computer system only keeps the PLL associated with the display module 140 open, the other PLLs are turned off, and the remaining peripheral devices in the computer system will enter their corresponding low power consumption mode.
於步驟S280中,由於顯示模組140相關的PLL仍然開啟且繪圖模組120處於一快照模式,繪圖模組120將由儲存單元中固定區域取得儲存的操作畫面並持續顯示儲存的操作畫面於顯示模組140上,同時系統進入待機狀態。在一實施例中,顯示模組140上將一直顯示最後儲存的操作畫面。In step S280, since the PLL related to the display module 140 is still on and the drawing module 120 is in a snapshot mode, the drawing module 120 will obtain the stored operation screen from the fixed area in the storage unit and continuously display the stored operation screen in the display mode. On group 140, the system enters the standby state at the same time. In an embodiment, the last stored operation screen will always be displayed on the display module 140.
當電腦系統進入特定狀態後,可利用一喚醒事件將系統的狀態由特定狀態恢復回工作狀態。一般而言,當某些既定喚醒事件被觸發時,電腦系統會進入更深層的睡眠狀態(例如S3狀態),然而依據本發明,當既定喚醒事件被觸發時,可能會誤認為是一般喚醒事件而醒來,此時會使使用者感到困惑。因此,必須對這些事件進行額外的處理。舉例來說,既定喚醒事件係由蓋上筆記型電腦的動作或由按壓特定按鈕例如電源或睡眠按鈕的動作所觸發,但不限於此。When the computer system enters a specific state, a wake-up event can be used to restore the state of the system from a specific state back to a working state. In general, when certain established wake-up events are triggered, the computer system enters a deeper sleep state (eg, the S3 state). However, according to the present invention, when a predetermined wake-up event is triggered, it may be mistaken for a general wake-up event. Wake up, which will confuse the user. Therefore, these events must be treated extra. For example, a given wake-up event is triggered by an action of a laptop or by an action of pressing a particular button, such as a power or sleep button, but is not limited thereto.
第3圖顯示另一依據本發明實施例之電源管理方法之流程圖。假設此時電腦系統100係於特定狀態下。如步驟S310,先判斷是否偵測到任何喚醒事件發生。當沒有偵測到任何喚醒事件發生,便持續步驟S310的偵測。當偵測到任何喚醒事件發生時,如步驟S320,接著判斷偵測到的喚醒事件是否為既定喚醒事件。舉例來說,既定喚醒事件係由蓋上筆記型電腦的動作或由按壓特定按鈕例如電源或睡眠按鈕的動作所觸發,但不限於此。Figure 3 shows a flow chart of another power management method in accordance with an embodiment of the present invention. Assume that the computer system 100 is now in a particular state. In step S310, it is first determined whether any wake-up event is detected. When no wake-up event is detected, the detection of step S310 is continued. When any wake-up event is detected, as in step S320, it is then determined whether the detected wake-up event is a predetermined wake-up event. For example, a given wake-up event is triggered by an action of a laptop or by an action of pressing a particular button, such as a power or sleep button, but is not limited thereto.
若偵測到的喚醒事件係為既定喚醒事件其中一者(例如按壓電源按鈕事件)時(步驟S320的是),如步驟S330,電腦系統從特定狀態回到工作狀態(S0狀態),衝突判斷單元135將既定喚醒事件延遲一既定時間,並發出一假喚醒事件至BIOS 110。舉例來說,假喚醒事件可以係一標準的S1狀態下的喚醒事件,例如按壓電腦系統100上的任意鍵事件。於是,如步驟S340,BIOS 110將接收到假喚醒事件,並處理接收到的假喚醒事件,同時清除狀態設定單元133裡的狀態設定值,例如將所有狀態設定值清除為0。在BIOS 110處理完假喚醒事件後,如步驟S350,衝突判斷單元135再發出真正的既定喚醒事件至BIOS 110。於是,如步驟S360,BIOS 110接收後續發出的真正的既定喚醒事件,再執行與既定喚醒事件相關的正常操作,例如將電腦系統切換為另一待機狀態(如S3狀態)。If the detected wakeup event is one of the predetermined wakeup events (for example, pressing the power button event) (YES in step S320), in step S330, the computer system returns from the specific state to the working state (S0 state), and the conflict is judged. Unit 135 delays the scheduled wake event by a predetermined time and issues a fake wake event to BIOS 110. For example, a fake wake-up event can be a wake-up event in a standard S1 state, such as pressing any key event on computer system 100. Then, in step S340, the BIOS 110 will receive the fake wake-up event and process the received false wake-up event while clearing the state set value in the state setting unit 133, for example, clearing all state set values to zero. After the BIOS 110 processes the fake wake-up event, in step S350, the conflict determination unit 135 re-issues a true predetermined wake-up event to the BIOS 110. Then, in step S360, the BIOS 110 receives the subsequent actual wake-up event that is subsequently issued, and then performs normal operations related to the predetermined wake-up event, such as switching the computer system to another standby state (such as the S3 state).
當喚醒事件並非既定喚醒事件時(步驟S320的否),如步驟S370,電腦系統從特定狀態返回到工作狀態(S0狀態)。接著,如步驟S380,BIOS執行相應喚醒事件的操作,並清除狀態設定單元133裡的狀態設定值,以供後續使用。When the wakeup event is not a predetermined wakeup event (NO in step S320), in step S370, the computer system returns from the specific state to the active state (S0 state). Next, in step S380, the BIOS performs an operation of the corresponding wake-up event, and clears the state setting value in the state setting unit 133 for subsequent use.
綜上所述,依據本發明之待機管理方法反相關之管理模組以及電腦系統,可以自動於系統閒置超過一段預設時間後進入一特定狀態,以關閉除了顯示單元顯示所需的必要電路之外的硬體電路或將其設定在低功耗省電狀態,並可同時持續顯示最後的畫面於顯示螢幕上,整個過程係由硬體電路自動判斷,無須使用者的介入,不僅可達到省電的目的,也可以增加使用者使用上的方便性。In summary, the anti-correlation management module and the computer system according to the standby management method of the present invention can automatically enter a specific state after the system is idle for more than a predetermined period of time, so as to turn off the necessary circuits required for display unit display. The external hardware circuit is set to a low power consumption state, and the last screen can be continuously displayed on the display screen at the same time. The whole process is automatically judged by the hardware circuit, and the user can be reached without the intervention of the user. The purpose of electricity can also increase the convenience of the user.
本發明之方法,或特定型態或其部份,可以以程式碼的型態包含於實體媒體,如軟碟、光碟片、硬碟、或是任何其他機器可讀取(如電腦可讀取)儲存媒體,其中,當程式碼被機器,如電腦載入且執行時,此機器變成用以參與本發明之裝置。本發明之方法與裝置也可以以程式碼型態透過一些傳送媒體,如電線或電纜、光纖、或是任何傳輸型態進行傳送,其中,當程式碼被機器,如電腦接收、載入且執行時,此機器變成用以參與本發明之裝置。當在一般用途處理器實作時,程式碼結合處理器提供一操作類似於應用特定邏輯電路之獨特裝置。The method of the present invention, or a specific type or part thereof, may be included in a physical medium such as a floppy disk, a compact disc, a hard disk, or any other machine (for example, a computer readable computer). A storage medium in which, when the code is loaded and executed by a machine, such as a computer, the machine becomes a device for participating in the present invention. The method and apparatus of the present invention can also be transmitted in a code format through some transmission medium such as a wire or cable, an optical fiber, or any transmission type, wherein the code is received, loaded, and executed by a machine such as a computer. At this time, the machine becomes a device for participating in the present invention. When implemented in a general purpose processor, the code in conjunction with the processor provides a unique means of operation similar to application specific logic.
雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何熟悉此項技藝者,在不脫離本發明之精神和範圍內,當可做些許更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。While the present invention has been described in its preferred embodiments, the present invention is not intended to limit the invention, and the present invention may be modified and modified without departing from the spirit and scope of the invention. The scope of protection is subject to the definition of the scope of the patent application.
100...電腦系統100. . . computer system
110...BIOS110. . . BIOS
120...繪圖模組120. . . Drawing module
130...待機管理模組130. . . Standby management module
131...計時單元131. . . Timing unit
132...中斷產生單元132. . . Interrupt generation unit
133...狀態設定單元133. . . Status setting unit
134...阻止進入單元134. . . Block access unit
135...衝突判斷單元135. . . Conflict judgment unit
136...繪圖模式控制單元136. . . Drawing mode control unit
140...顯示模組140. . . Display module
S210-S280...執行步驟S210-S280. . . Steps
S310-S380...執行步驟S310-S380. . . Steps
第1圖係顯示一依據本發明實施例之電腦系統。Figure 1 shows a computer system in accordance with an embodiment of the present invention.
第2圖係顯示一依據本發明實施例之待機管理方法之流程圖。Figure 2 is a flow chart showing a standby management method in accordance with an embodiment of the present invention.
第3圖係顯示另一依據本發明實施例之待機管理方法之流程圖。Figure 3 is a flow chart showing another standby management method in accordance with an embodiment of the present invention.
S210-S280...執行步驟。S210-S280. . . Steps.
Claims (22)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW098115668A TWI489260B (en) | 2009-05-12 | 2009-05-12 | Stand-by management method and related management module and computer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW098115668A TWI489260B (en) | 2009-05-12 | 2009-05-12 | Stand-by management method and related management module and computer system |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201040709A TW201040709A (en) | 2010-11-16 |
TWI489260B true TWI489260B (en) | 2015-06-21 |
Family
ID=44996041
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW098115668A TWI489260B (en) | 2009-05-12 | 2009-05-12 | Stand-by management method and related management module and computer system |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI489260B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102799498A (en) * | 2011-05-27 | 2012-11-28 | 鸿富锦精密工业(深圳)有限公司 | Method and system for rapidly switching computer states |
CN105589545A (en) * | 2014-11-18 | 2016-05-18 | 鸿富锦精密工业(武汉)有限公司 | Mainboard and computer host state control system including mainbaord |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200601026A (en) * | 2004-06-29 | 2006-01-01 | Asustek Comp Inc | A computer system and method for transforming the computer status between a working status and a suspend-to-ram status |
TW200611191A (en) * | 2004-06-11 | 2006-04-01 | Ntt Docomo Inc | Mobile communication terminal and data access control method |
TW200719134A (en) * | 2005-11-15 | 2007-05-16 | Mitac Int Corp | PDA power saving method |
-
2009
- 2009-05-12 TW TW098115668A patent/TWI489260B/en active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200611191A (en) * | 2004-06-11 | 2006-04-01 | Ntt Docomo Inc | Mobile communication terminal and data access control method |
TW200601026A (en) * | 2004-06-29 | 2006-01-01 | Asustek Comp Inc | A computer system and method for transforming the computer status between a working status and a suspend-to-ram status |
TW200719134A (en) * | 2005-11-15 | 2007-05-16 | Mitac Int Corp | PDA power saving method |
Also Published As
Publication number | Publication date |
---|---|
TW201040709A (en) | 2010-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8522054B2 (en) | Stand-by mode management method for use in a stand-by mode of a computer system with stand-by mode management module | |
JP5410109B2 (en) | Power control system and power control method | |
US8656196B2 (en) | Hardware automatic performance state transitions in system on processor sleep and wake events | |
US9152205B2 (en) | Mechanism for facilitating faster suspend/resume operations in computing systems | |
US8108704B2 (en) | Method for automatically switching power states | |
TWI475368B (en) | Power control system and method thereof | |
TW201135446A (en) | Power management states | |
US11216053B2 (en) | Systems, apparatus, and methods for transitioning between multiple operating states | |
US10394307B2 (en) | Information processing apparatus, information processing method, and program | |
US20160117269A1 (en) | System and method for providing universal serial bus link power management policies in a processor environment | |
US8769326B2 (en) | Computer system and operation method for changing operation state by capacitive button group | |
US9672048B2 (en) | Electronic device and method for waking up operating system thereof | |
US20130222833A1 (en) | Image forming apparatus, image forming apparatus control method, and storage medium | |
TWI489260B (en) | Stand-by management method and related management module and computer system | |
CN101281416A (en) | Method for ensuring system closedown completion | |
US20060080560A1 (en) | Idling a processor pipeline | |
US9207742B2 (en) | Power saving operating method for an electronic device by disabling a connection port to a touch device before the touch device enters power-saving mode | |
JP5783348B2 (en) | Control device, control program, and image forming apparatus | |
JP2018092658A (en) | Built-in controller chip, system, and device | |
JP6691312B1 (en) | Information processing system, information processing device, and program | |
TWI386816B (en) | System with automatic switch machine scheduling and automatic switching machine scheduling control method | |
JP2012038247A (en) | Information processing unit and program | |
TW201040705A (en) | Power management method and related chipset and computer system | |
KR20060056643A (en) | Method and apparatus for power management on computer system | |
TW201428474A (en) | Power management methods and systems using the same |