TW594466B - Power management method for microprocessor - Google Patents

Power management method for microprocessor Download PDF

Info

Publication number
TW594466B
TW594466B TW91112537A TW91112537A TW594466B TW 594466 B TW594466 B TW 594466B TW 91112537 A TW91112537 A TW 91112537A TW 91112537 A TW91112537 A TW 91112537A TW 594466 B TW594466 B TW 594466B
Authority
TW
Taiwan
Prior art keywords
microprocessor
scope
patent application
item
sleep mode
Prior art date
Application number
TW91112537A
Other languages
Chinese (zh)
Inventor
Hung-Cheng Tsau
Jr-Guang Jou
Original Assignee
Micro Star Int Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Micro Star Int Co Ltd filed Critical Micro Star Int Co Ltd
Priority to TW91112537A priority Critical patent/TW594466B/en
Application granted granted Critical
Publication of TW594466B publication Critical patent/TW594466B/en

Links

Landscapes

  • Power Sources (AREA)

Abstract

The present invention provides a power management method for microprocessor, which is applied in a computer platform with the microprocessor and the system control chipset supporting the advanced power management (APM). The method uses a software to control the system control chipset when the microprocessor is at the idle state, and drives the microprocessor into a sleeping mode, and further controls the microprocessor to cut off the system bus to achieve the effect of effectively saving the power consumption and reducing the temperature.

Description

594466 A7 B7 五、發明説明-)【發明領域】 本發明是有關於一種電源管理方法,特別是指一種在 電腦平台中以軟體與韌體並行的微處理器的電源管理方 法。 5【習知技藝說明】 電源管理概念的興起與筆記型電腦的發展有密切相 關’因為早期筆記型電腦的最重要的電力來源電池製造技 術不良而使儲電量有限,使得如何節省電源以延長筆記型 電腦使用時間成為廠商的研發重點。所以,在1 g g 2年英代 爾(INTEL)與微軟(Microsoft)提出先進電源管理介面 (Advanced Power Management,APM),以使電腦於一段時 間沒有操作時,透過基本輸入輸出系統(Basic Input/Output System,BIOS)的協助而把周邊裝置(例如硬 碟、顯示器、鍵盤、滑鼠)之電源關掉並使微處理器進入節 電模式(即位於低電率狀態),以使耗電量降低。此先進電 源管理介面最早由筆記型電腦實作,最後並推廣至桌上型 電腦。 在先進電源官理介面係將控制周邊裝置與微處理器作 電源控制與管理的指令集儲存於基本輸入輸出系統,而後 欲作電源控制時,再由基本輸入輸出系統呼叫或由作業系 、,呼叫基本輸入輸出系統。所以,先進電源管理介面主要 是由基本輸入輸出系統負責。 此外,隨著微處理H的X作頻率愈來愈高,使運作溫 度亦隨之攀高’形成微處理器可能燒毀之高溫,此時,如 10 15 20594466 A7 B7 V. Description of the Invention-) [Field of the Invention] The present invention relates to a power management method, in particular to a power management method of a microprocessor in which software and firmware are parallelized in a computer platform. 5 [Know-how] The rise of the concept of power management is closely related to the development of notebook computers. 'Because of the poor battery manufacturing technology of the most important power source of early notebook computers, the amount of stored power is limited, so how to save power to extend notes Model computer use time has become the focus of manufacturers' research and development. Therefore, in 1 gg and 2 years, INTEL and Microsoft proposed Advanced Power Management (APM) so that when the computer was not operated for a period of time, the basic input / output system (Basic Input / Output System (BIOS) to turn off power to peripheral devices (such as hard disks, monitors, keyboards, and mice) and put the microprocessor into a power-saving mode (that is, in a low-power state) to reduce power consumption. . This advanced power management interface was first implemented by notebook computers and finally extended to desktop computers. In the advanced power management interface, the command set for controlling peripheral devices and microprocessors for power control and management is stored in the basic input and output system, and then when power control is desired, the basic input and output system is called or the operation department, Call basic input output system. Therefore, the advanced power management interface is mainly responsible for the basic input and output system. In addition, as the X operation frequency of the micro-processing H is getting higher and higher, the operating temperature will also increase accordingly ', forming a high temperature that the microprocessor may burn. At this time, such as 10 15 20

(請先閲讀背面之注意事項再填寫本頁) -»- 、可— 五、發明説明g ) 何使微處理器於高溫下 散熱風扇運作外,亦有以大重點。目前除了搭配 器於溫度過高.時適時降π 2讀溫軟體來控制微處理 降。由於電子元件消耗功率與散發 率,佶苴私^ 所以右能降低電子元件被供給功 羊使其散發熱能亦可隨之隊 先造雷调势$人 降低。據此,降溫軟體係根據 10 15 20 (請先閲讀背面之注意事項再填窝本頁) 入"二1"面來叹叶’主要是在溫度過高時,基本輸 理糸統偵測到此異常時,則送出降溫指令mn至微處 里益’而-旦微處理器接到此降溫指令,則會進入節電模 式,使其破位於低功率狀態下,而達到降溫之功效。 然而,由於先進電源管理介面將電源管理全部交予基 ^入輸“統,所以其定義的功能較為侷限,僅能做到 «又疋某凌置(例如顯示器、硬碟、微處理器等等)未操作幾 讀後進入節電模式並作簡單的監控,電源節省並不是最 n。因為實際開機後,真正主導、掌控整部電腦是由作業 系統實際接觸周邊裝置的調度,因此廠商們認為電源管理 的作業中心應由基本輸入輸出系統轉移至作業系統,始能 發揮到最高電源管理效率。所以、,在1999年發表新一代的 電源/組態控制介面,即為先進架構電源控制介面 (Advanced Configuration and Power Interface , AGPI)。 而先進架構電源控制介面相當於一套極複雜的新控制語言 /介面協定,使周邊裝置與作業系統都瞭解的新溝通模式, 並分別針對各種周邊組件定義四至五種電源切換模式,冗 然不同於以往先進電源管理介面,致使廠商需針對調整與 變更各種電腦零組件設計以符合先進架構電源控制介面, 第5頁 本紙張尺度適用中國國家標準(CNS) A4規格(210X297公釐) 366 594466 A7 I— ________^_ 五、發明説明g ) 並且零件間相互搭配整合成為目前廠商努力的重點。 而以微處理器來說,其省電模式依省電不同程度而增 加,例如休息(Ha It)模式(C1)、休眠(stop Grant)模式(C2) 及深眠模式(C3),而以往先進電源管理介面的節電模式僅 5疋等同於休息模式(C1 ),使得僅控制微處理器至休息模式 的降溫軟體仍有改善空間,而且由於電源管理操作介面的 改變,使得以往針對先進電源管理介面設計的降溫軟體可 能不再適用於先進架構電源控制介面。 目前許多廠商紛紛推出符合先進架構電源控制介面之 10產1^,因此如何整合這些不同廠商的硬體架構來作電源管 理成為程式設計工程師的努力方向。 再者,由於微處理器的執行效率的大幅提昇,使其大 冑分時間(例如百分之九十以上的時間)都位於閒置狀態 (亦即未進行資料處理的狀態),因此若能於微處理器間置 15㈣:,令其進入省電模式,不僅可節省電源亦能降低微 處理器之溫度。而市面上亦有關於此方面控制之軟體,其 係於微處理器閒置時輸出” HLT”指令使其進入省電狀態,以 冑微處理器溫度可降低(例如5至10度)。然而,由於此軟 體是直接輸出,,HLT,,指令,,所以僅能使微處理器進入休牧模 20 <而仍無法操作微處理器進入更深度的省電模式中(❹、 C2、C3),致使其省電與降溫效果仍有改善空間。 因此’若能使微處理器進入更深度的省電模式中(例如 休眠模式),則更能降低微處理器之溫度與節省電源消耗。 ㉟依照先進架構電源控制介面’在省電模式中,微處理器 L _ _ 第6頁 本紙張尺度翻巾關緖) A4規格(210X297公釐) " ------(Please read the precautions on the back before filling out this page)-»-, 可 — V. Description of the invention g) How to make the microprocessor operate at high temperature The cooling fan also has a major focus. At present, in addition to matching the device when the temperature is too high. Timely π 2 reading software to control the micro-processing drop. Due to the power consumption and dissipation rate of the electronic components, it is possible to reduce the power consumption of the electronic components to reduce the heat generated by the electronic components. According to this, the cooling system is based on 10 15 20 (please read the precautions on the back before filling in this page). Enter "two 1" on the surface to sigh leaves, mainly when the temperature is too high, the basic transmission system detection When this is abnormal, the cooling instruction mn will be sent to the micro-level, and once the microprocessor receives this cooling instruction, it will enter the power saving mode, which will break it into a low power state and achieve the cooling effect. However, because the advanced power management interface transfers all power management to the system, its defined functions are more limited, and it can only achieve «something like a display, hard disk, microprocessor, etc. ) After a few readings, it enters the power saving mode and performs simple monitoring. The power saving is not the most n. After the actual boot, the entire computer is actually dominated and controlled by the operating system's actual contact with the peripheral device's scheduling, so the manufacturers believe that the power supply The operating center to be managed should be transferred from the basic input output system to the operating system to achieve the highest power management efficiency. Therefore, a new generation of power / configuration control interface was released in 1999, which is the advanced architecture power control interface (Advanced Configuration and Power Interface (AGPI). And the advanced architecture power control interface is equivalent to a set of extremely complex new control language / interface protocols, enabling new devices and operating systems to understand the new communication mode, and defining four to five for various peripheral components. This kind of power switching mode is redundantly different from the previous advanced power management interface Vendors need to adjust and change the design of various computer components to comply with the advanced architecture power control interface. Page 5 This paper applies the Chinese National Standard (CNS) A4 specification (210X297 mm) 366 594466 A7 I— ________ ^ _ V. Invention Note g) and the integration of parts with each other has become the focus of current manufacturers' efforts. As for the microprocessor, its power saving mode increases according to different degrees of power saving, such as the rest (Ha It) mode (C1), sleep (stop) Grant) mode (C2) and deep sleep mode (C3), while the previous power saving interface of the advanced power management interface is only 5 疋 equivalent to the rest mode (C1), so there is still room for improvement in the cooling software that only controls the microprocessor to the rest mode Moreover, due to the change of the power management operation interface, the cooling software designed for the advanced power management interface may no longer be suitable for the advanced architecture power control interface. At present, many manufacturers have launched 10 products 1 ^ that comply with the advanced architecture power control interface, so How to integrate the hardware architectures of these different manufacturers for power management Furthermore, because the execution efficiency of the microprocessor has been greatly improved, most of its time (for example, more than 90% of the time) is in the idle state (that is, the state without data processing). Microprocessor interposition 15㈣: Putting it into power-saving mode can not only save power but also reduce the temperature of the microprocessor. There are also softwares on the market that control this, which is output when the microprocessor is idle. " "HLT" instruction puts it into a power-saving state, so that the temperature of the microprocessor can be reduced (for example, 5 to 10 degrees). However, because this software is a direct output, HLT ,, instruction, it can only make the microprocessor enter Humou Model 20 < while still unable to operate the microprocessor into deeper power saving modes (❹, C2, C3), there is still room for improvement in power saving and cooling effects. Therefore, if the microprocessor can be put into a deeper power saving mode (such as the sleep mode), the temperature of the microprocessor can be further reduced and the power consumption can be saved. ㉟According to the advanced architecture power control interface ’In the power saving mode, the microprocessor L _ _ page 6 This paper size is turned over) A4 specification (210X297 mm) " ------

