TWI719461B - Server power managing method and system thereof - Google Patents

Server power managing method and system thereof Download PDF

Info

Publication number
TWI719461B
TWI719461B TW108114825A TW108114825A TWI719461B TW I719461 B TWI719461 B TW I719461B TW 108114825 A TW108114825 A TW 108114825A TW 108114825 A TW108114825 A TW 108114825A TW I719461 B TWI719461 B TW I719461B
Authority
TW
Taiwan
Prior art keywords
power
module
server system
server
designated
Prior art date
Application number
TW108114825A
Other languages
Chinese (zh)
Other versions
TW202040313A (en
Inventor
胡晉嘉
蔡祐淇
Original Assignee
鴻齡科技股份有限公司
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 鴻齡科技股份有限公司 filed Critical 鴻齡科技股份有限公司
Priority to TW108114825A priority Critical patent/TWI719461B/en
Publication of TW202040313A publication Critical patent/TW202040313A/en
Application granted granted Critical
Publication of TWI719461B publication Critical patent/TWI719461B/en

Links

Images

Abstract

The present disclosure relates to a server power managing method. The server power managing method includes: setting the server system to work under a first mode; controlling a base management controller to being initialized; determining whether a specified pin of the base management controller is in a first voltage level; during the base management controller is in the first voltage level, setting the server system to work under a second mode; during the first mode, the server system is powered by a power supply module, and a processor of the server system is run based on a first clock frequency; during the second mode, the server system is powered by a backup power module, and the processor of the server system is run based on a second clock frequency; the first clock frequency is higher than the second clock frequency. A server power managing system thereof is also provided.

Description

伺服器電源管理方法及系統 Server power management method and system

本發明涉及一種伺服器電源管理方法及系統。 The invention relates to a server power management method and system.

習知技術中,伺服器系統通常包括電源模組、備用電源模組以及伺服器模組。所述伺服器模組與所述電源模組和備用電源模組電性連接。在所述電源模組異常時,所述伺服器根據所述備用電源模組提供的電壓進行工作。但,在採用備用電源模組進行供電時,無法針對備用電源模組的工作狀態進行監測。由於備用電源模組的電量通常較小,僅可維持所述伺服器模組工作較短的時間,且一旦備用電源模組消耗完,則可導致伺服器模組掉電,使得伺服器模組運行狀態不可靠,進而導致資料不匹配以及資料丟失等狀況。 In the prior art, the server system usually includes a power module, a backup power module, and a server module. The server module is electrically connected with the power supply module and the backup power supply module. When the power supply module is abnormal, the server operates according to the voltage provided by the backup power supply module. However, when the standby power module is used for power supply, the working status of the standby power module cannot be monitored. Since the power of the backup power module is usually small, it can only maintain the server module for a short period of time, and once the backup power module is exhausted, the server module may be powered down, causing the server module Unreliable operation status, which leads to data mismatch and data loss.

有鑒於此,有必要提供一種可提高伺服器系統運行可靠性的伺服器電源管理方法。 In view of this, it is necessary to provide a server power management method that can improve the operating reliability of the server system.

還有必要提供一種可提高伺服器系統運行可靠性的伺服器電源管理系統。 It is also necessary to provide a server power management system that can improve the operating reliability of the server system.

一種伺服器電源管理方法,其包括:設定伺服器系統工作在第一工作模式; 在偵測到初始指令時,控制基板管理控制器執行初始化操作;在偵測到檢測指令時,判斷基板管理控制器的指定引腳是否處於第一電平;在基板管理控制器的偵測引腳處於第一電平時,設定伺服器系統工作在第二工作模式;其中,在第一工作模式下,伺服器系統根據電源模組提供的電壓工作,且伺服器系統中的處理器以第一時鐘頻率運行;在第二工作模式下,伺服器系統根據備用電源模組提供的電壓工作,且伺服器系統中的處理器以第二時鐘頻率運行;第一時鐘頻率大於第二時鐘頻率;判斷所述備用電源模組的剩餘電量是否小於第一指定電量;在所述備用電源模組的剩餘電量小於所述第一指定電量時,產生緊急關閉指令,所述伺服器系統根據所述緊急關閉指令直接斷開所述伺服器與所述電源模組以及所述備用電源模組的電性連接。 A server power management method, which includes: setting the server system to work in a first working mode; When the initial command is detected, the baseboard management controller is controlled to perform the initialization operation; when the detection command is detected, it is determined whether the designated pin of the baseboard management controller is at the first level; in the detection guide of the baseboard management controller When the pin is at the first level, the server system is set to work in the second working mode; where, in the first working mode, the server system works according to the voltage provided by the power module, and the processor in the server system operates in the first working mode. Clock frequency operation; In the second working mode, the server system operates according to the voltage provided by the backup power module, and the processor in the server system operates at the second clock frequency; the first clock frequency is greater than the second clock frequency; judgment Whether the remaining power of the backup power module is less than the first designated power; when the remaining power of the backup power module is less than the first designated power, an emergency shutdown instruction is generated, and the server system is shut down according to the emergency Directly disconnect the electrical connection between the server and the power supply module and the backup power supply module.

一種伺服器電源管理系統,伺服器電源管理系統包括伺服器系統、電源模組以及備用電源模組;伺服器系統與電源模組和備用電源模組電性連接;伺服器系統進一步包括基板管理控制器以及處理器;伺服器系統還包括:設定模組,用於設定伺服器系統工作在第一工作模式;初始化模組,用於在偵測到初始指令時控制基板管理控制器執行初始化操作;以及檢測模組,用於在偵測到檢測指令時判斷基板管理控制器的指定引腳是否處於第一電平;在基板管理控制器的偵測引腳處於第一電平時,設定模組設定伺服器系統工作在第二工作模式; 其中,在第一工作模式下,伺服器系統根據模組提供的電壓工作,且伺服器系統中的處理器以第一時鐘頻率運行;在第二工作模式下,伺服器系統根據備用電源模組提供的電壓工作,且伺服器系統中的處理器以第二時鐘頻率運行;第一時鐘頻率大於第二時鐘頻率;所述伺服器系統還包括第一電量監測模組以及指令生成模組;所述第一電量監測模組用於判斷所述備用電源模組的剩餘電量是否小於第一指定電量;在所述備用電源模組的剩餘電量小於所述第一指定電量時,所述指令生成模組產生緊急關閉指令,所述伺服器系統根據所述緊急關閉指令直接斷開所述伺服器與所述電源模組以及所述備用電源模組的電性連接。 A server power management system. The server power management system includes a server system, a power module, and a backup power module; the server system is electrically connected to the power module and the backup power module; the server system further includes a substrate management control The server system further includes: a setting module for setting the server system to work in the first working mode; an initialization module for controlling the baseboard management controller to perform an initialization operation when an initial command is detected; And the detection module is used to determine whether the designated pin of the baseboard management controller is at the first level when the detection command is detected; when the detection pin of the baseboard management controller is at the first level, set the module setting The server system is working in the second working mode; Among them, in the first working mode, the server system operates according to the voltage provided by the module, and the processor in the server system runs at the first clock frequency; in the second working mode, the server system operates according to the standby power module The provided voltage works, and the processor in the server system runs at a second clock frequency; the first clock frequency is greater than the second clock frequency; the server system also includes a first power monitoring module and an instruction generation module; The first power monitoring module is used to determine whether the remaining power of the backup power module is less than a first designated power; when the remaining power of the backup power module is less than the first designated power, the command generation module The group generates an emergency shutdown instruction, and the server system directly disconnects the electrical connection between the server and the power supply module and the backup power supply module according to the emergency shutdown instruction.

與習知技術相比較,上述伺服器電源管理以及伺服器電源管理系統,藉由偵測電源模組掉電後切換至備用電源模組進行供電,並降低伺服器系統的系統功耗,以降低備用電源模組的電能消耗。 Compared with the prior art, the aforementioned server power management and server power management systems detect the power failure of the power module and switch to the standby power module for power supply, and reduce the system power consumption of the server system to reduce The power consumption of the backup power module.

100:伺服器電源管理系統 100: Server power management system

1:電源模組 1: Power module

2:備用電源模組 2: Standby power module

3:伺服器系統 3: Server system

31:基板管理控制器 31: baseboard management controller

32:處理器 32: processor

34:散熱模組 34: Cooling module

S10-S19:伺服器電源管理方法 S10-S19: Server power management method

301:設定模組 301: Setting module

302:初始化模組 302: Initialization module

303:檢測模組 303: Detection Module

304:第一電量監測模組 304: The first power monitoring module

305:判斷模組 305: Judgment Module

306:第二電量監測模組 306: The second power monitoring module

307:比較模組 307: comparison module

308:指令生成模組 308: Instruction Generation Module

圖1為本發明較佳實施方式之伺服器電源管理系統的模組示意圖。 FIG. 1 is a schematic diagram of modules of a server power management system according to a preferred embodiment of the present invention.

圖2為本發明較佳實施方式之伺服器電源管理方法的流程圖。 2 is a flowchart of a server power management method according to a preferred embodiment of the present invention.

圖3為圖1中所述伺服器系統的模組示意圖。 FIG. 3 is a schematic diagram of modules of the server system in FIG. 1.

為了使本技術領域的人員更好地理解本發明方案,下面將結合本發明實施例中的附圖,對本發明實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本發明一部分的實施例,而不是全部的 實施例。基於本發明中的實施例,本領域普通技術人員在沒有做出創造性勞動前提下所獲得的所有其他實施例,都應當屬於本發明保護的範圍。 In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is a part of the embodiment of the present invention, but not all Examples. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

在本發明的實施方式的描述中,需要說明的是,除非另有明確的規定和限定,術語「連接」應做廣義理解,例如,可以是固定連接,也可以是拆卸連接,或一體地連接;可以是機械連接,也可以是電連接或可以相互通訊;可以是直接連接,也可以藉由中間沒接間接連接,可以是兩個元件內部的連通或兩個元件的相互作用關係。對於本領域的普通技術人員而言,可以根據具體情況立即上述術語在本發明中的具體含義。 In the description of the embodiments of the present invention, it should be noted that, unless otherwise clearly defined and limited, the term "connection" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection. ; It can be a mechanical connection, an electrical connection, or a mutual communication; it can be a direct connection, or an indirect connection without an intermediate connection, it can be a connection between two components or an interaction relationship between two components. For those of ordinary skill in the art, the specific meaning of the above-mentioned terms in the present invention can be immediately determined according to the specific situation.

本發明的說明書和權利要求書及上述附圖中的術語「第一」、「第二」和「第三」等是用於區別不同物件,而非用於描述特定順序。此外,術語「包括」以及它們任何變形,意圖在於覆蓋不排他的包含。 The terms "first", "second", and "third" in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the term "including" and any variations of them are intended to cover non-exclusive inclusion.

下面結合附圖對本發明伺服器電源管理系統的具體實施方式進行說明。 The specific implementation of the server power management system of the present invention will be described below with reference to the accompanying drawings.

請參閱圖1,其為本發明一種實施方式的伺服器電源管理系統100的模組示意圖。在本發明的至少一個實施例中,所述伺服器電源管理系統100包括電源模組1、備用電源模組2以及伺服器系統3。所述電源模組1和所述備用電源模組2可藉由電源分配板(Power Distribution Board,PDB)與所述伺服器系統3電性連接。其中,電源模組1為交流電壓源。所述備用電源模組2為備用電池。 Please refer to FIG. 1, which is a schematic diagram of modules of a server power management system 100 according to an embodiment of the present invention. In at least one embodiment of the present invention, the server power management system 100 includes a power module 1, a backup power module 2 and a server system 3. The power module 1 and the backup power module 2 can be electrically connected to the server system 3 through a power distribution board (PDB). Among them, the power module 1 is an AC voltage source. The backup power module 2 is a backup battery.

請一併參閱圖2,其為本發明一種實施方式的伺服器電源管理方法的流程圖。根據不同的需求,該流程圖中步驟的順序可以改變,某些步驟可以省略。 Please also refer to FIG. 2, which is a flowchart of a server power management method according to an embodiment of the present invention. According to different needs, the order of the steps in the flowchart can be changed, and some steps can be omitted.

本發明的至少一個實施例中,所述伺服器系統3可與至少一個移動終端之間根據預設協定進行資料傳輸。優選地,所述預設協議包括,但不 限於以下任意一種:HTTP協定(Hyper Text Transfer Protocol,超文字傳輸協定)、HTTPS協議(Hyper Text Transfer Protocol over Secure Socket Layer,以安全為目標的HTTP協定)等。本發明的至少一個實施例中,所述伺服器可以是單一的伺服器,也可以為由幾個功能伺服器共同組成的伺服器群。所述移動終端可以是任意具有網路連接功能的終端,例如,所述移動終端可以為個人電腦、平板電腦、智慧手機、個人數位助理(Personal Digital Assistant,PDA)、遊戲機、互動式網路電視(Internet Protocol Television,IPTV)、智慧式穿戴式設備、導航裝置等等的可移動設備,或者臺式電腦、數位TV等等固定設備。 In at least one embodiment of the present invention, the server system 3 can perform data transmission with at least one mobile terminal according to a preset agreement. Preferably, the preset protocol includes, but does not It is limited to any one of the following: HTTP protocol (Hyper Text Transfer Protocol), HTTPS protocol (Hyper Text Transfer Protocol over Secure Socket Layer, HTTP protocol for security), etc. In at least one embodiment of the present invention, the server may be a single server or a server group composed of several functional servers. The mobile terminal may be any terminal with a network connection function. For example, the mobile terminal may be a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, or an interactive network. Mobile devices such as Internet Protocol Television (IPTV), smart wearable devices, navigation devices, etc., or fixed devices such as desktop computers and digital TVs.

所述伺服器系統3可包括基板管理控制器31(baseboard management controller,BMC)、處理器32以及散熱模組34。所述基板管理控制器31包括多個輸入輸出引腳。所述基板管理控制器31與所述處理器32和所述散熱模組34電性連接,以輸出控制信號給所述處理器32和所述散熱模組34。所述處理器32包括一個或者多個微處理器、數文書處理器。所述處理器32可調用記憶體中存儲的程式碼以執行相關的功能。所述處理器32又稱中央處理器(CPU,Central Processing Unit),是一塊超大規模的積體電路,是運算核心(Core)和控制核心(Control Unit)。所述處理器32用於執行多個電腦指令以實現指定功能。所述散熱模組34用於在工作時對所述伺服器系統內的元件進行散熱。在其他實施方式中,所述伺服器系統3還可以包括顯示幕、記憶體、連接器以及光碟機等其他電子元件,但並不局限於此。 The server system 3 may include a baseboard management controller 31 (BMC), a processor 32 and a heat dissipation module 34. The baseboard management controller 31 includes a plurality of input and output pins. The baseboard management controller 31 is electrically connected to the processor 32 and the heat dissipation module 34 to output control signals to the processor 32 and the heat dissipation module 34. The processor 32 includes one or more microprocessors and digital word processors. The processor 32 can call program codes stored in the memory to perform related functions. The processor 32 is also called a central processing unit (CPU, Central Processing Unit), which is an ultra-large-scale integrated circuit, which is a core and a control unit. The processor 32 is used to execute a plurality of computer instructions to achieve designated functions. The heat dissipation module 34 is used for dissipating heat of components in the server system during operation. In other embodiments, the server system 3 may also include other electronic components such as a display, a memory, a connector, and an optical disc drive, but it is not limited thereto.

S10、設定伺服器系統3工作在第一工作模式。 S10. Set the server system 3 to work in the first working mode.

在本發明的至少一個實施例中,在所述第一工作模式下,所述伺服器系統3根據所述電源模組1提供的電壓進行工作。同時,所述處理器32以第一時鐘頻率運行,所述散熱模組34以第一驅動速率運行。在所述第一 時鐘頻率下,所述處理器32的驅動功率根據負載數量在第一預定範圍內變化,所述第一預定範圍可以為375-750瓦(W),例如,所述處理器32在所述第一時鐘頻率下的驅動功率可以為505.82W。其中,所述處理器32的最大驅動功率為750W。 In at least one embodiment of the present invention, in the first working mode, the server system 3 operates according to the voltage provided by the power module 1. At the same time, the processor 32 runs at a first clock frequency, and the heat dissipation module 34 runs at a first driving rate. In the first At the clock frequency, the driving power of the processor 32 varies within a first predetermined range according to the number of loads. The first predetermined range may be 375-750 watts (W). For example, the processor 32 is in the first predetermined range. The driving power at a clock frequency can be 505.82W. Wherein, the maximum driving power of the processor 32 is 750W.

S11、在偵測到初始指令時,控制所述基板管理控制器31執行初始化操作。 S11. When an initial command is detected, control the baseboard management controller 31 to perform an initialization operation.

在本發明的至少一個實施例中,在完成初始化操作後,所述基板管理控制器31可執行對應的功能,並根據預先制定好的通訊協定來發送信號至其所連接的元件,例如所述處理器32以及散熱模組34。 In at least one embodiment of the present invention, after the initialization operation is completed, the baseboard management controller 31 can execute corresponding functions, and send signals to its connected components according to a pre-defined communication protocol, such as the The processor 32 and the heat dissipation module 34.

S12、在偵測到檢測指令時,判斷所述基板管理控制器31的指定引腳是否處於第一電平。 S12: When the detection instruction is detected, determine whether the designated pin of the baseboard management controller 31 is at the first level.

在本發明的至少一個實施例中,所述基板管理控制器31具有多個輸入輸出引腳(General-purpose input/output,GPIO)。其中一個輸入輸出引腳作為偵測引腳與所述電源模組1和所述備用電源模組2電性連接。所述電源模組1和所述備用電源模組2分別具有一個的指定引腳。在本發明的至少一個實施例中,所述指定引腳為警報引腳(Alert)。在所述電源模組1工作異常時,所述電源模組1對應的所述指定引腳處於第一電平。在所述電源源模組1工作正常時,所述電源模組1對應的所述指定引腳處於第二電平。同理,在所述備用電源模組2工作異常時,所述備用電源模組2對應的所述指定引腳處於第一電平;在所述備用電源模組2工作正常時,所述備用電源模組2對應的所述指定引腳處於第二電平。在本發明的至少一個實施例中,所述第一電平為低電平,所述第二電平為高電平。 In at least one embodiment of the present invention, the baseboard management controller 31 has a plurality of input and output pins (General-purpose input/output, GPIO). One of the input and output pins serves as a detection pin and is electrically connected to the power supply module 1 and the backup power supply module 2. The power module 1 and the backup power module 2 each have a designated pin. In at least one embodiment of the present invention, the designated pin is an alert pin (Alert). When the power module 1 works abnormally, the designated pin corresponding to the power module 1 is at the first level. When the power source module 1 works normally, the designated pin corresponding to the power source module 1 is at the second level. In the same way, when the backup power supply module 2 works abnormally, the designated pin corresponding to the backup power supply module 2 is at the first level; when the backup power supply module 2 works normally, the backup power supply module 2 works normally. The designated pin corresponding to the power module 2 is at the second level. In at least one embodiment of the present invention, the first level is a low level, and the second level is a high level.

S13、在所述基板管理控制器31的偵測引腳處於所述第一電平時,設定所述伺服器系統3在第二工作模式並累計持續時間。 S13: When the detection pin of the baseboard management controller 31 is at the first level, set the server system 3 to be in the second working mode and accumulate the duration.

在本發明的至少一個實施例中,在所述第二工作模式下,所述伺服器系統3根據所述備用電源模組2提供的電壓工作。同時,所述處理器32以第二時鐘頻率運行,所述散熱模組34以第二驅動速率運行。在所述第二時鐘頻率下,所述處理器32的驅動功率根據負載數量在第二預定範圍內變化,所述第二預定範圍可以為0-375W,例如,所述處理器32在所述第二時鐘頻率下的驅動功率可以為205.82W。所述第二時鐘頻率小於所述第一時鐘頻率,所述第二驅動速率小於所述第一驅動速率。由於第二時鐘頻率小於所述第二時鐘頻率,故,在所述第一工作模式下所述處理器32的驅動功率小於在所述第二工作模式下所述處理器32的驅動功率。 In at least one embodiment of the present invention, in the second working mode, the server system 3 operates according to the voltage provided by the backup power module 2. At the same time, the processor 32 runs at a second clock frequency, and the heat dissipation module 34 runs at a second driving rate. At the second clock frequency, the driving power of the processor 32 varies within a second predetermined range according to the number of loads. The second predetermined range may be 0-375W. For example, the processor 32 is in the The driving power at the second clock frequency may be 205.82W. The second clock frequency is less than the first clock frequency, and the second driving rate is less than the first driving rate. Since the second clock frequency is less than the second clock frequency, the driving power of the processor 32 in the first working mode is less than the driving power of the processor 32 in the second working mode.

S14、判斷所述備用電源模組2的剩餘電量是否小於第一指定電量。 S14: Determine whether the remaining power of the backup power module 2 is less than the first specified power.

在本發明的至少一個實施例中,所述第一指定電量為所述伺服器系統3工作所需的最小電量。所述第一指定電量可以為所述備用電源模組2總電量的10%。在其他實施方式中,所述第一指定電量還可根據需求設定為不同的值,例如,為所述備用電源模組2總電量的5%。 In at least one embodiment of the present invention, the first designated amount of power is the minimum amount of power required by the server system 3 to work. The first designated power may be 10% of the total power of the backup power module 2. In other embodiments, the first designated power amount can also be set to a different value according to demand, for example, 5% of the total power of the backup power module 2.

S15、在所述備用電源模組2的剩餘電量大於等於所述第一指定電量時,判斷所述電源模組1是否與所述伺服器系統3電性連接。 S15. When the remaining power of the backup power module 2 is greater than or equal to the first specified power, it is determined whether the power module 1 is electrically connected to the server system 3.

S16、在所述電源模組1未與所述伺服器系統3電性連接時,判斷所述備用電源模組2的剩餘電量是否小於第二指定電量。 S16: When the power module 1 is not electrically connected to the server system 3, determine whether the remaining power of the backup power module 2 is less than a second specified power.

在本發明的至少一個實施例中,所述第二指定電量大於所述第一指定電量。所述第二指定電量為所述備用電源模組2總電量的40%。 In at least one embodiment of the present invention, the second specified amount of power is greater than the first specified amount of power. The second designated power is 40% of the total power of the backup power module 2.

在所述電源模組1與所述伺服器系統3電性連接時,返回步驟S10。 When the power module 1 is electrically connected to the server system 3, return to step S10.

S17、在所述備用電源模組2的剩餘電量大於等於所述第二指定電量時,判斷所述持續時間是否小於預定時間。 S17. When the remaining power of the backup power module 2 is greater than or equal to the second specified power, it is determined whether the duration is less than a predetermined time.

在本發明的至少一個實施例中,所述預定時間為3分鐘。在其他實施方式中,所述預定時間可根據需求進行調整,並不局限於此。 In at least one embodiment of the present invention, the predetermined time is 3 minutes. In other embodiments, the predetermined time can be adjusted according to requirements, and is not limited to this.

S18,在所述備用電源模組2的剩餘電量小於所述第二指定電量或在所述持續時間大於等於所述預定時間時,產生關閉指令,以關閉所述伺服器系統3。 S18, when the remaining power of the backup power module 2 is less than the second specified power or when the duration is greater than or equal to the predetermined time, a shutdown instruction is generated to turn off the server system 3.

在所述持續時間小於所述預定時間時,進入步驟S15。 When the duration is less than the predetermined time, step S15 is entered.

在本發明的至少一個實施例中,所述關閉指令為軟關閉指令。所述伺服器系統3根據所述關閉指令按照指定順序關閉所述伺服器系統3內的相關元件。例如,關閉所述處理器32內正在運行的程式、將所述處理器32產生的資料資訊保存至資料記憶體以及關閉所述伺服器系統3與所述電源模組1以及所述備用電源模組2的電性連接。 In at least one embodiment of the present invention, the shutdown instruction is a soft shutdown instruction. The server system 3 shuts down relevant components in the server system 3 in a specified order according to the shutdown instruction. For example, closing the running program in the processor 32, saving the data information generated by the processor 32 to the data memory, and closing the server system 3, the power module 1 and the backup power module Electrical connection for group 2.

S19、在所述備用電源模組2的剩餘電量小於所述第一指定電量時,產生緊急關閉指令,以緊急關閉所述伺服器系統3。 S19: When the remaining power of the backup power module 2 is less than the first specified power, an emergency shutdown instruction is generated to emergency shutdown the server system 3.

在本發明的至少一個實施例中,所述緊急關閉指令為硬關閉指令。所述伺服器系統3根據所述緊急關閉指令直接斷開所述伺服器3與所述電源模組1以及所述備用電源模組2的電性連接。 In at least one embodiment of the present invention, the emergency shutdown instruction is a hard shutdown instruction. The server system 3 directly disconnects the electrical connection between the server 3 and the power module 1 and the backup power module 2 according to the emergency shutdown instruction.

上述伺服器電源管理方法,藉由偵測電源模組1掉電後切換至所述備用電源模組2進行供電,並降低所述伺服器系統3的系統功耗,以降低所述備用電源模組2的電能消耗。同時,對所述備用電源模組的工作狀態進行監測,根據監測結果控制所述伺服器系統3的工作狀態,進而保證伺服器系統3運行的穩定性。 The server power management method described above detects the power failure of the power module 1 and then switches to the backup power module 2 for power supply, and reduces the system power consumption of the server system 3, so as to reduce the backup power module. Power consumption of group 2. At the same time, the working state of the backup power module is monitored, and the working state of the server system 3 is controlled according to the monitoring result, thereby ensuring the stability of the operation of the server system 3.

請一併參與圖3,其為本發明一種實施方式的伺服器系統3的模組示意圖。 Please also participate in FIG. 3, which is a schematic diagram of a module of the server system 3 according to an embodiment of the present invention.

所述伺服器系統3與電源模組1和備用電源模組2電性連接。其中,電源模組1為交流電壓源。所述備用電源模組2為備用電池。本發明的至少一個實施例中,所述伺服器系統3可與至少一個移動終端之間根據預設協定進行資料傳輸。優選地,所述預設協議包括,但不限於以下任意一種:HTTP協定(Hyper Text Transfer Protocol,超文字傳輸協定)、HTTPS協議(Hyper Text Transfer Protocol over Secure Socket Layer,以安全為目標的HTTP協定)等。本發明的至少一個實施例中,所述伺服器可以是單一的伺服器,也可以為由幾個功能伺服器共同組成的伺服器群。所述移動終端可以是任意具有網路連接功能的終端,例如,所述移動終端可以為個人電腦、平板電腦、智慧手機、個人數位助理(Personal Digital Assistant,PDA)、遊戲機、互動式網路電視(Internet Protocol Television,IPTV)、智慧式穿戴式設備、導航裝置等等的可移動設備,或者臺式電腦、數位TV等等固定設備。 The server system 3 is electrically connected to the power module 1 and the backup power module 2. Among them, the power module 1 is an AC voltage source. The backup power module 2 is a backup battery. In at least one embodiment of the present invention, the server system 3 can perform data transmission with at least one mobile terminal according to a preset agreement. Preferably, the preset protocol includes, but is not limited to, any one of the following: HTTP protocol (Hyper Text Transfer Protocol), HTTPS protocol (Hyper Text Transfer Protocol over Secure Socket Layer, HTTP protocol with security as the goal) )Wait. In at least one embodiment of the present invention, the server may be a single server or a server group composed of several functional servers. The mobile terminal may be any terminal with a network connection function. For example, the mobile terminal may be a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, or an interactive network. Mobile devices such as Internet Protocol Television (IPTV), smart wearable devices, navigation devices, etc., or fixed devices such as desktop computers and digital TVs.

