[go: up one dir, main page]

TWI835090B - Method of reading device to be monitored by baseboard management controller - Google Patents

Method of reading device to be monitored by baseboard management controller Download PDF

Info

Publication number
TWI835090B
TWI835090B TW111109484A TW111109484A TWI835090B TW I835090 B TWI835090 B TW I835090B TW 111109484 A TW111109484 A TW 111109484A TW 111109484 A TW111109484 A TW 111109484A TW I835090 B TWI835090 B TW I835090B
Authority
TW
Taiwan
Prior art keywords
programmable logic
baseboard management
management controller
logic devices
monitored
Prior art date
Application number
TW111109484A
Other languages
Chinese (zh)
Other versions
TW202338626A (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 TW111109484A priority Critical patent/TWI835090B/en
Publication of TW202338626A publication Critical patent/TW202338626A/en
Application granted granted Critical
Publication of TWI835090B publication Critical patent/TWI835090B/en

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

A method of reading device to be monitored by baseboard management controller includes: (A) after receiving a response message, by one of the plurality of programmable logic devices authenticating the response message; (B) when the authentication of the response information fails, by the one of the plurality of programmable logic devices sending a corresponding control command to each of the other programmable logic devices and sending a notification message to a corresponding baseboard management controller; (C) for each of the other programmable logic devices, the other programmable logic device responding to the control command to set the serial data line and serial clock line to low level in a corresponding time interval and to send a corresponding notification message to the corresponding baseboard management controller.

Description

讀取受基板管理控制器監測之待監測裝置的方法Method for reading a device to be monitored monitored by a baseboard management controller

本發明是有關於一種讀取待監測裝置的方法,特別是指一種用於讀取受基板管理控制器監測之待監測裝置的讀取受基板管理控制器監測之待監測裝置的方法。The present invention relates to a method for reading a device to be monitored, and in particular, to a method for reading a device to be monitored monitored by a baseboard management controller and a method for reading a device to be monitored monitored by a baseboard management controller.

參閱圖1,現有的伺服器系統包含多台伺服器節點1、多個分別設在各該伺服器節點1中的基板管理控制器(BMC)11A、11B、多個分別設在各該伺服器節點1中且分別電連接該等基板管理控制器11A、11B的可程式邏輯裝置12A、12B,以及多個與所有可程式邏輯裝置12A、12B電連接的待監測裝置13A、13B。該等可程式邏輯裝置12A、12B彼此間互相電連接,該等待監測裝置13A、13B例如為電源供應器,且分別插設於一電源分配板100上。現有的伺服器系統在兩個基板管理控制器11A、11B近乎同時對該等待監測裝置13A、13B進行讀取時,恐因資料重疊而導致讀取失敗。Referring to Figure 1, the existing server system includes a plurality of server nodes 1, a plurality of baseboard management controllers (BMCs) 11A and 11B respectively provided in each server node 1, and a plurality of baseboard management controllers (BMC) 11A and 11B respectively provided in each server. The programmable logic devices 12A and 12B in the node 1 are electrically connected to the baseboard management controllers 11A and 11B respectively, and a plurality of devices to be monitored 13A and 13B are electrically connected to all the programmable logic devices 12A and 12B. The programmable logic devices 12A and 12B are electrically connected to each other. The waiting monitoring devices 13A and 13B are, for example, power supplies, and are respectively plugged into a power distribution board 100 . In the existing server system, when the two baseboard management controllers 11A and 11B read the waiting monitoring devices 13A and 13B at almost the same time, the reading may fail due to data overlap.

詳言之,假設該基板管理控制器 11A下了一讀取指令去讀取該待監測裝置13A的資料回去,而此時該基板管理控制器 11B 也下了一讀取指令去讀取該待監測裝置13B的資料回去,由於該可程式邏輯裝置12A及該待監測裝置13A間的系統匯流排與該可程式邏輯裝置12B及該待監測裝置13B間的系統匯流排有相連在一起,而在傳送資料時恐有重疊干擾,故該基板管理控制器11A對應的可程式邏輯裝置12A與該基板管理控制器11B對應的可程式邏輯裝置12B有可能把該等待監測裝置13A、13B回應於讀取指令的回應資訊重疊後回傳給該基板管理控制器11A與該基板管理控制器11B,導致資料誤判,此外,也因為沒在一定的時間內回傳正確資料,恐導致該基板管理控制器11A與該基板管理控制器11B逾時(Timeout),而不再傳送讀取指令至該等待監測裝置13A、13B。In detail, assume that the baseboard management controller 11A issues a read command to read the data of the device to be monitored 13A, and at this time, the baseboard management controller 11B also issues a read command to read the data of the device to be monitored. The data of the monitoring device 13B is returned because the system bus between the programmable logic device 12A and the device to be monitored 13A is connected to the system bus between the programmable logic device 12B and the device to be monitored 13B. There may be overlapping interference when transmitting data, so the programmable logic device 12A corresponding to the baseboard management controller 11A and the programmable logic device 12B corresponding to the baseboard management controller 11B may respond to the waiting monitoring devices 13A and 13B for reading. The response information of the command is overlapped and then sent back to the baseboard management controller 11A and the baseboard management controller 11B, resulting in data misjudgment. In addition, because the correct data is not returned within a certain period of time, the baseboard management controller 11A may Timeout occurs with the baseboard management controller 11B and no longer sends read instructions to the waiting monitoring devices 13A and 13B.

因此,本發明的目的,即在提供一種避免因讀取重疊干擾導致基板管理控制器逾時及無法讀取到正確之資料的讀取受基板管理控制器監測之待監測裝置的方法。Therefore, an object of the present invention is to provide a method for reading a device to be monitored monitored by a baseboard management controller to prevent the baseboard management controller from timing out and failing to read correct data due to read overlap interference.

於是,本發明讀取受基板管理控制器監測之待監測裝置的方法,適用於讀取多個待監測裝置,藉由多個分別電連接多個基板管理控制器的可程式邏輯裝置來實施,該等可程式邏輯裝置彼此間互相電連接,且每一可程式邏輯裝置與該等待監測裝置電連接,並包含以下步驟:Therefore, the method of reading a device to be monitored monitored by a baseboard management controller of the present invention is suitable for reading multiple devices to be monitored, and is implemented by a plurality of programmable logic devices electrically connected to a plurality of baseboard management controllers respectively. The programmable logic devices are electrically connected to each other, and each programmable logic device is electrically connected to the waiting monitoring device, and includes the following steps:

(A)藉由該等可程式邏輯裝置中之一者,在收到來自該等待監測裝置中之一者回應於該等可程式邏輯裝置中之該者所對應的該基板管理控制器之一讀取指令且包含該等待監測裝置中之該者之一位址及一回應訊息的回應資訊後,認證該回應資訊;(A) By one of the programmable logic devices, upon receiving a response from one of the waiting monitoring devices to one of the baseboard management controllers corresponding to the one of the programmable logic devices After reading the command and including the address of the person in the waiting monitoring device and the response information of a response message, authenticate the response information;

(B)當該回應資訊認證失敗時,藉由該等可程式邏輯裝置中之該者,傳送一對應的控制指令至其它的該等可程式邏輯裝置中之每一者並傳送一通知訊息至所對應的該基板管理控制器,以使所對應的該基板管理控制器停止有關於回應讀取指令的計時,並重新傳送該讀取指令至該等待監測裝置中之該者;及(B) When the response information authentication fails, through the one of the programmable logic devices, send a corresponding control command to each of the other programmable logic devices and send a notification message to The corresponding baseboard management controller causes the corresponding baseboard management controller to stop the timing of responding to the read command and resend the read command to the one in the waiting monitoring device; and

(C)對於其它的該等可程式邏輯裝置中之每一者,藉由其它的該等可程式邏輯裝置中之該者,回應於該控制指令,將與所對應之該基板管理控制器的串列資料線和串列時鐘線在一對應之時間區間設為低準位,並傳送一對應的通知訊息至所對應的該基板管理控制器。(C) For each of the other programmable logic devices, in response to the control command, the other programmable logic device responds to the corresponding baseboard management controller. The serial data line and the serial clock line are set to a low level in a corresponding time interval, and a corresponding notification message is sent to the corresponding baseboard management controller.

本發明的功效在於:藉由該等可程式邏輯裝置中之該者在認證失敗時,即控制所對應的該基板管理控制器停止有關於回應讀取指令的計時,並重新傳送該讀取指令至該等待監測裝置中之該者,以避免所對應的該基板管理控制器逾時,且重新傳送該讀取指令以讀取正確之資料。此外,該等可程式邏輯裝置中之該者在認證失敗時,還控制其它的該等可程式邏輯裝置中之每一者將與所對應之該基板管理控制器的串列資料線和串列時鐘線設為低準位,並傳送對應的該通知訊息至所對應的該基板管理控制器,以錯開發出讀取指令的時間。The effect of the present invention is that when one of the programmable logic devices fails to authenticate, the corresponding baseboard management controller is controlled to stop the timing of responding to the read command and resend the read command. to the one in the waiting monitoring device to prevent the corresponding baseboard management controller from timing out, and resend the read command to read correct data. In addition, when authentication fails, one of the programmable logic devices also controls each of the other programmable logic devices to communicate with the corresponding serial data line and serial port of the baseboard management controller. The clock line is set to a low level, and the corresponding notification message is sent to the corresponding baseboard management controller to stagger the time when the read command is issued.

參閱圖2,本發明讀取受基板管理控制器監測之待監測裝置的方法的實施例,適用於讀取多個待監測裝置23A、23B、23C、23D,並藉由一系統來實施。該系統包含多台伺服器節點2、多個分別設在各該伺服器節點2中的基板管理控制器21A、21B、21C、21D、多個分別設在各該伺服器節點2中且分別電連接該等基板管理控制器21A、21B、21C、21D的可程式邏輯裝置22A、22B、22C、22D,以及與所有可程式邏輯裝置22A、22B、22C、22D電連接的該等待監測裝置23A、23B、23C、23D。該等可程式邏輯裝置22A、22B、22C、22D彼此間互相電連接(亦即,每一可程式邏輯裝置22A/22B/22C/22D與其他的可程式邏輯裝置互相電連接22B、22C、22D/22A、22C、22D/22A、22B、22D、22A、22B、22C),該等待監測裝置23A、23B、23C、23D例如為電源供應器,且分別插設於一電源分配板200上。Referring to FIG. 2 , an embodiment of the method of reading a device to be monitored monitored by a baseboard management controller according to the present invention is suitable for reading multiple devices to be monitored 23A, 23B, 23C, and 23D, and is implemented by a system. The system includes a plurality of server nodes 2, a plurality of baseboard management controllers 21A, 21B, 21C, and 21D respectively provided in each server node 2, and a plurality of baseboard management controllers 21A, 21B, 21C, and 21D respectively provided in each server node 2 and electrically connected to each other. The programmable logic devices 22A, 22B, 22C, 22D connected to the baseboard management controllers 21A, 21B, 21C, 21D, and the waiting monitoring devices 23A, 23A, 22D electrically connected to all the programmable logic devices 22A, 22B, 22C, 22D. 23B, 23C, 23D. The programmable logic devices 22A, 22B, 22C, and 22D are electrically connected to each other (that is, each programmable logic device 22A/22B/22C/22D is electrically connected to the other programmable logic devices 22B, 22C, and 22D). /22A, 22C, 22D/22A, 22B, 22D, 22A, 22B, 22C), the waiting monitoring devices 23A, 23B, 23C, 23D are, for example, power supplies, and are respectively plugged into a power distribution board 200.

