TW201804316A - Setting method of accessing system parameters and server using the same - Google Patents

Setting method of accessing system parameters and server using the same Download PDF

Info

Publication number
TW201804316A
TW201804316A TW105122955A TW105122955A TW201804316A TW 201804316 A TW201804316 A TW 201804316A TW 105122955 A TW105122955 A TW 105122955A TW 105122955 A TW105122955 A TW 105122955A TW 201804316 A TW201804316 A TW 201804316A
Authority
TW
Taiwan
Prior art keywords
cmos
server
setting
memory
parameter
Prior art date
Application number
TW105122955A
Other languages
Chinese (zh)
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 TW105122955A priority Critical patent/TW201804316A/en
Publication of TW201804316A publication Critical patent/TW201804316A/en

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

A setting method of accessing system parameters and a server are provided. The server includes a baseboard management controller. The setting method includes the following steps. First, a remote device is used to log in a webpage interface of the server according to a network address. Then, a setup parameter of the server is read out from a storage space of the baseboard management controller and then is loaded in the webpage interface.

Description

系統參數存取的設定方法及其伺服器Method for setting system parameter access and its server

本發明係關於一種伺服器,特別是一種可以透過網頁介面查詢或編輯設定參數的系統參數存取的設定方法及其伺服器。The invention relates to a server, in particular to a setting method of a system parameter access which can query or edit a setting parameter through a webpage interface and a server thereof.

目前,倘若使用者想要查看或者修改電腦中CMOS記憶體裡的設定時,以現有的做法來說,大致上可藉由兩種方式。其中一種方式是在系統開機進入開機自我檢測(Power-On Self-Test,簡稱POST)階段時,使用者必須及時按下鍵盤上的按鍵F9或其他任何指定按鍵,以進入CMOS的設定介面,然後再利用鍵盤選擇需要查看或者修改的選項。然而,透過這種必須在出現開機自我檢測畫面時及時地手動按下鍵盤上的按鍵才能進入CMOS設定介面的作法,倘若使用者在系統已經開機完成後想要查看或者修改CMOS的設定,則使用者必須自行手動重新啟動系統並按下特定按鍵,才能進入CMOS設定介面。此外,使用者也容易因為錯失按下指定按鍵的時機而導致必須不斷地重新開機直到能及時按下指定按鍵為止。At present, if the user wants to view or modify the settings in the CMOS memory of the computer, in the current practice, there are basically two ways. One way is to press the button F9 or any other designated button on the keyboard to enter the CMOS setting interface when the system is powered on and enter the Power-On Self-Test (POST) phase. Then use the keyboard to select the options you want to view or modify. However, it is necessary to manually press the button on the keyboard in time to enter the CMOS setting interface when the boot self-test screen appears, if the user wants to view or modify the CMOS settings after the system has been turned on, use You must manually restart the system and press a specific button to enter the CMOS setup interface. In addition, the user is also prone to having to constantly reboot after losing the opportunity to press the designated button until the designated button can be pressed in time.

另外一種方式則是在電腦上額外安裝特定的應用軟體。當使用者想要查看或者修改CMOS的設定時,則必須等到系統進入作業系統(Operating System,簡稱OS)階段後才能開啟已安裝好的應用軟體。這種作法雖然可以在作業系統下直接查看或者修改CMOS的設定,但由於必須額外安裝應用軟體,因此也需要花費額外的成本。Another way is to install additional application software on your computer. When the user wants to view or modify the CMOS settings, the user must wait until the system enters the operating system (OS) phase before the installed application software can be opened. Although this method can directly view or modify the CMOS settings under the operating system, it also requires additional costs because additional application software must be installed.

此外,由於上述兩種方法都是在自身電腦上執行,只能查看或者修改自身電腦的CMOS的設定,因此倘若使用者的所在位置不在此電腦的周邊而無法操作此電腦時,使用者則無法查看或者修改此電腦的CMOS的設定。In addition, since the above two methods are executed on their own computers, they can only view or modify the CMOS settings of their own computers. Therefore, if the user's location is not around the computer and the computer cannot be operated, the user cannot. View or modify the CMOS settings of this computer.

本發明在於提供一種系統參數存取的設定方法及其伺服器,藉以解決以往為了查看或修改CMOS的設定參數,而必須利用鍵盤上的特定按鍵進入CMOS設定界面,或者額外地安裝特定的應用軟體所造成操作上不便利的問題。The invention provides a method for setting system parameter access and a server thereof, so as to solve the past setting parameters for viewing or modifying CMOS, it is necessary to use a specific button on the keyboard to enter the CMOS setting interface, or to additionally install a specific application software. The problem caused by the operation is not convenient.

本發明所揭露的一種系統參數存取的設定方法,適用於一伺服器,此伺服器包含一基板管理控制器(Baseboard Management Controller,簡稱BMC)。在一實施例中,系統參數存取的設定方法包含以下步驟。首先,透過一遠端裝置,根據一網路位址登入伺服器的一網頁介面。然後,自基板管理控制器的一儲存空間中讀取伺服器的一CMOS的設定參數,並將此CMOS的設定參數載入網頁介面中。The method for setting the system parameter access disclosed in the present invention is applicable to a server, and the server includes a Baseboard Management Controller (BMC). In an embodiment, the method of setting system parameter access includes the following steps. First, through a remote device, a web interface of the server is accessed according to a network address. Then, a CMOS setting parameter of the server is read from a storage space of the substrate management controller, and the setting parameters of the CMOS are loaded into the web interface.

系統參數存取的設定方法的另一實施例中,當上述的網頁介面中的CMOS的設定參數被修改時,遠端裝置將已被修改的CMOS的設定參數寫入儲存空間中並覆蓋舊的CMOS的設定參數。In another embodiment of the setting method of the system parameter access, when the setting parameter of the CMOS in the webpage interface is modified, the remote device writes the modified CMOS setting parameter into the storage space and overwrites the old one. CMOS setting parameters.

