[go: up one dir, main page]

CN101944030A - Starting-up method - Google Patents

Starting-up method Download PDF

Info

Publication number
CN101944030A
CN101944030A CN2009101402063A CN200910140206A CN101944030A CN 101944030 A CN101944030 A CN 101944030A CN 2009101402063 A CN2009101402063 A CN 2009101402063A CN 200910140206 A CN200910140206 A CN 200910140206A CN 101944030 A CN101944030 A CN 101944030A
Authority
CN
China
Prior art keywords
boot
random access
access memory
icon
starting
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN2009101402063A
Other languages
Chinese (zh)
Inventor
罗圣心
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inventec Corp
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 CN2009101402063A priority Critical patent/CN101944030A/en
Publication of CN101944030A publication Critical patent/CN101944030A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a starting method which is suitable for a computer. The computer has a Basic Input/Output System (BIOS) memory, a random access memory, and a display device, and the BIOS memory has a BIOS therein. The B-OS accesses a boot device sequence, and the boot device sequence has a first boot indicator. The starting method comprises the following steps: initializing a random access memory; reading a startup device sequence; initializing a video graphic array; loading a first boot icon corresponding to the first boot indicator in a random access memory; displaying a first boot icon stored in a random access memory on a display device; loading a starting program according to the starting device sequence; and starting the computer according to the starting program.

Description

开机方法 boot method

技术领域technical field

本发明是有关于一开机方法,特别是一种在开机(booting)阶段时将第一开机图标显示的方法。The present invention relates to a booting method, in particular to a method for displaying a first booting icon during a booting stage.

背景技术Background technique

随着信息技术的发展,以处理器为基础的电子装置,如各式各样的计算机(Computer,又称计算机)已经普遍地被企业与个人所运用。一般计算机的开机程序如下。开启电源之后,计算机先执行开机自我检测(Power On Self Test,POST)。计算机并加载基本输出输入系统(Basic Input/Output System,BIOS),以确定最基本的硬件架构,并对硬件进行必要的初始化作业。BIOS接着执行开机加载程序(Boot Loader),依据开机装置序列(boot device sequence,又称boot order)加载启动程序,例如计算机的操作系统的核心程序。当启动程序加载之后,计算机的控制权便交由启动程序处理,以完成整个计算机的开机作业。With the development of information technology, electronic devices based on processors, such as various computers (Computers, also known as computers) have been widely used by enterprises and individuals. The general computer boot procedure is as follows. After turning on the power, the computer first performs the Power On Self Test (POST). The computer loads the Basic Input/Output System (BIOS) to determine the most basic hardware architecture and perform necessary initialization operations on the hardware. The BIOS then executes a boot loader (Boot Loader), and loads a boot program, such as a core program of an operating system of a computer, according to a boot device sequence (also called a boot order). After the startup program is loaded, the control right of the computer is handed over to the startup program to complete the booting operation of the entire computer.

前述开机装置是指内部可能存有启动程序的硬件装置,例如硬盘、光驱或是快闪装置(flash device)。开机装置序列则为借由至少一个开机指标,指向至少一个开机装置且依照优先级排列所得到的序列。BIOS依据开机装置序列依序在各开机装置中找寻启动程序,以加载并启动计算机。开机装置序列能让使用者自由更改设定,使用者可在计算机系统开机中执行BIOS时以按下热键(例如键盘的F2按键)的方式进入设定选单(setup menu)以更改设定。The aforementioned boot device refers to a hardware device that may store a boot program inside, such as a hard disk, an optical drive, or a flash device. The boot device sequence is a sequence obtained by at least one boot pointer pointing to at least one boot device and arranged according to priority. According to the boot device sequence, the BIOS searches for the startup program in each boot device in order to load and start the computer. The boot device sequence allows the user to freely change the settings. The user can enter the setup menu (setup menu) to change the settings by pressing a hotkey (such as the F2 key on the keyboard) when the computer system is booting to execute the BIOS.