每一可程式邏輯裝置22A/22B/22C/22D包含二個與該電源分配板200相關的通用型之輸入輸出GPIO2、GPIO3、一個與所對應的該基板管理控制器21A/21B/21C/21D相關的通用型之輸入輸出GPIO1,及一用於紀錄與該可程式邏輯裝置22A/22B/22C/22D相關之識別碼及指示出延遲讀取方式之指示符的暫存器(圖未示)。該電源分配板200可指派不同位址給該等伺服器節點2,以識別不同之伺服器節點2,該電源分配板200指派給每一伺服器節點2之位址可透過所對應的通用型之輸入輸出GPIO2、GPIO3來輸出給所對應的可程式邏輯裝置22A/22B/22C/22D,在本實施例中,每一可程式邏輯裝置22A/22B/22C/22D的識別碼係為該電源分配板200指派給所對應之伺服器節點2的位址。每一可程式邏輯裝置22A/22B/22C/22D還儲存有該等待監測裝置23A、23B、23C、23D之多筆位址資訊。Each programmable logic device 22A/22B/22C/22D includes two general-purpose input and output GPIO2 and GPIO3 related to the power distribution board 200, and a corresponding baseboard management controller 21A/21B/21C/21D. Relevant general-purpose input and output GPIO1, and a register for recording the identification code related to the programmable logic device 22A/22B/22C/22D and an indicator indicating the delayed reading mode (not shown) . The power distribution board 200 can assign different addresses to the server nodes 2 to identify different server nodes 2. The address assigned by the power distribution board 200 to each server node 2 can be determined by the corresponding universal type. The input and output GPIO2 and GPIO3 are output to the corresponding programmable logic device 22A/22B/22C/22D. In this embodiment, the identification code of each programmable logic device 22A/22B/22C/22D is the power supply. The distribution board 200 assigns the address to the corresponding server node 2 . Each programmable logic device 22A/22B/22C/22D also stores multiple address information of the waiting monitoring devices 23A, 23B, 23C, and 23D.