系統參數存取的設定方法的再一實施例中,伺服器更包含一記憶體,此記憶體電性連接於基板管理控制器,初始的CMOS的設定參數係於伺服器第一次開機時被寫入此記憶體中。In still another embodiment of the method for setting a system parameter access, the server further includes a memory electrically connected to the substrate management controller, and the initial CMOS setting parameter is when the server is powered on for the first time. Write to this memory.

再一實施例中,系統參數存取的設定方法更包含以下步驟。於伺服器開機時,判斷上述的儲存空間中的CMOS的設定參數是否與上述的記憶體中的CMOS的設定參數相同。當儲存空間中的CMOS的設定參數不同於記憶體中的CMOS的設定參數時,將儲存空間中的CMOS的設定參數覆蓋記憶體中的CMOS的設定參數。In another embodiment, the setting method of the system parameter access further includes the following steps. When the server is powered on, it is determined whether the setting parameter of the CMOS in the above storage space is the same as the setting parameter of the CMOS in the above-mentioned memory. When the setting parameter of the CMOS in the storage space is different from the setting parameter of the CMOS in the memory, the setting parameter of the CMOS in the storage space covers the setting parameter of the CMOS in the memory.

本發明的一實施例所揭露的一種伺服器包含一基板管理控制器。基板管理控制器包含用以儲存CMOS的設定參數的一儲存空間。基板管理控制器通訊連接至一遠端裝置,並且用以當遠端裝置根據一網路位址登入伺服器的一網頁介面時,基板管理控制器將儲存空間中的CMOS的設定參數傳送至遠端裝置,進而使網頁介面載入此CMOS的設定參數。A server disclosed in an embodiment of the invention includes a substrate management controller. The substrate management controller includes a storage space for storing setting parameters of the CMOS. The baseboard management controller is communicatively coupled to a remote device and configured to transmit the CMOS setting parameters in the storage space to the remote device when the remote device logs into a web interface of the server according to a network address. The end device, which in turn causes the web interface to load the settings parameters of the CMOS.

伺服器的另一實施例中,當網頁介面中的CMOS的設定參數被修改時,基板管理控制器將遠端裝置上已被修改的CMOS的設定參數儲存至儲存空間中並覆蓋舊的CMOS的設定參數。In another embodiment of the server, when the setting parameters of the CMOS in the web interface are modified, the substrate management controller stores the set parameters of the modified CMOS on the remote device into the storage space and overwrites the old CMOS. Setting parameters.

再一實施例中,伺服器更包含一記憶體。此記憶體電性連接於基板管理控制器,記憶體用以於伺服器第一次開機時,載入初始的CMOS的設定參數。In still another embodiment, the server further includes a memory. The memory is electrically connected to the substrate management controller, and the memory is used to load the initial CMOS setting parameters when the server is powered on for the first time.

再一實施例中,伺服器更包含一處理器。處理器電性連接於記憶體和基板管理控制器。處理器用以於伺服器開機時,判斷儲存空間中的CMOS的設定參數是否與記憶體中的CMOS的設定參數相同。當儲存空間中的CMOS的設定參數不同於記憶體中的CMOS的設定參數時,處理器將儲存空間中的CMOS的設定參數覆蓋記憶體中的CMOS的設定參數。In still another embodiment, the server further includes a processor. The processor is electrically connected to the memory and the substrate management controller. The processor is configured to determine whether the setting parameter of the CMOS in the storage space is the same as the setting parameter of the CMOS in the memory when the server is powered on. When the setting parameter of the CMOS in the storage space is different from the setting parameter of the CMOS in the memory, the processor overwrites the setting parameter of the CMOS in the storage space with the setting parameter of the CMOS in the memory.

伺服器的再一實施例中,上述的記憶體為一非揮發隨機存取記憶體。In still another embodiment of the server, the memory is a non-volatile random access memory.

伺服器的再一實施例中,上述的儲存空間係由一快閃記憶體提供,且此快閃記憶體係內建於所述的基板管理控制器。In still another embodiment of the server, the storage space is provided by a flash memory, and the flash memory system is built in the substrate management controller.

根據上述本發明所揭露的系統參數存取的設定方法及其伺服器,藉由將伺服器中的一記憶體中的CMOS的設定參數備份至一基板管理控制器中的儲存空間,且基板管理控制器可與一遠端裝置進行通訊,使得無論伺服器是否開機,此遠端裝置都可鏈結至伺服器的一網頁介面,並且將儲存在基板管理控制器的儲存空間中的CMOS的設定參數載入此網頁介面。透過此網頁介面,使用者得以直接查看甚至編輯伺服器當前的參數設定。因此,使用者無須再為了查看或修改CMOS的設定參數而利用鍵盤上的特定按鍵進入CMOS設定界面,無須再忍受因錯失按下特定按鍵的時機而需不斷重新開機的煩擾,也無須再額外地安裝特定的應用軟體,並且使用者也可在遠端監控任何使用者想要監控的伺服器。According to the method for setting system parameter access and the server thereof disclosed in the above, the setting parameters of the CMOS in a memory in the server are backed up to the storage space in a substrate management controller, and the substrate management is performed. The controller can communicate with a remote device such that the remote device can be linked to a web interface of the server regardless of whether the server is powered on, and the CMOS settings stored in the storage space of the baseboard management controller are The parameters are loaded into this web interface. Through this web interface, users can directly view and even edit the current parameter settings of the server. Therefore, the user does not need to enter the CMOS setting interface by using a specific button on the keyboard in order to view or modify the setting parameters of the CMOS, and there is no need to endure the trouble of constantly restarting due to the missed timing of pressing a specific button, and there is no need to additionally A specific application software is installed, and the user can also remotely monitor any server that the user wants to monitor.