1!^^---- (請先閲讀背面之注意事項再填寫本頁) 、一叮| 367 五、發明説明) 能於有中斷(interrupt)訊號輸入時能迅速進行訊號處理 的模式為休息模式(C1)與休眠模式(C2)。所以本案發明人 思及若能使微處理器於間置狀態進入休眠模式將可達更有 =控制電力消耗與降溫之功效,然而在先進架構電源控制 5介面不再是透過基本輸入輸出系統作電源控制,所以無法 像以往軟體操作基本輸入輸出系統的方式來控制,而尋找 另外其他方法來控制。 【發明概要】 因此,本發明之一目的,乃在提供一種更能節省電力 10消耗之微處理器的電源管理方法。 本發明之另一目的,乃在提供一種更能有效降低微處 理器溫度之微處理器的電源管理方法。 於是,本發明之一種微處理器的電源管理方法,係受 使用者控制於一電腦平台中執行,該電腦平台包含一電腦 15主機與一顯示器,而該電腦主機中具有一主機板與一位於 δ亥主機板上的微處理器’且該主機板具有一系統控制晶片 組’以負責該電腦平台内的元件相互連接與溝通,該方法 包括以下步驟: Α)判斷該電腦平台之元件是否符合先進架構電源介 20 面; Β)若符合時’判斷該微處理器是否位於一閒置狀熊· 及 … C)若該微處理器於該閒置狀態,令該系統控制晶片組 使該微處理器進入一休眠模式中,以使該微處理器之一系 ______第 7 頁 本紙張尺度適用中國國家標準(CNS) Α4規格(210X297公釐) 594466 A7 __ B7 五、發明説明fe ) 統匯流排不再連接該系統控制晶片並降低供應至該微處理 器之電源功率。 【圖式之簡單說明】 本發明之其他特徵及優點,在以下配合參考圖式之較 5 佳實施例的詳細說明中,將可清楚的明白,在圖式中: 第一圖係一種主機板之架構示意圖。 第二圖係本發明之一較佳實施例的方塊示意圖。 第三圖係實現本發明之一較佳實施例的電腦平台的示 意圖。 10 第四圖係本發明之一較佳實施例之流程圖。 第五圖係本發明之較佳實施例於視窗中顯示的使用者 輸入介面的一範例。 【較佳實施例之詳細說明】 由於本發明搭配現有的硬體架構來控制微處理器之電 15源管理,所以在下文中首先對微處理器與相關構件的硬體 架構作簡介,以便於讓本案更容易被瞭解。 如第一圖,係顯示一種主機板丨與一微處理器2的結 合示意圖。微處理器2可視為整部電腦之中樞,而大部分 工作(task)、中斷處理或事件(event)都需透過微處理器2 2〇運算或處理,才能相互傳遞正確的資料或訊號。 而電腦的核心元件除了微處理器2外,就屬主機板、。 主機板1的主要用途在於作為各硬體元件與周邊設備之間 的連接及傳輸媒介,包含有用以插置微處理器2之微處理 益插槽、基本輸入輸出系統、用以插置記憶體u之記憶體 __. _ 第8頁 本紙張尺度適用^3國家標準(CNS) A4規格(210X297公釐)^ (請先閲讀背面之注意事項再填寫本頁) 訂— 594466 A7 ------B7_ 五、發明説明翕 ) 插槽、周邊元件連接介面(peripherai Component1! ^^ ---- (Please read the precautions on the back before filling this page), Yiding | 367 V. Description of the invention) The mode that can quickly perform signal processing when there is an interrupt signal input is rest Mode (C1) and sleep mode (C2). Therefore, the inventor of this case considers that if the microprocessor can be put into sleep mode in the interposed state, it will be more effective in controlling power consumption and cooling. However, the advanced architecture power control 5 interface is no longer used as a basic input and output system. Power supply control, so it can't be controlled in the way that the software operates the basic I / O system, but find other ways to control. [Summary of the Invention] Therefore, an object of the present invention is to provide a power management method for a microprocessor that can further save power consumption. Another object of the present invention is to provide a power management method for a microprocessor that can more effectively reduce the temperature of a microprocessor. Therefore, a microprocessor power management method of the present invention is controlled by a user and executed in a computer platform. The computer platform includes a computer 15 host and a display, and the computer host has a motherboard and a The microprocessor 'on the motherboard' and the motherboard has a system control chipset 'is responsible for the interconnection and communication of the components in the computer platform. The method includes the following steps: A) determine whether the components of the computer platform meet Advanced architecture power interface 20 faces; B) If yes, 'determine whether the microprocessor is in an idle state bear; and ... C) If the microprocessor is in the idle state, make the system control chipset make the microprocessor Enter a sleep mode, so that one of the microprocessors is ______ page 7 This paper size applies to Chinese National Standard (CNS) A4 specifications (210X297 mm) 594466 A7 __ B7 V. Description of the invention The bank is no longer connected to the system control chip and reduces the power supply to the microprocessor. [Simplified description of the drawings] Other features and advantages of the present invention will be clearly understood in the following detailed description of the preferred embodiment with reference to the drawings. In the drawings: The first picture is a motherboard Schematic diagram of the architecture. The second figure is a block diagram of a preferred embodiment of the present invention. The third diagram is a schematic diagram of a computer platform implementing a preferred embodiment of the present invention. 10 The fourth diagram is a flowchart of a preferred embodiment of the present invention. The fifth figure is an example of a user input interface displayed in a window in a preferred embodiment of the present invention. [Detailed description of the preferred embodiment] Since the present invention is matched with the existing hardware architecture to control the electrical source management of the microprocessor, the following first introduces the hardware architecture of the microprocessor and related components in order to facilitate This case is easier to understand. As shown in the first figure, a combination diagram of a motherboard and a microprocessor 2 is shown. The microprocessor 2 can be regarded as the center of the entire computer, and most tasks, interrupt processing or events need to be processed or processed by the microprocessor 2 20 in order to transfer correct data or signals to each other. In addition to the microprocessor 2, the core components of the computer are motherboards. The main purpose of the motherboard 1 is to serve as a connection and transmission medium between various hardware components and peripheral devices, including a micro-processing socket for inserting the microprocessor 2, a basic input and output system, and a memory for inserting. u memory __. _ page 8 This paper size is applicable ^ 3 National Standard (CNS) A4 size (210X297 mm) ^ (Please read the precautions on the back before filling this page) Order — 594466 A7 --- --- B7_ V. Description of the invention 翕) Slot and peripheral component connection interface (peripherai Component

