TWI668635B - Mainboard and setting updating method thereof - Google Patents

Mainboard and setting updating method thereof Download PDF

Info

Publication number
TWI668635B
TWI668635B TW105140517A TW105140517A TWI668635B TW I668635 B TWI668635 B TW I668635B TW 105140517 A TW105140517 A TW 105140517A TW 105140517 A TW105140517 A TW 105140517A TW I668635 B TWI668635 B TW I668635B
Authority
TW
Taiwan
Prior art keywords
profile
flag
basic input
update
output module
Prior art date
Application number
TW105140517A
Other languages
Chinese (zh)
Other versions
TW201821986A (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 TW105140517A priority Critical patent/TWI668635B/en
Publication of TW201821986A publication Critical patent/TW201821986A/en
Application granted granted Critical
Publication of TWI668635B publication Critical patent/TWI668635B/en

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

一種設定更新方法,適用於主機板。主機板具有基板控制器與基本輸入輸出模組。基板控制器電性連接基本輸入輸出模組。基本輸入輸出模組具有第一設定檔。基本輸入輸出模組用以於開機時間區間中依據第一設定檔進行開機程序。所述的設定更新方法係先以基板控制器取得第二設定檔。並判斷旗標單元為更新旗標狀態或保留旗標狀態。且當旗標單元為更新旗標狀態時,於更新時間區間中依據該第二設定檔選擇性地調整第一設定檔。而當旗標單元為保留旗標狀態時,於更新時間區間中不依據第二設定檔選擇性地調整第一設定檔。A setting update method for the motherboard. The motherboard has a baseboard controller and a basic input and output module. The substrate controller is electrically connected to the basic input/output module. The basic input and output module has a first profile. The basic input/output module is configured to perform a booting process according to the first configuration file in the boot time interval. The setting update method first acquires the second profile by the substrate controller. And judge the flag unit to update the flag status or retain the flag status. And when the flag unit is in the update flag state, the first profile is selectively adjusted according to the second profile in the update time interval. When the flag unit is in the state of retaining the flag, the first profile is not selectively adjusted according to the second profile in the update time interval.

Description

主機板及其設定更新方法Motherboard and its setting update method

本發明係關於一種主機板及其設定更新方法,特別是一種可以由遠端進行設定佈署的主機板及其設定更新方法。The present invention relates to a motherboard and a setting update method thereof, and more particularly to a motherboard that can be deployed by a remote end and a setting update method thereof.

對於伺服器節點數量龐大的資料中心營運者而言,減少主機板部署時程以及降低部署錯誤發生率是相當重要的一個考量。主機板部署的效率,直接影響了資料中心的營運成本與服務上線時程。但就目前的狀況而言,使用傳統的部署技術仍需要依賴大量人力進行系統配置,For data center operators with a large number of server nodes, reducing board deployment time and reducing the incidence of deployment errors is a significant consideration. The efficiency of the motherboard deployment directly affects the data center's operating costs and service online timeline. However, as far as the current situation is concerned, the use of traditional deployment techniques still requires a lot of manpower for system configuration.

傳統作法上,在配置主機板的基本輸入輸出系統(Basic Input Output System, BIOS)時,會需要派遣人員至主機板的機器所在的現場,由人員手動對主機板重新開機,才能進入基本輸入輸出系統的設定選單當中逐一進行基本輸入輸出設定。且以往在同一時間內,僅能對一台機器進行設定。而且,若在開機途中產生例外事件(Exception)或系統錯誤(System Error),造成系統重開機失敗,則還需配置額外的人力及時間,再度以手動的方式將出錯的基本輸入輸出系統恢復為正確的設定值。對於規模日益龐大的雲端資料中心來說,部署的時程過長且無法有效保證系統穩定性,種種因素著實增加了許多運行成本。Traditionally, when configuring the basic input/output system (BIOS) of the motherboard, it is necessary to send personnel to the site where the machine of the motherboard is located, and the personnel manually restart the motherboard to enter the basic input and output. Basic input and output settings are made one by one in the system's setup menu. In the past, only one machine could be set at the same time. Moreover, if an exception (Exception) or system error (System Error) is generated during the boot process, causing the system to fail to reboot, additional manpower and time must be configured to manually restore the failed basic input/output system to The correct setting value. For the increasingly large cloud data center, the deployment time is too long and can not effectively ensure the stability of the system, and various factors have actually increased many operating costs.

本發明在於提供一種主機板及其設定更新方法,以克服以往需要派遣人力至機器所在的現場才能重新佈署主機板設定的缺點。The present invention provides a motherboard and a setting update method thereof, which overcomes the shortcomings of the prior art that it is necessary to dispatch manpower to the site where the machine is located to re-deploy the motherboard settings.

本發明揭露了一種設定更新方法,適用於主機板。主機板具有基板控制器與基本輸入輸出模組。基板控制器電性連接基本輸入輸出模組。基本輸入輸出模組具有第一設定檔。基本輸入輸出模組用以於開機時間區間中依據第一設定檔進行開機程序。所述的設定更新方法係先以基板控制器取得第二設定檔。並判斷旗標單元為更新旗標狀態或保留旗標狀態。且當旗標單元為更新旗標狀態時,於更新時間區間中依據該第二設定檔選擇性地調整第一設定檔。而當旗標單元為保留旗標狀態時,於更新時間區間中不依據第二設定檔選擇性地調整第一設定檔。The invention discloses a setting update method suitable for a motherboard. The motherboard has a baseboard controller and a basic input and output module. The substrate controller is electrically connected to the basic input/output module. The basic input and output module has a first profile. The basic input/output module is configured to perform a booting process according to the first configuration file in the boot time interval. The setting update method first acquires the second profile by the substrate controller. And judge the flag unit to update the flag status or retain the flag status. And when the flag unit is in the update flag state, the first profile is selectively adjusted according to the second profile in the update time interval. When the flag unit is in the state of retaining the flag, the first profile is not selectively adjusted according to the second profile in the update time interval.

本發明更揭露了一種主機板,所述的主機板具有基本輸入輸出模組與基板控制器。基板控制器電性連接基本輸入輸出模組。基本輸入輸出模組具有第一設定檔。基本輸入輸出模組用以依據第一設定檔於開機時間區間中進行開機程序。且基本輸入輸出模組用以判斷旗標單元為更新旗標狀態或保留旗標狀態。基板控制器具有儲存單元。儲存單元用以儲存第二設定檔。其中,當旗標單元為該更新旗標狀態時,於更新時間區間中依據第二設定檔選擇性地調整第一設定檔。當旗標單元為該保留旗標狀態時,於更新時間區間中不依據第二設定檔選擇性地調整第一設定檔。更新時間區間先於開機時間區間。The invention further discloses a motherboard having a basic input/output module and a substrate controller. The substrate controller is electrically connected to the basic input/output module. The basic input and output module has a first profile. The basic input/output module is configured to perform a booting process in the boot time interval according to the first configuration file. And the basic input/output module is configured to judge the flag unit to update the flag status or retain the flag status. The substrate controller has a storage unit. The storage unit is configured to store the second profile. Wherein, when the flag unit is in the update flag state, the first profile is selectively adjusted according to the second profile in the update time interval. When the flag unit is in the reserved flag state, the first profile is not selectively adjusted according to the second profile in the update time interval. The update time interval precedes the boot time interval.

綜合以上所述,本發明提供了一種主機板及其設定更新方法,藉由基板控制器(Baseboard Management Controller, BMC),選擇性地更新基本輸入輸出系統中的設定檔。此外,搭配相關的判斷流程,更可在出現例外事件或者是錯誤事件的時候,進一步地偵錯以及重新進行正確的更新。因此,基於本發明所提供的一種主機板及其設定更新方法,相關人員不再需要被派遣到機器所在的現場才能夠佈署主機板的基本輸入輸出設定,大大減少了人力使用,而且更能自動應應例外事件或者是錯誤事件,相當具有實用性。In summary, the present invention provides a motherboard and a setting update method thereof, which selectively update a profile in a basic input/output system by a baseboard management controller (BMC). In addition, with the relevant judgment process, it is possible to further debug and re-correct the update when an exception or error event occurs. Therefore, based on the motherboard provided by the present invention and the setting update method thereof, the relevant personnel no longer need to be dispatched to the site where the machine is located to be able to deploy the basic input and output settings of the motherboard, thereby greatly reducing the manpower use, and more capable of Automatic response to exceptions or error events is quite practical.

以上之關於本揭露內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。The above description of the disclosure and the following description of the embodiments of the present invention are intended to illustrate and explain the spirit and principles of the invention, and to provide further explanation of the scope of the invention.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。The detailed features and advantages of the present invention are set forth in the Detailed Description of the Detailed Description of the <RTIgt; </ RTI> <RTIgt; </ RTI> </ RTI> </ RTI> <RTIgt; The objects and advantages associated with the present invention can be readily understood by those skilled in the art. The following examples are intended to describe the present invention in further detail, but are not intended to limit the scope of the invention.

請參照圖1與圖2,圖1係為根據本發明一實施例所繪示之主機板的功能方塊圖,圖2係為根據本發明一實施例所繪示之伺服器系統的功能方塊圖。如圖1所示,主機板12具有基本輸入輸出模組124與基板控制器122。基板控制器122電性連接基本輸入輸出模組124。在一種實施例中,主機板12例如應用於具有多個伺服器節點的伺服器系統。圖2則示出了伺服器系統的一種實施例。伺服器系統1例如具有中央控制模組18與多個如前述的主機板,在圖2所示的實施例中係舉主機板12、14、16為例進行說明。主機板12、14、16係分別做為多個伺服器節點,而中央控制模組18例如經由匯流排或者是相關的元件,以與主機板12、14、16進行溝通。在此僅簡要地示出伺服器系統1的架構以做為示意,伺服器系統1的相關細節應為所屬技術領域具有通常知識者所知悉 ,在此不予贅述。且伺服器系統1僅為本發明所提供之主機板的一種應用領域,而不以此為限。後續係以主機板12為例進行說明。1 and FIG. 2, FIG. 1 is a functional block diagram of a motherboard according to an embodiment of the invention, and FIG. 2 is a functional block diagram of a server system according to an embodiment of the invention. . As shown in FIG. 1, the motherboard 12 has a basic input/output module 124 and a substrate controller 122. The substrate controller 122 is electrically connected to the basic input/output module 124. In one embodiment, motherboard 12 is applied, for example, to a server system having multiple server nodes. Figure 2 shows an embodiment of a server system. The server system 1 has, for example, a central control module 18 and a plurality of motherboards as described above. In the embodiment shown in FIG. 2, the motherboards 12, 14, 16 are illustrated as an example. The motherboards 12, 14, 16 are each acted as a plurality of server nodes, and the central control module 18 communicates with the motherboards 12, 14, 16 via, for example, busbars or associated components. The architecture of the server system 1 is only briefly shown here, and the relevant details of the server system 1 should be known to those of ordinary skill in the art, and will not be described herein. The server system 1 is only an application field of the motherboard provided by the present invention, and is not limited thereto. The subsequent description will be made by taking the motherboard 12 as an example.

更詳細地來說,基本輸入輸出模組124具有第一設定檔。基本輸入輸出模組124用以依據第一設定檔於開機時間區間中進行開機程序。且基本輸入輸出模組124用以判斷旗標單元為更新旗標狀態或保留旗標狀態。所述的第一設定檔例如用以指示基本輸入輸出模組124中的各項參數配置。旗標單元例如具有多個狀態,以指示基本輸入輸出模組124或以指示基板控制器122進行相應做動。在此實施例中,旗標單元例如可以是為更新旗標狀態或者是保留旗標狀態,相關細節請容再述。In more detail, the basic input output module 124 has a first profile. The basic input/output module 124 is configured to perform a booting process in the boot time interval according to the first configuration file. The basic input/output module 124 is configured to determine that the flag unit is in an update flag state or a reserved flag state. The first configuration file is used, for example, to indicate various parameter configurations in the basic input/output module 124. The flag unit has, for example, a plurality of states to indicate the basic input output module 124 or to instruct the substrate controller 122 to perform the corresponding action. In this embodiment, the flag unit may be, for example, an update flag state or a reserved flag state. For details, please refer to the description.

基板控制器122具有儲存單元1222。儲存單元1222用以儲存第二設定檔。第二設定檔例如用以指示基本輸入輸出模組124中的各項參數配置。在一實施例中,第二設定檔例如為二進位(binary)格式。在一實施例中,旗標單元例如為第二設定檔中的一表頭(header)子檔,或者旗標單元也可以是第二設定檔中的某一段內容,在此並不限制旗標單元相對於第二設定檔中的相對位置。第一設定檔與第二設定檔分別是兩個各別的設定檔,而第二設定檔所指示的參數配置與該第一設定檔所指示的參數配置係可以是相同或者是不同。而當前述的旗標單元為更新旗標狀態時,於更新時間區間中,第一設定檔係依據第二設定檔選擇性地被調整。當旗標單元為保留旗標狀態時,於更新時間區間中第一設定檔則不依據第二設定檔被選擇性地調整。更新時間區間先於開機時間區間。The substrate controller 122 has a storage unit 1222. The storage unit 1222 is configured to store the second profile. The second profile is used, for example, to indicate various parameter configurations in the basic input and output module 124. In an embodiment, the second profile is, for example, a binary format. In an embodiment, the flag unit is, for example, a header sub-file in the second profile, or the flag unit may be a segment of the second profile, and the flag is not limited herein. The relative position of the unit relative to the second profile. The first profile and the second profile are respectively two different profiles, and the parameter configuration indicated by the second profile may be the same or different from the parameter configuration indicated by the first profile. When the foregoing flag unit is in the update flag state, in the update time interval, the first setting file is selectively adjusted according to the second configuration file. When the flag unit is in the reserved flag state, the first profile in the update time interval is not selectively adjusted according to the second profile. The update time interval precedes the boot time interval.

請一併參照圖3以說明主機板的做動方式,圖3係為根據本發明一實施例所繪示之設定更新方法的流程示意圖。於步驟S101中,以基板控制器取得第二設定檔。於步驟S103中,判斷旗標單元為更新旗標狀態或保留旗標狀態。於步驟S105中,當旗標單元為更新旗標狀態時,於更新時間區間中依據第二設定檔選擇性地調整第一設定檔。於步驟S107中,當旗標單元為保留旗標狀態時,於更新時間區間中不依據第二設定檔選擇性地調整第一設定檔。Please refer to FIG. 3 to illustrate the operation mode of the motherboard. FIG. 3 is a schematic flowchart of the setting update method according to an embodiment of the invention. In step S101, the second profile is acquired by the substrate controller. In step S103, it is determined that the flag unit is an update flag state or a reserved flag state. In step S105, when the flag unit is in the update flag state, the first profile is selectively adjusted according to the second profile in the update time interval. In step S107, when the flag unit is in the reserved flag state, the first profile is not selectively adjusted according to the second profile in the update time interval.

請一併參照圖4以說明主機板的作動方式,圖4係為根據本發明另一實施例所繪示之伺服器系統的功能方塊圖。如圖4所示,伺服器系統1中的主機板12、14、16更分別以有線或者是無線的方式通訊連接外部控制模組20。在一實施例中,外部控制模組20例如為遠端的一電子裝置,且外部控制模組20係以網路分別與主機板12、14、16進行通訊。於另一實施例中,外部控制模組20例如為使用者自定義的工具。上述僅為舉例示範,並不以此為限。使用者藉由操作外部控制模組20,即可更新多個主機板的第一設定檔或第二設定檔。除此之外,外部控制模組20還可例如依據調度(scheduling)計畫進行批次傳輸,而使得資料傳輸自動化。Please refer to FIG. 4 to explain the operation mode of the motherboard. FIG. 4 is a functional block diagram of the server system according to another embodiment of the present invention. As shown in FIG. 4, the motherboards 12, 14, 16 in the server system 1 are respectively connected to the external control module 20 in a wired or wireless manner. In one embodiment, the external control module 20 is, for example, an electronic device at a remote location, and the external control module 20 communicates with the motherboards 12, 14, 16 via a network. In another embodiment, the external control module 20 is, for example, a user-defined tool. The above is merely an example and is not limited thereto. The user can update the first profile or the second profile of the plurality of motherboards by operating the external control module 20. In addition to this, the external control module 20 can also perform batch transmissions, for example, in accordance with a scheduling plan, to automate data transfer.

在一個具體的情境當中,主機板12例如係自外部控制模組20取得第二設定檔。當主機板12取得或更新第二設定檔時,主機板12對應的旗標單元更被設定為更新旗標狀態。當主機板12被重啟或者是說重開機的時候,主機板12的工作時程會先進入更新時間區間,然後再進入開機時間區間。在更新時間區間當中,當旗標單元為更新旗標狀態時,第一設定檔即被依據第二設定檔而更新。此更新的作為可以是由基板控制噐122或者是基本輸入輸出模組124來執行。在更新時間區間當中,當旗標單元為保留旗標狀態時,第一設定檔並不被依據第二設定檔而更新。接著,在開機時間區間中,基本輸入輸出模組124即依據第一設定檔進行相應的開機程序。因此,藉由設定第二設定檔與旗標單元的狀態,基本輸入輸出模組124即可被相應地更新。而如前述地,基板控制器122例如是經由網路或者是由使用者自定義的工具取得第二設定檔In a specific scenario, the motherboard 12, for example, obtains a second profile from the external control module 20. When the motherboard 12 obtains or updates the second profile, the flag unit corresponding to the motherboard 12 is further set to the update flag state. When the motherboard 12 is restarted or said to be rebooted, the working time of the motherboard 12 first enters the update time interval, and then enters the boot time interval. In the update time interval, when the flag unit is in the update flag state, the first profile is updated according to the second profile. The act of this update may be performed by the substrate control port 122 or the basic input output module 124. In the update time interval, when the flag unit is in the reserved flag state, the first profile is not updated according to the second profile. Then, in the boot time interval, the basic input/output module 124 performs a corresponding boot process according to the first profile. Therefore, by setting the state of the second profile and the flag unit, the basic input/output module 124 can be updated accordingly. As described above, the substrate controller 122 obtains the second profile, for example, via a network or a user-defined tool.

在另一類的實施例中,當基本輸入輸出模組124於更新時間區間中接收到本地控制指令時,基本輸入輸出模組124依據本地控制指令調整第一設定檔。且基本輸入輸出模組124調整旗標單元為保留旗標狀態。其中本地控制指令例如是使用者於主機板12機器所在的現場,手動輸入的指令。而在此實施例中,當基本輸入輸出模組124接收到本地控制指令時,主機板12則把旗標單元調整為保留旗標狀態。因此,當主機板12於開機時間區間中進行開機程序時,即使第一設定檔不同於第二設定檔,但由於旗標單元已被設定為保留旗標狀態,主機板12並不再依據第二設定檔更新第一設定檔,主機板12直接依據第一設定檔進行開機程序。從另一個角度來說,在此實施例中,使用者手動輸入的設定具有較高的優先權(priority),以因應特殊狀況發生,而保有個別操作的彈性。此外,於實務上,當基本輸入輸出模組124依據本地控制指令調整第一設定檔之後,第二設定檔更可依據第一設定檔被調整,以使以第二設定檔同步於第一設定檔。此依據第一設定檔調整第二設定檔的作為可以是由基板控制噐122或者是基本輸入輸出模組124來執行。In another type of embodiment, when the basic input/output module 124 receives the local control command in the update time interval, the basic input output module 124 adjusts the first profile according to the local control command. And the basic input output module 124 adjusts the flag unit to retain the flag state. The local control command is, for example, a command manually input by the user at the site where the motherboard 12 machine is located. In this embodiment, when the basic input/output module 124 receives the local control command, the motherboard 12 adjusts the flag unit to the reserved flag state. Therefore, when the motherboard 12 performs the booting process in the boot time interval, even if the first profile is different from the second profile, since the flag cell has been set to the reserved flag state, the motherboard 12 is no longer in accordance with the first The second profile updates the first profile, and the motherboard 12 directly performs the boot process according to the first profile. From another point of view, in this embodiment, the user manually entered settings have a higher priority to occur in response to special conditions while maintaining the flexibility of individual operations. In addition, in practice, after the basic input/output module 124 adjusts the first configuration file according to the local control command, the second configuration file may be further adjusted according to the first configuration file, so that the second configuration file is synchronized with the first configuration file. files. The act of adjusting the second profile according to the first profile may be performed by the substrate control port 122 or the basic input output module 124.

請接著參照圖5,圖5係為根據本發明另一實施例所繪示之設定更新方法的流程示意圖。如圖5所示,在步驟S201中,依據基板控制器接收到的外部設定檔產生校驗和值(checksum)。在步驟S203中,依據校驗和值判斷接收到的外部設定檔是否正確。在步驟S205中,當判斷接收到的外部設定檔正確時,依據外部設定檔選擇性地調整第二設定檔,並調整旗標單元為更新旗標狀態。所述的外部設定檔例如為以可擴展標記語言(Extensible Markup Language, XML)編寫而成的設定檔。Referring to FIG. 5, FIG. 5 is a schematic flowchart of a setting update method according to another embodiment of the present invention. As shown in FIG. 5, in step S201, a checksum value is generated in accordance with an external profile received by the substrate controller. In step S203, it is determined whether the received external profile is correct based on the checksum value. In step S205, when it is determined that the received external profile is correct, the second profile is selectively adjusted according to the external profile, and the flag unit is adjusted to update the flag state. The external profile is, for example, a profile written in Extensible Markup Language (XML).

當基板控制噐122接收到外部設定檔時,基板控制噐122依據外部設定檔計算出相應的校驗和值。當此校驗和值並非一個預設的期望和值時,基板控制噐122即判斷外部設定檔毀損而不依據此外部設定檔進行後續作動。基板控制噐122可再向外部設定檔的來源再索取另一個外部設定檔。而當校驗和值符合預期時,基板控制噐122依據外部設定檔調整第二設定檔。在一實施例中,基板控制噐122係將以可擴展標記語言邊寫而成的外部設定檔轉換為二進位格式,並直接以轉換後的外部設定檔作為第二設定檔。在另一實施例中,基板控制噐122係自外部設定檔中取得至少一待更新的部分,並依據所述的待更新的部分調整第二設定檔中的內容。When the substrate control port 122 receives the external profile, the substrate control port 122 calculates a corresponding checksum value based on the external profile. When the checksum value is not a preset expectation value, the substrate control unit 122 determines that the external profile is corrupted and does not perform subsequent operations according to the external profile. The substrate control port 122 can then request another external profile from the source of the external profile. When the checksum value is in accordance with expectations, the substrate control unit 122 adjusts the second profile according to the external profile. In one embodiment, the substrate control unit 122 converts the external profile written in the extensible markup language into a binary format and directly uses the converted external profile as the second profile. In another embodiment, the substrate control unit 122 obtains at least one portion to be updated from the external profile, and adjusts the content in the second profile according to the portion to be updated.

請接著參照圖6,圖6係為根據本發明更一實施例所繪示之設定更新方法的流程示意圖。如圖6所示,在步驟S301中,偵測開機程序中是否發生有錯誤事件或例外事件。在步驟S303中,當偵測到開機程序中發生有錯誤事件或例外事件,令基本輸入輸出模組停止開機程序。在步驟S305中,依據第二設定檔調整第一設定檔。在步驟S307中,令基本輸入輸出模組依據調整後的第一設定檔重新進行開機程序。Please refer to FIG. 6. FIG. 6 is a schematic flowchart diagram of a setting update method according to a further embodiment of the present invention. As shown in FIG. 6, in step S301, it is detected whether an error event or an exception event occurs in the booting procedure. In step S303, when an error event or an exception event is detected in the booting process, the basic input/output module stops the booting process. In step S305, the first profile is adjusted according to the second profile. In step S307, the basic input/output module is caused to restart the booting process according to the adjusted first profile.

詳細地來說,圖6所示的實施例中,主機板12更用以偵測在進行開機程序時是否發生有錯誤事件或者是例外事件。當開機程序的過程中發生有錯誤事件或者是例外事件時,主機板12例如是以看門狗計時噐(watch dog timer)進行重開,並由基板控制噐122將第二設定檔載入基本輸入輸出模組124,以使基本輸入輸出模組124正常開機。而於另一實施例中,基板控制噐122中更存有一初始設定檔。初始設定檔用以指示基本輸入輸出模組124中的各項參數配置,且初始設定檔並不隨著第一設定檔或第二設定檔同步被更新。在此實施例中,當開機程序的過程中發生有錯誤事件或者是例外事件時,主機板12例如是以看門狗計時噐進行重開,並由基板控制噐122將初始設定檔載入基本輸入輸出模組124,以使基本輸入輸出模組124正常開機。In detail, in the embodiment shown in FIG. 6, the motherboard 12 is further configured to detect whether an error event or an exception event occurs when the boot process is performed. When an error event or an exception event occurs during the boot process, the motherboard 12 is re-opened, for example, by a watch dog timer, and the second profile is loaded by the base controller 122. The input and output module 124 is configured to enable the basic input/output module 124 to be powered on normally. In another embodiment, an initial profile is further stored in the substrate control port 122. The initial profile is used to indicate various parameter configurations in the basic input/output module 124, and the initial profile is not updated in synchronization with the first profile or the second profile. In this embodiment, when an error event or an exception event occurs during the boot process, the motherboard 12 is re-opened, for example, by the watchdog timer, and the initial profile is loaded by the base controller 122. The input and output module 124 is configured to enable the basic input/output module 124 to be powered on normally.

綜合以上所述,本發明提供了一種主機板及其設定更新方法,藉由基板控制器,選擇性地更新基本輸入輸出系統中的設定檔。此外,搭配相關的判斷流程,更可在出現例外事件或者是錯誤事件的時候,進一步地偵錯以及重新進行正確的更新。因此,基於本發明所提供的一種主機板及其設定更新方法,相關人員不再需要被派遣到機器所在的現場才能夠佈署主機板的基本輸入輸出設定,而可以經由遠端進行佈署,大大減少了人力與時間成本。此外,也無需像以往必須對各個機器逐一進行基本輸入輸出系統的設定,而可以經由客戶端軟體工具或者網頁介面(Web User Interface, Web UI),在同一時間內對資料中心內的大量機器同時進行設定,大幅降低人力及時間成本。經由遠端批次設定,亦可以避免由人力手動設定之失誤,大幅降低部署出錯機率。而且,更能自動應應例外事件或者是錯誤事件,無需手動排除錯誤狀況,提升了系統執行之穩定性。不只提升了效率,同時也提高了可用性以及降低了部署時的錯誤率。In summary, the present invention provides a motherboard and a setting update method thereof for selectively updating a profile in a basic input/output system by a base controller. In addition, with the relevant judgment process, it is possible to further debug and re-correct the update when an exception or error event occurs. Therefore, based on the motherboard and the setting update method provided by the present invention, the relevant personnel no longer need to be dispatched to the site where the machine is located to be able to deploy the basic input and output settings of the motherboard, but can be deployed via the remote end. Significantly reduced manpower and time costs. In addition, there is no need to set the basic input/output system one by one for each machine as in the past, but at the same time, a large number of machines in the data center can be simultaneously executed via a client software tool or a web user interface (Web UI). Make settings to significantly reduce labor and time costs. Through remote batch setting, it can also avoid the mistakes manually set by manpower, greatly reducing the probability of deployment error. Moreover, it is more automatic to respond to exception events or error events, without having to manually eliminate error conditions, which improves the stability of system execution. Not only does it improve efficiency, it also increases usability and reduces the error rate during deployment.

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

1‧‧‧伺服器系統1‧‧‧Server system

12、14、16‧‧‧主機板12, 14, 16‧‧‧ motherboard

122、142、162‧‧‧基板控制噐122, 142, 162‧‧‧ substrate control

124、144、164‧‧‧基本輸入輸出模組124, 144, 164‧‧‧ basic input and output modules

1222、1422、1622‧‧‧儲存單元1222, 1422, 1622‧‧‧ storage unit

18‧‧‧中央控制模組18‧‧‧Central Control Module

20‧‧‧外部控制模組20‧‧‧External control module

圖1係為根據本發明一實施例所繪示之主機板的功能方塊圖。 圖2係為根據本發明一實施例所繪示之伺服器系統的功能方塊圖。 圖3係為根據本發明一實施例所繪示之設定更新方法的流程示意圖。 圖4係為根據本發明另一實施例所繪示之伺服器系統的功能方塊圖。 圖5係為根據本發明另一實施例所繪示之設定更新方法的流程示意圖。 圖6係為根據本發明更一實施例所繪示之設定更新方法的流程示意圖。FIG. 1 is a functional block diagram of a motherboard according to an embodiment of the invention. FIG. 2 is a functional block diagram of a server system according to an embodiment of the invention. FIG. 3 is a schematic flow chart of a setting update method according to an embodiment of the invention. 4 is a functional block diagram of a server system according to another embodiment of the present invention. FIG. 5 is a schematic flowchart diagram of a setting update method according to another embodiment of the present invention. FIG. 6 is a schematic flow chart of a setting update method according to a further embodiment of the present invention.

Claims (10)

一種設定更新方法,適用於一主機板,該主機板包括一基板控制器與一基本輸入輸出模組,該基板控制器電性連接該基本輸入輸出模組,該基本輸入輸出模組具有一第一設定檔,該基本輸入輸出模組用以於一開機時間區間中依據該第一設定檔進行一開機程序,該設定更新方法包括:自該基板控制器取得一第二設定檔; 判斷一旗標單元為一更新旗標狀態或一保留旗標狀態;當該旗標單元為該更新旗標狀態時,於一更新時間區間中依據該第二設定檔選擇性地調整該第一設定檔;當該旗標單元為該保留旗標狀態時,於該更新時間區間中不依據該第二設定檔選擇性地調整該第一設定檔;依據該基板控制器接收到的一外部設定檔更新該第二設定檔;以及調整該旗標單元為該更新旗標狀態。A setting update method is applicable to a motherboard, the motherboard includes a substrate controller and a basic input/output module, the substrate controller is electrically connected to the basic input/output module, and the basic input/output module has a first a setting file, the basic input/output module is configured to perform a booting process according to the first setting file in a booting time interval, the setting updating method includes: obtaining a second setting file from the substrate controller; determining a flag The flag unit is an update flag state or a reserved flag state; when the flag cell is in the update flag state, the first profile is selectively adjusted according to the second profile in an update time interval; When the flag unit is in the reserved flag state, the first profile is not selectively adjusted according to the second profile in the update time interval; and the external profile is updated according to an external profile received by the substrate controller a second profile; and adjusting the flag unit to the update flag state. 如請求項1所述之設定更新方法,更包括:依據該基板控制器接收到的該外部設定檔產生一校驗和值(check sum);依據該校驗和值判斷接收到的該外部設定檔是否正確;以及當判斷接收到的該外部設定檔正確時,依據該外部設定檔選擇性地調整該第二設定檔,並調整該旗標單元為該更新旗標狀態。The setting update method of claim 1, further comprising: generating a check sum according to the external profile received by the substrate controller; determining the received external setting according to the checksum value Whether the file is correct; and when it is determined that the received external profile is correct, the second profile is selectively adjusted according to the external profile, and the flag cell is adjusted to be the update flag state. 如請求項1所述之設定更新方法,更包括當該基本輸入輸出模組於該更新時間區間中接收到一本地控制指令時,依據該本地控制指令調整該第一設定檔,並調整該旗標單元為該保留旗標狀態 ;其中,更依據該第一設定檔調整該第二設定檔。The setting update method of claim 1, further comprising: when the basic input/output module receives a local control instruction in the update time interval, adjusting the first configuration file according to the local control instruction, and adjusting the flag The target unit is the reserved flag state; wherein the second profile is further adjusted according to the first profile. 如請求項3所述之設定更新方法,更包括:偵測該開機程序中是否發生有錯誤事件或例外事件;當偵測到該開機程序中發生有錯誤事件或例外事件,令該基本輸入輸出模組停止該開機程序;依據該第二設定檔調整該第一設定檔;以及令該基本輸入輸出模組依據調整後的該第一設定檔重新進行該開機程序。The method for updating the setting as described in claim 3, further comprising: detecting whether an error event or an exception event occurs in the booting program; and detecting an error event or an exception event in the booting program, causing the basic input and output The module stops the booting process; adjusts the first profile according to the second profile; and causes the basic input/output module to restart the booting process according to the adjusted first profile. 如請求項1所述之設定更新方法,其中該旗標單元為該第二設定檔中的一表頭子檔。The setting update method of claim 1, wherein the flag unit is a header sub-file in the second configuration file. 一種主機板,包括:一基本輸入輸出模組,具有一第一設定檔,該基本輸入輸出模組用以依據該第一設定檔於一開機時間區間中進行一開機程序,且該基本輸入輸出模組用以判斷一旗標單元為一更新旗標狀態或一保留旗標狀態;以及一基板控制器,電性連接該基本輸入輸出模組,該基板控制器具有一儲存單元,該儲存單元用以儲存一第二設定檔;其中,當該旗標單元為該更新旗標狀態時,於一更新時間區間中依據該第二設定檔選擇性地調整該第一設定檔,當該旗標單元為該保留旗標狀態時,於該更新時間區間中不依據該第二設定檔選擇性地調整該第一設定檔,該更新時間區間先於該開機時間區間;其中該基板控制器用以經由網路接收一外部設定檔,當該基板控制器接收到該外部設定檔時,該基板控制器依據該外部設定檔調整該第二設定檔,且該基板控制器調整該旗標單元為該更新旗標狀態。A motherboard includes: a basic input/output module having a first configuration file, wherein the basic input/output module is configured to perform a booting process in a boot time interval according to the first configuration file, and the basic input and output The module is configured to determine that a flag unit is an update flag state or a reserved flag state; and a base controller is electrically connected to the basic input output module, the base controller has a storage unit, and the storage unit is used by the storage unit And storing a second profile; wherein, when the flag cell is in the update flag state, the first profile is selectively adjusted according to the second profile in an update time interval, when the flag component When the flag state is reserved, the first profile is not selectively adjusted according to the second profile in the update time interval, and the update time interval precedes the boot time interval; wherein the base controller is used to Receiving an external profile, when the substrate controller receives the external profile, the substrate controller adjusts the second profile according to the external profile, and the base Controller means for adjusting the flag state update flag. 如請求項6所述之主機板,該基板控制器依據接收到的該外部設定檔產生一校驗和值(check sum),該基板控制器依據該校驗和值判斷該外部設定檔是否正確,當該基板控制器判斷該外部設定檔正確時,該基板控制器依據該外部設定檔調整該第二設定檔,且該基板控制器調整該旗標單元為該更新旗標狀態。The motherboard of claim 6, the substrate controller generates a check sum according to the received external profile, and the substrate controller determines whether the external profile is correct according to the checksum value. When the substrate controller determines that the external profile is correct, the substrate controller adjusts the second profile according to the external profile, and the substrate controller adjusts the flag cell to the update flag state. 如請求項6所述之主機板,當該基本輸入輸出模組於該更新時間區間中接收到一本地控制指令時,該基本輸入輸出模組依據該本地控制指令調整該第一設定檔,且該旗標單元被調整為該保留旗標狀態;其中,該基板控制器依據調整後的該第一設定檔調整該第二設定檔。The motherboard of claim 6, when the basic input/output module receives a local control command in the update time interval, the basic input/output module adjusts the first profile according to the local control command, and The flag unit is adjusted to the reserved flag state; wherein the substrate controller adjusts the second profile according to the adjusted first profile. 如請求項8所述之主機板,其中當該開機程序發生有錯誤事件或例外事件時,該基板控制器依據該第二設定檔調整該第一設定檔,且該基板控制器令該基本輸入輸出模組依據調整後的該第一設定檔重新進行該開機程序,該旗標單元被調整為該更新旗標狀態。The motherboard of claim 8, wherein when the booting program has an error event or an exception event, the substrate controller adjusts the first profile according to the second profile, and the substrate controller makes the basic input The output module re-executes the booting process according to the adjusted first configuration file, and the flag unit is adjusted to the update flag state. 如請求項6所述之主機板,其中該旗標單元為該第二設定檔中的一表頭子檔。The motherboard of claim 6, wherein the flag unit is a header sub-file of the second profile.
TW105140517A 2016-12-07 2016-12-07 Mainboard and setting updating method thereof TWI668635B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105140517A TWI668635B (en) 2016-12-07 2016-12-07 Mainboard and setting updating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105140517A TWI668635B (en) 2016-12-07 2016-12-07 Mainboard and setting updating method thereof

Publications (2)

Publication Number Publication Date
TW201821986A TW201821986A (en) 2018-06-16
TWI668635B true TWI668635B (en) 2019-08-11

Family

ID=63258148

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105140517A TWI668635B (en) 2016-12-07 2016-12-07 Mainboard and setting updating method thereof

Country Status (1)

Country Link
TW (1) TWI668635B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI743480B (en) * 2019-05-17 2021-10-21 英商鼎通盛股份有限公司 Computer system and a booting method for the same
TWI812521B (en) * 2022-10-24 2023-08-11 神雲科技股份有限公司 Boot method based on hard disk type

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8839226B2 (en) * 2001-09-28 2014-09-16 Intel Corporation System for atomically updating a plurality of files
TW201610850A (en) * 2014-09-08 2016-03-16 廣達電腦股份有限公司 Method, managing apparatus, and computer-readable medium for managing basic input/output system configurations of a computer system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8839226B2 (en) * 2001-09-28 2014-09-16 Intel Corporation System for atomically updating a plurality of files
TW201610850A (en) * 2014-09-08 2016-03-16 廣達電腦股份有限公司 Method, managing apparatus, and computer-readable medium for managing basic input/output system configurations of a computer system

Also Published As

Publication number Publication date
TW201821986A (en) 2018-06-16

Similar Documents

Publication Publication Date Title
US9110843B2 (en) Rack and method thereof for simultaneously updating basic input output systems
TWI655582B (en) Server with dual firmware storage space and firmware update method thereof
US9798632B2 (en) Providing boot data in a cluster network environment
US9386079B2 (en) Method and system of virtual desktop infrastructure deployment studio
JP5564956B2 (en) Information processing apparatus and firmware update method for information processing apparatus
CN107171833B (en) Method for realizing batch upgrading of BMC and BIOS of server through BMC
US10474451B2 (en) Containerized upgrade in operating system level virtualization
CN110209405B (en) Automatic upgrading method and device for distributed system
US9983791B2 (en) System management controller and method of configuration file backup and recovery
EP2888864B1 (en) System and method for ensuring internet protocol (ip) address and node name consistency in a middleware machine environment
JP2013164842A (en) Electronic device having restoration function of bmc firmware and restoration method of the same
TW201704994A (en) Technology for updating a server image file
TWI668635B (en) Mainboard and setting updating method thereof
CN106293842B (en) Software installation method and device
JP6028851B2 (en) Information processing apparatus, program update method, and program
TWI786871B (en) Computer and system bootup method
WO2015154578A1 (en) Remote upgrade method, device and system of boot program of single board
TWI801730B (en) Server with system setting data synchronization function
US11113072B2 (en) Boot personality for network device
TW201523447A (en) Server system and firmware update method
EP3643020B1 (en) System and method for stabilizing a bacnet mstp network when failures occur
CN105579962B (en) System and method for being loaded into mirror image on storage device
KR102020798B1 (en) Method and System for performing automated test
CN116301960A (en) New method, device, equipment and medium for actively updating firmware
CN113688143A (en) Server with system setting data synchronization function