以上之關於本揭露內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。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,圖1係根據本發明一實施例所繪示之伺服器10與遠端裝置20互動的示意圖。如圖所示,伺服器10與遠端裝置20皆具有上網功能。因此,在一實施例中,伺服器10可透過網路30與遠端裝置20進行通訊,並且網路30可為有線網路或無線網路。在另一實施例中,伺服器10可透過傳輸線直接連接遠端裝置20。在本發明中,伺服器10與遠端裝置20間的通訊方式並不限於有線通訊的方式或無線通訊的方式。Please refer to FIG. 1. FIG. 1 is a schematic diagram of interaction between a server 10 and a remote device 20 according to an embodiment of the invention. As shown, both the server 10 and the remote device 20 have an Internet access function. Thus, in one embodiment, server 10 can communicate with remote device 20 over network 30, and network 30 can be a wired or wireless network. In another embodiment, the server 10 can be directly coupled to the remote unit 20 via a transmission line. In the present invention, the communication mode between the server 10 and the remote device 20 is not limited to the manner of wired communication or the manner of wireless communication.

伺服器10至少包含一處理器110、一基板管理控制器120和一記憶體130,且處理器110、基板管理控制器120和記憶體130可相互電性連接。詳細地說,在一實施例中,記憶體130的一寫入控制接口WE和一輸出控制接口OE連接至處理器110;記憶體130的資料存取接口A0~A19(以下統稱為儲存位址端134)可電性連接至處理器110和基板管理控制器120;以及記憶體130的輸入輸出接口IO1~IO7(以下統稱為資料端132)可電性連接至處理器110和基板管理控制器120。前述關於處理器110、基板管理控制器120和記憶體130之間各個接口的連接方式僅作為本發明說明的實施範例,並非用以限制本發明的可實施範圍;換句話說,所屬領域中具有通常知識者可根據實際的需求及應用來設計處理器110、基板管理控制器120和記憶體130之間各個接口的連接方式。The server 10 includes at least one processor 110, a substrate management controller 120, and a memory 130. The processor 110, the substrate management controller 120, and the memory 130 are electrically connected to each other. In detail, in an embodiment, a write control interface WE and an output control interface OE of the memory 130 are connected to the processor 110; the data access interfaces A0~A19 of the memory 130 (hereinafter collectively referred to as a storage address) The terminal 134) is electrically connected to the processor 110 and the substrate management controller 120; and the input and output interfaces IO1 IOIO7 of the memory 130 (hereinafter collectively referred to as the data terminal 132) are electrically connected to the processor 110 and the substrate management controller 120. The foregoing connection manners of the interfaces between the processor 110, the substrate management controller 120 and the memory 130 are only examples of the embodiments of the present invention, and are not intended to limit the scope of implementation of the present invention; in other words, there are fields in the art. Generally, the knowledge provider can design the connection manner of each interface between the processor 110, the substrate management controller 120, and the memory 130 according to actual needs and applications.

處理器110用以掌管整個伺服器10的運作。以處理器的其中一項功能來說,當伺服器10開機時,處理器110會根據儲存位址端134上所定義的位址,自記憶體130的資料端讀取出伺服器10的一或多個CMOS的設定參數,並根據讀取出來的一或多個CMOS的設定參數進行後續運作及控制。此外,處理器110也可進一步地判斷CMOS的設定參數是否被更新,進而使伺服器10可根據最新的CMOS的設定參數運作。關於處理器110讀取伺服器10的CMOS的設定參數、判斷CMOS的設定參數是否被更新等的運作細節以及處理器110的其他相關運作將於後續說明。The processor 110 is used to manage the operation of the entire server 10. In one of the functions of the processor, when the server 10 is powered on, the processor 110 reads one of the servers 10 from the data end of the memory 130 according to the address defined on the storage address end 134. Or a plurality of CMOS setting parameters, and perform subsequent operations and control according to the read one or more CMOS setting parameters. In addition, the processor 110 can further determine whether the setting parameters of the CMOS are updated, thereby enabling the server 10 to operate according to the latest CMOS setting parameters. Details of the operation of the processor 110 reading the CMOS setting parameters of the server 10, determining whether the CMOS setting parameters are updated, and other related operations of the processor 110 will be described later.

基板管理控制器120是基於智慧平臺管理介面(Intelligent Platform Management Interface,簡稱IPMI)對伺服器10管理的核心。基板管理控制器120使用獨立的電源、網路介面控制器(或稱網卡)(Network Interface Controller,簡稱NIC)和韌體(Firmware),並具體實現例如為感測器監控、系統日誌(System Even Log,簡稱SEL)、基於內核的虛擬機(Kernel-based Virtual Machine,簡稱KVM)/區域網路串行(Serial Over LAN,簡稱SOL)/ 虛擬媒體(Virtual Media)、電源控制以及警示等功能。在此,本發明並不限制基板管理控制器120所具備的功能,在所屬技術領域中具有通常之事者可根據實際上的需求進行設計與定義。在此實施例中,基板管理控制器120的網路介面控制器設置有一或多個網路端口,因此基板管理控制器120可透過網路端口與網路30進行通訊。此外,基板管理控制器120的網路介面控制器可為專用式網路介面控制器(Dedicated NIC)或共享式網路介面控制器(Shared NIC)。在此實施例中,本發明並不限制基板管理控制器120的網路介面控制器的類型;換句話說,在所屬技術領域中具有通常知識者可根據實際上的需求及應用選用適當的網路介面控制器。以實際的例子來說,由於基板管理控制器120可獨立地運作,因此在伺服器10未開機或處於休眠狀態時,基板管理控制器120仍可透過網路介面控制器與遠端裝置20進行相互的通訊。關於基板管理控制器120的內部元件及相關運作將於後續一併說明。The baseboard management controller 120 is a core that is managed by the server 10 based on an Intelligent Platform Management Interface (IPMI). The baseboard management controller 120 uses a separate power supply, a network interface controller (or network interface controller (NIC), and a firmware), and implements, for example, sensor monitoring, system log (System Even Log, referred to as SEL), Kernel-based Virtual Machine (KVM)/Serial Over LAN (SOL)/Virtual Media (Virtual Media), power control, and alerting. Here, the present invention does not limit the functions of the substrate management controller 120, and those having ordinary circumstances in the art can design and define according to actual needs. In this embodiment, the network interface controller of the baseboard management controller 120 is provided with one or more network ports, so the baseboard management controller 120 can communicate with the network 30 through the network port. In addition, the network interface controller of the baseboard management controller 120 can be a dedicated network interface controller (Dedicated NIC) or a shared network interface controller (Shared NIC). In this embodiment, the present invention does not limit the type of the network interface controller of the baseboard management controller 120; in other words, those having ordinary knowledge in the art can select an appropriate network according to actual needs and applications. Road interface controller. In a practical example, since the baseboard management controller 120 can operate independently, the baseboard management controller 120 can still perform the remote interface device 20 through the network interface controller when the server 10 is not powered on or in a sleep state. Mutual communication. The internal components of the substrate management controller 120 and related operations will be described later.

記憶體130中設置有多個儲存空間,每一個儲存空間對應有一個儲存位址,並且每一個儲存空間的儲存位址係由記憶體130的儲存位址端134所指定。因此,記憶體130可允許任一電子元件、模組或裝置可根據一儲存空間的儲存位址存取對此儲存空間進行資料的存取動作。以下將以基板管理控制器120對記憶體130進行資料存取作為示範性說明。The memory 130 is provided with a plurality of storage spaces, each storage space corresponding to a storage address, and the storage address of each storage space is specified by the storage address end 134 of the memory 130. Therefore, the memory 130 can allow any electronic component, module or device to access the data access operation of the storage space according to the storage address of a storage space. The data access of the memory 130 by the substrate management controller 120 will be exemplarily described below.

舉例來說,當基板管理控制器120試圖寫入一筆資料至記憶體130時,基板管理控制器120會先致能記憶體130,並使輸出控制接口OE的電壓準位為高準位,寫入控制接口WE的電壓準位為低準位;此時,在資料端132上的該筆資料便可被寫進儲存位址端134上指定的一儲存位址所對應的一儲存空間中。以另一示例來說,當基板管理控制器120試圖從記憶體130中讀取出一筆資料時,基板管理控制器120會先致能記憶體130,並使輸出控制接口OE的電壓準位為低準位,寫入控制接口WE的電壓準位為高準位;此時,基板管理控制器120便可根據儲存位址端134上指定的一儲存位址,讀取出此儲存位址所對應的一儲存空間中的資料。至於其他電子元件、模組或裝置欲存取記憶體130中儲存的資料時,也可透過類似上述的方式存取資料,故於此不再贅述。For example, when the substrate management controller 120 attempts to write a piece of data to the memory 130, the substrate management controller 120 first enables the memory 130 and sets the voltage level of the output control interface OE to a high level. The voltage level of the input control interface WE is a low level; at this time, the data on the data terminal 132 can be written into a storage space corresponding to a specified storage address on the storage address end 134. In another example, when the substrate management controller 120 attempts to read a piece of data from the memory 130, the substrate management controller 120 first enables the memory 130 and causes the voltage level of the output control interface OE to be The low level, the voltage level of the write control interface WE is a high level; at this time, the substrate management controller 120 can read the storage address according to a storage address specified on the storage address end 134. Corresponding data in a storage space. When other electronic components, modules, or devices want to access the data stored in the memory 130, the data can also be accessed in a manner similar to that described above, and thus will not be described herein.

值得注意的是,上述有關於一電子元件、模組或裝置存取記憶體130中儲存的資料時各個接口的電壓準位的設定僅作為本發明說明的示例並非用以限制本發明的實施範圍,因此所屬領域中具有通常知識者可根據實際上的需求及應用來設計及定義記憶體130中各個接口的電壓準位。此外,在一實施例中,記憶體130可為一非揮發隨機存取記憶體(Non-volatile Random Access Memory,簡稱NVRAM)或者為任何其他在電源供應中斷後,儲存的資料不會消失的記憶體。It should be noted that the setting of the voltage level of each interface when an electronic component, module or device accesses the data stored in the memory 130 is only an example of the description of the present invention and is not intended to limit the scope of implementation of the present invention. Therefore, those having ordinary knowledge in the art can design and define the voltage levels of the respective interfaces in the memory 130 according to actual needs and applications. In addition, in an embodiment, the memory 130 can be a non-volatile random access memory (NVRAM) or any other memory that does not disappear after the power supply is interrupted. body.

另外,由於要存取記憶體130中的資料必須在記憶體130被致能的情況下才能執行,而記憶體130在伺服器10開機時才會被致能,因此以儲存CMOS的設定參數列表來說,若是要在記憶體130未被致能的情況下查詢或編輯CMOS的設定參數列表時,則需要一個在記憶體130未被致能的情況下可供使用者查詢或編輯CMOS的設定參數列表的相關機制或裝置。對此,基板管理控制器120在一實施例中更提供一儲存空間,且此儲存空間可由內建於基板管理控制器120中的一快閃記憶體122提供。本發明並不限制基板管理控制器120的儲存空間的實現方式以及存取儲存空間中的資料的方式,所屬技術領域中具有通常知識者可根據實際的需求及應用來設計基板管理控制器120的儲存空間的實現方式以及存取儲存空間中的資料的方式。In addition, since the data to be accessed in the memory 130 must be enabled when the memory 130 is enabled, the memory 130 is enabled when the server 10 is powered on, so that the CMOS parameter list is stored. In other words, if the CMOS parameter list is to be queried or edited when the memory 130 is not enabled, then a setting for the user to query or edit the CMOS is not required if the memory 130 is not enabled. The relevant mechanism or device for the parameter list. In this regard, the substrate management controller 120 further provides a storage space in an embodiment, and the storage space can be provided by a flash memory 122 built into the substrate management controller 120. The present invention does not limit the implementation of the storage space of the substrate management controller 120 and the manner of accessing the data in the storage space. Those skilled in the art can design the substrate management controller 120 according to actual needs and applications. The way the storage is implemented and how the data in the storage is accessed.

