Nothing Special   »   [go: up one dir, main page]

TWI413934B - Booting method - Google Patents

Booting method Download PDF

Info

Publication number
TWI413934B
TWI413934B TW98122336A TW98122336A TWI413934B TW I413934 B TWI413934 B TW I413934B TW 98122336 A TW98122336 A TW 98122336A TW 98122336 A TW98122336 A TW 98122336A TW I413934 B TWI413934 B TW I413934B
Authority
TW
Taiwan
Prior art keywords
boot
booting
icon
random access
memory
Prior art date
Application number
TW98122336A
Other languages
Chinese (zh)
Other versions
TW201102922A (en
Inventor
Sheng Hsin Lo
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to TW98122336A priority Critical patent/TWI413934B/en
Publication of TW201102922A publication Critical patent/TW201102922A/en
Application granted granted Critical
Publication of TWI413934B publication Critical patent/TWI413934B/en

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

A booting method is adapted to boot a computer. The computer includes a BIOS (Basic Input/Output System) memory, a RAM (Random Access Memory), and a display device. The BIOS memory includes a BIOS to access a boot device sequence including a first booting pointer. The booting method includes steps below: initialing the RAM; reading the boot device sequence; initialing a VGA (Video Graphics Array); loading a first booting icon corresponding with the first booting pointer into the RAM; displaying the first booting icon loaded in the RAM onto the display device; loading a booting procedure depending on the boot device sequence; and starting the computer by the booting procedure.

Description

開機方法Boot method

本發明係有關於一開機方法,特別是一種在開機(booting)階段時將第一開機圖式顯示的方法。The present invention relates to a booting method, and more particularly to a method of displaying a first booting pattern during a booting phase.

隨著資訊技術的發展,以處理器為基礎之電子裝置,如各式各樣的計算機(Computer,又稱電腦)已經普遍地被企業與個人所運用。一般計算機的開機程序如下。開啟電源之後,計算機先執行開機自我檢測(Power On SelfTest,POST)。計算機並載入基本輸出輸入系統(Basic Input/Output System,BIOS),以確定最基本的硬體架構,並對硬體進行必要的初始化作業。BIOS接著執行開機載入程式(Boot Loader),依據開機裝置序列(boot device sequence,又稱boot order)載入啟動程序,例如電腦的作業系統的核心程式。當啟動程序載入之後,計算機的控制權便交由啟動程序處理,以完成整個計算機的開機作業。With the development of information technology, processor-based electronic devices, such as various computers (computers, also known as computers) have been widely used by enterprises and individuals. The general computer boot process is as follows. After turning on the power, the computer first performs Power On Self Test (POST). The computer loads the Basic Input/Output System (BIOS) to determine the most basic hardware architecture and performs the necessary initialization operations on the hardware. The BIOS then executes the Boot Loader to load the boot program, such as the core program of the computer's operating system, based on the boot device sequence (also known as the boot order). When the startup program is loaded, the control of the computer is handled by the startup program to complete the booting of the entire computer.

前述開機裝置係指內部可能存有啟動程序的硬體裝置,例如硬碟、光碟機或是快閃裝置(flash device)。開機裝置序列則為藉由至少一個開機指標,指向至少一個開機裝置且依照優先順序排列所得到的序列。BIOS依據開機裝置序列依序在各開機裝置中找尋啟動程序,以載入並啟動計算機。開機裝置序列能讓使用者自由更改設定,使用者可在計算機系統開機中執行BIOS時以按下熱鍵(例如鍵盤之F2按鍵)的方式進入設定選單(setup menu)以更改設定。The aforementioned boot device refers to a hardware device, such as a hard disk, a CD player, or a flash device, in which an boot program may be stored. The boot device sequence is directed to at least one boot device by at least one boot indicator and arranged in a prioritized sequence. The BIOS finds the startup program in each boot device in order according to the boot device sequence to load and start the computer. The boot device sequence allows the user to change the settings freely. The user can enter the setup menu by pressing a hotkey (such as the F2 button of the keyboard) to change the settings when the BIOS is booted from the computer system.

然而執行BIOS時,使用者能進入設定選單的時間不但非常短暫,而且時機難以掌握。為了進入設定選單以更改開機裝置序列,使用者可能在開啟電源之後不斷的連按預設的熱鍵,浪費許多無謂的力氣。此外,使用者除了進入設定選單以外無法得知開機裝置序列的內容。所以即使使用者僅想要確認當時的開機裝置序列,也必須在開機時進入設定選單進行確認,十分不便。進入設定選單之後無論是否有更改開機裝置序列,通常計算機都會再度重新啟動,亦非常地浪費時間。However, when the BIOS is executed, the time that the user can enter the setting menu is not only very short, but also the timing is difficult to grasp. In order to enter the setup menu to change the boot sequence, the user may continually press the preset hotkey after turning on the power, wasting a lot of unnecessary effort. In addition, the user cannot know the contents of the boot device sequence other than entering the setup menu. Therefore, even if the user only wants to confirm the sequence of the boot device at the time, it is necessary to enter the setting menu to confirm at the time of booting, which is very inconvenient. After entering the setup menu, the computer will restart again, regardless of whether there is a change in the boot sequence, which is also a waste of time.

鑑於上述問題,本發明之目的在於提供一種開機方法,能在BIOS執行時顯示一第一開機圖示,使得使用者在開機時能夠不費力地得知被設為第一優先順位的開機裝置。同時,使用者並能輕鬆地在啟動程序被載入與執行前,以按熱鍵的方法更改指向第一開機裝置的一第一開機指標。In view of the above problems, an object of the present invention is to provide a booting method capable of displaying a first booting icon when the BIOS is executed, so that the user can effortlessly know the booting device set as the first priority when booting. At the same time, the user can easily change a first booting indicator pointing to the first booting device by pressing a hotkey before the launching program is loaded and executed.

本發明提供一種開機方法,適用於一計算機。計算機具有一基本輸入輸出系統記憶體、一隨機存取記憶體以及一顯示裝置,而BIOS記憶體內具有一BIOS。BIOS存取一開機裝置序列,且開機裝置序列具有第一開機指標。其開機方法包括:初始化隨機存取記憶體;讀取開機裝置序列;初始化一視訊圖形陣列;把一第一開機圖示載入於隨機存取記憶體;藉由視訊圖形陣列,將儲存於隨機存取記憶體的第一開機圖示顯示於顯示裝置;依據開機裝置序列,載入一啟動程序;以及依據啟動程序,啟動計算機。其中第一開機圖示係被儲存於BIOS記憶體,且對應於第一開機指標。The invention provides a booting method suitable for a computer. The computer has a basic input/output system memory, a random access memory and a display device, and the BIOS memory has a BIOS. The BIOS accesses a boot device sequence, and the boot device sequence has a first boot indicator. The booting method comprises: initializing the random access memory; reading the booting device sequence; initializing a video graphics array; loading a first booting icon into the random access memory; and storing the random graphics by the video graphics array The first boot icon for accessing the memory is displayed on the display device; loading a boot program according to the boot device sequence; and starting the computer according to the boot program. The first boot icon is stored in the BIOS memory and corresponds to the first boot indicator.

根據本發明,在由視訊圖形陣列將儲存於隨機存取記憶體的第一開機圖示顯示於顯示裝置之後,且在依據開機裝置序列載入一啟動程序之前,另可包含:初始化一輸入裝置,輸入裝置用以接收一使用者所輸入的一指令;初始化一中斷,中斷包含一設定程序;判斷否指令被輸入;當指令被輸入時,判斷指令是否為一預定值;以及當指令為預定值時,執行設定程序。According to the present invention, after the first boot icon stored in the random access memory is displayed on the display device by the video graphics array, and before loading the boot program according to the boot device sequence, the method further includes: initializing an input device The input device is configured to receive an instruction input by the user; to initialize an interrupt, the interrupt includes a setting program; to determine whether the command is input; when the command is input, determine whether the command is a predetermined value; and when the command is predetermined When the value is set, the setting program is executed.

而上述設定程序可包含:依據預設值,更改第一開機指標;依據更改過的第一開機指標更改第一開機圖示,並把更改過的第一開機圖示載入於隨機存取記憶體;以及藉由視訊圖形陣列,將儲存於隨機存取記憶體的更改過的第一開機圖示顯示於顯示裝置根據本發明之一實施例,BIOS記憶體可為一唯讀記憶體,開機裝置序列則儲存於一互補式金屬氧化層板導體記憶體中。而上述第一開機圖示可為一點陣圖,輸入裝置可為一鍵盤,而啟動程序可為一作業系統。The setting program may include: changing the first booting indicator according to the preset value; changing the first booting icon according to the changed first booting indicator, and loading the changed first booting icon into the random access memory Displaying the modified first boot icon stored in the random access memory on the display device by the video graphics array. According to an embodiment of the present invention, the BIOS memory can be a read-only memory. The device sequence is stored in a complementary metal oxide layer conductor memory. The first booting icon can be a bitmap, the input device can be a keyboard, and the booting program can be an operating system.

此外,依據開機裝置序列,把第一開機圖示載入於隨機存取記憶體的步驟另可包括:解壓縮第一開機圖示;以及把解壓縮後的第一開機圖示載入隨機存取記憶體。In addition, the step of loading the first boot icon into the random access memory according to the boot device sequence may further include: decompressing the first boot icon; and loading the decompressed first boot icon into the random save Take the memory.

基於上述,根據本發明以對應開機裝置的圖示,於開機中顯示第一開機指標所指向的開機裝置,使使用者能得知目前開機的裝置為何。其次,依據本發明之實施例,使當使用者欲更改開機裝置時,使用者能藉由熱鍵,在啟動程序(可為電腦之作業系統)被載入之前重新設定第一開機指標。是以上述的實施例可以讓使用者輕鬆的得知被指向的第一開機裝置為何,並可在第一開機圖示顯示的期間以熱鍵即時更改第一開機指標。Based on the above, according to the illustration of the corresponding booting device, the booting device pointed by the first booting indicator is displayed during the booting, so that the user can know what the currently booting device is. Secondly, according to an embodiment of the present invention, when the user wants to change the booting device, the user can reset the first booting indicator before the startup program (which can be the operating system of the computer) is loaded by the hotkey. In the above embodiment, the user can easily know the first booting device that is pointed, and can change the first booting indicator in real time by using the hot key during the first booting icon display.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。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 detailed features and advantages of the present invention are described in the following detailed description of the present invention, which is to be understood by those skilled in the art to understand the technical contents of the present invention, and in accordance with the disclosure, the scope of the application, and the drawings, The related objects and advantages of the present invention will be readily understood by those skilled in the art.

請參照「第1圖」,其係為根據本發明之計算機的架構示意圖。計算機20包括處理器30、BIOS記憶體50、隨機存取記憶體(Random Access Memory,RAM)40、視訊圖形陣列(Video Graphics Array,VGA)42、顯示裝置44以及至少一個開機裝置46。其中BIOS記憶體中存放有BIOS 52、開機裝置序列54、第一開機圖示56以及第一開機指標58。Please refer to "FIG. 1", which is a schematic diagram of the architecture of a computer according to the present invention. The computer 20 includes a processor 30, a BIOS memory 50, a random access memory (RAM) 40, a video graphics array (VGA) 42, a display device 44, and at least one boot device 46. The BIOS memory stores a BIOS 52, a boot device sequence 54, a first boot icon 56, and a first boot indicator 58.

處理器30可以是中央處理器(Central Processing Unit,CPU),用以處理計算機20之運算。計算機20的電源被開啟之後,處理器30進行開機自我檢測(POST)並載入BIOS 52。處理器30接著初始化計算機20的基本硬體,例如隨機存取記憶體40、視訊圖形陣列42以及顯示裝置44。The processor 30 can be a Central Processing Unit (CPU) for processing the operations of the computer 20. After the power of the computer 20 is turned on, the processor 30 performs a power-on self-test (POST) and loads the BIOS 52. The processor 30 then initializes the basic hardware of the computer 20, such as the random access memory 40, the video graphics array 42, and the display device 44.

隨機存取記憶體40能與處理器30直接交換資料。由於隨機存取記憶體40可隨時讀寫且速度很快,故在開機程序中會盡早被初始化以供後續使用。在開機的過程中,儲存於BIOS記憶體50的程式碼等亦會被複製至隨機存取記憶體40以待執行。The random access memory 40 can exchange data directly with the processor 30. Since the random access memory 40 can be read and written at any time and is fast, it will be initialized as early as possible for subsequent use in the boot process. During the boot process, the code stored in the BIOS memory 50 and the like are also copied to the random access memory 40 for execution.

視訊圖形陣列42係為一使用類比訊號的計算機顯示標準,一般個人電腦等裝置在載入自己的獨特驅動程式之前,都必須支援視訊圖形陣列42的標準。視訊圖形陣列42在開機時通常固定使用隨機存取記憶體40中定址位置為0xA0000到0xC0000之間的位置。雖然解析度和載色數不足,但視訊圖形陣列42與隨機存取記憶體40初始化之後,計算機便能顯示資訊於顯示裝置44上。The video graphics array 42 is a computer display standard that uses analog signals. A device such as a personal computer must support the standard of the video graphics array 42 before loading its own unique driver. The video graphics array 42 is typically fixed to use a location in the random access memory 40 that is addressed between 0xA0000 and 0xC0000 at power up. Although the resolution and the number of colors are insufficient, the computer can display information on the display device 44 after the video graphics array 42 and the random access memory 40 are initialized.

開機裝置46可為計算機的基本硬體,亦可是連線於計算機20的週邊裝置,甚至是藉由網路連接的遠端計算機。在開機裝置46內可儲存用來完整啟動計算機20的啟動程序。舉例來說,開機裝置46可以是硬碟、光碟機或是快閃裝置。而啟動程序可以是但不限定是作業系統,或是作業系統的核心程序。The boot device 46 can be a basic hardware of a computer, or a peripheral device connected to the computer 20, or even a remote computer connected by a network. A boot program for fully booting the computer 20 can be stored in the boot device 46. For example, the boot device 46 can be a hard disk, a CD player, or a flash device. The startup program can be, but is not limited to, the operating system or the core program of the operating system.

BIOS記憶體50通常為一斷電後也不會失去資料內容的記憶體,例如唯讀記憶體(Read Only Memory,ROM),或是唯讀的快閃記憶體(flash memory)。而BIOS 52的程式內容儲存於BIOS記憶體50之中,用以控管計算機20的電源被啟動後到被啟動程序完全啟動計算機20之間的程序。The BIOS memory 50 is usually a memory that does not lose data contents after power-off, such as a read only memory (ROM) or a read-only flash memory. The program contents of the BIOS 52 are stored in the BIOS memory 50 for controlling the program between the power of the computer 20 and the startup program to completely start the computer 20.

開機裝置序列54可具有至少一個開機指標,且具有多個開機指標時,這些開機指標按照優先順序指向不同的開機裝置46。而開機裝置序列54中的順序可為內建的順序,亦可由使用者自行更改。此外,開機裝置序列54的內容可以例如是光碟機-硬碟-快閃裝置。The boot device sequence 54 can have at least one boot indicator, and when there are multiple boot indicators, the boot indicators point to different boot devices 46 in order of priority. The sequence in the boot device sequence 54 can be in the built-in order or can be changed by the user. Furthermore, the content of the boot device sequence 54 can be, for example, a CD-hard drive-flash device.

BIOS 52存取開機裝置序列54,並依據開機裝置序列54中開機指標所被紀錄的優先順序在各開機裝置46中找尋啟動程序,以載入並啟動計算機20。其中開機裝置序列54具有第一開機指標58,用以指向優先順位被設為第一的開機裝置46(即第一開機裝置)。處理器30欲載入啟動程序時,便首先在第一開機裝置中搜尋啟動程序以載入並執行。The BIOS 52 accesses the boot device sequence 54 and looks up the boot program in each boot device 46 in accordance with the priority order in which the boot indicators in the boot device sequence 54 are recorded to load and start the computer 20. The boot device sequence 54 has a first power-on indicator 58 for pointing to the boot device 46 (ie, the first boot device) with the first priority being set to the first. When the processor 30 wants to load the booting program, it first searches for the booting program in the first booting device to load and execute.

根據本發明,BIOS記憶體50可以是但不限定是唯讀記憶體,而開機裝置序列可儲存於一互補式金屬氧化層板導體記憶體(Complementary Metal-Oxide-Semiconductor,CMOS)中,或是其他斷電後資料也不會消失且非唯讀的記憶裝置,例如快閃記憶體中。此外,BIOS記憶體50中可儲存有複數張開機圖示,且每一開機圖示均對應且代表一個開機裝置46,例如硬碟或光碟機。其中對應到第一開機裝置的開機圖示即稱為第一開機圖示56。第一開機圖示56及其他開機圖示的格式可以是點陣圖(bitmap,又稱BMP)。藉由顯示第一開機圖示56給使用者,使用者便能從顯示的第一開機圖示56得知目前所設定的第一開機裝置是哪一個開機裝置46。According to the present invention, the BIOS memory 50 can be, but is not limited to, a read-only memory, and the boot device sequence can be stored in a Complementary Metal-Oxide-Semiconductor (CMOS), or Other data will not disappear after power-off and are not read-only memory devices, such as flash memory. In addition, the BIOS memory 50 can store a plurality of boot icons, and each boot icon corresponds to and represents a boot device 46, such as a hard disk or a CD player. The boot icon corresponding to the first boot device is referred to as a first boot icon 56. The format of the first boot icon 56 and other boot icons may be a bitmap (also referred to as BMP). By displaying the first boot icon 56 to the user, the user can know from the displayed first boot icon 56 which boot device 46 the currently set first boot device is.

請參照「第2圖」,其係為根據本發明一實施例進行開機之流程示意圖。由圖可以知悉,以開機裝置序列的顯示方法進行開機的步驟包括步驟S60:初始化隨機存取記憶體40;步驟S70:讀取開機裝置序列54;步驟S80:初始化視訊圖形陣列42;步驟S90:把第一開機圖示56載入於隨機存取記憶體40;步驟S100:把儲存於隨機存取記憶體40的第一開機圖示56顯示於顯示裝置44;步驟S180:依據開機裝置序列54載入啟動程序;以及步驟S190:啟動計算機20。Please refer to FIG. 2, which is a schematic diagram of a process of starting up according to an embodiment of the present invention. As can be seen from the figure, the step of booting in the display method of the boot device sequence includes step S60: initializing the random access memory 40; step S70: reading the boot device sequence 54; step S80: initializing the video graphics array 42; step S90: Loading the first boot icon 56 into the random access memory 40; step S100: displaying the first boot icon 56 stored in the random access memory 40 on the display device 44; step S180: according to the boot device sequence 54 Loading the startup program; and step S190: starting the computer 20.

於步驟S60,隨機存取記憶體40被初始化。以一般電腦為例,計算機20電源被開啟後,會依序初始化處理器30、北橋晶片(North bridge,未繪示)、隨機存取記憶體40以及南橋晶片(South bridge,未繪示)。隨機存取記憶體40被初始化後,處理器30即可利用隨機存取記憶體40進行後續程序的執行及運算。At step S60, the random access memory 40 is initialized. Taking a general computer as an example, after the power of the computer 20 is turned on, the processor 30, the north bridge (not shown), the random access memory 40, and the south bridge (not shown) are sequentially initialized. After the random access memory 40 is initialized, the processor 30 can perform the execution and calculation of the subsequent program by the random access memory 40.

處理器30在步驟S70讀取開機裝置序列54,並在步驟S80,把視訊圖形陣列42初始化。承上述一般電腦開機時的初始化順序,處理器30把南橋晶片初始化後,繼續初始化鍵盤控制器(Keyboard Controller,KBC)(未繪示)、視訊圖形陣列42以及週邊組件互連(Peripheral Component Interconnect,PCI)裝置(未繪示)等等硬體。在視訊圖形陣列42被初始化之後,顯示裝置44即會將上述隨機存取記憶體40中位址為0xA0000到0xC0000之資料顯示於顯示裝置44。也就是說,若使用者在開機後看到了畫面,即表示視訊圖形陣列42已經被初始化了。The processor 30 reads the boot device sequence 54 at step S70, and initializes the video graphics array 42 at step S80. In the initialization sequence of the above-mentioned general computer booting, the processor 30 initializes the south bridge chip, and then initializes the keyboard controller (KBC) (not shown), the video graphics array 42 and the peripheral component interconnect (Peripheral Component Interconnect, PCI) device (not shown) and the like. After the video graphics array 42 is initialized, the display device 44 displays the data of the address in the random access memory 40 of 0xA0000 to 0xC0000 on the display device 44. That is to say, if the user sees the screen after booting, it means that the video graphics array 42 has been initialized.

接著步驟S90把對應於第一開機裝置的第一開機圖示56載入隨機存取記憶體40。請同時參照「第3圖」,其係為根據本發明一實施例之步驟S90的流程示意圖。根據本發明,把第一開機圖示56載入於隨機存取記憶體40時另可包括步驟S92:解壓縮第一開機圖示56;以及步驟S94:把解壓縮後的第一開機圖示56載入隨機存取記憶體40。Next, in step S90, the first boot icon 56 corresponding to the first booting device is loaded into the random access memory 40. Please refer to FIG. 3 at the same time, which is a schematic flowchart of step S90 according to an embodiment of the present invention. According to the present invention, loading the first boot icon 56 into the random access memory 40 may further include step S92: decompressing the first boot icon 56; and step S94: decompressing the first boot icon 56 is loaded into the random access memory 40.

為了節省BIOS記憶體50的空間,第一開機圖示56可以是被壓縮過後才被存入BIOS記憶體50的圖檔。則欲把第一開機圖示56載入隨機存取記憶體40時,須把存在BIOS記憶體50中的壓縮圖檔解壓縮後再載入隨機存取記憶體40中。前述步驟S90、S92、及S94即是將被壓縮之第一開機圖示56進行解壓縮後,再儲存於隨機存取記憶體40的定址位置為0xA0000到0xC0000中。視訊圖形陣列42在開機時通常固定使用隨機存取記憶體40中定址位置為0xA0000到0xC0000之間的位置,故可將第一開機圖示56被載入上述位址,以等待被視訊圖形陣列42顯示於顯示裝置44上。此外,把第一開機圖示56載入隨機存取記憶體40中的位置係對應於視訊圖形陣列42使用的記憶體位址。根據本發明,載入的位置亦不限於在隨機存取記憶體40中0xA0000到0xC0000位址,而可依據視訊圖形陣列42的設定而改變。In order to save space in the BIOS memory 50, the first boot icon 56 may be a file that is stored in the BIOS memory 50 after being compressed. When the first boot icon 56 is to be loaded into the random access memory 40, the compressed image stored in the BIOS memory 50 must be decompressed and then loaded into the random access memory 40. The foregoing steps S90, S92, and S94 are performed by decompressing the compressed first boot icon 56 and then storing the address in the random access memory 40 at 0xA0000 to 0xC0000. The video graphics array 42 is usually fixed at the position where the address position in the random access memory 40 is between 0xA0000 and 0xC0000, so that the first boot icon 56 can be loaded into the address to wait for the video graphics array. 42 is displayed on display device 44. In addition, the location in which the first boot icon 56 is loaded into the random access memory 40 corresponds to the memory address used by the video graphics array 42. According to the present invention, the loaded location is not limited to the 0xA0000 to 0xC0000 address in the random access memory 40, but may vary depending on the setting of the video graphics array 42.

第一開機圖示56載入隨機存取記憶體40後,處理器30在步驟S100把第一開機圖示56顯示於顯示裝置44以供使用者參考。處理器30係依開機裝置序列54的第一開機指標58把第一開機圖示56載入隨機存取記憶體40中,並令視訊圖形陣列42把載入的第一開機圖示56顯示出來。使得使用者可以在不進入設定選單,即能由顯示的第一開機圖示56得知第一開機指標58的內容。請參照「第4圖」,其係為根據本發明一實施例之顯示示意圖。如圖所示,第一開機圖示56表示出第一開機指標58所指向的開機裝置46而顯示於顯示裝置44上。After the first boot icon 56 is loaded into the random access memory 40, the processor 30 displays the first boot icon 56 on the display device 44 for reference by the user in step S100. The processor 30 loads the first boot icon 56 into the random access memory 40 according to the first boot indicator 58 of the boot device sequence 54 and causes the video graphics array 42 to display the loaded first boot icon 56. . The user can know the content of the first boot indicator 58 from the displayed first boot icon 56 without entering the setup menu. Please refer to FIG. 4, which is a schematic diagram of a display according to an embodiment of the present invention. As shown, the first boot icon 56 indicates the boot device 46 to which the first boot indicator 58 is directed and is displayed on the display device 44.

於步驟S180,處理器30依據開機裝置序列54依序去各開機裝置46找尋啟動程序,用以完整啟動計算機20。當在第一開機指標58所指向的開機裝置46中找不到能夠使用的啟動程序時,處理器30會去第二順位的開機裝置46中找尋啟動程序。若是仍然找不到能夠使用的啟動程序,便繼續依開機裝置序列54去下一順位的開機裝置46中找尋。In step S180, the processor 30 sequentially searches the booting device 46 for the booting program according to the booting device sequence 54 to completely boot the computer 20. When the bootable program that can be used is not found in the boot device 46 pointed to by the first boot indicator 58, the processor 30 will go to the second boot device 46 to find the boot program. If the boot program that can be used is still not found, it continues to search for the next boot device 46 according to the boot device sequence 54.

找到啟動程序後,處理器30於步驟S190載入啟動程序,並把計算機20的控制權由BIOS 52交給啟動程序,而完成整個計算機20的開機作業。After the startup program is found, the processor 30 loads the startup program in step S190, and transfers the control of the computer 20 from the BIOS 52 to the startup program, thereby completing the booting operation of the entire computer 20.

請再參照「第1圖」,根據本發明之另一實施例,計算機20另可包括輸入裝置47與中斷(Interrupt)48。其中輸入裝置47用以接收使用者所輸入的指令,且輸入裝置47可以是但不限定是鍵盤。中斷48係指接收來自處理器30以外的硬體或來自軟體的信號後進行相應處理的模組,且中斷48包含一設定程序。輸入裝置47中可包含至少一個熱鍵,每一個熱鍵被設定為對應一個開機裝置46。每個熱鍵均可藉由中斷48觸發設定程序,以把第一開機指標58更改為熱鍵所對應的開機裝置46。Referring again to FIG. 1, in accordance with another embodiment of the present invention, computer 20 may further include input device 47 and an interrupt 48. The input device 47 is configured to receive an instruction input by a user, and the input device 47 can be, but is not limited to, a keyboard. The interrupt 48 is a module that receives signals from hardware other than the processor 30 or from a software and performs corresponding processing, and the interrupt 48 includes a setting program. The input device 47 can include at least one hot key, each of which is set to correspond to a boot device 46. Each hotkey can trigger a setting procedure by interrupt 48 to change the first boot indicator 58 to the boot device 46 corresponding to the hotkey.

請參照「第5圖」,其係為根據本發明另一實施例進行開機之流程示意圖。請同時參照「第2圖」與「第5圖」,其中相同的標號係代表相類似的步驟。Please refer to FIG. 5, which is a schematic diagram of a process of booting according to another embodiment of the present invention. Please refer to "Fig. 2" and "5th figure" at the same time, wherein the same reference numerals denote similar steps.

由「第5圖」可以見悉,開機方法包括步驟S60:初始化隨機存取記憶體40;步驟S70:讀取開機裝置序列54;步驟S80:初始化視訊圖形陣列42;步驟S90:把第一開機圖示56載入於隨機存取記憶體40;步驟S100:把儲存於隨機存取記憶體40的第一開機圖示56顯示於顯示裝置44;步驟S110:初始化輸入裝置47;步驟S120:初始化中斷48;步驟S130:判斷是否指令被輸入;步驟S140:判斷指令是否為預定值;步驟S150:更改第一開機指標58;步驟S160:更改第一開機圖示56,並把更改過的第一開機圖示56載入於隨機存取記憶體40;步驟S170:將儲存於隨機存取記憶體40的更改過的第一開機圖示56顯示於顯示裝置44;步驟S180:依據開機裝置序列54載入啟動程序;以及步驟S190:啟動計算機20。As can be seen from "Fig. 5", the booting method includes the step S60: initializing the random access memory 40; the step S70: reading the booting device sequence 54; the step S80: initializing the video graphics array 42; and the step S90: turning the first booting The figure 56 is loaded in the random access memory 40; step S100: displaying the first boot icon 56 stored in the random access memory 40 on the display device 44; step S110: initializing the input device 47; step S120: initializing Interrupt 48; Step S130: determining whether the instruction is input; Step S140: determining whether the instruction is a predetermined value; Step S150: Changing the first power-on indicator 58; Step S160: Changing the first power-on icon 56, and changing the first The boot icon 56 is loaded into the random access memory 40; step S170: the modified first boot icon 56 stored in the random access memory 40 is displayed on the display device 44; step S180: according to the boot device sequence 54 Loading the startup program; and step S190: starting the computer 20.

步驟S60到步驟S100的內容大致如前一實施例所述。而在一般的電腦,初始化視訊圖形陣列42後,會接著進行步驟S110初始化鍵盤(可視為輸入裝置47之一),以及步驟S120初始化中斷(Interrupt)48。The contents of step S60 to step S100 are substantially as described in the previous embodiment. In the normal computer, after the video graphics array 42 is initialized, the keyboard is initialized in step S110 (which can be regarded as one of the input devices 47), and the interrupt 48 is initialized in step S120.

使用者看見第一開機圖示56後,可以根據需求自行決定是否要更改第一開機指標58。則於步驟S130判斷是否有指定經由輸入裝置47被輸入,若有,於步驟S140判斷被輸入的指令是否為對應各開機裝置46的預設值。例如當輸入裝置47為鍵盤,而代表要把第一開機指標58改為光碟機的預設值(即熱鍵)設為F2時,處理器30判斷使用者是否有按F2以把第一開機指標58指向為光碟機。After the user sees the first boot icon 56, it can decide whether to change the first boot indicator 58 according to the requirements. Then, it is determined in step S130 whether or not the designation is input via the input device 47. If so, it is determined in step S140 whether the input command is a preset value corresponding to each boot device 46. For example, when the input device 47 is a keyboard and the preset value (ie, hot key) indicating that the first boot indicator 58 is changed to the optical disk drive is set to F2, the processor 30 determines whether the user has pressed F2 to turn the first boot. Indicator 58 points to the disc player.

當使用者輸入的指令與預設值相同時,表示使用者欲藉由熱鍵更改第一開機指標58所代表的第一開機裝置。故於步驟S150,第一開機指標58被改為指向指令所對應到的開機裝置46。接著,進行步驟S160,依據變更過的第一開機指標58更改第一開機圖示56,並把更改過的第一開機圖示56載入於隨機存取記憶體40。隨後在步驟S170,把重新載入於儲存於隨機存取記憶體40的第一開機圖示56顯示於顯示裝置44。如此一來,使用者便能藉由重新顯示的第一開機圖示56得知第一開機指標48變更成功與否。When the command input by the user is the same as the preset value, it indicates that the user wants to change the first booting device represented by the first booting indicator 58 by the hotkey. Therefore, in step S150, the first power-on indicator 58 is changed to point to the boot device 46 to which the command corresponds. Next, step S160 is performed to change the first boot icon 56 according to the changed first boot indicator 58 and load the modified first boot icon 56 into the random access memory 40. Then, in step S170, the first boot icon 56 reloaded in the random access memory 40 is displayed on the display device 44. In this way, the user can know whether the first boot indicator 48 is successfully changed or not by the redisplayed first boot icon 56.

請同時參照「第4圖」與「第6圖」,「第6圖」係為根據本發明另一實施例之更改顯示示意圖。舉例來說,原先的第一開機指標58指向一硬碟時,如「第4圖」所示,顯示裝置44顯示出對應於硬碟的第一開機圖示56。而在使用者藉由輸入熱鍵的方式將第一開機指標58更改為光碟機時,如「第6圖」所示,顯示結果亦會隨著更改為代表光碟機的第一開機圖示56。Please refer to FIG. 4 and FIG. 6 simultaneously. FIG. 6 is a schematic diagram showing changes according to another embodiment of the present invention. For example, when the original first power-on indicator 58 points to a hard disk, as shown in FIG. 4, the display device 44 displays a first boot icon 56 corresponding to the hard disk. When the user changes the first power-on indicator 58 to the optical disk drive by inputting a hot key, as shown in FIG. 6, the display result is also changed to the first power-on icon representing the optical disk drive. .

第一開機指標58被變更完畢後,處理器30執行前述的步驟S170與步驟S180,在被更改過的第一開機裝置搜尋啟動程式並執行。After the first power-on indicator 58 is changed, the processor 30 executes the aforementioned steps S170 and S180 to search for the startup program and execute it on the changed first boot device.

而當使用者沒有輸入指令,或是輸入的指令並非用以更改第一開機指標58的預設值時,處理器30執行前述的步驟S180與步驟S190。處理器30依據開機裝置序列54依序去各開機裝置46找尋啟動程序,並載入啟動程序以完整啟動計算機20。When the user does not input an instruction, or the input instruction is not to change the preset value of the first power-on indicator 58, the processor 30 performs the foregoing steps S180 and S190. The processor 30 sequentially searches the booting device 46 for the booting program according to the booting device sequence 54 and loads the booting program to completely boot the computer 20.

根據本發明之開機方法,係依據開機裝置序列顯示被儲存於BIOS的第一開機圖示。使用者即使不進入設定選單,也能藉由顯示出的第一開機圖示得知當時第一開機指標的內容。此外,從視訊圖形陣列被初始化後到開始載入啟動程序之前,均能顯示第一開機圖示,並提供熱鍵以更改第一開機指標。因此當使用者有需要更改第一開機指標時,便可在第一開機圖示顯示的時間內輸入對應各開機裝置的熱鍵來變更。由於在啟動程序載入前便更改第一開機指標,故能直接去被指向的新的第一開機裝置尋找啟動程序並啟動計算機,而不需於變更設定後重頭啟動計算機。According to the booting method of the present invention, the first booting icon stored in the BIOS is displayed according to the booting device sequence. Even if the user does not enter the setting menu, the content of the first power-on indicator at that time can be known by displaying the first power-on icon. In addition, the first boot icon can be displayed from the initialization of the video graphics array to the start of loading the boot program, and a hotkey is provided to change the first boot indicator. Therefore, when the user needs to change the first booting indicator, the hotkey corresponding to each booting device can be input and changed within the time indicated by the first booting icon. Since the first boot indicator is changed before the boot program is loaded, the new first boot device pointed to can be directly searched for the boot program and the computer can be started without restarting the computer after changing the settings.

雖然本發明以前述之較佳實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。While the present invention has been described above in terms of the preferred embodiments thereof, it is not intended to limit the invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. The patent protection scope of the invention is subject to the definition of the scope of the patent application attached to the specification.

20...計算機20. . . computer

30...處理器30. . . processor

40...隨機存取記憶體40. . . Random access memory

42...視訊圖形陣列42. . . Video graphics array

44...顯示裝置44. . . Display device

46...開機裝置46. . . Boot device

47...輸入裝置47. . . Input device

48...中斷48. . . Interrupt

50...BIOS記憶體50. . . BIOS memory

52...BIOS52. . . BIOS

54...開機裝置序列54. . . Boot device sequence

56...第一開機圖示56. . . First boot icon

58...第一開機指標58. . . First boot indicator

第1圖係為根據本發明之計算機的架構示意圖;Figure 1 is a schematic diagram of the architecture of a computer in accordance with the present invention;

第2圖係為根據本發明一實施例進行開機之流程示意圖;2 is a schematic flow chart of booting according to an embodiment of the present invention;

第3圖係為根據本發明一實施例之步驟S90的流程示意圖;3 is a schematic flow chart of step S90 according to an embodiment of the present invention;

第4圖係為根據本發明一實施例之顯示示意圖;Figure 4 is a schematic view showing a display according to an embodiment of the present invention;

第5圖係為根據本發明另一實施例進行開機之流程示意圖;Figure 5 is a flow chart showing the process of starting up according to another embodiment of the present invention;

以及as well as

第6圖係為根據本發明另一實施例之更改顯示示意圖。Figure 6 is a schematic diagram showing the modification of another embodiment of the present invention.

Claims (8)

一種開機方法,適用於一計算機,該計算機具有一基本輸入輸出系統(Basic Input/Output System,BIOS)記憶體、一隨機存取記憶體以及一顯示裝置,而該BIOS記憶體內具有一BIOS,且該BIOS存取一開機裝置序列,該開機方法包括:初始化該隨機存取記憶體;讀取該開機裝置序列,該開機裝置序列具有一第一開機指標;初始化一視訊圖形陣列;把一第一開機圖示載入於該隨機存取記憶體,其中該第一開機圖示係被儲存於該BIOS記憶體,且對應於該第一開機指標;藉由該視訊圖形陣列,將儲存於該隨機存取記憶體的該第一開機圖示顯示於該顯示裝置;依據該開機裝置序列,載入一啟動程序;以及依據該啟動程序,啟動該計算機。A booting method is applicable to a computer having a basic input/output system (BIOS) memory, a random access memory, and a display device, and the BIOS memory has a BIOS, and The BIOS accesses a boot device sequence, the boot method includes: initializing the random access memory; reading the boot device sequence, the boot device sequence having a first boot indicator; initializing a video graphics array; The boot icon is loaded in the random access memory, wherein the first boot icon is stored in the BIOS memory and corresponds to the first boot indicator; and the video graphics array is stored in the random The first boot icon for accessing the memory is displayed on the display device; loading a boot program according to the boot device sequence; and booting the computer according to the boot program. 如請求項1所述之開機方法,其中由該視訊圖形陣列,將儲存於該隨機存取記憶體的該第一開機圖示顯示於該顯示裝置之後,且在依據該開機裝置序列,載入一啟動程序之前,另包含:初始化一輸入裝置,該輸入裝置用以接收一使用者所輸入的一指令;初始化一中斷,該中斷包含一設定程序;判斷否該指令被輸入;當該指令被輸入時,判斷該指令是否為一預定值;以及當該指令為該預定值時,執行該設定程序。The booting method of claim 1, wherein the first booting icon stored in the random access memory is displayed after the display device by the video graphics array, and is loaded according to the booting device sequence Before starting the program, the method further includes: initializing an input device, the input device is configured to receive an instruction input by the user; initializing an interrupt, the interrupt includes a setting program; determining whether the command is input; when the command is When inputting, determining whether the instruction is a predetermined value; and when the instruction is the predetermined value, executing the setting procedure. 如請求項2所述之開機方法,其中該輸入裝置為一鍵盤。The booting method of claim 2, wherein the input device is a keyboard. 如請求項2所述之開機方法,其中該設定程序包含:依據該預定值,更改該第一開機指標;依據更改過的該第一開機指標更改該第一開機圖示,並把更改過的該第一開機圖示載入於該隨機存取記憶體;以及藉由該視訊圖形陣列,將儲存於該隨機存取記憶體的更改過的該第一開機圖示顯示於該顯示裝置。The booting method of claim 2, wherein the setting program comprises: changing the first booting indicator according to the predetermined value; changing the first booting icon according to the changed first booting indicator, and changing the The first boot icon is loaded in the random access memory; and the modified first boot image stored in the random access memory is displayed on the display device by the video graphics array. 如請求項1所述之開機方法,其中該BIOS記憶體為一唯讀記憶體,而該開機裝置序列儲存於一互補式金屬氧化層板導體記憶體中。The booting method of claim 1, wherein the BIOS memory is a read-only memory, and the boot device sequence is stored in a complementary metal oxide layer conductor memory. 如請求項1所述之開機方法,其中依據該開機裝置序列,把至少一開機圖示載入於該隨機存取記憶體的步驟包括:解壓縮該開機圖示;以及把解壓縮後的該開機圖示載入該隨機存取記憶體。The booting method of claim 1, wherein the step of loading at least one boot icon into the random access memory according to the booting device sequence comprises: decompressing the boot icon; and decompressing the boot image The boot icon loads the random access memory. 如請求項1所述之開機方法,其中該第一開機圖示係為一點陣圖。The booting method of claim 1, wherein the first booting icon is a bitmap. 如請求項1所述之開機方法,該啟動程序係為一作業系統。The booting method as claimed in claim 1, wherein the booting program is an operating system.
TW98122336A 2009-07-01 2009-07-01 Booting method TWI413934B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98122336A TWI413934B (en) 2009-07-01 2009-07-01 Booting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98122336A TWI413934B (en) 2009-07-01 2009-07-01 Booting method

Publications (2)

Publication Number Publication Date
TW201102922A TW201102922A (en) 2011-01-16
TWI413934B true TWI413934B (en) 2013-11-01

Family

ID=44837663

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98122336A TWI413934B (en) 2009-07-01 2009-07-01 Booting method

Country Status (1)

Country Link
TW (1) TWI413934B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186385A (en) * 2011-12-27 2013-07-03 鸿富锦精密工业(深圳)有限公司 Electronic device capable of setting starting parameter and setting method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6336185B1 (en) * 1998-09-24 2002-01-01 Phoenix Technologies Ltd. Use of other processors during BIOS boot sequence to minimize boot time
TWI236625B (en) * 2004-03-12 2005-07-21 Acer Inc Method for installing an operating system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6336185B1 (en) * 1998-09-24 2002-01-01 Phoenix Technologies Ltd. Use of other processors during BIOS boot sequence to minimize boot time
TWI236625B (en) * 2004-03-12 2005-07-21 Acer Inc Method for installing an operating system

Also Published As

Publication number Publication date
TW201102922A (en) 2011-01-16

Similar Documents

Publication Publication Date Title
TWI479421B (en) Booting method and electronic device
USRE40092E1 (en) Method for quickly booting a computer system
JP5489182B2 (en) Preloading method and controller
US9098305B2 (en) Computer system and bootup and shutdown method thereof
US20060242398A1 (en) Booting from non-volatile memory
US8443183B2 (en) Pre-boot loader for reducing system boot time
US20030145191A1 (en) Computer system and method of controlling the same
TWI588747B (en) Method for switching operating systems and electronic apparatus
TW201407343A (en) Test system and test method thereof
US20070005949A1 (en) Method for Booting a Computer System
US20120042156A1 (en) Method of multiple boot manager
US20110208955A1 (en) Machine-readable storage media for display of a basic input/output system (bios) productivity display
TWI534707B (en) Computer system, shutdown and boot method thereof
US20060294358A1 (en) Methods and computers for presenting a graphical user interface during a boot process
US20110113227A1 (en) Electronic equipment and boot method, storage medium thereof
US20040193738A1 (en) System and method for configuring hardware devices using a menu for platforms with EFI and legacy option-roms
US9348603B2 (en) Electronic apparatus and booting method
KR20140083530A (en) System on chip including boot shell debugging hardware and driving method thereof
JPH11231994A (en) Display device and controlling method for acquiring information related to display
US20070055802A1 (en) Dual-CPU multimedia system and method for fast activation of multimedia system with dual-CPU
TWI413934B (en) Booting method
TWI400654B (en) Display method for boot device sequence
TWI475487B (en) Booting method and electronic device
US20020143844A1 (en) Computer system with two operating systems
JP2003150379A (en) Method for starting multiple pda operating system through menu

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees