TWI765329B - Bios switch system and method - Google Patents

Bios switch system and method Download PDF

Info

Publication number
TWI765329B
TWI765329B TW109129259A TW109129259A TWI765329B TW I765329 B TWI765329 B TW I765329B TW 109129259 A TW109129259 A TW 109129259A TW 109129259 A TW109129259 A TW 109129259A TW I765329 B TWI765329 B TW I765329B
Authority
TW
Taiwan
Prior art keywords
switching
parameter combination
bios
specified parameter
host chip
Prior art date
Application number
TW109129259A
Other languages
Chinese (zh)
Other versions
TW202209112A (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 TW109129259A priority Critical patent/TWI765329B/en
Publication of TW202209112A publication Critical patent/TW202209112A/en
Application granted granted Critical
Publication of TWI765329B publication Critical patent/TWI765329B/en

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

A BIOS switch system comprises a switch device, a storage device and a computing device, wherein the computing connected with the switch device and a storage device. The switch device is configured to generate a switch instruction. The storage device stores a plurality of BIOS setting parameter groups. The computing device is configured to, according to the switch instruction, allow a host chip to obtain a specified parameter group among the plurality of BIOS setting parameter groups and operate BIOS according to the specified parameter group, wherein the switch instruction is associated with the specified parameter group.

Description

基本輸入輸出系統的切換系統及方法Basic input output system switching system and method

本發明係關於一種電腦控制系統,尤其係一種基本輸入輸出系統的切換系統。 The invention relates to a computer control system, in particular to a switching system of a basic input and output system.

基本輸入輸出系統(Basic Input/Output System,BIOS)係在通電起動階段執行硬體初始化,以及為作業系統提供運行時服務的韌體。進一步來說,BIOS的作用在於初始化及測試硬體元件,以及從大容量儲存裝置載入啟動程式,並由啟動程式載入作業系統。 The Basic Input/Output System (BIOS) is the firmware that performs hardware initialization during the power-on phase and provides runtime services for the operating system. Further, the function of the BIOS is to initialize and test hardware components, and to load the boot program from the mass storage device, and the boot program loads the operating system.

習知之系統BIOS僅有一個,當使用者欲更動BIOS的設定參數時,需透過BIOS或在作業系統(Operating System,OS)下調整。然而有些設定無法儲存,在重開機後就需再設定一次。 There is only one known system BIOS, and when a user wants to change the setting parameters of the BIOS, it needs to be adjusted through the BIOS or under the Operating System (OS). However, some settings cannot be saved and need to be set again after rebooting.

鑒於上述,本發明提供一種基本輸入輸出系統的切換系統及方法。 In view of the above, the present invention provides a switching system and method for a basic input output system.

依據本發明一實施例的基本輸入輸出系統的切換系統,包含切換裝置、儲存裝置及運算裝置,其中運算裝置連接於切換裝置及儲存裝置。切換裝置用於產生切換指令。儲存裝置儲存多個BIOS設定參數組合。運算裝置用於依據該切換指令,使主機晶片取得所述多個BIOS設定參數組合中的一指定參數組合並依據指定參數組合運作BIOS。其中,切換指令關聯於指定參數組合。 A switching system of a basic input output system according to an embodiment of the present invention includes a switching device, a storage device, and a computing device, wherein the computing device is connected to the switching device and the storage device. The switching device is used for generating a switching command. The storage device stores a plurality of BIOS setting parameter combinations. The computing device is used for enabling the host chip to obtain a specified parameter combination among the plurality of BIOS setting parameter combinations according to the switching instruction, and to operate the BIOS according to the specified parameter combination. Wherein, the switching instruction is associated with the specified parameter combination.

依據本發明一實施例的基本輸入輸出系統的切換方法,包含:藉由切換裝置產生切換指令,藉由運算裝置依據切換指令使主機晶片取得儲存裝置中的多個BIOS設定參數組合中的指定參數組合,以及使主 機晶片依據指定參數組合運作BIOS。其中,切換指令關聯於指定參數組合。 A switching method of a basic input output system according to an embodiment of the present invention includes: generating a switching command by a switching device, and causing a host chip to obtain a specified parameter in a combination of a plurality of BIOS setting parameters in a storage device by the computing device according to the switching command combination, and make the main The chip operates the BIOS according to the specified parameter combination. Wherein, the switching instruction is associated with the specified parameter combination.

藉由上述結構,本案所揭示的基本輸入輸出系統的切換系統及方法,可以透過硬體或軟體的方式,載入客製化的BIOS設定,無需每次使用時重新設定,並且藉由將系統之處理組件的內部儲存裝置或外部儲存裝置分割為多個區域以分別儲存不同BIOS設定參數組合,可以節省成本及印刷電路板的佔用空間。 With the above structure, the switching system and method of the basic input output system disclosed in this case can load customized BIOS settings through hardware or software, without having to reset the settings every time it is used, and by changing the system The internal storage device or the external storage device of the processing unit is divided into a plurality of areas to store different BIOS setting parameter combinations respectively, which can save cost and space occupied by the printed circuit board.

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

1、2:BIOS切換系統 1, 2: BIOS switching system

11、21:切換裝置 11, 21: Switching device

13、25:處理組件 13, 25: Handling components

131、23:儲存裝置 131, 23: Storage device

133、251:運算裝置 133, 251: Computing device

5:主機晶片 5: Host chip

圖1係依據本發明第一實施例所繪示的基本輸入輸出系統的切換系統的功能方塊圖。 FIG. 1 is a functional block diagram of a switching system of a basic input output system according to a first embodiment of the present invention.

圖2係依據本發明第一實施例所繪示的基本輸入輸出系統的切換方法的流程圖。 FIG. 2 is a flow chart of the switching method of the BIOS according to the first embodiment of the present invention.

圖3係依據本發明第二實施例所繪示的基本輸入輸出系統的切換系統的功能方塊圖。 FIG. 3 is a functional block diagram of a switching system of a basic input output system according to a second embodiment of the present invention.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。 The detailed features and advantages of the present invention are described in detail in the following embodiments, and the content is sufficient to enable any person skilled in the relevant art to understand the technical content of the present invention and implement it accordingly, and according to the content disclosed in this specification, the scope of the patent application and the drawings , any person skilled in the related art can easily understand the related objects and advantages of the present invention. The following examples further illustrate the viewpoints of the present invention in detail, but do not limit the scope of the present invention in any viewpoint.

本發明提供一種基本輸入輸出系統(Basic Input/Output System,BIOS)的切換系統(後稱BIOS切換系統),可以用於切換主機 晶片所運行的BIOS。特別來說,以下多個實施例所述之BIOS切換系統可以設置於顯示卡或是主機板。請參考圖1及圖2,圖1為依據本發明第一實施例所繪示的BIOS切換系統的功能方塊圖,圖2則係依據本發明第一實施例所繪示的BIOS切換方法的流程圖。如圖1所示,BIOS切換系統1包含切換裝置11及處理組件13,其中,處理組件13連接於切換裝置11,且亦用於連接於主機晶片5。進一步來說,處理組件13包含儲存裝置131及運算裝置133,其中運算裝置133連接於儲存裝置131及切換裝置11,且用於連接於主機晶片5,上述連接特別係透過有線方式。BIOS切換系統1可以執行一BIOS切換方法,如圖2所示,所述基本輸入輸出系統切換方法包含:於步驟S1中,藉由切換裝置11產生切換指令;於步驟S2中,藉由運算裝置133,依據切換指令,使主機晶片5取得儲存裝置131中的多個BIOS設定參數組合中的一指定參數組合;以及於步驟S3中,使主機晶片5依據指定參數組合運作BIOS。 The present invention provides a basic input/output system (Basic Input/Output System, BIOS) switching system (hereinafter referred to as BIOS switching system), which can be used to switch hosts The BIOS that the chip runs on. In particular, the BIOS switching system described in the following embodiments can be set on a display card or a motherboard. Please refer to FIG. 1 and FIG. 2. FIG. 1 is a functional block diagram of a BIOS switching system according to a first embodiment of the present invention, and FIG. 2 is a flowchart of a BIOS switching method according to the first embodiment of the present invention. picture. As shown in FIG. 1 , the BIOS switching system 1 includes a switching device 11 and a processing component 13 , wherein the processing component 13 is connected to the switching device 11 and is also used for connecting to the host chip 5 . Further, the processing unit 13 includes a storage device 131 and a computing device 133, wherein the computing device 133 is connected to the storage device 131 and the switching device 11, and is used for connecting to the host chip 5, and the above-mentioned connection is especially wired. The BIOS switching system 1 can execute a BIOS switching method. As shown in FIG. 2 , the BIOS switching method includes: in step S1 , generating a switching command by the switching device 11 ; in step S2 , using the computing device 133. According to the switching command, the host chip 5 obtains a specified parameter combination among the plurality of BIOS setting parameter combinations in the storage device 131; and in step S3, the host chip 5 operates the BIOS according to the specified parameter combination.

以下係進一步說明BIOS切換系統1所含之各裝置的實施元件及運作。如上所述,BIOS切換系統1的切換裝置11可用於產生切換指令。舉例來說,切換裝置11可以包含一或多個電子式開關元件、機械式開關元件等硬體元件。於切換裝置11包含一個開關元件的實施方式中,當切換裝置11的開關元件受人為動作(例如按壓、撥動等,本發明不予限制)觸發時,便會產生指示切換BIOS設定參數組合的訊號,即切換指令,再將此切換指令提供給運算裝置133。於此實施方式中,切換指令指示主機晶片5當前具有之BIOS設定參數組合以外的另一BIOS設定參數組合為指定參數組合。於切換裝置11包含多個開關元件的實施方式中,所述多個開關元件可以分別對應於多個BIOS設定參數組合,當所述多個開關元件中之一者受觸發時,切換裝置11便會產生指示對應於受觸發之開關元件的BIOS設定參數組合為指定參數組合的切換指令,再將切換指令提供給運算裝置133。舉另個例子來說,切換裝置11為有線傳輸連接埠如,例如積體 匯流排電路(I2C)、系統管理匯流排(SMBUS)、串列週邊介面(SPI)、通用非同步收發傳輸器(UART)、RS232及通用序列匯流排(USB)等,或無線傳輸連接埠如藍芽收發器、WIFI收發器等,可以自外部裝置的軟體介面(例如手機應用程式)接收指示進行切換作業的訊號,並將其作為切換指令或轉換為切換指令,再將切換指令提供給運算裝置133。進一步來說,指示進行切換作業的訊號可以指示指定參數組合。 The implementation elements and operations of each device included in the BIOS switching system 1 are further described below. As described above, the switching device 11 of the BIOS switching system 1 can be used to generate a switching command. For example, the switching device 11 may include one or more electronic switching elements, mechanical switching elements and other hardware elements. In the embodiment in which the switching device 11 includes a switching element, when the switching element of the switching device 11 is triggered by a human action (such as pressing, flipping, etc., which is not limited by the present invention), it will generate a message indicating switching of the BIOS setting parameter combination. The signal is the switching command, and the switching command is then provided to the computing device 133 . In this embodiment, the switching instruction instructs the host chip 5 to set another BIOS setting parameter combination other than the BIOS setting parameter combination currently possessed by the host chip 5 as the specified parameter combination. In the embodiment in which the switching device 11 includes a plurality of switch elements, the plurality of switch elements may respectively correspond to a plurality of BIOS setting parameter combinations, and when one of the plurality of switch elements is triggered, the switch device 11 will A switching command indicating that the BIOS setting parameter combination corresponding to the triggered switch element is the specified parameter combination is generated, and then the switching command is provided to the computing device 133 . For another example, the switching device 11 is a wired transmission connection port such as, for example, an integrated bus circuit (I 2 C), a system management bus (SMBUS), a serial peripheral interface (SPI), a general asynchronous transceiver transmission UART (UART), RS232 and Universal Serial Bus (USB), etc., or wireless transmission ports such as Bluetooth transceivers, WIFI transceivers, etc., can receive instructions from the software interface of external devices (such as mobile phone applications) to perform switching operations The signal is used as a switching command or converted into a switching command, and then the switching command is provided to the computing device 133 . Further, the signal instructing to perform the switching operation may instruct the specified parameter combination.

處理組件13可以係微控制器(Microcontroller unit,MCU),而設置在此微控制器內部的儲存裝置131可以係唯讀記憶體(Read-only memory,ROM)、快閃記憶體(Flash memory)或其他非揮發性記憶體,運算裝置133則可以係微控制器的運算電路。如前所述,儲存裝置131中儲存有多個BIOS設定參數組合。進一步來說,儲存裝置131可以被分割為多個區域以分別儲存不同的BIOS設定參數組合。運算裝置133可以依據切換指令使主機晶片5取得所述多個BIOS設定參數組合中的一者。如前所述,切換裝置11所產生的切換指令可以指示指定參數組合,而此指定參數組合屬於儲存裝置131中的多個BIOS設定參數組合中的一者,運算裝置133便可依據切換指令使主機晶片5取得指定參數組合,以使主機晶片5依據指定參數組合運行BIOS。更進一步來說,運算裝置133可以將指定參數組合或其儲存位址提供至主機晶片5(例如載入至主機晶片5的記憶體,或修改主機晶片5讀取BIOS設定參數組合的路徑),而主機晶片5在重新啟動時,便可運行基於指定參數組合的BIOS。如此一來,主機晶片5原運行之BIOS便可切換為基於指定參數組合之BIOS。 The processing unit 13 may be a microcontroller unit (MCU), and the storage device 131 disposed inside the microcontroller may be a read-only memory (ROM) or a flash memory (Flash memory). Or other non-volatile memory, the computing device 133 can be the computing circuit of a microcontroller. As mentioned above, the storage device 131 stores a plurality of BIOS setting parameter combinations. Further, the storage device 131 can be divided into a plurality of areas to store different combinations of BIOS setting parameters respectively. The computing device 133 can cause the host chip 5 to obtain one of the plurality of BIOS setting parameter combinations according to the switching command. As mentioned above, the switching command generated by the switching device 11 can indicate a specified parameter combination, and the specified parameter combination belongs to one of the multiple BIOS setting parameter combinations in the storage device 131, and the computing device 133 can use the switching command to use the specified parameter combination. The host chip 5 obtains the specified parameter combination, so that the host chip 5 runs the BIOS according to the specified parameter combination. Furthermore, the computing device 133 can provide the specified parameter combination or its storage address to the host chip 5 (for example, loaded into the memory of the host chip 5, or modify the path for the host chip 5 to read the BIOS setting parameter combination), When the host chip 5 is restarted, the BIOS based on the specified parameter combination can be executed. In this way, the BIOS originally running on the host chip 5 can be switched to the BIOS based on the specified parameter combination.

另外,運算裝置133亦可以透過以有線或無線傳輸連接埠實施的切換裝置11,從外部裝置(例如手機、電腦等)接收關聯於指定參數組合的調整指令。或者,BIOS切換系統1可以更包含一連接埠,運算裝置133可以透過此連接埠連接於外部裝置,以接收關聯於指定參數組合的調 整指令。舉例來說,所述連接埠可以係有線傳輸連接埠如I2C、SMBUS、SPI、UART、RS232、USB等,或無線傳輸連接埠如藍芽收發器、WIFI收發器等。運算裝置133依據上述調整指令,會在指定參數組合被載入至主機晶片5的記憶體時,調整指定參數組合。進一步來說,運算裝置133會對於主機晶片5的記憶體中解壓縮後的指定參數組合進行調整指令所指示之參數的調整。如此一來,主機晶片5在重新啟動時,便可運行基於調整後之指定參數組合的BIOS,即從原運行之BIOS切換為基於調整後之指定參數組合的BIOS。 In addition, the computing device 133 can also receive adjustment commands related to the specified parameter combination from an external device (eg, a mobile phone, a computer, etc.) through the switching device 11 implemented with a wired or wireless transmission port. Alternatively, the BIOS switching system 1 may further include a port through which the computing device 133 can be connected to an external device to receive an adjustment command associated with a specified parameter combination. For example, the connection port can be a wired transmission connection port such as I 2 C, SMBUS, SPI, UART, RS232, USB, etc., or a wireless transmission connection port such as a Bluetooth transceiver, a WIFI transceiver, and the like. The computing device 133 adjusts the specified parameter combination when the specified parameter combination is loaded into the memory of the host chip 5 according to the above-mentioned adjustment command. Further, the computing device 133 adjusts the parameters indicated by the adjustment command for the decompressed specified parameter combination in the memory of the host chip 5 . In this way, the host chip 5 can run the BIOS based on the adjusted specified parameter combination when the host chip 5 is restarted, that is, switch from the original running BIOS to the BIOS based on the adjusted specified parameter combination.

於一實施方式中,運算裝置133除了執行前述之切換作業之外,亦可以對儲存裝置131中的BIOS設定參數組合執行更新作業。進一步來說,運算裝置133可以透過以有線或無線傳輸連接埠實施的切換裝置11,從外部裝置(例如手機、電腦等)接收關聯於指定參數組合的更新指令,或者,運算裝置133可以透過前述之BIOS切換系統1的連接埠,從外部裝置接收關聯於指定參數組合的更新指令。舉例來說,更新指令可以包含欲更新之原BIOS設定參數組合在儲存裝置131中的位址(目標位址)以及新版本之BIOS設定參數組合的壓縮檔,運算裝置133便可依據更新指令將目標位址的原BIOS設定參數組合替換為新版本之BIOS設定參數組合,以完成更新作業。 In one embodiment, the computing device 133 can also perform an update operation on the BIOS setting parameter combination in the storage device 131 in addition to performing the aforementioned switching operation. Further, the computing device 133 may receive an update command associated with the specified parameter combination from an external device (such as a mobile phone, a computer, etc.) through the switching device 11 implemented with a wired or wireless transmission port, or the computing device 133 may use the aforementioned The port of the BIOS switching system 1 receives an update command associated with a specified parameter combination from an external device. For example, the update command may include the address (target address) of the combination of the original BIOS setting parameters to be updated in the storage device 131 and a compressed file of the combination of the BIOS setting parameters of the new version. Replace the original BIOS setting parameter combination of the target address with the BIOS setting parameter combination of the new version to complete the update operation.

請參考圖3,圖3係依據本發明第二實施例所繪示的BIOS切換系統的功能方塊圖,其中儲存BIOS設定參數組合的儲存裝置設置於處理組件之外。如圖3所示,BIOS切換系統2包含切換裝置21、儲存裝置23及處理組件25,其中處理組件25包含運算裝置251。運算裝置251連接於切換裝置21及儲存裝置23,且用於連接於主機晶片5。上述運算裝置251與其他裝置之間的連接特別係透過有線方式。類似於圖1的BIOS切換系統1,BIOS切換系統2亦可以執行如圖2所示的切換方法:藉由切換裝置21產生切換指令;藉由運算裝置251,依據切換指令,使主機晶片 5取得儲存裝置23中的多個BIOS設定參數組合中的一指定參數組合;以及使主機晶片5依據指定參數組合運作BIOS。 Please refer to FIG. 3 , which is a functional block diagram of a BIOS switching system according to a second embodiment of the present invention, wherein a storage device for storing a combination of BIOS setting parameters is disposed outside the processing element. As shown in FIG. 3 , the BIOS switching system 2 includes a switching device 21 , a storage device 23 and a processing component 25 , wherein the processing component 25 includes a computing device 251 . The computing device 251 is connected to the switching device 21 and the storage device 23 and is used for connecting to the host chip 5 . The connection between the above-mentioned computing device 251 and other devices is especially wired. Similar to the BIOS switching system 1 of FIG. 1 , the BIOS switching system 2 can also execute the switching method shown in FIG. 2 : the switching device 21 generates a switching command; 5. Obtaining a specified parameter combination among a plurality of BIOS setting parameter combinations in the storage device 23; and enabling the host chip 5 to operate the BIOS according to the specified parameter combination.

以下係進一步說明BIOS切換系統2所含之各裝置的實施元件及運作。切換裝置21用於產生切換指令。舉例來說,切換裝置21可以包含一或多個電子式開關元件、機械式開關元件等硬體元件。於切換裝置21包含一個開關元件的實施方式中,當切換裝置21的開關元件受人為動作(例如按壓、撥動等,本發明不予限制)觸發時,便會產生指示切換BIOS設定參數組合的訊號,即切換指令,再將此切換指令提供給運算裝置251。於此實施方式中,切換指令指示主機晶片5當前具有之BIOS設定參數組合以外的另一BIOS設定參數組合為指定參數組合。於切換裝置21包含多個開關元件的實施方式中,所述多個開關元件可以分別對應於多個BIOS設定參數組合,當所述多個開關元件中之一者受觸發時,切換裝置21便會產生指示對應於受觸發之開關元件的BIOS設定參數組合為指定參數組合的切換指令,再將切換指令提供給運算裝置251。舉另個例子來說,切換裝置21為有線傳輸連接埠如I2C、SMBUS、SPI、UART、RS232、USB等,或無線傳輸連接埠如藍芽收發器、WIFI收發器等,可以自外部裝置的軟體介面(例如手機應用程式)接收指示進行切換作業的訊號,並將其作為切換指令或轉換為切換指令,再將切換指令提供給運算裝置251。進一步來說,指示進行切換作業的訊號可以指示指定參數組合。 The implementation elements and operations of each device included in the BIOS switching system 2 are further described below. The switching device 21 is used for generating a switching command. For example, the switching device 21 may include one or more electronic switching elements, mechanical switching elements and other hardware elements. In the embodiment in which the switching device 21 includes a switching element, when the switching element of the switching device 21 is triggered by a human action (such as pressing, flipping, etc., which is not limited by the present invention), it will generate an instruction to switch the BIOS setting parameter combination. The signal is a switching command, and the switching command is then provided to the computing device 251 . In this embodiment, the switching instruction instructs the host chip 5 to set another BIOS setting parameter combination other than the BIOS setting parameter combination currently possessed by the host chip 5 as the specified parameter combination. In the embodiment in which the switching device 21 includes a plurality of switch elements, the plurality of switch elements may respectively correspond to a plurality of BIOS setting parameter combinations, and when one of the plurality of switch elements is triggered, the switch device 21 will A switching command indicating that the BIOS setting parameter combination corresponding to the triggered switch element is the specified parameter combination is generated, and then the switching command is provided to the computing device 251 . For another example, the switching device 21 is a wired transmission port such as I 2 C, SMBUS, SPI, UART, RS232, USB, etc., or a wireless transmission port such as a Bluetooth transceiver, a WIFI transceiver, etc. The software interface of the device (eg, a mobile phone application) receives the signal instructing the switching operation, and converts it as a switching command or converts it into a switching command, and then provides the switching command to the computing device 251 . Further, the signal instructing to perform the switching operation may instruct the specified parameter combination.

如前所述,儲存裝置23中儲存多個BIOS設定參數組合。進一步來說,儲存裝置23可以被分割為多個區域以分別儲存不同的BIOS設定參數組合。特別來說,儲存裝置23可以係唯讀記憶體(Read-only memory,ROM)、快閃記憶體(Flash memory)或其他非揮發性記憶體。 As mentioned above, the storage device 23 stores a plurality of BIOS setting parameter combinations. Further, the storage device 23 can be divided into a plurality of areas to store different combinations of BIOS setting parameters respectively. In particular, the storage device 23 may be a read-only memory (ROM), a flash memory (Flash memory) or other non-volatile memory.

運算裝置251包含於處理組件25中,特別來說,處理組件25可以係微控制器(Microcontroller unit,MCU),運算裝置251則可以係微控制器的運算電路。運算裝置251可以依據切換指令使主機晶片5取 得所述多個BIOS設定參數組合中的一者。進一步來說,切換裝置21所產生的切換指令可以指示一指定參數組合,而此指定參數組合屬於儲存裝置23中的多個BIOS設定參數組合中的一者,運算裝置251便可依據切換指令使主機晶片5取得指定參數組合,以使主機晶片5依據指定參數組合運行BIOS。更進一步來說,運算裝置251可以向儲存裝置23讀取指定參數組合,再將指定參數組合提供至主機晶片5(例如載入至主機晶片5的記憶體),而主機晶片5在重新啟動時,便可運行基於指定參數組合的BIOS。如此一來,主機晶片5原運行之BIOS便可切換為基於指定參數組合之BIOS。 The computing device 251 is included in the processing unit 25. In particular, the processing unit 25 can be a microcontroller unit (MCU), and the computing device 251 can be a computing circuit of the microcontroller. The computing device 251 can cause the host chip 5 to fetch the One of the plurality of BIOS setting parameter combinations is obtained. Further, the switching command generated by the switching device 21 can indicate a specified parameter combination, and the specified parameter combination belongs to one of the multiple BIOS setting parameter combinations in the storage device 23, and the computing device 251 can use the switching command according to the switching command. The host chip 5 obtains the specified parameter combination, so that the host chip 5 runs the BIOS according to the specified parameter combination. Furthermore, the computing device 251 can read the specified parameter combination from the storage device 23, and then provide the specified parameter combination to the host chip 5 (eg, loaded into the memory of the host chip 5), and the host chip 5 is restarted when , you can run the BIOS based on the specified parameter combination. In this way, the BIOS originally running on the host chip 5 can be switched to the BIOS based on the specified parameter combination.

於此實施方式中,運算裝置251連接於主機晶片5以提供指定參數組合給主機晶片5。於另一實施方式中,BIOS切換系統2係由儲存裝置23連接於主機晶片5以供其取得指定參數組合,而運算裝置251則係選擇性地連接於主機晶片5。其中,儲存裝置23與主機晶片5之間的連接以及運算裝置251與主機晶片5之間的連接特別係透過有線方式。運算裝置251將儲存裝置23的讀取位址指定對應於指定參數組合,以供主機晶片5讀取,以使主機晶片5取得指定參數組合。舉例來說,假設儲存裝置儲存有第一BIOS設定參數組合及第二BIOS設定參數組合,其中第一BIOS設定參數組合儲存於位址為FFFF的分割區域,第二BIOS設定參數組合則儲存於位址為BFFF的分割區域,則當切換指令指示第一BIOS設定參數組合為指定參數組合時,運算裝置251便將儲存裝置23的讀取位址設定為FFFF,而當切換指令指示第二BIOS設定參數組合為指定參數組合時,運算裝置251便將儲存裝置23的讀取位址設定為BFFF。主機晶片5便可從儲存裝置23讀取到指定參數組合,並於重新啟動時,運行基於指定參數組合的BIOS。 In this embodiment, the computing device 251 is connected to the host chip 5 to provide the specified parameter combination to the host chip 5 . In another embodiment, the BIOS switching system 2 is connected to the host chip 5 by the storage device 23 for obtaining the specified parameter combination, and the computing device 251 is selectively connected to the host chip 5 . The connection between the storage device 23 and the host chip 5 and the connection between the computing device 251 and the host chip 5 are especially wired. The computing device 251 specifies the read address of the storage device 23 corresponding to the specified parameter combination for the host chip 5 to read, so that the host chip 5 obtains the specified parameter combination. For example, it is assumed that the storage device stores a first BIOS setting parameter combination and a second BIOS setting parameter combination, wherein the first BIOS setting parameter combination is stored in the segmented area whose address is FFFF, and the second BIOS setting parameter combination is stored in the If the address is the segmented area of BFFF, when the switching instruction instructs the first BIOS setting parameter combination to be the specified parameter combination, the computing device 251 sets the read address of the storage device 23 to FFFF, and when the switching instruction instructs the second BIOS setting When the parameter combination is the specified parameter combination, the operation device 251 sets the read address of the storage device 23 to BFFF. The host chip 5 can read the specified parameter combination from the storage device 23 and run the BIOS based on the specified parameter combination when restarting.

另外,運算裝置251亦可以透過以有線或無線傳輸連接埠實施的切換裝置21,從外部裝置(例如手機、電腦等)接收關聯於指定參數 組合的調整指令。或者,BIOS切換系統2可以更包含一連接埠,運算裝置251可以透過此連接埠連接於外部裝置,以接收關聯於指定參數組合的調整指令。舉例來說,所述連接埠可以係有線傳輸連接埠如I2C、SMBUS、SPI、UART、RS232、USB等,或無線傳輸連接埠如藍芽收發器、WIFI收發器等。運算裝置251依據上述調整指令,會在指定參數組合被載入至主機晶片5的記憶體時,調整指定參數組合。進一步來說,運算裝置251會對於主機晶片5的記憶體中解壓縮後的指定參數組合進行調整指令所指示之參數的調整。如此一來,主機晶片5在重新啟動時,便可運行基於調整後之指定參數組合的BIOS,即從原運行之BIOS切換為基於調整後之指定參數組合的BIOS。 In addition, the computing device 251 can also receive an adjustment command associated with a specified parameter combination from an external device (eg, a mobile phone, a computer, etc.) through the switching device 21 implemented with a wired or wireless transmission port. Alternatively, the BIOS switching system 2 may further include a port through which the computing device 251 can be connected to an external device to receive an adjustment command associated with a specified parameter combination. For example, the connection port can be a wired transmission connection port such as I 2 C, SMBUS, SPI, UART, RS232, USB, etc., or a wireless transmission connection port such as a Bluetooth transceiver, a WIFI transceiver, and the like. The computing device 251 adjusts the specified parameter combination when the specified parameter combination is loaded into the memory of the host chip 5 according to the above-mentioned adjustment command. Further, the computing device 251 adjusts the parameters indicated by the adjustment command for the decompressed specified parameter combination in the memory of the host chip 5 . In this way, the host chip 5 can run the BIOS based on the adjusted specified parameter combination when the host chip 5 is restarted, that is, switch from the original running BIOS to the BIOS based on the adjusted specified parameter combination.

於一實施方式中,運算裝置251除了執行前述之切換作業之外,亦可以對儲存裝置23中的BIOS設定參數組合執行更新作業。進一步來說,運算裝置251可以透過以有線或無線傳輸連接埠實施的切換裝置21,從外部裝置(例如手機、電腦等)接收關聯於指定參數組合的更新指令,或者,運算裝置251可以透過前述之BIOS切換系統2的連接埠,從外部裝置接收關聯於指定參數組合的更新指令。詳細來說,更新指令可以包含欲更新之原BIOS設定參數組合在儲存裝置23中的位址(目標位址)以及新版本之BIOS設定參數組合的壓縮檔,運算裝置251便可依據更新指令將目標位址的原BIOS設定參數組合替換為新版本之BIOS設定參數組合,以完成更新作業。 In one embodiment, the computing device 251 can perform an update operation for the BIOS setting parameter combination in the storage device 23 in addition to performing the aforementioned switching operation. Further, the computing device 251 can receive an update command associated with a specified parameter combination from an external device (such as a mobile phone, a computer, etc.) through the switching device 21 implemented with a wired or wireless transmission port, or the computing device 251 can use the aforementioned The port of the BIOS switching system 2 receives an update command associated with a specified parameter combination from an external device. Specifically, the update command may include the address (target address) of the combination of the original BIOS setting parameters to be updated in the storage device 23 and a compressed file of the combination of the BIOS setting parameters of the new version. Replace the original BIOS setting parameter combination of the target address with the BIOS setting parameter combination of the new version to complete the update operation.

藉由上述結構,本案所揭示的BIOS切換系統及方法,可以透過硬體或軟體的方式,載入客製化的BIOS設定,無需每次使用時重新設定,並且藉由將系統之處理組件的內部儲存裝置或外部儲存裝置分割為多個區域以分別儲存不同BIOS設定參數組合,可以節省成本及印刷電路板的佔用空間。 With the above structure, the BIOS switching system and method disclosed in this case can load customized BIOS settings by means of hardware or software, without the need to reset the settings every time it is used, and by changing the processing components of the system. The internal storage device or the external storage device is divided into a plurality of areas to store different combinations of BIOS setting parameters respectively, which can save cost and occupied space of the printed circuit board.

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

1:BIOS切換系統1: BIOS switching system

11:切換裝置11: Switching device

13:處理組件13: Handling Components

131:儲存裝置131: Storage Device

133:運算裝置133: Computing Device

5:主機晶片5: Host chip

Claims (10)

一種基本輸入輸出系統的切換系統,包含:一切換裝置,用於產生一切換指令;一儲存裝置,儲存多個基本輸入輸出系統設定參數組合;以及一運算裝置,連接於該切換裝置及該儲存裝置,且用於依據該切換指令,使一主機晶片取得該些基本輸入輸出系統設定參數組合中的一指定參數組合並依據該指定參數組合運作該基本輸入輸出系統;其中該切換指令關聯於該指定參數組合;其中該運算裝置更用於接收一調整指令,並在該指定參數組合被載入至該主機晶片的一記憶體時,依據該調整指令調整該指定參數組合。 A switching system of a BIOS, comprising: a switching device for generating a switching command; a storage device for storing a plurality of combinations of BIOS setting parameters; and an arithmetic device connected to the switching device and the storage device a device for enabling a host chip to obtain a specified parameter combination among the BIOS setting parameter combinations according to the switching command and operate the BIOS according to the specified parameter combination; wherein the switching command is associated with the A specified parameter combination; wherein the computing device is further configured to receive an adjustment command, and adjust the specified parameter combination according to the adjustment command when the specified parameter combination is loaded into a memory of the host chip. 如請求項1所述的基本輸入輸出系統的切換系統,其中該運算裝置係藉由從該儲存裝置讀取該指定參數組合,並提供該指定參數組合至該主機晶片,以使該主機晶片取得該指定參數組合。 The switching system of a basic input output system as claimed in claim 1, wherein the computing device reads the specified parameter combination from the storage device and provides the specified parameter combination to the host chip, so that the host chip can obtain the specified parameter combination. The specified parameter combination. 如請求項1所述的基本輸入輸出系統的切換系統,其中該運算裝置係藉由將該儲存裝置的一讀取位址指定 對應於該指定參數組合以供該主機晶片讀取,以使該主機晶片取得該指定參數組合。 The switching system of the basic input output system as claimed in claim 1, wherein the operation device is designated by a read address of the storage device Corresponding to the specified parameter combination for the host chip to read, so that the host chip obtains the specified parameter combination. 如請求項1所述的基本輸入輸出系統的切換系統,更包含一處理組件,該儲存裝置與該運算裝置包含於該處理組件內。 The switching system of the basic input output system as claimed in claim 1 further includes a processing element, and the storage device and the computing device are included in the processing element. 如請求項4所述的基本輸入輸出系統的切換系統,其中該處理組件係一微控制器。 The switching system of a basic input output system as claimed in claim 4, wherein the processing component is a microcontroller. 如請求項1所述的基本輸入輸出系統的切換系統,其中該運算裝置更用於接收一更新指令,並依據該更新指令更新該些基本輸入輸出系統設定參數組合中的一者。 The BIOS switching system of claim 1, wherein the computing device is further configured to receive an update command, and update one of the BIOS setting parameter combinations according to the update command. 一種基本輸入輸出系統的切換方法,包含:藉由一切換裝置,產生一切換指令;藉由一運算裝置,依據該切換指令,使一主機晶片取得一儲存裝置中的多個基本輸入輸出系統設定參數組合中的一指定參數組合;使該主機晶片依據該指定參數組合運作該基本輸入輸出系統;以及接收一調整指令,以及當該指定參數組合被載入至該主機晶片的一記憶體時,依據該調整指令調整該指定參數組合; 其中該切換指令關聯於該指定參數組合。 A switching method of a basic input output system, comprising: generating a switching command by a switching device; enabling a host chip to obtain a plurality of basic input output system settings in a storage device by a computing device according to the switching command a specified parameter combination in the parameter combination; causing the host chip to operate the basic input output system according to the specified parameter combination; and receiving an adjustment command, and when the specified parameter combination is loaded into a memory of the host chip, Adjust the specified parameter combination according to the adjustment instruction; Wherein the switching instruction is associated with the specified parameter combination. 如請求項7所述的基本輸入輸出系統的切換方法,其中依據該切換指令使該主機晶片取得該儲存裝置中的該些基本輸入輸出系統設定參數組合的該指定參數組合包含:從該儲存裝置讀取該指定參數組合,並提供該指定參數組合至該主機晶片。 The BIOS switching method according to claim 7, wherein according to the switching command, causing the host chip to obtain the specified parameter combination of the BIOS setting parameter combinations in the storage device comprises: from the storage device The specified parameter combination is read, and the specified parameter combination is provided to the host chip. 如請求項7所述的基本輸入輸出系統的切換方法,其中依據該切換指令使該主機晶片取得該儲存裝置中的該些基本輸入輸出系統設定參數組合的該指定參數組合包含:將該儲存裝置的一讀取位址指定對應於該指定參數組合,以供該主機晶片讀取。 The BIOS switching method according to claim 7, wherein causing the host chip to obtain the specified parameter combination of the BIOS setting parameter combinations in the storage device according to the switching command comprises: the storage device A read address designation corresponding to the designated parameter combination for the host chip to read. 如請求項7所述的基本輸入輸出系統的切換方法,更包含接收一更新指令,以及依據該更新指令更新該些基本輸入輸出系統設定參數組合中的一者。The BIOS switching method according to claim 7, further comprising receiving an update command, and updating one of the BIOS setting parameter combinations according to the update command.
TW109129259A 2020-08-27 2020-08-27 Bios switch system and method TWI765329B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109129259A TWI765329B (en) 2020-08-27 2020-08-27 Bios switch system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109129259A TWI765329B (en) 2020-08-27 2020-08-27 Bios switch system and method

Publications (2)

Publication Number Publication Date
TW202209112A TW202209112A (en) 2022-03-01
TWI765329B true TWI765329B (en) 2022-05-21

Family

ID=81747141

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109129259A TWI765329B (en) 2020-08-27 2020-08-27 Bios switch system and method

Country Status (1)

Country Link
TW (1) TWI765329B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI254846B (en) * 2003-12-12 2006-05-11 O2Micro Int Ltd ExpressCard power switch IC, system and method for controlling ExpressCard power management signal
CN1991681A (en) * 2005-12-30 2007-07-04 英业达股份有限公司 System for avoiding pushing power switch to interrupt BIOS updating and method thereof
US20090013164A1 (en) * 2007-07-06 2009-01-08 Inventec Corporation Computer system and method of using power button to switch from one BIOS to another
US20090222651A1 (en) * 2008-02-29 2009-09-03 Lenovo (Singapore) Pte. Ltd. S3 bios operating system switch
TWI332177B (en) * 2007-04-20 2010-10-21 Inventec Corp Computer system and method for using power button to switch bios

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI254846B (en) * 2003-12-12 2006-05-11 O2Micro Int Ltd ExpressCard power switch IC, system and method for controlling ExpressCard power management signal
CN1991681A (en) * 2005-12-30 2007-07-04 英业达股份有限公司 System for avoiding pushing power switch to interrupt BIOS updating and method thereof
TWI332177B (en) * 2007-04-20 2010-10-21 Inventec Corp Computer system and method for using power button to switch bios
US20090013164A1 (en) * 2007-07-06 2009-01-08 Inventec Corporation Computer system and method of using power button to switch from one BIOS to another
US20090222651A1 (en) * 2008-02-29 2009-09-03 Lenovo (Singapore) Pte. Ltd. S3 bios operating system switch

Also Published As

Publication number Publication date
TW202209112A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
US10936327B2 (en) Method of implementing magnetic random access memory (MRAM) for mobile system-on-chip boot
US8589902B2 (en) Policy description technique in UEFI firmware
TWI525542B (en) System and method for starting and updating UEFI BIOS, recording media and computer program products
US8443183B2 (en) Pre-boot loader for reducing system boot time
US20150356049A1 (en) Assigning processors to memory mapped configuration
US10877770B2 (en) Computing device
WO2011116621A1 (en) Electronic device, configurable component and configuration information storage method thereof
US11436020B2 (en) Systems and methods to bifurcate at least one peripheral component interconnect express (PCIE) port in accordance with a user-selectable PCIE bifurcation setting
CN107766097B (en) Electronic device for executing starting operation based on starting instruction provided by endpoint device
KR20140083530A (en) System on chip including boot shell debugging hardware and driving method thereof
WO2023087696A1 (en) Communication module and external interface configuration method and configuration apparatus therefor, and storage medium
JP6092905B2 (en) Method and electronic apparatus for operating a plurality of operating systems
WO2015196479A1 (en) Program data updating method and device
KR20190109979A (en) Electronic device and method for controling update thereof
KR20060131296A (en) Computer system capable of supporting multi-operating systems and method for supporting multi-os in the same system
US20030041271A1 (en) Reporting and handling multiple platform variants
TWI765329B (en) Bios switch system and method
WO2012155439A1 (en) System and method for bios booting
CN115562738B (en) Port configuration method, component and hard disk expansion device
TWI486876B (en) Host and method of upgrading connection manager of dongle
TWI726524B (en) Electronic processing devices and memory control methods thereof
CN114201220A (en) Switching system and method for basic input and output system
CN111381892B (en) Data processing method, device, equipment and machine-readable medium
KR100673999B1 (en) Method for booting of mobile
TWI750783B (en) Bios recovery system and method