Interconnect ’ PCI)匯流排12、記憶體匯流排13以及其他 擴充插槽與匯流排。為了能夠控制連接於主機板1上所有 周邊構件,因此主機板1設有一系統控制晶片組1〇。此系 5統控制晶片組10依照主機板架構不同而有不同功能之晶 片。但常見系統控制晶片組1〇包含一北橋晶片(N〇rth Bridge) 101與一南橋晶片(s〇uth〇2,前者負責記 憶體與繪圖加速埠(Accelerated Graphics p〇rt,AGp)介 面的顯示單元(亦稱顯示卡或顯示晶片)14、記憶體u與微 10處理器2之間的溝通,而後者負責PCI周邊、硬碟、軟碟、 滑鼠、鍵盤等裝置。在此,為了便於獲知微處理器2中諸 如溫度之類的運作情況,所以更設有一溫度監視器15,微 處理器2係以其之系統匯流排21與北橋晶# 101相互溝 通,而南橋晶片102與北橋晶片ιοί和微處理器2間以及 15北橋晶片101與微處理器2間更分別形成信號線16、17、 18,以供傳遞控制指令。 由於本發明的主要目的在於使微處理器2閒置時進入 休眠模式,所以微處理器2本身必須具有休眠模式,亦即 其需符合先進架構電源介面標準,例如AMD微處理器。再 2〇者,習知中利用基本輸入輸出系統無法令微處理器進入休 眠模式中,因此本案發明人思及利用其他構件搭配使用來 發^更強大的電源管理功能,並發現符合先進架構電源介 面‘準的系統控制晶片組10中有令微處理器2進入休眠模 式的機制,例如威盛或石夕統的系統控制晶片組,然而由於 第 Θ 頁 本紙張A4規格⑵0X謙釐)--—-s (請先閲讀背面之注意事項再填寫本頁)Interconnect ’PCI) bus 12, memory bus 13, and other expansion slots and buses. In order to be able to control all peripheral components connected to the motherboard 1, the motherboard 1 is provided with a system control chipset 10. This system is a system control chipset 10 which has different functions according to the motherboard architecture. However, the common system control chipset 10 includes a North Bridge chip 101 and a South Bridge chip S02, the former is responsible for the display of the memory and Accelerated Graphics port (AGp) interface. Unit (also known as graphics card or display chip) 14, communication between memory u and micro 10 processor 2, which is responsible for PCI peripherals, hard disks, floppy disks, mice, keyboards and other devices. Here, for convenience Knowing the operating conditions such as temperature in the microprocessor 2, a temperature monitor 15 is also provided. The microprocessor 2 communicates with the North Bridge Crystal # 101 by its system bus 21, and the South Bridge chip 102 and the North Bridge chip ιοί and the microprocessor 2 and the 15 north bridge chip 101 and the microprocessor 2 respectively form signal lines 16, 17, 18 for transmitting control instructions. Because the main purpose of the present invention is to allow the microprocessor 2 to enter when it is idle. Hibernation mode, so the microprocessor 2 itself must have a hibernation mode, that is, it must comply with advanced architecture power interface standards, such as AMD microprocessors. Furthermore, in the past, the basic input and output system is used. The microprocessor was ordered to enter the sleep mode, so the inventor of the present case considered the use of other components to send more powerful power management functions, and found that there is a microprocessor in the system control chipset 10 that conforms to the advanced architecture power interface standard The mechanism for the device 2 to enter the sleep mode, such as the system control chipset of VIA or Shi Xitong. However, because of the paper A4 specification ⑵0X modest on page Θ) --- s (Please read the precautions on the back before filling this page )

594466 A7 五、發明説明 10 15 20 微處理器2與系統控制晶片組10由不同廠商製造,使得雖 然有此功能卻仍待軟體功能始將其協調整合才能應用,而 本發明之方法即在觸發系統控制晶片組丨0來控制微處理器 2電源管理。 本發明之方法係内建於如第二圖之電腦平台3中並可 於作業系統下執行的微處理器電源管理程式。此電腦平台3 可為一桌上型電腦、筆記型電腦或掌上型電腦,而本實施 例係以桌上型電腦為例,此電腦平台3包含一電腦主機 31、一顯示器32、一諸如硬碟之類的儲存媒體(圖中未示)、 一鍵盤33及一滑鼠34等等。電腦主機31内組設如第一圖 之主機板1 ’而如第三圖,儲存媒體35内儲存至少一作業 系統351,例如針對個人電腦設計的Windows95/98/ME或針 對網路環境設計之Windows NT/2000等等,以及本例之微 處理器電源管理程式352。下文中將配合第三圖與第四圖, 對本實施例之執行流程作詳細說明。 首先’步驟51,當電腦開機載入作業系統351後,微 處理器電源管理程式352即被預設執行。 其次,由於本微處理器電源管理程式352需配合符合 進采構電源"面之微處理器2使能執行,所以於步驟52 中,判斷微處理器2是否符合先進架構電源介面之要求。 在本例中,微處理器電源管理程式352中係先内建符合先 進架構電源介面標準的微處理器之廠商與型號,例如AMD , 乂於步驟52中比對電腦主機31内的微處理器2之廠商與 "疋否/、内建的任一筆資料相符,即可獲知微處理器是 _第10頁 本紙張尺度義t關轉準_ A4規格(210X297公釐) (請先閲讀背面之注意事項再填寫本頁)594466 A7 V. Description of the invention 10 15 20 The microprocessor 2 and the system control chipset 10 are manufactured by different manufacturers, so that the software function must be coordinated and integrated before it can be applied, and the method of the present invention is triggered. The system controls the chipset 丨 0 to control the microprocessor 2 power management. The method of the present invention is a microprocessor power management program built into the computer platform 3 as shown in the second figure and can be executed under the operating system. The computer platform 3 may be a desktop computer, a notebook computer, or a palmtop computer. In this embodiment, a desktop computer is used as an example. The computer platform 3 includes a computer host 31, a display 32, Storage media (not shown) such as a disc, a keyboard 33 and a mouse 34, and so on. The computer main body 31 is provided with the motherboard 1 ′ as shown in the first figure and as shown in the third figure, at least one operating system 351 is stored in the storage medium 35, such as Windows 95/98 / ME designed for a personal computer or designed for a network environment. Windows NT / 2000, etc., and the microprocessor power management program 352 of this example. In the following, the execution process of this embodiment will be described in detail with reference to the third and fourth figures. First, at step 51, when the computer is booted and loaded into the operating system 351, the microprocessor power management program 352 is preset to be executed. Secondly, since the microprocessor power management program 352 needs to be enabled for execution in accordance with the microprocessor 2 that conforms to the power source of the advanced configuration, in step 52, it is determined whether the microprocessor 2 meets the requirements of the advanced architecture power interface. In this example, the microprocessor power management program 352 is the manufacturer and model of the microprocessor that conforms to the advanced architecture power interface standard. For example, AMD. In step 52, the microprocessor in the computer host 31 is compared. The manufacturer of 2 is consistent with " 疋 No /, any of the built-in data, and you can know that the microprocessor is _page 10 This paper is standard and the standard is turned off _ A4 specification (210X297 mm) (Please read the back first (Notes to fill out this page)

371. 594466 五、發明説明& ) 10 15 20 否符合要求。若經步驟52判斷微處理器2符合要求時,則 繼續步驟53 ;反之,若不符要求時,則結束本程式。 •由於作業系統為針對個人電腦設計的 Wuid〇WS95/98/ME或針對網路環境設計之Wind〇ws nt/2〇〇〇 的驅動程式或有差異而使得微處理器電源管理程式352亦 需對應作調整變化,所以本例中的程式中包含一套配合個 人電腦的作業系統設計之驅動程式與一針對網路環境的作 業系統設計之驅動程式,以於不同作業系統下操作。由於 大部分的電腦是應用個人電腦之作業系統,所以於本例 中微處理器電源管理程式352預設執行配合個人電腦的 作業系統之驅動程式’而在步驟53中,先行判斷作業系統 的類型是否為針對個人電腦之作業系統,若為是時,繼續 執行步驟56。 反之’若步驟53判斷為否,則意味著電腦平台3之作 業系統應是gQ網路環境設計,則至步驟54中,載入另一 套配合此種作業系統之驅動程式,以替換原先預定的驅動 程式。而後,於步驟55中,判斷另—套驅動程式之載入是 否成功成功時’靠式結束,若成功則輯步驟%。 在步驟5 6中,判斷系統控制晶片組10是否符合要求, 亦即判斷系統控制晶片組1G是否符合先進架構電源介面, 若符合時,則繼續執行步驟57,而若不符合則結束。在本 例中,程式352中亦先㈣符合先進架構電源介面標準的 系統控制晶片組之廉商與型號’例如威盛或石夕統,以於牛 驟56中比對電腦主機31内的系統控制晶片組iQ之廉商^371. 594466 V. Description of the invention &) 10 15 20 Whether it meets the requirements. If it is judged in step 52 that the microprocessor 2 meets the requirements, then step 53 is continued; otherwise, if the requirements are not met, the program ends. • Because the operating system is designed for personal computers, such as Wudows9595 / 98 / ME or Windows nt / 2o00 for network environments, there may be differences in the driver program of the microprocessor power management program 352. Corresponds to adjustment changes, so the program in this example contains a set of driver designed to match the operating system of a personal computer and a driver designed for an operating system designed for a network environment to operate under different operating systems. Since most computers use the operating system of a personal computer, in this example, the microprocessor power management program 352 executes the driver of the operating system of the personal computer by default. In step 53, the type of the operating system is determined first. Whether it is an operating system for a personal computer, and if yes, proceed to step 56. On the contrary, if it is judged as negative in step 53, it means that the operating system of computer platform 3 should be designed for the gQ network environment, then go to step 54 and load another set of drivers that cooperate with this operating system to replace the original reservation Driver. Then, in step 55, it is judged whether the loading of another set of drivers is successful or not, and the process is terminated in a closed manner. If successful, the step% is edited. In step 56, it is determined whether the system control chipset 10 meets the requirements, that is, it is determined whether the system control chipset 1G complies with the advanced architecture power interface. If it is, then step 57 is continued, and if it is not, the process ends. In this example, the program and the model 352 of the system control chipset that conforms to the advanced architecture power interface standard are also used to compare the system control in the computer host 31 in the example of VIA or Shi Xitong. The cheap quotient of chipset iQ ^