所述伺服器系統3可包括基板管理控制器31(baseboard management controller,BMC)、處理器32以及散熱模組34。所述基板管理控制器31包括多個輸入輸出引腳。所述基板管理控制器31與所述處理器32和所述散熱模組34電性連接,以輸出控制信號給所述處理器32和所述散熱模組34。所述處理器32包括一個或者多個微處理器、數文書處理器。所述處理器32可調用記憶體中存儲的程式碼以執行相關的功能。所述處理器32又稱中央處理器(CPU,Central Processing Unit),是一塊超大規模的積體電路,是運算核心(Core)和控制核心(Control Unit)。所述處理器32用於執行多個電腦指令以實現指定功能。所述散熱模組34用於在工作時對所述伺服器系統內的元件進行散熱。在其他實施方式中,所述伺服器系統3還可以包括顯示幕、記憶體、連接器以及光碟機等其他電子元件,但並不局限於此。 The server system 3 may include a baseboard management controller 31 (BMC), a processor 32 and a heat dissipation module 34. The baseboard management controller 31 includes a plurality of input and output pins. The baseboard management controller 31 is electrically connected to the processor 32 and the heat dissipation module 34 to output control signals to the processor 32 and the heat dissipation module 34. The processor 32 includes one or more microprocessors and digital word processors. The processor 32 can call program codes stored in the memory to perform related functions. The processor 32 is also called a central processing unit (CPU, Central Processing Unit), which is an ultra-large-scale integrated circuit, which is a core and a control unit. The processor 32 is used to execute a plurality of computer instructions to achieve designated functions. The heat dissipation module 34 is used for dissipating heat of components in the server system during operation. In other embodiments, the server system 3 may also include other electronic components such as a display, a memory, a connector, and an optical disc drive, but it is not limited thereto.