參閱圖2與圖3,以下將藉由本發明讀取受基板管理控制器監測之待監測裝置的方法之實施例來說明該系統中各元件之作動,本實施例包含下列步驟。Referring to FIG. 2 and FIG. 3 , the operation of each component in the system will be explained below through an embodiment of the method of reading a device to be monitored monitored by a baseboard management controller according to the present invention. This embodiment includes the following steps.

在步驟31中,該等可程式邏輯裝置中之一者22A,在收到來自該等待監測裝置中之一者23A回應於該等可程式邏輯裝置中之該者22A所對應的該基板管理控制器21A之一讀取指令且包含該等待監測裝置中之該者23A之一位址及一回應訊息的回應資訊後,認證該回應資訊。當該回應資訊認證失敗時,流程進行步驟32;當該回應資訊認證成功時,流程進行步驟36。在本實施方式中,該等可程式邏輯裝置中之該者22A係藉由比對該回應資訊中之位址是否相符於所儲存之該等位址資訊的其中一者,以認證該回應資訊。當該回應資訊中之位址相符於所儲存之該等位址資訊的其中一者時,該回應資訊認證成功;當該回應資訊中之位址不相符於所儲存之該等位址資訊的其中一者時,該回應資訊認證失敗。In step 31, one of the programmable logic devices 22A responds to the baseboard management control corresponding to the one 22A of the programmable logic devices from the one of the waiting monitoring devices 23A. After one of the devices 21A reads the command and includes the address of the person 23A in the waiting monitoring device and the response information of a response message, the response information is authenticated. When the response information authentication fails, the process proceeds to step 32; when the response information authentication succeeds, the process proceeds to step 36. In this embodiment, the one 22A of the programmable logic devices authenticates the response information by comparing whether the address in the response information matches one of the stored address information. When the address in the response information matches one of the stored address information, the response information is authenticated successfully; when the address in the response information does not match one of the stored address information, When one of them occurs, the response information authentication fails.