在此實施例中,當伺服器10第一次開機時,處理器110可將初始的CMOS的設定參數列表同時寫入基板管理控制器120的儲存空間和記憶體130中,或者是將記憶體130中初始的CMOS的設定參數列表映射地儲存至基板管理控制器120的儲存空間中。因此,當伺服器10開機或重開機時,處理器110可快速地判斷儲存在基板管理控制器120的儲存空間中列表內的CMOS的設定參數是否相同於儲存在記憶體130中列表內相對應的CMOS的設定參數。當基板管理控制器120的儲存空間中的CMOS的設定參數相同於儲存在記憶體130中相對應的CMOS的設定參數時,表示CMOS的設定參數未被修改。此時,處理器110可直接讀取儲存在記憶體130中列表內的CMOS的設定參數,以進行後續運作及控制。相反地,當基板管理控制器120的儲存空間中的列表內CMOS的設定參數不同於儲存在記憶體130中列表內相對應的CMOS的設定參數時,表示基板管理控制器120的儲存空間中或者記憶體130中的CMOS的設定參數列表已被修改或更新。此時,處理器110可讀取已被修改的列表內的CMOS的設定參數,以進行後續運作及控制。In this embodiment, when the server 10 is powered on for the first time, the processor 110 can simultaneously write the initial CMOS parameter setting list into the storage space of the substrate management controller 120 and the memory 130, or the memory. The initial CMOS setting parameter list in 130 is mapped and stored in the storage space of the substrate management controller 120. Therefore, when the server 10 is powered on or restarted, the processor 110 can quickly determine whether the setting parameters of the CMOS stored in the list in the storage space of the substrate management controller 120 are the same as those stored in the list in the memory 130. CMOS setting parameters. When the setting parameter of the CMOS in the storage space of the substrate management controller 120 is the same as the setting parameter of the corresponding CMOS stored in the memory 130, the setting parameter indicating the CMOS is not modified. At this time, the processor 110 can directly read the setting parameters of the CMOS stored in the list in the memory 130 for subsequent operation and control. Conversely, when the setting parameter of the in-list CMOS in the storage space of the substrate management controller 120 is different from the setting parameter of the corresponding CMOS stored in the list in the memory 130, it indicates the storage space of the substrate management controller 120 or The list of setting parameters of the CMOS in the memory 130 has been modified or updated. At this time, the processor 110 can read the setting parameters of the CMOS in the modified list for subsequent operation and control.

並且,上述CMOS的設定參數列表的查詢或編輯可直接在伺服器10上執行,或者可也透過上述的遠端裝置20來執行。以下將示範性地說明CMOS的設定參數列表的查詢或編輯的方法。Moreover, the query or editing of the CMOS parameter list may be performed directly on the server 10 or may also be performed by the remote device 20 described above. A method of querying or editing the setting parameter list of the CMOS will be exemplarily explained below.

在其中一種情況下,當使用者欲直接在伺服器10上查詢或編輯CMOS的設定參數列表時,此時查詢方式和編輯方式可參考現有的查詢或編輯方式(例如在伺服器10開機過程中按下鍵盤上特定的功能鍵進入BIOS的CMOS的設定界面,然後用鍵盤選擇需要查看或修改設定選項;又例如當伺服器10進入作業系統(Operating System,簡稱OS)後,利用安裝在伺服器10上的特定軟體來進行查看或修改的設定選項)或將來可行的查詢或編輯方式,故於此不再贅述。然而,當使用者直接在伺服器10上修改某一CMOS的設定參數後,處理器110除了會在開機後或重開機後判斷出記憶體130中所述的CMOS的設定參數的版本會較新於基板管理控制器120的儲存空間中相對應的CMOS的設定參數的版本以外,處理器110更進一步地將較新版本的CMOS的設定參數儲存至基板管理控制器120的儲存空間中相對應的儲存位址,並覆蓋掉此儲存位址中較舊版本的CMOS的設定參數。前述關於將較新版本的CMOS的設定參數覆蓋掉基板管理控制器120的儲存空間中較舊版本的CMOS的設定參數的方式可根據實際的需求及應用來設計。In one case, when the user wants to directly query or edit the CMOS parameter list on the server 10, the query mode and the editing mode can refer to the existing query or edit mode (for example, during the startup of the server 10). Press the specific function key on the keyboard to enter the BIOS's CMOS setting interface, and then use the keyboard to select the option to view or modify the settings. For example, when the server 10 enters the operating system (OS), it is installed on the server. The specific software on the 10 is used to view or modify the setting options) or the query or editing method that is feasible in the future, so it will not be described here. However, after the user directly modifies a certain CMOS setting parameter on the server 10, the processor 110 determines that the version of the CMOS setting parameter in the memory 130 is newer after the power is turned on or after the power is turned on. The processor 110 further stores the setting parameters of the newer version of the CMOS to the storage space of the substrate management controller 120, in addition to the version of the corresponding CMOS setting parameter in the storage space of the substrate management controller 120. Store the address and override the setting parameters of the older version of CMOS in this storage address. The foregoing manner of covering the setting parameters of the newer version of the CMOS with the setting parameters of the older version of the CMOS in the storage space of the substrate management controller 120 can be designed according to actual needs and applications.

在另一種情況下,當使用者欲透過遠端裝置20查詢或編輯CMOS的設定參數列表時,可透過本發明所提供的系統參數存取的設定方法來進行CMOS的設定參數的查詢或編輯。為了闡明所述的系統參數存取的設定方法,請一併參考圖1和圖2所示。圖2係根據本發明一實施例所繪示之系統參數存取的設定方法的流程圖。系統參數存取的設定方法包含以下步驟。In another case, when the user wants to query or edit the CMOS parameter list through the remote device 20, the CMOS parameter can be queried or edited through the setting method of the system parameter access provided by the present invention. In order to clarify the setting method of the system parameter access, please refer to FIG. 1 and FIG. 2 together. 2 is a flow chart of a method for setting system parameter access according to an embodiment of the invention. The setting method of system parameter access includes the following steps.