胃11頁 本紙張尺度賴巾關家群(⑽A4規格(2:297公釐TStomach 11 pages This paper size Lai Jin Guan Jiaqun (⑽A4 size (2: 297 mm T

訂丨 (請先閲讀背面之注意事項再填寫本頁) -# 五、發明説明 型號是否與内建的任一筆資料 片組1〇是否支援。貝抖相符’即可獲知系統控制晶 =控制晶片組10中的南、北橋晶請、ι〇ι需分 縣出指令或變更設定使能令微處理 5而隨著微處理器製造廠商#眠模式。 in轿处&山 致使配合系統控制晶片組 7所“出的控制指令位址與内容亦所有差異但 疋由北橋晶片輸出一斷路指令 疼扣八 由南橋日日片102輸出一休 民“’以使微處理器2進入休眠模式,而微處理器2僅 在兩條件符合才會進人休眠模式中。所以,在步 10微處理器電源管理程式先設定北橋曰;4 1ni 狄i匕八“占 疋3匕僑日日片101驅使其輸出斷 互 ::至微處理器2。由於不同廠商製造的微處理器2" 2控制晶片組1G間之斷路指令輸出方式或有差異,但相 。配的北橋晶片101中一位元資料係舆微處理器 15 20 ==是否切斷(disc_ect)相關,此位元資料為-驗準⑻或一高位準⑴,而-開始(例如電腦開機、重; 或微處理器2未進人休眠模式等等情況),此位元資料為_ 預设位準(如低位準或高位準),'而當微處理器2接收心 眠指令且谓測到此位元資料已非預設位準(例如已由偏 準變更成高位準或者已由高位準變更成低位準)時,則會七 斷系統匯流排2卜所以,此步驟57是令北橋晶片1〇1變置 其内供切斷系統匯流排21用的位元之位準。為於 解,玆舉一範例說明之,假設微處理器2為繼遍〇ηΚ, 的微處理器與系統控制晶片組為威盛Π266Α晶片组,而升 橋晶片1〇1為VT8366A時,則北橋晶片m中存在一位址 594466 A7 ---—-___B7__ 五、發明説明;(〇 ) --!— 為偏移位置92的S2K時序控制瓜之暫存器(此暫存器為一 :::暫存器’資料由〇〜7),而此暫存器中第七位元定義 為备休眠指令被測出時切斷被啟動,即第七位元的資料位 準與相關於微處理器2是否切斷與北橋晶片m連接之系 5統匯流排21,而此位元的資料平時為低位準(〇)而欲進入休 眠模式時為高位準⑴’所以本範例中的此步驟57僅需設 定北橋晶片101中偏移位置92之暫存器内的第七位元為高 位^來作為斷路指令,即可完成北橋晶片101的設定,而 繼續執行步驟58。在步驟57完成時,由於微處理器2仍需 1〇同時感測到斷路指令與休眠指令始會進人休眠模式,所 以,此時微處理H 2仍未進入休眠模式且未切斷系統匯流 排2卜 - 在步驟58中,微處理器電源管理程式352會持續監測 微處理器2是否位於間置狀態,即其無任何訊號或指令輸 15入,而當判斷微處理器2位於閒置狀態時,則跳至步驟59; 反之,當未判斷出微處理器2位於間置狀態時,當跳至步 驟63。目前微處理器2的工作頻率高,例如8〇〇MHz、 1· 2GHz、2GHz等等,致使其位於間置狀態的機率愈來愈高, 據統計工作頻率500MHz以上的微處理器有百分之九十的時 20間位於間置狀態,而當微處理器2位於間置狀態時,雖並 無任何訊號或指令輸入,但微處理器2仍會以原速度執行 空的資料,造成微處理器2負載仍高而使工作溫度無法有 效降低。 在步驟59中,微處理器電源管理程式352經判斷微處 第13頁 本紙張尺度適用中國國家標準(CNS) A4規格(210X297公釐) (請先閲讀背面之注意事項再填窝本頁) 、可 374 594466 A7 ---- B7_____ 五、發明説明il ) 理器2確實位於閒置狀態時,則令南橋晶片1〇2掘取内部 休眠指令並輸出至微處理器2。由於隨南橋晶片ι〇2與微處 理器2製造庭商的不同,使得休眠指令於南橋晶片1〇2内 的儲存位址或有差異或内容不.南橋晶⑽與微處理 5器2内部設定相互配合,致使微處理器2 一但收到南橋晶 片102輸出的休眠指令即可進入休眠模式。為了讓本實施 例更谷易被瞭解,玆舉-範例說明之,假設微處理器2為 AMD Athlon K7的微處理器與系統控制晶片組ι〇為威盛 KT266A晶片組,而南橋晶片1〇2為VT8233,則微處理器2 10係被預設為接收到休眠指令STPCLK#,則會開始進入休眠模 式(此時需北橋晶片101已輸出斷路指令之情況下),而南 橋晶片102内的-組微處理器功率管理暫存器中的輸入增 出偏移(I/O Offset)14位址内的資料内容定義微處理器第 二階層(Processor Level 2),即為休眠指令STpCLK#,所 15 f步驟59中,微處理器電源管理程式脱會令南橋晶片1〇2 讀取微處理器功率管理暫存器内輸入/輸出偏移14的資料 内谷,而後並將此資料作為休眠指令STpcLK#持續輸出至微 處理器2,緊接著在微處理器2收到休眠指令STpcLK#時, 則進入步驟60 〇 2〇 在步驟60中,即代表微處理器2已接收到休眠指令與 斷路指令,則微處理器2會進入休眠模式,依斷路指令切 斷其系統匯流排21並閂鎖於其上的信息以待恢復連通時再 傳遞,並且將工作時序歸零,以使工作頻率降低為零而停 止運算或資料處理。如此,相較於以往技術中的休息模式, 第14頁 )舛 466 A7 -------------Β7 五、發明説明) 本發明讓微處理器2進入休眠模式,除了讓微處理器2停 止作動外,更切斷系統匯流排21的連通,使得相較於習知 確實可得到更節省電力消耗的功效,而且因電力消耗量減 少,亦使微處理器2之溫度更能有效降低。 5 緊接著,在步驟61中,微處理器2判斷是否中斷訊號 (interrupt signal)輸入,例如 INTR、smi、SCI,若有時 則進入步驟62中,觸發微處理器2醒來,否則繼續步驟63。 在步驟6 2中,微處理器電源管程式3 5 2接收到微處理 器2被饋入中斷訊號的訊息時,則會令南橋晶片1〇2不再 1〇輸出休眠指令,使微處理器2離開休眠模式並連通系統匯 流排21以依照中斷訊號内容來工作。此中斷訊號可由任一 構件或是由微處理器2本身所發出,並依照不同的需求而 在工作(tasking)的内容有所不同,例如請求服務(service) 或錯誤訊息回報(error report)。再者,中斷訊號又可分 15為如由使用者經由鍵盤、滑鼠輸入的硬體中斷(hardware interrupt)與例如應用程式的執行或關閉之類的軟體中斷 (software internipt)兩種。而於步驟62結束後,會跳回 步驟58,微處理器電源管理程式352會繼續偵測微處理器 2是否閒置,而當微處理器2再度閒置時執行前述步驟59°、 2〇 6〇 ,使其進入休眠模式中,以有效節省電力消耗與降低溫 度。 · /皿 而在步驟63,微處理器電源管理程式352偵測是否有 關閉命令輸入,此關閉命令係可由使用者輸入用以結束執 行微處理器電源管理程式352,所以當微處理器電源管理程 _______ 第 15 頁 ' 賴fiMCNS) Μ驗(210X297公釐) '"— 376 (請先閱讀背面之注意事項再填寫本頁)Order 丨 (Please read the notes on the back before filling out this page)-# V. Description of the invention Whether the model and any of the built-in data are supported by the film group 10. If it matches, you can know that the system control crystal = control the south and north bridge crystals in the chipset 10, and you need to issue instructions by county or change the setting to enable the microprocessor 5 and follow the microprocessor manufacturer #sleep mode. In the sedan & mountain caused the system control chip group 7 to have "the control instruction address and content are all different. However, the North Bridge chip outputs a disconnection command and it hurts. Eight South Bridge Japan and Japan film 102 outputs a rest." The microprocessor 2 is put into the sleep mode, and the microprocessor 2 enters the sleep mode only when two conditions are met. Therefore, in step 10, the microprocessor power management program first sets the North Bridge; 4 1ni Di i 8 "Zhan Qiao 3 Diao Qiao Japanese film 101 drives its output to break each other :: to the microprocessor 2. Due to the manufacture of different manufacturers The microprocessor 2 " 2 controls the output instruction of the circuit breaker between the chipset 1G, but there is a difference. However, one bit of metadata in the matching Northbridge chip 101 is the microprocessor 15 20 == disconnect (disc_ect). This bit data is-check accuracy or a high level, and-start (such as the computer is turned on, restarted; or microprocessor 2 is not in sleep mode, etc.), this bit data is _ preset level (Such as low level or high level), 'and when the microprocessor 2 receives a sleep instruction and says that this bit data has been detected is not a preset level (for example, it has been changed from a bias to a high level or has been changed from a high level) To the low level), the 7-bus system bus 2 will be used. Therefore, this step 57 is to change the North Bridge chip 101 to the bit level used to cut the system bus 21. For the solution, Here is an example to illustrate, suppose the microprocessor 2 is a microprocessor and system control following 〇ηΚ, The chipset is VIA Π266A chipset, and when the bridge bridge chip 101 is VT8366A, there is a bit address 594466 A7 in the Northbridge chip m. 5. Description of the invention; (〇)-! — Is partial S2K timing control register of shift position 92 (this register is one ::: register 'data from 0 ~ 7), and the seventh bit in this register is defined as the standby sleep instruction to be tested The cut-off is activated at the time of exit, that is, the data level of the seventh bit and the system 5 bus 21 related to whether the microprocessor 2 cuts off the connection with the north bridge chip m, and the data of this bit is usually a low level ( 〇), and want to enter the sleep mode is the high level ⑴ 'so this step 57 in this example only needs to set the seventh bit in the register at offset position 92 in the Northbridge chip 101 as the high bit ^ as the disconnection instruction, The setting of the Northbridge chip 101 can be completed, and step 58 is continued. When step 57 is completed, because the microprocessor 2 still needs to detect the disconnection command and the sleep command at the same time, it will enter the sleep mode. Therefore, at this time, Microprocessor H 2 still does not enter sleep mode and system bus 2 is not turned off-in step 58 The microprocessor power management program 352 will continuously monitor whether the microprocessor 2 is in an idle state, that is, it does not have any signal or instruction input 15 inputs, and when it is judged that the microprocessor 2 is in an idle state, skip to step 59; otherwise, When it is not determined that the microprocessor 2 is in an interposed state, skip to step 63. At present, the operating frequency of the microprocessor 2 is high, such as 800 MHz, 1.2 GHz, 2 GHz, etc., so that it is located in an interposed state. The probability of the state is getting higher and higher. According to statistics, 90% of the microprocessors operating at frequencies above 500MHz are in the intervening state. When the microprocessor 2 is in the intervening state, there is no signal. Or the instruction is input, but the microprocessor 2 still executes the empty data at the original speed, which causes the load of the microprocessor 2 to remain high and the working temperature cannot be effectively reduced. In step 59, the microprocessor power management program 352 is judged to be small. Page 13 This paper size applies to the Chinese National Standard (CNS) A4 specification (210X297 mm) (Please read the precautions on the back before filling in this page) May 374 594466 A7 ---- B7_____ V. Description of the invention il) When the processor 2 is really in an idle state, the south bridge chip 102 is caused to dig out the internal sleep instruction and output it to the microprocessor 2. Due to the difference between the manufacturer of the south bridge chip ι02 and the microprocessor 2, the storage address of the hibernation instruction in the south bridge chip 102 may be different or the content is not the same. South bridge crystal chip and the microprocessor 5 internal settings The mutual cooperation causes the microprocessor 2 to enter the sleep mode as soon as it receives the sleep command output from the south bridge chip 102. In order to make this embodiment easier to understand, here is an example. Assume that the microprocessor 2 is the microprocessor and system control chipset of AMD Athlon K7, the VIA KT266A chipset, and the south bridge chip 102. It is VT8233, the microprocessor 2 10 series is preset to receive the sleep command STPCLK #, and it will start to enter the sleep mode (at this time, the case where the Northbridge chip 101 has output a disconnection command), and the Southbridge chip 102- The content of the data within 14 addresses of the input increment offset (I / O Offset) in the microprocessor power management register defines the microprocessor's second level (Processor Level 2), which is the sleep instruction STpCLK #. 15 In step 59, the microprocessor power management program disconnects the south bridge chip 102 to read the data valley of the input / output offset 14 in the microprocessor power management register, and then uses this data as the sleep instruction. STpcLK # is continuously output to the microprocessor 2. Immediately after the microprocessor 2 receives the sleep instruction STpcLK #, it enters step 60. In step 60, it means that the microprocessor 2 has received the sleep instruction and disconnected. Instruction, the microprocessor 2 will Enter the sleep mode, cut off the system bus 21 and latch the information on it according to the circuit-breaking instruction to pass when the connection is restored, and reset the working sequence to zero, so that the operating frequency is reduced to zero and the calculation or data processing is stopped. . In this way, compared with the rest mode in the prior art, page 14) 舛 466 A7 ------------- B7 V. Description of the invention) The present invention allows the microprocessor 2 to enter the sleep mode, except that In addition to stopping the microprocessor 2, it also cuts off the connection of the system bus 21, so that it can indeed obtain a more power-saving effect than the conventional one, and because the power consumption is reduced, the temperature of the microprocessor 2 is also reduced. Can be effectively reduced. 5 Next, in step 61, the microprocessor 2 determines whether the interrupt signal is input, such as INTR, smi, and SCI. If sometimes, it goes to step 62 to trigger the microprocessor 2 to wake up, otherwise continue to the step. 63. In step 62, when the microprocessor power management program 3 5 2 receives a message that the microprocessor 2 is fed with an interrupt signal, it will cause the south bridge chip 10 to no longer output a sleep command 10, so that the microprocessor 2 Leave the sleep mode and connect to the system bus 21 to work according to the interrupt signal content. This interrupt signal can be issued by any component or by the microprocessor 2 itself, and the contents of the tasking are different according to different requirements, such as requesting service or error report. In addition, the interrupt signal can be divided into two types: a hardware interrupt input by a user via a keyboard and a mouse, and a software interrupt such as the execution or shutdown of an application program. After step 62 ends, it will return to step 58. The microprocessor power management program 352 will continue to detect whether the microprocessor 2 is idle, and when the microprocessor 2 is idle again, the above steps 59 ° and 206 are performed. To put it into sleep mode to effectively save power consumption and reduce temperature. · At step 63, the microprocessor power management program 352 detects whether there is a shutdown command input. This shutdown command can be input by the user to end the execution of the microprocessor power management program 352, so when the microprocessor power management Process _______ Page 15 'Lai fiMCNS) Μ Examination (210X297 mm) " — 376 (Please read the precautions on the back before filling this page)

594466 A7 B7 五、發明説明ί3 10 15 20 式352接收到關閉命令時,則會解除北橋晶片1〇1與南橋 晶片102之設定並結束程式的執行。反之,當步驟⑽未偵 測到關閉命令輸入時,則跳回步驟61繼續偵測是否有中斷 訊號輸入。 值得注意的是,本流程中的步驟63可於微處理器電源 管理程式352執行後,即於步驟52〜62中,亦被同步被執 行,即於執行過程中一但關閉命令輸入時,則結束程式執 行。如此,可便於使用者於任何需要時間關閉程式的執行, 例如將要處理大量圖檔、將進行硬碟重整等等情況,即可 輸入關閉命令來結束程式,以避免干擾後續的作業程序。 再者,本實施例之微處理器電源管理程式352係設定 於作業系統3 51啟動後自動載入執行,而為了方便使用者 操控,微處理器電源管理程式352係可於顯示器32之視窗 晝面形成一圖案,而且如第五圖,此圖案71係可被縮小於 工作列72中,並當此圖案71當使用者利用鍵盤33或滑鼠 34之類的輸入裝置移動游標指到並被按壓時,則會顯示如 功能表73’而此功能表73上具有一致能控制鍵(Enable Cooler)731、一關閉控制鍵(Disable Co〇ler)732、一說明 控制鍵(About)733及一離開控制鍵(Quit)734。致能控制鍵 731係在使用者利用游標按壓時驅使程式執行,以使微處理 器2於閒置狀態進入休眠模式中。關閉控制鍵732係在使 用者利用游標按壓時,對應結束程式的執行,以關閉此程 式的應用。當使用者利用游標按壓說明控制鍵733時,則 會跳出關於微處理器電源管理程式352的用途說明,而告第16頁 (請先閲讀背面之注意事項再填窝本頁) •訂| 本紙張尺度適用中國國家標準(CNS) A4規格(210X297公釐) 594466 A7 _______B7_ 五、發明説明ί4 ) 使用者利用游標按壓離開控制鍵734時,則離開功能表 73(即使工作列72於視窗消失),恢復成僅由小圖案71顯 示。藉此,可達到便於使用者操作之功效。 據前所述,本發明之程式確實具有以下優點: 5 (1)使用方便: 本發明利用微處理器2與系統控制晶片組10的硬體配 合來撰寫程式,並在執行時先行篩選符合要求之硬體架構 (如步驟52、56),以避免程式於不符合要求的硬體架構下 執行,造成程式的無效動作,甚至影響電腦平台3之工作 10效率。如此利用步驟52、56對於微處理器2與系統控制晶 片組10之判斷,即便使用者不知於硬體條件是否符合的情 況下,程式可自行決定於硬體環境不符合時不執行,以充 分解決使用者於微處理電源管理程式352不支援的環境下 執行所造成的困擾,而且微處理電源管理程式352於步驟 15 53〜55中亦會針對不同的作業系統作適當變更。如此,使用 者無須在女裝程式前詳讀符合微處理電源管理程式之 操作手冊以得知其操作環境以及亦無須查看自己的軟硬體 的廠商或序號是否符合條件,微處理電源管理程式352會 自動判斷硬體是否符合且自行更換符合電腦平台3之作業 系統352的驅動程式,以達到便於使用者的安裝與使用^ 功效。而且,由於微處理電源管理程式352係提供視窗介 面(如第五圖)供使用者操作,進而可增加使用者操作之便 利性。 ⑵電源管理更有效率: + 第17頁 本紙張尺度適用中國國家標準(CNS) Α4規格(2ι〇χ297公董) --594466 A7 B7 V. Description of Invention ί 3 10 15 20 When the 352 receives the shutdown command, it will cancel the setting of North Bridge Chip 101 and South Bridge Chip 102 and end the execution of the program. Conversely, when the shutdown command input is not detected in step ⑽, skip back to step 61 to continue detecting whether there is an interrupt signal input. It is worth noting that step 63 in this process can be executed synchronously after the microprocessor power management program 352, that is, in steps 52 ~ 62, that is, once the command input is turned off during the execution, then End program execution. In this way, it is convenient for the user to close the execution of the program at any time that needs to be performed, such as when a large number of image files are to be processed, and the hard disk is reorganized, etc., and the shutdown command can be entered to end the program to avoid interfering with subsequent operations. In addition, the microprocessor power management program 352 of this embodiment is set to be automatically loaded and executed after the operating system 3 51 is started. For the convenience of the user, the microprocessor power management program 352 can be installed in the window of the display 32. A pattern is formed on the surface, and as shown in the fifth figure, the pattern 71 can be reduced in the task bar 72, and when the pattern 71 is moved by the user using an input device such as a keyboard 33 or a mouse 34, When pressed, the function list 73 'is displayed, and the function list 73 has a control button (Enable Cooler) 731, a disable control button (Disable Cooller) 732, an explanation control button (About) 733 and a Exit the control key (Quit) 734. The enable control key 731 causes the program to be executed when the user presses with the cursor, so that the microprocessor 2 enters the sleep mode in the idle state. The close control key 732 closes the execution of the program correspondingly when the user presses the cursor to close the application of this program. When the user presses the description control key 733 with the cursor, a description of the purpose of the microprocessor power management program 352 will pop up, and the report will be page 16 (please read the precautions on the back before filling in this page) • Order | This The paper size applies the Chinese National Standard (CNS) A4 specification (210X297 mm) 594466 A7 _______B7_ V. Description of the invention ί4) When the user presses the leave control key 734 with the cursor, he leaves the menu 73 (even if taskbar 72 disappears in the window) To return to display by the small pattern 71 only. Thereby, the effect of facilitating user operation can be achieved. According to the foregoing, the program of the present invention does have the following advantages: 5 (1) Convenient to use: The present invention uses the hardware of the microprocessor 2 and the system control chipset 10 to write the program, and it is first screened to meet the requirements during execution. Hardware structure (such as steps 52, 56) to avoid the program running under the hardware structure that does not meet the requirements, causing invalid operation of the program, and even affecting the work efficiency of the computer platform 3. In this way, the judgment of the microprocessor 2 and the system control chipset 10 by using steps 52 and 56 allows the program to decide not to execute when the hardware environment does not comply, even if the user does not know whether the hardware conditions are met. Solve the problem caused by the user running in an environment not supported by the microprocessor power management program 352, and the microprocessor power management program 352 will also make appropriate changes for different operating systems in steps 15 53 ~ 55. In this way, the user does not need to read the operation manual that complies with the microprocessor power management program before the ladies program to know its operating environment and does not need to check whether the software or hardware manufacturer or serial number meets the conditions. The microprocessor power management program 352 It will automatically determine whether the hardware is compatible and replace the driver that complies with the operating system 352 of the computer platform 3 by itself, so as to achieve user-friendly installation and use ^. In addition, since the microprocessor power management program 352 provides a window interface (such as the fifth figure) for the user to operate, the convenience of the user operation can be increased. ⑵Power management is more efficient: + page 17 This paper size applies the Chinese National Standard (CNS) Α4 specification (2ι〇χ297 公 董)-

、一-Τ— C請先閱讀背面之注意事项再填窝本頁} W4466 ίο 15 20 、發明説明尨 有別習知技術中僅使微處理器於閒置狀態進入休息模 式中,本發明令微處理器2於閒置狀態時進入休眠模式中, 使微處理器2之時序變成零與切斷系統匯流排21,進而使 微處理器2停止資料處理與訊號於系統匯流排21上傳遞, 而且一但有中斷訊號輸入時,微處理器2即被喚醒而不會 影響使用者操作,以達到於不影響系統效能下更佳有效降 低電力消耗之功效。 (3)有效降低微處理器2之溫度: 由於本發明中更將微處理器2的工作頻率歸零與切斷 系統匯流排21之連接,使得微處理器2於閒置狀態下的負 載相較於以往少,而且電力消耗亦隨之降低,使得微處理 裔2於間置狀態下因運作所發散的熱量亦被有效降低,以 使微處理器2之溫度可大幅降低。同時,由於微處理器2 吊保持在大幅降溫的情況中,使得微處理器2的溫度能有 放維持在較低溫的條件下,如此即使微處理器2之工作負 載驟然增加使溫度大幅增加時,增加後溫度亦較不會超過 微處理器2之容許溫度,致使微處理器2之壽命亦可被有 效增加。 惟以上所述者,僅為本發明之較佳實施例而已,當不 旎以此限定本發明實施之範園,即大凡依本發明申請專利 辜已圍及說明書内容所作之簡單的等效變化與修飾,皆應仍 屬本發明專利涵蓋之範圍内。 第18頁 3/9 f 哪鮮((讓297公釐) (請先閲讀背面之注意事項再填窝本頁)1. One-T—C, please read the notes on the back before filling in this page} W4466 ίο 15 20 、 Explanation of the invention: In the conventional technology, only the microprocessor enters the rest mode in the idle state. The invention makes the microcomputer The processor 2 enters the sleep mode when it is idle, so that the timing of the microprocessor 2 becomes zero and cuts off the system bus 21, and then causes the microprocessor 2 to stop data processing and signal transmission on the system bus 21. However, when there is an interrupt signal input, the microprocessor 2 is awakened without affecting the user operation, so as to achieve a better and effective reduction of power consumption without affecting the system performance. (3) The temperature of the microprocessor 2 is effectively reduced: Because the operating frequency of the microprocessor 2 is reset to zero and the connection of the system bus 21 is cut off, the load of the microprocessor 2 in the idle state is compared. It is less in the past, and the power consumption is reduced accordingly, so that the heat dissipated due to the operation of the microprocessor 2 in the interposed state is also effectively reduced, so that the temperature of the microprocessor 2 can be greatly reduced. At the same time, because the microprocessor 2 is kept in a drastically reduced temperature condition, the temperature of the microprocessor 2 can be maintained at a lower temperature, so that even if the workload of the microprocessor 2 suddenly increases and the temperature is greatly increased, After the increase, the temperature is less than the allowable temperature of the microprocessor 2, so that the life of the microprocessor 2 can also be effectively increased. However, the above are only the preferred embodiments of the present invention. It is not necessary to limit the scope of implementation of the present invention, that is, the simple equivalent changes made according to the patent application and the description of the present invention. And modifications should still fall within the scope of the invention patent. Page 18 3/9 f Ne Xian ((Let 297 mm) (Please read the precautions on the back before filling this page)

594466 A7 B7 五、發明説明ί6 ) 【元件標號對照】 1主機板 1 0 1北橋晶片 11記憶體 1 3記憶體匯流排 1 5溫度監視器 2微處理器 3電腦平台 32顯示器 34滑鼠 1 0系統控制晶片組 102南橋晶片 12 PCI匯流排 1 4顯示單元 1 6、1 7、1 8信號線 21系統匯流排 31電腦主機 33鍵盤 35儲存媒體 351作業系統 3 5 2微處理器電源管理程式 71圖案 72工作列 73功能表 731致能控制鍵 732關閉控制鍵 733說明控制鍵 734離開指令 第19頁 本紙張尺度適用中國國家標準(CNS) A4規格(210X297公釐) (請先閲讀背面之注意事項再填寫本頁) 388594466 A7 B7 V. Description of the invention 6) [Comparison of component numbers] 1 Mother board 1 0 1 Northbridge chip 11 Memory 1 3 Memory bus 1 5 Temperature monitor 2 Microprocessor 3 Computer platform 32 Display 34 Mouse 1 0 System control chipset 102 South bridge chip 12 PCI bus 1 4 Display unit 1 6, 1 7, 1 8 Signal line 21 System bus 31 Computer host 33 Keyboard 35 Storage media 351 Operating system 3 5 2 Microprocessor power management program 71 Pattern 72 work bar 73 function table 731 enable control key 732 close control key 733 description control key 734 leave instruction page 19 This paper size applies Chinese National Standard (CNS) A4 specification (210X297 mm) (Please read the note on the back first (Fill in this page again) 388

Claims (1)

、申請專利範圍 10 15 20 •:種微處理器的電源管理方法,係於一電腦平台中 執仃’該電腦平台包含一電腦主機與一顯示器 :電主機中具有一主機板與一位於該主機板 镟2理器,且該主機板具有一系統控制晶片組,以 =貝該電腦平台内的元件相互連接與溝通,而該微 外理器與系統控制晶片組係符合先進架構電源介 面’該方法包括以下步驟: A) 判斷該微處理器是否位於一閒置狀態;及 B) 若該微處理器於該閒置狀態,令該系統控制晶 組使該微處理器進入一休眠模式中,以使該微 理為之系統匯流排不再連接該系統控制晶片並 低供應至該微處理器之電源功率。 2·如申請專利範圍第丨項所述之方法,其中,該系 控制晶片組具有一北橋晶片與一南橋晶片,在步 B)中係使該北橋晶片輸出一斷路指令與該南橋晶 =續輸出-休眠指令至該微處理器’來使該微處 器進入該休眠模式。 3.如申請專利範圍第2項所述之方法,其中,更包含 :步驟C),若該微處理器偵測到一中斷訊號輸入, 令該微處理該休眠模式*恢復動作並跳回步 驟A) 〇 4·如申請專利範圍第3項所述之方法,其中,該步驟 Υ)中,该系統控制晶片組之南橋晶片係於該中斷 號輸入時停止輸出該休眠指令,以令該微處理器 片 處 降 統 驟 訂 訊 離 ㈣ 張尺度適用中國國家標準(CNS) Α4規格(210X297公釐) 594466 A8 68 C8 D8 申請專利範圍 15 20 間該休眠模式。5·如申印專利範圍第1項所述之方法,更包含一於該 步驟A)前之步驟D),以使該方法之驅動程式適於在 該電腦平台之作業系統下執行。6. 如申請專利範圍第丨項所述之方法,其中,該步驟 D)中係判斷該電腦平台之作業系統是否為與一預設 驅動程式相配合之一預設作業系統,並在判斷為是 時始會執行後續步驟。 7. 如申請專利範圍第6項所述之方法,其中,在該步 驟D)中,當判斷該電腦平台之作業系統並非該預設 作業系、统時,貝,J替換該預設驅動程配合該作 業系統之驅動程式。 8. 如申請專利範圍帛i項所述之方法,其中,該步驟 A)執行時並會於該顯示器顯示—視窗式圖案,以作 為一使用者輸入介面。 9. 如中睛專利範圍第8項所述之方法,其中,當該圖 案被選擇時,則會於該顯示器上顯示出-含有複數 控制鍵之功能表。 Η複数 申請專利範圍第9項所述之方法,其中,該功能 表包含-致能控制鍵,係在該使用者啟動時,使該 微處理器於該間置狀態進入該休眠模式中。 如申請專利範圍第9項所述之方法,其中, =係包含-關閉控制鍵’係在該使用者啟動時,社 微處理#於㈣置狀態進人該休眠模式之程°Patent application scope 10 15 20 •: A microprocessor power management method is executed in a computer platform. The computer platform includes a computer host and a display: the electrical host has a motherboard and a motherboard.理 2 processor, and the motherboard has a system control chipset, which connects and communicates with the components in the computer platform, and the microprocessor and the system control chipset are in accordance with the advanced architecture power interface. It includes the following steps: A) determining whether the microprocessor is in an idle state; and B) if the microprocessor is in the idle state, causing the system to control the crystal set to put the microprocessor into a sleep mode so that the microprocessor Microcontroller's system bus is no longer connected to the system control chip and has low power supply to the microprocessor. 2. The method according to item 丨 in the scope of the patent application, wherein the control chip set has a north bridge chip and a south bridge chip, and in step B), the north bridge chip outputs a disconnection instruction and the south bridge crystal = continued Outputting a sleep command to the microprocessor 'causes the microprocessor to enter the sleep mode. 3. The method according to item 2 of the scope of patent application, further comprising: step C), if the microprocessor detects an interrupt signal input, the microprocessor processes the sleep mode * to resume the action and skips back to the step A) 〇4. The method as described in item 3 of the scope of patent application, wherein in step ii), the south bridge chip of the system control chipset stops outputting the sleep instruction when the interrupt number is input, so that the microcomputer The processor's declining order at the processor chip is in accordance with the Chinese National Standard (CNS) A4 specification (210X297 mm) 594466 A8 68 C8 D8. The scope of patent application is 15 20 this sleep mode. 5. The method described in item 1 of the scope of the patent application for printing further includes a step D) before the step A), so that the driver of the method is suitable for execution under the operating system of the computer platform. 6. The method according to item 丨 of the scope of patent application, wherein in step D), it is judged whether the operating system of the computer platform is a preset operating system that cooperates with a preset driver, and it is judged as When it does, the next steps are performed. 7. The method as described in item 6 of the scope of patent application, wherein, in step D), when it is determined that the operating system of the computer platform is not the preset operating system or system, Be, J replaces the preset driver Cooperate with the driver of the operating system. 8. The method described in item (i) of the scope of patent application, wherein, when step A) is performed, a window pattern is displayed on the display as a user input interface. 9. The method as described in item 8 of the Zhongji patent range, wherein, when the scheme is selected, a function table containing a plurality of control keys is displayed on the display. (2) The method according to item 9 of the scope of patent application, wherein the function table includes an enable control key, which causes the microprocessor to enter the sleep mode in the interposed state when the user starts. The method as described in item 9 of the scope of the patent application, wherein = means include-close control key ’means that when the user starts, the social microprocessing # enters the sleep mode in the set state. -、tr_-, Tr_ ...................... (請先閲讀背面之注意事項再填寫本頁) 594466 A8 B8 C8 ________ D8_ 六、申請專利範圍 式。 1 2 ·如申請專利範圍第9項所述之方法,其中,該功能 表係包含一說明控制鍵,用以當該使用者啟動時, 則會顯示關於該程式之用途說明。 5 1 3 ·如申請專利範圍第9項所述之方法,其中,該功能 表係包含一離開控制鍵,用以當該使用者啟動時, 則使4功肖b表不再顯示。 14· 一種微處理器的電源管理方法,係受使用者控制於 一電腦平台中執行,該電腦平台包含一電腦主機與 10 一顯示器,而該電腦主機中具有一主機板與一位於 該主機板上的微處理器,且該主機板具有一系統控 制晶片組,以負責該電腦平台内的元件相互連接與 溝通’該方法包括以下步驟: A) 判斷該電腦平台之元件是否符合先進架構電源介 15 面; B) 若符合時,判斷該微處理器是否位於—閒置狀 態;及 C) 若該微處理器於該間置狀態,令該系統控制晶片 、组使該微處理器進入一休眠模式中,以使該微處 2〇 Slf之系統匯流料再連㈣系統㈣晶片並降 低供應至該微處理器之電源功率。 15·如申請專利範圍第14項所述 、乃/2:,其中,該步 驟A )係包含以下次步驟: Α-υ判斷該微處理器是否符合先進架構電源介面; 第22頁 __ 本紙張尺度適用+ S國家標準( CNS) Α4規格(21GX297公楚)——----—— , (請先閲讀背面之注意事項再填寫本頁) .、訂— 594466 A8 B8 C8............ (Please read the notes on the back before filling out this page) 594466 A8 B8 C8 ________ D8_ VI. Application for Patent Scope. 1 2 · The method as described in item 9 of the scope of patent application, wherein the function table includes a description control key for displaying a description of the use of the program when the user starts it. 5 1 3 · The method as described in item 9 of the scope of patent application, wherein the function table includes a leave control key to make the 4 meter b meter no longer displayed when the user starts it. 14. · A microprocessor power management method is controlled by a user and executed in a computer platform. The computer platform includes a computer host and a display. The computer host has a motherboard and a motherboard. Microprocessor, and the motherboard has a system control chipset, which is responsible for the interconnection and communication of components in the computer platform. The method includes the following steps: A) determine whether the components of the computer platform meet the advanced architecture power supply interface 15); B) if yes, determine whether the microprocessor is in an idle state; and C) if the microprocessor is in the idle state, make the system control chip and the group put the microprocessor into a sleep mode In order to reconnect the system's chip with the 20Slf system at the micro level and reduce the power supply to the microprocessor. 15. As described in item 14 of the scope of patent application, which is / 2 :, wherein step A) includes the following steps: Α-υ judges whether the microprocessor meets the advanced architecture power interface; page 22__ 本Paper size applies + S National Standard (CNS) A4 specification (21GX297). ——————, (Please read the precautions on the back before filling this page). Order — 594466 A8 B8 C8 訂 594466 A8 B8 C8 六、申請相~--〜 B) ° 21. 如申請專利範圍第20項所述之方法,丨中,該步 驟㈨中,該系統控制晶片組之南橋晶片係於該中、 訊號輸入時停止輸出該休眠指令,以令該微處理器 5 離開該休眠模式。 22. 如申請專利範圍第15項所述之方法,更包含一於 步:A)後之步驟E),係形成一顯示於該顯示器上之 視窗式圖案,以作為一使用者輸入介面。 23·如申請專利範圍第22項所述之方法,其中,該步 1〇 驟E)中的該圖案係在被該使用者選擇時,顯示^含 有複數控制鍵之功能表於該顯示器。 24·如申請專利範圍第23項所述之方法,其中,該步 驟E)中的該功能表係包含一致能控制鍵,係在該使 用者啟動時,使該微處理器於該閒置狀態進入該休 15 眠模式中。 25·如申請專利範圍第23項所述之方法,其中,該步 驟E)中的該功能表係包含一關閉控制鍵,係在該使 用者啟動時,結束使該微處理器於該閒置狀態進入 該休眠模式之功能。 20 2 6 ·如申请專利範圍第2 3項所述之方法,其中,續步 驟E )中的該功能表係包含一說明控制鍵,用以當該 使用者啟動時,則會顯示關於該方法之用途說明。 27·如申請專利範圍第23項所述之方法,其中,該步 驟E)中的該功能表係包含一離開控制鍵,用以當該 第24頁 本紙張尺度適用中國國家標準(CNS) A4規格(210 X 297公釐) Φ: (請先閲讀背面之注意事項再填寫本頁) .訂· 594466 A8 B8 C8 D8 申請專利範圍 使用者啟動時,則使該功能表不再顯示 頁 5 2第 本紙張尺度適用中國國家標準(CNS) A4規格(210 X 297公釐) (請先閲讀背面之注意事項再填寫本頁)Order 594466 A8 B8 C8 VI. Application phase ~-~ B) ° 21. As described in the method of applying for the scope of the patent No. 20, in the step ㈨, the south bridge chip of the system control chip set is in the When the signal is input, stop outputting the sleep instruction to make the microprocessor 5 leave the sleep mode. 22. The method described in item 15 of the scope of patent application, further comprising a step after step A) and step E), forming a window pattern displayed on the display as a user input interface. 23. The method according to item 22 of the scope of patent application, wherein the pattern in step 10) of step E) is displayed on the display with a function table containing a plurality of control keys when selected by the user. 24. The method according to item 23 of the scope of patent application, wherein the function table in step E) includes a control key for consistent energy, and when the user starts, the microprocessor enters the microprocessor in the idle state. The rest 15 sleep mode. 25. The method according to item 23 of the scope of patent application, wherein the function table in step E) includes a close control key, and when the user starts, ends the microprocessor in the idle state. Enter the function of this sleep mode. 20 2 6 · The method as described in item 23 of the scope of patent application, wherein the function table in step E) contains a description control key for displaying the method when the user starts Intended use. 27. The method according to item 23 of the scope of patent application, wherein the function table in step E) includes a leave control key for applying the Chinese National Standard (CNS) A4 to the paper size on page 24 Specifications (210 X 297 mm) Φ: (Please read the precautions on the back before filling out this page). Order · 594466 A8 B8 C8 D8 When the user starts the patent application, the menu will no longer be displayed on page 5 2 This paper size applies to China National Standard (CNS) A4 (210 X 297 mm) (Please read the precautions on the back before filling this page)
TW91112537A 2002-06-10 2002-06-10 Power management method for microprocessor TW594466B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW91112537A TW594466B (en) 2002-06-10 2002-06-10 Power management method for microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW91112537A TW594466B (en) 2002-06-10 2002-06-10 Power management method for microprocessor