在步驟32中,該等可程式邏輯裝置中之該者22A傳送一對應的控制指令至其它的該等可程式邏輯裝置中之每一者22B、22C、22D並傳送一通知訊息至所對應的該基板管理控制器21A。在本實施方式中,該等可程式邏輯裝置中之該者22A係藉由將一與所對應的該基板管理控制器21A相關的通用型之輸入輸出GPIO1在一第一預設時段內設為低準位,以傳送該通知訊息至所對應的該基板管理控制器21A。此外,該等可程式邏輯裝置中之該者22A所傳送之該控制指令係用於修改其它的該等可程式邏輯裝置中之該者22B/22C/22D的暫存器中之指示符,其中該等可程式邏輯裝置中之該者22A係藉由i2c master經由與其它的該等可程式邏輯裝置中之該者22B/22C/22D連接之線路來傳送該控制指令,表1示例出四個可程式邏輯裝置22A、22B、22C、22D之暫存器所記錄的識別碼及指示符,該等識別碼分別為00、01、10及11,舉例來說,若該等可程式邏輯裝置中之該者為對應識別碼為00的可程式邏輯裝置22A,則該等可程式邏輯裝置中之該者22A會將自身的指示符維持為00,並將識別碼為01、10及11之其它的該等可程式邏輯裝置22B、22C、22D所對應的指示符分別修改為01、10及11以延遲其它的該等可程式邏輯裝置22B、22C、22D傳送讀取指令的時間;若該等可程式邏輯裝置中之該者為對應識別碼為01的可程式邏輯裝置22B,則該等可程式邏輯裝置中之該者22B會將自身的指示符維持為00,並將識別碼為00、10及11之其它的該等可程式邏輯裝置22A、22C、22D所對應的指示符分別修改為01、10及11以延遲其它的該等可程式邏輯裝置22A、22C、22D傳送讀取指令的時間;若該等可程式邏輯裝置中之該者為對應識別碼為10的可程式邏輯裝置22C,則該等可程式邏輯裝置中之該者22C會將自身的指示符維持為00,並將識別碼為00、01及11之其它的該等可程式邏輯裝置22A、22B、22D所對應的指示符分別修改為01、10及11以延遲其它的該等可程式邏輯裝置22A、22B、22D傳送讀取指令的時間;若該等可程式邏輯裝置中之該者為對應識別碼為11的可程式邏輯裝置22D,則該等可程式邏輯裝置中之該者22D會將自身的指示符維持為00,並將識別碼為00、01及10之其它的該等可程式邏輯裝置22A、22B、22C所對應的指示符分別修改為01、10及11以延遲其它的該等可程式邏輯裝置22A、22B、22C傳送讀取指令的時間,然不以此為限。 識別碼 指示符 延遲讀取方式 Bit0 Bit1 Bit2 Bit3   0 0 0 0 SDL/SDA正常,GPIO1拉low  pulse10微秒 0 0 0 1 SDL/SDA拉low pulse500微秒,GPIO拉low  pulse400微秒 0 0 1 0 SDL/SDA拉low pulse1毫秒,GPIO1拉low  pulse500微秒 0 0 1 1 SDL/SDA拉low pulse2毫秒,GPIO1拉low  pulse600微秒 0 1 0 0 SDL/SDA正常,GPIO1拉low  pulse10微秒 0 1 0 1 SDL/SDA拉low pulse1毫秒,GPIO1拉low  pulse500微秒 0 1 1 0 SDL/SDA拉low pulse1.5毫秒,GPIO1拉low  pulse600微秒 0 1 1 1 SDL/SDA拉low pulse2.5毫秒,GPIO1拉low  pulse700微秒 1 0 0 0 SDL/SDA正常,GPIO拉low  pulse10微秒 1 0 0 1 SDL/SDA拉low pulse1.5毫秒,GPIO1拉low  pulse600微秒 1 0 1 0 SDL/SDA拉low pulse2毫秒,GPIO1拉low  pulse700微秒 1 0 1 1 SDL/SDA拉low pulse3毫秒,GPIO1拉low  pulse800微秒 1 1 0 0 SDL/SDA正常,GPIO1拉low  pulse10微秒 1 1 0 1 SDL/SDA拉low pulse2毫秒,GPIO1拉low  pulse700微秒 1 1 1 0 SDL/SDA拉low pulse2.5毫秒,GPIO1拉low  pulse800微秒 1 1 1 1 SDL/SDA拉low pulse3.5毫秒,GPIO1拉low  pulse900微秒 表1 In step 32, the one 22A of the programmable logic devices sends a corresponding control command to each of the other programmable logic devices 22B, 22C, 22D and sends a notification message to the corresponding This baseboard management controller 21A. In this embodiment, the one 22A of the programmable logic devices is configured by setting a general-purpose input and output GPIO1 associated with the corresponding baseboard management controller 21A within a first preset period. Low level to send the notification message to the corresponding baseboard management controller 21A. In addition, the control command sent by the programmable logic device 22A is used to modify the indicators in the registers of the other programmable logic devices 22B/22C/22D, wherein The one 22A of the programmable logic devices transmits the control command through the i2c master through the lines connected to the other ones 22B/22C/22D of the programmable logic devices. Table 1 illustrates four The identification codes and indicators recorded in the registers of the programmable logic devices 22A, 22B, 22C, and 22D are 00, 01, 10, and 11 respectively. For example, if the programmable logic devices If the one is the programmable logic device 22A whose corresponding identification code is 00, then the one 22A among the programmable logic devices will maintain its own indicator as 00 and set the other identification codes as 01, 10 and 11. The indicators corresponding to the programmable logic devices 22B, 22C, and 22D are modified to 01, 10, and 11 respectively to delay the time when the other programmable logic devices 22B, 22C, and 22D send read instructions; if the If the programmable logic device is the programmable logic device 22B with the corresponding identification code 01, then the programmable logic device 22B will maintain its own indicator as 00 and set the identification code to 00, The indicators corresponding to the other programmable logic devices 22A, 22C, and 22D of 10 and 11 are modified to 01, 10, and 11 respectively to delay the transmission of read instructions by the other programmable logic devices 22A, 22C, and 22D. time; if the programmable logic device is the programmable logic device 22C with the corresponding identification code 10, then the programmable logic device 22C will maintain its own indicator as 00 and will The indicators corresponding to the other programmable logic devices 22A, 22B, and 22D with identification codes of 00, 01, and 11 are modified to 01, 10, and 11 respectively to delay the other programmable logic devices 22A, 22B, and 22D. The time when the read command is sent; if the programmable logic device is the programmable logic device 22D with the corresponding identification code 11, the programmable logic device 22D will maintain its own indicator is 00, and the indicators corresponding to the other programmable logic devices 22A, 22B, and 22C with identification codes of 00, 01, and 10 are modified to 01, 10, and 11 respectively to delay the other programmable logic devices. 22A, 22B, and 22C transmit the read command time, but are not limited to this. Identification code indicator Delayed read mode Bit0 Bit1 Bit2 Bit3 0 0 0 0 SDL/SDA is normal, GPIO1 pulls low pulse for 10 microseconds 0 0 0 1 SDL/SDA pulls low pulse for 500 microseconds, and GPIO pulls low pulse for 400 microseconds. 0 0 1 0 SDL/SDA pulls low pulse for 1 millisecond, and GPIO1 pulls low pulse for 500 microseconds. 0 0 1 1 SDL/SDA pulls low pulse for 2 milliseconds, and GPIO1 pulls low pulse for 600 microseconds. 0 1 0 0 SDL/SDA is normal, GPIO1 pulls low pulse for 10 microseconds 0 1 0 1 SDL/SDA pulls low pulse for 1 millisecond, and GPIO1 pulls low pulse for 500 microseconds. 0 1 1 0 SDL/SDA pulls low pulse for 1.5 milliseconds, GPIO1 pulls low pulse for 600 microseconds 0 1 1 1 SDL/SDA pulls low pulse for 2.5 milliseconds, GPIO1 pulls low pulse for 700 microseconds 1 0 0 0 SDL/SDA is normal, GPIO pulls low pulse for 10 microseconds 1 0 0 1 SDL/SDA pulls low pulse for 1.5 milliseconds, GPIO1 pulls low pulse for 600 microseconds 1 0 1 0 SDL/SDA pulls low pulse for 2 milliseconds, and GPIO1 pulls low pulse for 700 microseconds. 1 0 1 1 SDL/SDA pulls low pulse for 3 milliseconds, and GPIO1 pulls low pulse for 800 microseconds. 1 1 0 0 SDL/SDA is normal, GPIO1 pulls low pulse for 10 microseconds 1 1 0 1 SDL/SDA pulls low pulse for 2 milliseconds, and GPIO1 pulls low pulse for 700 microseconds. 1 1 1 0 SDL/SDA pulls low pulse for 2.5 milliseconds, and GPIO1 pulls low pulse for 800 microseconds. 1 1 1 1 SDL/SDA pulls low pulse for 3.5 milliseconds, and GPIO1 pulls low pulse for 900 microseconds. Table 1

