1332177 九、發明說明: 【發明所屬之技術領域】 本發明是有關於一種可切換基本輸入輸出系統(BI〇s) 之電腦系統及方法’且特別是有關於一種利用電源按鈕進 行BIOS切換之電腦系統及方法。 【先前技術】 基本輸入輸出系統(Basic Input Output System,BIOS) 在電腦中係用以記載主機板上各晶片與控制晶片之間的溝 通模式,以及其他關於開機程序的相關設定,讓使用者可 元成開機作業而進入作業系統中。因此,BI〇s是電腦系統 中不可或缺的一部份。所以,若因病毒感染或更新不當等 操作因素而造成BI0S資料遭到毀損時,則會嚴重影響電腦 系統的相關開機程序。 習知解決上述問題的方法是在儲存BI〇s資料的基本 輪入輸出系統唯讀記憶體(BI〇SR〇M)*,將其用以儲存資 料的δ己憶區分為二部分,一部分作為系統一般開機使用, 另一部分則作為備份使用,接著再藉由軟體加以設定記憶 區切換的動作。然而’如此作法通常需要BI〇s R〇]VI中啟 動區的資料完整’才可啟動系統並進行切換的動作倘若 啟動區裡的貢料全部毀損,則無法達到救援的目的。 此外,市面上亦有其他解決的方法,例如跳接主機板 上的跳線(Jumper),使得BI0S能夠接受更新資料的要求。 然而,此種作法仍然需要使用者自行取得完整的BIOS更新 5 1332177 内容,所以對於使用者而言是非常麻煩且複雜的。 因此’需要一種更簡單的BIOS切換方法,讓使用者可 輕易地解決因BIOS資料遭毁損而造成電腦無法正常開機 的問題,完成BIOS救援的目的。 容 内 明 發1332177 IX. Description of the Invention: [Technical Field] The present invention relates to a computer system and method for switching a basic input/output system (BI〇s), and more particularly to a computer for BIOS switching using a power button System and method. [Prior Art] Basic Input Output System (BIOS) is used in the computer to record the communication mode between each chip on the motherboard and the control chip, and other related settings related to the boot process, so that the user can Yuancheng started the operation and entered the operating system. Therefore, BI〇s is an integral part of the computer system. Therefore, if the BI0S data is damaged due to operational factors such as virus infection or improper update, it will seriously affect the computer system related boot process. The conventional method for solving the above problem is to store the BI〇s data in the basic round-in and output system read-only memory (BI〇SR〇M)*, and divide the δ-resonation used to store the data into two parts, part of which is The system is generally turned on, and the other part is used as a backup, and then the memory is switched by the software. However, this method usually requires BI资料s R〇] the complete information of the start-up area in the VI can only start the system and switch the action. If the tributaries in the start-up area are completely damaged, the rescue purpose cannot be achieved. In addition, there are other solutions on the market, such as jumper jumpers on the motherboard, so that BI0S can accept the requirements for updating data. However, this practice still requires the user to obtain the full BIOS update 5 1332177 content, so it is very cumbersome and complicated for the user. Therefore, a simpler BIOS switching method is needed, so that the user can easily solve the problem that the BIOS cannot be booted properly due to the destruction of the BIOS data, and the purpose of BIOS rescue is completed. Rong Mingming
Ά ^ Ix'J -你了、饮城退;f BIOS切換之電腦系統。此電腦系統包含一電源按鈕、 測裝置以及一切換電路。電源按鈕電性耦接至電腦系統 而偵測裝置電性耦接於電源按鈕’並用以在電源按鈕被· 續按壓之時間達一切換時間值後輸出—切換信號以及 機信號’其中開機信號係命令電腦系統進行-開機程序^ 切換電路電性耦接於偵測裝置,並根據切換信號將 統中供開機程序使用之一第一刪資料, _ BIOS資料。 弟- 依照本發明另—^ it, I _1日I 刪切換之方1 例’提出—種利用電源按知軸 .^ 、 法。此方法包含按壓一電腦系統中之一電济 按知;偵測電源按鈕被按 持續按壓達時間,_電源按紐是否祐 時間值時,輪出二:當電源按鈕被持續按壓達切損 號係命令電腦系絲:換二號以及一開機信號’其中開機信 電腦系統令供門機丁—開機程序;以及根據切換信號將 第二程序使用之—第—則s資料切換至一Ά ^ Ix'J - You have, drink the city back; f BIOS switch computer system. The computer system includes a power button, a measuring device, and a switching circuit. The power button is electrically coupled to the computer system, and the detecting device is electrically coupled to the power button 'and is used to output a switching time value after the power button is continuously pressed. - the switching signal and the machine signal. Commanding the computer system to perform the booting process ^ The switching circuit is electrically coupled to the detecting device, and according to the switching signal, the first deleted data, _BIOS data, is used by the booting program.弟 - In accordance with the present invention, another method of "I", I _1, I, and I switch to the '1' is proposed to use the power supply to know the axis. The method includes pressing one of the computer systems to press the power; the detecting power button is pressed for a continuous time, and the _ power button is for the time value, and the second is when the power button is continuously pressed to the cut loss number. Command the computer silk: change the second and a boot signal 'where the boot letter computer system is used to make the door machine - the boot program; and according to the switching signal, the second program is used - the first s data is switched to one
;發月之實施例可知,利用電源按趣進行BIOS 上332177 切換之電腦系統及方法,可讓使用者非常簡易地將BI0S 切換至備援的部分,並且可於主要的BI〇s被完全破壞時, 亦即虽電腦系統的備援判斷程式被破壞,或是所有BI〇s 資料均消失或錯亂時,也可僅藉由電源按鈕進行 BIOS 切 換,凡成系統救援的動作。除此之外,不需增加額外的按 鈕或軟體設計即可達到目的,可相對地節省系統救援的成 〇 【實施方式】 请參照第1圖,係繪示依照本發明一實施例之電腦系 統的示意圖。此電腦系統1〇〇包含一電源按鈕1〇2、一偵測 裝置104、一切換電路1〇6、一南橋晶片1〇8、一輸出入晶 片110以及一 BIOS唯讀記憶體(BI〇s R〇M) 112。偵測裝 置1〇4係電性耦接於電源按鈕1〇2,用以偵測電源按鈕1〇2 被持續按壓的時間,並根據電源按鈕1〇2被持續按壓的時 間輸出-切換信號、―開機信號或—關機信號,其中開機 L號係op令電腦系統進行一開機程序,而關機信號則是命 令電腦系統進行—關機程序。其中,偵測裝置104可為-可程式化陣列邏輯(Pr〇grammable Array L〇gk, pAL)裝置, 且設計者可藉由編寫或更改可程式化陣列邏輯裝置的程式 碼來增加額外的偵測判斷功能,以輸出偵測信號。切換電 路i 06係電ϋ㈢接於彳貞測裝置丨Q4 ’並根據切換信號將電腦 系統中可供開機程序使用之一第—則s資料切換至一第 一 BIOS資料,其中以本實施例而言切換電路可為一 1332177 XOR邏輯閘。 南橋晶片108係電性耦接於偵測裝置104,並用以接收 偵測裝置104所輸出的開機信號或關機信號,以輸出一指 7 L號。輸出入晶片110,如Super I/O晶片,係電性耦接 於南橋晶片108,並接收南橋晶片1〇8所輸出的指令信號, 藉以進行相關的開機程序或關機程序。而BI〇s唯讀記憶體 112則是電性耦接於切換電路1〇6以及輸出入晶片ιι〇,並According to the embodiment of the month, the computer system and method for switching the 332177 on the BIOS by using the power supply can make the user switch the BI0S to the spare part very easily, and can be completely destroyed in the main BI〇s. In other words, even if the computer system's backup judgment program is destroyed, or all BI〇s data disappears or is disordered, the BIOS can be switched only by the power button, and the system rescue operation. In addition, the purpose of the system rescue can be achieved without adding an extra button or software design. [Embodiment] Referring to FIG. 1 , a computer system according to an embodiment of the present invention is illustrated. Schematic diagram. The computer system 1A includes a power button 1〇2, a detecting device 104, a switching circuit 1〇6, a south bridge chip 1〇8, an input and output wafer 110, and a BIOS read-only memory (BI〇s R〇M) 112. The detecting device 1〇4 is electrically coupled to the power button 1〇2 for detecting the time when the power button 1〇2 is continuously pressed, and outputting a switching signal according to the time when the power button 1〇2 is continuously pressed, ―Start-up signal or-shutdown signal, in which the boot L number is used to make the computer system perform a boot process, and the shutdown signal is to command the computer system to perform the shutdown process. The detecting device 104 can be a programmable logic array (Pr〇grammable Array L〇gk, pAL) device, and the designer can add additional detection by writing or changing the code of the programmable array logic device. The judgment function is detected to output a detection signal. The switching circuit i 06 is electrically connected to the detecting device 丨Q4' and switches one of the computer system's available booting programs to a first BIOS data according to the switching signal, wherein in the embodiment The switching circuit can be a 1332177 XOR logic gate. The south bridge chip 108 is electrically coupled to the detecting device 104 and configured to receive the power-on signal or the power-off signal output by the detecting device 104 to output a finger number. The output chip 110, such as a Super I/O chip, is electrically coupled to the south bridge wafer 108 and receives a command signal output from the south bridge chip 1 to perform an associated boot process or shutdown process. The BI〇s read-only memory 112 is electrically coupled to the switching circuit 1〇6 and the output chip ιι〇, and
具有用以儲存第一 BIOS資料之一第一記憶區114以及用以 儲存第二BIOS資料之一第二記憶區116。 當電源按鈕102被持續按壓少於一預定時間值,如4 秒時,偵測裝置104會輸出開機信號至南橋晶片1〇8中, 南橋晶片108再傳送相關的開機指令信號至輸出入晶片 使得輸出入晶片11〇讀取BI〇s唯讀記憶體112中第 一記憶區114的第一 BIOS資料,並進行栢關的開機程序。 當電源按鈕102被持續按壓達預定時間值,如4秒時, 偵測裝置104會輸出關機信號至南橋晶片1〇8中南橋晶 片ι〇8再傳送相關的關機指令信號至輸出入晶片11〇,藉以 進行相關的關機程序。 田電源按紐102被持續按壓達一切換時間值,如8和、 時,偵測裝置104會輸出開機信號至南橋晶片1〇8中,I 且輸出切換信號至切換電路106,即x〇R邏輯閘_。此時、, XOR邏輯閘會根據偵測裝置1〇4所輸出的切換信號,’將 BIOS唯讀記憶體中的第一記憶區114切換至第二呓情品 ⑴’使得原先藉由第一記憶區114的Bl〇s資料所 8 1332177 開機程序,可切換為第二記憶區116供輸出入晶片11〇讀 取而執行相關開機程序。 請參照第2圖,係繪示依照本發明另一實施例之電腦 系統的示意圖。此電腦系統2〇〇包含一電源按鈕2〇2、一偵 測裝置204、一切換電路2〇6、一南橋晶片2〇8、一輸出入 晶片210、一第一 BIOS唯讀記憶體212以及一第二Bi〇s 唯讀記憶體214。其中,電源按鈕2〇2、偵測裝置2〇4、南 橋晶片208以及輸出入晶片21〇的連接及作動方式均與第i 圖的實施例相同。以本實施例而言,偵測裝置2〇4同樣可 為一可程式化陣列邏輯(pr〇grammable Array L〇gic,卩八^^裝 置,而切換電路106則可為一邏輯電路。此外,第一 m〇s 唯讀記憶體212以及第二BI〇s唯讀記憶體214分別均電性 耦接於切換電路206以及輸出入晶片21〇,並分別用以儲存 第一 BIOS資料以及第二BIOS資料。 當電源按鈕202被持續按壓少於預定時間值,如4秒 時,偵測裝置204會輸出開機信號至南橋晶片2〇8中,南 橋晶片208再傳送相關的開機指令信號至輸出入晶片 210,使得輸出入晶片210讀取第一 bi〇S唯讀記憶體212 中的第一 BIOS資料,並進行相關的開機程序。 當電源按鈕202被持續按壓達預定時間值,如4秒時, 偵測裝置204會輸出關機信號至南橋晶片2〇8中,南严曰 片208再傳送相關的關機指令信號至輸出入晶片η。,藉以 進行相關的關機程序。 當電源按紐202被持續按壓達切換時間值,如8和時 叫丄77 裝置204會輸出開機信號至南橋晶片208中,並 輯電換信號至切換電路206,即邏輯電路卜此時,邏 m會根據_置2G4 唯^記憶體212切換至第二则3唯讀記憶體…, 什原先藉由第一 BI0S唯讀記憶體212中的 10 料所進行的開機程序,可切換為第__ 汁J切換马第一 BI〇s唯讀記憶體214 ^入晶片110讀取而執行相關開機程序。如此一來,There is a first memory area 114 for storing the first BIOS data and a second memory area 116 for storing the second BIOS data. When the power button 102 is continuously pressed for less than a predetermined time value, such as 4 seconds, the detecting device 104 outputs a power-on signal to the south bridge wafer 1〇8, and the south bridge wafer 108 transmits the relevant power-on command signal to the output wafer. The input and output of the chip 11 reads the first BIOS data of the first memory area 114 in the BI memory, and performs the boot process of the switch. When the power button 102 is continuously pressed for a predetermined time value, such as 4 seconds, the detecting device 104 outputs a shutdown signal to the south bridge wafer 1 〇 8 south bridge wafer ι 8 and transmits the relevant shutdown command signal to the output wafer 11 〇 , in order to carry out the relevant shutdown procedures. The field power button 102 is continuously pressed for a switching time value, such as 8 and , the detecting device 104 outputs a power-on signal to the south bridge chip 1〇8, and outputs a switching signal to the switching circuit 106, that is, x〇R Logic gate _. At this time, the XOR logic gate switches the first memory area 114 in the BIOS read-only memory to the second memory item (1) according to the switching signal outputted by the detecting device 1〇4, so that the first The booting process of the Blss data section 8 1332177 of the memory area 114 can be switched to the second memory area 116 for reading and outputting into the wafer 11 to perform the relevant booting process. Referring to Figure 2, there is shown a schematic diagram of a computer system in accordance with another embodiment of the present invention. The computer system 2 includes a power button 2, a detecting device 204, a switching circuit 2〇6, a south bridge chip 2〇8, an output chip 210, a first BIOS read-only memory 212, and A second Bi〇s read-only memory 214. The connection and operation modes of the power button 2〇2, the detecting device 2〇4, the south bridge wafer 208, and the input/output wafer 21〇 are the same as those of the embodiment of the first embodiment. In this embodiment, the detecting device 2〇4 can also be a programmable array logic (pr〇grammable Array L〇gic device), and the switching circuit 106 can be a logic circuit. The first m〇s read-only memory 212 and the second BI〇s read-only memory 214 are respectively electrically coupled to the switching circuit 206 and the input/output chip 21〇, and are respectively configured to store the first BIOS data and the second When the power button 202 is continuously pressed for less than a predetermined time value, such as 4 seconds, the detecting device 204 outputs a power-on signal to the south bridge chip 2〇8, and the south bridge chip 208 transmits the relevant power-on command signal to the input and output. The wafer 210 is such that the input/output wafer 210 reads the first BIOS data in the first bio-S read-only memory 212 and performs an associated boot process. When the power button 202 is continuously pressed for a predetermined time value, such as 4 seconds The detecting device 204 outputs a shutdown signal to the south bridge chip 2〇8, and the south strict film 208 transmits the relevant shutdown command signal to the output wafer η to perform the relevant shutdown procedure. When the power button 202 is continued Press Switching time value, such as 8 and time 丄 77 device 204 will output a power-on signal to the south bridge chip 208, and automatically switch the signal to the switching circuit 206, that is, the logic circuit, at this time, the logic m will be based on _ set 2G4 only ^ memory The body 212 is switched to the second 3 read-only memory..., and the boot process performed by the 10 materials in the first BI0S read-only memory 212 can be switched to the first __ juice J switch horse first BI〇 The read-only memory 214 is read into the wafer 110 to perform the relevant boot process. Thus,
便可:易地利用電源按鈕來進行電腦系統中刪的切換。 請參照第3圖,係繪示依照本發明一實施例之利用電 :、’進行BIOS切換之方法。首先’由使用者按壓電腦系 統中之-電源按知(步驟300)。接著,藉由—偵測裝置债測 電源按紐被按壓的時間(步驟3〇2)。再者,朗電源按紐是 否被持、,,|按壓少於一預定時間值,如4秒(步驟3⑽)。若當 電源按鈕被持續按壓少於預定時間值時,則輸出開機信號 以供電腦系統進行相關的開機程序(步驟3〇6)。若否,則再 判別電源按鈕是否被持續按壓達預定時間值(步驟3〇8)。 接著’若電源按钮被持續按壓達預定時間值時,則輸 出關機信號以供電腦系統進行相關的關機程序(步驟 310)。若否’則再判別電源按鈕是否被持續按壓達一切換 時間值,如8秒(步驟312),其中預定時間值係小於切換時 間值。 再者’若電源按鈕係被持續按壓達切換時間值,則輪 出切換信號以及開機信號(步驟314)。然後,再根據切換信 號將電腦系統中供開機程序使用的第一BI0S資料切換至 1332177 ’第:㈣s資料,並根㈣機錢進行相關的開機程序(步 ' 弾 316) 〇 由上述本發明之實施例可知,利用電源按鈕進行bi〇s 切換之電腦系統及方法’可讓使用者非常簡易地將bi〇s 切換至備援的部分,並且可於主要的BIOS被完全破请味, - 亦即當電腦系統的備援判斷程式被破壞,或是其中所有 BIOS資料均消失或錯亂時’也可僅藉由電源按叙進行b廳 • 七刀換,完成系統救援的動作。除此之外,不需增加額外的 按叙或軟體設計即可達到目的,可相對地節省系統救援的 成本。 雖然本發明已以實施例揭露如上,然其並非用以限定 本發明,任何所屬技術領域中具有通常知識者,在不脫離 本發明之精神和範圍内,當可作各種之更動與潤飾,因此 本發明之保護範圍當視後附之申請專利範圍所界定者為 ,準。 ,· 【圖式簡單說明】 為讓本發明之上述和其他目的、特徵、優點與實施例 能更明顯易懂,所附圖式之詳細說明如下: 第1圖係繪示依照本發明一實施例之電腦系統的示意 圖。 第2圖係繪不依照本發明另一實施例之電腦系統的示 意圖。 1332177 第3圖係繪示依照本發明一實施例之利用電源按鈕進 行BIOS切換之方法。 【主要元件符號說明】 100、200 :電腦系統 102、202 :電源按鈕 104、204 :偵測裝置 ® 106、206 :切換電路 108、208 :南橋晶片 110、2 10 :輸出入晶片 112、212、214: BIOS 唯讀記憶體 114 :第一記憶區 11 6 :第二記憶區 300〜316 :步驟 12Can: Easily use the power button to switch between computer systems. Referring to FIG. 3, a method for performing BIOS switching using power:, ', according to an embodiment of the present invention is shown. First, the user presses the power supply in the computer system (step 300). Next, the time at which the power button is pressed is detected by the detecting device (step 3〇2). Furthermore, whether the Lang power button is held or not is pressed for less than a predetermined time value, such as 4 seconds (step 3 (10)). If the power button is continuously pressed for less than the predetermined time value, a power-on signal is output for the computer system to perform the relevant power-on procedure (step 3〇6). If not, it is determined whether the power button is continuously pressed for a predetermined time value (step 3〇8). Then, if the power button is continuously pressed for a predetermined time value, a shutdown signal is output for the computer system to perform an associated shutdown procedure (step 310). If no, then it is determined whether the power button is continuously pressed for a switching time value, such as 8 seconds (step 312), wherein the predetermined time value is less than the switching time value. Further, if the power button is continuously pressed for the switching time value, the switching signal and the power-on signal are rotated (step 314). Then, according to the switching signal, the first BI0S data used by the booting program in the computer system is switched to the 1332177 'the: (four) s data, and the root (4) machine money is used to perform the relevant booting procedure (step ' 弾 316). As can be seen from the embodiments, the computer system and method for bi〇s switching using the power button can make it easy for the user to switch the bi〇s to the spare part, and the main BIOS can be completely broken, - That is, when the backup judgment program of the computer system is destroyed, or when all the BIOS data disappears or is disordered, the system rescue operation can be completed only by the power supply according to the b hall and the seven-knife change. In addition, no additional design or software design is required to achieve the goal, which can save the cost of system rescue. Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make various changes and modifications without departing from the spirit and scope of the invention. The scope of protection of the present invention is defined by the scope of the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS The above and other objects, features, advantages and embodiments of the present invention will become more <RTIgt; A schematic diagram of a computer system. Figure 2 is a diagram showing a computer system not according to another embodiment of the present invention. 1332177 FIG. 3 illustrates a method of BIOS switching using a power button in accordance with an embodiment of the present invention. [Main component symbol description] 100, 200: computer system 102, 202: power button 104, 204: detecting device® 106, 206: switching circuit 108, 208: south bridge wafer 110, 2 10: output into the chip 112, 212, 214: BIOS read only memory 114: first memory area 11 6 : second memory area 300~316: step 12