然而执行BIOS时,使用者能进入设定选单的时间不但非常短暂,而且时机难以掌握。为了进入设定选单以更改开机装置序列,使用者可能在开启电源之后不断的连按预设的热键,浪费许多无谓的力气。此外,使用者除了进入设定选单以外无法得知开机装置序列的内容。所以即使使用者仅想要确认当时的开机装置序列,也必须在开机时进入设定选单进行确认,十分不便。进入设定选单之后无论是否有更改开机装置序列,通常计算机都会再度重新启动,亦非常地浪费时间。However, when executing the BIOS, the time for the user to enter the setting menu is not only very short, but also difficult to grasp the timing. In order to enter the setting menu to change the boot device sequence, the user may repeatedly press the preset hotkey after turning on the power, wasting a lot of unnecessary effort. In addition, the user cannot know the content of the boot device sequence except for entering the setting menu. Therefore, even if the user only wants to confirm the boot device sequence at that time, he must enter the setting menu to confirm when booting, which is very inconvenient. After entering the setting menu, no matter whether the boot device sequence is changed or not, the computer will usually restart again, which is also a waste of time.

发明内容Contents of the invention

鉴于上述问题,本发明的目的在于提供一种开机方法,能在BIOS执行时显示一第一开机图标,使得使用者在开机时能够不费力地得知被设为第一优先顺位的开机装置。同时,使用者并能轻松地在启动程序被加载与执行前,以按热键的方法更改指向第一开机装置的一第一开机指标。In view of the above problems, the purpose of the present invention is to provide a boot method that can display a first boot icon when the BIOS is executed, so that the user can easily know the boot device that is set as the first priority when booting. . At the same time, the user can easily change a first boot indicator pointing to the first boot device by pressing a hot key before the boot program is loaded and executed.

本发明提供一种开机方法,适用于一计算机。计算机具有一基本输入输出系统内存、一随机存取内存以及一显示装置,而BIOS内存内具有一BIOS。BIOS存取一开机装置序列,且开机装置序列具有第一开机指标。其开机方法包括:初始化随机存取内存;读取开机装置序列;初始化一视频图形数组;把一第一开机图标加载于随机存取内存;借由视频图形数组,将储存于随机存取内存的第一开机图标显示于显示装置;依据开机装置序列,加载一启动程序;以及依据启动程序,启动计算机。其中第一开机图标是被储存于BIOS内存,且对应于第一开机指标。The invention provides a booting method, which is suitable for a computer. The computer has a BIOS 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 index. The booting method includes: initializing random access memory; reading boot device sequence; initializing a video graphics array; loading a first boot icon into random access memory; The first boot icon is displayed on the display device; according to the sequence of the boot device, a startup program is loaded; and according to the startup program, the computer is started. 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 a boot program according to the boot device sequence, it may further include: initializing an input device, the input device Used to receive an instruction input by a user; initialize an interrupt, the interrupt includes a setting program; judge whether the instruction is input; when the instruction is input, judge whether the instruction is a predetermined value; and when the instruction is the predetermined value , to execute the setup program.

而上述设定程序可包含:依据预定值,更改第一开机指标;依据更改过的第一开机指针更改第一开机图标,并把更改过的第一开机图标加载于随机存取内存;以及借由视频图形数组,将储存于随机存取内存的更改过的第一开机图标显示于显示装置The above-mentioned setting procedure may include: changing the first boot indicator according to a predetermined value; changing the first boot icon according to the changed first boot pointer, and loading the changed first boot icon into the random access memory; and borrowing Displaying the modified first boot icon stored in the random access memory on the display device by the video graphics array

根据本发明的一实施例,BIOS内存可为一只读存储器,开机装置序列则储存于一互补式金属氧化层板导体内存中。而上述第一开机图标可为一位图,输入装置可为一键盘,而启动程序可为一操作系统。According to an embodiment of the present invention, the BIOS memory can be a read-only memory, and the boot device sequence is stored in a complementary metal oxide layer conductor memory. The above-mentioned first boot icon can be a bitmap, the input device can be a keyboard, and the startup program can be an operating system.