在步驟33中,對應該等可程式邏輯裝置中之該者22A的該基板管理控制器21A回應於該通知訊息停止有關於回應讀取指令的計時,並重新透過所對應之可程式邏輯裝置22A傳送該讀取指令至該等待監測裝置中之該者23A。在本實施方式中,所對應的該基板管理控制器21A因應於在該第一預設時段內被設為低準位的通用型之輸入輸出GPIO1,停止有關於回應該讀取指令的計時,並經過該第一預設時段後才重新透過所對應之可程式邏輯裝置22A傳送該讀取指令至該等待監測裝置中之該者23A,以表1的例子而言,所對應的該基板管理控制器21A會因應於通用型之輸入輸出GPIO1被拉低準位10微秒,而經過10微秒(即,該第一預設時段)後才重新透過所對應之可程式邏輯裝置22A傳送該讀取指令至該等待監測裝置中之該者23A。In step 33 , the baseboard management controller 21A corresponding to the programmable logic device 22A responds to the notification message by stopping the timing of responding to the read command, and re-opens the corresponding programmable logic device 22A through the corresponding programmable logic device 22A. Send the read command to the one 23A in the waiting monitoring device. In this embodiment, the corresponding baseboard management controller 21A stops the timing of responding to the read command in response to the general-purpose input and output GPIO1 that is set to a low level during the first preset period. And only after the first preset period of time has elapsed, the read command is again sent to the waiting monitoring device 23A through the corresponding programmable logic device 22A. Taking the example of Table 1 as an example, the corresponding substrate management The controller 21A will pull down the level of the general-purpose input and output GPIO1 for 10 microseconds, and only after 10 microseconds (i.e., the first preset period) has passed, the controller will re-send the signal through the corresponding programmable logic device 22A. Read instructions to the one 23A in the waiting monitoring device.

在步驟34中,對於其它的該等可程式邏輯裝置中之每一者22B/22C/22D,其它的該等可程式邏輯裝置中之該者22B/22C/22D回應於該控制指令(亦即,因應於所對應之暫存器中的指示符被修改,以表1所示的例子,該等可程式邏輯裝置中之該者22B/22C/22D的指示符被改為01/10/11),將與所對應之該基板管理控制器21B/21C/21D的串列資料線和串列時鐘線在一對應之時間區間(以表1所示的例子,該等可程式邏輯裝置中之該者22B/22C/22D的的串列資料線和串列時鐘線在1毫秒/2毫秒/3.5毫秒)設為低準位,並傳送一對應的通知訊息至所對應的該基板管理控制器21B/21C/21D。在本實施方式中,其它的該等可程式邏輯裝置中之該者22B/22C/22D係藉由將一與所對應的該基板管理控制器21B/21C/21D相關的通用型之輸入輸出GPIO1在一對應的第二預設時段(以表1所示的例子,所對應的該基板管理控制器21B/21C/21D相關的通用型之輸入輸出GPIO1在500微秒/700微秒/900微秒)內設為低準位,以傳送對應的該通知訊息至所對應的該基板管理控制器21B/21C/21D。其中,其它的該等可程式邏輯裝置中之每一者22B/22C/22D所對應的時間區間及第二預設時段不同,以錯開傳送讀取指令的時間。In step 34, for each of the other programmable logic devices 22B/22C/22D, the other one of the programmable logic devices 22B/22C/22D responds to the control command (i.e. , in response to the indicator in the corresponding register being modified, taking the example shown in Table 1, the indicator of the 22B/22C/22D in the programmable logic devices is changed to 01/10/11 ), and the corresponding serial data lines and serial clock lines of the baseboard management controller 21B/21C/21D in a corresponding time interval (for example, as shown in Table 1, one of the programmable logic devices The serial data line and serial clock line of the 22B/22C/22D are set to low level at 1 millisecond/2 millisecond/3.5 millisecond), and a corresponding notification message is sent to the corresponding baseboard management controller 21B/21C/21D. In this embodiment, the other programmable logic devices 22B/22C/22D use a general-purpose input and output GPIO1 associated with the corresponding baseboard management controller 21B/21C/21D. In a corresponding second preset time period (taking the example shown in Table 1, the corresponding general-purpose input and output GPIO1 related to the baseboard management controller 21B/21C/21D is at 500 microseconds/700 microseconds/900 microseconds. set to a low level within seconds) to send the corresponding notification message to the corresponding baseboard management controller 21B/21C/21D. Among them, the time interval corresponding to each of the other programmable logic devices 22B/22C/22D is different from the second preset time period, so as to stagger the time of sending the read command.

在步驟35中,對於對應其他的該等可程式邏輯裝置22B、22C、22D中之基板管理控制器的每一者21B/21C/21D,回應於所對應之通知訊息停止有關於回應讀取指令的計時,並重新透過所對應之可程式邏輯裝置22B/22C/22D傳送該讀取指令至該等待監測裝置中之一對應者23B/23C/23D。在本實施方式中,所對應的該基板管理控制器21B/21C/21D因應於在該第二預設時段內被設為低準位的通用型之輸入輸出,停止有關於回應該讀取指令的計時,並經過該第二預設時段後才重新透過所對應之可程式邏輯裝置22B/22C/22D傳送該讀取指令至該等待監測裝置中之該對應者23B/23C/23D,以表1的例子而言,所對應的該基板管理控制器21B/21C/21D會因應於通用型之輸入輸出GPIO1被拉低準位500微秒/700微秒/900微秒,而經過500微秒/700微秒/900微秒(即,該第二預設時段)後才重新透過所對應之可程式邏輯裝置22B/22C/22D傳送該讀取指令至該等待監測裝置中之該者23B/23C/23D。In step 35, for each of the baseboard management controllers 21B/21C/21D corresponding to the other programmable logic devices 22B, 22C, 22D, stop responding to the read command in response to the corresponding notification message. timing, and re-sends the read command to one of the corresponding 23B/23C/23D in the waiting monitoring device through the corresponding programmable logic device 22B/22C/22D. In this embodiment, the corresponding baseboard management controller 21B/21C/21D stops responding to the read command in response to the general-purpose input and output that is set to a low level during the second preset period. time, and only after the second preset period of time has elapsed, the read command is re-sent to the corresponding one 23B/23C/23D in the waiting monitoring device through the corresponding programmable logic device 22B/22C/22D to indicate that For the example of 1, the corresponding baseboard management controller 21B/21C/21D will be pulled down in response to the general input and output GPIO1 for 500 microseconds/700 microseconds/900 microseconds, and after 500 microseconds /700 microseconds/900 microseconds (ie, the second preset period) before re-transmitting the read command to the waiting monitoring device 23B/ through the corresponding programmable logic device 22B/22C/22D 23C/23D.

在步驟36中,該等可程式邏輯裝置中之該者22A,將該回應資訊傳送至所對應的該基板管理控制器21A。In step 36, the one 22A of the programmable logic devices sends the response information to the corresponding baseboard management controller 21A.

綜上所述,本發明讀取受基板管理控制器監測之待監測裝置的方法,藉由該等可程式邏輯裝置中之該者22A在認證失敗時,即控制所對應的該基板管理控制器21A停止有關於回應讀取指令的計時,並重新傳送該讀取指令至該等待監測裝置中之該者23A,以避免所對應的該基板管理控制器21A逾時,且重新傳送該讀取指令以讀取正確之資料。此外,該等可程式邏輯裝置中之該者22A在認證失敗時,還控制其它的該等可程式邏輯裝置中之每一者22B/22C/22D將與所對應之該基板管理控制器21B/21C/21D的串列資料線和串列時鐘線設為低準位,並傳送對應的該通知訊息至所對應的該基板管理控制器21B/21C/21D,以錯開發出讀取指令的時間,故確實能達成本發明的目的。To sum up, the method of the present invention for reading the device to be monitored by the baseboard management controller is such that when the authentication fails, the one 22A of the programmable logic devices controls the corresponding baseboard management controller. 21A stops the timing of responding to the read command and resends the read command to the one 23A in the waiting monitoring device to prevent the corresponding baseboard management controller 21A from timing out and resends the read command. to read the correct data. In addition, when the authentication fails, the programmable logic device 22A also controls each of the other programmable logic devices 22B/22C/22D to communicate with the corresponding baseboard management controller 21B/ The serial data line and serial clock line of 21C/21D are set to a low level, and the corresponding notification message is sent to the corresponding baseboard management controller 21B/21C/21D to stagger the time of issuing the read command. , so the purpose of the present invention can indeed be achieved.

惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。However, the above are only examples of the present invention and should not be used to limit the scope of the present invention. All simple equivalent changes and modifications made based on the patent scope of the present invention and the content of the patent specification are still within the scope of the present invention. within the scope covered by the patent of this invention.

2:伺服器節點 21A、21B、21C、21D:基板管理控制器 22A、22B 、22C、22D:可程式邏輯裝置 23A、23B 、23C、23D:待監測裝置 200:電源分配板 GPIO1~GPIO3:通用型之輸入輸出 31~36:步驟 2:Server node 21A, 21B, 21C, 21D: Baseboard management controller 22A, 22B, 22C, 22D: Programmable logic device 23A, 23B, 23C, 23D: Device to be monitored 200:Power distribution board GPIO1~GPIO3: general-purpose input and output 31~36: Steps

本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是現有伺服器系統的一方塊圖; 圖2是一方塊圖,說明實施本發明讀取受基板管理控制器監測之待監測裝置的方法的實施例的一系統;及 圖3是一流程圖,說明本發明讀取受基板管理控制器監測之待監測裝置的方法的實施例。 Other features and effects of the present invention will be clearly presented in the embodiments with reference to the drawings, in which: Figure 1 is a block diagram of an existing server system; FIG. 2 is a block diagram illustrating a system for implementing an embodiment of the method of reading a device to be monitored monitored by a baseboard management controller according to the present invention; and FIG. 3 is a flow chart illustrating an embodiment of a method for reading a device to be monitored monitored by a baseboard management controller according to the present invention.

31~36:步驟 31~36: Steps

Claims (9)

一種讀取受基板管理控制器監測之待監測裝置的方法,適用於讀取多個待監測裝置,並藉由多個分別電連接多個基板管理控制器的可程式邏輯裝置來實施,該等可程式邏輯裝置彼此間互相電連接,且該等可程式邏輯裝置之每一者與該等待監測裝置電連接,並包含以下步驟:(A)藉由該等可程式邏輯裝置中之一者,在收到來自該等待監測裝置中之一者回應於該等可程式邏輯裝置中之該者所對應的該基板管理控制器之一讀取指令且包含該等待監測裝置中之該者之一位址及一回應訊息的回應資訊後,認證該回應資訊;(B)當該回應資訊認證失敗時,藉由該等可程式邏輯裝置中之該者,傳送一對應的控制指令至其它的該等可程式邏輯裝置中之每一者並傳送一通知訊息至所對應的該基板管理控制器,以使所對應的該基板管理控制器停止有關於回應該讀取指令的計時,並重新傳送該讀取指令至該等待監測裝置中之該者;及(C)對於其它的該等可程式邏輯裝置中之每一者,藉由其它的該等可程式邏輯裝置中之該者,回應於該控制指令,將與所對應之該基板管理控制器的串列資料線和串列時鐘線在一對應之時間區間設為一低準位,並傳送一對應的通知訊息至所對應的該基板管理控制器。 A method of reading a device to be monitored monitored by a baseboard management controller is suitable for reading multiple devices to be monitored and is implemented by a plurality of programmable logic devices electrically connected to a plurality of baseboard management controllers respectively. The programmable logic devices are electrically connected to each other, and each of the programmable logic devices is electrically connected to the waiting monitoring device, and includes the following steps: (A) by one of the programmable logic devices, Upon receipt of a read command from one of the waiting monitoring devices in response to a read command of the baseboard management controller corresponding to the one of the programmable logic devices and containing a bit of the one of the waiting monitoring devices After receiving the address and the response information of a response message, authenticate the response information; (B) When the authentication of the response information fails, send a corresponding control command to the other ones through one of the programmable logic devices. Each of the programmable logic devices sends a notification message to the corresponding baseboard management controller, so that the corresponding baseboard management controller stops the timing of responding to the read command and resends the read command. fetch instructions to the one in the waiting monitoring device; and (C) for each of the other programmable logic devices, respond to the control by the other of the programmable logic devices Command to set the serial data line and the serial clock line of the corresponding baseboard management controller to a low level in a corresponding time interval, and send a corresponding notification message to the corresponding baseboard management controller device. 如請求項1所述的讀取受基板管理控制器監測之待監測裝置的方法,該等可程式邏輯裝置之每一者儲存有該等待 監測裝置之多筆位址資訊,其中,在步驟(A)中,該等可程式邏輯裝置中之該者係藉由比對該回應資訊中之位址是否相符於該等位址資訊之其中一者,以認證該回應資訊。 According to the method of reading the device to be monitored monitored by the baseboard management controller as described in claim 1, each of the programmable logic devices stores the wait Monitor multiple pieces of address information of the device, wherein, in step (A), the one of the programmable logic devices compares whether the address in the response information matches one of the address information. to authenticate the response information. 如請求項1所述的讀取受基板管理控制器監測之待監測裝置的方法,在步驟(A)之後,還包含一步驟(D),當該回應資訊認證成功時,藉由該等可程式邏輯裝置中之該者,將該回應資訊傳送至所對應的該基板管理控制器。 The method of reading the device to be monitored monitored by the baseboard management controller as described in claim 1 further includes a step (D) after step (A). When the response information is authenticated successfully, the available The one in the program logic device sends the response information to the corresponding baseboard management controller. 如請求項1所述的讀取受基板管理控制器監測之待監測裝置的方法,其中,在步驟(B)中,該等可程式邏輯裝置中之該者係藉由將一與所對應的該基板管理控制器相關的通用型之輸入輸出在一第一預設時段內設為該低準位,以傳送該通知訊息至所對應的該基板管理控制器,進而使所對應的該基板管理控制器停止有關於回應該讀取指令的計時,並經過該第一預設時段後才重新透過所對應之可程式邏輯裝置傳送該讀取指令至該等待監測裝置中之該者。 The method of reading a device to be monitored monitored by a baseboard management controller as described in claim 1, wherein in step (B), the one of the programmable logic devices is configured by converting one to the corresponding The general-purpose input and output related to the baseboard management controller is set to the low level within a first preset period to send the notification message to the corresponding baseboard management controller, thereby causing the corresponding baseboard management controller to The controller stops the timing of responding to the read command, and only sends the read command again to the one in the waiting monitoring device through the corresponding programmable logic device after the first preset period. 如請求項1所述的讀取受基板管理控制器監測之待監測裝置的方法,該等可程式邏輯裝置之每一者包含一用於紀錄與所對應之可程式邏輯裝置相關之識別碼及指示出延遲讀取方式之指示符的暫存器,其中:在步驟(B)中,對於其它的該等可程式邏輯裝置中之每一者,該等可程式邏輯裝置中之該者所傳送之該控制指令係用於修改其它的該等可程式邏輯裝置中之該者的暫 存器中之指示符,以延遲並錯開其它的該等可程式邏輯裝置傳送其讀取指令的時間。 According to the method of reading the device to be monitored monitored by the baseboard management controller as described in claim 1, each of the programmable logic devices includes an identification code used to record the corresponding programmable logic device and A register indicating an indicator of a deferred read mode, wherein: in step (B), for each of the other programmable logic devices, the one of the programmable logic devices transmits The control instructions are used to modify the temporary buffers in other programmable logic devices. The indicator in the register is used to delay and stagger the time when other programmable logic devices transmit their read instructions. 如請求項5所述的讀取受基板管理控制器監測之待監測裝置的方法,其中,在步驟(C)中,其它的該等可程式邏輯裝置中之該者係藉由將一與所對應的該基板管理控制器相關的通用型之輸入輸出在一對應的第二預設時段內設為該低準位,以傳送對應的該通知訊息至所對應的該基板管理控制器,進而使所對應的該基板管理控制器停止有關於回應所對應之讀取指令的計時,並經過對應的該第二預設時段後才重新透過所對應之可程式邏輯裝置傳送所對應之讀取指令至該等待監測裝置中之一對應者。 The method of reading a device to be monitored monitored by a baseboard management controller as described in claim 5, wherein in step (C), the other of the programmable logic devices is configured by combining one with the The corresponding general-purpose input and output related to the baseboard management controller is set to the low level within a corresponding second preset period, so as to send the corresponding notification message to the corresponding baseboard management controller, thereby enabling The corresponding baseboard management controller stops the timing of responding to the corresponding read command, and only sends the corresponding read command again through the corresponding programmable logic device after the corresponding second preset period of time. The waiting one corresponds to the monitoring device. 如請求項6所述的讀取受基板管理控制器監測之待監測裝置的方法,其中,在步驟(C)中,其它的該等可程式邏輯裝置中之每一者所對應的第二預設時段不同。 A method for reading a device to be monitored by a baseboard management controller as described in claim 6, wherein in step (C), the second preset time period corresponding to each of the other programmable logic devices is different. 如請求項1所述的讀取受基板管理控制器監測之待監測裝置的方法,其中,在步驟(C)中,其它的該等可程式邏輯裝置中之每一者所對應的時間區間不同。 The method of reading a device to be monitored monitored by a baseboard management controller as described in claim 1, wherein in step (C), the time intervals corresponding to each of the other programmable logic devices are different . 如請求項1所述的讀取受基板管理控制器監測之待監測裝置的方法,其中,該等可程式邏輯裝置與其對應的基板管理控制器分別裝設於多台伺服器節點。 The method of reading a device to be monitored monitored by a baseboard management controller as described in claim 1, wherein the programmable logic devices and their corresponding baseboard management controllers are respectively installed on multiple server nodes.
TW111109484A 2022-03-15 2022-03-15 Method of reading device to be monitored by baseboard management controller TWI835090B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111109484A TWI835090B (en) 2022-03-15 2022-03-15 Method of reading device to be monitored by baseboard management controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111109484A TWI835090B (en) 2022-03-15 2022-03-15 Method of reading device to be monitored by baseboard management controller

