CN101576765B - Method, component and circuit board for controlling shutdown of electronic device - Google Patents
- ️Wed Aug 10 2011
CN101576765B - Method, component and circuit board for controlling shutdown of electronic device - Google Patents
Method, component and circuit board for controlling shutdown of electronic device Download PDFInfo
-
Publication number
- CN101576765B CN101576765B CN2008100967599A CN200810096759A CN101576765B CN 101576765 B CN101576765 B CN 101576765B CN 2008100967599 A CN2008100967599 A CN 2008100967599A CN 200810096759 A CN200810096759 A CN 200810096759A CN 101576765 B CN101576765 B CN 101576765B Authority
- CN
- China Prior art keywords
- mentioned
- electronic installation
- signal
- processing module
- module Prior art date
- 2008-05-09 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.)
- Active
Links
Images
Landscapes
- Power Sources (AREA)
Abstract
本发明提供一种用以控制电子装置关机的方法、元件以及电路板;根据本发明的方法包含下列步骤:首先,接收一电源控制信号,并且计算该电源控制信号处于一预设电平的持续时间,接着,判断该持续时间是否大于一阈值;若是,产生一中断信号,并且将该中断信号传送至该电子装置的处理模块,以驱动该处理模块根据该中断信号设定该电子装置的预设机制。本发明可在电子装置强制关机时先设定该电子装置的多个预设机制,致使该电子装置能在强制关机后仍保有所述多个预设机制。
The present invention provides a method, component and circuit board for controlling the shutdown of an electronic device; the method according to the present invention comprises the following steps: first, receiving a power control signal and calculating the duration of the power control signal being at a preset level, then determining whether the duration is greater than a threshold; if so, generating an interrupt signal and transmitting the interrupt signal to a processing module of the electronic device to drive the processing module to set a preset mechanism of the electronic device according to the interrupt signal. The present invention can set multiple preset mechanisms of the electronic device before forcing the electronic device to shut down, so that the electronic device can still retain the multiple preset mechanisms after forced shutdown.
Description
技术领域technical field
本发明涉及一种用以控制电子装置关机的方法、元件以及电路板,并且特别涉及一种用以控制电子装置强制关机(force shutdown)的方法、元件以及电路板。The present invention relates to a method, component and circuit board for controlling shutdown of an electronic device, and in particular to a method, component and circuit board for controlling forced shutdown of an electronic device.
背景技术Background technique
随着电子相关技术的快速发展,计算机、移动电话等电子装置已成为现代人生活中不可或缺的辅助工具。通常,各类电子装置中都会包含主板(Mother Board),主板上设置有执行各种功能的芯片组;电阻、电容等无源元件;以及供各种功能性电路板插接的插槽。并且,各芯片组、无源元件以及插槽之间通过细密而复杂的电路进行连接。With the rapid development of electronic related technologies, electronic devices such as computers and mobile phones have become indispensable auxiliary tools in modern life. Generally, various electronic devices will include a motherboard (Mother Board), which is provided with a chipset for performing various functions; passive components such as resistors and capacitors; and slots for various functional circuit boards to be plugged in. Moreover, each chipset, passive components, and sockets are connected through fine and complex circuits.
请参见图1,其所示为先前技术中的主板功能方框图。主板7的主要架构由中央处理器70、北桥芯片72、南桥芯片74、基本输入/输出系统(Basic Input/Output System,BIOS)芯片76以及输入/输出控制芯片78所构成。其中,北桥芯片72负责中央处理器70、主存储器710以及显示装置(未显示于图中)之间的数据传输及控制;南桥芯片74负责中央处理器70与BIOS芯片76以及部分周边装置的沟通,这些周边装置包含需要较高传输速度的接口扩充区730、存储装置732、网络控制元件734等等。另外,如串行端口750、并行端口752、键盘754、鼠标756以及电源供应器758等仅需较低传输速度的周边装置则由输入/输出控制芯片78进行控制。Please refer to FIG. 1 , which shows a functional block diagram of a motherboard in the prior art. The main frame of the motherboard 7 is composed of a central processing unit 70, a north bridge chip 72, a south bridge chip 74, a basic input/output system (Basic Input/Output System, BIOS) chip 76 and an input/output control chip 78. Wherein, the north bridge chip 72 is responsible for the data transmission and control between the central processing unit 70, the main memory 710 and the display device (not shown in the figure); the south bridge chip 74 is responsible for the communication between the central processing unit 70, the BIOS chip 76 and some peripheral devices For communication, these peripheral devices include interface expansion area 730, storage device 732, network control element 734, etc. that require higher transmission speed. In addition, the peripheral devices that only require lower transmission speed, such as the serial port 750 , the parallel port 752 , the keyboard 754 , the mouse 756 , and the power supply 758 , are controlled by the I/O control chip 78 .
此外,BIOS芯片76可针对主板7上的芯片组以及周边装置进行初始化设定,并且将操作系统自存储装置732加载到主存储器710中。进一步,BIOS芯片76还可供使用者设定电子装置的特定机制,例如网络唤醒(Wake On LAN,WOL)、键盘唤醒、鼠标唤醒等机制。In addition, the BIOS chip 76 can perform initialization settings for the chipset and peripheral devices on the motherboard 7 , and load the operating system from the storage device 732 into the main memory 710 . Further, the BIOS chip 76 can also be used by the user to set specific mechanisms of the electronic device, such as Wake On LAN (WOL), keyboard wakeup, mouse wakeup and other mechanisms.
以WOL为例,在电子装置进行正常关机时,操作系统会在关闭电源之前先呼叫BIOS芯片76启动WOL机制,再由BIOS芯片76将网络控制元件734、南桥芯片74等相关单元设定成可接受WOL的状态。在前述设定完成后,操作系统才控制电源供应器758中断电源。由此,使用者可通过远程服务器传送唤醒信号封包(例如,由AMD公司所提出的魔术封包(magic packet))至该网络控制元件734,该网络控制元件734再传送唤醒事件信号至南桥芯片74,而南桥芯片74根据该唤醒事件信号控制该电子装置开机。Taking WOL as an example, when the electronic device is normally shut down, the operating system will call the BIOS chip 76 to start the WOL mechanism before turning off the power, and then the BIOS chip 76 will set the network control element 734, the south bridge chip 74 and other related units to Acceptable WOL status. After the foregoing settings are completed, the operating system controls the power supply 758 to cut off the power. Thus, the user can send a wake-up signal packet (for example, the magic packet (magic packet) proposed by AMD) to the network control element 734 through a remote server, and the network control element 734 then sends a wake-up event signal to the south bridge chip 74, and the south bridge chip 74 controls the electronic device to start up according to the wake-up event signal.
此外,电子装置通常包含电源开关80,其连接输入/输出控制芯片78,并且该电源开关80可发送电源控制信号至输入/输出控制芯片78。当电源开关80处于正常状况时,电源控制信号具有第一电平(signal level),而当电源开关80受到使用者按压时,电源控制信号的电平会变换为第二电平(通常,第二电平低于第一电平)。当输入/输出控制芯片78检测到电源控制信号的电平发生改变时,便会通知操作系统进行前述的关机程序。In addition, the electronic device usually includes a power switch 80 connected to the I/O control chip 78 , and the power switch 80 can send a power control signal to the I/O control chip 78 . When the power switch 80 is in a normal state, the power control signal has a first level (signal level), and when the power switch 80 is pressed by the user, the level of the power control signal will change to a second level (usually, the first level) The second level is lower than the first level). When the input/output control chip 78 detects that the level of the power control signal changes, it will notify the operating system to perform the aforementioned shutdown procedure.
然而,若电子装置进行不正常关机时,例如使用者持续按压电源开关80数秒钟导致电子装置强制关机,电源供应器758会直接中断电源,导致BIOS芯片76来不及设定网络控制元件734、南桥芯片74等相关单元,进而使WOL机制失效。同样地,其他需要在关机前由BIOS芯片76设定的机制皆可能因为电子装置进行不正常关机而失效。However, if the electronic device is shut down abnormally, for example, the user continues to press the power switch 80 for several seconds to force the electronic device to shut down, the power supply 758 will directly interrupt the power supply, causing the BIOS chip 76 to have no time to set the network control element 734, south bridge Related units such as the chip 74, and then make the WOL mechanism invalid. Similarly, other mechanisms that need to be set by the BIOS chip 76 before shutdown may fail due to abnormal shutdown of the electronic device.
发明内容Contents of the invention
因此,本发明的一目的在于提供一种用以控制电子装置关机的方法,用以解决先前技术中的问题。Therefore, an object of the present invention is to provide a method for controlling the shutdown of an electronic device to solve the problems in the prior art.
根据本发明的一优选具体实施例,该方法包含下列步骤:首先,接收一电源控制信号,并且计算该电源控制信号处于一预设电平的持续时间。接着,判断该持续时间是否大于一阈值。最后,若判断结果为是,产生一中断信号,并且将该中断信号传送至该电子装置的一处理模块,以驱动该处理模块根据该中断信号设定该电子装置的一预设机制,该处理模块于设定上述预设机制后产生并输出确认信号;并且根据上述确认信号控制上述电子装置的电源供应器停止供电,以将上述电子装置关机,。According to a preferred embodiment of the present invention, the method includes the following steps: firstly, receiving a power control signal, and calculating the duration of the power control signal at a predetermined level. Next, it is judged whether the duration is greater than a threshold. Finally, if the judgment result is yes, generate an interrupt signal, and transmit the interrupt signal to a processing module of the electronic device, so as to drive the processing module to set a default mechanism of the electronic device according to the interrupt signal, the processing The module generates and outputs a confirmation signal after setting the preset mechanism; and controls the power supply of the electronic device to stop supplying power according to the confirmation signal, so as to shut down the electronic device.
本发明的另一目的在于提供一种用以控制电子装置关机的元件,用以解决先前技术中的问题。Another object of the present invention is to provide a device for controlling the shutdown of an electronic device to solve the problems in the prior art.
根据本发明的一优选具体实施例,该元件连接该电子装置的一电源开关,用以接收该电源开关传送的一电源控制信号。并且,该元件包含一判断模块,用以判断该电源控制信号处于一预设电平的持续时间是否大于一阈值。若是的话,该判断模块产生一中断信号,并且将该中断信号传送至该电子装置的一处理模块,以驱动该处理模块根据该中断信号设定该电子装置的一预设机制,上述处理模块于设定上述预设机制后产生并输出确认信号至上述元件,并且上述元件根据上述确认信号控制上述电子装置的电源供应器停止供电,以将上述电子装置关机。According to a preferred embodiment of the present invention, the element is connected to a power switch of the electronic device for receiving a power control signal transmitted by the power switch. Moreover, the component includes a judging module for judging whether the duration of the power control signal at a preset level is greater than a threshold. If so, the judging module generates an interrupt signal, and transmits the interrupt signal to a processing module of the electronic device, so as to drive the processing module to set a default mechanism of the electronic device according to the interrupt signal. After the preset mechanism is set, a confirmation signal is generated and output to the component, and the component controls the power supply of the electronic device to stop supplying power according to the confirmation signal, so as to shut down the electronic device.
本发明的再一目的在于提供一种用以控制电子装置关机的电路板,用以解决先前技术中的问题。Another object of the present invention is to provide a circuit board for controlling shutdown of an electronic device to solve the problems in the prior art.
根据本发明的一优选具体实施例,该电路板包含一控制元件、一南桥芯片以及一处理模块。该控制元件分别连接该电子装置的一电源开关以及一电源供应器,用以自该电源开关接收一电源控制信号。并且,该控制元件判断该电源控制信号处于一预设电平的持续时间是否大于一阈值,若是,则该控制元件产生并输出一中断信号。该南桥芯片则分别连接该控制元件以及该处理模块,用以自该控制元件接收该中断信号,并且将该中断信号传送至该处理模块。此外,该处理模块根据该中断信号设定该电子装置的一预设机制,上述处理模块于设定上述预设机制后产生并输出确认信号至上述元件,并且上述元件根据上述确认信号控制上述电子装置的电源供应器停止供电,以将上述电子装置关机。According to a preferred embodiment of the present invention, the circuit board includes a control element, a south bridge chip and a processing module. The control element is respectively connected to a power switch and a power supply of the electronic device for receiving a power control signal from the power switch. Moreover, the control element judges whether the duration of the power control signal at a preset level is greater than a threshold, and if so, the control element generates and outputs an interrupt signal. The south bridge chip is respectively connected to the control element and the processing module, and used for receiving the interrupt signal from the control element and sending the interrupt signal to the processing module. In addition, the processing module sets a default mechanism of the electronic device according to the interrupt signal, the processing module generates and outputs a confirmation signal to the component after setting the default mechanism, and the component controls the electronic device according to the confirmation signal The power supply of the device stops supplying power, so as to shut down the above-mentioned electronic device.
本发明的有益效果在于,本发明的用以控制电子装置关机的方法、元件以及电路板可在电子装置强制关机时先设定该电子装置的多个预设机制,致使该电子装置能在强制关机后仍保有所述多个预设机制。The beneficial effect of the present invention is that the method, component and circuit board for controlling the shutdown of the electronic device can first set a plurality of preset mechanisms of the electronic device when the electronic device is forced to shut down, so that the electronic device can The plurality of preset mechanisms are still retained after shutdown.
关于本发明的优点与精神可以由以下的发明详述及附图得到进一步的了解。The advantages and spirit of the present invention can be further understood from the following detailed description of the invention and the accompanying drawings.
附图说明Description of drawings
图1所示为先前技术中的主板的功能方框图;Fig. 1 shows the functional block diagram of the motherboard in the prior art;
图2所示为根据本发明的一具体实施例的控制元件的功能方框图;Fig. 2 is a functional block diagram of a control element according to a specific embodiment of the present invention;
图3所示为根据本发明的第一具体实施例的控制电路板的功能方框图;Fig. 3 shows the functional block diagram of the control circuit board according to the first embodiment of the present invention;
图4所示为根据本发明的第二具体实施例的控制电路板的功能方框图;Figure 4 shows a functional block diagram of a control circuit board according to a second embodiment of the present invention;
图5所示为根据本发明的第一具体实施例的控制方法的流程图;FIG. 5 is a flowchart of a control method according to a first embodiment of the present invention;
图6所示为根据本发明的第二具体实施例的控制方法的流程图。Fig. 6 is a flowchart of a control method according to a second specific embodiment of the present invention.
具体实施方式Detailed ways
本发明提供一种用以控制电子装置关机的方法、元件以及电路板。特别地,根据本发明的方法、元件以及电路板能在电子装置强制关机时先设定该电子装置的多个预设机制,致使该电子装置能在强制关机后仍保有所述多个预设机制。于实际应用中,本发明所述的电子装置可以是台式计算机、笔记本计算机、平板计算机等,但不受限于此。The invention provides a method, component and circuit board for controlling shutdown of an electronic device. In particular, according to the method, component and circuit board of the present invention, a plurality of preset mechanisms of the electronic device can be set first when the electronic device is forcibly shut down, so that the electronic device can still maintain the plurality of preset mechanisms after the forced shutdown mechanism. In practical applications, the electronic device described in the present invention may be a desktop computer, a notebook computer, a tablet computer, etc., but is not limited thereto.
请参见图2,图2所示为根据本发明的一具体实施例的控制元件的功能方框图。如图2所示,该控制元件10连接一电子装置(未显示于图中)的电源开关20与电源供应器24以及一处理模块22;控制元件10是用以接收电源开关20传送的电源控制信号,且其包含一暂存模块102、一计算模块104以及一判断模块106。Please refer to FIG. 2 , which is a functional block diagram of a control element according to a specific embodiment of the present invention. As shown in Figure 2, the control element 10 is connected to a power switch 20, a power supply 24 and a processing module 22 of an electronic device (not shown in the figure); the control element 10 is used to receive the power control transmitted by the power switch 20 signal, and it includes a temporary storage module 102 , a calculation module 104 and a judgment module 106 .
暂存模块102可记录来自电源开关20所提供的电源控制信号目前电平。计算模块104连接暂存模块102,用以当目前电平符合预设电平时,计算电源控制信号处于预设电平的持续时间。The temporary storage module 102 can record the current level of the power control signal provided by the power switch 20 . The calculation module 104 is connected to the temporary storage module 102 for calculating the duration of the power control signal at the preset level when the current level matches the preset level.
于实际应用中,电源控制信号在电源开关20未被按压时具有如前述的第一电平(例如,1),而预设电平可以设为如前述的第二电平(例如,0)。因此,当使用者按压电源开关20时,电源控制信号的电平变化为第二电平0,因此符合预设电平。此时,计算模块104便开始计时,以计算电源控制信号处于预设电平的持续时间。In practical application, the power control signal has the aforementioned first level (eg, 1) when the power switch 20 is not pressed, and the preset level can be set as the aforementioned second level (eg, 0). . Therefore, when the user presses the power switch 20 , the level of the power control signal changes to the second level 0, thus meeting the preset level. At this time, the calculation module 104 starts timing to calculate the duration of the power control signal at the preset level.
判断模块106则连接计算模块104,用以将计算模块104所计算的持续时间与一预设阈值作比较,以判断持续时间是否大于预设阈值。于实际应用中,预设阈值可由控制元件10的设计者或使用者进行设定,例如,但不受限于2秒、3秒、4秒、5秒、10秒等等。The judgment module 106 is connected to the calculation module 104 for comparing the duration calculated by the calculation module 104 with a preset threshold to determine whether the duration is greater than the preset threshold. In practical applications, the preset threshold can be set by the designer or user of the control element 10, for example, but not limited to 2 seconds, 3 seconds, 4 seconds, 5 seconds, 10 seconds and so on.
若判断模块106判断电源控制信号处于预设电平的持续时间大于预设阈值时,判断模块106产生中断信号,并且将中断信号传送至处理模块22,以驱动处理模块22根据中断信号设定电子装置的一个或多个预设机制。If the judging module 106 judges that the duration of the power control signal at the preset level is greater than the preset threshold, the judging module 106 generates an interrupt signal, and transmits the interrupt signal to the processing module 22, so as to drive the processing module 22 to set the power supply control signal according to the interrupt signal. One or more default mechanisms of the device.
于实际应用中,本发明的预设机制可以是唤醒机制、警示机制等。进一步,唤醒机制可以是网络唤醒机制、鼠标唤醒机制、键盘唤醒机制或其他适当的唤醒机制。In practical applications, the preset mechanism of the present invention may be a wake-up mechanism, an alert mechanism, and the like. Further, the wake-up mechanism may be a network wake-up mechanism, a mouse wake-up mechanism, a keyboard wake-up mechanism or other appropriate wake-up mechanisms.
当然,本发明所述的预设机制可以是其他适当的机制,而不受限于这里所举的例子。关于所述多个机制的相关内容将于以下的具体实施例中详述。Certainly, the preset mechanism described in the present invention may be other appropriate mechanisms, and is not limited to the examples mentioned here. Related content about the multiple mechanisms will be described in detail in the following specific embodiments.
此外,若判断模块106判断电源控制信号处于预设电平的持续时间小于预设阈值时,判断模块106可不进行任何动作。或者,判断模块106也可通知电子装置的操作系统进行前述的正常关机程序。In addition, if the judging module 106 judges that the duration of the power control signal at the preset level is less than the preset threshold, the judging module 106 may not take any action. Alternatively, the judging module 106 may also notify the operating system of the electronic device to perform the aforementioned normal shutdown procedure.
于实际应用中,当处理模块22于设定预设机制后,可产生并输出确认信号至控制元件10,使其根据确认信号控制电子装置的电源供应器24停止供电,以将电子装置关机。In practical applications, after the processing module 22 sets the default mechanism, it can generate and output a confirmation signal to the control element 10, so that it can control the power supply 24 of the electronic device to stop supplying power according to the confirmation signal, so as to shut down the electronic device.
综上所述,本发明的控制元件可在电子装置被强制关机时预先设定如前所述的机制,避免已知技术中电子装置因强制关机而导致所述多个机制丧失的问题,并降低使用者的困扰。To sum up, the control element of the present invention can preset the above-mentioned mechanism when the electronic device is forced to shut down, avoiding the problem of the loss of the multiple mechanisms caused by the forced shutdown of the electronic device in the known technology, and Reduce user annoyance.
请参见图3,图3所示为根据本发明的一具体实施例的控制电路板的功能方框图。如图3所示,该控制电路板3包含控制元件30、南桥芯片32以及处理模块34。于实际应用中,该控制电路板3可以是一主板,但不受限于此。Please refer to FIG. 3 , which is a functional block diagram of a control circuit board according to a specific embodiment of the present invention. As shown in FIG. 3 , the control circuit board 3 includes a control element 30 , a south bridge chip 32 and a processing module 34 . In practical applications, the control circuit board 3 may be a main board, but is not limited thereto.
控制元件30分别耦接电子装置(未显示于图中)的电源开关40与电源供应器42;控制元件30是用以自电源开关40接收电源控制信号,并且判断电源控制信号处于预设电平的持续时间是否大于预设阈值,若是,则控制元件30产生并输出中断信号。The control element 30 is respectively coupled to the power switch 40 and the power supply 42 of the electronic device (not shown in the figure); the control element 30 is used for receiving the power control signal from the power switch 40, and judging that the power control signal is at a preset level Whether the duration is greater than the preset threshold, if so, the control element 30 generates and outputs an interrupt signal.
于实际应用中,控制元件30可包含如前述的暂存模块302、计算模块304以及判断模块306。所述多个模块间的连接关系、运行方式及功能皆与前面所举的例子相同,在此不作赘述。需注意的是,所述多个模块可视情况被整合或分割,并不受限于任何特定的形式。此外,所述多个模块可能是以硬件或固件的形式存在。In practical applications, the control unit 30 may include the above-mentioned temporary storage module 302 , calculation module 304 and judgment module 306 . The connection relationship, operation mode and functions among the multiple modules are the same as the above examples, and will not be repeated here. It should be noted that the multiple modules can be integrated or divided as appropriate, and are not limited to any specific form. In addition, the plurality of modules may exist in the form of hardware or firmware.
南桥芯片32分别耦接控制元件30以及处理模块34,用以自控制元件30接收中断信号,并且将中断信号传送至处理模块34。如前所述,处理模块34可根据中断信号设定电子装置的预设机制。The south bridge chip 32 is respectively coupled to the control element 30 and the processing module 34 for receiving the interrupt signal from the control element 30 and transmitting the interrupt signal to the processing module 34 . As mentioned above, the processing module 34 can set the preset mechanism of the electronic device according to the interrupt signal.
如前所述,于实际应用中,当处理模块34于设定预设机制后,其可产生并输出确认信号至控制元件30,并且控制元件30根据确认信号控制电子装置的电源供应器42停止供电,以将电子装置关机。As mentioned above, in practical applications, after the processing module 34 sets the default mechanism, it can generate and output a confirmation signal to the control element 30, and the control element 30 controls the power supply 42 of the electronic device to stop according to the confirmation signal. supply power to shut down the electronic device.
于实际应用中,本发明的处理模块34可以是一基本输入/输出系统模块或一嵌入式控制模块(embedded control module),但不受限于此。此外,本发明的处理模块34可能是以硬件或固件的形式存在。In practical application, the processing module 34 of the present invention can be a basic input/output system module or an embedded control module (embedded control module), but is not limited thereto. In addition, the processing module 34 of the present invention may exist in the form of hardware or firmware.
请再参见图4,图4所示为根据本发明的另一具体实施例的控制电路板的功能方框图。如图4所示,该控制电路板3除了图3所示的控制元件30、南桥芯片32以及处理模块34之外,还包含中央处理器36、北桥芯片37以及网络控制元件38。当然,于实际应用中,该控制电路板3还可包含其他适当的元件。Please refer to FIG. 4 again, which is a functional block diagram of a control circuit board according to another embodiment of the present invention. As shown in FIG. 4 , the control circuit board 3 includes a central processing unit 36 , a north bridge chip 37 and a network control component 38 in addition to the control component 30 , south bridge chip 32 and processing module 34 shown in FIG. 3 . Of course, in practical applications, the control circuit board 3 may also include other appropriate components.
中央处理器36可执行并控制电子装置的各种运算功能,而北桥芯片37分别耦接中央处理器36以及南桥芯片32,用以协助南桥芯片32与中央处理器间36的信号传递。于实际应用中,中央处理器36插接于控制电路板3上的专用插槽中,并且可被替换。此外,网络控制元件38连接至南桥芯片32,并且通过南桥芯片32与控制电路板3上的其他元件沟通。The central processing unit 36 can execute and control various computing functions of the electronic device, and the north bridge chip 37 is respectively coupled to the central processing unit 36 and the south bridge chip 32 to assist the signal transmission between the south bridge chip 32 and the central processing unit 36 . In practical applications, the CPU 36 is plugged into a dedicated slot on the control circuit board 3 and can be replaced. In addition, the network control component 38 is connected to the south bridge chip 32 and communicates with other components on the control circuit board 3 through the south bridge chip 32 .
如前所述,本发明的预设机制可以是唤醒机制、警示机制等。进一步,唤醒机制可以是网络唤醒机制、鼠标唤醒机制、键盘唤醒机制或其他适当的唤醒机制。As mentioned above, the preset mechanism of the present invention may be a wake-up mechanism, an alert mechanism, and the like. Further, the wake-up mechanism may be a network wake-up mechanism, a mouse wake-up mechanism, a keyboard wake-up mechanism or other appropriate wake-up mechanisms.
举例而言,当该预设机制为网络唤醒机制时,处理模块34设定网络控制元件38,致使该网络控制元件38能接收如先前所述的唤醒信号封包。并且,处理模块34还设定南桥芯片32,致使南桥芯片32能接收网络控制元件38根据该唤醒信号封包所产生的唤醒事件信号。借此,即使电子装置被强制关机,其仍可通过本发明的控制电路板3而保有网络唤醒机制。For example, when the default mechanism is the Wake-on-LAN mechanism, the processing module 34 sets the network control element 38 so that the network control element 38 can receive the wake-up signal packet as described above. Moreover, the processing module 34 also sets the south bridge chip 32 so that the south bridge chip 32 can receive the wake-up event signal generated by the network control element 38 according to the wake-up signal packet. In this way, even if the electronic device is forced to shut down, it can still maintain the wake-on-LAN mechanism through the control circuit board 3 of the present invention.
再举例而言,当该预设机制为警示机制时,处理模块34传送一驱动信号至网络控制元件38,并且网络控制元件38根据该驱动信号发送一警示信号至一监控端(未显示于图中),以通知该监控端该电子装置将要关机。借此,该电子装置可在被强制关机时通知监控端,使该监控端或相关的监控人员能对此情况做适当处置,例如,传送唤醒信号以唤醒该电子装置。For another example, when the default mechanism is an alert mechanism, the processing module 34 sends a drive signal to the network control element 38, and the network control element 38 sends an alert signal to a monitoring terminal (not shown in the figure) according to the drive signal. middle), to notify the monitoring terminal that the electronic device will be shut down. In this way, the electronic device can notify the monitoring terminal when it is forced to shut down, so that the monitoring terminal or relevant monitoring personnel can properly deal with this situation, for example, sending a wake-up signal to wake up the electronic device.
请参见图5,图5所示为根据本发明的一具体实施例的控制方法的流程图。如图5所示,根据本发明的方法包含下列步骤:Please refer to FIG. 5 , which is a flowchart of a control method according to a specific embodiment of the present invention. As shown in Figure 5, the method according to the present invention comprises the following steps:
步骤S50,接收一电源控制信号,并且计算该电源控制信号处于一预设电平的持续时间。步骤S52,判断该持续时间是否大于一阈值。若步骤S52的判断为是(例如,使用者持续按压电源开关),则进行步骤S54,产生一中断信号,并且将该中断信号传送至该电子装置的一处理模块。借由步骤S54,本发明的方法可驱动该处理模块根据该中断信号设定该电子装置的一预设机制。Step S50, receiving a power control signal, and calculating the duration of the power control signal at a predetermined level. Step S52, judging whether the duration is greater than a threshold. If the determination in step S52 is yes (for example, the user keeps pressing the power switch), then proceed to step S54 to generate an interrupt signal and send the interrupt signal to a processing module of the electronic device. Through step S54, the method of the present invention can drive the processing module to set a default mechanism of the electronic device according to the interrupt signal.
根据步骤S54,该处理模块于设定该预设机制后可产生并输出一确认信号(步骤S56),并且,本发明的方法可进一步包含步骤S58,接收该确认信号,并且根据该确认信号控制该电子装置的电源供应器停止供电,以将该电子装置关机。According to step S54, the processing module can generate and output a confirmation signal after setting the default mechanism (step S56), and the method of the present invention can further include step S58, receiving the confirmation signal, and controlling the system according to the confirmation signal The power supply of the electronic device stops supplying power to shut down the electronic device.
于本具体实施例中,若步骤S52的判断为否(例如,使用者按压电源开关一下后放开),则本发明的方法可进行步骤S60,控制电子装置进入正常关机状态。然而,于实际应用中,若步骤S52的判断为否,本发明的方法也可不进行任何其他步骤。In this specific embodiment, if the determination in step S52 is negative (for example, the user presses the power switch once and then releases it), the method of the present invention may proceed to step S60 to control the electronic device to enter a normal shutdown state. However, in practical applications, if the determination of step S52 is negative, the method of the present invention may not perform any other steps.
请注意,以上各步骤可由本发明的控制元件执行(其中,步骤S52可由该控制元件的判断模块执行),但也可由其他适当的单元(或模块)执行,并不受限于这里所举的实施例。Please note that the above steps can be executed by the control element of the present invention (wherein, step S52 can be executed by the judging module of the control element), but can also be executed by other appropriate units (or modules), and are not limited to the ones mentioned here. Example.
进一步请参见图6,图6所示为根据本发明的另一具体实施例的控制方法的流程图。如图6所示,图5所示的步骤S50还可包含下列步骤:步骤S500,接收该电源控制信号。步骤S502,记录该电源控制信号的一目前电平。步骤S504,判断该目前电平是否符合该预设电平。若步骤S504的判断为是,则于步骤S506计算该电源控制信号处于该预设电平的持续时间。请注意,以上各步骤可分别由本发明的控制元件的暂存模块以及计算模块所执行,但也可由其他适当的单元或模块执行,并不受限于本说明书所举的实施例。Further please refer to FIG. 6 , which is a flow chart of a control method according to another specific embodiment of the present invention. As shown in FIG. 6, the step S50 shown in FIG. 5 may further include the following steps: Step S500, receiving the power control signal. Step S502, recording a current level of the power control signal. Step S504, judging whether the current level matches the preset level. If the determination in step S504 is yes, then in step S506, calculate the duration of the power control signal at the preset level. Please note that the above steps can be respectively executed by the temporary storage module and the calculation module of the control element of the present invention, but can also be executed by other suitable units or modules, and are not limited to the embodiments mentioned in this specification.
于本具体实施例中,若步骤S504的判断为否,则本发明的方法可进行步骤S62,维持电子装置运行状态。然而,于实际应用中,若步骤S504的判断为否,本发明的方法也可不进行任何其他步骤。In this specific embodiment, if the determination in step S504 is negative, the method of the present invention may proceed to step S62 to maintain the running state of the electronic device. However, in practical applications, if the determination in step S504 is negative, the method of the present invention may not perform any other steps.
此外,如上所述,该预设机制可以是唤醒机制、警示机制等。进一步,唤醒机制可以是网络唤醒机制、鼠标唤醒机制、键盘唤醒机制或其他适当的唤醒机制。并且,本发明的处理模块可针对各机制分别进行如前所述的设定或其他适当的设定。In addition, as mentioned above, the preset mechanism may be a wake-up mechanism, an alert mechanism, and the like. Further, the wake-up mechanism may be a network wake-up mechanism, a mouse wake-up mechanism, a keyboard wake-up mechanism or other appropriate wake-up mechanisms. Moreover, the processing module of the present invention can respectively perform the above-mentioned setting or other appropriate setting for each mechanism.
综上所述,本发明的用以控制电子装置关机的方法、元件以及电路板可在电子装置强制关机时先设定该电子装置的多个预设机制,致使该电子装置能在强制关机后仍保有多个预设机制。To sum up, the method, component and circuit board for controlling the shutdown of an electronic device of the present invention can first set a plurality of preset mechanisms of the electronic device when the electronic device is forcibly shut down, so that the electronic device can There are still several preset mechanisms.
借由以上优选具体实施例的详述,希望能更加清楚描述本发明的特征与精神,而并非以上述所公开的优选具体实施例来对本发明的目的加以限制。相反地,其目的是希望能涵盖各种改变及具相等性的安排于本发明所欲申请的权利要求书的范围内。因此,本发明所申请的权利要求书的范围应该根据上述的说明作最宽广的解释,以使其涵盖所有可能的改变以及具相等性的安排。With the above detailed description of the preferred specific embodiments, it is hoped that the features and spirit of the present invention can be described more clearly, rather than the purpose of the present invention being limited by the preferred specific embodiments disclosed above. On the contrary, the intention is to cover various modifications and equivalent arrangements within the scope of the appended claims of the present invention. Therefore, the scope of the claims applied for in the present invention should be interpreted in the broadest way based on the above description, so as to cover all possible changes and equivalent arrangements.
Claims (22)
1. the method in order to the shutdown of control electronic installation is characterized in that, comprises the following step:
A receives power control signal, and calculates the duration that above-mentioned power control signal is in predetermined level;
B judges that whether the above-mentioned duration is greater than threshold value;
C as if being judged as among the step b is, produce look-at-me, and above-mentioned look-at-me is sent to the processing module of above-mentioned electronic installation, set the default mechanism of above-mentioned electronic installation to drive above-mentioned processing module according to above-mentioned look-at-me, above-mentioned processing module produces and the output confirmation signal in setting above-mentioned default mechanism back; And
D receives above-mentioned confirmation signal, and stops power supply according to the power supply unit that above-mentioned confirmation signal is controlled above-mentioned electronic installation, with above-mentioned electronic installation shutdown.
2. method according to claim 1 is characterized in that, wherein step a further comprises the following step:
A1 writes down the present level of above-mentioned power control signal; And
When a2 meets above-mentioned predetermined level when above-mentioned present level, calculate the duration that above-mentioned power control signal is in above-mentioned predetermined level.
3. method according to claim 1 is characterized in that, wherein above-mentioned default mechanism is arouse machine processed.
4. method according to claim 3 is characterized in that, wherein above-mentioned arouse machine processed is WOL (Wake On LAN) mechanism, mouse arouse machine processed or keyboard arouse machine processed.
5. method according to claim 1 is characterized in that, wherein above-mentioned default mechanism is caution mechanism.
6. method according to claim 5, it is characterized in that, wherein above-mentioned processing module transmits the network control element of drive signal to above-mentioned electronic installation, and above-mentioned network control element sends alarm signal to monitoring client according to above-mentioned drive signal, will shut down to notify the above-mentioned electronic installation of above-mentioned monitoring client.
7. the element in order to the shutdown of control electronic installation is characterized in that said elements connects the power switch of above-mentioned electronic installation, and in order to receive the power control signal that above-mentioned power switch transmits, said elements comprises:
Whether judge module is in the duration of predetermined level greater than threshold value in order to judge above-mentioned power control signal;
Wherein when duration that above-mentioned power control signal is in above-mentioned predetermined level during greater than above-mentioned threshold value, above-mentioned judge module produces look-at-me, and above-mentioned look-at-me is sent to the processing module of above-mentioned electronic installation, set the default mechanism of above-mentioned electronic installation according to above-mentioned look-at-me to drive above-mentioned processing module, above-mentioned processing module produces and exports confirmation signal to above-mentioned element in setting above-mentioned default mechanism back, and the power supply unit that said elements is controlled above-mentioned electronic installation according to above-mentioned confirmation signal is stopped power supply, so that above-mentioned electronic installation is shut down.
8. element according to claim 7 is characterized in that, further comprises:
Temporary module is in order to write down the present level of above-mentioned power control signal; And
Computing module connects above-mentioned temporary module, in order to when above-mentioned present level meets above-mentioned predetermined level, calculates the duration that above-mentioned power control signal is in above-mentioned predetermined level;
Wherein above-mentioned judge module connects the aforementioned calculation module, in order to compare duration and the above-mentioned threshold value that the aforementioned calculation module is calculated, to judge that whether the above-mentioned duration is greater than above-mentioned threshold value.
9. element according to claim 7 is characterized in that, wherein above-mentioned default mechanism is arouse machine processed.
10. according to claim 9 a described element, it is characterized in that wherein above-mentioned arouse machine processed is WOL (Wake On LAN) mechanism, mouse arouse machine processed or keyboard arouse machine processed.
11. element according to claim 7 is characterized in that, wherein above-mentioned default mechanism is caution mechanism.
12. element according to claim 11, it is characterized in that, wherein above-mentioned processing module transmits the network control element of drive signal to above-mentioned electronic installation, and above-mentioned network control element sends alarm signal to monitoring client according to above-mentioned drive signal, will shut down to notify the above-mentioned electronic installation of above-mentioned monitoring client.
13. element according to claim 7 is characterized in that, wherein above-mentioned processing module is basic input/output module or embedded type control module.
14. the circuit board in order to the shutdown of control electronic installation is characterized in that, comprises:
Control element, the power switch and the power supply unit that connect above-mentioned electronic installation respectively, in order to receive power control signal from above-mentioned power switch, and judge that whether above-mentioned power control signal is in the duration of predetermined level greater than threshold value, if then above-mentioned control element produces and the output look-at-me; And
South Bridge chip connects above-mentioned control element and processing module respectively, in order to receiving above-mentioned look-at-me from above-mentioned control element, and above-mentioned look-at-me is sent to above-mentioned processing module;
Wherein above-mentioned processing module is in order to set the default mechanism of above-mentioned electronic installation according to above-mentioned look-at-me, above-mentioned processing module produces and exports confirmation signal to above-mentioned element in setting above-mentioned default mechanism back, and the power supply unit that said elements is controlled above-mentioned electronic installation according to above-mentioned confirmation signal is stopped power supply, so that above-mentioned electronic installation is shut down.
15. circuit board according to claim 14 is characterized in that, further comprises:
Central processing unit is in order to carry out and to control the various calculation functions of above-mentioned electronic installation; And
North bridge chips connects above-mentioned central processing unit and above-mentioned South Bridge chip respectively, in order to assist the signal transmission between above-mentioned South Bridge chip and above-mentioned central processing unit.
16. circuit board according to claim 14 is characterized in that, wherein above-mentioned control element further comprises:
Temporary module is in order to write down the present level of above-mentioned power control signal;
Computing module connects above-mentioned temporary module, in order to when above-mentioned present level meets above-mentioned predetermined level, calculates the duration that above-mentioned power control signal is in above-mentioned predetermined level; And
Judge module connects the aforementioned calculation module, in order to compare duration and the above-mentioned threshold value that the aforementioned calculation module is calculated, to judge that whether the above-mentioned duration is greater than above-mentioned threshold value.
17. circuit board according to claim 14 is characterized in that, wherein above-mentioned default mechanism is arouse machine processed.
18. circuit board according to claim 17 is characterized in that, wherein above-mentioned arouse machine processed is WOL (Wake On LAN) mechanism, mouse arouse machine processed or keyboard arouse machine processed.
19. circuit board according to claim 18, it is characterized in that, wherein when above-mentioned arouse machine processed is above-mentioned WOL (Wake On LAN) mechanism, the foregoing circuit plate further comprises network control element, and above-mentioned processing module is set above-mentioned network control element, cause above-mentioned network control element can receive the wake-up signal package, and above-mentioned processing module is set above-mentioned South Bridge chip, causes above-mentioned South Bridge chip can receive the wake events signal that above-mentioned network control element is produced according to above-mentioned wake-up signal package.
20. circuit board according to claim 14 is characterized in that, wherein above-mentioned default mechanism is caution mechanism.
21. circuit board according to claim 20, it is characterized in that, further comprise network control element, wherein above-mentioned processing module transmits the network control element of drive signal to above-mentioned electronic installation, and above-mentioned network control element sends alarm signal to monitoring client according to above-mentioned drive signal, will shut down to notify the above-mentioned electronic installation of above-mentioned monitoring client.
22. circuit board according to claim 14 is characterized in that, wherein above-mentioned processing module is basic input/output module or embedded type control module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100967599A CN101576765B (en) | 2008-05-09 | 2008-05-09 | Method, component and circuit board for controlling shutdown of electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100967599A CN101576765B (en) | 2008-05-09 | 2008-05-09 | Method, component and circuit board for controlling shutdown of electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101576765A CN101576765A (en) | 2009-11-11 |
CN101576765B true CN101576765B (en) | 2011-08-10 |
Family
ID=41271710
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008100967599A Active CN101576765B (en) | 2008-05-09 | 2008-05-09 | Method, component and circuit board for controlling shutdown of electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101576765B (en) |
Families Citing this family (4)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102780246B (en) * | 2012-07-31 | 2014-11-05 | 圣邦微电子(北京)股份有限公司 | Power supply control device and power supply control system |
CN111414066A (en) * | 2020-02-29 | 2020-07-14 | 苏州浪潮智能科技有限公司 | A server expansion system and power control method thereof |
CN114553613A (en) * | 2021-12-31 | 2022-05-27 | 南京微智新科技有限公司 | Wired network control method, terminal equipment and control system |
CN114415546B (en) * | 2022-01-19 | 2024-03-26 | 环荣电子(惠州)有限公司 | Electronic equipment power supply operation method and electronic equipment |
Citations (5)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
US6115824A (en) * | 1997-04-18 | 2000-09-05 | Samsung Electronics Co., Ltd. | Apparatus and a method for avoiding the accidental termination of computer power |
CN1567136A (en) * | 2003-06-25 | 2005-01-19 | 威达电股份有限公司 | Safety shutdown system and method |
CN1595331A (en) * | 2003-09-09 | 2005-03-16 | 华宇电脑股份有限公司 | Device and method for wake-up from network |
CN1838030A (en) * | 2005-03-22 | 2006-09-27 | 浩鑫股份有限公司 | Integrated keying device and method for computer power management |
-
2008
- 2008-05-09 CN CN2008100967599A patent/CN101576765B/en active Active
Patent Citations (5)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6115824A (en) * | 1997-04-18 | 2000-09-05 | Samsung Electronics Co., Ltd. | Apparatus and a method for avoiding the accidental termination of computer power |
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 |
CN1567136A (en) * | 2003-06-25 | 2005-01-19 | 威达电股份有限公司 | Safety shutdown system and method |
CN1595331A (en) * | 2003-09-09 | 2005-03-16 | 华宇电脑股份有限公司 | Device and method for wake-up from network |
CN1838030A (en) * | 2005-03-22 | 2006-09-27 | 浩鑫股份有限公司 | Integrated keying device and method for computer power management |
Also Published As
Publication number | Publication date |
---|---|
CN101576765A (en) | 2009-11-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI446153B (en) | 2014-07-21 | Method, device and circuit board for shutdown control of electronic apparatus |
US9310838B2 (en) | 2016-04-12 | Power management method for switching power mode of a computer system based on detection of a human interface device |
CN110147155A (en) | 2019-08-20 | BMC-based server power supply cold redundancy control method, device and BMC |
CN100378617C (en) | 2008-04-02 | Network awakening device and method |
CN102053690B (en) | 2013-01-23 | server |
CN104049709A (en) | 2014-09-17 | Power management method of server system |
CN101576765B (en) | 2011-08-10 | Method, component and circuit board for controlling shutdown of electronic device |
CN103926992A (en) | 2014-07-16 | Power management circuit, server and power management method thereof |
US20050086460A1 (en) | 2005-04-21 | Apparatus and method for wakeup on LAN |
CN111475293B (en) | 2023-01-10 | Server and power supply protection system thereof |
CN107515668A (en) | 2017-12-26 | A control method and device |
CN106292987A (en) | 2017-01-04 | A kind of processor power-off sequential control system and method |
US10331592B2 (en) | 2019-06-25 | Communication apparatus with direct control and associated methods |
CN103488270A (en) | 2014-01-01 | Power saving method and electronic device thereof |
US9122479B2 (en) | 2015-09-01 | Network processor and energy saving method thereof |
CN107066415B (en) | 2019-09-27 | A PCIE subsystem power control system and method for a multi-partition server system |
CN1280688C (en) | 2006-10-18 | Power management system for computer systems |
CN101807103B (en) | 2012-07-25 | Computer system, power control system and method thereof |
CN105098854A (en) | 2015-11-25 | Charging method and electronic device |
CN103984543A (en) | 2014-08-13 | Method for implementing standby, hibernation and wake-up on domestic FeiTeng processor |
TWI719461B (en) | 2021-02-21 | Server power managing method and system thereof |
CN102221870B (en) | 2013-12-25 | Redundant power supply method and device thereof |
TWI228358B (en) | 2005-02-21 | Apparatus and method for wakeup on LAN |
CN100394357C (en) | 2008-06-11 | Power-saving mode adjusting method and logic chip and computer system applying same |
JP4860255B2 (en) | 2012-01-25 | Throttling control method and throttling control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
2009-11-11 | C06 | Publication | |
2009-11-11 | PB01 | Publication | |
2010-01-06 | C10 | Entry into substantive examination | |
2010-01-06 | SE01 | Entry into force of request for substantive examination | |
2011-08-10 | C14 | Grant of patent or utility model | |
2011-08-10 | GR01 | Patent grant |