此外,依据开机装置序列,把第一开机图标加载于随机存取内存的步骤另可包括:解压缩第一开机图标;以及把解压缩后的第一开机图标加载随机存取内存。In addition, according to the boot device sequence, the step of loading the first boot icon into the random access memory may further include: decompressing the first boot icon; and loading the decompressed first boot icon into the random access memory.

基于上述,根据本发明以对应开机装置的图标,于开机中显示第一开机指针所指向的开机装置,使使用者能得知目前开机的装置为何。其次,依据本发明的实施例,使当使用者欲更改开机装置时,使用者能借由热键,在启动程序(可为计算机的操作系统)被加载之前重新设定第一开机指标。是以上述的实施例可以让使用者轻松的得知被指向的第一开机装置为何,并可在第一开机图标显示的期间以热键实时更改第一开机指标。Based on the above, according to the present invention, the icon corresponding to the booting device is used to display the booting device pointed to by the first booting pointer during booting, so that the user can know which device is currently booting. Secondly, according to the embodiment of the present invention, when the user wants to change the booting device, the user can reset the first booting indicator before the booting program (which may be the operating system of the computer) is loaded by means of the hotkey. Therefore, the above-mentioned embodiment allows the user to easily know what the first boot device is pointed to, and can change the first boot indicator in real time with a hot key while the first boot icon is displayed.

以下结合附图和具体实施例对本发明进行详细描述,但不作为对本发明的限定。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments, but not as a limitation of the present invention.

附图说明Description of drawings

图1为根据本发明的计算机的架构示意图;Fig. 1 is a schematic diagram of the architecture of a computer according to the present invention;

图2为根据本发明一实施例进行开机的流程示意图;Fig. 2 is a schematic flow chart of starting up according to an embodiment of the present invention;

图3为根据本发明一实施例的步骤S90的流程示意图;FIG. 3 is a schematic flow chart of step S90 according to an embodiment of the present invention;

图4为根据本发明一实施例的显示示意图;Fig. 4 is a schematic display diagram according to an embodiment of the present invention;

图5为根据本发明另一实施例进行开机的流程示意图;Fig. 5 is a schematic flow chart of starting up according to another embodiment of the present invention;

图6为根据本发明另一实施例的更改显示示意图。Fig. 6 is a schematic diagram of a modified display according to another embodiment of the present invention.

其中,附图标记Among them, reference signs

20    计算机20 computers

30    处理器30 processors

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

具体实施方式Detailed ways

以下叙述的关于本发明的详细特征以及优点,其内容足以使任何熟悉相关技艺者了解本发明的技术内容并据以实施,且根据本说明书所揭露的内容、申请专利范围及图式,任何熟悉相关技艺者可轻易地理解本发明相关的目的及优点。The detailed features and advantages of the present invention described below are sufficient to enable any person familiar with the relevant art to understand the technical content of the present invention and implement it accordingly. Those skilled in the art can easily understand the related objects and advantages of the present invention.

请参照图1,其为根据本发明的计算机的架构示意图。计算机20包括处理器30、BIOS内存50、随机存取内存(Random Access Memory,RAM)40、视频图形数组(Video Graphics Array,VGA)42、显示装置44以及至少一个开机装置46。其中BIOS内存中存放有BIOS52、开机装置序列54、第一开机图标56以及第一开机指标58。Please refer to FIG. 1 , which is a schematic structural diagram of a computer according to the present invention. The computer 20 includes a processor 30, a BIOS memory 50, a random access memory (Random Access Memory, RAM) 40, a video graphics array (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)并加载BIOS52。处理器30接着初始化计算机20的基本硬件,例如随机存取内存40、视频图形数组42以及显示装置44。The processor 30 may be a central processing unit (Central Processing Unit, CPU), for processing the calculation of the computer 20. After the computer 20 is powered 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 directly exchange data with the processor 30 . Since the random access memory 40 can be read and written at any time and has a high speed, it will be initialized as early as possible in the boot process for subsequent use. During the booting process, the program codes stored in the BIOS memory 50 will also be 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 using analog signals. General personal computers and other devices must support the video graphics array 42 standard before loading their own unique drivers. The video graphics array 42 usually uses fixed addressing locations between 0xA0000 and 0xC0000 in the random access memory 40 during startup. Although the resolution and the number of loaded 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 the basic hardware of the computer, or a peripheral device connected to the computer 20, or even a remote computer connected via a network. A startup program for completely starting the computer 20 can be stored in the boot device 46 . For example, the boot device 46 can be a hard disk, an optical drive or a flash device. The startup program may be, but not limited to, an operating system, or a core program of the operating system.

