TW201140440A - Methods for loading operation system and system booting, and computer system using the same - Google Patents

Methods for loading operation system and system booting, and computer system using the same Download PDF

Info

Publication number
TW201140440A
TW201140440A TW99115245A TW99115245A TW201140440A TW 201140440 A TW201140440 A TW 201140440A TW 99115245 A TW99115245 A TW 99115245A TW 99115245 A TW99115245 A TW 99115245A TW 201140440 A TW201140440 A TW 201140440A
Authority
TW
Taiwan
Prior art keywords
operating system
computer system
processing unit
central processing
memory
Prior art date
Application number
TW99115245A
Other languages
Chinese (zh)
Inventor
Jui-Jung Lu
Hung-Ming Chen
Original Assignee
Advantech Co Ltd
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 Advantech Co Ltd filed Critical Advantech Co Ltd
Priority to TW99115245A priority Critical patent/TW201140440A/en
Publication of TW201140440A publication Critical patent/TW201140440A/en

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

This invention provides a computer system, having an energy-saving mode. The computer system includes a central processing unit, a system storage unit, a memory and a storage device, where the storage device is used to store the main program of operation system, the system storage unit stores a system booting program. It is characterized in that the central processing unit execute system booting program to judge whether the system is booted under the energy-saving mode, and the central processing unit does not need to load the operation system main program to the memory and to start execution from the initial address of the memory where the operation system main program is stored.

Description

201140440 六、發明說明: 【發明所屬之技術領域】 、本發明係關於-種載入作業系統與系統開機之方法 以及使用該方狀1:腦系統,特別是指-種省電模式下 無需載入-作業系統主程式至—記憶體的載人作業系統 與系統開機之方法以及使用該方法之電腦系統。 【先前技術】201140440 VI. Description of the invention: [Technical field to which the invention pertains] The present invention relates to a method for loading a booting system and a system, and using the square 1: brain system, in particular, a power saving mode The main system of the entry-operation system to the memory system and the method of booting the system and the computer system using the method. [Prior Art]

Windows CE作業系統可以應用在各種嵌入式系 統,或是硬體規格較低的電腦系統,例如:工業電腦、 生產設備、掌上型電腦及行動電話等。WinCE提供了高 度的 Win32 應用程式介面(Application Programming Interface,API)軟體開發介面的相容性,功能有内部記憶 體管理、文件操作及網路功能等。 同時,現今電腦系統的作業系統已有部分具有省電 模式。進階組態與電源介面(Advanced Configuration and Power Interface,ACPI)提供作業系統應用程式管理所有 電源管理介面。ACPI所規定的一種省電狀態為 STR(Suspend to RAM)省電模式,Windows XP、Windows Vista及Windows 7作業系統中亦可稱做"待機(Standby)" 或是”睡眠(Sleep)"。在這個狀態下,主記憶體(RAM)仍 然有電源供給,同時也是幾乎唯一的有電源供給的元 件。STR省電模式具有兩個優點;第一、STR省電模式 下電腦系統恢復的過程比正常開機要快。第二,如果任 何正在執行的應用程式(被開啟的文檔等等)有私有資訊 在裡面,這些資訊在進入STR省電模式後是不會被寫到 硬碟上的。一般而言,使用者意欲關閉電腦系統時可選 擇以省電模式關閉電腦系統。 [丨 201140440 然而,目前Windows CE作業系統並不具有省電 式,致使應用Windows CE作業系統之電腦系統皆須* 成完整的關機程序❶下次開機時,則需要重新A = Windows CE主程式至記憶體,使得開機時間增加。g = 於此,尚需要一種省電模式下無需載入該作業系統主 式至一記憶體的載入作業系統與系統開機之方法以及 用該方法之電腦系統,進而解決上述問題。 【發明内容】 =之目的之;係提供一種載入作業系統之方 能’其^施於一電腦系統,藉由一旗標(㈣)的設定狀 否將一儲存震置所存放的一作業系統主程 體’使—中央A理單元從該記憶體儲存該 乍業系、充主程式的—起始位址處開始執 2之^提供—種系統開機之方法,其實施 統是處於一省電模式下開機,俾使 ===使須執行載入-作業系統 業系㈣式二 記憶趙儲存該作 腦人作業系統之方法,實施於-電 =的=統包括一中央處理單元你 態表不该電腦系統不是處於一省電模式,則儲=The Windows CE operating system can be used in a variety of embedded systems or computer systems with lower hardware specifications, such as industrial computers, production equipment, palmtop computers, and mobile phones. WinCE provides a high degree of compatibility with the Win32 Application Programming Interface (API) software development interface, with internal memory management, file operations and networking capabilities. At the same time, some of the operating systems of today's computer systems have a power-saving mode. The Advanced Configuration and Power Interface (ACPI) provides an operating system application to manage all power management interfaces. One of the power saving states specified by ACPI is the STR (Suspend to RAM) power saving mode. It can also be called "Standby" or "Sleep" in Windows XP, Windows Vista and Windows 7 operating systems. In this state, the main memory (RAM) still has power supply, and is also the only component with power supply. The STR power saving mode has two advantages; first, the STR power saving mode is restored by the computer system. The process is faster than normal booting. Second, if any running application (opened documents, etc.) has private information in it, the information will not be written to the hard disk after entering the STR power saving mode. Generally speaking, when the user intends to turn off the computer system, the computer system can be turned off in the power saving mode. [丨201140440 However, the current Windows CE operating system does not have a power saving type, so that the computer system using the Windows CE operating system is required. * Complete shutdown program ❶ The next time you turn on your computer, you need to re-A = Windows CE main program to the memory, so that the boot time increases. g = Here, you need a province In the mode, the loading system and the system booting method of the working system main type to a memory and the computer system using the method are not required to be loaded, thereby solving the above problem. [Summary] The purpose is to provide a kind of loading The system can be applied to a computer system, and by means of a flag ((4)) setting, a storage system main body body is stored in a storage system. The memory is stored in the system, and the program of the main program is started at the start address. The system is powered on. The system is powered on in a power-saving mode, so that === Execution load-operation system system (4) type 2 memory Zhao storage method for the brain-human operation system, implemented in - electric = = system includes a central processing unit, the state of the table is not the computer system is not in a power-saving mode, Then store =