Publications (1)

Publication Number Publication Date
TW594466B true TW594466B (en) 2004-06-21

Family

ID=34075507

Family Applications (1)

Application Number Title Priority Date Filing Date
TW91112537A TW594466B (en) 2002-06-10 2002-06-10 Power management method for microprocessor

Country Status (1)

Country Link
TW (1) TW594466B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7404096B2 (en) 2004-01-02 2008-07-22 Samsung Electronics Co., Ltd Microprocessor for reducing leakage power and method thereof
US7496775B2 (en) 2004-12-15 2009-02-24 Seiko Epson Corporation Information processing apparatus and information processing method for autonomously controlling the supply of electric power
US7624286B2 (en) 2005-02-01 2009-11-24 Via Technologies, Inc. Power management method of north bridge
US8138929B2 (en) 2008-05-26 2012-03-20 Pegatron Corporation Method for protecting data in non-volatile storage device and computer thereof
CN102402271A (en) * 2010-09-13 2012-04-04 富泰华工业(深圳)有限公司 Electronic equipment and method for saving electric energy thereof
TWI406126B (en) * 2009-06-30 2013-08-21 Mediatek Inc Storage control device for storage medium and control method utilized for controlling data access of the storage medium
US8707060B2 (en) 2008-10-31 2014-04-22 Intel Corporation Deterministic management of dynamic thermal response of processors
US8898499B2 (en) 2008-12-31 2014-11-25 Intel Corporation Platform and processor power management
CN104185826A (en) * 2012-03-31 2014-12-03 英特尔公司 Controlling power management in micro-servers
CN108415547A (en) * 2017-02-10 2018-08-17 宏碁股份有限公司 Electronic device and its method for managing power supply
US11366710B1 (en) 2021-02-23 2022-06-21 Quanta Computer Inc. Methods and systems for reducing downtime from system management mode in a computer system

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7404096B2 (en) 2004-01-02 2008-07-22 Samsung Electronics Co., Ltd Microprocessor for reducing leakage power and method thereof
US7496775B2 (en) 2004-12-15 2009-02-24 Seiko Epson Corporation Information processing apparatus and information processing method for autonomously controlling the supply of electric power
US7624286B2 (en) 2005-02-01 2009-11-24 Via Technologies, Inc. Power management method of north bridge
US8138929B2 (en) 2008-05-26 2012-03-20 Pegatron Corporation Method for protecting data in non-volatile storage device and computer thereof
US8707060B2 (en) 2008-10-31 2014-04-22 Intel Corporation Deterministic management of dynamic thermal response of processors
US10983585B2 (en) 2008-12-31 2021-04-20 Intel Corporation Platform and processor power management
US8898499B2 (en) 2008-12-31 2014-11-25 Intel Corporation Platform and processor power management
US11740686B2 (en) 2008-12-31 2023-08-29 Tahoe Research, Ltd. Platform and processor power management
TWI406126B (en) * 2009-06-30 2013-08-21 Mediatek Inc Storage control device for storage medium and control method utilized for controlling data access of the storage medium
CN102402271A (en) * 2010-09-13 2012-04-04 富泰华工业(深圳)有限公司 Electronic equipment and method for saving electric energy thereof
CN102402271B (en) * 2010-09-13 2016-03-30 富泰华工业(深圳)有限公司 The method of electronic equipment and saving electric energy thereof
CN104185826A (en) * 2012-03-31 2014-12-03 英特尔公司 Controlling power management in micro-servers
CN104185826B (en) * 2012-03-31 2018-05-15 英特尔公司 Control the power management in microserver
US10198060B2 (en) 2012-03-31 2019-02-05 Intel Corporation Controlling power management in micro-server cores and peripherals
TWI608339B (en) * 2012-03-31 2017-12-11 英特爾股份有限公司 Apparatus, method and system for controlling power management in micro-servers
US9454210B2 (en) 2012-03-31 2016-09-27 Intel Corporation Controlling power management in micro-server cores and peripherals
CN108415547A (en) * 2017-02-10 2018-08-17 宏碁股份有限公司 Electronic device and its method for managing power supply
US11366710B1 (en) 2021-02-23 2022-06-21 Quanta Computer Inc. Methods and systems for reducing downtime from system management mode in a computer system
TWI772024B (en) * 2021-02-23 2022-07-21 廣達電腦股份有限公司 Methods and systems for reducing downtime