BIOS内存50通常为一断电后也不会失去数据内容的内存,例如只读存储器(Read Only Memory,ROM),或是只读的闪存(flash memory)。而BIOS52的程序内容储存于BIOS内存50之中,用以控管计算机20的电源被启动后到被启动程序完全启动计算机20之间的程序。The BIOS memory 50 is usually a memory that will not lose data content even after a power failure, such as a read-only memory (Read Only Memory, ROM), or a read-only flash memory (flash memory). The program content of the BIOS 52 is stored in the BIOS memory 50 , and is used to control the program between the computer 20 being powered on and the computer 20 being fully activated by the activated program.

开机装置序列54可具有至少一个开机指标,且具有多个开机指标时,这些开机指标按照优先级指向不同的开机装置46。而开机装置序列54中的顺序可为内建的顺序,亦可由使用者自行更改。此外,开机装置序列54的内容可以例如是光驱-硬盘-快闪装置。The boot device sequence 54 may have at least one boot target, and when there are multiple boot targets, these boot targets point to different boot devices 46 according to priorities. The sequence in the boot device sequence 54 can be a built-in sequence, and can also be changed by the user. In addition, the content of the boot device sequence 54 can be, for example, optical drive-hard disk-flash device.

BIOS52存取开机装置序列54,并依据开机装置序列54中开机指针所被记录的优先级在各开机装置46中找寻启动程序,以加载并启动计算机20。其中开机装置序列54具有第一开机指标58,用以指向优先顺位被设为第一的开机装置46(即第一开机装置)。处理器30欲加载启动程序时,便首先在第一开机装置中搜寻启动程序以加载并执行。The BIOS 52 accesses the boot device sequence 54 , and searches for a boot program in each boot device 46 according to the priority recorded in the boot pointer in the boot device sequence 54 , so as to load and start the computer 20 . The boot device sequence 54 has a first boot pointer 58 for pointing to the boot device 46 (ie, the first boot device) whose priority is set to be the first. When the processor 30 wants to load the startup program, it first searches for the startup program in the first boot device to load and execute it.

