TWI564702B - Method and device for monitoring and controlling power supply unit - Google Patents

Method and device for monitoring and controlling power supply unit Download PDF

Info

Publication number
TWI564702B
TWI564702B TW104103326A TW104103326A TWI564702B TW I564702 B TWI564702 B TW I564702B TW 104103326 A TW104103326 A TW 104103326A TW 104103326 A TW104103326 A TW 104103326A TW I564702 B TWI564702 B TW I564702B
Authority
TW
Taiwan
Prior art keywords
monitoring
instruction
predetermined
management table
power supplies
Prior art date
Application number
TW104103326A
Other languages
Chinese (zh)
Other versions
TW201627809A (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 TW104103326A priority Critical patent/TWI564702B/en
Publication of TW201627809A publication Critical patent/TW201627809A/en
Application granted granted Critical
Publication of TWI564702B publication Critical patent/TWI564702B/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

電源供應器的監控方法以及監控裝置 Power supply monitoring method and monitoring device

本發明係關於一種監控技術,且特別是一種電源供應器的監控方法與監控裝置。 The invention relates to a monitoring technology, and in particular to a monitoring method and monitoring device for a power supply.

在習知作法中,當伺服器管理員欲對伺服器中之電源供應器的運作狀態來進行監控時,僅能透過額外裝設於電源供應器之上的感測器,來獲得特定的感測資訊。然而在這樣的作法中,除了需額外負擔感測器的成本,更受限於感測器的種類與規格,不僅所獲得之感測資訊十分有限,且需逐一控制各感測器,因此監控上之效能也難以提升。 In the conventional practice, when the server administrator wants to monitor the operating state of the power supply in the server, only a sensor externally mounted on the power supply can be used to obtain a specific feeling. Measurement information. However, in this way, in addition to the additional cost of the sensor, it is more limited by the type and specifications of the sensor, not only the sensing information obtained is very limited, but also the sensors need to be controlled one by one, so monitoring The performance is also difficult to improve.

除此之外,一般伺服器中可裝設多個電源供應器,而各電源供應器的款式亦可能不盡相同。因此,當伺服器管理員欲透過基板管理控制器(BMC,Baseboard Management Controller)來統一下達監控指令時,由於各電源供應器所支援之監控指令可能具有差異,因此所能運用的監控指令之類型與數量將會大大的受限。 In addition, a plurality of power supplies can be installed in a general server, and the styles of the power supplies may also be different. Therefore, when the server administrator wants to uniformly issue the monitoring command through the Baseboard Management Controller (BMC), the type of monitoring command that can be used is different because the monitoring commands supported by the power supplies may be different. And the number will be greatly limited.

本發明藉由所定義的預定指令以及對應預定指令的 管理表,來避免額外增設感測器的成本,且改善逐一控制各感測器的低效能,以及解決各電源供應器的款式差異而造成之監控不便的問題 The present invention is defined by predetermined instructions and corresponding predetermined instructions Manage the table to avoid the cost of additional sensor additions, and improve the low-efficiency of controlling each sensor one by one, and solve the problem of inconvenient monitoring caused by the difference in style of each power supply.

本發明提供一種電源供應器的監控方法,監控方法包括下列步驟。讀取管理表,管理表記錄多個預定指令分別對應的執行資訊。根據管理表來判斷監控指令是否為多個預定指令其中之一。當監控指令不是多個預定指令之其中之一時,則輸出第一錯誤訊息。當監控指令為多個預定指令之其中之一時,則根據管理表中監控指令所對應的執行資訊來選擇性地執行監控指令。 The invention provides a monitoring method of a power supply, and the monitoring method comprises the following steps. The management table is read, and the management table records execution information corresponding to each of the plurality of predetermined instructions. Whether the monitoring instruction is one of a plurality of predetermined instructions is determined according to the management table. When the monitoring instruction is not one of the plurality of predetermined instructions, the first error message is output. When the monitoring instruction is one of a plurality of predetermined instructions, the monitoring instruction is selectively executed according to the execution information corresponding to the monitoring instruction in the management table.

在本發明一實施例中,載入標頭檔,且標頭檔包括基於電源管理總線(PMBus)協定於智慧平台管理介面(IPMI)協定中所定義的多個預定指令。 In an embodiment of the invention, the header file is loaded, and the header file includes a plurality of predetermined instructions defined in the Intelligent Platform Management Interface (IPMI) protocol based on a Power Management Bus (PMBus) protocol.

在本發明另一實施例中,其中管理表中的各執行資訊更進一步記錄對應之預定指令的支援狀態與支援資訊,且支援資訊記錄對應之預定指令所支援的一或多個電源供應器。 In another embodiment of the present invention, each execution information in the management table further records the support status and support information of the corresponding predetermined command, and supports one or more power supplies supported by the predetermined command corresponding to the information record.

在本發明另一實施例中,判斷監控指令對應之支援狀態為是否為致能。當監控指令對應之支援狀態為未致能時,則輸出第二錯誤訊息。當監控指令對應之支援狀態為已致能時,則對應預定指令所支援的一或多個電源供應器來執行監控指令。 In another embodiment of the present invention, it is determined whether the support status corresponding to the monitoring instruction is enabled. When the support status corresponding to the monitoring instruction is not enabled, a second error message is output. When the support status corresponding to the monitoring command is enabled, the monitoring command is executed corresponding to one or more power supplies supported by the predetermined command.

在本發明另一實施例中,透過內部整合電路(I2C)的應用程式來將監控指令轉發至所支援的一或多個電源供應器,藉以監控一或多個電源供應器分別對應的運作狀態。 In another embodiment of the present invention, an internal integration circuit (I2C) application is used to forward monitoring instructions to one or more supported power supplies to monitor the operational status of one or more power supplies. .

在本發明另一實施例中,判斷內部整合電路的應用程式是否回傳異常訊號。當內部整合電路的應用程式回傳異常訊號時,則發出第三錯誤訊息。 In another embodiment of the present invention, it is determined whether the application of the internal integrated circuit returns an abnormal signal. When the application of the internal integrated circuit returns an abnormal signal, a third error message is issued.

在本發明另一實施例中,其中管理表中的各執行資訊更進一步記錄對應之預定指令的讀取參數長度與寫入參數長度。 In another embodiment of the present invention, each execution information in the management table further records the read parameter length and the write parameter length of the corresponding predetermined instruction.

在本發明另一實施例中,其中多個預定指令是定義於智慧平台管理介面協定中的允許實作段落之中。 In another embodiment of the invention, wherein the plurality of predetermined instructions are defined in an allowed implementation paragraph in the smart platform management interface agreement.

本發明提供一種電源供應器的監控裝置,包括儲存單元與處理單元。處理單元耦接儲存單元。儲存單元用以儲存管理表,管理表記錄多個預定指令分別對應的執行資訊。處理單元用以讀取管理表,根據管理表來判斷監控指令是否為多個預定指令其中之一,當監控指令不是多個預定指令之其中之一時,則輸出第一錯誤訊息,以及當監控指令為多個預定指令之其中之一時,則根據管理表中監控指令所對應的執行資訊來選擇性地執行監控指令。 The invention provides a monitoring device for a power supply, comprising a storage unit and a processing unit. The processing unit is coupled to the storage unit. The storage unit is configured to store a management table, and the management table records execution information corresponding to each of the plurality of predetermined instructions. The processing unit is configured to read the management table, and determine, according to the management table, whether the monitoring instruction is one of a plurality of predetermined instructions, and when the monitoring instruction is not one of the plurality of predetermined instructions, output the first error message, and when the monitoring instruction When it is one of a plurality of predetermined instructions, the monitoring instruction is selectively executed according to the execution information corresponding to the monitoring instruction in the management table.

如上所述,本發明藉由記錄多個預定指令分別對應的執行資訊的管理表,來判斷所接收的監控指令是否為預定指令,若為否,則輸出第一錯誤訊息,若為是,則依據監控指令所對應的執行資訊來選擇性地執行監控指令。藉此,可監控款式具有差異的電源供應器,更提升了監控的效能。 As described above, the present invention determines whether the received monitoring instruction is a predetermined instruction by recording a management table of execution information corresponding to each of the plurality of predetermined instructions, and if not, outputs a first error message, and if yes, The monitoring instruction is selectively executed according to the execution information corresponding to the monitoring instruction. In this way, it is possible to monitor the power supply with different styles and improve the monitoring performance.

以上關於本發明內容及以下關於實施方式之說明係 用以示範與闡明本發明之精神與原理,並提供對本發明之申請專利範圍更進一步之解釋。 The above description of the present invention and the following description of the embodiments are The spirit and principle of the invention are set forth and illustrated, and further explanation of the scope of the invention is provided.

100‧‧‧監控裝置 100‧‧‧Monitor

110‧‧‧儲存單元 110‧‧‧ storage unit

120‧‧‧處理單元 120‧‧‧Processing unit

200‧‧‧監控介面 200‧‧‧Monitoring interface

300‧‧‧伺服器 300‧‧‧Server

310~350‧‧‧電源供應器 310~350‧‧‧Power supply

S410~S440‧‧‧電源供應器的監控方法的步驟 S410~S440‧‧‧Steps for monitoring the power supply

第1圖為根據本發明之一實施例之電源供應器的監控裝置之運作的示意圖。 1 is a schematic diagram showing the operation of a monitoring device of a power supply according to an embodiment of the present invention.

第2圖為根據本發明之一實施例之電源供應器的監控方法的流程圖。 2 is a flow chart of a method of monitoring a power supply according to an embodiment of the present invention.

以下在實施方式中敘述本發明之詳細特徵,其內容足以使任何熟習相關技藝者瞭解本發明之技術內容並據以實施,且依據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下實施例係進一步說明本發明之諸面向,但非以任何面向限制本發明之範疇。 The detailed features of the present invention are described in the following description, which is sufficient for any skilled person to understand the technical contents of the present invention and to implement it, and according to the contents disclosed in the specification, the patent application scope and the drawings, any familiarity The related objects and advantages of the present invention will be readily understood by those skilled in the art. The following examples are intended to further illustrate the invention, but are not intended to limit the scope of the invention.

第1圖為根據本發明之一實施例之電源供應器的監控裝置100之運作的示意圖。如第1圖所示,監控裝置100包括儲存單元110與處理單元120。處理單元120耦接儲存單元110。監控裝置100設置於伺服器300中。伺服器管理員可透過遠端之監控介面200來對伺服器300中的多個電源供應器310~350進行監控。監控介面200與監控裝置100之間是藉由智慧平台管理介面(IPMI)協定來通訊,監控介面200與電源供應器310~350之間 是透過電源管理總線(PMBus)協定來通訊。在本發明實施例中,監控裝置100可以是伺服器300中的基板管裡控制器(BMC,Baseboard Management Controller),監控介面200可以由伺服器管理員工作室裡的電腦來提供。 1 is a schematic diagram of the operation of a monitoring device 100 of a power supply in accordance with an embodiment of the present invention. As shown in FIG. 1, the monitoring device 100 includes a storage unit 110 and a processing unit 120. The processing unit 120 is coupled to the storage unit 110. The monitoring device 100 is disposed in the server 300. The server administrator can monitor the plurality of power supplies 310-350 in the server 300 through the remote monitoring interface 200. The monitoring interface 200 and the monitoring device 100 communicate through the Intelligent Platform Management Interface (IPMI) protocol, between the monitoring interface 200 and the power supply 310-350. It communicates via the Power Management Bus (PMBus) protocol. In the embodiment of the present invention, the monitoring device 100 may be a Baseboard Management Controller (BMC) in the server 300, and the monitoring interface 200 may be provided by a computer in the server administrator's studio.

當伺服器管理員欲藉由遠端的監控介面200對伺服器300中的多個電源供應器310~350進行監控,藉以讀取電源供應器310~350各別的運作狀態(例如,輸出功率、輸出電流),或者是調整電源供應器310~350上之風扇的運作狀態(例如轉速)時,可透過監控介面200對監控裝置100發出監控指令。然而,在進行監控之前,監控裝置100會先進行一預備程序,下列將對此預備程序進一步描述。 When the server administrator wants to monitor the plurality of power supplies 310-350 in the server 300 by the remote monitoring interface 200, the operating states of the power supplies 310-350 are read (for example, the output power). When the operating state (for example, the rotational speed) of the fan on the power supply 310 to 350 is adjusted, the monitoring interface can be sent to the monitoring device 100 through the monitoring interface 200. However, prior to monitoring, the monitoring device 100 will first perform a preliminary procedure, which will be further described below.

在本發明實施例中,當監控裝置100啟動之後,可載入標頭檔,且此標頭檔包括基於電源管理總線協定於智慧平台管理介面協定中所定義的多個預定指令。此外,在本發明實施例中,這些預定指令可定義於智慧平台管理介面協定中的允許實作段落之中。舉例來說,這些基於電源管理總線協定的預定指令可定義於智慧平台管理介面協定中的NetFn 0x3C段落中(落在0x30~0x3F之間)。然而,在本發明之另一實施例中,這些基於電源管理總線協定的預定指令亦可定義於智慧平台管理介面協定中之NetFn之其它相關的允許實作段落,例如,2Eh~2Fh段落,或者是30h~3Fh段落,再此不加以限制。 In the embodiment of the present invention, after the monitoring device 100 is started, the header file may be loaded, and the header file includes a plurality of predetermined instructions defined in the smart platform management interface protocol based on the power management bus protocol. Moreover, in the embodiments of the present invention, these predetermined instructions may be defined in the allowed implementation paragraphs in the smart platform management interface agreement. For example, these predetermined commands based on the power management bus protocol can be defined in the NetFn 0x3C paragraph of the Smart Platform Management Interface Agreement (falling between 0x30 and 0x3F). However, in another embodiment of the present invention, the predetermined commands based on the power management bus protocol may also be defined in other relevant allowed implementations of NetFn in the smart platform management interface protocol, for example, paragraphs 2Eh~2Fh, or It is the 30h~3Fh paragraph, and there is no limit.

監控裝置100啟動之後,處理單元120亦從儲存單 元110中,將其所儲存的管理表讀取出來,而此管理表記錄多個預定指令,以及各預定指令所對應的執行資訊。在本發明實施例中,管理表中的各執行資訊記錄對應之預定指令的支援狀態與支援資訊,且支援資訊記錄對應之預定指令所支援的一或多個電源供應器。對應不同需求或者是層級的伺服器管理員,其啟動監控裝置100之後,所能使用之各預定指令的支援狀態可以不同。舉例來說,層級較高之伺服器管理員可使用之已致能的預定指令數量可以較多,層級較低之伺服器管理員可使用之已致能的預定指令數量可以較少。 After the monitoring device 100 is started, the processing unit 120 also receives from the storage list. In the element 110, the stored management table is read, and the management table records a plurality of predetermined instructions and execution information corresponding to each predetermined instruction. In the embodiment of the present invention, each of the execution information records in the management table records the support status and the support information of the predetermined command, and supports one or more power supplies supported by the predetermined command corresponding to the information record. The server administrators corresponding to different needs or levels may have different support states for each predetermined command that can be used after the monitoring device 100 is activated. For example, a higher level of server administrators can use more of the number of predetermined instructions that can be enabled, and a lower level of server administrators can use fewer predetermined instructions.

在本發明實施例中,電源供應器310~350的款式可相異。因此,電源供應器310~350所支援的預定指令可以不同。舉例來說,可支援預定指令A的電源供應器為310、330、350,可支援預定指令B的電源供應器為310、320、340,可支援預定指令C的電源供應器為330與340,藉此,對應預定指令A的支援資訊則記錄了電源供應器為310、330、350,對應預定指令B的支援資訊則記錄了電源供應器為310、320、340,對應預定指令C的支援資訊則記錄了電源供應器為330與340。 In the embodiment of the present invention, the styles of the power supplies 310-350 may be different. Therefore, the predetermined commands supported by the power supplies 310-350 can be different. For example, the power supply capable of supporting the predetermined command A is 310, 330, 350, the power supply capable of supporting the predetermined command B is 310, 320, 340, and the power supply supporting the predetermined command C is 330 and 340. Thereby, the support information corresponding to the predetermined command A records the power supply 310, 330, 350, and the support information corresponding to the predetermined command B records the power supply 310, 320, 340, and the support information corresponding to the predetermined command C Then the power supply is recorded as 330 and 340.

在本發明實施例中,管理表中的各執行資訊更進一步記錄對應之預定指令的讀取參數長度與寫入參數長度。舉例來說,讀取參數長度或寫入參數長度可以是一個位元,或者是一個字元,在此不加以限制。 In the embodiment of the present invention, each execution information in the management table further records the read parameter length and the write parameter length of the corresponding predetermined instruction. For example, the read parameter length or the write parameter length may be one bit or one character, which is not limited herein.

當預備程序完成之後,處理單元120可根據管理表 來判斷監控指令是否為多個預定指令其中之一。當處理單元120判定監控指令不是多個預定指令之其中之一時,則輸出第一錯誤訊息,以代表監控裝置100並無法執行此監控指令。當處理單元120判定監控指令為多個預定指令之其中之一時,則根據管理表中此監控指令所對應的執行資訊來選擇性地執行監控指令。 After the preparation process is completed, the processing unit 120 can be based on the management table. To determine whether the monitoring instruction is one of a plurality of predetermined instructions. When the processing unit 120 determines that the monitoring instruction is not one of the plurality of predetermined instructions, the first error message is output to represent the monitoring device 100 and the monitoring instruction cannot be executed. When the processing unit 120 determines that the monitoring instruction is one of the plurality of predetermined instructions, the monitoring instruction is selectively executed according to the execution information corresponding to the monitoring instruction in the management table.

在本發明實施例中,當處理單元120根據管理表中此監控指令所對應的執行資訊來選擇性地執行監控指令時,處理單元120可更進一步根據對應之執行資訊,來判斷監控指令對應之支援狀態為是否為致能,當監控指令對應之支援狀態為未致能時,則輸出第二錯誤訊息,以代表伺服器管理員並無權限執行此監控指令。而當監控指令對應之支援狀態為已致能時,則對應預定指令所支援的一或多個電源供應器來執行監控指令。 In the embodiment of the present invention, when the processing unit 120 selectively executes the monitoring instruction according to the execution information corresponding to the monitoring instruction in the management table, the processing unit 120 may further determine, according to the corresponding execution information, the monitoring instruction. If the support status is enabled, when the support status corresponding to the monitoring command is not enabled, a second error message is output to indicate that the server administrator does not have permission to execute the monitoring command. When the support status corresponding to the monitoring command is enabled, the monitoring command is executed by one or more power supplies supported by the predetermined command.

在本發明實施例中,處理單元120乃透過內部整合電路的應用程式來將監控指令轉發至所支援的一或多個電源供應器,藉以監控一或多個電源供應器分別對應的運作狀態。舉例來說,當監控指令為預定指令A時,則處理單元120透過內部整合電路的應用程式來將監控指令轉發至對應電源供應器310、330、350來執行此監控指令。此外,處理單元120可更進一步判斷內部整合電路的應用程式是否回傳異常訊號。當內部整合電路的應用程式回傳異常訊號時,則發出第三錯誤訊息,以代表內部整合電路的應用程式發生異常,以供伺服器管理員偵錯之用。 In the embodiment of the present invention, the processing unit 120 forwards the monitoring command to the supported one or more power supplies through an application of the internal integrated circuit, thereby monitoring the operating states corresponding to the one or more power supplies. For example, when the monitoring instruction is the predetermined instruction A, the processing unit 120 forwards the monitoring instruction to the corresponding power supply 310, 330, 350 through the application of the internal integrated circuit to execute the monitoring instruction. In addition, the processing unit 120 can further determine whether the application of the internal integrated circuit returns an abnormal signal. When the application of the internal integrated circuit returns an abnormal signal, a third error message is issued to cause an abnormality in the application representing the internal integrated circuit for the server administrator to debug.

第2圖為根據本發明之一實施例之電源供應器的監 控方法的流程圖。如第2圖所示,根據本發明實施例之監控方法包括步驟S410~S440。 Figure 2 is a diagram of a power supply monitor according to an embodiment of the present invention. Flow chart of the control method. As shown in FIG. 2, the monitoring method according to an embodiment of the present invention includes steps S410 to S440.

在步驟S410中,處理單元120從儲存單元110讀取管理表,管理表記錄多個預定指令,以及各預定指令對應的執行資訊。在步驟S420中,處理單元120根據管理表來判斷監控指令是否為多個預定指令其中之一。在步驟S430中,當處理單元120判定監控指令不是多個預定指令其中之一時,則輸出第一錯誤訊息。在步驟S440中,當處理單元120判定監控指令為多個預定指令其中之一時,則根據管理表中監控指令所對應的執行資訊來選擇性地執行監控指令。步驟S410~S440已於詳述於上,在此不加以贅述。 In step S410, the processing unit 120 reads the management table from the storage unit 110, and the management table records a plurality of predetermined instructions, and execution information corresponding to each predetermined instruction. In step S420, the processing unit 120 determines, according to the management table, whether the monitoring instruction is one of a plurality of predetermined instructions. In step S430, when the processing unit 120 determines that the monitoring instruction is not one of the plurality of predetermined instructions, the first error message is output. In step S440, when the processing unit 120 determines that the monitoring instruction is one of the plurality of predetermined instructions, the monitoring instruction is selectively executed according to the execution information corresponding to the monitoring instruction in the management table. Steps S410 to S440 have been described in detail above, and are not described herein.

綜上所述,本發明藉由記錄多個預定指令分別對應的執行資訊的管理表,藉以判斷所接收的監控指令是否為預定指令其中之一,以及判斷監控指令對應的支援狀態使否為已致能,若上述判斷皆為是,則根據監控指令所對應的支援資訊,來透過內部整合電路的應用程式來將監控指令轉發至所支援的一或多個電源供應器。其中,多個預定指令乃基於電源管理總線(PMBus)協定而定義於智慧平台管理介面(IPMI)協定中的允許實作段落中。藉此,在無需額外增設感測器的情況下,即可監控款式具有差異的多個電源供應器,更提升了監控的效能。 In summary, the present invention determines whether the received monitoring instruction is one of the predetermined instructions by recording a management table of the execution information corresponding to the plurality of predetermined instructions, and determining whether the support status corresponding to the monitoring instruction is If the above determination is yes, the monitoring command is forwarded to the supported one or more power supplies through the internal integrated circuit application according to the support information corresponding to the monitoring command. Among them, a plurality of predetermined instructions are defined in the allowable implementation paragraph in the Intelligent Platform Management Interface (IPMI) protocol based on the Power Management Bus (PMBus) protocol. In this way, multiple power supplies with different styles can be monitored without additional sensors, which improves monitoring performance.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與 潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。 Although the present invention has been disclosed above in the foregoing embodiments, it is not intended to limit the invention. Without changing the spirit and scope of the present invention, Retouching is within the scope of patent protection of the present invention. Please refer to the attached patent application for the scope of protection defined by the present invention.

100‧‧‧監控裝置 100‧‧‧Monitor

110‧‧‧儲存單元 110‧‧‧ storage unit

120‧‧‧處理單元 120‧‧‧Processing unit

200‧‧‧監控介面 200‧‧‧Monitoring interface

300‧‧‧伺服器 300‧‧‧Server

310~350‧‧‧電源供應器 310~350‧‧‧Power supply

Claims (10)

一種電源供應器的監控方法,包括:讀取一管理表,該管理表記錄多個預定指令,以及各該預定指令對應的一執行資訊;根據該管理表來判斷一監控指令是否為該些預定指令其中之一;當該監控指令不是該些預定指令之該其中之一時,則輸出一第一錯誤訊息;以及當該監控指令為該些預定指令之該其中之一時,則根據該管理表中該監控指令所對應的該執行資訊來選擇性地執行該監控指令。 A method for monitoring a power supply, comprising: reading a management table, wherein the management table records a plurality of predetermined instructions, and an execution information corresponding to each of the predetermined instructions; determining, according to the management table, whether a monitoring instruction is the predetermined one One of the instructions; when the monitoring instruction is not one of the predetermined instructions, outputting a first error message; and when the monitoring instruction is one of the predetermined instructions, according to the management table The execution information corresponding to the monitoring instruction selectively executes the monitoring instruction. 如請求項1所述的監控方法,其中在讀取該管理表,該管理表記錄該些預定指令分別對應的該執行資訊的步驟之前,更包括:載入一標頭檔,且該標頭檔包括基於電源管理總線(PMBus)協定於一智慧平台管理介面(IPMI)協定中所定義的該些預定指令;其中該些預定指令是定義於該智慧平台管理介面協定中的一允許實作段落之中。 The monitoring method of claim 1, wherein before the step of reading the management table, the management table records the execution information corresponding to the predetermined instructions, the method further includes: loading a header file, and the header The file includes the predetermined instructions defined in a Smart Platform Management Interface (IPMI) protocol based on a Power Management Bus (PMBus) protocol; wherein the predetermined instructions are an allowed implementation paragraph defined in the smart platform management interface protocol Among them. 如請求項2所述的監控方法,其中該管理表中的各該執行資訊更進一步記錄對應之該預定指令的一支援狀態與一支援資 訊,且該支援資訊記錄對應之該預定指令所支援的一或多個電源供應器。 The monitoring method of claim 2, wherein each of the execution information in the management table further records a support status and a support amount corresponding to the predetermined instruction. And the support information record corresponds to one or more power supplies supported by the predetermined instruction. 如請求項3所述的監控方法,其中在當該監控指令為該些預定指令之該其中之一時,則根據該管理表中該監控指令所對應的該執行資訊來選擇性地執行該監控指令的步驟中,更包括:判斷該監控指令對應之該支援狀態為是否為致能;當該監控指令對應之該支援狀態為未致能時,則輸出一第二錯誤訊息;以及當該監控指令對應之該支援狀態為已致能時,則對應該預定指令所支援的該一或多個電源供應器來執行該監控指令;其中在當該監控指令對應之該支援狀態為已致能時,則對應該預定指令所支援的該一或多個電源供應器來執行該監控指令的步驟中,更包括:透過一內部整合電路(I2C)的一應用程式來將該監控指令轉發至所支援的該一或多個電源供應器,藉以監控該一或多個電源供應器分別對應的一運作狀態;其中在透過該內部整合電路的該應用程式來將該監控指令轉發至所支援的該一或多個電源供應器,藉以讀取該一或多個電源供應器分別對應的該運作狀態的步驟中,更包括:判斷該內部整合電路的該應用程式是否回傳一異常訊號;以及 當該內部整合電路的該應用程式回傳該異常訊號時,則發出一第三錯誤訊息。 The monitoring method of claim 3, wherein when the monitoring instruction is one of the predetermined instructions, the monitoring instruction is selectively executed according to the execution information corresponding to the monitoring instruction in the management table. And the step of: determining whether the support status corresponding to the monitoring instruction is enabled; when the support status corresponding to the monitoring instruction is not enabled, outputting a second error message; and when the monitoring instruction When the support status is enabled, the monitoring command is executed by the one or more power supplies supported by the predetermined command; wherein when the support status corresponding to the monitoring command is enabled, And the step of executing the monitoring instruction corresponding to the one or more power supplies supported by the predetermined instruction, further comprising: forwarding, by the application of an internal integrated circuit (I2C), the monitoring instruction to the supported The one or more power supplies are configured to monitor an operating state of the one or more power supplies respectively; wherein the application is transmitted through the internal integrated circuit The step of forwarding the monitoring command to the one or more supported power supplies to read the operating state corresponding to the one or more power supplies respectively includes: determining the application of the internal integrated circuit Whether to return an abnormal signal; When the application of the internal integrated circuit returns the abnormal signal, a third error message is sent. 如請求項2所述的監控方法,其中該管理表中的各該執行資訊更進一步記錄對應之該預定指令的一讀取參數長度與一寫入參數長度。 The monitoring method of claim 2, wherein each of the execution information in the management table further records a read parameter length and a write parameter length of the predetermined instruction. 一種電源供應器的監控裝置,包括:一儲存單元,用以儲存一管理表,該管理表記錄多個預定指令,以及各該預定指令對應的一執行資訊;以及一處理單元,耦接該儲存單元,用以讀取該管理表,根據該管理表來判斷一監控指令是否為該些預定指令其中之一,當該監控指令不是該些預定指令之該其中之一時,則輸出一第一錯誤訊息,以及當該監控指令為該些預定指令之該其中之一時,則根據該管理表中該監控指令所對應的該執行資訊來選擇性地執行該監控指令。 A monitoring device for a power supply, comprising: a storage unit for storing a management table, wherein the management table records a plurality of predetermined instructions, and an execution information corresponding to each of the predetermined instructions; and a processing unit coupled to the storage a unit for reading the management table, determining, according to the management table, whether a monitoring instruction is one of the predetermined instructions, and when the monitoring instruction is not one of the predetermined instructions, outputting a first error And the message, and when the monitoring instruction is one of the predetermined instructions, selectively executing the monitoring instruction according to the execution information corresponding to the monitoring instruction in the management table. 如請求項6所述的監控裝置,其中該處理單元於讀取該管理表,該管理表記錄該些預定指令分別對應的該執行資訊驟之前,更進一步載入一標頭檔,且該標頭檔包括基於電源管理總線(PMBus)協定於一智慧平台管理介面(IPMI)協定中所定義的該些預定指令;其中該些預定指令是定義於該智慧平台管理介面協定中的一允許實作段落之中。 The monitoring device of claim 6, wherein the processing unit further loads a header file before reading the management table, and the management table records the execution information corresponding to the predetermined instructions respectively, and the label is further loaded The header file includes the predetermined instructions defined in a Smart Platform Management Interface (IPMI) protocol based on a Power Management Bus (PMBus) protocol; wherein the predetermined instructions are an allowed implementation defined in the smart platform management interface protocol In the paragraph. 如請求項7所述的監控裝置,其中該管理表中的各該執行資訊更進一步記錄對應之該預定指令的一支援狀態與一支援資訊,且該支援資訊記錄對應之該預定指令所支援的一或多個電源供應器。 The monitoring device of claim 7, wherein each of the execution information in the management table further records a support status and a support information corresponding to the predetermined instruction, and the support information record corresponds to the predetermined instruction support One or more power supplies. 如請求項8所述的監控裝置,其中該處理單元更進一步判斷該監控指令對應之該支援狀態為是否為致能,當該監控指令對應之該支援狀態為未致能時,則輸出一第二錯誤訊息,以及當該監控指令對應之該支援狀態為已致能時,則對應該預定指令所支援的該一或多個電源供應器來執行該監控指令;其中該處理單元更進一步透過一內部整合電路(I2C)的一應用程式來將該監控指令轉發至所支援的該一或多個電源供應器,藉以監控該一或多個電源供應器分別對應的一運作狀態;其中該處理單元更進一步判斷該內部整合電路的該應用程式是否回傳一異常訊號,以及當該內部整合電路的該應用程式回傳該異常訊號時,則發出一第三錯誤訊息。 The monitoring device of claim 8, wherein the processing unit further determines whether the support status corresponding to the monitoring instruction is enabled, and when the support status corresponding to the monitoring instruction is not enabled, outputting a a second error message, and when the support state corresponding to the monitoring command is enabled, the monitoring command is executed by the one or more power supplies supported by the predetermined command; wherein the processing unit further transmits a An application of an internal integrated circuit (I2C) for forwarding the monitoring command to the one or more power supplies supported to monitor an operational state of the one or more power supplies respectively; wherein the processing unit Further determining whether the application of the internal integrated circuit returns an abnormal signal, and when the application of the internal integrated circuit returns the abnormal signal, a third error message is sent. 如請求項7所述的監控裝置,其中該管理表中的各該執行資訊更進一步記錄對應之該預定指令的一讀取參數長度與一寫入參數長度。 The monitoring device of claim 7, wherein each of the execution information in the management table further records a read parameter length and a write parameter length of the predetermined instruction.
TW104103326A 2015-01-30 2015-01-30 Method and device for monitoring and controlling power supply unit TWI564702B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104103326A TWI564702B (en) 2015-01-30 2015-01-30 Method and device for monitoring and controlling power supply unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104103326A TWI564702B (en) 2015-01-30 2015-01-30 Method and device for monitoring and controlling power supply unit

Publications (2)

Publication Number Publication Date
TW201627809A TW201627809A (en) 2016-08-01
TWI564702B true TWI564702B (en) 2017-01-01

Family

ID=57181780

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104103326A TWI564702B (en) 2015-01-30 2015-01-30 Method and device for monitoring and controlling power supply unit

Country Status (1)

Country Link
TW (1) TWI564702B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2434459A (en) * 2006-01-20 2007-07-25 Giga Byte Tech Co Ltd Circuit capable of updating the power supply specification of a microprocessor and method thereof
TW201214095A (en) * 2010-09-27 2012-04-01 Pegatron Corp Computer system, power supply, and power management method thereof
US20140208136A1 (en) * 2013-01-21 2014-07-24 Dell Products L.P. Systems And Methods For Power Supply Configuration And Control
TWI468919B (en) * 2012-05-28 2015-01-11 Hon Hai Prec Ind Co Ltd Power controlling system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2434459A (en) * 2006-01-20 2007-07-25 Giga Byte Tech Co Ltd Circuit capable of updating the power supply specification of a microprocessor and method thereof
TW201214095A (en) * 2010-09-27 2012-04-01 Pegatron Corp Computer system, power supply, and power management method thereof
TWI468919B (en) * 2012-05-28 2015-01-11 Hon Hai Prec Ind Co Ltd Power controlling system and method
US20140208136A1 (en) * 2013-01-21 2014-07-24 Dell Products L.P. Systems And Methods For Power Supply Configuration And Control

Also Published As

Publication number Publication date
TW201627809A (en) 2016-08-01

Similar Documents

Publication Publication Date Title
TWI621068B (en) Server rack power management
TWI578233B (en) Unified firmware managment system, non-transitory computer-readable storage medium and method for unified firmware managment
US9122501B1 (en) System and method for managing multiple bios default configurations
US9804937B2 (en) Backup backplane management control in a server rack system
US8935509B2 (en) Method for controlling BMC having customized SDR
TWI423039B (en) Server system and operation method thereof
US20120117429A1 (en) Baseboard management controller and memory error detection method of computing device utilized thereby
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
TW201227341A (en) Remote management systems and methods for servers, and computer program products thereof
JP5805881B2 (en) System and method for determining a thermal management policy from leakage current measurements
TWI632462B (en) Switching device and method for detecting i2c bus
TWI647993B (en) System and method for controlling airflow in a server cabinet
JP6663970B2 (en) System power management method and computer system
JP6678929B2 (en) Smart power management for high standby power system
TWI750442B (en) Firmware security guarding method and electronic system using the same
TWI512490B (en) System for retrieving console messages and method thereof and non-transitory computer-readable medium
US9866443B1 (en) Server data port learning at data switch
US20160117461A1 (en) Electronic system with health monitoring mechanism and method of operation thereof
US9910757B2 (en) Semiconductor device, log acquisition method and electronic apparatus
WO2015131446A1 (en) Method and device for secure access control based on on-chip bus protocol
TWI739127B (en) Method, system, and server for providing the system data
TWI709039B (en) Server and method for controlling error event log recording
US11354259B1 (en) Computer system configurations based on accessing data elements presented by baseboard management controllers
TWI510910B (en) Computer system and remote control method thereof
TWI564702B (en) Method and device for monitoring and controlling power supply unit