[go: up one dir, main page]

CN100378617C - Network awakening device and method - Google Patents

Network awakening device and method Download PDF

Info

Publication number
CN100378617C
CN100378617C CNB031589251A CN03158925A CN100378617C CN 100378617 C CN100378617 C CN 100378617C CN B031589251 A CNB031589251 A CN B031589251A CN 03158925 A CN03158925 A CN 03158925A CN 100378617 C CN100378617 C CN 100378617C
Authority
CN
China
Prior art keywords
computer system
programmable control
control device
signal
wake
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB031589251A
Other languages
Chinese (zh)
Other versions
CN1595331A (en
Inventor
黄章枢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Arima Computer Corp
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 CNB031589251A priority Critical patent/CN100378617C/en
Publication of CN1595331A publication Critical patent/CN1595331A/en
Application granted granted Critical
Publication of CN100378617C publication Critical patent/CN100378617C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Debugging And Monitoring (AREA)

Abstract

一种网络唤醒装置,包含一可程序化控制装置、一计算机系统以及一接口装置。当接口装置接收到一网络唤醒封包后,会分别发送一电源管理事件讯号至可程序化控制装置与计算机系统。若计算机系统处于正常状态,例如睡眠状态以及运转状态,则当其接收到此电源管理事件讯号时,处于睡眠状态的计算机会激活并恢复至运转状态,而处于运转状态的计算机系统则会继续维持运转。若计算机系统处于异常关机状态,例如当机状态或是其电源被不正当地断电,则当其接收到此电源管理事件讯号时,此可程序化控制装置会利用一重启模块重启此计算机系统。本发明还涉及一种利用上述网络唤醒装置的实现网络唤醒功能的方法。

Figure 03158925

A network wake-up device includes a programmable control device, a computer system and an interface device. When the interface device receives a network wake-up packet, it will send 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 an operating state, when it receives the power management event signal, the computer in the sleep state will be activated and restored to the operating state, and the computer system in the operating state will continue to operate. If the computer system is in an abnormal shutdown state, such as a crash state or its power is improperly cut off, when it receives the power management event signal, the programmable control device will use a restart module to restart the computer system. The present invention also relates to a method for realizing a network wake-up function using the above-mentioned network wake-up device.

Figure 03158925

Description

网络唤醒装置与方法 Device and method for wake-up from network

技术领域 technical field

本发明涉及一种网络唤醒装置与方法,且特别涉及一种当计算机系统处于当机状态时,却仍能够重启计算机的网络唤醒装置与方法。The present invention relates to a network wake-up device and method, and in particular to a network wake-up device and method capable of restarting a computer when the computer system is in a down state.

背景技术 Background technique

近年来已发展出网络唤醒机制,使用者可透过远程终端服务器(remoteserver),将另一端的计算机系统唤醒。此计算机系统所使用的网络适配卡(Network Interface Card,NIC)必须具有让远程终端服务器唤醒的能力,方始得计算机系统具有上述功能。In recent years, a wake-on-lan mechanism has been developed. Users can wake up the computer system at the other end through a remote terminal server (remote server). The Network Interface Card (NIC) used in this computer system must have the ability to wake up the remote terminal server, so that the computer system can have the above functions.

一般而言,计算机系统中所使用的电源分为两种,一种为核心电源(corepower),另一种则为备用电源(suspend power)。当计算机系统的交流电源插头插上交流电之后,虽然计算机系统的电源开关尚未激活,但备用电源却已提供给计算机系统使用。另外,在计算机系统开机之后,当计算机系统侦测到某些装置处于非使用状态时,可将其设为备用状态(suspend state),并停止供应这些装置核心电源而仅提供备用电源,以达到节省电能的功能。Generally speaking, there are two types of power supplies used in computer systems, one is core power and the other is suspend power. After the AC power plug of the computer system is plugged into the AC power, although the power switch of the computer system has not been activated, the 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 not in use, it can be set to a standby state (suspend state), and stop supplying core power to these devices and only provide backup power to achieve Power saving function.

当计算机系统开机时,基本输入/输出系统(Basic Input/Output System,BIOS)会执行ACPI(Advanced Configuration and Power Interface)程序(routine),以对计算机系统进行完善的电源管理。在开机之后,操作系统可以关掉(tumoff)非使用中的周边装置,或者让系统进入休眠状态。而当使用者按下键盘或移动鼠标之后,ACPI程序可以自动地让计算机系统再度得到核心电源的供应。When the computer system is turned on, the Basic Input/Output System (BIOS) will execute the ACPI (Advanced Configuration and Power Interface) program (routine) to perform comprehensive power management on the computer system. After booting, the operating system can turn off (tumoff) peripheral devices not in use, or put the system into a sleep state. And when the user presses the keyboard or moves the mouse, the ACPI program can automatically allow the computer system to obtain the core power supply again.

上述使计算机系统再度得到核心电源供应的步骤,也可利用网络唤醒的方式来完成。使网络系统的远程终端传送一网络唤醒封包给网络适配卡,当网络适配卡接收到网络唤醒封包后,随即传送一讯号,即电源管理事件(Power Management Event,PME),至计算机系统中的南桥芯片(south bridgechip),以唤醒计算机系统。The above-mentioned steps of making the computer system obtain the core power supply again can also be completed by using the wake-on-lane method. Make the remote terminal of the network system send a network wake-up packet to the network adapter card. When the network adapter card receives the network wake-up packet, it immediately sends a signal, that is, a power management event (Power Management Event, PME), to the computer system South Bridge chip (south bridgechip), to wake up the computer system.

当要将计算机系统中的南桥芯片设定成可接收网络适配卡所传送的电源管理事件的状态时,必须在基本输入/输出系统执行开机程序的ACPI程序后才能为之,也就是必须在使用者按下计算机系统的电源开关,计算机系统开始进入开机程序后,方能完成对南桥芯片的设定。而且,在设定的过程当中,必须使用到核心电源的大电流,此为备用电源所无法提供的。所以,在传统作法中,当计算机系统未开机前,南桥芯片是无法对网络适配卡所传送的电源管理事件做出任何反应,也就是计算机系统在此时并无法通过网络来唤醒。换句话说,在传统上,若计算机系统从未进行过开机动作的话,计算机系统不会具备由网络唤醒的功能。When it is necessary to set the Southbridge chip in the computer system to the state that can receive the power management event sent by the network adapter card, it must be done after the basic input/output system executes the ACPI program of the boot program, that is, it must After the user presses the power switch of the computer system and the computer system enters the boot process, the setting of the south bridge chip can be completed. Moreover, during the setting process, the high current of the core power supply must be used, which cannot be provided by the backup power supply. Therefore, in the traditional method, when the computer system is not turned on, the south bridge chip cannot respond to the power management event sent by the network adapter card, that is, the computer system cannot be woken up through the network at this time. In other words, traditionally, if the computer system has never been powered on, the computer system does not have the function of waking up from the network.

而且,当计算机完成开机动作,并已经完成将计算机系统设定成可接受网络唤醒的状态之后,若此时计算机系统被不正常关机,例如是当机或是其交流电源不正当地断电的话,将使得计算机系统无法对上述电源管理事件做出任何反应。此时,虽然计算机系统中的备用电源仍然存在,但却已经无法通过远程终端的网络唤醒封包来唤醒计算机。传统上只能通过使用者手动按下计算机的电源开关来重启计算机系统,重新设定南桥芯片,才能够使得计算机系统重新具有网络唤醒的功能。Moreover, when the computer has finished booting and has set the computer system to a state that can accept wake-on-lan, if the computer system is shut down abnormally at this time, for example, it crashes or its AC power supply is improperly cut off, It will make the computer system unable to respond to the above power management events. At this time, although the backup power in the computer system still exists, the computer cannot be woken up by the Wake-on-LAN packet of the remote terminal. Traditionally, only by manually pressing the power switch of the computer to restart the computer system and resetting the south bridge chip, can the computer system have the function of wake-up on LAN again.

如上所述,当计算机系统运用于服务器系统时,因为在服务器系统中,往往将多台的计算机系统安装在机架(Rack)上,因此若其中一计算机系统发生当机时,则使用者要重启此当机的计算机系统更为困难。As mentioned above, when the computer system is applied to the server system, because in the server system, multiple computer systems are often installed on the rack (Rack), so if one of the computer systems crashes, the user needs to Rebooting this crashed computer system is more difficult.

发明内容 Contents of the invention

本发明的目的在于提供一种网络唤醒装置,当使用网络来唤醒处于当机状态的计算机系统时,利用一可程序化控制装置来重启此计算机系统。The purpose of the present invention is to provide a network wake-up device, which uses a programmable control device to restart the computer system when the network is used to wake up the computer system in a down state.

本发明的另一目的在于提供一种网络唤醒方法,当计算机系统发生当机时,依据其所监测计算机系统所获得的系统状态资料,判断是否可以通过网络唤醒来重启此计算机系统。Another object of the present invention is to provide a wake-up method. When a computer system crashes, it can be judged whether the computer system can be restarted through wake-up according to the system status information obtained from the monitored computer system.

本发明又一目的在于提供一种网络唤醒方法,此方法可针对计算机系统所处的不同状态做出不同的响应,以改善现有网络唤醒方法无法唤醒已当机的计算机系统的问题。Another object of the present invention is to provide a method of wake-up on network, which can respond differently to different states of the computer system, so as to improve the problem that the existing method of wake-up on network cannot wake up the computer system that has been shut down.

本发明再一目的在于提供一种可程序化控制装置,此可程序化控制装置利用其与计算机系统间的握手协议,来确认此计算机系统是否处于正常状态,当此计算机系统不处于正常状态时,可用该可程序化控制装置来重启此计算机系统。Another object of the present invention is to provide a programmable control device, which uses the handshake protocol between the programmable control device and the computer system to confirm whether the computer system is in a normal state, when the computer system is not in a normal state , the computer system can be restarted with the programmable control device.

根据本发明的上述目的,提出一种网络唤醒装置,其包含一可程序化控制装置、一计算机系统以及一接口装置。当接口装置接收到一网络唤醒封包后,会分别发送一电源管理事件讯号至可程序化控制装置与计算机系统。若计算机系统系处于正常状态,例如睡眠状态以及运转状态,则当其接收到此电源管理事件讯号时,处于睡眠状态的计算机会激活并恢复至运转状态,而处于运转状态的计算机系统则会继续维持运转,并不受到此电源管理事件讯号的影响。若计算机系统系处于异常关机状态,例如当机状态或是其电源被不正当地断电,则当计算机系统接收到此电源管理事件讯号时,其南桥芯片无法对此电源管理事件讯号做出相对的响应。According to the above objective of the present invention, a wake-on-LAN device is proposed, which includes a programmable control device, a computer system and an interface device. When the interface device receives a Wake-on-LAN packet, it will send 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 sleep state and running state, when it receives this power management event signal, the computer in the sleep state will activate and return to the running state, while the computer system in the running state will continue Keep running and not affected by this power management event signal. If the computer system is in an abnormal shutdown state, such as a crash state or its power supply is improperly cut off, when the computer system receives the power management event signal, its south bridge chip cannot respond to the power management event signal. the response to.

本发明可程序化控制装置包含一接收模块、一握手模块以及一重启模块,其中接收模块用来接收来自接口装置的一电源管理事件讯号。此可程序化控制装置的控制逻辑为,其握手模块利用一握手协议与计算机系统联络,以判断计算机系统处于正常状态或异常关机状态。当此可程序化控制装置接收到电源管理事件讯号时,若此时计算机系统处于正常状态,则此可程序化控制装置并不会重启此计算机系统,若此时计算机系统处于异常关机状态,则此可程序化控制装置会利用其重启模块重启此计算机系统。The programmable control device of the present invention includes a receiving module, a handshake module and a restart module, wherein the receiving module is used to receive a power management event signal from the interface device. The control logic of the programmable control device is that its handshake module communicates with the computer system by using a handshake protocol to determine whether the computer system is in a normal state or an abnormal shutdown state. When the programmable control device receives a power management event signal, if the computer system is in a normal state at this time, the programmable control device will not restart the computer system; if the computer system is in an abnormal shutdown state at this time, then The programmable control device can use its restart module to restart the computer system.

依照本发明一较佳实施例,此接口装置为一网络适配卡。该可程序化控制装置为一基板管理控制器(Baseboard Management Controller,BMC)芯片,通常为一8051芯片直接配置在计算机系统中的主机板,负责监控整个计算机系统的系统状态,并产生系统状态资料。而且,此实施例中的计算机系统利用一南桥芯片来接收上述电源控制讯号。当握手模块通过握手协议发现计算机系统处于异常关机状态时,再配合该系统状态资料,可判断计算机系统的系统状态在此时是否适合利用网络唤醒封包来加以重启。According to a preferred embodiment of the present invention, the interface device is a network adapter card. The programmable control device is a Baseboard Management Controller (BMC) chip, usually an 8051 chip directly configured on the motherboard of the computer system, responsible for monitoring the system status of the entire computer system and generating system status data . Moreover, the computer system in this embodiment uses a south bridge chip to receive the above power control signal. When the handshake module finds that the computer system is in an abnormal shutdown state through the handshake protocol, it can judge whether the system state of the computer system is suitable for restarting by using the Wake-on-LAN packet in conjunction with the system state data.

在此实施例中,上述握手协议通过一缓存器来完成。可程序化控制装置被设定成发送一第一讯号,而计算机系统则被设定成分别会一第二讯号,两者交替地写入缓存器中,且此第一讯号以及第二讯号具有相反的逻辑准位。因此,当缓存器中所存资料的逻辑准位一直保持与第一讯号的逻辑准位相同时,即其并未被计算机系统改变成与第二讯号的逻辑准位相同时,则可得知此时计算机系统处于异常关机状态。In this embodiment, the above-mentioned handshake protocol is implemented through a buffer. The programmable control device is set to send a first signal, and the computer system is set to receive a second signal respectively, and the two are alternately written into the register, and the first signal and the second signal have The opposite logical level. Therefore, when the logic level of the data stored in the register remains the same as the logic level of the first signal, that is, it has not been changed by the computer system to be the same as the logic level of the second signal, it can be known that the computer at this time The system is in an abnormal shutdown state.

由上所述可知,本发明之网络唤醒装置,通过其可程序化控制装置中所设定的操作逻辑,可使得位于远程终端的中央控制程序或是服务器管理者,直接利用网络唤醒封包重启处于异常关机状态的计算机系统。此外,配合可程序化控制装置中的监测模块,可在上述的重启计算机系统步骤前,先行确认计算机系统的硬设备是否具有任何问题,除了避免重启硬设备有问题的计算机系统而造成更大的损失,而且也可免除现有要重启安装于框架中的多台计算机一时的困难。As can be seen from the above, the wake-on-lan device of the present invention, through the operation logic set in its programmable control device, can make the central control program or server manager at the remote terminal directly use the wake-on-lan packet to restart the A computer system in an abnormal shutdown state. In addition, with the monitoring module in the programmable control device, before the above-mentioned steps of restarting the computer system, it is possible to confirm whether there are any problems with the hardware equipment of the computer system, in addition to avoiding restarting the computer system with hardware equipment problems and causing greater damage. losses, and also avoid the existing temporary difficulty of restarting multiple computers installed in the frame.

附图说明 Description of drawings

图1是本发明一较佳实施例的示意图;Fig. 1 is the schematic diagram of a preferred embodiment of the present invention;

图2是图1中的较佳实施例的流程图;Fig. 2 is the flowchart of the preferred embodiment among Fig. 1;

图3是本发明的可程序化控制装置的控制逻辑流程图;Fig. 3 is a control logic flowchart of the programmable control device of the present invention;

图4是本发明的握手协议的一较佳实施例的示意图;Fig. 4 is a schematic diagram of a preferred embodiment of the handshake protocol of the present invention;

图5是本发明的另一较佳实施例的示意图;以及Figure 5 is a schematic diagram of another preferred embodiment of the present invention; and

图6是图5中的较佳实施例的流程图。FIG. 6 is a flowchart of the preferred embodiment in FIG. 5 .

具体实施方式 Detailed ways

以下利用两个实施例来解释本发明的网络唤醒装置,其中计算机系统的正常状态定义为包含运转状态与睡眠状态,而睡眠状态包含了计算机系统操作中的软关机模式(softoff mode)以及中止模式(suspend mode)。计算机系统的异常关机状态则定义为包含当机状态或是其电源被不正当地断电的状况。The following two embodiments are used to explain the wake-up device of the present invention, wherein the normal state of the computer system is defined as including the running state and the sleep state, and the sleep state includes the soft off mode (softoff mode) and the suspend mode in the operation of the computer system (suspend mode). An abnormal shutdown state of a computer system is defined as a state including a shutdown state or a state in which power is improperly cut off.

图1是本发明一较佳实施例的示意图,图2是图1中的较佳实施例的流程图,以下的说明请配合参照图1与图2。FIG. 1 is a schematic diagram of a preferred embodiment of the present invention, and FIG. 2 is a flowchart of the preferred embodiment in FIG. 1 . Please refer to FIG. 1 and FIG. 2 for the following description.

首先,网络系统的远程终端传送一网络唤醒封包给网络适配卡104(步骤202)。当网络适配卡104接收到此网络唤醒封包后,随即将一讯号,即电源管理事件(Power Management Event,PME)讯号,分别传送至可程序化控制装置102a以及计算机系统106(步骤204)。First, the remote terminal of the network system sends a Wake-on-LAN packet to the network adapter card 104 (step 202). When the network adapter card 104 receives the wake-on-lan packet, it immediately sends a signal, that is, a power management event (PME) signal, to the programmable control device 102a and the computer system 106 (step 204).

在此实施例中,计算机系统106利用一南桥芯片(图未示)接收来自网络适配卡104的电源管理事件讯号。依照计算机系统106所处的不同状态,本发明会做出不同的对应步骤(步骤206)。当计算机系统106处于运转状态时,此南桥芯片忽略此电源管理事件讯号,计算机系统106会继续维持在正常的运转状态(步骤212)。当此计算机系统106处于睡眠状态时,此南桥芯片在接收到电源管理事件讯号后,会唤醒计算机系统106,使计算机系统106被激活并恢复至运转状态(步骤214)。而当此计算机系统106处于异常关机状态时,例如当机状态或是其电源被不正当地断电,则在接收到此电源管理事件讯号之后,其南桥芯片无法对此电源管理事件讯号做出相对的响应(步骤216)。In this embodiment, the computer system 106 uses a south bridge chip (not shown) to receive the power management event signal from the network adapter card 104 . According to different states of the computer system 106, the present invention will perform different corresponding steps (step 206). When the computer system 106 is in the running state, 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 106 is activated and resumes the running state (step 214 ). And when the computer system 106 is in an abnormal shutdown state, such as a crash state or its power supply is improperly cut off, then after receiving the power management event signal, its south bridge chip cannot make a response to the power management event signal. Relative response (step 216).

本发明中可程序化控制装置102a包含一接收模块112,一握手(Handshaking)模块114以及一重启模块116。接收模块112用来接收上述来自网络适配卡104的电源管理事件讯号。握手模块114会利用一握手协议与计算机系统106联络,以判断计算机系统106处于正常状态或异常关机状态。关于本实施例中的握手协议在之后做详细的描述。The programmable control device 102 a of the present invention includes a receiving module 112 , a handshaking module 114 and a restarting module 116 . The receiving module 112 is used for receiving the aforementioned power management event signal from the network adapter card 104 . The handshake module 114 uses a handshake protocol to communicate with the computer system 106 to determine whether the computer system 106 is in a normal state or an abnormal shutdown state. The handshake protocol in this embodiment will be described in detail later.

图3是本发明可程序化控制装置的控制逻辑的流程图。当此可程序化控制装置102a接收到电源管理事件讯号时(步骤302),若此时计算机系统106被握手模块114判断为处于正常状态(步骤304),则此可程序化控制装置102a并不会重启此计算机系统106(步骤312)。若此时计算机系统106被握手模块114判断为处于异常关机状态(步骤304),则此可程序化控制装置102a会利用其重启模块116重启此计算机系统106(步骤314)。Fig. 3 is a flow chart of the control logic of the programmable control device of the present invention. When the programmable control device 102a receives a power management event signal (step 302), if the computer system 106 is judged to be in a normal state by the handshake module 114 (step 304), the programmable control device 102a does not The computer system 106 is restarted (step 312). If the computer system 106 is judged to be abnormally shut down by the handshake module 114 (step 304), the programmable control device 102a will use its restart module 116 to restart the computer system 106 (step 314).

图4是该握手协议一较佳实施例的示意图。在此实施例中,握手协议通过一缓存器402来完成。可程序化控制装置102a被设定成发送一第一讯号,具有高逻辑准位1,而计算机系统106则被设定成发送一第二讯号,具有低逻辑准位0,两者交替地写入缓存器402中。FIG. 4 is a schematic diagram of a preferred embodiment of the handshake protocol. In this embodiment, the handshake protocol is implemented through a buffer 402 . The programmable control device 102a is set to send a first signal, having a high logic level of 1, and the computer system 106 is set to send a second signal, having a low logic level of 0, which alternately writes into the buffer 402.

因此,当缓存器402中所存资料的逻辑准位一直保持与第一讯号的逻辑准位(高逻辑准位1)相同时,即其并未如预期般地被计算机系统106改变成与第二讯号的逻辑准位(低逻辑准位0)相同时,则可得知此时计算机系统106处于异常关机状态。Therefore, when the logic level of the data stored in the register 402 remains the same as the logic level of the first signal (high logic level 1), it is not changed by the computer system 106 to be the same as the second signal as expected. When the logic levels of the signals (low logic level 0) are the same, it can be known that the computer system 106 is in an abnormal shutdown state at this time.

图5是本发明另一较佳实施例的示意图,图6是图5中的较佳实施例的流程图,以下的说明请配合参照图5与图6。以下的实施例主要用来说明本发明如何应用在具有多台计算机的服务器系统中。当多台计算机系统均安装在机架(Rack)之上,且其中一计算机系统发生当机时,使用本发明可有助于使用者判断并重启此当机的计算机系统。FIG. 5 is a schematic diagram of another preferred embodiment of the present invention, and FIG. 6 is a flow chart of the preferred embodiment in FIG. 5 . Please refer to FIG. 5 and FIG. 6 for the following description. The following embodiments are mainly used to illustrate how the present invention is applied in a server system with multiple computers. When a plurality of computer systems are installed on the rack (Rack), and one of the computer systems crashes, using the present invention can help users judge and restart the crashed computer system.

图5中可程序化控制装置102b较图1中可程序化控制装置102a多具有一监测模块122以及一数据输出端124。在此实施例中,利用一基板管理控制器(Baseboard Management Controller,BMC)芯片来作为本发明中可程序化控制装置102b。基板管理控制器芯片通常为一8051芯片直接配置于计算机系统106中的主机板,8051芯片本身即具有微处理器、内存以及输入/输出端口,且由备用电源(suspend power)来供给电源。基板管理控制器芯片会收集有关计算机系统106的系统健康和系统状态信息,且当有严重事件产生时可以立即执行纠正的动作。The programmable control device 102b in FIG. 5 has a monitoring module 122 and a data output terminal 124 more than the programmable control device 102a in FIG. 1 . In this embodiment, a baseboard management controller (BMC) chip is used as the programmable control device 102b in the present invention. The baseboard management controller chip is usually an 8051 chip directly configured on the motherboard of the computer system 106. The 8051 chip itself has a microprocessor, memory, and input/output ports, and is powered by a suspend power. The baseboard management controller chip collects system health and system status information about the computer system 106, and can immediately perform corrective actions when serious events occur.

通常基板管理控制器芯片的系统健康监测功能,是配合若干个数字传感器来实现,数字传感器能监视不同的系统电压、温度和风扇速度。基板管理控制器芯片采用主动轮询的方式,来发现与之连接的若干个传感器中,是否存在超出范围的传感器。Usually, the system health monitoring function of the baseboard management controller chip is implemented with several digital sensors. The digital sensors can monitor different system voltages, temperatures and fan speeds. The baseboard management controller chip adopts an active polling method to discover whether there are any sensors out of range among the several sensors connected to it.

而且,为了使监视工作切实有效,基板管理控制器芯片可以根据不同的闸限值进行配置。例如,当基板管理控制器芯片检测到某个传感器的温度超过某个警告闸限时,就提高与该传感器位置对应的风扇的速度。再者,如果纠正动作所产生的效果不够,此超过某个警告闸线的温度就会超过另一个紧急闸限,此时基板管理控制器芯片就会切断系统电源、记录事件过程并通过网络向远程终端发警告。Moreover, in order to make the monitoring work effective, the baseboard management controller chip can be configured according to different gate limit values. For example, when the baseboard management controller chip detects that the temperature of a certain sensor exceeds a certain warning threshold, it increases the speed of the fan corresponding to the position of the sensor. Furthermore, if the corrective action is not effective enough, the temperature exceeding a certain warning threshold will exceed another emergency threshold, at which point the baseboard management controller chip will cut off the system power, record the event process and report the event via the network. The remote terminal issues a warning.

首先,可程序化控制装置102b利用其监测模块122,来监测计算机系统106的系统状态资料,并且通过资料输出端124将系统状态资料传送至远程终端(步骤602)。当此计算机系统106处于异常关机状态,位于远程终端的观察者,例如中央控制程序或是服务器管理者,即可依照此系统状态资料来判断是否要重启计算机系统106(步骤604)。First, the programmable control device 102b uses its monitoring module 122 to monitor the system status data of the computer system 106, and transmits the system status data to the remote terminal through the data output terminal 124 (step 602). When the computer system 106 is in an abnormal shutdown state, an observer at a remote terminal, such as a central control program or a server administrator, can judge whether to restart the computer system 106 according to the system status data (step 604).

以下分别来讨论如何判断是否可重启计算机系统106。若是计算机系统106的系统状态资料显示此计算机系统的硬设备发生故障,例如其散热风扇故障无法有效帮助散热,或是任一线路的电压值不正确时,则此时必须对此计算机系统的硬设备作进一步的检测与修理,不可贸然地重启此计算机系统106(步骤622)。How to determine whether the computer system 106 can be restarted will be discussed separately below. If the system status information of the computer system 106 shows that the hardware equipment of the computer system fails, for example, the failure of its cooling fan cannot effectively help the heat dissipation, or when the voltage value of any line is incorrect, then the hardware of the computer system must be corrected at this time. The equipment is further tested and repaired, and the computer system 106 cannot be restarted rashly (step 622).

另一方面,若是计算机系统106的硬设备并无发生任何问题,只因为某一噪声(noise)的影响使其发生当机的情形,或者是其电源被不正当地断电,但是并未对其硬设备造成任何伤害,则此时可发送网络唤醒封包至网络适配卡104,以重启此计算机系统106(步骤612)。On the other hand, if there is no problem with the hardware equipment of the computer system 106, it is only due to the influence of a certain noise (noise) that it crashes, or its power supply is improperly cut off, but it does not affect the computer system 106. If the hardware device causes any damage, a wake-on-lan packet can be sent to the network adapter card 104 to restart the computer system 106 (step 612).

同样地,当网络适配卡104接收到此网络唤醒封包后,会分别传送一电源管理事件讯号至可程序化控制装置102b以及计算机系统106(步骤614)。然而,由于计算机系统106已处于异常关机状态,因此由网络适配卡104直接传送过来的电源管理事件讯号并不会对计算机系统106产生任何作用。Similarly, when the network adapter card 104 receives the wake-on-lan packet, it will send a power management event signal to the programmable control device 102b and the computer system 106 respectively (step 614 ). However, since the computer system 106 is already in an abnormal shutdown state, the power management event signal directly sent by the network adapter card 104 does not have any effect on the computer system 106 .

而本发明可程序化控制装置102b,已利用其握手模块114确认计算机系统106处于异常关机状态。因此,当可程序化控制装置102b的接收模块112接收到来自网络适配卡104的电源管理事件讯号之后,则此可程序化控制装置102b会利用其重启模块116重启此计算机系统106(步骤616)。However, the programmable control device 102b 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 adapter card 104, the programmable control device 102b will use its restart module 116 to restart the computer system 106 (step 616 ).

在此实施例中,本发明可程序化控制装置为一可程序化控制芯片,直接配置于计算机系统中的主机板。然而,此可程序化控制芯片也可配置于一适配卡中,再与计算机系统连接,或是配置于另一外接计算机系统,再利用传感器与连接线路与要控制与监测的计算机系统连接。值得注意的是,本发明也可为其它可程序化控制装置,例如一位于适配卡上的电路系统或一外接计算机系统中的监控/控制程序,也符合本发明的精神与范围。In this embodiment, the programmable control device of the present invention is a programmable control chip, which is directly configured on the motherboard of the computer system. However, the programmable control chip can also be configured in an adapter card, and then connected to the computer system, or configured in another external computer system, and then connected to the computer system to be controlled and monitored by sensors and connection lines. It should be noted that the present invention can also be other programmable control devices, such as a circuit system on an adapter card or a monitoring/control program in an external computer system, which also conforms to the spirit and scope of the present invention.

由上所述可知,本发明的网络唤醒装置,通过其可程序化控制装置中所设定的操作逻辑,可使得位于远程终端的中央控制程序或是服务器管理者,直接利用网络唤醒封包重启处于异常关机状态的计算机系统。此外,配合可程序化控制装置中的监测模块,可在上述重启计算机系统步骤前,先行确认计算机系统的硬设备是否具有任何问题,除了避免重启硬设备有问题的计算机系统而造成更大的损失,而且也可免除现有要重启安装于框架中的多台计算机一时的困难。As can be seen from the above, the wake-on-lan device of the present invention, through the operation logic set in its programmable control device, can make the central control program or server manager at the remote terminal directly use the wake-on-lan packet to restart the A computer system in an abnormal shutdown state. In addition, with the monitoring module in the programmable control device, before the above steps of restarting the computer system, it is possible to confirm whether there are any problems with the hardware equipment of the computer system, in addition to avoiding restarting the computer system with hardware equipment problems and causing greater losses. , and can also avoid the existing temporary difficulty of restarting multiple computers installed in the frame.

Claims (11)

1. WOL (Wake On LAN) device, it can be used for restarting computer system, it is characterized in that: described device comprises the interface arrangement that a programmable control device that is connected with described computer system and all is connected with described programmable control device and described computer system, wherein after described interface arrangement received a WOL (Wake On LAN) package, described interface arrangement can send a supervisory signal respectively to described programmable control device and described computer system; Wherein said programmable control device utilizes a Handshake Protocol to judge whether unusually off-mode of described computer system, and when described computer system receives described supervisory signal and be in described unusual off-mode simultaneously, described programmable control system is sent a starting-up signal to described computer system, to restart described computer system.
2. WOL (Wake On LAN) device according to claim 1 is characterized in that: described programmable control device further comprises the data output terminal that a monitoring modular and that is used for monitoring the system state of described computer system and produces a system state data is used for sending described system state data.
3. WOL (Wake On LAN) device according to claim 1, it is characterized in that: described programmable control device is a programmable control chip, described interface arrangement is an adapter, described supervisory signal is a power management event signal, and described computer system has a South Bridge chip that is used for receiving described supervisory signal.
4. WOL (Wake On LAN) method, it is characterized in that: described method comprises following steps:
Monitor the system state of a computer system and produce a system state data, and, judge whether to send a WOL (Wake On LAN) package according to described system state data;
Send described WOL (Wake On LAN) package to an interface arrangement;
After described interface arrangement receives described WOL (Wake On LAN) package, send supervisory signal to a programmable control device and a computer system respectively;
Wherein, when described computer system was in an operating condition, described computer system was ignored described supervisory signal,
When described computer system was in a dormant state, described supervisory signal woke described computer system up, and
When described computer system was in a unusual off-mode, described programmable control device can be restarted described computer system after receiving described supervisory signal.
5. WOL (Wake On LAN) method according to claim 4, it is characterized in that: described WOL (Wake On LAN) method further comprises a Handshake Protocol that utilizes between described programmable control device and described computer system, judge that described computer system is in a normal condition or described unusual off-mode, wherein said normal condition comprises described operating condition and described dormant state.
6. WOL (Wake On LAN) method according to claim 5 is characterized in that: utilize the step of described Handshake Protocol to comprise:
Described programmable control device and described computer system send one first signal and a secondary signal respectively alternately to be written into a buffer, and wherein said first signal is opposite with the accurate position of the logic of described secondary signal;
Wherein when the accurate position of the logic of the data of being deposited in the described buffer kept identical with the accurate position of the logic of described first signal, described computer system was in described when the machine state.
7. WOL (Wake On LAN) method according to claim 4, it is characterized in that: described programmable control device is a programmable control chip, described interface arrangement is an adapter, described supervisory signal is a power management event signal, and described computer system has a South Bridge chip, in order to receive described supervisory signal.
8. programmable control device, it is connected with a computer system, it is characterized in that: described programmable control device comprises a receiver module that is used for receiving from a supervisory signal of an interface arrangement at least, one handshake module and one is used for sending the restart module of a Restart Signal to computer system, described handshake module utilizes a Handshake Protocol and the contact of described computer system to judge whether described computer system is in a unusual off-mode, wherein work as described programmable control device and judge that described computer system is in described unusual off-mode, and when described programmable control device received described supervisory signal, described Restart Signal can be restarted described computer system.
9. programmable control device according to claim 8, it is characterized in that: described handshake module and described computer system send one first signal and a secondary signal respectively alternately to be written into a buffer, and described first signal is opposite with the accurate position of the logic of described secondary signal, when the accurate position of the logic of the data of being deposited in the described buffer kept identical with the accurate position of the logic of described first signal, described computer system was in described unusual off-mode.
10. programmable control device according to claim 8 is characterized in that: described programmable control device further comprises:
One monitoring modular is monitored the system state of described computer system and is produced a system state data; And
One data output terminal sends described system state data.
11. programmable control device according to claim 8 is characterized in that: described interface arrangement is an adapter, and described supervisory signal is a power management event signal.
CNB031589251A 2003-09-09 2003-09-09 Network awakening device and method Expired - Fee Related CN100378617C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031589251A CN100378617C (en) 2003-09-09 2003-09-09 Network awakening device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031589251A CN100378617C (en) 2003-09-09 2003-09-09 Network awakening device and method

Publications (2)

Publication Number Publication Date
CN1595331A CN1595331A (en) 2005-03-16
CN100378617C true CN100378617C (en) 2008-04-02

Family

ID=34660544

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031589251A Expired - Fee Related CN100378617C (en) 2003-09-09 2003-09-09 Network awakening device and method

Country Status (1)

Country Link
CN (1) CN100378617C (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100380281C (en) * 2005-05-24 2008-04-09 乐金电子(昆山)电脑有限公司 Radio local network power supply control device and method of portable computer
CN1991683B (en) * 2005-12-31 2010-05-05 联想(北京)有限公司 Notebook computer
US7873847B2 (en) * 2006-12-27 2011-01-18 International Business Machines Corporation Method of power state control for a server blade in a blade—server chassis system
US7908516B2 (en) * 2007-03-27 2011-03-15 Microchip Technology Incorporated Low power mode fault recovery method, system and apparatus
CN101290643B (en) * 2007-04-17 2010-12-08 鸿富锦精密工业(深圳)有限公司 System that prevents remote computer from booting
CN101431445B (en) * 2007-11-08 2011-04-13 英业达股份有限公司 Wake-on-LAN test system and method thereof
CN101576765B (en) * 2008-05-09 2011-08-10 华硕电脑股份有限公司 Method, component and circuit board for controlling shutdown of electronic device
CN102117229B (en) * 2009-12-30 2013-11-20 鸿富锦精密工业(深圳)有限公司 Computer power management and control system and method
US9170632B2 (en) 2010-06-25 2015-10-27 Hewlett-Packard Development Company, L.P. Providing wakeup logic to awaken an electronic device from a lower power mode
CN102437917B (en) * 2010-09-29 2015-09-23 联想(北京)有限公司 A kind of network wake-up method, network wake-up device and computer
CN102799248B (en) * 2011-05-24 2015-07-29 联想(北京)有限公司 A kind of network wake-up device, cyber-net awakening method
CN102244764B (en) 2011-06-28 2015-08-19 华为终端有限公司 State conversion control method, multipoint control server and video meeting system
CN102955545A (en) * 2011-08-23 2013-03-06 鸿富锦精密工业(深圳)有限公司 Computer
CN103442493A (en) * 2013-09-03 2013-12-11 英华达(上海)科技有限公司 Method, device, client, server and system for controlling power driving
CN103762999A (en) * 2013-12-27 2014-04-30 深圳市华信天线技术有限公司 Method and device for starting data transfer radio
US10324800B2 (en) * 2017-01-19 2019-06-18 Quanta Computer Inc. System recovery using WoL
CN111416719B (en) * 2019-01-04 2022-09-16 佛山市顺德区顺达电脑厂有限公司 Server device capable of waking up through network and method thereof
CN113765679B (en) * 2021-07-20 2024-04-30 深圳市金研微科技有限公司 Computer network awakening method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5404544A (en) * 1992-06-05 1995-04-04 Advanced Micro Devices System for periodically transmitting signal to/from sleeping node identifying its existence to a network and awakening the sleeping node responding to received instruction
JPH08241101A (en) * 1994-10-25 1996-09-17 Samsung Electron Co Ltd Network hibernation system, method of loading network hibernation system, method of suspending network hibernation system, and method of rezooming network hibernation system
JP2000174751A (en) * 1998-12-08 2000-06-23 Nec Corp Network element restarting system
US6085328A (en) * 1998-01-20 2000-07-04 Compaq Computer Corporation Wake up of a sleeping computer using I/O snooping and imperfect packet filtering

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5404544A (en) * 1992-06-05 1995-04-04 Advanced Micro Devices System for periodically transmitting signal to/from sleeping node identifying its existence to a network and awakening the sleeping node responding to received instruction
JPH08241101A (en) * 1994-10-25 1996-09-17 Samsung Electron Co Ltd Network hibernation system, method of loading network hibernation system, method of suspending network hibernation system, and method of rezooming network hibernation system
US6085328A (en) * 1998-01-20 2000-07-04 Compaq Computer Corporation Wake up of a sleeping computer using I/O snooping and imperfect packet filtering
JP2000174751A (en) * 1998-12-08 2000-06-23 Nec Corp Network element restarting system

Also Published As

Publication number Publication date
CN1595331A (en) 2005-03-16

Similar Documents

Publication Publication Date Title
CN100378617C (en) Network awakening device and method
US9310838B2 (en) Power management method for switching power mode of a computer system based on detection of a human interface device
TWI495297B (en) Process, computer readable media, and system for device power management using network connections
CN107122321B (en) Hardware repair method, hardware repair system, and computer-readable storage device
US9710045B2 (en) Managing network wake-up commands
US6460143B1 (en) Apparatus and method for awakening bus circuitry from a low power state
US8291246B2 (en) High speed network interface with automatic power management with auto-negotiation
US7185229B2 (en) Method and system for performing remote maintenance operations on a battery powered computer
TWI567536B (en) Power management circuit, server and power management method thereof
US8095808B2 (en) Method, element and circuit board for controlling shutdown of electronic device
GB2493257A (en) Method for entering and exiting sleep mode in a graphics subsystem
US20050086460A1 (en) Apparatus and method for wakeup on LAN
CN101964724B (en) Energy conservation method of communication single plate and communication single plate
CN105807848A (en) Touch industrial personal computer
US6993670B2 (en) Method of configuring a computer system capable of being woken up on LAN
TWI693513B (en) Server system and power saving method thereof
WO2005071531A1 (en) A method and device for start up computer
BR112014016025B1 (en) STORAGE MEDIA, FIRST DEVICE, SYSTEM AND METHOD FOR POWER SWITCHED COMMUNICATION CONTROLLER
JP2006338380A (en) Information processor and its control method
CN101281416A (en) Method for ensuring system shutdown completion
CN101459531A (en) Power supply device and method for baseboard management controller
CN101436097B (en) Electronic device and wake-up method thereof
CN101576765B (en) Method, component and circuit board for controlling shutdown of electronic device
CN104345850B (en) Intelligent automatic boot device
TWI228358B (en) Apparatus and method for wakeup on LAN

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080402

Termination date: 20180909

CF01 Termination of patent right due to non-payment of annual fee