所述伺服器系統3可包括設定模組301、初始化模組302、檢測模組303、第一電量監測模組304、判斷模組305、第二電量監測模組306、比較模組307以及指令生成模組308。 The server system 3 may include a setting module 301, an initialization module 302, a detection module 303, a first power monitoring module 304, a judgment module 305, a second power monitoring module 306, a comparison module 307, and commands. Generate module 308.

所述設定模組301,用於設定伺服器系統3工作在第一工作模式。 The setting module 301 is used to set the server system 3 to work in the first working mode.

在本發明的至少一個實施例中,在所述第一工作模式下,所述伺服器系統3根據所述電源模組1提供的電壓進行工作。同時,所述處理器32以第一時鐘頻率運行,所述散熱模組34以第一驅動速率運行。在所述第一時鐘頻率下,所述處理器32的驅動功率根據負載數量在第一預定範圍內變化,所述第一預定範圍可以為375-750瓦(W),例如,所述處理器32在所述第一時鐘頻率下的驅動功率可以為505.82W。其中,所述處理器32的最大驅動功率為750W。 In at least one embodiment of the present invention, in the first working mode, the server system 3 operates according to the voltage provided by the power module 1. At the same time, the processor 32 runs at a first clock frequency, and the heat dissipation module 34 runs at a first driving rate. At the first clock frequency, the driving power of the processor 32 varies within a first predetermined range according to the number of loads, and the first predetermined range may be 375-750 watts (W). For example, the processor The driving power of 32 at the first clock frequency may be 505.82W. Wherein, the maximum driving power of the processor 32 is 750W.