根据本发明,BIOS内存50可以是但不限定是只读存储器,而开机装置序列可储存于一互补式金属氧化层板导体内存(ComplementaryMetal-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 not limited to a read-only memory, and the boot device sequence can be stored in a Complementary Metal-Oxide-Semiconductor (CMOS), or other power-off Data will not disappear and non-read-only memory devices, such as flash memory. In addition, multiple boot icons can be stored in the BIOS memory 50, and each boot icon corresponds to and represents a boot device 46, such as a hard disk or an optical drive. The boot icon corresponding to the first boot device is called the first boot icon 56 . The format of the first boot icon 56 and other boot icons may be a bitmap (bitmap, also called BMP). By displaying the first boot icon 56 to the user, the user can know which boot device 46 is the currently set first boot device from the displayed first boot icon 56 .

请参照图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 flowchart of booting up according to an embodiment of the present invention. As can be seen from the figure, the steps of booting with the display method of the boot device sequence include 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: The first boot icon 56 is loaded in the random access memory 40; step S100: display the first boot icon 56 stored in the random access memory 40 on the display device 44; step S180: load the startup program according to the boot device sequence 54; and steps S190: Start the computer 20.

于步骤S60,随机存取内存40被初始化。以一般计算机为例,计算机20电源被开启后,会依序初始化处理器30、北桥芯片(North bridge,未绘示)、随机存取内存40以及南桥芯片(South bridge,未绘示)。随机存取内存40被初始化后,处理器30即可利用随机存取内存40进行后续程序的执行及运算。In step S60, the random access memory 40 is initialized. Taking a general computer as an example, after the computer 20 is powered on, it will initialize the processor 30, the North bridge chip (North bridge, not shown), the random access memory 40, and the South bridge chip (South bridge, not shown) in sequence. After the random access memory 40 is initialized, the processor 30 can use the random access memory 40 to execute subsequent programs and calculations.

处理器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. Following the above-mentioned initialization sequence when the general computer is turned on, after the processor 30 initializes the south bridge chip, it continues to initialize the keyboard controller (Keyboard Controller, KBC) (not shown), the video graphics array 42 and the peripheral component interconnection (Peripheral Component Interconnect , PCI) device (not shown) and other hardware. After the video graphics array 42 is initialized, the display device 44 will display the data at addresses 0xA0000 to 0xC0000 in the random access memory 40 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。Then step S90 loads the first boot icon 56 corresponding to the first boot device into the random access memory 40 . Please also refer to FIG. 3 , which is a schematic flowchart of step S90 according to an embodiment of the present invention. According to the present invention, when loading the first boot icon 56 into the random access memory 40, it may further include step S92: decompressing the first boot icon 56; and step S94: loading the decompressed first boot icon 56 into the random access memory 40. 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 the space of the BIOS memory 50, the first boot icon 56 may be a graphic file stored in the BIOS memory 50 after being compressed. Then when wanting to load the first boot icon 56 into the random access memory 40, the compressed icons stored in the BIOS memory 50 must be decompressed and then loaded into the random access memory 40. The aforementioned steps S90 , S92 , and S94 are to decompress the compressed first boot icon 56 and then store it in the random access memory 40 at addressing locations 0xA0000 to 0xC0000. The video graphic array 42 usually fixedly uses the addressing position in the random access memory 40 when starting up to be between 0xA0000 and 0xC0000, so the first boot icon 56 can be loaded to the above address to wait to be displayed on the video graphic array 42. on the display device 44. In addition, the location where 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 loading location is not limited to address 0xA0000 to 0xC0000 in the random access memory 40 , but can be changed according to 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 in step S100 for user's reference. 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 makes the video graphics array 42 display the loaded first boot icon 56 . This allows the user to learn the content of the first boot indicator 58 from the displayed first boot icon 56 without entering the setting menu. Please refer to FIG. 4 , which is a schematic display diagram according to an embodiment of the present invention. As shown in the figure, the first boot icon 56 represents the boot device 46 pointed to by the first boot indicator 58 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 each boot device 46 for a boot program according to the boot device sequence 54 , so as to fully boot the computer 20 . When no usable startup program is found in the boot device 46 pointed to by the first boot pointer 58 , the processor 30 searches for the boot program in the second boot device 46 . If still can't find the startup program that can use, just continue to go to the startup device 46 of next order according to the startup device sequence 54 and look for.

找到启动程序后,处理器30于步骤S190加载启动程序,并把计算机20的控制权由BIOS52交给启动程序,而完成整个计算机20的开机作业。After finding the startup program, the processor 30 loads the startup program in step S190, and transfers the control right of the computer 20 to the startup program from the BIOS 52, so as to complete the startup operation of the entire computer 20.

请再参照图1,根据本发明的另一实施例,计算机20另可包括输入装置47与中断(Interrupt)48。其中输入装置47用以接收使用者所输入的指令,且输入装置47可以是但不限定是键盘。中断48是指接收来自处理器30以外的硬件或来自软件的信号后进行相应处理的模块,且中断48包含一设定程序。输入装置47中可包含至少一个热键,每一个热键被设定为对应一个开机装置46。每个热键均可借由中断48触发设定程序,以把第一开机指标58更改为热键所对应的开机装置46。Please refer to FIG. 1 again. According to another embodiment of the present invention, the computer 20 may further include an input device 47 and an interrupt (Interrupt) 48 . The input device 47 is used to receive instructions input by the user, and the input device 47 may be but not limited to a keyboard. The interrupt 48 refers to a module that receives a signal from hardware or software other than the processor 30 and performs corresponding processing, and the interrupt 48 includes a setting program. The input device 47 may include at least one hotkey, and each hotkey is set to correspond to a booting device 46 . Each hotkey can trigger the setting program through the 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 flowchart of booting up according to another embodiment of the present invention. Please refer to FIG. 2 and FIG. 5 at the same time, wherein the same reference numerals represent 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 boot method includes step S60: initializing the random access memory 40; step S70: reading the boot device sequence 54; step S80: initializing the video graphic array 42; step S90: loading the first boot icon 56 on Random access memory 40; step S100: display the first boot icon 56 stored in random access memory 40 on display device 44; step S110: initialize input device 47; step S120: initialize interrupt 48; step S130: determine whether to command input; step S140: determine whether the command is a predetermined value; step S150: change the first boot indicator 58; step S160: change the first boot icon 56, and load the changed first boot icon 56 into the random access memory 40 ; Step S170: Display the modified first boot icon 56 stored in the random access memory 40 on the display device 44; Step S180: Load the startup program according to the boot device sequence 54; and Step S190: Start the computer 20.

步骤S60到步骤S100的内容大致如前一实施例所述。而在一般的计算机,初始化视频图形数组42后,会接着进行步骤S110初始化键盘(可视为输入装置47之一),以及步骤S120初始化中断(Interrupt)48。The contents of step S60 to step S100 are roughly as described in the previous embodiment. In a general computer, after initializing the video graphics array 42 , step S110 is followed to initialize the keyboard (which can be regarded as one of the input devices 47 ), and step S120 is to initialize the interrupt (Interrupt) 48 .

使用者看见第一开机图标56后,可以根据需求自行决定是否要更改第一开机指标58。则于步骤S130判断是否有指定经由输入装置47被输入,若有,于步骤S140判断被输入的指令是否为对应各开机装置46的预定值。例如当输入装置47为键盘,而代表要把第一开机指针58改为光驱的默认值(即热键)设为F2时,处理器30判断使用者是否有按F2以把第一开机指针58指向为光驱。After seeing the first boot icon 56, the user can decide whether to change the first boot indicator 58 according to the requirement. Then in step S130 it is judged whether there is a designation input via the input device 47 , if so, in step S140 it is judged whether the input command is a predetermined value corresponding to each boot device 46 . For example, when the input device 47 is a keyboard, and the representative will change the first boot pointer 58 to the default value (ie hot key) of the CD-ROM drive as F2, the processor 30 judges whether the user presses F2 to turn the first boot pointer 58 Point to the CD-ROM drive.

当使用者输入的指令与预定值相同时,表示使用者欲借由热键更改第一开机指标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 predetermined value, it means that the user intends to change the first boot device represented by the first boot indicator 58 through the hot key. Therefore, in step S150, the first boot pointer 58 is changed to point to the boot device 46 corresponding to the command. Next, proceed to step S160 , modify the first boot icon 56 according to the changed first boot indicator 58 , and load the changed first boot icon 56 into the random access memory 40 . Then in step S170 , the first boot icon 56 reloaded and stored in the random access memory 40 is displayed on the display device 44 . In this way, the user can know whether the change of the first boot indicator 48 is successful or not through the newly displayed first boot icon 56 .

请同时参照图4与图6,图6为根据本发明另一实施例的更改显示示意图。举例来说,原先的第一开机指针58指向一硬盘时,如图4所示,显示装置44显示出对应于硬盘的第一开机图标56。而在使用者借由输入热键的方式将第一开机指针58更改为光驱时,如图6所示,显示结果亦会随着更改为代表光驱的第一开机图标56。Please refer to FIG. 4 and FIG. 6 at the same time. FIG. 6 is a schematic view showing a modification according to another embodiment of the present invention. For example, when the original first boot pointer 58 points to a hard disk, as shown in FIG. 4 , the display device 44 displays the first boot icon 56 corresponding to the hard disk. And when the user changes the first boot pointer 58 to an optical drive by inputting a hot key, as shown in FIG. 6 , the display result will also be changed to the first boot icon 56 representing the optical drive.

第一开机指标58被变更完毕后,处理器30执行前述的步骤S170与步骤S180,在被更改过的第一开机装置搜寻启动程序并执行。After the modification of the first boot indicator 58 is completed, the processor 30 executes the aforementioned step S170 and step S180 to search for and execute the startup program in the modified first boot device.

而当使用者没有输入指令,或是输入的指令并非用以更改第一开机指针58的默认值时,处理器30执行前述的步骤S180与步骤S190。处理器30依据开机装置序列54依序去各开机装置46找寻启动程序,并加载启动程序以完整启动计算机20。And when the user does not input an instruction, or the input instruction is not for changing the default value of the first power-on pointer 58 , the processor 30 executes the aforementioned step S180 and step S190 . The processor 30 searches each boot device 46 for a startup program in sequence according to the boot device sequence 54 , and loads the startup program to start the computer 20 completely.

根据本发明的开机方法,是依据开机装置序列显示被储存于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, he can know the content of the first boot indicator at that time through the displayed first boot icon. In addition, the first boot icon can be displayed after the video graphic array is initialized and before the startup program starts to load, and a hot key is provided to change the first boot indicator. Therefore, when the user needs to change the first boot icon, he can input the hot keys corresponding to each boot device to change it within the time when the first boot icon is displayed. Because the first boot index is changed before the boot program is loaded, it is possible to directly go to the pointed new first boot device to find the boot program and start the computer without restarting the computer after changing the settings.

当然,本发明还可有其它多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。Certainly, the present invention also can have other multiple embodiments, without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding changes and deformations according to the present invention, but these corresponding Changes and deformations should belong to the scope of protection of the appended claims of the present invention.

Claims (8)

1. a starting-up method is characterized in that, is applicable to a computing machine, this computing machine has a basic input-output system BIOS internal memory, a random access memory and a display device, and have a BIOS in this BIOS internal memory, and this BIOS access one opening device sequence, this starting-up method comprises:
This random access memory of initialization;
Read this opening device sequence, this opening device sequence has one first start index;
Initialization one video and graphic array;
One first start icon is loaded on this random access memory, and wherein this first start icon is to be stored in this BIOS internal memory, and corresponding to this first start index;
By this video and graphic array, will be stored in this first start icon display of this random access memory in this display device;
According to this opening device sequence, load a start-up routine;
According to this start-up routine, start this computing machine.
2. starting-up method according to claim 1 is characterized in that, wherein by this video and graphic array, to be stored in this first start icon display of this random access memory after this display device, and according to this opening device sequence, load before the start-up routine, other comprises:
Initialization one input media, this input media is in order to receive the instruction that a user is imported;
Initialization one is interrupted, and this interruption comprises a setting program;
Judge whether that this instruction is transfused to;
When this instruction is transfused to, judge whether this instruction is a predetermined value;
When this instruction is this predetermined value, carry out this setting program.
3. starting-up method according to claim 2 is characterized in that, wherein this input media is a keyboard.
4. starting-up method according to claim 2 is characterized in that, wherein this setting program comprises:
According to this predetermined value, change this first start index;
Change this first start icon according to this first start index of more correcting one's mistakes, and this first start icon of more correcting one's mistakes is loaded on this random access memory;
By this video and graphic array, will be stored in this first start icon display of more correcting one's mistakes of this random access memory in this display device.
5. starting-up method according to claim 1 is characterized in that, wherein save as a ROM (read-only memory) in this BIOS, and this opening device sequence is stored in the complementary metal oxide layer plate conductor internal memory.
6. starting-up method according to claim 1 is characterized in that, wherein according to this opening device sequence, the step that at least one start icon is loaded on this random access memory comprises:
This start icon decompresses;
This start icon after decompressing is loaded this random access memory.
7. starting-up method according to claim 1 is characterized in that, wherein this first start icon is a bitmap.
8. starting-up method according to claim 1 is characterized in that, this start-up routine is an operating system.
CN2009101402063A 2009-07-07 2009-07-07 Starting-up method Pending CN101944030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101402063A CN101944030A (en) 2009-07-07 2009-07-07 Starting-up method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101402063A CN101944030A (en) 2009-07-07 2009-07-07 Starting-up method

Publications (1)

Publication Number Publication Date
CN101944030A true CN101944030A (en) 2011-01-12

Family

ID=43436031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101402063A Pending CN101944030A (en) 2009-07-07 2009-07-07 Starting-up method

Country Status (1)

Country Link
CN (1) CN101944030A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958809A (en) * 2017-05-24 2018-12-07 龙芯中科技术有限公司 Method, apparatus, electronic equipment and the storage medium of equipment initialization

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008019885A1 (en) * 2006-08-15 2008-02-21 Tomtom International B.V. A method of generating improved map data for use in navigation devices
CN101364178A (en) * 2007-08-06 2009-02-11 英业达股份有限公司 BIOS executing method and management method when computer device is started
CN101369231A (en) * 2007-08-13 2009-02-18 华硕电脑股份有限公司 Starting method of computer system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008019885A1 (en) * 2006-08-15 2008-02-21 Tomtom International B.V. A method of generating improved map data for use in navigation devices
CN101364178A (en) * 2007-08-06 2009-02-11 英业达股份有限公司 BIOS executing method and management method when computer device is started
CN101369231A (en) * 2007-08-13 2009-02-18 华硕电脑股份有限公司 Starting method of computer system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958809A (en) * 2017-05-24 2018-12-07 龙芯中科技术有限公司 Method, apparatus, electronic equipment and the storage medium of equipment initialization

Similar Documents

Publication Publication Date Title
CN103970560B (en) Starting method and electronic device
US7934209B2 (en) Method for firmware variable storage with eager compression, fail-safe extraction and restart time compression scan
US20060242398A1 (en) Booting from non-volatile memory
CN103593281B (en) Test system and test method
JP4385900B2 (en) COMMUNICATION SETTING PROGRAM, START PROGRAM, COMMUNICATION SETTING METHOD, AND APPLICATION START METHOD
US20110055540A1 (en) Pre-Boot Loader for Reducing System Boot Time
US20110113227A1 (en) Electronic equipment and boot method, storage medium thereof
CN109936716B (en) Display driving realization method and system
JPH11231994A (en) Control method for acquiring information about display device and display
EP2645239A1 (en) Electronic apparatus and booting method
US10467023B2 (en) System and method of interactive splash screen in embedded environments
TWI413934B (en) Booting method
CN101944030A (en) Starting-up method
US20060294358A1 (en) Methods and computers for presenting a graphical user interface during a boot process
TWI400654B (en) Display method for boot device sequence
JP2003150379A (en) Method for starting multiple pda operating system through menu
CN101944031A (en) Display method of startup device sequence
CN101777323B (en) Method for setting a display in a computer system and related computer system
US8856666B2 (en) Chassis button to activate graphical user interface to enable user to select diagnostic and/or recovery
US20070055802A1 (en) Dual-CPU multimedia system and method for fast activation of multimedia system with dual-CPU
JP2009176151A (en) Information processing apparatus and method of starting the same
US8195927B2 (en) Expedient preparation of memory for video execution
CN101369231A (en) Starting method of computer system
CN113672299A (en) Controller-based BIOS setting method, device, storage medium and device
CN112395017A (en) UEFI starting method, UEFI and computer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110112