200842708 九、發明說明: 【發明所屬之技術領域】 v 入輸出系統(BIOS) 種利用電源按鈕進 本發明是有關於-種可切換基本輸 之電月I系統及方法,且特別是有關於— 行BIOS切換之電腦系統及方法。 【先前技術】 基本輸入輸出系統(Basie Input 〇utpm system,則 在電腦中係用以記藝Φ; 、 " ▲板上各日日片與控制晶片之間的溝 式,以及其他關於開機程序的相關設定,讓使用者可 :成開機作業而進入作業系統中。因此,刪是電腦系統 :可或缺的一部份。所以’若因病毒感染或更新不當等 作因素而造成則sf料遭到毀損時,則會嚴重影響電腦 糸統的相關開機程序。 習知解決上述問題的方法是在儲存Bl〇s資料的基本 輸入輸出系統唯讀記憶體(則SR,,將其用以儲存資 枓的記憶區分為二部分’―部分作為系統—般開機使用, ^一部分則作為備份❹,接著再藉由軟體加以設定記憶 區切換的動作。然而’如此作法通f需要bi〇s r〇m中啟 動區的資料完整’才可啟料、統並進行切換的動作,倘若 啟動區裡的資料全部毀損,則無法達到救援的目的。 此外,市面上亦有其他解決的方法,例如跳接主機板 上的跳線(lumper)’使得BI〇s能夠接受更新資料的要求。 然而’此種作法仍然需要制者自行取得完整的則s更新 5 200842708 内容,所以對於使用者而言是非常麻煩且複雜的。 因此,需要一種更簡單的BIOS切換方法,讓使用者可 輕易地解決因BI0S資料遭毀損而造成電腦無法正常開機 的問題,完成Bios救援的目的。 【發明内容】 依恥本發明一實施例,提出一種利用電源按鈕進行200842708 IX, invention description: [Technical field of invention] v input and output system (BIOS) using the power button into the present invention is related to a type of switchable basic transmission system and method, and especially related to - Computer system and method for BIOS switching. [Prior Art] Basic input and output system (Basie Input 〇utpm system, which is used in the computer to record Φ; , " ▲ on the board between the solar film and the control chip, and other related boot procedures The relevant settings allow the user to enter the operating system into the booting operation. Therefore, deleting is a part of the computer system that is indispensable. Therefore, if it is caused by a virus infection or improper update, etc. When it is damaged, it will seriously affect the related booting process of the computer system. The conventional solution to solve the above problem is to store the memory of the basic input and output system of the Blss data (the SR, and use it for storage). The memory of the resource is divided into two parts: the part is used as the system, and the part is used as the backup file. Then the software is used to set the memory area switching action. However, the method of doing this requires bi〇sr〇m. The information in the start-up area is complete, and the action of switching can be started. If the data in the start-up area is completely damaged, the purpose of the rescue cannot be achieved. There are other solutions, such as jumper lumper on the motherboard, so that BI〇s can accept the requirement to update the data. However, 'this method still requires the manufacturer to obtain the complete s update 5 200842708 content Therefore, 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 computer cannot be booted normally due to the destruction of the BI0S data, and complete the Bios rescue. [Invention] According to an embodiment of the invention, a power button is proposed.
' 切換之電腦系統。此電腦系統包含—電源按紐、—侦 測裝置以及—切換電路。電源按紐電性㈣至電腦系統,、 ^貞測衣置電㈣接於電源按*,並用以在電源按紐被持 績按麼之時間達—切換時間值後輸出—切換信號以及—開 機㈣’纟中開機信號係命令電腦系統進行—開機程序。 切換電路電,_接於制裝置,並根據㈣信號將電腦系 統中供開機程序使用之—第—刪資料切換至—第二 BIOS資料。 71 員1列,提出 伙脒尽發明 —S切換之方法。此方法包含按壓一電腦系統中之一電 杈,:偵測電源按鈕被按壓之時間;判別電源按鈕是否 ^績知壓達-切換時間值;#t源按城持續按壓達切: 4間值h ’輸出-切換信號以及_開機信號,其中開機 =係命令電腦系統進行-開機程序;以及根據切換信號j :腦系統中供_程序使用之-第-則S資料切換至· 弟一 BIOS資料。 藉由本發明之實施例可知 ’利用電源按鈕進行' Switch the computer system. This computer system includes a power button, a detection device, and a switching circuit. Power button power (four) to the computer system, ^ 贞 test clothing power (four) connected to the power supply press *, and used to press the power button to hold the performance time to reach - switch the time value after the output - switch signal and - boot (4) 'The boot signal in the middle of the system is commanded by the computer system to start the program. Switching circuit power, _ connected to the device, and according to the (4) signal to the computer system used for the boot program - the first - delete data to - the second BIOS data. 71 members and 1 column, proposed to do the best way to invent - S switch. The method includes pressing one of the computer systems to: detect the time when the power button is pressed; determine whether the power button has a good pressure-to-switch time value; #t source continues to press the city to cut: 4 values h 'output-switch signal and _ boot signal, where boot = system command computer system - boot program; and according to switch signal j: brain system for _ program use - the first - then S data switch to · brother a BIOS data . According to an embodiment of the present invention, 'using a power button
BIOS 200842708 切換之電腦系統及方法,可讓使用者非常簡易地將Bi〇s 切換至備援的部分,並且可於主要的BIOS被完全破壞時, 亦即當電腦系統的備援判斷程式被破壞,或是所有Bi〇s 資料均消失或錯亂時,也可僅藉由電源按鈕進行BI〇s切 換,完成系統救援的動作。除此之外,不需增加額外的按 鈕或軚體没什即可達到目的,可相對地節省系統救援的成 〇 【實施方式】 請參照第1圖,係繪示依照本發明一實施例之電腦系 =的示意圖。此電腦系統丨⑽包含一電源按鈕1〇2、一偵測 裝置104、一切換電路1〇6、一南橋晶片1〇8、一輸出入晶 片110以及一 BIOS唯讀記憶體(BI〇s R〇M) 112。偵測裝 置ι〇2係電性耦接於電源按鈕102,用以偵測電源按鈕ι〇2 被持續按壓的時間,並根據電源按鈕1〇2被持續按壓的時 ,輸出一切換信號、一開機信號或一關機信號,其中開機 3係命令電腦系統進行—開機程序,而關機信號則是命 7電腦系統進行一關機程序。其中,偵測裝置104可為一 可耘式化陣列邏輯(pr〇grammable Amy L〇gic,pAL)裝置, 且設計者可藉由編寫或更改可程式化陣列邏輯裝置的程式 碼來增加額外的_判斷功能,以輸出偵測信號。切換電 路1〇6係電性輕接於債測裝^ 1〇4,並根據切換信號將電腦 系統中可供開機程序使用之—第―bigs資料切換至一第 資料,其中以本實施例而言,切換電路10ό可為一 200842708 XOR邏輯閘。 橋曰曰片1 08係電性_接於偵測裝置丨ο#,並用以接收 衣置104所輸出的開機信號或關機信號,以輸出一指 ^ 輸出入晶片110,如Super I/O晶片,係電性耦接 =南橋曰曰片1〇8,並接收南橋晶片1〇8所輸出的指令信號, 藉乂進行相關的開機程序或關機程序。而bi〇s唯讀記憶體 112則疋電性_接於切換電路1〇6以及輸出人晶片110,並 儲存第_m〇sf料之_第—記憶區⑴以及用以 存:二Bl〇S資料之一第二記憶區116。 田電源按4丑1〇2被持續按壓少於一預定時間值,如4 ^夺,伽裝置m會輸出開機信號至南橋晶片⑽中, 橋曰曰片108再傳送相關的開機指令信號至輸出入晶片 一/^輸出人晶片110讀取刪唯讀記憶體112中第 Z Γ 的第—職資料,並進行相關的開機程序。 1G2被持續㈣達預定時難,如4秒時, 、,、衣〇4會輸出關機信號至南橋晶片108中,南;^日 =再傳送相關的關機指令信號至輸出… 進仃相關的關機程序。 精乂 菖電源按紐1 〇2被拉綠 > 两、去 且輸出切換信號至二:電= 職邏㈣會她貞财 财。此時, _唯讀記憶體中的第—:憶::;=叫將 U6,使得原先藉由第-記憶區-的_資:= 200842708 開機程序,可切換為第二記憶區116供輸出入晶片11()讀 取而執行相關開機程序。 印參照第2圖,係緣示依照本發明另一實施例之電腦 系統的示意圖。此電腦系統2〇〇包含一電源按鈕2〇2、一偵 測裝置204、一切換電路2〇6、一南橋晶片2〇8、一輸出入 晶片210、一第一 BI〇S唯讀記憶體212以及一第二BIOS 唯讀記憶體214。其中,電源按鈕2〇2、偵測裝置2〇4、南 _ 橋晶片208以及輸出入晶片210的連接及作動方式均與第工 圖的實施例相同。以本實施例而言,偵測裝置2〇4同樣可 為一可程式化陣列邏輯(pr〇graminable Array Logic,PAL)裝 置,而切換電路106則可為一邏輯電路。此外,第一 BI〇s 唯讀記憶體212以及第二BIOS唯讀記憶體214分別均電性 耦接於切換電路206以及輸出入晶片210,並分別用以儲存 第一 BIOS資料以及第二Bi〇s資料。 當電源按鈕202被持續按壓少於預定時間值,如4秒 _ 時’偵測裝置204會輸出開機信號至南橋晶片208中,南 橋晶片208再傳送相關的開機指令信號至輸出入晶片 210,使得輸出入晶片210讀取第一 BI0S唯讀記憶體212 中的弟一 BIOS資料,並進行相關的開機程序。 當電源按鈕202被持續按壓達預定時間值,如4秒時, 4貞測裝置204會輸出關機信號至南橋晶片208中,点技 τ ’雨橋晶 月208再傳送相關的關機指令信號至輸出入晶片21〇,藉以 進行相關的關機程序。 當電源按鈕202被持續按壓達切換時間值,如8秒時, 200842708 τ偵測衣置204會輸出開機信號至南橋晶片細中,並 :輸出切換信號至切換電路206,即邏輯電路中。此時,邏 =電路會根據偵測裝置2〇4所輪出的切換信號,將第一 π唯靖D己憶體212切換至第二Bl〇s唯讀記憶體214 , 使得原先藉由第- BI0S唯讀記憶體212中的第—m〇s資 ^所進仃的開機程序’可切換為第二bi〇s唯讀記憶體叫 八輸出入曰曰片1 J 〇 §買取而執行相關開機程序。如此一來, 便可::易地利用電源按鈕來進行電腦系統中則s的切換。 /參照第3 11 ’係繪示依照本發明—實施例之利用電 源按紐進行则8補之方法。首先,由使用者按壓電腦系 統中之一電源按紐(步驟300)。接著,藉由一偵測裝置偵測 電源按紐被按壓的時間(步驟搬)。再者,判別電源按紐是 否被持續按壓少於一預定時間值,如4秒(步驟3〇4)。若當 電源按紐被持續按壓少於敎時間值時,則輸出開機信號 以供電腦系統進行相關的開機程序(步驟3〇6)。若否,則再 判別電源按鈕是否被持續按壓達預定時間值(步驟3〇8)。 接著’若電源按鈕被持續按壓達預定時間值時,則輸 出關機信號以供電腦系統進行相關的關機程序(步驟 3 10)。若否,則再判別電源按紐是否被持續按壓達一切換 時間值’如8秒(㈣3i2),其中預定時間值係小於切換時 間值。 再者,若電源按鈕係被持續按壓達切換時間值,則輸 出切換信號以及開機信號(步驟314)。然後,再根據切換信 號將電細糸統中供開機程序使用的第一 BIOS資料切換至 200842708 第二BIOS資料,並根據開機信號進行相關的開機程序(步 驟 316) 〇 由上述本發明之實施例可知,利用電源按鈕進行Bl〇s 切換之電腦系統及方法,可讓使用者非常簡易地將m〇s 切換至備援的部分,並且可於主要的BIOS被完全破壞時, 亦即當電腦系統的備援判斷程式被破壞,或是其中所有 BIOS資料均消失或錯亂時,也可僅藉由電源按鈕進行Βι〇§ 切換,完成系統救援的動作。除此之外,不需增加額外的 接鈕或軟體設計即可達到目的,可栢對地節省系統救援的 成本。 雖然本發明已以實施例揭鑫如上,然其並非用以限定 本發明’任何所屬技術領域中具有通常知識者, 本發明之精神和範圍内,當可作各種之更動與^不= 本發明之保護範圍當視後附之巾請專利範圍所界定者為 【圖式簡單說明】 優點與實施例 处為讓本發明之上述和其他目的、特徵、 i更明顯易懂’所附圖式之詳細說明如下: 第1圖係緣示依昭太路日日 容^ , t _ …奉各明一貫施例之電腦系統的示意 第2圖係繪示依照本發明另一眚 十知θ力男轭例之電腦系統的示 〇 ^ 200842708 第3圖係繪示依照本發明一實施例之利用電源按鈕進 行BIOS切換之方法。 【主要元件符號說明】 100、200 :電腦系統 102、202 :電源按鈕 104、204 :偵測裝置 106、206 ••切換電路 108、208 :南橋晶片 110、210 :輸出入晶片 112、212、214 ·· BIOS 唯讀記憶體 114 :第一記憶區 116 :第二記憶區 300〜316 ··步驟BIOS 200842708 Switching computer system and method, it is very easy for users to switch Bi〇s to the backup part, and when the main BIOS is completely destroyed, that is, when the computer system's backup judgment program is destroyed Or when all Bi〇s data disappears or is disordered, the BI〇s switch can be performed only by the power button to complete the system rescue operation. In addition, the purpose of the system rescue can be saved without adding additional buttons or bodies. [Embodiment] Referring to FIG. 1 , an embodiment of the present invention is illustrated. A schematic diagram of the computer system =. The computer system (10) comprises a power button 1 〇 2, a detecting device 104, a switching circuit 〇6, a south bridge chip 〇8, an input and output wafer 110, and a BIOS read-only memory (BI〇s R 〇M) 112. The detecting device ι〇2 is electrically coupled to the power button 102 for detecting the time when the power button ι〇2 is continuously pressed, and outputs a switching signal according to the time when the power button 1〇2 is continuously pressed. The boot signal or a shutdown signal, wherein the boot 3 system commands the computer system to perform the boot process, and the shutdown signal is the 7 computer system performs a shutdown procedure. The detecting device 104 can be a pr〇grammable Amy L〇gic (pAL) device, and the designer can add additional code by writing or changing the code of the programmable array logic device. _ judgment function to output detection signal. The switching circuit 1〇6 is electrically connected to the debt measuring device 1〇4, and switches the “big” data used by the booting program in the computer system to a first data according to the switching signal, wherein in the embodiment In other words, the switching circuit 10 can be a 200842708 XOR logic gate. The bridge block 1 08 is electrically connected to the detecting device 丨ο#, and is used for receiving the power-on signal or the power-off signal outputted by the clothes 104 to output a finger to the chip 110, such as a Super I/O chip. , Electrical coupling = South Bridge 〇 1〇8, and receive the command signal output from the South Bridge chip 1 〇 8, to carry out the relevant boot process or shutdown program. The bi〇s read-only memory 112 is electrically connected to the switching circuit 1〇6 and the output human chip 110, and stores the _th memory area (1) of the _m〇sf material and is used for storing: two B1〇 One of the S data is a second memory area 116. The field power supply is continuously pressed for less than a predetermined time value according to 4 ugs 1 〇 2, for example, 4 夺, the gamma device m will output a power-on signal to the south bridge chip (10), and the bridge chip 108 transmits the relevant power-on command signal to the output. The incoming wafer/output chip 110 reads and deletes the first job data of the third page in the read-only memory 112, and performs a related boot process. 1G2 is continued (four) is difficult to reach the scheduled time. For example, when 4 seconds, the 〇 4 will output a shutdown signal to the south bridge wafer 108, south; ^ day = re-transmit the relevant shutdown command signal to the output... program. Fine 菖 菖 power button 1 〇 2 is pulled green > two, go and output switching signal to two: electricity = job logic (four) will her wealth. At this time, the first in the _read-only memory:: memorize::; = call U6, so that the original memory can be switched to the second memory area 116 for output by the first memory area of the first memory area: = 200842708 The wafer 11 () is read and the associated boot process is executed. 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〇2, a detecting device 204, a switching circuit 2〇6, a south bridge chip 2〇8, an input and output wafer 210, and a first BI〇S read-only memory. 212 and a second BIOS 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 210 are the same as those of the embodiment of the drawing. In this embodiment, the detecting device 2〇4 can also be a pr〇graminable Array Logic (PAL) device, and the switching circuit 106 can be a logic circuit. In addition, the first BI〇s read-only memory 212 and the second BIOS-only memory 214 are electrically coupled to the switching circuit 206 and the input/output wafer 210, respectively, for storing the first BIOS data and the second Bi, respectively. 〇s information. 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 wafer 208, and the south bridge wafer 208 transmits the associated power-on command signal to the output wafer 210, so that The input/output wafer 210 reads the BIOS data of the first BI0S read-only memory 212 and performs related booting procedures. When the power button 202 is continuously pressed for a predetermined time value, such as 4 seconds, the 4 detecting device 204 outputs a shutdown signal to the south bridge wafer 208, and the point technology τ 'Yuqiao Jingyue 208 transmits the related shutdown command signal to the output. Enter the chip 21〇 to perform the relevant shutdown procedure. When the power button 202 is continuously pressed for a switching time value, such as 8 seconds, the 200842708 τ detecting device 204 outputs a power-on signal to the south bridge wafer, and outputs a switching signal to the switching circuit 206, that is, the logic circuit. At this time, the logic=circuit switches the first π Weijing D memory 212 to the second Bls read-only memory 214 according to the switching signal rotated by the detecting device 2〇4, so that the original - The startup program of the first m〇s resource in the BI0S read-only memory 212 can be switched to the second bi〇s read-only memory called the eight-input and output slice 1 J 〇§ buy and execute related Boot program. In this way, you can: Use the power button to switch the s in the computer system. / Referring to the 3rd 11th embodiment, the method of using the power button to perform the 8th compensation according to the present invention is shown. First, the user presses a power button in the computer system (step 300). Then, a detecting device detects the time when the power button is pressed (step moving). Furthermore, it is determined whether the power button is continuously pressed for less than a predetermined time value, such as 4 seconds (step 3〇4). If the power button is continuously pressed for less than the time value, the 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 the relevant shutdown procedure (step 3 10). If not, it is determined whether the power button is continuously pressed for a switching time value ', such as 8 seconds ((4) 3i2), wherein the predetermined time value is less than the switching time value. Furthermore, if the power button is continuously pressed for the switching time value, the switching signal and the power-on signal are output (step 314). Then, according to the switching signal, the first BIOS data used by the booting program in the power switch system is switched to the 200842708 second BIOS data, and the related booting process is performed according to the boot signal (step 316). It can be seen that the computer system and method for switching the Blss with the power button allows the user to switch the m〇s to the spare part very easily, and when the main BIOS is completely destroyed, that is, when the computer system When the backup judgment program is destroyed, or all the BIOS data disappears or is disordered, the system rescue operation can be completed only by switching the power button. In addition, you can achieve the goal without adding additional buttons or software design, which saves the cost of system rescue. Although the present invention has been described above with reference to the embodiments of the present invention, it is not intended to limit the invention, and the present invention may be practiced in various ways. The scope of protection is defined by the scope of the patent. [Brief Description] Advantages and embodiments are to make the above and other objects, features, and i of the present invention more obvious and easy to understand. The detailed description is as follows: The first picture shows the relationship between the Japanese and the Japanese. ^ t _ ... The schematic diagram of the computer system of each of the consistent examples is shown in another figure according to the present invention. Description of the computer system of the yoke example 200842708 FIG. 3 is a diagram showing a method of performing BIOS switching using a power button according to 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, 210: input and output wafer 112, 212, 214 ·· BIOS read-only memory 114: first memory area 116: second memory area 300~316 ··step
1212