首先,在伺服器10第一次開機時,每一個初始的CMOS的設定參數會被寫入記憶體130和基板管理控制器120的儲存空間中,如步驟S210所示。將資料寫入記憶體130的運作細節可參考上述說明,於此將不再贅述。接著,使用者可在遠端裝置20上根據對應伺服器10的一網路位址,登入伺服器10的一網頁介面,如步驟S220所示。舉例來說,網頁介面上具有一或多個參數設定欄位,一個參數設定欄位可對應基板管理控制器120的儲存空間的一儲存位址,因此遠端裝置20會自基板管理控制器120的儲存空間中讀取出伺服器10的CMOS的設定參數(如步驟S230),並將被讀出的CMOS的設定參數載入所述的網頁介面上相對應的參數設定欄位中(如步驟S240)。透過在遠端裝置20上所顯示的網頁介面,使用者可遠端地查看伺服器10目前的參數設定狀況。同時,遠端裝置20也會偵測被顯示的網頁介面中的參數設定是否被編輯,如步驟S250所示。First, when the server 10 is powered on for the first time, each initial CMOS setting parameter is written into the storage space of the memory 130 and the substrate management controller 120, as shown in step S210. For details of the operation of writing data into the memory 130, refer to the above description, and details will not be described herein. Then, the user can log in to a web interface of the server 10 according to a network address of the corresponding server 10 on the remote device 20, as shown in step S220. For example, the web interface has one or more parameter setting fields, and one parameter setting field can correspond to a storage address of the storage space of the substrate management controller 120. Therefore, the remote device 20 will be from the substrate management controller 120. The setting parameters of the CMOS of the server 10 are read out in the storage space (step S230), and the read parameters of the read CMOS are loaded into the corresponding parameter setting fields on the webpage interface (steps) S240). Through the web interface displayed on the remote device 20, the user can remotely view the current parameter setting status of the server 10. At the same time, the remote device 20 also detects whether the parameter setting in the displayed web interface is edited, as shown in step S250.

當遠端裝置20未發現使用者在所述的網頁介面上編輯任何CMOS的設定參數時,遠端裝置20繼續顯示原先被載入的CMOS的設定參數給使用者查看,直到使用者在所述的網頁介面上編輯至少其中一個CMOS的設定參數或者關掉所述的網頁介面。然而,當遠端裝置20發現使用者在所述的網頁介面上編輯至少其中一個CMOS的設定參數時,遠端裝置20可將新的CMOS的設定參數傳送至基板管理控制器120,如步驟S252。基板管理控制器120接著將新的CMOS的設定參數寫入儲存空間中相對應的儲存位址並覆蓋舊的CMOS的設定參數,如步驟S260。When the remote device 20 does not find that the user edits any CMOS setting parameters on the web interface, the remote device 20 continues to display the previously loaded CMOS setting parameters for viewing by the user until the user is in the The web interface edits at least one of the CMOS setting parameters or turns off the web interface. However, when the remote device 20 finds that the user edits the setting parameters of at least one of the CMOS on the webpage interface, the remote device 20 can transmit the new CMOS setting parameters to the substrate management controller 120, as in step S252. . The substrate management controller 120 then writes the new CMOS setting parameters to the corresponding storage address in the storage space and overwrites the old CMOS setting parameters, as by step S260.

接著,當使用者將伺服器10重新開機時,或者當使用者下次將伺服器10開機時,處理器110會判斷儲存空間中的每一個CMOS的設定參數是否相同於記憶體130中相對應的CMOS的設定參數,如步驟S270。當儲存空間中的所有的CMOS的設定參數皆與記憶體130中相對應的CMOS的設定參數相同時,處理器110會判定CMOS的設定參數未被修改,因此儲存空間和記憶體130中的CMOS的設定參數仍可繼續保持。然而,當儲存空間中的至少一個CMOS的設定參數與記憶體130中相對應的CMOS的設定參數不同時,處理器110會判定此至少一個CMOS的設定參數已被修改,因此處理器110會將儲存在基板管理控制器120的儲存空間中的新的CMOS的設定參數覆蓋儲存在記憶體130中舊的相應的CMOS的設定參數,如步驟S280。這裡關於如何將新的CMOS的設定參數覆蓋掉儲存在記憶體130中舊的相應的CMOS的設定參數的方法可參考前述關於將資料寫入記憶體130中的說明,故於此不再贅述。最後,當伺服器10重開機或下次開機時,處理器110會自記憶體130中讀取更新後的CMOS的設定參數列表,以進行後續的運作及控制。Then, when the user restarts the server 10, or when the user turns on the server 10 next time, the processor 110 determines whether the setting parameter of each CMOS in the storage space is the same as that in the memory 130. The CMOS setting parameters are as shown in step S270. When all the CMOS setting parameters in the storage space are the same as the corresponding CMOS setting parameters in the memory 130, the processor 110 determines that the CMOS setting parameters are not modified, thus storing the space and the CMOS in the memory 130. The setting parameters can still be maintained. However, when the setting parameter of the at least one CMOS in the storage space is different from the setting parameter of the corresponding CMOS in the memory 130, the processor 110 determines that the setting parameter of the at least one CMOS has been modified, so the processor 110 will The new CMOS setting parameters stored in the storage space of the substrate management controller 120 overwrite the old corresponding CMOS setting parameters stored in the memory 130, as by step S280. Here, the method for how to set the new CMOS setting parameters to the old corresponding CMOS setting parameters stored in the memory 130 can be referred to the foregoing description of writing the data into the memory 130, and thus will not be described again. Finally, when the server 10 is rebooted or turned on next time, the processor 110 reads the updated CMOS parameter setting list from the memory 130 for subsequent operation and control.

在一實施例中,步驟S220至S260可在伺服器10開機過程中執行。在另一實施例中,步驟S220至S260可在伺服器10已開機完成後執行。在再一實施例中,步驟S220至S260也可在伺服器10休眠狀態下進行。在再一實施例中,步驟S220至S260也可在伺服器10已關機狀態下進行。In an embodiment, steps S220 through S260 may be performed during startup of the server 10. In another embodiment, steps S220 through S260 may be performed after the server 10 has been powered on. In still another embodiment, steps S220 to S260 can also be performed while the server 10 is in a sleep state. In still another embodiment, steps S220 to S260 may also be performed while the server 10 is powered off.

此外,雖然上述實施例皆是以列表的資料型態來記錄CMOS的設定參數,然而本發明並不限定記錄CMOS的設定參數的資料型態,所屬技術領域中具有通常知識者可根據實際上的需求及應用來設計記錄CMOS的設定參數的資料型態。In addition, although the above embodiments record the setting parameters of the CMOS in the data type of the list, the present invention does not limit the data type of the setting parameters of the recording CMOS, and those having ordinary knowledge in the art may actually Requirements and applications to design a data type that records the CMOS's set parameters.

綜合以上所述,本發明實施例提供一種系統參數存取的設定方法及其伺服器,藉由將伺服器中的一記憶體中的CMOS的設定參數備份至一基板管理控制器中的儲存空間,且基板管理控制器可與一遠端裝置進行通訊,使得無論伺服器是否開機,此遠端裝置都可鏈結至伺服器的一網頁介面,並且將儲存在基板管理控制器的儲存空間中的CMOS的設定參數載入此網頁介面。透過此網頁介面,使用者得以直接查看甚至編輯伺服器當前的參數設定。因此,使用者無須再為了查看或修改CMOS的設定參數而利用鍵盤上的特定按鍵進入CMOS設定界面,無須再忍受因錯失按下特定按鍵的時機而需不斷重新開機的煩擾,也無須再額外地安裝特定的應用軟體,並且使用者也可在遠端監控任何使用者想要監控的伺服器。In summary, the embodiment of the present invention provides a method for setting a system parameter access and a server thereof, by backing up setting parameters of a CMOS in a memory in a server to a storage space in a substrate management controller. And the baseboard management controller can communicate with a remote device, so that the remote device can be linked to a webpage interface of the server regardless of whether the server is powered on, and will be stored in the storage space of the baseboard management controller. The CMOS settings parameters are loaded into this web interface. Through this web interface, users can directly view and even edit the current parameter settings of the server. Therefore, the user does not need to enter the CMOS setting interface by using a specific button on the keyboard in order to view or modify the setting parameters of the CMOS, and there is no need to endure the trouble of constantly restarting due to the missed timing of pressing a specific button, and there is no need to additionally A specific application software is installed, and the user can also remotely monitor any server that the user wants to monitor.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。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.

10‧‧‧伺服器
110‧‧‧處理器
120‧‧‧基板管理控制器
122‧‧‧快閃記憶體
130‧‧‧記憶體
132‧‧‧資料端
IO1~IO7‧‧‧輸入輸出接口
134‧‧‧儲存位址端
A0~A19‧‧‧資料存取接口
20‧‧‧遠端裝置
30‧‧‧網路
WE‧‧‧寫入控制接口
OE‧‧‧輸出控制接口
10‧‧‧Server
110‧‧‧ processor
120‧‧‧Baseboard management controller
122‧‧‧Flash memory
130‧‧‧ memory
132‧‧‧data side
IO1~IO7‧‧‧Input and output interface
134‧‧‧Storage address end
A0~A19‧‧‧ data access interface
20‧‧‧ Remote device
30‧‧‧Network
WE‧‧‧Write control interface
OE‧‧‧Output Control Interface

圖1係根據本發明一實施例所繪示之伺服器與遠端裝置互動的示意圖。 圖2係根據本發明一實施例所繪示之系統參數存取的設定方法的流程圖。FIG. 1 is a schematic diagram of interaction between a server and a remote device according to an embodiment of the invention. 2 is a flow chart of a method for setting system parameter access according to an embodiment of the invention.

10‧‧‧伺服器 10‧‧‧Server

110‧‧‧處理器 110‧‧‧ processor

120‧‧‧基板管理控制器 120‧‧‧Baseboard management controller

122‧‧‧快閃記憶體 122‧‧‧Flash memory

130‧‧‧記憶體 130‧‧‧ memory

132‧‧‧資料端 132‧‧‧data side

IO1~IO7‧‧‧輸入輸出接口 IO1~IO7‧‧‧Input and output interface

134‧‧‧儲存位址端 134‧‧‧Storage address end

A0~A19‧‧‧資料存取接口 A0~A19‧‧‧ data access interface

20‧‧‧遠端裝置 20‧‧‧ Remote device

30‧‧‧網路 30‧‧‧Network

WE‧‧‧寫入控制接口 WE‧‧‧Write control interface

OE‧‧‧輸出控制接口 OE‧‧‧Output Control Interface

Claims (10)