A 201140440 憶體中的一起始位址,並载入該作紫 始位址處存放,·以及當該旗標』=至該起 統是處於該省電模式’則使該中央 的該起始他處該作㈣、纟讀據已儲存 於一電腦系統中,該電腦系統:實2 記憶體,包括··判斷該電腦系統不是於一 '^讀一 體中的-起始位址,並載人—作業儲存在該記憶 ==該,央處理單“== 5亥作業系統主程式;以及判斷該電 处矾仃 模式下開機,設定一旗標的狀離 ^疋處於該省電 該作業系統主程式至程序無須執行載入 該起純址處執行該作^統主㈣Μ央處理單元從 模式再4:系、if:提:口:統,具有-省電 放-作業裝置,其中該儲存裝置用於存 程式,其倾在^統開機 t以判斷該電腦系統不是處於該省機ΐ 該f央處理單元儲存在該記憶體中的—起 業系統主程式至該起始位址處存放該中央處理 電模機料,以_該電収處於該省 ::,記憶體,且從該起始』=二 據本發⑽實施的載人作㈣統與系關機之方q 5 201140440 f以及使^該方法之電腦线,㈣者可選擇使該電腦 系統進入省電模式,並快速的將電腦重新開機,進而增 加能源效率及減少開機時間。藉由以下實施方式之說 明,解到本發明載入作業系統與系統開機之方 法的實施方式以及使用該方法之電腦系統的組織設計。 【實施方式】 以下即配合圖式說明本發明之具體實施方 瞭解的是二這些圖式中所標示之元件及步驟係為說明清 晰之用,其並錢表實際的尺寸概例,且為求圖面簡 潔以利於瞭解,部分圖式中亦省略了習知元件之繪 第-圖為使用載入作業系統與系統開機之方法 腦系統的示意圖。如圖所示,本發明電腦系統刚 -省電模式,包括:-中央處理單元11()、 、 模組120、一記憶體130與一儲存裝置14〇。系: 組120包括一儲存一系統開機程式122之系統儲以 m。儲存裝i 14〇存放-作業系統主程式。本發明;^ 實施態樣中’中央處理單元110為一中央處 Processmg Unit,CPU) ’系統晶片模組12〇係包括(設二 電腦系統主機板的系統晶片組(Chipset),而罝 元121為非揮發性記憶體。 爷讦早 當電腦系統⑽進入該省電模式時,電腦系統 中除了記憶體130之外大部分的元件都不供應電力 時,供應至記憶體130的電力使記憶體13〇保持 ^ 作。該作業系統主程式Μ由-人機介面反應—使 動作,將一省電指令寫入系統晶片模組12〇以控 系統廳進入該省電模式。該人機介面為一電源按2 顯不於-榮幕之-點擊圖案…般而言,使用者可以雜 201140440 由點擊在與電腦系統100 案,或是按下電腦系統100 進入該省電模式。 連接的螢幕上顯示之點擊圖 之電源按鈕以使電腦系統1〇〇 當電腦系統100開機時,中央處理單元11〇 統開機程式122,以判斷電腦系統1〇〇不是處於嗲= 模式下開機’财央處理單元削儲存在雜體 的一,始位址,並自儲存裝置14〇載入該作業系統主 式至該起始位址處存放,且從記憶體13〇 址處執行該作業系統主程式。 Λ起始位A 201140440 recalls a starting address in the body and stores it in the purple starting address, and when the flag 』=to the starting system is in the power saving mode, then the central starting point He is responsible for the work (4), the reading data has been stored in a computer system, the computer system: real 2 memory, including · judgment that the computer system is not in the 'one reading one' - the starting address, and The person-job is stored in the memory == the central processing order "== 5 Hai operating system main program; and the power is turned on in the electric mode, and the setting of a flag is set to be in the power saving operation system. The main program to the program does not need to perform the loading of the pure address to execute the system. (4) The central processing unit slave mode 4: system, if: mention: port: system, with - power saving - operating device, where the storage The device is used to store the program, and the system is turned on to determine that the computer system is not in the province. The central processing unit is stored in the memory. The starting system main program stores the program at the starting address. The central processing of the mold material, to the _ the electricity is in the province::, memory, and from then on 』=2 According to the implementation of the (10) implementation of the man-made (four) system and the shutdown of the party q 5 201140440 f and the computer line of the method, (four) can choose to make the computer system into the power-saving mode, and quickly put the computer Rebooting, thereby increasing energy efficiency and reducing boot time. By the following description of the embodiments, an embodiment of the method for loading the operating system and system booting of the present invention and the organizational design of the computer system using the method are solved. The following description of the present invention is intended to be illustrative of the elements and the steps in the drawings. In order to facilitate understanding, some of the drawings also omit the drawing of the conventional components. The figure is a schematic diagram of the brain system using the loading operating system and the system booting method. As shown in the figure, the computer system of the present invention has just-power saving mode, The system includes: a central processing unit 11 (), a module 120, a memory 130 and a storage device 14. The system 120 includes a system for storing a system boot program 122. Storage device i 14〇 storage-operation system main program. The present invention; ^ In the embodiment, the central processing unit 110 is a central processing unit, CPU) 'system chip module 12 system includes (set two computer system motherboard The system chipset (Chipset), and the unit 121 is a non-volatile memory. When the computer system (10) enters the power saving mode, most of the components of the computer system except the memory 130 are not supplied with power. At the time, the power supplied to the memory 130 causes the memory 13 to be held. The main program of the operating system is reacted by the human-machine interface to operate, and a power-saving command is written into the system chip module 12 to control the system. The hall enters the power saving mode. The human-machine interface is a power supply press 2 is not visible - the screen-click pattern... In general, the user can use the 201140440 to click on the computer system 100, or press the computer system 100 to enter the power-saving mode. . The power button of the click map displayed on the connected screen causes the computer system 1 to turn on the computer system 100. The central processing unit 11 starts the program 122 to determine whether the computer system 1 is not in the 嗲= mode. The central processing unit is stored in the first and last addresses of the hybrid, and is loaded from the storage device 14 into the main system of the operating system to be stored at the starting address, and the operating system is executed from the memory 13 address. Main program. Starting position

本發明一種實施態樣中,電腦系統100的作 為一 Windows CE作業系統,該作業系統主程U Windows CE作業系統中的NK bin。當中央八馮 儲存在記,_⑽中的該起始位㈣,亀_=110 系統經由中央處理單元11〇發出一通知指令,以通知【 統晶片模組120電腦系統100之作業系統 ° ^In one embodiment of the present invention, the computer system 100 functions as a Windows CE operating system, and the operating system is a NK bin in the U Windows CE operating system. When the central eight feng is stored in the record, the start bit (4) in _(10), the 亀_=110 system sends a notification command via the central processing unit 11 to notify the [system module 120 computer system 100 operating system ° ^

作業系統° S 另一方面,當電腦系統100開機時,中央處理單一 110執行系統開機程式122,以判斷電腦系統100 = 該省電模式下開機,則中央處理單元100盔須 」 該作業系統主程式至記顏13G,域記“= 該起始位址處執行該作業系統主程式。在此省電模式下 之開機’因為無須再次載人該作業系統主程式,將^ 電腦系統100更快速的完成開機。 本發明一種實施態樣中,中央處理單元110判斷雷 腦系統100是處於該省電模式下開機,中央處理單元11〇 設定-旗,的狀態表示電腦系統刚是處於該省電模 式’俾使該載人作業系狀程序無須執行載人該作 統主程式至記憶體130。 、 201140440 本發明一種實施態樣中,儲存裝置14〇用於存放一 開機載入程式,且中央處理單元⑽係執行該開機載入 程式,以載入5玄作業系統主程式至該起始位址處存放。 請參閱第二圖,該圖顯示本發明使用載入作業系統 與系統開機之方法之電腦系統的具體實施例示意圖。在 本發明一種實施態樣中,電腦系統2〇〇包括:一中央處 理器210、一系統晶片模組220、一記憶體230與一儲存 裝置240,其中系統晶片模組22〇包括一北橋晶片223、 一南橋晶片224與一系統儲存單元221。儲存裝置24〇 連接南橋晶片224並存放一作業系統主程式。在本實施 態樣中,記憶體230為揮發性記憶體,例如:隨機存取 s己憶體(Random Access Memory,RAM)、動態隨機存取 記憶體(Dynamic Random Access Memory,DRAM)、靜態 隨機存取記憶體(Static Random Access Memory, SRAM)、同步動態隨機存取記憶體(Synchronous Dynamic Random Access Memory,SDRAM)、雙倍資料 傳輸速率同步動態隨機存取記憶體(Double Data Rate Synchronous Dynamic Random Access Memory, DDRSDRAM)。 系統晶片模組220的系統儲存單元221儲存一系統 開機程式222。一般而言,系統儲存單元221為非揮發 性記憶體,其可包括:快閃記憶體(Flash Memory)、唯 讀記憶體(Read Only Memory,ROM)、可擦除唯讀記憶 體(Erasable Read Only Memory,EROM)、電可擦除唯讀 記憶體(Electrically Erasable Read Only Memory, EEROM) '可擦除可編程唯讀記憶體(Erasable Programmable Read Only Memory,EPROM)、或電可擦 除可編程唯讀記憶體(Electrically Erasable Programmable 201140440Operating System ° S On the other hand, when the computer system 100 is turned on, the central processing unit 110 executes the system booting program 122 to determine that the computer system 100 = the power-on mode is turned on, then the central processing unit 100 is required to operate the system. Program to remember face 13G, domain record "= The main program of the operating system is executed at the start address. Boot in this power saving mode" because the computer system 100 is not required to be loaded again, the computer system 100 will be faster. In an implementation manner of the present invention, the central processing unit 110 determines that the thunder brain system 100 is powered on in the power saving mode, and the central processing unit 11 sets the flag, indicating that the computer system is just in the power saving state. The mode of the user program does not need to execute the master program to the memory 130. In an embodiment of the present invention, the storage device 14 is configured to store a boot loader and centrally The processing unit (10) executes the boot loader to load the main program of the 5th operating system to the start address. Please refer to the second figure, which shows the present invention. A schematic diagram of a specific embodiment of a computer system for loading a working system and a system booting method. In an embodiment of the present invention, the computer system 2 includes: a central processing unit 210, a system wafer module 220, and a memory. The body 230 and a storage device 240, wherein the system wafer module 22 includes a north bridge wafer 223, a south bridge wafer 224 and a system storage unit 221. The storage device 24 is connected to the south bridge wafer 224 and stores a working system main program. In an embodiment, the memory 230 is a volatile memory, such as a random access memory (RAM), a dynamic random access memory (DRAM), and a static random access memory. Memory Random Access Memory (SRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate Synchronous Dynamic Random Access Memory, DDRSDRAM) The system storage unit 221 of the system chip module 220 stores a system boot program 222. Generally The system storage unit 221 is a non-volatile memory, and may include: a flash memory, a read only memory (ROM), and an erasable read only memory (Erasable Read Only Memory). EROM), Electrically Erasable Read Only Memory (EEROM) 'Erasable Programmable Read Only Memory (EPROM), or electrically erasable programmable read only memory Body (Electrically Erasable Programmable 201140440

Read Only Memory,EEPR0M)。因為系統儲存單元 221 為非揮發性s己憶體,系統開機程式222、不會因為關閉 電腦系統200的電源而消失。在本發明一種實施例中, 系統開機程式222係儲存於系統儲存單元221的基本輸 出輸入系統碼段(BIOS Code)。 北橋晶片223連接中央處理器21〇與記憶體23〇, 且南橋晶片224連接北橋晶片223與系統儲存單元 221。必須注意到,習知本技術領域之人士將可瞭解到 本發明具有系統救援之電腦系統中各元件間的連接可透 過各種介面,例如:低接腳數量架構(L〇w_pin_c〇unt, LPC)、韌體路由(Firmware Hub,FWH)、序列週邊介面 (Serial Peripheral Interface,SPI)等介面之其一或其組 合。 當電腦系統200進入省電模式時,電腦系統2〇〇中 除了記憶體230之外大部分的元件都不供應電力。同 時,經由北橋晶片223供應至記憶體23〇的電力使記憶 體230保持邏輯運作。 & 本發明一種實施態樣中,南橋晶片224包括一控制 暫存器(Control Register)。當使用者意欲將電腦系统二2〇〇 進入該省電模式時,Windows CE經由中央處理單元21〇 寫入一省電指令給該控制暫存器,以控制電腦系統2〇〇 進入該省電模式。一般而言,該控制暫存器係支援ACpi 功能。 本發明一種實施態樣中,該作業系統主程式經由一 人機介面反應一使用者的動作,將該省電指令寫入南橋 晶片224的控制暫存器,該控制暫存器控制電腦系統2〇"〇 進入該省電模式。該人機介面為一電源按鈕或顯示於一 螢幕之-點擊圖案。-般而言,使用者可以藉由點擊在s 201140440 與電腦系統2GG連接的螢幕上顯示之點擊圖案,或 下電腦系統之電源按紐以使電腦系統2GG進入該省 電模式。 $ 虽電腦系統200開機時,中央處理單元21〇執行 統開機程式222,以判斷電腦系統2〇〇不是處於該省電 模式下開機,則中央處理單元21〇儲存在記憶體23〇 的二起始位址。經由南橋晶片224讀取儲存裝置24〇 的該作業系統主程式,並經由北僑晶片223载入該作業 系統主程式至該起始位址處存放,且中央處理單元2^ 從圯憶體230中的該起始位址處執行該作業系統主程 式。 ' 本發明一種實施態樣中’電腦系統2〇〇的作業系統 為一 Windows CE作業系統。舉例而言,該作業系統主 程式為Windows CE作業系統中的NK.bin。當中央處理 單元210儲存在記憶體230中的該起始位址時,Whjd〇ws CE作業系統經由中央處理單元210發出一通知指令,以 通知系統晶片模組220電腦系統200之作業系統為 Windows CE作業系統。 另一方面,當電腦系統200開機時,中夫處理單元 210執行系統開機程式222,以判斷電腦系統2〇〇是處於 該省電模式下開機,則中央處理單元200無須執行載入 該作業系統主程式至記憶體230,且從記憶體230中的 該起始位址處執行該作業系統主程式。如上所述,在此 省電模式下之開機’因為無須載入該作業系統主程式, 將可使電腦系統200更快速的完成開機。 本發明一種實施態樣中.中央處理單元21 〇判斷電 腦系統200是處於該省電模式下開機,中央處理單元〇 一旗標的狀態表示電腦系統200是處於該省電模式,俾 201140440 使該載入作業系统之卷 式至記憶體130。 、須執行載入該作業系統主程 本發明一種實施熊 開機載入程式,且中木虛,存裝置240用於存放一 程式,以載入該作業^早70 210係執行該開機載入 第三圖為本發明栽入程式至該起始位址處存放。 統的流程步驟圖,相關 業系統之方法實施於電腦系 如圖所示,步驟3〇1 系統架構請同時參照第一圖。 儲存裝置14G之1胸中央處理單元㈣執行儲存於 之步驟。本發明一種實 1程式,以啟動載入作業系統 CE作業系統,並包含該,該作業系統為Window 據一旗標的設定狀熊入程式。步驟3〇2中,根 放的該作業錢是否將儲存裝置140所存 施態樣中,該旗榡憶體130。本發明-種實 暫存器中。有關旗桿的:二::憶體中或是-晶片組的 以詳細討論。 、"又疋狀態,將會在以下說明書加 萬違旗標的設定狀離一 省電模式,則執行不,系統100不是處於該 起始位址處存放’ 並载入該作業系統主程式至該 處執行該作辈系赶中央處理單元110從該起始位址 式=== 流程+驟F1為本發明系統開機之方法實施於電腦系統的 所示^步二〇=之i統架構請同時參照第一圖。如圖 卢扭- 1中’虽電腦系統100開機啟動時,中央Read Only Memory, EEPR0M). Since the system storage unit 221 is a non-volatile memory, the system boot program 222 does not disappear because the power of the computer system 200 is turned off. In an embodiment of the invention, the system booting program 222 is stored in the BIOS code of the system input unit 221. The north bridge wafer 223 is connected to the central processing unit 21A and the memory 23A, and the south bridge wafer 224 is connected to the north bridge wafer 223 and the system storage unit 221. It should be noted that those skilled in the art will appreciate that the connections between the various components of the computer system with system rescue of the present invention can be accessed through various interfaces, such as a low pin count architecture (L〇w_pin_c〇unt, LPC). One or a combination of interfaces such as Firmware Hub (FWH) and Serial Peripheral Interface (SPI). When the computer system 200 enters the power saving mode, most of the components of the computer system 2 except the memory 230 are not supplied with power. At the same time, the power supplied to the memory 23 via the north bridge wafer 223 causes the memory 230 to remain logically operated. & In one embodiment of the invention, the south bridge wafer 224 includes a control register. When the user intends to enter the power saving mode of the computer system, the Windows CE writes a power saving instruction to the control register via the central processing unit 21 to control the computer system 2 to enter the power saving. mode. In general, the control register supports the ACpi function. In an embodiment of the present invention, the operating system main program responds to a user's action via a human machine interface, and writes the power saving instruction to the control register of the south bridge chip 224, and the control register controls the computer system. "〇 Enter the power saving mode. The human interface is a power button or a click-and-click pattern displayed on a screen. In general, the user can enter the power saving mode by clicking the click pattern displayed on the screen connected to the computer system 2GG on s 201140440 or the power button of the computer system. When the computer system 200 is powered on, the central processing unit 21 executes the system startup program 222 to determine whether the computer system 2 is not powered on in the power saving mode, and the central processing unit 21 is stored in the memory 23 Starting address. The operating system main program of the storage device 24 is read via the south bridge wafer 224, and the operating system main program is loaded to the starting address via the Norman chip 223, and the central processing unit 2^ is from the memory unit 230. The operating system main program is executed at the start address in the middle. In an embodiment of the present invention, the operating system of the computer system 2 is a Windows CE operating system. For example, the operating system main program is NK.bin in the Windows CE operating system. When the central processing unit 210 stores the start address in the memory 230, the Whjd〇ws CE operating system sends a notification command via the central processing unit 210 to notify the system chip module 220 that the operating system of the computer system 200 is Windows. CE operating system. On the other hand, when the computer system 200 is powered on, the central processing unit 210 executes the system startup program 222 to determine that the computer system 2 is powered on in the power saving mode, and the central processing unit 200 does not need to perform loading of the operating system. The main program is to the memory 230, and the operating system main program is executed from the start address in the memory 230. As described above, the booting in this power saving mode will enable the computer system 200 to be turned on more quickly because there is no need to load the operating system main program. In an embodiment of the present invention, the central processing unit 21 determines that the computer system 200 is powered on in the power saving mode, and the state of the central processing unit is a flag indicating that the computer system 200 is in the power saving mode, 俾201140440 makes the load The volume of the operating system is transferred to the memory 130. The execution of the operating system main program of the present invention is an implementation of the bear boot loader, and the middle wood virtual storage device 240 is used to store a program to load the job. The three figures are the programming program of the present invention and stored at the starting address. The process diagram of the system is implemented in the computer system as shown in the figure. Step 3〇1 Please refer to the first diagram for the system architecture. The chest central processing unit (4) of the storage device 14G performs the storage step. The invention provides a real program for starting the loading operation system CE operating system, and the operating system is a set-up bear entry program of a window according to a flag. In step 3〇2, whether the money for the operation of the operation device 140 will be stored in the storage device 140. The invention is embodied in a physical register. Regarding the flagpole: 2:: Recalling the body or - the chipset is discussed in detail. , "又疋 state, will be in the following manual plus the flag of the flag is set to a power-saving mode, then the implementation is not, the system 100 is not stored at the start address' and load the operating system main program to The execution of the system is performed by the processing unit 110 from the starting address type === flow + step F1 is the method of booting the system of the invention implemented in the computer system. Also refer to the first figure. As shown in the figure, Twist - 1 in the 'When the computer system 100 is turned on, the center

早兀110經由系統晶片模組12〇以讀取且執行系統U 11 201140440 i該省;J。步驟402中,判斷電腦系統100是否處 ^下Η機式下開機。若電腦系統1GG不是處於該省電 嗲i入:紫备則載入一作業系統之程序(步驟403所示)。 統之程序包括儲存記憶體130中的該起始 而你中水*人Ϊ作業系統主程式至該起始位址處存放, ^ ^ 理單兀110從該起始位址處執行該作業系統 301 詳細之載入作業系統之程序請參考步驟 牛腦系統卿是處於該省電模式下開機,則執行 二。—▲’判斷該作業系統是否為Wind〇ws CE作業系 二nT亥Γ業系統是Wind〇WS CE作業系統,則執行步 驟405中,設定該旗標的狀態表示電腦系統 # — 於省電模式,俾使該載入作業系統之程序無須 140載入該作業系統主程式至記憶體 使中央處理單元110從記憶體130中的該起始位 2行5亥作業系統主程式。本發明一種實施態樣中, =,係儲存於記憶體13G中。詳細之載人作業系統之 凊參考步驟301-304。另一方面,若該作業系統不是 i^clows CE作業系統,則執行該省電模式下預設的開機 程序(步驟406所示)。 由上述敘述可知,本發明實為一新穎、進步且具產 業實用性之發明。雖然本發明已以較佳實施例揭露如 上,然其並非用以限定本發明,任何熟悉此技藝者,在 不脫離本發明之精神和範圍内,當可作各種之更動與潤 飾0 、 12 201140440 【圖式簡單說明】 第一圖為使用載入作業系統與系統開機之方法之電 腦系統的示意圖。 第二圖顯示使用載入作業系統與系統開機之方法之 電腦系統的具體實施例示意圖。 第三圖為本發明載入作業系統之方法實施於電腦系 統的流程步驟圖。 第四圖為本發明系統開機之方法實施於電腦系統的 流程步驟圖。 【主要元件符號說明】 100 電腦糸統 220 糸統晶片模組 110 中央處理單元 221 系統儲存單元 120 糸統晶片模組 222 系統開機程式 121 系統儲存單元 223 北橋晶片 122 系統開機程式 224 南橋晶片 130 記憶體 230 記憶體 140 儲存裝置 240 儲存裝置 200 電腦糸統 301-304 步驟 210 中央處理器 401- 406 步驟The system 110 is read and executed by the system chip module 12 to the system U 11 201140440 i; In step 402, it is determined whether the computer system 100 is powered on. If the computer system 1GG is not in the power saving state, the program is loaded into the operating system (shown in step 403). The system includes storing the start in the memory 130 and storing the main program of the middle water system to the start address, and the ^ 理 110 executes the operating system from the start address 301 For detailed procedures for loading the operating system, please refer to the step. If the brain system is powered on in the power saving mode, execute the second. - ▲ 'determine whether the operating system is Wind 〇 ws CE operating system two nT Γ Γ system is a Wind WS WS CE operating system, then in step 405, the state of the flag is set to indicate that the computer system # - in the power saving mode, The program loaded into the operating system does not need to load the operating system main program to the memory so that the central processing unit 110 can execute the system main program from the start bit 2 in the memory 130. In one embodiment of the invention, = is stored in memory 13G. Refer to steps 301-304 for a detailed manned work system. On the other hand, if the operating system is not the i^clows CE operating system, the booting process preset in the power saving mode is executed (shown in step 406). As apparent from the above description, the present invention is a novel, advanced, and practical invention. While the invention has been described above by way of a preferred embodiment, it is not intended to limit the invention, and any of the various changes and modifications can be made without departing from the spirit and scope of the invention. 0, 12 201140440 [Simple description of the diagram] The first figure is a schematic diagram of a computer system using a method of loading the operating system and the system to boot. The second figure shows a schematic diagram of a specific embodiment of a computer system using a method of loading a job system and booting the system. The third figure is a flow chart of the method of loading the operating system of the present invention implemented in a computer system. The fourth figure is a flow chart of the method for implementing the system booting in the computer system. [Main component symbol description] 100 computer system 220 晶片 chip module 110 central processing unit 221 system storage unit 120 晶片 chip module 222 system boot program 121 system storage unit 223 north bridge wafer 122 system boot program 224 south bridge chip 130 memory Body 230 Memory 140 Storage Device 240 Storage Device 200 Computer System 301-304 Step 210 Central Processing Unit 401-406 Step

Claims (1)

201140440 七、申請專利範圍: 1. 一種載入作業系統之方法,實施於一電腦系統中, 該電腦系統包括一中央處理單元,包括: 根據一旗標的設定狀態,以決定是否將一儲存 裝置所存放的一作業系統主程式載入一記憶體; 當該旗標的設定狀態表示該電腦系統不是處於 一省電模式,則儲存在該記憶體中的一起始位址, 並載入該作業系統主程式至該起始位址處存放;以 及 當該旗標的設定狀態表示該電腦系統是處於該 省電模式,則使該中央處理單元根據已儲存的該起 始位址處執行該作業系統主程式。 2. 如申請專利範圍第1項所述之載入作業系統之方法, 其中當該旗標的設定狀態表示該電腦系統不是處於 一省電模式,該中央處理單元載入該作業系統主程 式至該起始位址處存放,並從該起始位址處執行該作 業系統主程式。 3. 如申請專利範圍第1項所述之載入作業系統之方法, 其中該作業系統為一 Windows CE作業系統,且該中 央處理單元是執行儲存於該儲存裝置的一開機載入 程式,以載入該作業系統主程式至該起始位址處存 放。 4. 如申請專利範圍第1項所述之載入作業系統之方法, 其中該旗標係儲存於該記憶體中。 5. 如申請專利範圍第1項所述之載入作業系統之方法, 其中該旗標係儲存於一晶片組的暫存器中。 6. —種系統開機之方法,實施於一電腦系統中,該電 腦系統包括一中央處理單元與一記憶體,包括: 14 201140440 判斷該電腦系統不是處於一省電模式下開機, 執行一載入作業系統之程序包括:儲存在該記憶體 中的一起始位址,並載入一作業系統主程式至該起 始位址處存放,而使該中央處理單元從該起始位址 處執行該作業系統主程式;以及201140440 VII. Patent application scope: 1. A method for loading an operating system, implemented in a computer system, the computer system comprising a central processing unit, comprising: determining whether to store a storage device according to a setting state of a flag The stored operating system main program loads a memory; when the setting state of the flag indicates that the computer system is not in a power saving mode, a starting address stored in the memory is loaded and loaded into the operating system main The program is stored at the start address; and when the set state of the flag indicates that the computer system is in the power saving mode, the central processing unit executes the operating system main program according to the stored start address . 2. The method of loading an operating system according to claim 1, wherein when the setting state of the flag indicates that the computer system is not in a power saving mode, the central processing unit loads the operating system main program to the The starting address is stored and the operating system main program is executed from the starting address. 3. The method of loading an operating system according to claim 1, wherein the operating system is a Windows CE operating system, and the central processing unit executes a boot loader stored in the storage device to Load the operating system main program to the start address and store it. 4. The method of loading an operating system according to claim 1, wherein the flag is stored in the memory. 5. The method of loading an operating system according to claim 1, wherein the flag is stored in a register of a chip set. 6. A method for booting a system, implemented in a computer system, the computer system comprising a central processing unit and a memory, comprising: 14 201140440 determining that the computer system is not in a power saving mode, performing a loading The operating system program includes: a starting address stored in the memory, and loading a working system main program to the starting address for storing, and causing the central processing unit to execute the starting address from the starting address Operating system main program; 刊斲該電腦系統是處於該省電模式下開機,設 定一旗標的狀態表示該電腦系統是處於該省電模 式’俾使該载入作業系統之程序無須執行載入該作 業系統主程式至該記憶體,而使該中央處理單元從 該起始位址處執行該作業系統主程式。 8. 7.如申請專利範圍第6項所述之系統開機之方法,其中 該,業系統為一 wind〇ws CE作業系統,且該載入作 業系統之程序系由一開機載入程式所執行。The computer system is powered on in the power saving mode, and setting a flag indicates that the computer system is in the power saving mode, so that the program loading the operating system does not need to execute the loading of the operating system main program to the The memory causes the central processing unit to execute the operating system main program from the start address. 8. The method of booting a system according to claim 6, wherein the system is a wind〇ws CE operating system, and the program loaded into the operating system is executed by a boot loader . 如申請專利範圍第6項所述之系統開機之方法,進一 ,包斷該作業系統是否為Windows CE作業系 亥作業系統是Windows CE作業系統,則設定 表示該電腦系統是處於該省電模式, 統主二心之程序無須執行載人該作業系 9::址4執二上系央處理單元從該起 .步包二:以84所,^ 統,則執行該省雷^二、、先不疋Wlndows CE作業系 10.—種電腦系統,i吴式下預設的開機程序。 括:一中央處理單、有—省電模式,該電腦系統包 與一儲存裴置,其=兮^統儲存單元、一記憶體 統主程式,兮备 μ睹存裝置用於存放一作堂备 i胜外:糸统儲存單元在你 作業系 其特徵在於: 存放一系統開機程式, 15 201140440 該中央處理單元執行該系統開機程 該電腦系統不是處於該省電模式開、M判斷 處理單元儲存在該記憶體中的一起始位址,1該中央 该作業系統主程式至該起始位址處存放. 並載入 該中央處理單元執行該系統開機 該電腦系統是處於該省電模式下開機,=判斷 理單元無須執行載入該作業系統主程2央處 體,且從該起始位址處執行該作業系統主 °己憶 Η·如申請專利範圍第1〇項所述之電腦系统, 央處理單元判斷該電腦系統不是處於該雷中 開機,該中央處理單元載入該作業系統主下 起始位址處存放’並從該起始位址處執行該 主程式。 耒系統 12. 如申清專利範圍第10項所述之電腦系統,复 央處理單元判斷該電腦系統是處於‘二該中 機,該中央處理單元設定一旗標的狀S3:開 系統是處於該省電模式,俾使該載入作=電腦 序無須執行載入該作業系統主程式至該記憶體统之種 13. 如申請專利範圍第1〇項所述之電腦系統, 存裝置用於存放-開機載入程式,且該中央處^錯 係執行該開機載入程式,以載入該作業系統g =元 該起始位址處存放。 程式至 Η·如申請專利範圍第1G項所述之電腦系統,進 括一北橋晶片與一南橋晶片,而該中央處理时二匕 一中央處理器,該北橋晶片連接該記憶 為 片連接該系統儲存單元與該儲存裝置。^南橋晶 15.如申請專利範圍第14項所述之電腦系統,其 橋晶片包括-控制暫存器,該控制暫存器控制該^腦 ΛΑ. 201140440For example, if the system is powered on according to the sixth aspect of the patent application, if the operating system is a Windows CE operating system, the Windows CE operating system is set, indicating that the computer system is in the power saving mode. The program of the master and the second heart does not need to carry out the manned work department 9:: address 4 is the second system of the central processing unit from the beginning. Step 2: 84, ^ system, then the province is executed ^ 2, first Not worthy of the Windows computer operating system 10. - a computer system, i Wu type default boot process. Including: a central processing unit, a - power saving mode, the computer system package and a storage device, its = 兮 ^ system storage unit, a memory system main program, the preparation of the μ memory device for storing a job Winning: The storage unit in your system is characterized by: storing a system boot program, 15 201140440 The central processing unit performs the system boot process. The computer system is not in the power saving mode, and the M judgment processing unit is stored in the a starting address in the memory, 1 the central operating system main program is stored at the starting address and loaded into the central processing unit to perform the system booting. The computer system is powered on in the power saving mode, = The judging unit does not need to execute the loading of the main body of the operating system, and executes the operating system from the starting address. The computer system described in the first application of the patent scope is The processing unit determines that the computer system is not powered on in the mine, and the central processing unit loads the main start address of the operating system to store 'and executes from the start address Main program.耒System 12. If the computer system described in claim 10 is claimed, the central processing unit determines that the computer system is in the middle of the machine, and the central processing unit sets a flag S3: the open system is in the The power saving mode, so that the loading program = the computer program does not need to execute the loading of the operating system main program to the memory system. 13. The computer system according to the first aspect of the patent application, the storage device is used for storing - Boot loader, and the central location is executed by the boot loader to load the operating system g = meta at the start address. The computer system described in claim 1G includes a north bridge chip and a south bridge chip, and the central processing unit is a central processing unit, and the north bridge chip connects the memory to the chip to connect the system. a storage unit and the storage device. ^南桥晶 15. The computer system according to claim 14, wherein the bridge chip comprises a control register, and the control register controls the brain. 201140440 系統進入該省電模式。 16. 如申請專利範圍第10項所述之電腦系統,其中該作 業系統為Windows CE作業系統,且該作業系統主程 式經由一人機介面反應一使用者的動作,將一省電指 令寫入一南橋晶片的控制暫存器,該控制暫存器控制 該電腦糸統進入該省電模式。 17. 如申請專利範圍第16項所述之電腦系統,其中該人 機介面為一電源按鈕或顯示於一螢幕之一點擊圖案。 17The system enters the power saving mode. 16. The computer system according to claim 10, wherein the operating system is a Windows CE operating system, and the operating system main program responds to a user's action via a human machine interface, and writes a power saving command to the operating system. The control register of the south bridge chip, the control register controls the computer to enter the power saving mode. 17. The computer system of claim 16, wherein the human interface is a power button or a click pattern displayed on one of the screens. 17
TW99115245A 2010-05-13 2010-05-13 Methods for loading operation system and system booting, and computer system using the same TW201140440A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW99115245A TW201140440A (en) 2010-05-13 2010-05-13 Methods for loading operation system and system booting, and computer system using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW99115245A TW201140440A (en) 2010-05-13 2010-05-13 Methods for loading operation system and system booting, and computer system using the same

Publications (1)

Publication Number Publication Date
TW201140440A true TW201140440A (en) 2011-11-16

Family

ID=46760304

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99115245A TW201140440A (en) 2010-05-13 2010-05-13 Methods for loading operation system and system booting, and computer system using the same

Country Status (1)

Country Link
TW (1) TW201140440A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI655537B (en) * 2018-03-12 2019-04-01 點序科技股份有限公司 System code management device and management method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI655537B (en) * 2018-03-12 2019-04-01 點序科技股份有限公司 System code management device and management method thereof

Similar Documents

Publication Publication Date Title
JP5234473B2 (en) Turboboot system and method
TW200805159A (en) Method and apparatus for fast boot of an operating system
TW201011531A (en) Computer system and related method of logging BIOS update operation
CN106990958A (en) A kind of extension element, electronic equipment and startup method
TW201232249A (en) Computer system and operating system switching method thereof
TW201525869A (en) System and method for dual OS memory switching
JP2015156205A (en) Information processing device, and control method therein
TW201248392A (en) System and method for recovering data of a NVRAM
TWI534707B (en) Computer system, shutdown and boot method thereof
TW201106271A (en) Method of switching different operating systems in computer
TWI511047B (en) Operating system switching method and dual operating system electronic device using the same
TWI486874B (en) Electronic apparatus and booting method
TW201533569A (en) Computer system and control method
TW201140440A (en) Methods for loading operation system and system booting, and computer system using the same
CN110825421B (en) Firmware upgrading method, system and readable storage medium
KR20100041518A (en) Selective suspend resume method of reducing initial driving time in system, and computer readable medium thereof
TW200304623A (en) Method and apparatus for booting from a portable memory card
TWI754221B (en) Disabling software persistence
EP1615107A2 (en) Information processing apparatus, memory managing program, and memory managing method
TWI479414B (en) Method for presenting information and computer system using the method
US10061597B2 (en) Computing device with first and second operating systems
TWI522924B (en) Electronic device and operating system switching method thereof
TW201409468A (en) Memory data managing system and method
CN101887372B (en) Computer mainboard with built-in configuration display functions in basic input/output system
TW200921368A (en) BMC test method and server