TWI228358B - Apparatus and method for wakeup on LAN - Google Patents

Apparatus and method for wakeup on LAN Download PDF

Info

Publication number
TWI228358B
TWI228358B TW092124031A TW92124031A TWI228358B TW I228358 B TWI228358 B TW I228358B TW 092124031 A TW092124031 A TW 092124031A TW 92124031 A TW92124031 A TW 92124031A TW I228358 B TWI228358 B TW I228358B
Authority
TW
Taiwan
Prior art keywords
computer system
programmable control
control device
wake
signal
Prior art date
Application number
TW092124031A
Other languages
Chinese (zh)
Other versions
TW200509593A (en
Inventor
Chang-Shu Huang
Original Assignee
Arima Computer Corp
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 Arima Computer Corp filed Critical Arima Computer Corp
Priority to TW092124031A priority Critical patent/TWI228358B/en
Application granted granted Critical
Publication of TWI228358B publication Critical patent/TWI228358B/en
Publication of TW200509593A publication Critical patent/TW200509593A/en

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Power Sources (AREA)

Abstract

An apparatus for wakeup on LAN (WOL) has a programmable control apparatus, a computer system and an interface device. The interface device sends a power management event (PME) signal to the programmable control apparatus and the computer system, respectively, after receiving a WOL package. When the computer receives the PME signal during a normal state, such as a sleep mode or a running mode, the computer in the sleep mode is restored to the running mode, and the computer in the running mode keeps running. When the computer receives the PME signal during in an abnormal off state, such as a halt mode or its power being cut off abnormally, a reset module of the programmable control apparatus resets the computer system.

Description

1228358 玖、發明說明 【發明所屬之技術領域】 本發明是有關於一種網路喚醒裝置與方法,且特別是 有關於一種當電腦系統處於當機狀態時,卻仍能夠重置電 腦的網路喚醒裝置與方法。 【先前技術】 近年來已發展出網路喚醒機制,使得使用者可透過遠 程終端伺服器(remote server),將另一端的電腦系統喚 醒。此電腦糸統所使用之網路介面卡(Network Interface Card,NIC)必須具有讓遠程終端伺服器喚醒的能力,方始 得電腦系統具有上述之功能。 一般而言,電腦系統中所使用之電源分為兩種,一種 為核心電源(core power) ’另一種則為備用電源(SUSpend power)。當電腦系統之交流電源插頭插上交流電之後,雖 然電腦系統的電源開關尚未啟動,但備用電源卻已提供給 電腦系統使用。另外,於電腦系統開機之後,當電腦系統 债測到某些裝置係處於非使用狀態時,可將其設為備用狀 態(suspend state),並停止供應此些裝置核心電源而僅提 供備用電源,以達到節省電源的功能。 ^電細糸統開機時,基本輸入/輸出系統(Basic Input/Output System,BIOS)會執行 ACPI(Advanced Configuration and Power Interface)程序(routine),以對電 1228358 腦系統進行完善的電源管理。在開機之後,作業系統可以 關掉(turn off)非使用中的周邊裝置,或者讓系統進入休眠 狀態。而當使用者按下鍵盤或移動滑鼠之後,AcP][程序 可以自動地讓電腦系統再度得到核心電源之供應。 上述之使電腦系統再度得到核心電源供應之步驟,亦 可利用網路喚醒之方式來完成。藉由使網路系統之遠程終 端傳送一網路喚醒封包給網路介面卡,當網路介面卡接收 到網路喚醒封包後,隨即傳送一訊號,即電源管理事件 (Power Management Event,PME),至電腦系統中之南橋晶 片(south bridge chip),以喚醒電腦系統。 再者,當要將電腦系統中之南橋晶片設定成可接收網 路介面卡所傳送之電源管理事件之狀態時,必須於基本輸 入/輸出系統執行開機程序之Acp^序後才能為之,也就 是必須於使用者按下電腦系統之電源開關,電腦系統開如 進入開機料後,方能完成對南橋日日日片的設定。而且^ 設定的過程當中,必須使用到核心電源之大電流,此係備 用電源所無法提供者。所以,在 ,pa ^ ^ 在傳統作法中,當電腦系統 未開機刖,南橋晶片是無法對锢 ^ ^ ^ 罔路介面卡所傳送之電源營 理事件做出任何反應,也就是 々十么 ^糸統在此時並無法藉由 網路來喚醒。換句話說,在傳 曰田 '先上,若電腦系統從未進行 過開機動作的話,電腦系統是 功能。 疋不會具備有可由網路喚醒的 而且,當電腦完成開機動作 並已經完成將電腦系統 1228358 设疋成可接受網路喊順夕壯能 从 俗典醒之狀恶之後,若此時電腦系 正常關機,例如是當機或是其交流電源係不正當地斷電的 話,將使得電料、統無法對上述之電源管理事件做出^ 反應。此時,雖然電腦系統中之備用電源仍然存在 已經無:藉由遠程終端之網路喚醒封包來喚醒電腦。傳統 ,只能藉由使用者手動按下電腦之電源開關來重置電腦 系、’先重新s又疋南橋晶片,才能夠使得電腦系統重新具 網路喚醒的功能。 ' 【發明内容】 如上所述,當電腦系統運用於伺服器系統時,則因為 在飼服器系統[往往將多台的電腦系統安裝於機架 (Rack)之上,因此若其中之一電腦系統發生當機時,則使 用者要重置此當機的電腦系統更為困難。 有鑑於此,本發明的目的就是在提供一種網路喚醒裝 置,當使用網路來喚醒處於當機狀態的電腦系統時,利用 一可程式化控制裝置來重置此電腦系統。 本發明的另一目的就是在提供一種網路喚醒方法,當 電腦系統發生當機時,依據其所監測電腦系統所獲得之系 統系統狀態資料,判斷是否可以藉由網路喚醒來重置此電 月向糸統。 本發明之又一目的就是在提供一種網路喚醒方法,此 方法可針對電腦系統所處之不同狀態做出不同的回應,改 1228358 善白知,罔路喚醒方法無法唤醒已當機之電腦系、統的問題。 本卷月之再目的就是在提供一種可程式化控制裝 置’此可程式化控制裝置係利用其與電腦系統間的握手協 定,來確認此電腦系統是否處於正常狀態,當此電腦系統 不處於正常狀態時,此可程式化控制裝置可用以重置此電 腦系統。 根據本發明之上述目的,提出一種網路喚醒裝置,包 含一可程式化控制裝置、一電腦系統以及一介面裝置。當 介面裝置接收到一網路喚醒封包後,會分別發送一電源管 理事件訊號至可程式化控制裝置與電腦系統。若電腦系統 係處於正常狀態,例如睡眠狀態以及運轉狀態,則當其接 收到此電源官理事件訊號時,處於睡眠狀態的電腦會啟動 並恢復至運轉狀態,而處於運轉狀態的電腦系統則會繼續 維持運轉,並不受到此電源管理事件訊號的影響。若電腦 系統係處於異常關機狀態,例如當機狀態或是其電源被不 j當地斷電,則當電腦系統接收到此電源管理事件訊號 日守,其南橋晶片無法對此電源管理事件訊號做出相對的回 應。 ^本發明之可程式化控制裝置包含一接收模組、一握手 p、、、X及重置模組,其中接收模組係用以接收來自介面 凌置之一電源管理事件訊號。此可程式化控制裝置的控制 邏輯為,其握手模組利用一握手協定與電腦系統聯絡,以 判斷電腦系統係處於正常狀態或異常關機狀態。當此可程 !228358 式化控制裝置接收到電源管理事件訊號時,若此時電腦系 統係處於正常狀態,則此可程式化控制裝置並不會重置此 電腦系統,若此時電腦系統係處於異常關機狀態,則此可 程式化控制裝置會利用其重置模組重置此電腦系統。 依照本發明一較佳實施例,此介面裝置為一網路介面 卡。再者,可程式化控制裝置則為一基板管理控制器 (Baseboard Management Controller,BMC)晶片,通常為一 8〇5 1晶片直接配置於電腦系統中之主機板,負責監控整 個電腦系統的系統狀態,並產生一系統狀態資料。而且, 此實施例中之電腦系統係利用一南橋晶片來接收上述之 電源控制訊號。當握手模組藉由握手協定發現電腦系統係 處於異常關機狀態時,再配合該系統狀態資料,可判斷電 腦系統之系統狀態在此時是否適合利用網路喚醒封包來 加以重置。 。可程式化控制裝置被設定成發送一第1228358 发明 Description of the invention [Technical field to which the invention belongs] The present invention relates to a network wake-up device and method, and in particular to a network wake-up capable of resetting a computer when the computer system is in a down state Device and method. [Previous technology] In recent years, a network wake-up mechanism has been developed, so that users can wake up the computer system on the other end through a remote terminal server. The network interface card (NIC) used by this computer system must have the ability to wake up the remote terminal server for the computer system to have the above functions. Generally speaking, there are two types of power used in computer systems, one is core power ′ and the other is SUSpend power. When the AC power plug of the computer system is plugged into AC power, although the computer system's power switch has not been turned on, backup power has been provided to the computer system. In addition, after the computer system is turned on, when the computer system detects that some devices are in a non-use state, it can be set to a suspend state, and the supply of core power to these devices is stopped, and only the standby power is provided. In order to achieve the function of saving power. ^ When the electrical system is turned on, the Basic Input / Output System (BIOS) will execute ACPI (Advanced Configuration and Power Interface) routines to perform complete power management of the electrical 1228358 brain system. After powering on, the operating system can turn off peripherals that are not in use, or put the system into hibernation. After the user presses the keyboard or moves the mouse, the AcP] [program can automatically make the computer system get the core power supply again. The steps mentioned above to make the computer system get the core power supply again can also be accomplished by using the Wake-on-LAN method. By enabling the remote terminal of the network system to send a Wake-up packet to the network interface card, when the network interface card receives the Wake-up packet, it then sends a signal, namely a Power Management Event (PME) To the south bridge chip in the computer system to wake up the computer system. Furthermore, when the South Bridge chip in the computer system is set to a state that can receive the power management events transmitted by the network interface card, it must be performed after the basic input / output system executes the Acp ^ sequence of the boot process. That is, the user must press the power switch of the computer system. After the computer system is turned on and enters the boot material, the setting of the Nanqiao Daily Film can be completed. And ^ During the setting process, the large current of the core power must be used, which is not available from the backup power supply. Therefore, in the traditional method, when the computer system is not turned on, the Southbridge chip cannot respond to the power management events transmitted by the 罔 ^ ^ 罔 road interface card, that is, 々 十 ^ The system cannot be awakened through the network at this time. In other words, it is said that if the computer system has never been turned on, the computer system is a function.疋 Will not be able to be awakened by the network, and when the computer completes the booting action and has completed the computer system 1228358 has been set to accept the network, shouting Xiuzhuangzhuang can wake up from the etiquette, if the computer is normal at this time Shutdown, for example, when the machine is shut down or its AC power supply is improperly disconnected, will cause the electrical equipment and system to fail to respond to the above-mentioned power management events. At this time, although the backup power in the computer system still exists: the computer is awakened by the remote terminal's network wake-up packet. Traditionally, the user can only reset the computer system by manually pressing the computer's power switch, and then re-suppress the south bridge chip, so that the computer system can have the Wake-on-LAN function again. '[Summary of the Invention] As mentioned above, when a computer system is applied to a server system, since the feeder system [often multiple computer systems are installed on a rack, so if one of the computers is When a system crash occurs, it is more difficult for the user to reset the computer system of the crash. In view of this, the object of the present invention is to provide a Wake-on-LAN device. When a networked computer system is awakened by a network, a programmable control device is used to reset the computer system. Another object of the present invention is to provide a wake-on-network method. When a computer system crashes, it is determined whether the power can be reset by the wake-on-network according to the system system state data obtained by the monitored computer system. Moonwise system. Another object of the present invention is to provide a network wake-up method. This method can respond differently to different states of a computer system. To improve 1228358, it is clear that the Wake-up method cannot wake up a computer system that has crashed. , Systemic issues. The purpose of this month is to provide a programmable control device. 'This programmable control device uses its handshake agreement with the computer system to confirm whether the computer system is in a normal state. When the computer system is not in a normal state, In this state, the programmable control device can be used to reset the computer system. According to the above object of the present invention, a wake-on-network device is provided, which includes a programmable control device, a computer system, and an interface device. When the interface device receives a Wake-on-LAN packet, it sends a power management event signal to the programmable control device and the computer system respectively. If the computer system is in a normal state, such as a sleep state and a running state, when it receives the power management event signal, the computer in the sleeping state will start and resume to the running state, and the computer system in the running state will Continue to operate without being affected by this power management event signal. If the computer system is in an abnormal shutdown state, such as when it is down or its power supply has been improperly disconnected, then when the computer system receives this power management event signal, the Japanese watchman, its southbridge chip cannot make this power management event signal. Relative response. ^ The programmable control device of the present invention includes a receiving module, a handshake p,, X, and a reset module, wherein the receiving module is used to receive a power management event signal from the interface. The control logic of this programmable control device is that its handshake module uses a handshake protocol to communicate with the computer system to determine whether the computer system is in a normal state or an abnormal shutdown state. When this programmable! 228358 type control device receives the power management event signal, if the computer system is in a normal state at this time, the programmable control device will not reset the computer system. If the computer system is at this time In the abnormal shutdown state, the programmable control device resets the computer system using its reset module. According to a preferred embodiment of the present invention, the interface device is a network interface card. In addition, the programmable control device is a baseboard management controller (BMC) chip, usually an 8051 chip directly configured in the motherboard of the computer system, which is responsible for monitoring the system status of the entire computer system , And generate a system status data. Moreover, the computer system in this embodiment uses a south bridge chip to receive the aforementioned power control signal. When the handshake module finds that the computer system is in an abnormal shutdown state through the handshake protocol, and then cooperates with the system status data, it can be determined whether the system status of the computer system is suitable for resetting by using the network wake-up packet. . The programmable control device is configured to send a first

常關機狀態。 在此實施例中,上述之握手協定係藉由一暫存器來完 一訊號,而電腦 一第二訊號,兩者交替地寫入暫存 及第一訊號具有相反的邏輯準位。 資料之邏輯準位一直保持與第一訊 即其並未被電腦系統改變成與第二 則可得知此時電腦系統係處於異 由上所述可知, 本發明之網路喚醒裝置,藉由其可程 1228358 式化控制裝置中所設定的操作邏輯,可使得位於遠程終端 之中央控制程式或是伺服器管理者,直接利用網路喚醒封 包重置處於異常關機狀態的電腦系統。此外,配合可程式 化控制裝置中之監測模組,可在上述之重置電腦系統之步 驟前,先行確認電腦系統之硬體設備是否具有任何問題, 除了避免重置硬體設備有問題的電腦系統而造成更大的 損失,而且也可免除習知要重置安裝於框架中之多台電腦 之一時的困難。 【實施方式】 以下利用兩個實施例來解釋本發明之網路喚醒裝 置,其中電腦系統之正常狀態係定義為包含運轉狀態與睡 眠狀態,而睡眠狀態包含了電腦系統操作中之軟關機模式 (softoffmode)以及中止模式(suspendm〇de)。再者,電腦 系統之異常關機狀態則定義為包含當機狀態或是其電源 被不正當地斷電的狀況。 第1圖係繪示本發明之一較佳實施例之示意圖,第2 圖則為第1圖中之較佳實施例之流程圖,以下的說明請配 合參照第1圖與第2圖。 首先’網路系統之遠程終端傳送一網路喚醒封包給網 路介面卡1〇4(步驟202)。當網路介面卡ι〇4接收到此網 路喚醒封包後,隨即將一訊號,即電源管理事件(power Management Event,PME),分別傳送至可程式化控制裝置 10 1228358 102a以及電腦系統1〇6(步驟204)。 在此實施例中,電腦系統106係利用一南橋晶片(圖 中未表示)接收來自網路介面卡丨04的電源管理事件訊 號。依照電腦系統106所處之不同狀態,本發明會做出不 同的對應步驟(步驟206)。當電腦系統1〇6處於運轉狀態 日守,則此南橋晶片忽略此電源管理事件訊號,電腦系統 106會繼績維持在正常的運轉狀態(步驟212)。當此電腦 系統106處於睡眠狀態時,則此南橋晶片在接收到電源管 理事件訊號後,會喚醒電腦系統1〇6,使電腦系統【%被 啟動並恢復至運轉狀態(步驟214)。而當此電腦系統 處於異常關機狀態時,例如當機狀態或是其電源被不正當 地斷電,則在接收到此電源管理事件訊號之後,其南橋晶 片並無法對此電源管理事件訊號做出相對的回應(步驟 216) 〇 本發明中之可程式化控制裝置102a包含一接收模組 112’ 一握手(Handshaking)模組114以及一重置模組116。 接收模、、且11 2係用以接收上述之來自網路介面卡}⑽之電 原g理事件讯諕。握手模組丨14會利用一握手協定與電腦 系統106鲁以判斷電腦系统1〇“系處於正常狀態或異 常關機狀態。關於太者& 7丨上 t ^ ^ 關力本κ施例中之握手協定在之後做詳細的 描述。 〇第3圖係纷示本發明之可程式化控制裝置之控制邏 輯之流程圖。當士卜可* #』 田此了私式化控制裝置102a接收到電源管 1228358 理事件訊號時(步驟302),若此時電腦系統1〇6被握手模 組1 μ判斷為係處於正常狀態(步驟304),則此可程式化 控制裝置102a並不會重置此電腦系統1〇6(步驟312)。若 此牯電細系統1〇6係被握手模組i 14判斷為處於異常關機 狀態(步驟304),則此可程式化控制裝置1〇2a會利用其重 置模組116重置此電腦系統1〇6(步驟314)。 第4圖係繪示握手協定之一較佳實施例之示意圖。在 此實施例中,握手協定係藉由一暫存器4〇2來完成。可程 參 式化控制裝置102a被設定成發送一第一訊號,具有高邏 輯準位1而電恥系統10 6則被設定成發送一第二訊號, 有低“輯準位〇,兩者交替地寫入暫存器402中。 因此,當暫存器402中所存資料之邏輯準位一直保持 與第一訊號之邏輯準位(高邏輯準位1}相同時,即其並未 如預期般地被電腦系統1〇6改變成與第二訊號之邏輯準 位(低輯準位〇)相同時’則可得知此時電腦系、统咖係 處於異常關機狀態。 _ 第5圖係繪示本發明之另一較佳實施例之示意圖,第 6圖則為第5圖中之較佳實施例之流程圖,以下的說明請 口,…、第5圖與第6圖。以下的實施例主要係用以說明 本^明如何應用在具有多台電腦的伺服器系統中。當多台 =腦^統均安裝於機架(Rack)之上,且其中之一電腦系統 ^生田機日守,使用本發明可有助於使用者判斷並重置此此 當機的電腦系統。 12 j228358 第5圖中之可程式化控制裝置1 〇2b較第1圖中之可 权式化控制裝置1 〇2a多具有一監測模組1 22以及一資料 輸出端1 24。在此實施例中,係利用一基板管理控制器 (Baseboard Management Controller,BMC)晶片來作為本 發明中之可程式化控制裝置l〇2b。基板管理控制器晶片 通常為一 805 1晶片直接配置於電腦系統1〇6中之主機 板’ 805 1晶片本身即具有微處理器、記憶體以及輸入/輸 出埠’且由備用電源(suspend power)來供給電源。基板管 理控制器晶片會收集有關電腦系統1 06之系統健康和系 統狀恶資訊’且當有嚴重事件產生時可以立即執行糾正的 動作。 通常基板管理控制器晶片的系統健康監測功能,是配 合複數個數位感測器來實現,數位感測器能監視不同的系 統電壓、溫度和風扇速度。基板管理控制器晶片係採用主 動輪詢的方式,來發現與之連接的複數個感測器中,是否 存在超出範圍的感測器。 而且’為了使監視工作切實有效’基板管理控制器晶 片可以根據不同的閘限值進行配置。例如,當基板管理控 制器晶片檢測到某個感測器之溫度超過某個警告閘限 時’就提高與該感測器位置對應之風扇的速度。再者,如 果糾正動作所產生的效果不夠,此超過某個警告閘線的溫 度就會超過另一個緊急閘限,此時基板管理控制器晶片就 會切斷系統電源、記錄事件過程並通過網路向遠程終端發 13 1228358 警告 首先,可程式化控制褒置麟利用其監測模組i22, 剛電腦系統1〇6之系統狀態資料,並且藉由資料輸出 缟U4將系統狀態資料傳送至遠程終端(步驟6〇」 :腦系統iG6處於異常關機狀態,位於遠程終端的二察 ,例如中央控制程式或是伺服器管理者,即可 統狀態資料來判斷是否要重置電腦系統1〇6(步驟^4)。'、 '下分別來討論如何判斷是否可重置電腦系統 。若是電腦系統106之系統狀態資料顯示此電腦系統 ,硬體設備發生故障,例如其散熱風扇故障無法有效幫助 散熱,或是任一線路之電壓值不正確時,則此時必須對此 電腦系統之硬體設備作進一步的檢測與修理,不可貿然地 重置此電腦系統106(步驟622)。 另一方面,若是電腦系統i 〇 6之硬體設備並無發生任 何問題,只因為某一雜訊(n〇ise)的影響使其發生當機的情 形,或者是其電源被不正當地斷電,但是並未對其硬體設 備造成任何傷害,則此時可發送網路喚醒封包來至網路介 面卡104,以重置此電腦系統106(步驟612)。 )同樣地,當網路介面卡104接收到此網路喚醒封包 後,會分別傳送一電源管理事件訊號至可程式化控制裝置 102b以及電腦系統1G6(步驟614)。然而,由於電腦系統 106已處於異常關機狀態,因此由網路介面卡1〇4直接傳 G過來的電源g理事件訊號並不會對電腦系統⑽產生 14 1228358 任何作用。 而本發明之可程式化控制裝置1 〇2b,已利用其握手 模組114確認電腦系統1〇6係處於異常關機狀態。因此, 當可程式化控制裝置102b之接收模組112接收到來自網 路介面卡1〇4之電源管理事件訊號之後,則此可程式化控 制裝置102b會利用其重置模組116重置此電腦系統 106(步驟 616)。Normally off. In this embodiment, the above-mentioned handshake protocol completes a signal by a register, and the computer and a second signal, both of which are alternately written into the temporary memory and the first signal has an opposite logical level. The logic level of the data has been maintained with the first message, that is, it has not been changed by the computer system to the second. It can be known that the computer system is in a different state at this time. It can be known from the above that the network wake-up device of the present invention is The operable logic set in the 1228358-type control device can enable a central control program or a server manager located at a remote terminal to directly use a network wake-up packet to reset a computer system in an abnormal shutdown state. In addition, with the monitoring module in the programmable control device, you can confirm whether the hardware equipment of the computer system has any problems before the above steps of resetting the computer system, in addition to avoid resetting the computer with problems in the hardware equipment The system causes greater losses, and it also eliminates the difficulty of resetting one of the multiple computers installed in the frame. [Embodiment] The following uses two embodiments to explain the network wake-up device of the present invention, wherein the normal state of the computer system is defined as including the operating state and the sleep state, and the sleep state includes the soft shutdown mode in the operation of the computer system ( softoffmode) and suspend mode. In addition, the abnormal shutdown state of a computer system is defined as including a down state or a state where its power supply is improperly powered off. Fig. 1 is a schematic diagram showing a preferred embodiment of the present invention, and Fig. 2 is a flowchart of the preferred embodiment in Fig. 1. Please refer to Figs. 1 and 2 for the following description. First, the remote terminal of the 'network system sends a Wake-on-LAN packet to the network interface card 104 (step 202). When the network interface card ι04 receives this Wake-on-LAN packet, a signal, namely a power management event (PME), is sent to the programmable control device 10 1228358 102a and the computer system 1 respectively. 6 (step 204). In this embodiment, the computer system 106 receives a power management event signal from the network interface card 04 using a south bridge chip (not shown). According to different states of the computer system 106, the present invention makes different corresponding steps (step 206). When the computer system 106 is in the running state and the day guard, the south bridge chip ignores the power management event signal, and the computer system 106 will continue to maintain the normal running state (step 212). When the computer system 106 is in the sleep state, the south bridge chip will wake up the computer system 106 after receiving the power management event signal, so that the computer system [% is activated and restored to the operating state (step 214). When the computer system is in an abnormal shutdown state, for example, when the computer system is shut down or its power supply is improperly powered off, after receiving this power management event signal, its south bridge chip cannot make a relative response to this power management event signal. Response (step 216). The programmable control device 102a in the present invention includes a receiving module 112 ', a handshaking module 114, and a reset module 116. The receiving module, and 11 2 are used to receive the above-mentioned electrical event messages from the network interface card}. The handshake module 14 will use a handshake protocol to communicate with the computer system 106 to determine whether the computer system 10 is in a normal state or an abnormal shutdown state. Regarding the master & 7 丨 上 t ^ ^ The handshake agreement will be described in detail later. Figure 3 is a flow chart showing the control logic of the programmable control device of the present invention. Dang Shibu Ke * # 』The private control device 102a receives power When managing the 1228358 event signal (step 302), if the computer system 10 is judged to be in a normal state by the handshake module 1 μ (step 304), the programmable control device 102a will not reset this. Computer system 106 (step 312). If this system is determined by the handshake module i 14 to be in an abnormal shutdown state (step 304), the programmable control device 102a will use it The reset module 116 resets the computer system 106 (step 314). FIG. 4 is a schematic diagram showing a preferred embodiment of the handshake protocol. In this embodiment, the handshake protocol is implemented by a register 4〇2. Programmable parameterized control device 102a is set to send Sending a first signal has a high logic level 1 and the electronic shame system 106 is set to send a second signal with a low "edit level 0", which are alternately written into the register 402. Therefore, when the logic level of the data stored in the register 402 is always the same as the logic level of the first signal (high logic level 1), it is not changed by the computer system 106 as expected. When the logic level (low level level 0) of the second signal is the same, it can be known that the computer system and the coffee system are in an abnormal shutdown state at this time. _ Figure 5 shows another preferred implementation of the present invention. Figure 6 is a schematic diagram of the preferred embodiment in Figure 5. Please refer to the following description, ..., Figures 5 and 6. The following examples are mainly used to explain this How to use it in a server system with multiple computers. When multiple computers are installed on a rack, and one of the computer systems is Ikuta Machine, the use of the invention can help The user judges and resets this crashed computer system. 12 j228358 The programmable control device 1 2b in Figure 5 has a monitoring module more than the controllable control device 1 2 2 in Figure 1. 1 22 and a data output terminal 1 24. In this embodiment, a baseboard management controller (Base A board management controller (BMC) chip is used as the programmable control device 102b in the present invention. The substrate management controller chip is usually an 8051 chip directly disposed on the mainboard of the computer system 106. The 8015 chip itself That is, it has a microprocessor, memory, and input / output ports' and is powered by suspend power. The baseboard management controller chip will collect information about system health and system status of the computer system 106. Corrective actions can be performed immediately when a serious event occurs. Usually, the system health monitoring function of the baseboard management controller chip is implemented in conjunction with multiple digital sensors, which can monitor different system voltages, temperatures, and fan speeds. The substrate management controller chip uses an active polling method to find out whether there is a sensor out of range among the plurality of sensors connected to it. And 'for the monitoring work to be effective', the substrate management controller chip can Configure according to different thresholds. For example, when the BMC wafer detects a certain When the temperature of a sensor exceeds a certain warning threshold, the speed of the fan corresponding to the position of the sensor will be increased. Furthermore, if the effect of the corrective action is not enough, the temperature exceeding a certain warning gate will Exceeds another emergency threshold, at this time the baseboard management controller chip will cut off the system power, record the event process and send a remote terminal 13 1228358 warning through the network. First, programmable control can be used to set up Zhilin to use its monitoring module i22, The system status data of the computer system 106 is transmitted to the remote terminal through the data output 缟 U4 (step 60): The brain system iG6 is in an abnormal shutdown state and is located at the second inspection of the remote terminal, such as central control The program or server manager can judge the status data to determine whether to reset the computer system 106 (step ^ 4). ',' Respectively discuss how to determine whether the computer system can be reset. If the system status data of the computer system 106 indicates that the computer system has a hardware failure, such as the failure of its cooling fan cannot effectively help the heat dissipation, or the voltage value of any line is incorrect, you must For further inspection and repair of the hardware equipment, the computer system 106 cannot be rashly reset (step 622). On the other hand, if there is no problem with the hardware of the computer system i 〇6, it is only caused by a certain noise (noise) to cause it to crash, or its power is improperly cut off. , But did not cause any harm to its hardware equipment, at this time, a wake-up packet can be sent to the network interface card 104 to reset the computer system 106 (step 612). ) Similarly, when the network interface card 104 receives the Wake-up packet, it sends a power management event signal to the programmable control device 102b and the computer system 1G6 (step 614). However, since the computer system 106 is already in an abnormal shutdown state, the power supply event signal transmitted directly from the network interface card 104 will not have any effect on the computer system. The programmable control device 10b of the present invention has used its handshake module 114 to confirm that the computer system 106 is in an abnormal shutdown state. Therefore, when the receiving module 112 of the programmable control device 102b receives the power management event signal from the network interface card 104, the programmable control device 102b uses its reset module 116 to reset this. Computer system 106 (step 616).

、在此實施例中,本發明之可程式化控制裝置為一可程 式化控制晶片’直接配置於電腦系統中之主機板。鈇而, 此可程式化控制晶片亦配置於一介面卡中,再與電腦系統 連接,或是配置於另—外接電腦系統,再利用感測器盘連 接線路與要㈣與監測的電腦系統連接。值得注意的是, 本發明亦可為其他可程式化控制裝置,例如—位於介面卡 亡之電路系統或一外接電腦系統中之監控,控制程式,亦 符合本發明之精神與範圍。In this embodiment, the programmable control device of the present invention is a programmable control chip 'which is a main board directly disposed in a computer system. Moreover, this programmable control chip is also arranged in an interface card, and then connected to the computer system, or it is arranged in another-an external computer system, and then the sensor disk connection line is used to connect to the computer system to be monitored and monitored. . It is worth noting that the present invention can also be other programmable control devices, such as a monitoring and control program located in the circuit system of an interface card or an external computer system, which also conforms to the spirit and scope of the present invention.

由上所述可知,本發明之網路喚醒裝置,藉由 式:控制裝置中所設定的操作邏輯,可使得位於遠程參 Ϊ重制程式或是伺服器管理者,直接利用網路喚, ^ 处於異常關機狀態的電腦系統。此外,配合可港 :㈣:置中之監測模組,可在上述之重置電腦:統: ==確認電腦系統之硬體設備是否具有任輸 損 置硬體设備有問題的電腦系統而造成更大 、 可免除習知要重置安裝於框架中之多台電 15 1228358 之一時的困難。 、="、、、本^明已以一較佳實施例揭露如上,然其並非用 以限定本發明,任何熟習此技藝者,在不脫離本發明之精 神和範圍内,當可作各種之更動與潤飾,因此本發明之保 濩範圍當視後附之申請專利範圍所界定者為準。From the above, it can be known that the network wake-up device of the present invention can use the operation logic set in the control device to make the remote reference program or server manager directly use the network call. ^ Computer system in abnormal shutdown state. In addition, with the monitoring module that can be installed in Hong Kong: ㈣: in the center, you can reset the computer in the above: System: == Confirm whether the hardware equipment of the computer system has a computer system that has any problems with the hardware equipment. Causes greater and eliminates the difficulty of resetting one of the multiple units 15 1228358 conventionally installed in the frame. , = &Quot; ,,, and the present invention have been disclosed as above with a preferred embodiment, but it is not intended to limit the present invention. Any person skilled in the art can make various changes without departing from the spirit and scope of the present invention. Changes and retouching, therefore, the protection scope of the present invention shall be determined by the scope of the appended patent application.

16 !228358 【圖式簡單說明】 點能$ 更曰月 式,作詳 顯县2讓本發明之上述和其他目的、特徵、和優 ,下文特舉一較佳實施例,並配合所附圖 f 1圖係%示本發明之一較佳實施例之示意圖; $ 2圖則為第丨圖中之較佳實施例之流程圖;16! 228358 [Simplified description of the figure] Click on the energy to change the month type, and to show the county 2 above and other purposes, features, and advantages of the present invention in detail, a preferred embodiment is given below, in conjunction with the accompanying drawings Figure 1 is a schematic diagram of a preferred embodiment of the present invention; Figure 2 is a flowchart of the preferred embodiment in Figure 丨;

第3圖係繪示本發明之可程式化控制裝置之控制邏 輯之流程圖; 第4圖係繪示握手協定之一較佳實施例之示意圖; 第5圖係繪示本發明之另一較佳實施例之示意圖;以 第6圖則為第5圖中之較佳實施例之流程圖。 【元件代表符號簡單說明】 102a、l〇2b:可程式化控制裝置 104 :網路介面卡 106 :電腦系統 11 2 :接收模組 114 :握手模組 116 :重置模組 122 :監測模組 124·資料輸出端 3 02、3 04、3 12、3 14 :步驟 17 1228358 402 :暫存器Figure 3 is a flowchart of the control logic of the programmable control device of the present invention; Figure 4 is a schematic diagram of a preferred embodiment of a handshake agreement; Figure 5 is a further comparison of the present invention A schematic diagram of the preferred embodiment; FIG. 6 is a flowchart of the preferred embodiment of FIG. 5. [Simple description of component representative symbols] 102a, 102b: Programmable control device 104: Network interface card 106: Computer system 11 2: Receiving module 114: Handshake module 116: Reset module 122: Monitoring module 124 · Data output 3 02, 3 04, 3 12, 3 14: Step 17 1228358 402: Register

Claims (1)

1228358 拾、申請專利範圍 1 · 一種網路喚醒裝置,至少包含: 一可程式化控制裝置; 一電腦系統,與該可程式化控制裝置連接;以及 .「介面裝置,分別與該可程式化控制裝置以及該電腦 糸、、先連接,其中當該介面裝置接收到一網路喚醒封包後, °亥面裝置會分別發送一管理訊號至該可程式化控制裝 置以及該電腦系統; 鲁 其中該可程式化控制裝置利用一握手協定判斷該電 腦裝置是否異常關機狀態,且當該電腦系統接收到該管理 訊號並同時處於該異常關機狀態時,該可程式化控制系統 對該電腦系統發出一開機訊號,以重置該電腦系統。 2.如申請專利範圍第1項所述之網路喚醒裝置,其 中該可程式化控制裝置係為一可程式化控制晶片。 3 ·如申請專利範圍第1項所述之網路喚醒裝置,其 中該可程式化控制裝置包含一監測模組,用以監測該電腦 系統之系統狀態並產生一系統狀態資料。 4·如申請專利範圍第3項所述之網路喚醒裝置’其 中該可程式化控制裝置更包含/資料輸出端’用以發送該 系統狀態資料。 19 1228358 ψ^女申"月專利範圍第1項所述之網路喚醒裝置,其 電腦系統具有一南橋晶片,用以接收該管理訊號。 6·如申請專利範圍第1項所述之網路喚醒裝置,其 中該介面裝置係為一網路介面卡。1228358 Patent application scope 1 · A network wake-up device, including at least: a programmable control device; a computer system connected to the programmable control device; and "Interface devices, respectively, to the programmable control The device and the computer are connected first. After the interface device receives a Wake-on-LAN packet, the device will send a management signal to the programmable control device and the computer system respectively. The programmable control device uses a handshake protocol to determine whether the computer device is in an abnormal shutdown state, and when the computer system receives the management signal and is in the abnormal shutdown state at the same time, the programmable control system sends a boot signal to the computer system To reset the computer system. 2. The wake-on-network device as described in item 1 of the scope of patent application, wherein the programmable control device is a programmable control chip. 3 · As item 1 of the scope of patent application In the wake-on-network device, the programmable control device includes a monitoring module for monitoring the power supply. The system status of the system generates a system status data. 4. The wake-on-network device according to item 3 of the patent application scope, wherein the programmable control device further includes a data output terminal to send the system status data. 19 1228358 The network wake-up device described in item 1 of the monthly patent application, its computer system has a south bridge chip to receive the management signal. Wake device, wherein the interface device is a network interface card. 上=如申請專利範圍第1項所述之網路喚 中忒&理矾號係為一電源管理事件訊號。 8· 一種網路喚醒方法,至少包含: 發送一網路喚醒封包至一介面裝置; X ’I面農置接收到該網路喚醒封包後,分別發送一管 理訊號至-可程式化控制裝置以及—電腦系統;Top = The network call as described in item 1 of the scope of patent application. The Zhongli & Alum signal is a power management event signal. 8. A network wake-up method, at least including: sending a network wake-up packet to an interface device; after receiving the network wake-up packet, the X'I plane farm sends a management signal to a programmable control device and -computer system; /、中田"亥電恥系統處於一運轉狀態時,該電腦系統 忽略該管理訊號, :4電恥系統處於一休眠狀態時,該管理訊號喚醒該 電腦系統,以及 當該電腦系統處於一異常 制裝置接收到該管理訊號後會 關機狀態時,該可程式化控 重置該電腦系統。 中 9. 該網 如申請專利範圍第8項所述之網路喚醒方法,其 路矣醒方法更包含利用該可程式化控制裝置與該 20 1228358 電腦系統間之一握手協定,來判斷該電腦系統係處於一正 常狀恶或該異常關機狀態,其中該正常狀態包含該運轉狀 態與該休眠狀態。 ' ίο·如申請專利範圍第9項所述之網路喚醒方法,其 中利用該握手協定之步驟至少包含: 〃 泫可程式化控制裝置與該電腦系統分別發送一第一 汛號與一苐二訊號以交替寫入於一暫存器,其中該第上 號與該第二訊號之邏輯準位相反; β 其中當該暫存器中所存之資料之邏輯準位保持與該 第一訊號之邏輯準位相同時,該電腦系統係處於該當機狀 。 11. 如申明專利範圍第8項所述之網路喚醒方法,1 中該介面裝置係為一網路介面卡。 /、 12. 如申請專利範圍第8項所述之網路喚 中該可程式化控制裝置係為—可程式化控制晶片。…” 13·如中請專利範圍第8項所述之網路喚醒 中該管理訊號係為一電源管理事件訊號。 …、 14·如申請專利範圍第8項所述之網路喚醒方法,其 21 1228358 亥、、罔路唤醒方法更包含監測該電腦系、统之系統狀態在 座生—系統狀態資料。 苴 ★申明專利範圍弟14項所述之網路喚醒方法, 、中4網路喚醒方法更包含根據該系統狀態資料,判斷是 否發出該網路喚醒封包。 ^ 士申明專利範圍第8項所述之網路喚醒方法,其 中忒電腦系統具有一南橋晶片,用以接收該管理訊號。 17·種可程式化控制裝置,與一電腦系統連接,該 可程式化控制裝置至少包含: 接收模組,用以接收來自一介面裝置之一管理訊 號; 、,一握手模組,利用一握手協定與該電腦系統聯絡,以 判斷該電腦系統是否處於一異常關機狀態;以及 片▲一重置模組,用以發送一重置訊號至電腦系統,其中 二忒:程式化控制裝置判斷該電腦系統係處於該異常關 機狀心且忒可私式化控制裝置接收到該管理訊號時,該 重置訊號會重置該電腦系統。 18.如申請專利範圍第17項所述之可程式化控制裝 置,其中該握手模組係與該電腦系統分別發送一第一訊號 22 1228358 與一第二訊號以交替寫入於一暫 节伟杰,且該第一訊號與該 第二訊號之邏輯準位相反,當該暫 Λ专存為中所存之資料之邏 輯準位保持與該第一訊號之邏輯 科羊位相同時,該電腦系統 係處於該異常關機狀態。 19· 士中明專利犯圍第17項所述之可程式化控制裝 置,其中該可程式化控制裝置更包含: -監測模組,監測該電腦系統之系統狀態並產生一系、# 統狀態資料;以及 一資料輪出端,發送該系統狀態資料。 20· 士申明專利範圍帛17項所述之可程式化控制裝 置,其中讜介面裝置係為一網路介面卡。 2 1 _ 士申明專利範圍第丨7項所述之可程式化控制裝 置,其中該管理訊號係為一電源管理事件訊號。 春 23/, Zhongtian " Haidian system is in a running state, the computer system ignores the management signal,: 4 when the system is in a dormant state, the management signal wakes up the computer system, and when the computer system is in an abnormal state When the control device turns off after receiving the management signal, the programmable control resets the computer system. China 9. The network is a wake-on-network method as described in item 8 of the scope of patent application, and its wake-up method further includes using a handshake agreement between the programmable control device and the 20 1228358 computer system to determine the computer. The system is in a normal state or the abnormal shutdown state, wherein the normal state includes the operating state and the hibernation state. 'ίο · The network wake-up method described in item 9 of the scope of patent application, wherein the steps of using the handshake agreement include at least: 泫 泫 The programmable control device and the computer system send a first flood number and a second number respectively The signals are alternately written in a register, where the upper number is opposite to the logical level of the second signal; β where the logical level of the data stored in the register remains the same as the logic of the first signal When the level is the same, the computer system is in the crash state. 11. As stated in item 8 of the patent scope, the interface device is a network interface card. / 、 12. The programmable control device is the programmable control chip in the network call described in item 8 of the scope of patent application. … ”13 · As stated in the Wake-On-LAN in Item 8 of the patent, the management signal is a power management event signal.…, 14. · The Wake-On-Method in Item 8 of the scope of patent application, which 21 1228358 The method of wake-up from Haiku and Kushiro includes monitoring the system status of the computer system and system-system status data. 苴 ★ Declares the scope of the patent Wake-up method described in item 14, and 4 It also includes judging whether to send the Wake-on-LAN packet according to the system status data. ^ The Wake-on-LAN method described in the patent claim No. 8 wherein the computer system has a south bridge chip to receive the management signal. 17 · A programmable control device connected to a computer system. The programmable control device includes at least: a receiving module for receiving a management signal from an interface device; and a handshake module using a handshake protocol. Contacting the computer system to determine whether the computer system is in an abnormal shutdown state; and a reset module for sending a reset signal To the computer system, two of them: When the stylized control device judges that the computer system is in the abnormal shutdown state and the personalizable control device receives the management signal, the reset signal will reset the computer system. The programmable control device as described in item 17 of the scope of patent application, wherein the handshake module and the computer system respectively send a first signal 22 1228358 and a second signal to alternately write in a temporary section Weijie And the logic level of the first signal is opposite to the logic level of the second signal. When the logic level of the data stored in the temporary storage is the same as the logic level of the first signal, the computer system is at The abnormal shutdown state. 19. The programmable control device described in Shi Zhongming Patent No. 17 Item, wherein the programmable control device further includes:-a monitoring module, which monitors the system status of the computer system and generates a系 、 # 统 Status data; and a data wheel outlet, send the system status data. 20 · The programmable control device described in the patent scope of 帛 17 items, among which The surface device is a network interface card. 2 1 _ The programmable control device described in item 7 of the patent declaration patent scope, wherein the management signal is a power management event signal. Spring 23
TW092124031A 2003-08-29 2003-08-29 Apparatus and method for wakeup on LAN TWI228358B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW092124031A TWI228358B (en) 2003-08-29 2003-08-29 Apparatus and method for wakeup on LAN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW092124031A TWI228358B (en) 2003-08-29 2003-08-29 Apparatus and method for wakeup on LAN

Publications (2)

Publication Number Publication Date
TWI228358B true TWI228358B (en) 2005-02-21
TW200509593A TW200509593A (en) 2005-03-01

Family

ID=35668145

Family Applications (1)

Application Number Title Priority Date Filing Date
TW092124031A TWI228358B (en) 2003-08-29 2003-08-29 Apparatus and method for wakeup on LAN

Country Status (1)

Country Link
TW (1) TWI228358B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750151A (en) * 2018-07-20 2020-02-04 技嘉科技股份有限公司 Computer wake-up method and computer power saving method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI454936B (en) * 2011-06-08 2014-10-01 Inventec Corp Booting method
TWI463831B (en) 2011-10-05 2014-12-01 Quanta Comp Inc Server cluster and control method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750151A (en) * 2018-07-20 2020-02-04 技嘉科技股份有限公司 Computer wake-up method and computer power saving method

Also Published As

Publication number Publication date
TW200509593A (en) 2005-03-01

Similar Documents

Publication Publication Date Title
US5944831A (en) Power management apparatus and method for managing power application to individual circuit cards
US7437575B2 (en) Low power mode for device power management
US6460143B1 (en) Apparatus and method for awakening bus circuitry from a low power state
US6708278B2 (en) Apparatus and method for awakening bus circuitry from a low power state
US8850249B2 (en) Enabling idle states for a component associated with an interconnect
JP3803418B2 (en) Method for managing power of a computer system and the computer system
US9310838B2 (en) Power management method for switching power mode of a computer system based on detection of a human interface device
TWI537716B (en) System on a chip and method for the same
US7330926B2 (en) Interruption control system
JP3454953B2 (en) Integrated processor, computer system, and method for managing power in computer system
TWI567536B (en) Power management circuit, server and power management method thereof
EP0973086B1 (en) Computer remote power on
CN100378617C (en) Network wakening device and method
TWI460580B (en) A power supply apparatus of computer system and a method for controlling power sequence thereof
EP2267575A2 (en) Electronic device for reducing power consumption of computer motherboard and motherboard thereof
WO2011162766A1 (en) Providing wakeup logic to awaken an electronic device from a lower power mode
KR20090026895A (en) Apparatus and method for reducing power consumption in system on chip
US20050086460A1 (en) Apparatus and method for wakeup on LAN
TW201312966A (en) Network wakeup system with protection function
US6993670B2 (en) Method of configuring a computer system capable of being woken up on LAN
JPH11288334A (en) Method and device for power down for computer system
US7734953B1 (en) Redundant power solution for computer system expansion cards
WO2005071531A1 (en) A method and device for start up computer
US6567931B1 (en) Preventing false remote system wake events following AC power loss
US7017062B2 (en) Method and apparatus for recovering from an overheated microprocessor

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees