TW201527958A - Baseboard management controller capable selecting master-slave mode, electronic device and method thereof - Google Patents

Baseboard management controller capable selecting master-slave mode, electronic device and method thereof Download PDF

Info

Publication number
TW201527958A
TW201527958A TW102144390A TW102144390A TW201527958A TW 201527958 A TW201527958 A TW 201527958A TW 102144390 A TW102144390 A TW 102144390A TW 102144390 A TW102144390 A TW 102144390A TW 201527958 A TW201527958 A TW 201527958A
Authority
TW
Taiwan
Prior art keywords
mode
management controller
substrate management
motherboard
connection interface
Prior art date
Application number
TW102144390A
Other languages
Chinese (zh)
Inventor
xiao-hu Yang
Ji-Bao Chen
Shuang Peng
Dan-Li Hu
Shou-Heng Ma
hai-yang Li
Rui-Ping Ma
Original Assignee
Hon Hai Prec Ind Co Ltd
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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW102144390A priority Critical patent/TW201527958A/en
Publication of TW201527958A publication Critical patent/TW201527958A/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

A method for selecting a master mode or a slave mode for a baseboard management controller (BMC), applied in a BMC including a processor port and a motherboard port, the method includes: detecting a voltage of the processor port; determining the mode of the BMC is the master mode if the processor port is at a high voltage; detecting the voltage of the motherboard port if the processor port is at a low voltage; searching a mode of another BMC located on another motherboard of the same electronic device if the motherboard port is at the high voltage; and determining the mode of the current BMC according to the searched mode of the another BMC.

Description

可自動選擇主從模式的基板管理控制器、電子裝置及方法Substrate management controller, electronic device and method capable of automatically selecting master-slave mode

本發明涉及一種基板管理控制器,特別涉及一種可自動選擇主從模式的基板管理控制器、具有基板管理控制器的電子裝置及方法。The present invention relates to a substrate management controller, and more particularly to a substrate management controller capable of automatically selecting a master-slave mode, and an electronic device and method having a substrate management controller.

一般,在伺服器等計算和處理量較大的電腦裝置中,通常會包括兩塊或以上的主板,從而增大伺服器的處理和計算能力。相應的,每一塊主板上均會安裝有一基板管理控制器(baseboard management controller,BMC)去管理。為了基板管理控制器管理的快捷,一般會將一個基板管理控制器設置為主基板管理控制器,而將另一個基板管理控制器設置為從基板管理控制器。主基板管理控制器用於管理和監控所在的主板以及伺服器的其他元件,例如前端面板、電源、風扇等,從基板管理控制器則僅用於管理和監控所在的主板。然而,目前的伺服器,在具有多個基板管理控制器時,在伺服器啟動後,對基板管理控制器主從的選擇往往比較複雜或需要人手動進行選擇。Generally, in a computer device with a large calculation and processing amount such as a server, two or more main boards are usually included, thereby increasing the processing and computing power of the server. Correspondingly, a baseboard management controller (BMC) is installed on each motherboard for management. For the quick management of the substrate management controller, one substrate management controller is generally set as the main substrate management controller, and the other substrate management controller is set as the slave substrate management controller. The main baseboard management controller is used to manage and monitor the main board and other components of the server, such as front panel, power supply, fan, etc. The base management controller is only used to manage and monitor the main board. However, in the current server, when there are multiple substrate management controllers, after the server is started, the selection of the master management of the substrate management controller is often complicated or requires manual selection.

有鑒於此,提供一種可自動選擇主從模式的基板管理控制器、電子裝置及方法,能夠在電子裝置啟動後,自動確定基板管理控制器的主從關係。In view of the above, a substrate management controller, an electronic device, and a method for automatically selecting a master-slave mode are provided, and the master-slave relationship of the substrate management controller can be automatically determined after the electronic device is activated.

一種可自動選擇主從模式的基板管理控制器,用於在啟動後自動確認所處的主從模式,該基板管理控制器位於一電子裝置的第一主板上,該基板管理控制器包括一處理器連接介面以及一主板連接介面,該處理器連接介面與位於該第一主板上的處理器連接,該主板連接介面與一中間連接板連接,其中,該基板管理控制器包括一介面偵測模組、一模式確定模組以及一模式查詢模組。該介面偵測模組用於偵測處理器連接介面以及主板連接介面的電壓。該模式確定模組用於在該介面偵測模組偵測該處理器連接介面的電壓為高電壓時,確定該基板管理控制器的模式為主模式,並在介面偵測模組偵測該處理器連接介面的電壓以及該主板連接介面的電壓均為低電壓時,確定該基板管理控制器的模式為從模式。該模式查詢模組用於在該介面偵測模組偵測該處理器連接介面的電壓為低電壓且該主板連接介面的電壓為高電壓時,查詢該電子裝置的第二主板上的另一基板管理控制器的模式。其中,該模式確定模組並根據該模式查詢模組查詢的該電子裝置的第二主板上的另一基板管理控制器的模式而確定所在的基板管理控制器的模式。A substrate management controller capable of automatically selecting a master-slave mode for automatically confirming a master-slave mode after startup, the substrate management controller being located on a first motherboard of an electronic device, the substrate management controller including a process And a motherboard connection interface, the processor connection interface is connected to a processor located on the first motherboard, the motherboard connection interface is connected to an intermediate connection board, wherein the substrate management controller comprises an interface detection module A group, a mode determination module, and a mode query module. The interface detection module is configured to detect the voltage of the processor connection interface and the motherboard connection interface. The mode determining module is configured to determine a mode of the baseboard management controller as a main mode when the interface detecting module detects that the voltage of the processor connection interface is a high voltage, and detect the mode in the interface detecting module. When the voltage of the processor connection interface and the voltage of the motherboard connection interface are both low voltages, it is determined that the mode of the baseboard management controller is the slave mode. The mode query module is configured to query another electronic device on the second motherboard when the interface detecting module detects that the voltage of the processor connection interface is low voltage and the voltage of the motherboard connection interface is high voltage The mode of the baseboard management controller. The mode determining module determines the mode of the substrate management controller in which the module is located according to the mode of another substrate management controller on the second motherboard of the electronic device that is queried by the mode query module.

一種電子裝置,包括至少兩個主板以及一中間連接板,該中間連接板用於連接該兩個主板;該兩個主板均包括一基板管理控制器以及一處理器,其中,每一基板管理控制器包括一處理器連接介面以及一主板連接介面,該處理器連接介面與位於同一主板上的處理器連接,該主板連接介面與該中間連接板連接,其中,每一基板管理控制器還包括一介面偵測模組、一模式確定模組以及一模式查詢模組。該介面偵測模組用於偵測處理器連接介面以及主板連接介面的電壓。該模式確定模組用於在該介面偵測模組偵測該處理器連接介面的電壓為高電壓時,確定該基板管理控制器的模式為主模式,並在介面偵測模組偵測該處理器連接介面的電壓以及該主板連接介面的電壓均為低電壓時,確定該基板管理控制器的模式為從模式。該模式查詢模組用於在該介面偵測模組偵測該處理器連接介面的電壓為低電壓且該主板連接介面的電壓為高電壓時,查詢該電子裝置的第二主板上的另一基板管理控制器的模式。其中,該模式確定模組並根據該模式查詢模組查詢的該電子裝置的第二主板上的另一基板管理控制器的模式而確定所在的基板管理控制器的模式。An electronic device includes at least two main boards and an intermediate connection board for connecting the two main boards; the two main boards each include a substrate management controller and a processor, wherein each substrate management control The device includes a processor connection interface and a motherboard connection interface, the processor connection interface is connected to a processor on the same motherboard, the motherboard connection interface is connected to the intermediate connection board, wherein each substrate management controller further comprises a An interface detection module, a mode determination module, and a mode query module. The interface detection module is configured to detect the voltage of the processor connection interface and the motherboard connection interface. The mode determining module is configured to determine a mode of the baseboard management controller as a main mode when the interface detecting module detects that the voltage of the processor connection interface is a high voltage, and detect the mode in the interface detecting module. When the voltage of the processor connection interface and the voltage of the motherboard connection interface are both low voltages, it is determined that the mode of the baseboard management controller is the slave mode. The mode query module is configured to query another electronic device on the second motherboard when the interface detecting module detects that the voltage of the processor connection interface is low voltage and the voltage of the motherboard connection interface is high voltage The mode of the baseboard management controller. The mode determining module determines the mode of the substrate management controller in which the module is located according to the mode of another substrate management controller on the second motherboard of the electronic device that is queried by the mode query module.

一種基板管理控制器主從模式的選擇方法,應用於一基板管理控制器中,該基板管理控制器位於一電子裝置的主板上,基板管理控制器包括一處理器連接介面以及一主板連接介面,該處理器連接介面與位於同一主板上的處理器連接,該主板連接介面與一中間連接板連接,其中,該方法包括步驟:偵測處理器連接介面的電壓為高電壓還是低電壓;在處理器連接介面的電壓為高電壓時,確定該基板管理控制器的模式為主模式;在處理器連接介面的電壓為低電壓時,繼續偵測主板連接介面的電壓為高電壓還是低電壓;在主板連接介面的電壓為低電壓時,確定該基板管理控制器的模式為從模式;在主板連接介面的電壓為高電壓時,查詢該電子裝置上的位於另一主板上的另一基板管理控制器的模式;以及根據該查詢到的另一基板管理控制器的模式而確定當前基板管理控制器的模式。A substrate management controller master-slave mode selection method is applied to a substrate management controller, the substrate management controller is located on a motherboard of an electronic device, and the substrate management controller includes a processor connection interface and a motherboard connection interface. The processor connection interface is connected to a processor on the same motherboard, and the motherboard connection interface is connected to an intermediate connection board, wherein the method comprises the steps of: detecting whether the voltage of the processor connection interface is high voltage or low voltage; When the voltage of the connection interface of the device is high voltage, the mode of the substrate management controller is determined to be the main mode; when the voltage of the connection interface of the processor is low voltage, the voltage of the connection interface of the motherboard is continuously detected as a high voltage or a low voltage; When the voltage of the motherboard connection interface is low voltage, it is determined that the mode of the substrate management controller is a slave mode; when the voltage of the motherboard connection interface is a high voltage, querying another substrate management control on the electronic device on the other motherboard Mode of the device; and determining the current mode based on the mode of another substrate management controller that is queried Board management controller.

通過本發明的可自動選擇主從模式的基板管理控制器、電子裝置及方法,能夠在電子裝置啟動後,自動確定基板管理控制器的主從關係。According to the substrate management controller, the electronic device and the method of the present invention, which can automatically select the master-slave mode, the master-slave relationship of the substrate management controller can be automatically determined after the electronic device is activated.

圖1為本發明一實施方式中包括可自動選擇主從模式的基板管理控制的電子裝置的架構示意圖。FIG. 1 is a schematic structural diagram of an electronic device including a substrate management control capable of automatically selecting a master-slave mode according to an embodiment of the present invention.

圖2為本發明一實施方式中主從選擇系統的模組示意圖。2 is a schematic diagram of a module of a master-slave selection system according to an embodiment of the present invention.

圖3為本發明一實施方式中真值表的示意圖。3 is a schematic diagram of a truth table in an embodiment of the present invention.

圖4為本發明一實施方式中基板管理控制器主從模式的選擇方法的流程圖。4 is a flow chart showing a method of selecting a master-slave mode of a substrate management controller according to an embodiment of the present invention.

請參閱圖1,為本發明一實施方式中的具有可自動選擇模式的基板管理控制器的電子裝置100的模組示意圖。該電子裝置100包括一至少兩個主板10、20以及一中間連接板30。該中間連接板30用於連接該兩個主板10、20。Please refer to FIG. 1 , which is a schematic diagram of a module of an electronic device 100 having a substrate management controller capable of automatically selecting a mode according to an embodiment of the present invention. The electronic device 100 includes at least two main boards 10, 20 and an intermediate connecting board 30. The intermediate connecting plate 30 is used to connect the two main boards 10, 20.

其中,該主板10包括基板管理控制器(Baseboard management controller,BMC)11以及處理器12。該主板20包括基板管理控制器21以及處理器22。該中間連接板30包括一主模式介面31以及一從模式介面32。The main board 10 includes a baseboard management controller (BMC) 11 and a processor 12. The motherboard 20 includes a substrate management controller 21 and a processor 22. The intermediate connection plate 30 includes a main mode interface 31 and a slave mode interface 32.

其中,該基板管理控制器11包括一處理器連接介面111以及主板連接介面112,該處理器連接介面111與位於同一主板10上的處理器12連接,該主板連接介面112與該中間連接板30的主模式介面31以及從模式介面32中的一個連接,如圖1所示,該主板連接介面112為與中間連接板30的主模式介面31連接。該基板管理控制器21同樣包括處理器連接介面211以及主板連接介面213,該處理器連接介面211與位於同一主板20上的處理器22連接,該主板連接介面213與中間連接板30的從模式介面32連接。The baseboard management interface 11 includes a processor connection interface 111 and a motherboard connection interface 112. The processor connection interface 111 is connected to the processor 12 on the same motherboard 10. The motherboard connection interface 112 and the intermediate connection board 30 are connected. The main mode interface 31 and one of the slave mode interfaces 32 are connected to the main mode interface 31 of the intermediate connection board 30 as shown in FIG. The baseboard management controller 21 also includes a processor connection interface 211 and a motherboard connection interface 213. The processor connection interface 211 is connected to a processor 22 on the same motherboard 20, and the slave board connects the interface 213 and the slave interface 30. Interface 32 is connected.

其中,在電子裝置100啟動後,該中間連接板30的主模式介面31固定輸出高電壓,從模式介面32固定輸出低電壓。其中,與該主模式介面31連接的基板管理控制器11為處於主位置,與該從模式介面32連接的基板管理控制器21為處於從位置。After the electronic device 100 is activated, the main mode interface 31 of the intermediate connection board 30 is fixedly outputting a high voltage, and the low voltage is fixedly output from the mode interface 32. The substrate management controller 11 connected to the main mode interface 31 is at the main position, and the substrate management controller 21 connected to the slave mode interface 32 is at the slave position.

請一併參閱圖2,其中,該基板管理控制器11以及基板管理控制器12均運行有一主從選擇系統S1。在本實施方式中,該主從選擇系統S1為固化於該基板管理控制器11、12中的程式。Referring to FIG. 2 together, the substrate management controller 11 and the substrate management controller 12 each operate a master-slave selection system S1. In the present embodiment, the master-slave selection system S1 is a program that is solidified in the substrate management controllers 11, 12.

其中,該主從選擇系統S1包括一介面偵測模組101、一模式確定模組102以及一模式查詢模組103。The master-slave selection system S1 includes an interface detection module 101, a mode determination module 102, and a mode query module 103.

其中,當電子裝置100開機啟動時,該基板管理控制器11以及基板管理控制器12中的主從選擇系統S1開始運行而執行相應的主從選擇功能。由於該基板管理控制器11以及基板管理控制器12中的主從選擇系統S1執行的步驟及功能完全相同,以下以該基板管理控制器11所運行的主從選擇系統S1為例進行說明。Wherein, when the electronic device 100 is powered on, the master management system 11 in the baseboard management controller 11 and the baseboard management controller 12 starts to operate to perform a corresponding master-slave selection function. Since the steps and functions performed by the master-slave selection system S1 in the substrate management controller 11 and the substrate management controller 12 are completely the same, the master-slave selection system S1 operated by the substrate management controller 11 will be described below as an example.

其中,該介面偵測模組101用於偵測處理器連接介面111以及主板連接介面112的電壓。當該介面偵測模組101偵測該處理器連接介面111的電壓為高電壓時,該模式確定模組102確定該基板管理控制器11的模式為主模式。The interface detection module 101 is configured to detect the voltage of the processor connection interface 111 and the motherboard connection interface 112. When the interface detecting module 101 detects that the voltage of the processor connection interface 111 is a high voltage, the mode determining module 102 determines that the mode of the baseboard management controller 11 is a master mode.

其中,在本實施方式中,在基板管理控制器11、12未進行首次啟動前,該基板管理控制器11、12未分主從模式,主板10上的處理器12以及主板20上的處理器22均輸出低電壓,即,該處理器連接介面111以及處理器連接介面211均為低電壓。在基板管理控制器11、12啟動過至少一次而分了主從後,主板10上的處理器12以及主板20上的處理器22均會根據電子裝置100上一次關機時對應的基板管理控制器11或21的模式而輸出相應的電壓信號。其中,該處理器12或22根據上一次關機時的基板管理控制器11或12為主模式時,輸出高電壓信號,並在上一次關機時的基板管理控制器11或12為從模式時,輸出低電壓信號。從而,當該介面偵測模組101偵測該介面偵測模組101偵測該處理器連接介面111的電壓為高電壓時,該模式確定模組102確定該基板管理控制器11為主基板管理控制器,無論此時主板連接介面112的電壓為高電壓還是低電壓。從而,使得基板管理控制器11或12重啟後,跟隨上一次的模式。顯然,用戶可在基板管理控制器11或12啟動後,通過手動改變基板管理控制器11或12的主從模式,而使得下一次基板管理控制器11或12重啟後進入該更改後的模式。In the embodiment, before the substrate management controllers 11 and 12 are not started for the first time, the substrate management controllers 11 and 12 are not divided into the master-slave mode, the processor 12 on the motherboard 10, and the processor on the motherboard 20. 22 outputs a low voltage, that is, the processor connection interface 111 and the processor connection interface 211 are both low voltages. After the substrate management controllers 11 and 12 are started at least once and the master and slave are divided, the processor 12 on the motherboard 10 and the processor 22 on the motherboard 20 are all based on the corresponding substrate management controller when the electronic device 100 is turned off last time. The mode of 11 or 21 outputs the corresponding voltage signal. Wherein, the processor 12 or 22 outputs a high voltage signal according to the substrate management controller 11 or 12 when the last shutdown is in the main mode, and when the substrate management controller 11 or 12 at the last shutdown is in the slave mode, Output a low voltage signal. Therefore, when the interface detecting module 101 detects that the interface detecting module 101 detects that the voltage of the processor connection interface 111 is a high voltage, the mode determining module 102 determines that the substrate management controller 11 is the main substrate. The controller is managed regardless of whether the voltage of the motherboard connection interface 112 is high voltage or low voltage. Thereby, after the substrate management controller 11 or 12 is restarted, the previous mode is followed. Obviously, the user can manually change the master-slave mode of the substrate management controller 11 or 12 after the substrate management controller 11 or 12 is started, so that the next time the substrate management controller 11 or 12 is restarted, the changed mode is entered.

當該介面偵測模組101偵測該處理器連接介面111的電壓為低電壓且偵測主板連接介面112的電壓也為低電壓時,該模式確定模組102確定所在的基板管理控制器11為從模式。When the interface detecting module 101 detects that the voltage of the processor connection interface 111 is low voltage and the voltage of the motherboard connection interface 112 is also low voltage, the mode determining module 102 determines the substrate management controller 11 where the substrate management controller 11 is located. For the slave mode.

具體的,如前所述,該中間連接板30的主模式介面31為主模式介面而固定輸出高電壓,從模式介面32為從模式介面而固定輸出低電壓。該介面偵測模組101偵測該主板連接介面112的電壓為低電壓時,該模式確定模組102確定所在的基板管理控制器11為與該中間連接板30的從模式介面32連接,處於從位置,若該基板管理控制器11為首次啟動,則由於該基板管理控制器11處於從位置而自動進入從模式。若該基板管理控制器11非首次啟動,則由於該介面偵測模組101偵測該處理器連接介面111的電壓為低電壓,表明上次該基板管理控制器11的模式為從模式,因此,此次該基板管理控制器11仍然為從模式。因此,該模式確定模組102在該介面偵測模組101偵測該處理器連接介面111的電壓為低電壓以及主板連接介面112的電壓也為低電壓時,不論該基板管理控制器11是否為首次啟動,均為從模式。Specifically, as described above, the main mode interface 31 of the intermediate connection board 30 is a fixed output high voltage as a main mode interface, and the slave mode interface 32 is a fixed output low voltage from the mode interface. When the interface detecting module 101 detects that the voltage of the motherboard connection interface 112 is a low voltage, the mode determining module 102 determines that the substrate management controller 11 is connected to the slave mode interface 32 of the intermediate connection board 30. From the position, if the substrate management controller 11 is started for the first time, the substrate management controller 11 automatically enters the slave mode because it is in the slave position. If the substrate management controller 11 detects that the voltage of the processor connection interface 111 is a low voltage, the mode of the substrate management controller 11 is the slave mode. This time, the substrate management controller 11 is still in the slave mode. Therefore, when the interface detecting module 101 detects that the voltage of the processor connection interface 111 is a low voltage and the voltage of the motherboard connection interface 112 is also a low voltage, regardless of whether the substrate management controller 11 is For the first start, both are slave modes.

該模式查詢模組103用於在該介面偵測模組101偵測該處理器連接介面111的電壓為低電壓且偵測主板連接介面112的電壓為高電壓時,查詢另一基板管理控制器12當前的模式。該模式確定模組102在模式查詢模組103查詢到另一基板管理控制器12的模式為主模式時,確定所在的基板管理控制器11為從模式,並在模式查詢模組103查詢到另一基板管理控制器12的模式為從模式時,確定所在的基板管理控制器11為主模式。The mode query module 103 is configured to query another baseboard management controller when the interface detecting module 101 detects that the voltage of the processor connection interface 111 is a low voltage and detects that the voltage of the motherboard connection interface 112 is a high voltage. 12 current mode. When the mode query module 103 queries the mode of the other substrate management controller 12 as the master mode, the mode determining module 102 determines that the substrate management controller 11 is in the slave mode, and queries the mode query module 103 to query another mode. When the mode of the substrate management controller 12 is the slave mode, it is determined that the substrate management controller 11 is in the master mode.

具體的,由於該介面偵測模組101偵測主板連接介面112的電壓為高電壓,從而該基板管理控制器11處於主位置,而該基板管理控制器12必然處於從位置。而如前所述,該基板管理控制器12根據其中的介面偵測模組101偵測該處理器連接介面211的電壓為高電壓時,則為主模式,該基板管理控制器12根據該處理器連接介面211的電壓為低電壓時,由於基板管理控制器12已經處於從位置,則該基板管理控制器12必然為從模式,因此,基板管理控制器12在模式查詢模組103查詢時必然已經分出了主從。Specifically, the interface detection module 101 detects that the voltage of the motherboard connection interface 112 is a high voltage, so that the substrate management controller 11 is at the primary position, and the substrate management controller 12 is necessarily in the slave position. As described above, when the interface management module 12 detects that the voltage of the processor connection interface 211 is a high voltage, the substrate management controller 12 is in a master mode, and the substrate management controller 12 performs the processing according to the processing. When the voltage of the device connection interface 211 is a low voltage, since the substrate management controller 12 is already in the slave position, the substrate management controller 12 is necessarily in the slave mode. Therefore, the substrate management controller 12 is inevitable when the mode query module 103 queries. The master has been separated.

在本實施方式中,該基板管理控制器11還與該另一基板管理控制器12通過一基板傳輸線40連接。該模式查詢模組104通過該基板傳輸線40發送一查詢請求至另一基板管理控制器12而查詢該基板管理控制器12的模式。In the present embodiment, the substrate management controller 11 is also connected to the other substrate management controller 12 via a substrate transmission line 40. The mode query module 104 sends a query request to the other substrate management controller 12 through the substrate transmission line 40 to query the mode of the substrate management controller 12.

該基板管理控制器11、12並根據各自所確定的模式而進行相應的控制。即,基板管理控制器11、12確定所處的模式為主模式時,管理所在的主板以及整個電子裝置,當基板管理控制器11、12確定所處的模式為從模式時,僅管理所在的主板。The substrate management controllers 11, 12 perform corresponding control according to the respective determined modes. That is, when the substrate management controllers 11 and 12 determine the mode in which the mode is in the master mode, the main board and the entire electronic device are managed. When the substrate management controllers 11 and 12 determine that the mode is in the slave mode, only the management mode is Motherboard.

從而,本發明的基板管理控制器11、12,可在電子裝置100啟動時,自動確定所處的主從模式,而進行相應模式下的控制。Therefore, the substrate management controllers 11, 12 of the present invention can automatically determine the master-slave mode in which the electronic device 100 is activated, and perform control in the corresponding mode.

其中,該電子裝置100為平板電腦、臺式機、筆記本電腦、伺服器等。其中,該電子裝置100所包括的主板的數量以及基板管理控制器的數量不限於2個,可為3個、4個等不小於2的數值。The electronic device 100 is a tablet computer, a desktop computer, a notebook computer, a server, or the like. The number of the main boards and the number of the substrate management controllers included in the electronic device 100 are not limited to two, and may be three, four, or the like.

請一併參閱圖3,為本發明中該基板管理控制器11、12以及該處理器連接介面111以及主板連接介面112電壓關係的真值表。其中,基板管理控制器11、12為“1”時為主模式,基板管理控制器11、12為“0”時為從模式。如圖2所示,當處理器連接介面111的電壓為“1”時,此時,無論該主板連接介面112的電壓為“1”還是“0”,該基板管理控制器11均為主模式,該基板管理控制器12為從模式。當處理器連接介面111的電壓為低電壓“0”時,若主板連接介面112的電壓也為低電壓“0”,則該基板管理控制器11為從模式,該基板管理控制器12為主模式。當處理器連接介面111的電壓為低電壓“0”,且主板連接介面112的電壓為高電壓“0”時,則該基板管理控制器11根據基板管理控制器12所處的模式而確定自己的模式。即,若基板管理控制器12為主模式,則基板管理控制器11為從模式,若基板管理控制器12為從模式,則基板管理控制器11為主模式。Please refer to FIG. 3 , which is a truth table of the voltage relationship between the substrate management controllers 11 and 12 and the processor connection interface 111 and the motherboard connection interface 112 of the present invention. However, when the substrate management controllers 11 and 12 are “1”, the master mode is used, and when the substrate management controllers 11 and 12 are “0”, the slave mode is the slave mode. As shown in FIG. 2, when the voltage of the processor connection interface 111 is "1", at this time, regardless of whether the voltage of the motherboard connection interface 112 is "1" or "0", the substrate management controller 11 is in the main mode. The substrate management controller 12 is in a slave mode. When the voltage of the processor connection interface 111 is a low voltage “0”, if the voltage of the motherboard connection interface 112 is also a low voltage “0”, the substrate management controller 11 is in a slave mode, and the substrate management controller 12 is mainly mode. When the voltage of the processor connection interface 111 is a low voltage “0” and the voltage of the motherboard connection interface 112 is a high voltage “0”, the substrate management controller 11 determines itself according to the mode in which the substrate management controller 12 is located. Mode. That is, when the substrate management controller 12 is in the master mode, the substrate management controller 11 is in the slave mode, and when the substrate management controller 12 is in the slave mode, the substrate management controller 11 is in the master mode.

請參閱圖4,為本發明中基板管理控制器主從模式的選擇方法的流程圖。首先,介面偵測模組101偵測處理器連接介面111的電壓為高電壓還是低電壓(S401)。如果為高電壓,則執行步驟S403,如果為低電壓,則執行步驟S405。Please refer to FIG. 4 , which is a flowchart of a method for selecting a master-slave mode of a substrate management controller according to the present invention. First, the interface detecting module 101 detects whether the voltage of the processor connection interface 111 is a high voltage or a low voltage (S401). If it is a high voltage, step S403 is performed, and if it is a low voltage, step S405 is performed.

該模式確定模組102確定該基板管理控制器11的模式為主模式(S403)。The mode determination module 102 determines that the mode of the baseboard management controller 11 is the master mode (S403).

介面偵測模組101繼續偵測主板連接介面112的電壓為高電壓還是低電壓(S405)。如果為低電壓,則執行步驟S407,否則執行步驟S409。The interface detecting module 101 continues to detect whether the voltage of the motherboard connection interface 112 is high voltage or low voltage (S405). If it is a low voltage, step S407 is performed, otherwise step S409 is performed.

該模式確定模組102確定該基板管理控制器11的模式為從模式(S407)。The mode determination module 102 determines that the mode of the baseboard management controller 11 is the slave mode (S407).

模式查詢模組103查詢另一基板管理控制器12的模式(S409)。The mode inquiry module 103 queries the mode of the other substrate management controller 12 (S409).

該模式確定模組102並根據該查詢到的另一基板管理控制器12的模式而確定當前基板管理控制器11的模式(S411)。具體的,該模式確定模組102在該查詢到的另一基板管理控制器12的模式為主模式時,確定所在的基板管理控制器11的模式為從模式,該模式確定模組102在該查詢到的另一基板管理控制器12的模式為從模式時,確定所在的基板管理控制器11的模式為主模式。The mode determining module 102 determines the mode of the current substrate management controller 11 based on the mode of the other substrate management controller 12 that is queried (S411). Specifically, when the mode of the other substrate management controller 12 that is queried is the master mode, the mode determining module 102 determines that the mode of the substrate management controller 11 is a slave mode, and the mode determining module 102 is in the mode. When the mode of the other substrate management controller 12 that is queried is the slave mode, the mode of the substrate management controller 11 in which it is located is determined to be the master mode.

可以理解,以上所述實施方式僅供說明本發明之用,而並非對本發明的限制。有關技術領域的普通技術人員根據本發明在相應的技術領域做出的變化應屬於本發明的保護範疇。It is to be understood that the above-described embodiments are merely illustrative of the invention and are not intended to limit the invention. Variations made by the person skilled in the art in the corresponding technical field in accordance with the invention are within the scope of protection of the invention.

100‧‧‧電子裝置100‧‧‧Electronic devices

10、20‧‧‧主板10, 20‧‧‧ motherboard

30‧‧‧中間連接板30‧‧‧Intermediate connection plate

40‧‧‧基板傳輸線40‧‧‧Substrate transmission line

11、12‧‧‧基板管理控制器11, 12‧‧‧ substrate management controller

21、22‧‧‧處理器21, 22‧‧‧ processor

111、211‧‧‧處理器連接介面111, 211‧‧‧ processor connection interface

112、212‧‧‧主板連接介面112, 212‧‧‧ motherboard connection interface

31‧‧‧主模式介面31‧‧‧Main mode interface

32‧‧‧從模式介面32‧‧‧From mode interface

S1‧‧‧主從選擇系統S1‧‧‧Master-slave selection system

101‧‧‧介面偵測模組101‧‧‧Interface Detection Module

102‧‧‧模式確定模組102‧‧‧Mode Determination Module

103‧‧‧模式查詢模組103‧‧‧ mode query module

S401~S411‧‧‧步驟S401~S411‧‧‧Steps

no

S401‧‧‧偵測處理器連接介面的電壓為高電壓還是低電壓 S401‧‧‧Detects whether the voltage of the processor connection interface is high voltage or low voltage

S403‧‧‧確定該基板管理控制器的模式為主模式 S403‧‧‧ Determine the mode of the baseboard management controller as the main mode

S405‧‧‧偵測主板連接介面的電壓為高電壓還是低電壓 S405‧‧‧Detects whether the voltage of the motherboard connection interface is high voltage or low voltage

S407‧‧‧確定該基板管理控制器的模式為從模式 S407‧‧‧Determine that the mode of the baseboard management controller is slave mode

S409‧‧‧查詢該電子裝置上的位於另一主板上的另一基板管理控制器的模式 S409‧‧‧Query the mode of another substrate management controller on the other motherboard on the electronic device

S411‧‧‧根據該查詢到的另一基板管理控制器的模式而確定當前基板管理控制器的模式 S411‧‧‧ Determine the mode of the current baseboard management controller according to the mode of another substrate management controller that is queried

Claims (9)

一種可自動選擇主從模式的基板管理控制器,用於在啟動後自動確認所處的主從模式,該基板管理控制器位於一電子裝置的第一主板上,該基板管理控制器包括一處理器連接介面以及一主板連接介面,該處理器連接介面用於與位於該第一主板上的處理器連接,該主板連接介面用於與一中間連接板連接,其中,該基板管理控制器包括:
一介面偵測模組,用於偵測處理器連接介面以及主板連接介面的電壓;
一模式確定模組,用於在該介面偵測模組偵測該處理器連接介面的電壓為高電壓時,確定該基板管理控制器的模式為主模式,並在介面偵測模組偵測該處理器連接介面的電壓以及該主板連接介面的電壓均為低電壓時,確定該基板管理控制器的模式為從模式;
一模式查詢模組,用於在該介面偵測模組偵測該處理器連接介面的電壓為低電壓且該主板連接介面的電壓為高電壓時,查詢該電子裝置的第二主板上的另一基板管理控制器的模式;
其中,該模式確定模組並根據該模式查詢模組查詢的該電子裝置的第二主板上的另一基板管理控制器的模式而確定所在的基板管理控制器的模式。
A substrate management controller capable of automatically selecting a master-slave mode for automatically confirming a master-slave mode after startup, the substrate management controller being located on a first motherboard of an electronic device, the substrate management controller including a process And a motherboard connection interface, the processor connection interface is configured to be connected to a processor located on the first motherboard, the motherboard connection interface is configured to be connected to an intermediate connection board, wherein the substrate management controller comprises:
An interface detection module for detecting a voltage of a processor connection interface and a motherboard connection interface;
a mode determining module, configured to determine a mode of the baseboard management controller as a main mode when the interface detecting module detects that the voltage of the processor connection interface is a high voltage, and detect the mode in the interface detecting module When the voltage of the processor connection interface and the voltage of the motherboard connection interface are both low voltages, determine that the mode of the baseboard management controller is a slave mode;
a mode query module, configured to query the second motherboard of the electronic device when the interface detecting module detects that the voltage of the processor connection interface is low voltage and the voltage of the motherboard connection interface is high voltage a mode of a substrate management controller;
The mode determining module determines the mode of the substrate management controller in which the module is located according to the mode of another substrate management controller on the second motherboard of the electronic device that is queried by the mode query module.
如申請專利範圍第1項所述之基板管理控制器,其中,該基板管理控制器與位於第二主板上的另一基板管理控制器通過一基板傳輸線連接,該模式查詢模組通過該基板傳輸線發送一查詢請求至另一基板管理控制器而查詢該另一基板管理控制器的模式。The substrate management controller of claim 1, wherein the substrate management controller and another substrate management controller located on the second motherboard are connected by a substrate transmission line, and the mode query module passes the substrate transmission line. A query request is sent to another baseboard management controller to query the mode of the other baseboard management controller. 如申請專利範圍第1項所述之基板管理控制器,其中,該模式確定模組在該模式查詢模組查詢該電子裝置的第二主板上的另一基板管理控制器的模式為主模式時,確定所在的基板管理控制器的模式為從模式,並在該模式查詢模組查詢該電子裝置的第二主板上的另一基板管理控制器的模式為從模式時,確定所在的基板管理控制器的模式為主模式。The substrate management controller of claim 1, wherein the mode determining module is configured to query a mode of another substrate management controller on the second main board of the electronic device in the main mode. Determining the mode of the substrate management controller in the slave mode, and determining the substrate management control when the mode query module queries the mode of another substrate management controller on the second motherboard of the electronic device as the slave mode The mode of the device is the main mode. 一種電子裝置,包括至少兩個主板以及一中間連接板,該中間連接板用於連接該兩個主板;該兩個主板均包括一基板管理控制器以及一處理器,其中,每一基板管理控制器包括一處理器連接介面以及一主板連接介面,該處理器連接介面與位於同一主板上的處理器連接,該主板連接介面與該中間連接板連接,其中,每一基板管理控制器還包括:
一介面偵測模組,用於偵測所在的基板管理控制器的處理器連接介面以及主板連接介面的電壓;
一模式確定模組,用於在該介面偵測模組偵測該處理器連接介面的電壓為高電壓時,確定所在的基板管理控制器的模式為主模式,並在介面偵測模組偵測該處理器連接介面的電壓以及該主板連接介面的電壓均為低電壓時,確定所在的基板管理控制器的模式為從模式;
一模式查詢模組,用於在該介面偵測模組偵測所在的基板管理控制器的處理器連接介面的電壓為低電壓且該主板連接介面的電壓為高電壓時,查詢該電子裝置的另一主板上的另一基板管理控制器的模式;
其中,該模式確定模組並根據該模式查詢模組查詢的該電子裝置的另一基板管理控制器的模式而確定所在的基板管理控制器的模式。
An electronic device includes at least two main boards and an intermediate connection board for connecting the two main boards; the two main boards each include a substrate management controller and a processor, wherein each substrate management control The device includes a processor connection interface and a motherboard connection interface. The processor connection interface is connected to a processor on the same motherboard. The motherboard connection interface is connected to the intermediate connection board. Each of the substrate management controllers further includes:
An interface detection module is configured to detect a processor connection interface of the substrate management controller and a voltage of the motherboard connection interface;
A mode determining module is configured to determine a mode of the baseboard management controller as a main mode when the interface detecting module detects that the voltage of the processor connection interface is a high voltage, and detect the mode in the interface detection module When the voltage of the processor connection interface and the voltage of the connection interface of the motherboard are both low voltages, determine that the mode of the substrate management controller is a slave mode;
a mode query module, configured to query the electronic device when the voltage of the processor connection interface of the substrate management controller of the interface detection module is low voltage and the voltage of the motherboard connection interface is high voltage Another substrate management controller mode on the other motherboard;
The mode determining module determines the mode of the baseboard management controller in which the module is based on the mode of another baseboard management controller of the electronic device that is queried by the mode query module.
如申請專利範圍第4項所述之電子裝置,其中,該兩個主板上的基板管理控制器通過一基板傳輸線連接,該模式查詢模組通過該基板傳輸線發送一查詢請求至另一基板管理控制器而查詢該另一基板管理控制器的模式。The electronic device of claim 4, wherein the substrate management controllers on the two main boards are connected by a substrate transmission line, and the mode query module sends a query request to another substrate management control through the substrate transmission line. The mode of the other substrate management controller is queried. 如申請專利範圍第4項所述之電子裝置,其中,該模式確定模組在該模式查詢模組查詢該電子裝置的另一主板上的另一基板管理控制器的模式為主模式時,確定所在的基板管理控制器的模式為從模式,並在該模式查詢模組查詢該電子裝置的另一基板管理控制器的模式為從模式時,確定所在的基板管理控制器的模式為主模式。The electronic device of claim 4, wherein the mode determining module determines when the mode query module queries a mode of another baseboard management controller on another motherboard of the electronic device as a master mode. The mode of the baseboard management controller is the slave mode, and when the mode query module queries the mode of another baseboard management controller of the electronic device to be the slave mode, the mode of the baseboard management controller is determined to be the master mode. 一種基板管理控制器主從模式的選擇方法,應用於一基板管理控制器中,該基板管理控制器位於一電子裝置的主板上,基板管理控制器包括一處理器連接介面以及一主板連接介面,該處理器連接介面與位於同一主板上的處理器連接,該主板連接介面與一中間連接板連接,其中,該方法包括步驟:
偵測處理器連接介面的電壓為高電壓還是低電壓;
在處理器連接介面的電壓為高電壓時,確定該基板管理控制器的模式為主模式;
在處理器連接介面的電壓為低電壓時,繼續偵測主板連接介面的電壓為高電壓還是低電壓;
在主板連接介面的電壓為低電壓時,確定該基板管理控制器的模式為從模式;
在主板連接介面的電壓為高電壓時,查詢該電子裝置上的位於另一主板上的另一基板管理控制器的模式;以及
根據該查詢到的另一基板管理控制器的模式而確定當前基板管理控制器的模式。
A substrate management controller master-slave mode selection method is applied to a substrate management controller, the substrate management controller is located on a motherboard of an electronic device, and the substrate management controller includes a processor connection interface and a motherboard connection interface. The processor connection interface is connected to a processor on the same motherboard, and the motherboard connection interface is connected to an intermediate connection board, wherein the method comprises the steps of:
Detecting whether the voltage of the processor connection interface is high voltage or low voltage;
When the voltage of the processor connection interface is a high voltage, determining a mode of the baseboard management controller as a main mode;
When the voltage of the processor connection interface is low voltage, continue to detect whether the voltage of the motherboard connection interface is high voltage or low voltage;
When the voltage of the motherboard connection interface is a low voltage, determining that the mode of the baseboard management controller is a slave mode;
When the voltage of the motherboard connection interface is a high voltage, querying a mode of another substrate management controller on the electronic device on the other motherboard; and determining the current substrate according to the mode of the other substrate management controller that is queried Manage the mode of the controller.
如申請專利範圍第7項所述之方法,其中,該步驟“查詢該電子裝置上的位於另一主板上的另一基板管理控制器的模式”包括:
通過一基板傳輸線發送一查詢請求至另一基板管理控制器而查詢該另一基板管理控制器的模式。
The method of claim 7, wherein the step of "query a mode of another substrate management controller on the other electronic device on the electronic device" includes:
The mode of the other substrate management controller is queried by transmitting a query request to another substrate management controller through a substrate transmission line.
如申請專利範圍第7項所述之方法,其中,該步驟“根據該查詢到的另一基板管理控制器的模式而確定當前基板管理控制器的模式”包括:
在查詢該電子裝置的另一主板上的另一基板管理控制器的模式為主模式時,確定所在的基板管理控制器的模式為從模式;以及
在查詢該電子裝置的另一基板管理控制器的模式為從模式時,確定所在的基板管理控制器的模式為主模式。
The method of claim 7, wherein the step of determining the mode of the current substrate management controller according to the mode of the other substrate management controller that is queried includes:
When querying a mode of another substrate management controller on another motherboard of the electronic device as a master mode, determining that a mode of the substrate management controller is a slave mode; and querying another substrate management controller of the electronic device When the mode is slave mode, the mode of the baseboard management controller is determined to be the master mode.
TW102144390A 2013-12-04 2013-12-04 Baseboard management controller capable selecting master-slave mode, electronic device and method thereof TW201527958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102144390A TW201527958A (en) 2013-12-04 2013-12-04 Baseboard management controller capable selecting master-slave mode, electronic device and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102144390A TW201527958A (en) 2013-12-04 2013-12-04 Baseboard management controller capable selecting master-slave mode, electronic device and method thereof

Publications (1)

Publication Number Publication Date
TW201527958A true TW201527958A (en) 2015-07-16

Family

ID=54198243

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102144390A TW201527958A (en) 2013-12-04 2013-12-04 Baseboard management controller capable selecting master-slave mode, electronic device and method thereof

Country Status (1)

Country Link
TW (1) TW201527958A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI582585B (en) * 2015-11-18 2017-05-11 神雲科技股份有限公司 Rack control system
CN106940676A (en) * 2016-01-05 2017-07-11 佛山市顺德区顺达电脑厂有限公司 The monitoring system of rack

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI582585B (en) * 2015-11-18 2017-05-11 神雲科技股份有限公司 Rack control system
US10223229B2 (en) 2015-11-18 2019-03-05 Mitac Computing Technology Corporation System for monitoring a to-be-monitored unit of a rack/chassis management controller (RMC/CMC) according to heartbeat signals for determining operating modes
CN106940676A (en) * 2016-01-05 2017-07-11 佛山市顺德区顺达电脑厂有限公司 The monitoring system of rack

Similar Documents

Publication Publication Date Title
US9268381B2 (en) Terminal device and power supply method for terminal device
TW201500935A (en) System and method of controlling shutdown and booting of servers
US8355257B2 (en) Computer system
TW201409238A (en) Mode switch method of electronic device and associated electronic device
US20120131371A1 (en) Method for obtaining power states of a computer
US9712382B2 (en) Retrieving console messages after device failure
CN102799506A (en) Method for positioning fault memory
TW201118596A (en) Server management system
WO2015090144A1 (en) Display screen-based physical button simulation method and electronic device
CN106940676B (en) Monitoring system of cabinet
TW201527958A (en) Baseboard management controller capable selecting master-slave mode, electronic device and method thereof
TWI556540B (en) Electronic device power supply system
US11320880B2 (en) Multifunction display port
JP6175186B2 (en) Computer, method for controlling computer I / O switch
US10409344B2 (en) Electronic device having temperature management function
US20130138852A1 (en) Electronic device with baseboard management controller
CN109164874B (en) Information processing method and electronic equipment
TW201604679A (en) Computer system
CN108953205B (en) System and method for controlling rotating speed of server fan
TW201715397A (en) Detecting system and method for baseboard management controller
US20130144457A1 (en) Server system for updating heat dissipation solution
TWI559134B (en) Computing system and method for respectively displaying information corresponding to host under booting state or standby state
TW201325041A (en) Mether for identifying and controlling a fan and common fan control system using the same
CN101667111A (en) Display device and control method thereof
CN104657156A (en) Base plate management controller capable of automatically selecting master and slave modes, electronic device and method