Similar Documents

Publication Publication Date Title
EP1996993B1 (en) Dual mode power-saving computing system
US6460106B1 (en) Bus bridge for hot docking in a portable computer system
US8255725B2 (en) Information processing apparatus and power-saving control method
EP1356366B9 (en) Computer peripheral device that remains operable when central processor operations are suspended
US6360327B1 (en) System with control registers for managing computer legacy peripheral devices using an advanced configuration power interface software power management system
JP5165652B2 (en) Power-saving electronic device for computer motherboard in standby state
JP4422017B2 (en) Method and apparatus for providing a separate power management state
US20070288782A1 (en) Method for reducing power consumption of a computer system in the working state
US9746910B2 (en) Supporting runtime D3 and buffer flush and fill for a peripheral component interconnect device
TW594466B (en) Power management method for microprocessor
US8522058B2 (en) Computer system with power source control and power source control method
US20160117269A1 (en) System and method for providing universal serial bus link power management policies in a processor environment
US7017054B2 (en) Mirrored tag snoop optimization
JPH11288334A (en) Method and device for power down for computer system
EP1420338A1 (en) Mobile computer and base station
US7802119B2 (en) Method and system for saving power of central processing unit
CN103970253B (en) Power-saving operation method and electronic device
US20070038874A1 (en) Embedded controller and computer system with the same
US10571992B2 (en) Electronic device having a controller to enter a low power mode
JP2006338204A (en) Information processor and power saving control method
US8065547B2 (en) Control method and computer system for advanced configuration and power interface
CN201622521U (en) Computer with built-in network storage device
TW201416847A (en) Computer device and wake-up method therefore
Making et al. Technology with the Environment in Mind
TW200407699A (en) Electronic device

Legal Events

Date Code Title Description
MK4A Expiration of patent term of an invention patent