Λ 7 Β7 - 五、發明説明() 5-1發明領域: 本發明係有關於一種筆記型電腦進入省電模式的 方法,特別是有關於一種筆記型電腦在視窗九五的 作業系統之下,於進入省電模式,設定電腦的數據 機介面卡的方法,在電話鈴聲進入電腦的數據機時, 叫醒電腦省電模式。 5-2發明背景: 隨著環保意識的高漲*電腦業界亦吹起一陣環保 風,一些符合環保要求的電腦,諸如綠色電腦紛紛 出籠,而在諸多環保規範中,一個重要的標準即在 電腦省電功能的好壞。 Λ 經濟部中央標準局貝工消費合作社印製 (請先閲讀背面之注意事項再填寫本頁) 就筆記型電腦系統而言,其省電功能可分為下列 三個模式。第一種是DOZE棋式*此時系統只是將 中央微處理器(Central Processing Unit, CPU)的頻率 降低而已。第二種是STANDBY模式,在STANDBY 階段,系統會把螢幕切掉、硬碟馬達停掉、軟碟控 制器進入省鼇狀態、串列埠與並列埠的緩衝器切掉 以及降低中央微處理器的頻率。第三種是SUSPEND 模式,有兩種情況,將所有系統狀態存入主記憶體 中,只剩下主記憶體及顯示器記憶體的耗電,或者 2 本紙張尺度適用中國國家標準(CNS ) A4规格(210X297公釐) 經濟部中央樣隼局員工消費合作社印製 A7 B7 , 五、發明説明() 將所有系統資科存入特定硬碟磁區中,然後全部電 源關掉,系統只剩下備用之電力消耗。 在整個電源管理上,必須對系統的硬體作相當多 的動作,這些都應由基本輸入輸出系k(Basic Input Output System,BIOS)來負貴*但是筆記型電腦使用 —種比基本輸入輸出系統中断更優先的系統管理中 斷(System Management Interrupt, SMI),以達到真正 能全面控制系統的階段。 —般電腦系統多透過晶片組(Chipset)來控制電腦 的用電量,而電腦的作業系統本身卻無法操控硬體 元件來達到省電的功能*必須經由一高階電源管理 (Advanced Power Management,APM)模組為媒介,方 可達到與硬體元件進行溝通之功能。 如第一圇所描繪在個人電腦系統中,利用高階氅 源管理模組(Advance Power Management, APM)處理 硬體元件所產生事件之流程圖,當一硬體元件產生 —事件時(步驟101 ),電腦的晶片組將利用一協定 來傳送該事件* 一般係將該事件利用系統管理插斷 (System Management Interrupt,SMI)來傳送該事件, 以通知基本輸入輸出系統(Basic Input Output System, BIOS)(步驟102);接著基本輸入輸出系統將檢查 3 本紙張尺度適用中國國家標準(CNS ) Α4規格(210X297公釐) 1.1-r---—ιί------訂---:!ΊΓ • . (請先閲讀背面之注意事項再填寫本頁) Λ7 Β7 五、發明説明() 胲系統管理插斷(SMI )的來源,以獲知該事件的發 出來源(步驟103)。當需要作業系統作進一步之處 理時,則在透過高階電源管理棋組(APM)產生訊息來 通知作業系統(步驟104 ),作業系統接著於基本輸 入輸出系統後,以β查表方式獲得相關資訊再進行處 理(步驟105 )。 以低電源(Battery low alert)之情形為例,電池(即 硬體元件)將低電源訊息送至晶片組(步驟101), 而晶片組在產生系統管理插斷(SMI )通知基本輸入 輸出系統(步驟102)。此時之基本輸入輸出系統在 檢查該系統管理插斷來源後,即獲知該事件為電池 所發出,若基本輸入输出系統可處理該情況則直接 進行處理(步驟103)。當基本輸入输出系統無法對 該事件進行處理時,將經由高級能通管理(APM ) 模組產生訊息通知作業系統(步驟104) *作業系統 經濟部中央標準局員工消费合作社印製 (請先閲讀背面之注意事項再填寫本頁) 則以查表的方式,獲得電池發出低電源之訊息,並 通知使用者電源不足的情形,當使用者輸入指令後 (如Stand by或Suspend等霞源管理措施),再透 過高級能源管理(APM )棋組通知基本輸入輸出系 統作處理(步驟105 )。 利用第一圖的流程圖,進行霆腦省氅模式的處理 流程,使得電腦進入stand by或是suspend的省電模 4 本紙張尺度適用中國國家標準(CNS ) Α4規格(2丨0Χ297公釐) 經濟部中央標準局員工消費合作社印製 A7 B7 , 五、發明説明() 式。於視窗九五的作業系統之中,提供一種當數據 機(Modem )接到電話鈴聲時,可以叫醒電腦的省 電模式。電腦的省鼇模式就如第一圖所示的流程圖, 電腦的作業系統在接到系統管理插斷(SMI )之後, 進行省電模式^的處理。在一般的桌上型電腦,所使 用的數據機介面不是 PCMCIA(Personal Computer Memory Card International Association)型,當電腦 進入省電模式,電腦的作業系統會對數據機的控制 卡加以設定,使得電話鈴聲可以叫醒進入省電模式 的電腦。 筆記型電腦大部份使用PCMCIA型的數據機,當 筆記型電腦使用視窗九五作業系統,在作業系統進 行省電模式的處理*會朋閉數據機介面卡的電源, 但作業系統不會對PCMCIA型的數據機介面卡進行 功能設定,在關閉電源之後,當電話鈴聲進入時, 不會叫醒進入省電模式的數據機。 如第二圖所示,第二圖描繪出利用應用程式控制 PCMCIA控制器的流程圖〇首先,基本輸入輸出系統 發出高級能源管理(APM )的省電事件(步驟201) * 通知作業系統進入省電模式(步驟202),此時作業系 統包含一個應用程式,由此應用程式設定數據機介 面卡及PCMCIA控制笋(步驟203 ),作業系統再關 5 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) mK —t^i ί I In a HI m^i t^m \ h —-«-I— n nn n^— I (請先閲讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消費合作社印聚 A7 B7 , 五、發明説明() 掉數據機介面卡電源(步驟204 ),接著基本輸入輸 出系統使電腦進入省電模式(步驟205 )。這是利用 應用程式去處理數據機介面卡及PCMCIA控制器的 設定問題*當應用程式設定之後,作業系統會關掉 數據機介•面卡的電源,這使得在其上的設定消失, 而且要完成叫醒的功能,數據機介面卡的電源是不 能關掉的。 請參閱第三圖其描繪的流程圖,有關應用程式的 應用情況,當第二圇之中的流程圖進入步驟203 *有 關應用程式對PCMCIA控制器的設定。首先尋找個 人電腦數據機介面卡(PC MODEM CARD)的電話鈴 聲開關位址(步驟301),然後開啓電腦數據機介面 卡的電話鈴聲控制(步驟302 ),接著開啓PCMCIA插 槽(Socket)的電話鈴聲控制(步驟303 ),再開啓 PCMCIA控制器的電話鈴聲控制(步驟304 ),使得 電話鈴聲可以進入控制器,最後基本輸入輸出系統 使電腦進入省電狀態。利用這種方法進行電腦的省 鼇模式,發現在進入省氅狀態時,只有電腦數據機 介面卡的電源被關掉,而PCMCIA控制器並沒有被 關掉電源。 其實,基本輸入輸出系統在將電腦進入省電模式 時,再將數據機介面卡的電源打開,再填入適當的 6 本紙張尺度適用中國國家標準(CNS ) A4规格(210X297公釐) -I;----io------ITI-i.IIΙΓ (請先閱讀背面之注意事項再填寫本頁) 問題。但是這一段程式 碼需要尊找在數據機介 而電話鈴聲控制在介面 此位置必須由電腦搜尊 碼非常 面卡之 卡記憶 而得* 此外, A7 B7 五、發明説明() 設定值,就可解決此 複雜,因為此段程式 上的電話鈴聲控制, 體的位置並不固定, 所以此|£程式碼需要據相當多的記憶空間 在基本輸入輸出系統程式空間有限的憒況下,將所 有的程式碼寫入基本輸入輸出系統之中,不是一個 適當的方法。為了解決此兩難的情況*可把程式碼 適當分成兩部份,一部份放在應用程式之中,另一 部份放在基本輸入輸出系統之中*再加上適當的介 面,在基本輸入輸出系統之中放入較少的程式碼, 而完成此功能。 5-3發明目的及概述: 本發明是有關一種叫醒進入省電狀態的筆記型電 腦的方法,利用在作業系統之下加掛一個應用程式, 搜尋數據機介面卡的電話鈴聲開關位址,把這個資 料傳送給電腦的基本輸入輸出系統,在進入電腦的 省電模式之前,應用程式會設定好PCMCIA控制器, 使得電話鈴聲會叫醒進入省電模式的電腦。 首先,產生一省電事件,由基本輸入輸出系統發 出高級能源管理(APM )的省電事件,通知作業系 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) JT1 —^K— n^i HMH ml nm flm nn ·ν^ϋ 1Jfl^i— ilfrl tm —^n n^i • M ¥ -1 . ·( ** (請先閲讀背面之注意事項再填寫本頁) 經濟部中央標準局貝工消費合作社印製 A7 B7 ' 五、發明説明() 統要進入省電模式,在作業系統之下的應用程式會 接收到省電事件*並處理相關事宜,尊找電腦數據 機介面卡(PC MODEM CARD )的霆話鈴聲開朋位址, 並利用中間插斷功能(INT FUNCTION )介面卡,把 這個資料傳送到基本輸入輸出系統,應用程式打開 PCMCIA插槽(SOCKET )的電話鈴聲控制,打開 PCMCIA控制器的電話鈴聲控制,接著作業系統關閉 數據機介面卡的控制電源,並通知基本輸入輸出系. 統進入省電模式,接著基本輸入輸出系統打開數據 機介面卡控制霆源,打開數據機介面卡上的電話鈴 聲開關,最後電腦進入省電模式。 5-4圖式簡單說明: 參考下列的發明詳細說明,本發明的後續方向與 優點可以很容易的被瞭解與被鑑賞,並配合後面的 圖式加以說明,其中包含: 經濟部中央標隼局員工消費合作社印製 (請先閲讀背面之注意事項再填寫本頁) 第一圖描繪電腦系統中,利用高階電源管理模組 處理硬體元件所產生事件之流程圖: 第二圖描繪在電腦作業系統之中的應用程式,設 定數據機相關資料的流程圖; 第三圖描繪筆記型電腦系統中,利用一個應用程 式設定PCMCIA介面卡的流程圖: 第四圖為本發明較佳實施列的流程圇,描繪利用 8 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) 經濟部中央標準局員工消費合作社印製 Λ7 B7 1 五、發明説明() —個應用程式與基本輸出輸入系統的設定, 控制電腦進入省電模式的流程圖; 第五圖為本發明的較佳實施例,描繪作業系統的 應用程式*設定數據機控制卡的流程圖:及 第六圖為本發明的較佳實施例的一部份*當基本 輸入輸出系統接手之後,使電腦進入省電狀 態的流程圖。 5 - 5發明詳細說明: 以下將利用一個較佳實施例說明本發明,說明如 何改變應用程式與基本輸入輸出系統(Basic Input Output System,BIOS)的分工,將有關設定數據機 (Modem)控制器(controller)的程式碼,分別放入應 用程式與基本輸入輸出系統之中*對數據機控制器 加以設定,再使電腦進入省電模式。 請參閱第四圖的流程圖,說明有關應用程式與基 本輸入輸出系統的分工,藉由此一流程圖的工作程 序,使電腦進入省電模式之前*完成數據機控制器 的設定,當電話鈴聲進入時*可以叫醒進入省電模 式的電腦。首先,基本輸入輸出系統發出高級能源 管理(Advance Power Management, APM)的省電事件 (步驟401),這個省電事件被發給作業系統。省電事 9 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) l#f HXT im «nil ^ι*ϋ i flu^i US—· i flu^i l.J ml— m^i —^n tfum tfmf ^i^ip / ^¾ i 《 # A / (請先閲讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消費合作社印製 A7 B7 1 五、發明説明() 件是一種系統管理模式(System Management Mode, SMM ) 或是系統管理插断(System Management Interrupt, SMI)。應用程式是一個加掛於作業系統的 應用程式,當省電事件從基本輸入輸出系統發出至 作業系統,是由這個應用程式予以處理。 當作業系統的應用程式接到發生事件,進行相關 事宜的處理(步驟402 ),這部份將在後面的第五圖. 之中詳細說明。有關此步驟的目的,是藉由應用程 式搜尊數據機介面卡上的電話鈴聲開關位址,因為 在數據機介面卡上的開關位址是隨機位址,在搜尊 之後,對數據機的周圍硬體加以設定。 然後,應用程式應用程式利用一介面,通知基本 輸入輸出系統相朋資料(步驟403 ) ·並存入基本輸 入輸出系統之中,這個相關資料是有關數據機控制 卡的電話鈴聲開關位址*等到基本輸入輸出系統接 手時,可以輕易找到數據機介面卡的電話鈴聲開關, 這裡所使用的介面是中間插断功能 (INT FUNCTION )介面。 接著,作業系統關閉數據機介面卡的控制電源(步 驟 404 ) *作業系統通知基本輸入輸出系統進入 SUSPEND省電模式(步驟405 ),換言之,當作業 本紙張尺度適用中國國家標準(CNS ) A4規格(210 X 297公釐)Λ 7 Β7-V. Description of the Invention (5-1) Field of the Invention: The present invention relates to a method for a notebook computer to enter a power saving mode, and particularly relates to a notebook computer under the operating system of the Windows 95 To enter the power saving mode, set the modem interface card of the computer to wake up the computer's power saving mode when the phone bell enters the computer's modem. 5-2 Background of the Invention: With the rising awareness of environmental protection, the computer industry is also blowing a wave of environmental protection. Some computers that meet environmental protection requirements, such as green computers, have come out. Among many environmental protection standards, an important standard is in the Ministry of Computers. Good or bad electrical function. Λ Printed by the Shell Standard Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs (please read the notes on the back before filling out this page) As far as the notebook computer system is concerned, its power saving function can be divided into the following three modes. The first is the DOZE chess style. At this time, the system just reduces the frequency of the Central Processing Unit (CPU). The second is the STANDBY mode. During the STANDBY phase, the system will cut off the screen, stop the hard disk motor, enter the state of the floppy disk controller, cut off the buffers of the serial and parallel ports, and reduce the central microprocessor. Frequency of. The third is the SUSPEND mode. There are two cases. All system states are stored in the main memory, and only the power consumption of the main memory and display memory is left, or 2 paper standards are applicable to the Chinese National Standard (CNS) A4. Specifications (210X297 mm) A7 B7 printed by the Consumer Cooperative of the Central Bureau of Samples of the Ministry of Economic Affairs, V. Description of the invention () Store all system assets in a specific hard disk sector, and then turn off all power, leaving only the system left Standby power consumption. In the whole power management, there must be quite a lot of actions on the system's hardware. These should be expensive by the Basic Input Output System (BIOS) *. But the use of notebook computers is a kind of basic input and output. System interrupts have a higher priority than System Management Interrupts (SMIs) to reach a stage where they can truly control the system. —Generally, computer systems use chipset to control the power consumption of the computer, but the computer's operating system itself cannot control the hardware components to achieve the function of saving power. * It must be advanced power management (APM) ) Module is the medium to achieve the function of communicating with hardware components. As depicted in the first figure, in a personal computer system, a flowchart of processing events generated by a hardware component using an advanced power management module (Advance Power Management, APM), when a hardware component generates an event (step 101) The computer's chipset will use a protocol to transmit the event * Generally, the event is transmitted using System Management Interrupt (SMI) to notify the Basic Input Output System (BIOS) (Step 102); Then the basic input and output system will check 3 paper sizes that are applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm) 1.1-r ----- ιί ------ order --- :! ΊΓ •. (Please read the notes on the back before filling this page) Λ7 Β7 V. Description of the invention () 的 The source of the system management interrupt (SMI) to know the source of the event (step 103). When the operating system is required for further processing, a message is generated to notify the operating system through the high-level power management chess set (APM) (step 104). The operating system then obtains relevant information in the form of a beta table after the basic input and output system. Process again (step 105). Take the case of a low power (Battery low alert) as an example, the battery (ie, the hardware component) sends a low power message to the chipset (step 101), and the chipset generates a system management interrupt (SMI) to notify the basic input and output system (Step 102). At this time, after checking the source of the system management interruption, the basic input / output system knows that the event was issued by the battery. If the basic input / output system can handle the situation, it will proceed directly (step 103). When the basic input output system cannot handle the event, it will generate a message to notify the operating system via the Advanced Energy Management (APM) module (step 104) * The operating system is printed by the Staff Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs (please read first Note on the back, please fill in this page again.) By means of checking the table, you can get the message of low power from the battery, and notify the user of the power shortage situation. After the user enters the instruction (such as Stand by or Suspend and other management measures) ), And then notify the basic input and output system for processing through the advanced energy management (APM) chess group (step 105). Use the flowchart in the first figure to carry out the processing flow of the brain-saving mode, so that the computer enters the stand-by or suspend power-saving mode. 4 The paper size applies the Chinese National Standard (CNS) Α4 specification (2 丨 0 × 297 mm). A7 B7 printed by the Consumer Cooperatives of the Central Bureau of Standards of the Ministry of Economic Affairs. In the operating system of Windows 95, a power-saving mode is provided that can wake up the computer when the modem receives a telephone ringtone. The computer-saving mode of the computer is like the flowchart shown in the first figure. After receiving the system management interrupt (SMI), the computer's operating system performs the processing of the power-saving mode ^. In general desktop computers, the modem interface used is not PCMCIA (Personal Computer Memory Card International Association) type. When the computer enters the power saving mode, the computer's operating system will set the modem's control card to make the phone ring. You can wake up the computer to enter the power saving mode. Most laptops use PCMCIA modems. When laptops use the Windows 95 operating system, power-saving processing is performed on the operating system. * The power of the modem interface card will be shut down, but the operating system will not The PCMCIA modem interface card is used to set the functions. After the power is turned off, when the telephone ringtone is entered, it will not wake up the modem that enters the power saving mode. As shown in the second figure, the second figure depicts a flow chart of controlling the PCMCIA controller using an application program. First, the basic input and output system issues an advanced energy management (APM) power saving event (step 201). Electrical mode (step 202), at this time, the operating system includes an application, from which the modem card and PCMCIA control bamboo shoots are set (step 203), and the operating system is turned off again. 5 The paper size applies the Chinese National Standard (CNS) A4. Specifications (210X297 mm) mK —t ^ i ί I In a HI m ^ it ^ m \ h —- «-I— n nn n ^ — I (Please read the precautions on the back before filling this page) Ministry of Economy The Central Standards Bureau ’s Consumer Cooperative Co., Ltd. Printed A7 B7, V. Description of the invention () Turn off the power of the modem card (step 204), and then the basic input-output system puts the computer into the power saving mode (step 205). This is to use the application program to deal with the settings of the modem interface card and PCMCIA controller. * After the application program is set, the operating system will turn off the power of the modem interface card. This makes the settings on it disappear. After completing the wake-up function, the power of the modem card cannot be turned off. Please refer to the flowchart depicted in the third figure. For the application of the application, when the flowchart in the second step enters step 203 * About the application's setting of the PCMCIA controller. First look for the phone ringtone switch address of the PC modem card (step 301), then turn on the phone ringtone control of the computer modem card (step 302), and then turn on the phone in the PCMCIA socket. Ringtone control (step 303), and then turn on the phone ringtone control of the PCMCIA controller (step 304), so that the phone ringtone can enter the controller, and finally the basic input output system makes the computer enter a power-saving state. Using this method to perform the province-saving mode of the computer, it was found that when entering the province-saving state, only the power of the computer data interface card was turned off, and the PCMCIA controller was not turned off. In fact, when the basic input-output system puts the computer into the power saving mode, the power of the modem card is turned on, and the appropriate 6 paper sizes are applied to the Chinese National Standard (CNS) A4 specification (210X297 mm) -I ; ---- io ------ ITI-i.IIΙΓ (Please read the precautions on the back before filling this page) Problem. But this piece of code needs to be found in the data machine interface and the phone ringtone is controlled in the interface. This location must be obtained by the computer searching for the code and the card on the face card. * In addition, A7 B7 V. Description of the invention () Setting value, you can Solve this complexity, because the location of the phone ring control on this program is not fixed, so this £ code needs to have a considerable amount of memory space under the condition that the basic I / O system program space is limited. Writing code into a basic input-output system is not an appropriate method. In order to solve this dilemma, the code can be properly divided into two parts, one part is placed in the application program, and the other part is placed in the basic input and output system. * Plus the appropriate interface, the basic input Put less code into the output system to complete this function. 5-3 Purpose and Summary of the Invention: The present invention relates to a method for waking a notebook computer into a power-saving state. By using an application program under an operating system, searching for a telephone ring switch address of a modem card, Send this information to the computer's basic input and output system. Before entering the computer's power saving mode, the application program will set the PCMCIA controller so that the phone ring will wake up the computer entering the power saving mode. First, a power-saving event is generated, and the basic input-output system sends an advanced energy management (APM) power-saving event to notify that the paper size is in compliance with the Chinese National Standard (CNS) A4 specification (210X297 mm) JT1 — ^ K— n ^ i HMH ml nm flm nn · ν ^ ϋ 1Jfl ^ i— ilfrl tm — ^ nn ^ i • M ¥ -1. · (** (Please read the notes on the back before filling this page) Central Standards of the Ministry of Economic Affairs A7 B7 printed by the Bureau Cooperative Consumer Cooperative Co., Ltd. 5. Description of the invention () To enter the power saving mode, applications under the operating system will receive power saving events * and handle related matters, and look for computer modem interface cards (PC MODEM CARD), and use the INT FUNCTION interface card to transfer this data to the basic input and output system. The application program opens the PCMCIA slot (SOCKET) phone ringtone control. , Turn on the ringtone control of the PCMCIA controller, then turn off the control power of the modem interface card and notify the basic input / output system. The system enters the power saving mode, and then the basic input / output system is turned on. According to the machine interface card to control Tingyuan, turn on the phone ring switch on the modem interface card, and finally the computer enters the power saving mode. 5-4 Schematic description: With reference to the following detailed description of the invention, the subsequent directions and advantages of the present invention can be very Easy to be understood and appreciated, and explained with the following diagrams, including: Printed by the Consumer Cooperatives of the Central Bureau of Standards of the Ministry of Economic Affairs (please read the precautions on the back before filling this page) The first picture depicts the computer system In the flowchart of using a high-level power management module to process events generated by hardware components: The second figure depicts the flow chart of the application program in the computer operating system to set the data related to the modem; the third figure depicts the notebook computer system In the application, the flow chart for setting up the PCMCIA interface card is as follows: The fourth figure is the flow chart of the preferred embodiment of the present invention. It depicts the use of 8 paper sizes to apply the Chinese National Standard (CNS) A4 specification (210X297 mm). Printed by the Consumer Standards Cooperative of the Central Bureau of Standards Λ7 B7 1 V. Description of the invention () — an application and basic output The system setting is a flowchart of controlling the computer to enter the power saving mode. The fifth figure is a preferred embodiment of the present invention, which depicts the flow chart of setting the modem control card by the application program of the operating system: and the sixth figure is the flowchart of the present invention. Part of the preferred embodiment * The flowchart of making the computer enter the power-saving state after the basic input output system is taken over. 5-5 Detailed description of the invention: The following will use a preferred embodiment to explain the invention and how to change the application The division of labor between programs and basic input output systems (BIOS) puts the code for setting the modem controller into the application program and the basic input output system. The controller sets it up and puts the computer into power saving mode. Please refer to the flowchart in the fourth figure to explain the division of labor between the application program and the basic input and output system. With this flowchart, the computer can enter the power saving mode before completing the setting of the modem controller. When entering *, you can wake up the computer to enter the power saving mode. First, the basic input-output system sends an advanced power management (APM) power saving event (step 401), and this power saving event is sent to the operating system. Electricity saving matter 9 This paper size applies Chinese National Standard (CNS) A4 specification (210X297mm) l # f HXT im «nil ^ ι * ϋ i flu ^ i US— · i flu ^ i lJ ml— m ^ i — ^ n tfum tfmf ^ i ^ ip / ^ ¾ i "# A / (Please read the notes on the back before filling this page) Printed by the Consumers Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs A7 B7 1 V. Description of the invention () A system management mode (System Management Mode, SMM) or system management interrupt (System Management Interrupt, SMI). An application is an application added to the operating system. When a power saving event is sent from the basic input output system to the operating system, it is handled by this application. When the application of the operating system receives an event and processes related matters (step 402), this part will be explained in detail in the fifth figure. The purpose of this step is to search the phone ring switch address on the modem card through the application program, because the switch address on the modem card is a random address. After searching, the Peripheral hardware. Then, the application program uses an interface to notify the basic input and output system of each other's data (step 403). It is stored in the basic input and output system. This related information is the telephone ring switch address of the modem control card. When the basic input and output system takes over, you can easily find the telephone ring switch of the modem card. The interface used here is the INT FUNCTION interface. Next, the operating system turns off the control power of the modem interface card (step 404). The operating system notifies the basic input and output system to enter the SUSPEND power saving mode (step 405). In other words, when the paper size of the job is in accordance with the Chinese National Standard (CNS) A4 specification (210 X 297 mm)
Ln n^fl tml nn tnn tn^ Am— mu ^ J ml mV Bn— flm (請先閲讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消费合作社印製 Λ7 B7 - 五、發明説明() 系統做完相朋的設定動作,便把控制權交還給基本 輸入輸出系統。然後,基本輸入輸出系統打開數據 機介面卡的控制電源(步驟406),設定數據機介面 卡的鈴聲控制開閟(步驟407 ),最後電腦進入省電 模式。 以上所述是有關應用程式與基本輸入輸出系統的 分工情況,與第二圖的習知技術相較起來*當作業 系統接到省電事件之後,應用程式會自動去搜尋數 據機介面卡的相關資料,而且將此資料傳送到基本 輸入輸出系統之中,在作業系統關閉數據機介面卡 的控制電源之後,基本輸入输出系統可以再度開啓 控制電源,設定介面卡的開朋。換言之,應用程式 必須負起搜尊開關位址的貴任,可以使得基本輸入 輸出系統之中的程式碼不會過於複雜,節省許多記 憶體空間。 接著,請參閱第五圖,說明有朋作業系統接到省 電事件後*應用程式的進行程序。應用程式尊找電 腦數據機介面卡的電話鈴聲開關位址(步驟501), 利用中間插斷功能(INT FUNCTION)介面*通知基本 輸入輸出系統有關電話鈴聲開關位址(步驟502), 打開PCMCIA插槽(Socket )的電話鈴聲控制(步驟 503 ),開啓PCMCIA控制器的電話鈴聲控制(步驟 本紙張尺度適用中國國家標準(CNS ) Α4規格(210X297公釐) f IL-----A'界------IT-----—ο (請先閱讀背面之注意事項再填寫本頁) Λ7 B7 1 五、發明説明() 5 04 )。在完成這些步驟之後,作業系統關閉數據機 介面卡控制電源(步驟404 ),並通知基本輸入輸出 系統進入省電模式(步驟405 ),基本輸入輸出系統 進行下列動作使氅腦進入省鼇棋式,請參閱第六圖, 基本輸入輸出系統打開電腦數據機介面卡的控制電 源(步驟601),對數據機介面卡進行設定工作,開 啓電腦數據機介面卡的電話鈴聲控制(步驟602 ), 使得電話鈴聲進入時,可以叫醒進入省電模式的電 腦,基本輸入輸出系統使電腦進入省電狀態(步驟 603 ) ° 經濟部中央標準局員工消費合作社印製 (請先閱讀背面之注意事項再填寫本頁) 本發明在第五圖與第六圖所顯示出的具體實施 例,與在第三圖之中的習知技術有些許不同,在習 知技術之中,應用程式不會去尊找數據機介面卡的 電話鈴聲開關位址,而本發明所提供的具體實施例, 使用應用程式去尊找數據機介面卡的電話鈴聲開關 位址,並傳給基本輸入輸出系統*使得基本輸入輸 出系統在電腦進入省電棋式之前,可以找到數據機 介面卡的電話鈴聲開關位址*並加以開啓,最後再 進入省電模式。利用本發明的設計*進入省電模式 的電腦,在電話鈴聲進入數據機時*可以叫醒電腦 的省電模式。 本發明不僅可以運用在策記型電腦的數據機設 12 本紙張尺度適用中國國家標準( CNS ) A4規格(210X297公釐) 變,不會違背本發明的精 經濟部中央標準局員工消费合作社印黎 A7 B7 五、發明説明() 定,更可針對掌上型鼇腦的 WindowCE作業系統, 對數據機進行設定,使得鼇腦在進入省電模式之後, 能夠藉由電話鈴聲叫醒電腦,回到正常的工作狀態。 說明與敘述的本發明最佳實施例,很•清楚的被瞭 解到,在其中作不同的改 神與範圔。 本紙張尺度適用中國國家標準(CNS ) A4规格(210X297公釐〉 (請先閱讀背面之注意事項再填寫本頁)Ln n ^ fl tml nn tnn tn ^ Am— mu ^ J ml mV Bn— flm (Please read the notes on the back before filling out this page) Printed by the Consumers' Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs Λ7 B7-V. Description of the invention ( ) After the system completes the setting operation, it returns the control right to the basic input and output system. Then, the basic input output system turns on the control power of the modem card (step 406), sets the ringer control of the modem card (step 407), and finally the computer enters the power saving mode. The above description is about the division of labor between the application and the basic input-output system. Compared with the conventional technology in the second figure, when the operating system receives a power-saving event, the application will automatically search for the relevant interface of the modem. Data, and transfer this data to the basic input and output system. After the operating system turns off the control power of the modem card, the basic input and output system can turn on the control power again and set the interface card to open. In other words, the application must take on the responsibility of searching for the switch address, so that the code in the basic input-output system will not be too complicated, saving a lot of memory space. Next, please refer to the fifth figure to explain the process of the application when the friend operating system receives the power saving event *. The application looks for the phone ring switch address of the computer modem card (step 501), and uses the INT FUNCTION interface * to notify the basic input and output system about the phone ring switch address (step 502). Turn on the PCMCIA plug-in Socket phone ringtone control (step 503), turn on the phone ringtone control of the PCMCIA controller (step This paper size applies Chinese National Standard (CNS) A4 specification (210X297 mm) f IL ----- A 'boundary ------ IT -----— ο (Please read the notes on the back before filling this page) Λ7 B7 1 V. Description of the invention () 5 04). After completing these steps, the operating system turns off the modem interface card control power (step 404), and notifies the basic input-output system to enter the power-saving mode (step 405). The basic input-output system performs the following actions to enter the brain into the provincial-style chess Please refer to the sixth figure. The basic input and output system turns on the control power of the computer modem card (step 601), performs the setting work on the computer modem card, and turns on the phone ringer control of the computer modem card (step 602), so that When the telephone ringtone is entered, you can wake up the computer that enters the power saving mode. The basic input and output system makes the computer enter the power saving state (step 603) ° Printed by the staff consumer cooperative of the Central Standards Bureau of the Ministry of Economy (This page) The specific embodiments of the present invention shown in the fifth and sixth figures are slightly different from the conventional technology in the third figure. Among the conventional technologies, the application program does not look for Address of telephone ring switch of modem interface card, and the specific embodiment provided by the present invention uses an application program to find data The phone ringtone switch address of the computer interface card is passed to the basic input output system * so that the basic input and output system can find the phone ringtone switch address of the computer interface card and turn it on before the computer enters the power-saving chess mode. Finally, Then enter the power saving mode. Utilizing the design of the present invention * for a computer that enters the power saving mode, it can wake up the computer's power saving mode when the telephone ringtone enters the modem. The present invention can not only be applied to the data set of policy-type computer. The paper size is applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm). Li A7 B7 V. Description of the invention () It is also possible to set the modem for the WindowCE operating system of the Palm-type Brainwave, so that after entering the power-saving mode, the brainwave can wake up the computer by ringing the phone and return to Normal working condition. The preferred embodiment of the present invention, which has been illustrated and described, is clearly understood, and various modifications and paradigms are made therein. This paper size applies to China National Standard (CNS) A4 (210X297 mm) (Please read the precautions on the back before filling this page)