所述初始化模組302,用於在偵測到初始指令時控制所述基板管理控制器31執行初始化操作。 The initialization module 302 is used to control the baseboard management controller 31 to perform an initialization operation when an initial command is detected.

在本發明的至少一個實施例中,在完成初始化操作後,所述基板管理控制器31可執行對應的功能,並根據預先制定好的通訊協定來發送信號至其所連接的元件,例如,所述處理器32以及散熱模組34。 In at least one embodiment of the present invention, after the initialization operation is completed, the baseboard management controller 31 can execute the corresponding function, and send a signal to its connected components according to a pre-defined communication protocol, for example, The processor 32 and the heat dissipation module 34 are described.

所述檢測模組303,用於在偵測到檢測指令時判斷所述基板管理控制器31的指定引腳是否處於第一電平。 The detection module 303 is used to determine whether the designated pin of the baseboard management controller 31 is at the first level when a detection instruction is detected.

在本發明的至少一個實施例中,所述基板管理控制器31具有多個輸入輸出引腳(General-purpose input/output,GPIO)。其中一個輸入輸出引腳作為偵測引腳與所述電源模組1和所述備用電源模組2電性連接。所述電源模組1和所述備用電源模組2分別具有一個的指定引腳。在本發明的至少一個實施例中,所述指定引腳為警報引腳(Alert)。在所述電源模組1工作異常時,所述電源模組1對應的所述指定引腳處於第一電平。在所述電 源模組1工作正常時,所述電源模組1對應的所述指定引腳處於第二電平。同理,在所述備用電源模組2工作異常時,所述備用電源模組2對應的所述指定引腳處於第一電平;在所述備用電源模組2工作正常時,所述備用電源模組2對應的所述指定引腳處於第二電平。在本發明的至少一個實施例中,所述第一電平為低電平,所述第二電平為高電平。 In at least one embodiment of the present invention, the baseboard management controller 31 has a plurality of input and output pins (General-purpose input/output, GPIO). One of the input and output pins serves as a detection pin and is electrically connected to the power supply module 1 and the backup power supply module 2. The power module 1 and the backup power module 2 each have a designated pin. In at least one embodiment of the present invention, the designated pin is an alert pin (Alert). When the power module 1 works abnormally, the designated pin corresponding to the power module 1 is at the first level. In the electricity When the source module 1 works normally, the designated pin corresponding to the power module 1 is at the second level. In the same way, when the backup power supply module 2 works abnormally, the designated pin corresponding to the backup power supply module 2 is at the first level; when the backup power supply module 2 works normally, the backup power supply module 2 works normally. The designated pin corresponding to the power module 2 is at the second level. In at least one embodiment of the present invention, the first level is a low level, and the second level is a high level.