一種系統參數存取的設定方法,適用於一伺服器,該伺服器包含一基板管理控制器,該設定方法包含:透過一遠端裝置,根據一網路位址登入該伺服器的一網頁介面;以及自該基板管理控制器的一儲存空間中讀取該伺服器的一CMOS的設定參數,並將該CMOS的設定參數載入該網頁介面中。A method for setting a system parameter access is applicable to a server, the server includes a baseboard management controller, and the setting method comprises: logging in a webpage of the server according to a network address through a remote device And reading a CMOS setting parameter of the server from a storage space of the baseboard management controller, and loading the CMOS setting parameter into the webpage interface. 如請求項1所述之系統參數存取的設定方法,其中當該網頁介面中的該CMOS的設定參數被修改時,該遠端裝置將已被修改的該CMOS的設定參數寫入該儲存空間中並覆蓋舊的該CMOS的設定參數。The method for setting a system parameter access according to claim 1, wherein when the setting parameter of the CMOS in the web interface is modified, the remote device writes the modified parameter of the CMOS that has been modified into the storage space. Medium and overwrite the old CMOS setup parameters. 如請求項2所述之系統參數存取的設定方法,其中該伺服器更包含一記憶體,該記憶體電性連接於該基板管理控制器,初始的該CMOS的設定參數係於該伺服器第一次開機時被寫入該記憶體中。The method for setting a system parameter access according to claim 2, wherein the server further comprises a memory, the memory is electrically connected to the baseboard management controller, and the initial setting parameter of the CMOS is connected to the server. It is written to this memory when it is turned on for the first time. 如請求項3所述之系統參數存取的設定方法,更包含:於該伺服器開機時,判斷該儲存空間中的該CMOS的設定參數是否與該記憶體中的該CMOS的設定參數相同;以及當該儲存空間中的該CMOS的設定參數不同於該記憶體中的該CMOS的設定參數時,將該儲存空間中的該CMOS的設定參數覆蓋該記憶體中的該CMOS的設定參數。The method for setting the system parameter access according to claim 3, further comprising: determining, when the server is powered on, whether the setting parameter of the CMOS in the storage space is the same as the setting parameter of the CMOS in the memory; And when the setting parameter of the CMOS in the storage space is different from the setting parameter of the CMOS in the memory, the setting parameter of the CMOS in the storage space covers the setting parameter of the CMOS in the memory. 一種伺服器,包含:一基板管理控制器,包含用以儲存一CMOS的設定參數的一儲存空間,該基板管理控制器通訊連接至一遠端裝置,並且用以當該遠端裝置根據一網路位址登入該伺服器的一網頁介面時,將該儲存空間中的該CMOS的設定參數傳送至該遠端裝置,進而使該網頁介面載入該CMOS的設定參數。A server includes: a substrate management controller including a storage space for storing a setting parameter of a CMOS, the substrate management controller is communicatively coupled to a remote device, and configured to use the remote device according to a network When the path address is logged into a web interface of the server, the setting parameter of the CMOS in the storage space is transmitted to the remote device, and the web interface is loaded into the CMOS setting parameter. 如請求項5所述之伺服器,其中當該網頁介面中的該CMOS的設定參數被修改時,該基板管理控制器將該遠端裝置上已被修改的該CMOS的設定參數儲存至該儲存空間中並覆蓋舊的該CMOS的設定參數。The server of claim 5, wherein when the setting parameter of the CMOS in the web interface is modified, the substrate management controller stores the setting parameter of the CMOS that has been modified on the remote device to the storage The old CMOS setting parameters are covered in space. 如請求項6所述之伺服器,更包含:一記憶體,電性連接於該基板管理控制器,該記憶體用以於該伺服器第一次開機時,載入初始的該CMOS的設定參數。The server of claim 6, further comprising: a memory electrically connected to the baseboard management controller, wherein the memory is configured to load the initial setting of the CMOS when the server is powered on for the first time. parameter. 如請求項7所述之伺服器,更包含:一處理器,電性連接於該記憶體和該基板管理控制器,該處理器用以於該伺服器開機時,判斷該儲存空間中的該CMOS的設定參數是否與該記憶體中的該CMOS的設定參數相同,以及當該儲存空間中的該CMOS的設定參數不同於該記憶體中的該CMOS的設定參數時,該處理器將該儲存空間中的該CMOS的設定參數覆蓋該記憶體中的該CMOS的設定參數。The server of claim 7, further comprising: a processor electrically connected to the memory and the substrate management controller, wherein the processor is configured to determine the CMOS in the storage space when the server is powered on Whether the setting parameter is the same as the setting parameter of the CMOS in the memory, and when the setting parameter of the CMOS in the storage space is different from the setting parameter of the CMOS in the memory, the processor stores the storage space The setting parameters of the CMOS in the CMOS cover the setting parameters of the CMOS in the memory. 如請求項7所述之伺服器,其中該記憶體為一非揮發隨機存取記憶體。The server of claim 7, wherein the memory is a non-volatile random access memory. 如請求項5所述之伺服器,其中該儲存空間係由一快閃記憶體提供,該快閃記憶體係內建於該基板管理控制器。The server of claim 5, wherein the storage space is provided by a flash memory, and the flash memory system is built in the baseboard management controller.
TW105122955A 2016-07-20 2016-07-20 Setting method of accessing system parameters and server using the same TW201804316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105122955A TW201804316A (en) 2016-07-20 2016-07-20 Setting method of accessing system parameters and server using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105122955A TW201804316A (en) 2016-07-20 2016-07-20 Setting method of accessing system parameters and server using the same

Publications (1)

Publication Number Publication Date
TW201804316A true TW201804316A (en) 2018-02-01

Family

ID=62014090

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105122955A TW201804316A (en) 2016-07-20 2016-07-20 Setting method of accessing system parameters and server using the same

Country Status (1)

Country Link
TW (1) TW201804316A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110555003A (en) * 2018-03-29 2019-12-10 佛山市顺德区顺达电脑厂有限公司 method for issuing system event log of computer system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110555003A (en) * 2018-03-29 2019-12-10 佛山市顺德区顺达电脑厂有限公司 method for issuing system event log of computer system

Similar Documents

Publication Publication Date Title
TWI578233B (en) Unified firmware managment system, non-transitory computer-readable storage medium and method for unified firmware managment
US10936303B2 (en) Secure IoT device update
CN109558157B (en) Computer implemented method and system for saving firmware settings
JP4688821B2 (en) Method and apparatus for remote correction of system configuration
US9182998B2 (en) Remote bios update in system having multiple computers
TW202113591A (en) System for reliable booting of a computer device
TWI492064B (en) Cloud system and the boot up and deployment method for the cloud system
US9448808B2 (en) BIOS update with service processor without serial peripheral interface (SPI) access
WO2017059721A1 (en) Information storage method, device and server
US9448889B2 (en) BIOS failover update with service processor
US20090319637A1 (en) Computer system and method for accessing system information of the computer system
TWI707274B (en) A computer-implemented method, a computer system, and a computer-readable storage medium for updating the rom code of a system
JP2013041390A (en) Information processor, startup method, and program
US11354259B1 (en) Computer system configurations based on accessing data elements presented by baseboard management controllers
US7752429B2 (en) Computer system and boot code accessing method thereof
KR100824462B1 (en) Method and apparatus for identifying hardware compatibility and enabling stable software images
TW201804316A (en) Setting method of accessing system parameters and server using the same
KR102123701B1 (en) Network boot system
CN106095643A (en) The establishing method of systematic parameter access and server thereof
WO2018028321A1 (en) Method and apparatus for managing virtual external storage device, and terminal
TWI754221B (en) Disabling software persistence
CN114020308A (en) Camera equipment upgrading method, device, equipment and medium
JP2009251680A (en) Method and program for starting information processor
TW200923782A (en) A bootloader self-update system and method thereof
TWI840849B (en) Computing system, computer-implemented method, and computer-program product