Publications (2)

Publication Number Publication Date
TW202338626A TW202338626A (en) 2023-10-01
TWI835090B true TWI835090B (en) 2024-03-11

Family

ID=89856254

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111109484A TWI835090B (en) 2022-03-15 2022-03-15 Method of reading device to be monitored by baseboard management controller

Country Status (1)

Country Link
TW (1) TWI835090B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8667575B2 (en) * 2009-12-23 2014-03-04 Citrix Systems, Inc. Systems and methods for AAA-traffic management information sharing across cores in a multi-core system
US20140359728A1 (en) * 2009-03-20 2014-12-04 Citrix Systems, Inc. Systems and methods for using end point auditing in connection with traffic management
TW201717050A (en) * 2015-11-04 2017-05-16 廣達電腦股份有限公司 Seamless automatic recovery of switch device
US20190188403A1 (en) * 2017-12-20 2019-06-20 Western Digital Technologies, Inc. Location-based authentication and monitoring for data storage devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140359728A1 (en) * 2009-03-20 2014-12-04 Citrix Systems, Inc. Systems and methods for using end point auditing in connection with traffic management
US8667575B2 (en) * 2009-12-23 2014-03-04 Citrix Systems, Inc. Systems and methods for AAA-traffic management information sharing across cores in a multi-core system
TW201717050A (en) * 2015-11-04 2017-05-16 廣達電腦股份有限公司 Seamless automatic recovery of switch device
US20190188403A1 (en) * 2017-12-20 2019-06-20 Western Digital Technologies, Inc. Location-based authentication and monitoring for data storage devices

Also Published As

Publication number Publication date
TW202338626A (en) 2023-10-01

Similar Documents

Publication Publication Date Title
CN110377469B (en) Detection system and method for PCIE (peripheral component interface express) equipment
CN111385300A (en) Method and system for self-adapting of multiple communication protocols of energy storage system
US4937816A (en) Single-channel communication bus system and station for use in such a communication bus system
US20070112984A1 (en) Sideband bus setting system and method thereof
US5847659A (en) Electronic wiring system using automatic cyclic, communication means
TWI835090B (en) Method of reading device to be monitored by baseboard management controller
US10791032B2 (en) Method and apparatus for determining a physical position of a device
CN118713994A (en) Fully automatic configuration method, host, computer readable storage medium and computer program product for EPA system
JP3217519B2 (en) Two-way remote control system
CN112445744B (en) I2C communication
JP2017194934A (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, PROGRAM, AND COMMUNICATION SYSTEM
CN116974959A (en) Method for reading device to be monitored by baseboard management controller
CN112416678B (en) Fan in-place detection device and method
US5249182A (en) Communication bus system with lock/unlock capability
CN116302687A (en) Communication recovery method, device, system and readable storage medium
JPH1165966A (en) Data download system
CN104579593B (en) Data monitoring system and method
CN102377593A (en) Network management card test device and method
JP2752760B2 (en) Power control method
JP2666993B2 (en) Inspection method for serial line of air conditioner
CN1319339C (en) Method and device for configuring one-board information
JPH02311099A (en) Malfunction prevention control system
CN109634906B (en) An IC communication system and method
JP3109110B2 (en) Communication device and communication method
US4327409A (en) Control system for input/output apparatus