在所述基板管理控制器31的偵測引腳處於所述第一電平時,所述檢測模組303將所述伺服器系統3切換至第二工作模式並累計持續時間。 When the detection pin of the baseboard management controller 31 is at the first level, the detection module 303 switches the server system 3 to the second working mode and accumulates the duration.

在本發明的至少一個實施例中,在所述第二工作模式下,所述伺服器3根據所述備用電源模組2提供的電壓工作。同時,所述處理器32以第二時鐘頻率運行,所述散熱模組34以第二驅動速率運行。在所述第二時鐘頻率下,所述處理器32的驅動功率根據負載數量在第二預定範圍內變化,所述第二預定範圍可以為0-375W,例如,所述處理器32在所述第二時鐘頻率下的驅動功率可以為205.82W。所述第二時鐘頻率小於所述第一時鐘頻率,所述第二驅動速率小於所述第一驅動速率。由於第二時鐘頻率小於所述第二時鐘頻率,故,在所述第一工作模式下所述處理器32的驅動功率小於在所述第二工作模式下所述處理器32的驅動功率。 In at least one embodiment of the present invention, in the second working mode, the server 3 operates according to the voltage provided by the backup power module 2. At the same time, the processor 32 runs at a second clock frequency, and the heat dissipation module 34 runs at a second driving rate. At the second clock frequency, the driving power of the processor 32 varies within a second predetermined range according to the number of loads. The second predetermined range may be 0-375W. For example, the processor 32 is in the The driving power at the second clock frequency may be 205.82W. The second clock frequency is less than the first clock frequency, and the second driving rate is less than the first driving rate. Since the second clock frequency is less than the second clock frequency, the driving power of the processor 32 in the first working mode is less than the driving power of the processor 32 in the second working mode.

所述第一電量監測模組304,用於判斷所述備用電源模組2的剩餘電量是否小於第一指定電量。 The first power monitoring module 304 is used to determine whether the remaining power of the backup power module 2 is less than a first specified power.

