CN100492291C - Computer system with instant start function and processing method thereof - Google Patents
Computer system with instant start function and processing method thereof Download PDFInfo
- Publication number
- CN100492291C CN100492291C CNB2005101162432A CN200510116243A CN100492291C CN 100492291 C CN100492291 C CN 100492291C CN B2005101162432 A CNB2005101162432 A CN B2005101162432A CN 200510116243 A CN200510116243 A CN 200510116243A CN 100492291 C CN100492291 C CN 100492291C
- Authority
- CN
- China
- Prior art keywords
- operating system
- computer system
- boot
- program
- flag
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
技术领域 technical field
本发明有关一种电脑开机程序,且特别有关一种具有即刻开启功能的电脑系统的开机程序。The present invention relates to a computer booting program, and in particular to a booting program of a computer system with an instant start function.
背景技术 Background technique
即刻开启(Instant Play)技术已广泛应用于电脑系统中,其可令传统电脑系统如家用电器般快速启动。具有即刻开启功能的电脑一般称为多媒体影音电脑,即电脑系统具有一般影音家电的功能,如在不启动该电脑系统的操作系统的情况下可播放音乐、电影、电视节目,或者录制音乐、影片等等。Instant Play (Instant Play) technology has been widely used in computer systems, which can make traditional computer systems start up as quickly as household appliances. Computers with the instant-on function are generally called multimedia audio-visual computers, that is, the computer system has the functions of general audio-visual appliances, such as playing music, movies, and TV programs, or recording music and videos without starting the operating system of the computer system. etc.
图1是显示传统中即刻开启电脑系统的方法的步骤流程图。首先,借助一快速键启动一电脑系统(步骤S11)。接着,该电脑系统的中央处理单元(CentralProcessing Unit,CPU)借助该电脑系统的基本输出入系统(BIOS)载入该电脑系统的必要的硬件信息(步骤S12),然后将储存于一开机磁盘驱动器中的开机管理程序载入到储存该基本输出入系统的储存媒体中(步骤S13)。接下来,该基本输出入系统利用该开机管理程序产生一开机选单(步骤S14),然后根据使用者输入取得其中一选择的操作系统的核心(Kernel)所在位置(步骤S15),接着载入并执行该核心以启动对应该选择的操作系统的开机程序(步骤S16)。FIG. 1 is a flow chart showing the steps of a conventional instant-on computer system method. Firstly, start a computer system by means of a quick key (step S11). Then, the central processing unit (Central Processing Unit, CPU) of this computer system loads the necessary hardware information (step S12) of this computer system by means of the basic input/output system (BIOS) of this computer system, and then stores it in a boot disk drive The boot management program in the system is loaded into the storage medium storing the BIOS (step S13). Next, the BIOS uses the boot management program to generate a boot menu (step S14), and then obtains the location of the kernel (Kernel) of one of the selected operating systems according to user input (step S15), then loads and Execute the kernel to start the boot program corresponding to the selected operating system (step S16).
另一种开机程序为将一小型开机程序(mini loader)放置在储存BIOS的只读存储器中,并且设置对应欲启动操作系统或应用程序的快速键。当使用者按下该快速键时,即会设定对应该快速键的旗标,而电脑系统启动且进入BIOS执行硬件初始化时,该小型开机程序自动判断旗标状况并且执行相对应的操作。若判断使用者欲启动Linux操作系统或其它应用程序,则自动存取Linux核心以启动Linux操作系统。若判断使用者欲启动视窗(Windows)操作系统,则读取执行储存于开机磁盘驱动器中的开机管理程序,并且令该开机管理程序存取Windows核心以启动Windows操作系统。Another kind of boot program is to place a mini loader in the read-only memory for storing the BIOS, and set a shortcut key corresponding to the operating system or application program to be started. When the user presses the quick key, a flag corresponding to the quick key will be set, and when the computer system starts and enters the BIOS to perform hardware initialization, the small boot program automatically judges the status of the flag and performs corresponding operations. If it is determined that the user intends to start the Linux operating system or other application programs, the Linux kernel is automatically accessed to start the Linux operating system. If it is judged that the user wants to start the Windows operating system, then read and execute the boot management program stored in the boot disk drive, and make the boot management program access the Windows core to start the Windows operating system.
上述开机程序的缺点如下所述。不同的厂商根据其自己的规则设计基本输出入系统,在导入开机管理程序时将使得开机程序变得较复杂。此外,基本输出入系统的更新在系统安全的考量上存在较大的风险,若在更新过程中发生错误,将一并使得开机管理程序亦跟着损毁。The disadvantages of the above boot procedure are as follows. Different manufacturers design the BIOS according to their own rules, which will make the boot process more complicated when the boot management program is introduced. In addition, the update of the basic input and output system has a greater risk in terms of system security. If an error occurs during the update process, the boot management program will also be damaged.
因此,本发明揭示了一种即刻开启电脑系统的方法,可解决现有技术中所产生的问题。Therefore, the present invention discloses a method for instantly starting a computer system, which can solve the problems in the prior art.
发明内容 Contents of the invention
有鉴于此,本发明的目的在于提供一种具有即刻开启功能的电脑系统,其可快速开机,并且在进行固件更新时避免开机程序损坏。In view of this, the object of the present invention is to provide a computer system with an instant-on function, which can be started quickly and avoid damage to the boot program during firmware update.
基于上述目的,本发明一方面提供一种即刻开启电脑系统的方法。首先,按下一快速键以启动一电脑系统,并且设定对应该快速键的一旗标。启动该电脑系统的该基本输出入系统以载入且启动该小型开机程序。接着该小型开机程序判断该旗标的值。若该旗标值为该第一旗标值,则读取对应该第一操作系统的核心程序并启动该第一操作系统。若该旗标值为该第二旗标值,则该基本输出入系统载入并且启动该开机管理程序,并且该开机管理程序读取对应该第二操作系统的核心程序并启动该第二操作系统。Based on the above purpose, one aspect of the present invention provides a method for instantly starting a computer system. First, press a quick key to start a computer system, and set a flag corresponding to the quick key. Start the BIOS of the computer system to load and start the small boot program. Then the small boot program judges the value of the flag. If the flag value is the first flag value, read the kernel program corresponding to the first operating system and start the first operating system. If the flag value is the second flag value, the BIOS loads and starts the boot management program, and the boot management program reads the kernel program corresponding to the second operating system and starts the second operation system.
本发明另一方面提供一种具有即刻开启功能的电脑系统,其包括多个快速键、一第一储存媒体、一第二储存媒体、以及一基本输出入系统。该基本输出入系统设置于该第一储存媒体中,用以当一快速键根据一使用者操作被触发时,设定对应该快速键的一旗标以及载入并启动该小型开机程序。该小型开机程序判断该旗标的值,若该旗标值为该第一旗标值,则读取对应该第一操作系统的核心程序并启动该第一操作系统,若该旗标值为该第二旗标值,则该基本输出入系统载入并且启动该开机管理程序,并且该开机管理程序读取对应该第二操作系统的核心程序并启动该第二操作系统。Another aspect of the present invention provides a computer system with an instant start function, which includes a plurality of quick keys, a first storage medium, a second storage medium, and a basic input/output system. The BIOS is set in the first storage medium, and is used for setting a flag corresponding to a quick key and loading and starting the small startup program when a quick key is triggered according to a user operation. The small boot program judges the value of the flag, if the flag value is the first flag value, then reads the kernel program corresponding to the first operating system and starts the first operating system, if the flag value is the If the second flag is set, the BIOS loads and starts the boot management program, and the boot management program reads the kernel program corresponding to the second operating system and starts the second operating system.
附图说明 Description of drawings
图1是显示传统上即刻开启电脑系统的方法的步骤流程图。FIG. 1 is a flow chart showing the steps of a conventional instant-on computer system method.
图2是显示本发明实施例的具有即刻开启功能的电脑系统的架构图。FIG. 2 is a structural diagram showing a computer system with an instant-on function according to an embodiment of the present invention.
图3是显示本发明另一实施例的具有即刻开启电脑系统的架构图。FIG. 3 is a structural diagram showing an instant-on computer system according to another embodiment of the present invention.
图4是显示本发明实施例的即刻开启电脑系统的方法步骤流程图。FIG. 4 is a flowchart showing the method steps of the instant-on computer system according to an embodiment of the present invention.
具体实施方式 Detailed ways
为让本发明的上述和其他目的、特征和优点能更明显易懂,下文特举出较佳实施例,并配合所附图进行详细说明如下。In order to make the above and other objects, features and advantages of the present invention more comprehensible, preferred embodiments are listed below and described in detail in conjunction with the accompanying drawings.
本发明实施例揭示了一种具有即刻开启功能的电脑系统及其处理方法。The embodiment of the present invention discloses a computer system with an instant-on function and a processing method thereof.
图2是显示本发明实施例的具有即刻开启功能的电脑系统的架构图。电脑系统100包括一中央处理单元200、一第一储存媒体300、以及一第二储存媒体400,其中第一储存媒体300一般为快闪只读存储器(Flash Read OnlyMemory,ROM),其储存一基本输出入系统350。第二储存媒体400的主要开机磁区(Master Boot Record,MBR)(未显示)中储存一开机管理程序410与一小型开机程序(mini loader)。接下来叙述电脑系统100的开机程序。此外,第二储存媒体400还包括一第一操作系统430与一第二操作系统450。而第一储存媒体300还储存有对应该第一与第二操作系统的一第一旗标值与一第二旗标值。在本发明实施例中,第二储存媒体400一般为开机磁盘驱动器,而开机管理程序410储存于上该开机磁盘驱动器的第0个磁柱、第0个磁头上的第1个磁区。FIG. 2 is a structural diagram showing a computer system with an instant-on function according to an embodiment of the present invention. The
使用者按下键盘500上的一快速键(未显示)启动电脑系统100,接着中央处理单元200执行储存于第一储存媒体300中的基本输出入系统350并且设定对应该快速键的一旗标。接下来,基本输出入系统350启动电脑系统100的硬件装置,然后中央处理单元100利用基本输出入系统350载入并且启动小型开机程序。The user presses a shortcut key (not shown) on the
接下来,小型开机程序判断该旗标的值。若该旗标值为该第一旗标值,则中央处理单元100读取该旗标值并据以寻找对应该第一旗标值的操作系统(通常为一嵌入式作系统,即第一操作系统)的核心所在位置。当找到该操作系统的核心后,中央处理单元100载入该核心,并且启动对应该操作系统的开机程序。Next, the small boot program judges the value of the flag. If the flag value is the first flag value, the
若该旗标值为该第二旗标值,则基本输出入系统350根据储存于第二储存媒体的第1个磁区内的主开机记录(MBR),载入并且启动开机管理程序410。接着中央处理单元100借助开机管理程序410读取对应该第二旗标值的操作系统(即第二操作系统)的核心所在位置,然后载入该核心,并且启动对应该操作系统的开机程序。If the flag value is the second flag value, the
旗标可设置于第二储存媒体400(开机磁盘驱动器)或任何储存媒体中。若设置于开机磁盘驱动器中,则其与主开机记录同样设置于第0个磁柱、第0个磁头上的第1个磁区。The flag can be set in the second storage medium 400 (boot disk drive) or any storage medium. If it is set in the boot disk drive, it is also set in the first magnetic zone on the 0th magnetic column and the 0th magnetic head like the master boot record.
图3是显示本发明实施例的即刻开启电脑系统的方法步骤流程图。本发明实施例的即刻开启电脑系统的方法适用于一电脑系统,该电脑系统包括至少一第一储存媒体、一第二储存媒体,且该第二储存媒体包括一第一操作系统与一第二操作系统。于上述第一储存媒体中设置一基本输出入系统(BIOS),于上述第二储存媒体的主要开机磁区(MBR)中设置一小型开机程序(mini loader)与一开机管理程序,并且分别设置对应上述第一与第二操作系统的多个快速键以及定义一第一旗标值与一第二旗标值。FIG. 3 is a flowchart showing the method steps of the instant-on computer system according to an embodiment of the present invention. The method for instantly starting a computer system in the embodiment of the present invention is applicable to a computer system, the computer system includes at least a first storage medium and a second storage medium, and the second storage medium includes a first operating system and a second storage medium. operating system. A basic input/output system (BIOS) is set in the above-mentioned first storage medium, a small boot program (mini loader) and a boot management program are set in the main boot magnetic region (MBR) of the above-mentioned second storage medium, and corresponding A plurality of quick keys of the above-mentioned first and second operating systems define a first flag value and a second flag value.
首先,按下一快速键以启动上述电脑系统,并且设定对应上述快速键的一旗标(步骤S21)。启动上述电脑系统的上述基本输出入系统以载入且启动上述小型开机程序(步骤S22)。接着该小型开机程序判断上述旗标的值(步骤S23)。若上述旗标值为上述第一旗标值,则读取对应上述第一操作系统的核心程序并启动上述第一操作系统(步骤S24)。若上述旗标值为上述第二旗标值,则上述基本输出入系统载入并且启动上述开机管理程序(步骤S25),然后开机管理程序读取对应上述第二操作系统的核心程序并启动上述第二操作系统(步骤S26)。First, press a quick key to start the computer system, and set a flag corresponding to the quick key (step S21). Start the BIOS of the computer system to load and start the small boot program (step S22). Then the small boot program judges the value of the flag (step S23). If the flag value is the first flag value, read the kernel program corresponding to the first operating system and start the first operating system (step S24). If the above-mentioned flag value is the above-mentioned second flag value, then the above-mentioned BIOS loads and starts the above-mentioned boot management program (step S25), and then the boot management program reads the core program corresponding to the above-mentioned second operating system and starts the above-mentioned The second operating system (step S26).
本发明揭示非将开机管理程序载入储存基本输出入系统的储存媒体以执行开机程序,故不需担心更新基本输出入系统时可能造成损毁的问题。若欲更新开机管理程序,可在一般操作系统(如视窗操作系统)中利用一更新程序进行即可,此更新方法较为简单且较没有风险。且由于非将开机管理程序载入储存基本输出入系统的储存媒体,故不必担心不同厂商设计的基本输出入系统会造成相容性的问题,并可减少程序除错时所需的验证负担。The present invention discloses that it is not necessary to load the boot management program into the storage medium storing the BIOS to execute the boot program, so there is no need to worry about the problem of possible damage when the BIOS is updated. If you want to update the boot management program, you can use an update program in a general operating system (such as a Windows operating system). This update method is relatively simple and has no risk. And because the boot management program is not loaded into the storage medium storing the BIOS, there is no need to worry about the compatibility problem caused by the BIOS designed by different manufacturers, and the verification burden required for program debugging can be reduced.
此外,本发明实施例方法可实施于不同储存媒体(如硬盘、系统存储器等等),且可实作于不同类型的电脑装置(如台式电脑、可携式电脑、多媒体电脑等等),并且使得在设计新的系统时,基本输出入系统不致造成设计者的负担。In addition, the method of the embodiment of the present invention can be implemented in different storage media (such as hard disk, system memory, etc.), and can be implemented in different types of computer devices (such as desktop computer, portable computer, multimedia computer, etc.), and So that when designing a new system, the basic input and output system will not cause the designer's burden.
虽然本发明已以较佳实施例揭示如上,然而其并非用以限定本发明,任何熟悉本技术的人员,在不脱离本发明的精神和范围内,当可作各种的等效的变化或替换,因此本发明的保护范围当视后附的本申请权利要求范围所界定的为准。Although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Any person familiar with the art may make various equivalent changes or modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention should be defined by the appended claims of the application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005101162432A CN100492291C (en) | 2005-10-21 | 2005-10-21 | Computer system with instant start function and processing method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005101162432A CN100492291C (en) | 2005-10-21 | 2005-10-21 | Computer system with instant start function and processing method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1952894A CN1952894A (en) | 2007-04-25 |
CN100492291C true CN100492291C (en) | 2009-05-27 |
Family
ID=38059247
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005101162432A Expired - Fee Related CN100492291C (en) | 2005-10-21 | 2005-10-21 | Computer system with instant start function and processing method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100492291C (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100524286C (en) * | 2007-10-29 | 2009-08-05 | 中国科学院计算技术研究所 | Multiple core processing system and its management method |
CN102890637B (en) * | 2009-06-01 | 2016-07-06 | 宇瞻科技股份有限公司 | Electronic device and method for installing instant boot operating system |
CN103064734B (en) * | 2011-10-24 | 2016-08-17 | 联想(北京)有限公司 | Terminal unit and multisystem input changing method |
CN102708001B (en) * | 2012-04-26 | 2016-01-06 | 深圳市九思泰达技术有限公司 | The method that Linux embedded device and user model thereof and engineering mode switch |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1641524A (en) * | 2004-01-14 | 2005-07-20 | 英业达股份有限公司 | Multi-key boot system and method for multiple operating systems |
CN1645325A (en) * | 2005-01-25 | 2005-07-27 | 英特维数位科技股份有限公司 | Structure and method for automatic executing multi-media player unit in computer system |
-
2005
- 2005-10-21 CN CNB2005101162432A patent/CN100492291C/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1641524A (en) * | 2004-01-14 | 2005-07-20 | 英业达股份有限公司 | Multi-key boot system and method for multiple operating systems |
CN1645325A (en) * | 2005-01-25 | 2005-07-27 | 英特维数位科技股份有限公司 | Structure and method for automatic executing multi-media player unit in computer system |
Non-Patent Citations (1)
Title |
---|
特开平10-312294 1998.11.24 |
Also Published As
Publication number | Publication date |
---|---|
CN1952894A (en) | 2007-04-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7337313B2 (en) | Information device, storage medium and initial state restoration method | |
US7516319B2 (en) | Method for booting a computer with second OS involves formatting portion of main memory with a second file system to generate ramdisk | |
KR101748000B1 (en) | Dynamically redirecting boot to another operating system | |
US11314523B2 (en) | Master boot record (MBR)/global unique identifer (GUID) partition table (GPT) hybrid disk that includes GPT bootstrap code | |
US20060149956A1 (en) | Instant-on computer system and method for instantly booting a computer system | |
CN101548265B (en) | Portable multi-platform booting systems and framework | |
CN104679540A (en) | Computer system and computer system starting method | |
US20060195686A1 (en) | Startup program execution method, device, storage medium, and program | |
TWI765443B (en) | Data storage device and method for maintaining normal boot operation of data storage device | |
TW201117008A (en) | Electronic equipment and boot method, storage medium thereof | |
US9348603B2 (en) | Electronic apparatus and booting method | |
US7827376B2 (en) | System and method for protecting hidden protected area of HDD during operation | |
US7849300B2 (en) | Method for changing booting sources of a computer system and a related backup/restore method thereof | |
JP2007035010A (en) | Method for initializing instance and executing computer program by loading operation system core program from high-speed data access memory | |
US20060080540A1 (en) | Removable/detachable operating system | |
CN100492291C (en) | Computer system with instant start function and processing method thereof | |
CN101788913B (en) | Computer system with built-in dual concealable operating devices | |
US20150143093A1 (en) | Plurality of interface files usable for access to bios | |
WO2006119233A2 (en) | Method for securing computers from malicious code attacks | |
KR101120956B1 (en) | Portable multi-platform booting systems and architectures | |
CN102346676B (en) | Calculator multiple boot management method | |
CN100565455C (en) | Multimedia computer system and method for quickly starting system to play multimedia data | |
KR101271784B1 (en) | Method for executing multiple boot manager | |
CN1815446A (en) | Computer system with instant-on function and processing method thereof | |
JP7633529B2 (en) | Information processing device and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090527 |
|
CF01 | Termination of patent right due to non-payment of annual fee |