在本發明的至少一個實施例中,所述第一指定電量為所述伺服器系統3工作所需的最小電量。所述第一指定電量可以為所述備用電源模組2總電量的10%。在其他實施方式中,所述第一指定電量還可根據需求設定為不同的值,例如,為所述備用電源模組2總電量的5%。 In at least one embodiment of the present invention, the first designated amount of power is the minimum amount of power required by the server system 3 to work. The first designated power may be 10% of the total power of the backup power module 2. In other embodiments, the first designated power amount can also be set to a different value according to demand, for example, 5% of the total power of the backup power module 2.

在所述備用電源模組2的剩餘電量大於等於所述第一指定電量時,所述判斷模組305判斷所述電源模組1是否與所述伺服器系統3電性連接。 在所述電源模組1未與所述伺服器系統3電性連接時,所述第二電量監測模組306判斷所述備用電源模組2的剩餘電量是否小於第二指定電量。 When the remaining power of the backup power module 2 is greater than or equal to the first specified power, the determining module 305 determines whether the power module 1 is electrically connected to the server system 3. When the power module 1 is not electrically connected to the server system 3, the second power monitoring module 306 determines whether the remaining power of the backup power module 2 is less than a second specified power.

在所述電源模組1與所述伺服器系統3電性連接時,所述設定模組301設定伺服器系統3工作在第一工作模式。在本發明的至少一個實施例中,所述第二指定電量大於所述第一指定電量。所述第二指定電量為所述備用電源模組2總電量的40%。 When the power module 1 is electrically connected to the server system 3, the setting module 301 sets the server system 3 to work in the first working mode. In at least one embodiment of the present invention, the second specified amount of power is greater than the first specified amount of power. The second designated power is 40% of the total power of the backup power module 2.

在所述備用電源模組2的剩餘電量大於等於所述第二指定電量時,所述比較模組307判斷所述持續時間是否小於預定時間。 When the remaining power of the backup power module 2 is greater than or equal to the second specified power, the comparison module 307 determines whether the duration is less than a predetermined time.

在本發明的至少一個實施例中,所述預定時間為3分鐘。在其他實施方式中,所述預定時間可根據需求進行調整,並不局限於此。 In at least one embodiment of the present invention, the predetermined time is 3 minutes. In other embodiments, the predetermined time can be adjusted according to requirements, and is not limited to this.

在所述備用電源模組2的剩餘電量小於所述第二指定電量或在所述持續時間大於等於所述預定時間時,所述指令生成模組308產生關閉指令,以關閉所述伺服器系統3。 When the remaining power of the backup power module 2 is less than the second specified power or when the duration is greater than or equal to the predetermined time, the command generation module 308 generates a shutdown command to shut down the server system 3.

在所述持續時間小於所述預定時間時,所述判斷模組305判斷所述電源模組1是否與所述伺服器系統3電性連接。 When the duration is less than the predetermined time, the determining module 305 determines whether the power module 1 is electrically connected to the server system 3.

在本發明的至少一個實施例中,所述關閉指令為軟關閉指令。所述伺服器系統3根據所述關閉指令按照指定順序關閉所述伺服器系統3內的相關元件。例如,關閉所述處理器32內正在運行的程式、將所述處理器32產生的資料資訊保存至資料記憶體以及關閉所述伺服器系統3與所述電源模組1以及所述備用電源模組2的電性連接。 In at least one embodiment of the present invention, the shutdown instruction is a soft shutdown instruction. The server system 3 shuts down relevant components in the server system 3 in a specified order according to the shutdown instruction. For example, closing the running program in the processor 32, saving the data information generated by the processor 32 to the data memory, and closing the server system 3, the power module 1 and the backup power module Electrical connection for group 2.

在所述持續時間小於所述預定時間時,所述判斷模組305判斷所述電源模組2是否與所述伺服器系統3電性連接。 When the duration is less than the predetermined time, the judgment module 305 judges whether the power module 2 is electrically connected to the server system 3.

在所述備用電源模組2的剩餘電量小於所述第一指定電量時,所述指令生成模組308進一步地產生緊急關閉指令,以緊急關閉所述伺服器系統3。 When the remaining power of the backup power module 2 is less than the first specified power, the instruction generation module 308 further generates an emergency shutdown instruction to turn off the server system 3 in an emergency.

在本發明的至少一個實施例中,所述緊急關閉指令為硬關閉指令。所述伺服器系統3根據所述緊急關閉指令直接斷開所述伺服器系統3與所述電源模組1以及所述備用電源模組2的電性連接。 In at least one embodiment of the present invention, the emergency shutdown instruction is a hard shutdown instruction. The server system 3 directly disconnects the electrical connection between the server system 3 and the power module 1 and the backup power module 2 according to the emergency shutdown instruction.

上述伺服器電源管理系統100,藉由偵測電源模組1掉電後切換至所述備用電源模組2進行供電,並降低所述伺服器系統3的系統功耗,以降低所述備用電源模組2的電能消耗。同時,對所述備用電源模組的工作狀態進行監測,根據監測結果控制所述伺服器系統3的工作狀態,進而保證伺服器系統3運行的穩定性。 The aforementioned server power management system 100 detects the power failure of the power module 1 and then switches to the backup power module 2 for power supply, and reduces the system power consumption of the server system 3, so as to reduce the backup power supply. Power consumption of module 2. At the same time, the working state of the backup power module is monitored, and the working state of the server system 3 is controlled according to the monitoring result, thereby ensuring the stability of the operation of the server system 3.

需要說明的是,對於前述的各方法實施例,為了簡單描述,故將其都表述為一系列的動作組合,但是本領域技術人員應該知悉,本發明並不受所描述的動作順序的限制,因為依據本發明,某些步驟可以採用其他順序或者同時進行。其次,本領域技術人員也應該知悉,說明書中所描述的實施例均屬於優選實施例,所涉及的動作和模組並不一定是本發明所必須的。 It should be noted that for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described sequence of actions. Because according to the present invention, certain steps can be performed in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

在本申請所提供的幾個實施例中,應該理解到,所揭露的裝置,可藉由其它的方式實現。例如,以上所描述的裝置實施例僅僅是示意性的,例如所述模組的劃分,僅僅為一種邏輯功能劃分,實際實現時可以有另外的劃分方式,例如多個模組或元件可以結合或者可以集成到另一個系統,或一些特徵可以忽略,或不執行。另一點,所顯示或討論的相互之間的耦合或直接耦合或通信連接可以是藉由一些介面,裝置或模組的間接耦合或通信連接,可以是電性或其它的形式。 In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods, for example, multiple modules or elements may be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or modules, and may be in electrical or other forms.

所述作為分離部件說明的模組可以是或者也可以不是物理上分開的,作為模組顯示的部件可以是或者也可以不是物理模組,即可以位於一個地方,或者也可以分佈到多個網路模組上。可以根據實際的需要選擇其中的部分或者全部模組來實現本實施例方案的目的。 The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed to multiple networks. On the road module. Some or all of the modules may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.

另外,在本發明的各個實施例中的各功能模組可以集成在一個處理器中,也可以是各個模組單獨物理存在,也可以兩個或兩個以上模組集成在一個模組中。上述集成的模組既可以採用硬體的形式實現,也可以採用軟體功能模組的形式實現。 In addition, the functional modules in the various embodiments of the present invention may be integrated into one processor, or each module may exist alone physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or software functional modules.

所述集成的模組如果以軟體功能模組的形式實現並作為獨立的產品銷售或使用時,可以存儲在一個電腦可讀取存儲介質中。基於這樣的理解,本發明的技術方案本質上或者說對現有技術做出貢獻的部分或者該技術方案的全部或部分可以以軟體產品的形式體現出來,該電腦軟體產品存儲在一個存儲介質中,包括若干指令用以使得一台電腦設備(可為個人電腦、伺服器或者網路設備等)執行本發明各個實施例所述方法的全部或部分步驟。 If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium. A number of instructions are included to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.

還需要說明的是,在本文中,術語「包括」、「包含」或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、物品或者裝置不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、物品或者裝置所固有的要素。在沒有更多限制的情況下,由語句「包括一個......」限定的要素,並不排除在包括該要素的過程、方法、物品或者裝置中還存在另外的相同要素。 It should also be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements , But also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "includes a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.

S10-S19:伺服器電源管理方法 S10-S19: Server power management method

Claims (8)

一種伺服器電源管理方法,其中,所述伺服器電源管理方法包括:設定伺服器系統工作在第一工作模式;在偵測到初始指令時,控制基板管理控制器執行初始化操作;在偵測到檢測指令時,判斷所述基板管理控制器的指定引腳是否處於第一電平;在所述基板管理控制器的偵測引腳處於所述第一電平時,設定所述伺服器系統工作在第二工作模式;其中,在所述第一工作模式下,所述伺服器系統根據電源模組提供的電壓工作,且所述伺服器系統中的處理器以第一時鐘頻率運行;在所述第二工作模式下,所述伺服器系統根據備用電源模組提供的電壓工作,且所述伺服器系統中的處理器以第二時鐘頻率運行;所述第一時鐘頻率大於所述第二時鐘頻率;判斷所述備用電源模組的剩餘電量是否小於第一指定電量;在所述備用電源模組的剩餘電量小於所述第一指定電量時,產生緊急關閉指令,所述伺服器系統根據所述緊急關閉指令直接斷開所述伺服器與所述電源模組以及所述備用電源模組的電性連接。 A server power management method, wherein the server power management method includes: setting the server system to work in a first working mode; when an initial command is detected, controlling a substrate management controller to perform an initialization operation; When the instruction is detected, it is determined whether the designated pin of the baseboard management controller is at the first level; when the detection pin of the baseboard management controller is at the first level, the server system is set to work at The second working mode; wherein, in the first working mode, the server system operates according to the voltage provided by the power supply module, and the processor in the server system runs at a first clock frequency; in the In the second working mode, the server system operates according to the voltage provided by the backup power module, and the processor in the server system runs at a second clock frequency; the first clock frequency is greater than the second clock Frequency; determine whether the remaining power of the backup power module is less than the first designated power; when the remaining power of the backup power module is less than the first designated power, an emergency shutdown instruction is generated, and the server system is based on the The emergency shutdown instruction directly disconnects the electrical connection between the server and the power supply module and the backup power supply module. 如請求項1所述的伺服器電源管理方法,其中,所述伺服器電源管理方法還包括:在所述備用電源模組的剩餘電量大於等於所述第一指定電量時,判斷所述電源模組是否與所述伺服器系統電性連接; 在所述電源模組未與所述伺服器系統電性連接時,判斷所述備用電源模組的剩餘電量是否小於第二指定電量;其中,所述第二指定電量大於所述第一指定電量;在所述備用電源模組的剩餘電量小於所述第二指定電量時,產生關閉指令,所述伺服器系統根據所述關閉指令按照指定順序關閉所述伺服器系統內的相關元件。 The server power management method according to claim 1, wherein the server power management method further includes: when the remaining power of the standby power module is greater than or equal to the first specified power, determining the power mode Whether the group is electrically connected to the server system; When the power module is not electrically connected to the server system, it is determined whether the remaining power of the backup power module is less than a second designated power; wherein the second designated power is greater than the first designated power When the remaining power of the backup power module is less than the second specified power, a shutdown instruction is generated, and the server system shuts down relevant components in the server system in a specified order according to the shutdown instruction. 如請求項2所述的伺服器電源管理方法,其中,在設定所述伺服器系統工作在所述第二工作模式時累計持續時間;所述的伺服器電源管理方法還包括:在所述備用電源模組的剩餘電量大於等於所述第二指定電量時,判斷所述持續時間是否小於預定時間;在所述持續時間大於等於所述預定時間時,產生所述關閉指令,以關閉所述伺服器系統。 The server power management method according to claim 2, wherein, when the server system is set to work in the second working mode, the accumulated duration; the server power management method further includes: When the remaining power of the power module is greater than or equal to the second specified power, it is determined whether the duration is less than a predetermined time; when the duration is greater than or equal to the predetermined time, the shutdown instruction is generated to turn off the servo器系统。 Device system. 如請求項1所述的伺服器電源管理方法,其中,所述伺服器系統還包括散熱模組;在所述第一工作模式下,所述散熱模組以第一驅動功率工作;在所述第二工作模式下,所述散熱模組以第二驅動功率工作,所述第一驅動功率大於所述第二驅動功率。 The server power management method according to claim 1, wherein the server system further includes a heat dissipation module; in the first working mode, the heat dissipation module operates at a first driving power; In the second working mode, the heat dissipation module operates at a second driving power, and the first driving power is greater than the second driving power. 一種伺服器電源管理系統,所述伺服器電源管理系統包括伺服器系統、電源模組以及備用電源模組;所述伺服器系統與所述電源模組和所述備用電源模組電性連接;所述伺服器系統進一步包括基板管理控制器以及處理器;其中,所述伺服器系統還包括:設定模組,用於設定所述伺服器系統工作在第一工作模式;初始化模組,用於在偵測到初始指令時控制所述基板管理控制器執行初始化操作;以及 檢測模組,用於在偵測到檢測指令時判斷所述基板管理控制器的指定引腳是否處於第一電平;在所述基板管理控制器的偵測引腳處於所述第一電平時,所述設定模組設定所述伺服器系統工作在第二工作模式;其中,在所述第一工作模式下,所述伺服器系統根據所述電源模組提供的電壓工作,且所述伺服器系統中的處理器以第一時鐘頻率運行;在所述第二工作模式下,所述伺服器系統根據所述備用電源模組提供的電壓工作,且所述伺服器系統中的處理器以第二時鐘頻率運行;所述第一時鐘頻率大於所述第二時鐘頻率;所述伺服器系統還包括第一電量監測模組以及指令生成模組;所述第一電量監測模組用於判斷所述備用電源模組的剩餘電量是否小於第一指定電量;在所述備用電源模組的剩餘電量小於所述第一指定電量時,所述指令生成模組產生緊急關閉指令,所述伺服器系統根據所述緊急關閉指令直接斷開所述伺服器與所述電源模組以及所述備用電源模組的電性連接。 A server power management system, the server power management system includes a server system, a power module, and a backup power module; the server system is electrically connected to the power module and the backup power module; The server system further includes a baseboard management controller and a processor; wherein, the server system further includes: a setting module for setting the server system to work in a first working mode; an initialization module for Controlling the baseboard management controller to perform an initialization operation when an initial command is detected; and The detection module is used to determine whether the designated pin of the substrate management controller is at the first level when the detection instruction is detected; when the detection pin of the substrate management controller is at the first level , The setting module sets the server system to operate in the second working mode; wherein, in the first working mode, the server system operates according to the voltage provided by the power module, and the servo The processor in the server system runs at a first clock frequency; in the second operating mode, the server system operates according to the voltage provided by the backup power module, and the processor in the server system operates at The second clock frequency runs; the first clock frequency is greater than the second clock frequency; the server system further includes a first power monitoring module and an instruction generation module; the first power monitoring module is used to determine Whether the remaining power of the backup power module is less than the first designated power; when the remaining power of the backup power module is less than the first designated power, the command generation module generates an emergency shutdown command, and the server The system directly disconnects the electrical connection between the server and the power supply module and the backup power supply module according to the emergency shutdown instruction. 如請求項5所述的伺服器電源管理系統,其中,所述伺服器系統還包括判斷模組以及第二電量監測模組;在所述備用電源模組的剩餘電量大於等於所述第一指定電量時,所述判斷模組用於判斷所述電源模組是否與所述伺服器系統電性連接;在所述電源模組未與所述伺服器系統電性連接時,所述第二電量監測模組判斷所述備用電源模組的剩餘電量是否小於第二指定電量;其中,所述第二指定電量大於所述第一指定電量;在所述備用電源模組的剩餘電量小於所述第二指定電量時,所述指令生成模組產生關閉指令,所述伺服器系統根據所述關閉指令按照指定順序關閉所述伺服器系統內的相關元件。 The server power management system according to claim 5, wherein the server system further includes a judgment module and a second power monitoring module; and the remaining power of the standby power module is greater than or equal to the first specified When the power is supplied, the determining module is used to determine whether the power supply module is electrically connected to the server system; when the power supply module is not electrically connected to the server system, the second power supply The monitoring module determines whether the remaining power of the backup power module is less than a second designated power; wherein, the second designated power is greater than the first designated power; when the remaining power of the backup power module is less than the first designated power 2. When the power is specified, the instruction generation module generates a shutdown instruction, and the server system shuts down related components in the server system in a specified order according to the shutdown instruction. 如請求項6所述的伺服器電源管理系統,其中,所述伺服器系統還包括比較模組;所述設定模組在設定所述伺服器系統工作在所述第二工作模式時累計持續時間;在所述備用電源模組的剩餘電量大於等於所述第二指定電量時,所述比較模組判斷所述持續時間是否小於預定時間;在所述持續時間大於等於所述預定時間時,所述指令生成模組還用於產生所述關閉指令,以關閉所述伺服器系統。 The server power management system according to claim 6, wherein the server system further includes a comparison module; the setting module sets the accumulated duration when the server system operates in the second working mode When the remaining power of the backup power module is greater than or equal to the second specified power, the comparison module determines whether the duration is less than a predetermined time; when the duration is greater than or equal to the predetermined time, The instruction generation module is also used to generate the shutdown instruction to shut down the server system. 如請求項5所述的伺服器電源管理系統,其中,所述伺服器系統還包括散熱模組;在所述第一工作模式下,所述散熱模組以第一驅動功率工作;在所述第二工作模式下,所述散熱模組以第二驅動功率工作,所述第一驅動功率大於所述第二驅動功率。 The server power management system according to claim 5, wherein the server system further includes a heat dissipation module; in the first working mode, the heat dissipation module operates with a first driving power; In the second working mode, the heat dissipation module operates at a second driving power, and the first driving power is greater than the second driving power.
TW108114825A 2019-04-26 2019-04-26 Server power managing method and system thereof TWI719461B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108114825A TWI719461B (en) 2019-04-26 2019-04-26 Server power managing method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108114825A TWI719461B (en) 2019-04-26 2019-04-26 Server power managing method and system thereof

Publications (2)

Publication Number Publication Date
TW202040313A TW202040313A (en) 2020-11-01
TWI719461B true TWI719461B (en) 2021-02-21

Family

ID=74201447

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108114825A TWI719461B (en) 2019-04-26 2019-04-26 Server power managing method and system thereof

Country Status (1)

Country Link
TW (1) TWI719461B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI780817B (en) * 2021-07-14 2022-10-11 緯穎科技服務股份有限公司 Environment detecting module

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030188208A1 (en) * 1990-06-01 2003-10-02 Amphus, Inc. System, method, and architecture for dynamic server power management and dynamic workload management for multi-server environment
US20150121104A1 (en) * 2013-10-24 2015-04-30 Fujitsu Limited Information processing method, information processing apparatus, and non-transitory computer-readable storage medium
US9176565B2 (en) * 2011-10-27 2015-11-03 Intel Corporation Controlling operating frequency of a core domain based on operating condition of a non-core domain of a multi-domain processor
US20180188790A1 (en) * 2014-06-30 2018-07-05 Intel Corporation Methods and systems for server power line communication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030188208A1 (en) * 1990-06-01 2003-10-02 Amphus, Inc. System, method, and architecture for dynamic server power management and dynamic workload management for multi-server environment
US9176565B2 (en) * 2011-10-27 2015-11-03 Intel Corporation Controlling operating frequency of a core domain based on operating condition of a non-core domain of a multi-domain processor
US20150121104A1 (en) * 2013-10-24 2015-04-30 Fujitsu Limited Information processing method, information processing apparatus, and non-transitory computer-readable storage medium
US20180188790A1 (en) * 2014-06-30 2018-07-05 Intel Corporation Methods and systems for server power line communication

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI780817B (en) * 2021-07-14 2022-10-11 緯穎科技服務股份有限公司 Environment detecting module

Also Published As

Publication number Publication date
TW202040313A (en) 2020-11-01

Similar Documents

Publication Publication Date Title
US8656003B2 (en) Method for controlling rack system using RMC to determine type of node based on FRU's message when status of chassis is changed
US8217531B2 (en) Dynamically configuring current sharing and fault monitoring in redundant power supply modules
TWI567536B (en) Power management circuit, server and power management method thereof
US9037878B2 (en) Server rack system
US20140025208A1 (en) Distributed Thermal Management System for Servers
US8612509B2 (en) Resetting a hypertransport link in a blade server
CN111857308B (en) Server power management method and system
TW201911813A (en) Network Switching System
US7734953B1 (en) Redundant power solution for computer system expansion cards
JP2020053017A (en) System and method for hybrid power source
WO2024051254A1 (en) Server power supplying method and system, device, and medium
JP2021163480A (en) Power management system and power management method
US9047190B2 (en) Intrusion protection for a client blade
TWI719461B (en) Server power managing method and system thereof
TW202038048A (en) Power protection device for servers
TWI726550B (en) Method of providing power in standby phase
TW201322697A (en) Baseboard management controller electronic device and controlling method thereof
CN110389643B (en) Server and remote control method thereof
TW201702902A (en) Method for managing a storage system with aid of hybrid management paths, and associated apparatus
TWI831190B (en) Datacenter-ready secure control module and control method
TWI685733B (en) Computer system and power management method
CN116520957B (en) Mainboard, mainboard power supply control method and electronic equipment
US20080288626A1 (en) structure for resetting a hypertransport link in a blade server
TWI665561B (en) Server and remote control method thereof
TW202343295A (en) Datacenter-ready secure control module and control method