1238356 種電腦開機的1238356 kinds of computer boot
【發明所屬之技術領域】 本發明係關於一 開機時間的方法。 【先前技術】 方法’特別是一種縮短 在以往的電腦開機程序φ 系統程式(BIOS),以執行硬辦沾要係先讀取基本輸出入 確認電腦中各硬體元件運作初始設定和測試,並且在 關作業系統程式(0S)的資料,'後,才開始讀取硬碟中有 各元件的控制與運算。 、栽入作業糸統進行電腦中 但是這種習知的開機流 儲存在硬碟之中,由於硬次二由於作業系統程式(0S )係 得電腦在啟動之初,光B才、二料存取速度的限制,往往使 了大量的時間,在做事講求效2開機作業程序時,就耗費 成為使用者所話病的地方。y的5日 此項狀況則往往 另外由於目前硬碟 有具小型電腦系統界面 碟資料的存取速度,但 來看,為了縮短電腦開 硬碟裝置在自己的電腦 上,均不符要求外,更 因此針對開機時間 用者的成本上,即達到 將較更換硬碟以縮短開 睞。 資料存取技術的限制情況之下,雖 (SCSI)的硬碟技術問世,可提升硬 是基於消費者與使用者的使用心理 機所需時間,而需另外去購買一顆 上,不僅在成本與經濟效益的考量 是增加使用者使用電腦上的困擾。 的縮短要求來說’若能在不增加使 縮短開機時間的要求時,此一技術 機時間的技術,更受使用者所青 【發明内容】[Technical field to which the invention belongs] The present invention relates to a method for starting time. [Previous technique] Method 'especially a shortening of the previous computer booting process φ system program (BIOS) to perform hardware operations is to first read the basic input and input to confirm the initial setting and testing of each hardware component in the computer, and After closing the data of the operating system program (0S), the control and calculation of each component in the hard disk began to be read. The system is installed in the computer, but the conventional booting stream is stored in the hard disk. Because of the hard time, because the operating system program (0S) is connected to the computer at the beginning, the light B is only stored in the computer. Limitation of speed often takes a lot of time, and when it comes to doing things, it takes time to become a sick place when the user starts the operation procedure. On the 5th, this situation is often due to the fact that the current hard disk has a small computer system interface disk data access speed. However, in order to shorten the hard disk drive on the computer, it does not meet the requirements. Therefore, in terms of the cost of the user during the boot time, it is achieved that the replacement of the hard disk is shortened to shorten the preference. Under the limitation of data access technology, although the advent of (SCSI) hard disk technology, it can be improved based on the time required by consumers and users to use psychological machines, and it is necessary to buy another one, not only in cost and The consideration of economic benefits is to increase the user's trouble on the computer. In terms of shortening requirements ’, if the requirement to shorten the boot time is not increased, the technology of machine time is more popular among users. [Summary of the Invention]
1238356 曰 五、發明說明(2) 黎於以上習知技術的問題,本發明提供一種縮短開機 時間的方法,藉由一開機控制程式的製作與執行,控制電 腦開機時,在讀取基本輸出入系統程式(B丨〇s )的同時,利 用快取e己憶體(C a c h e )讀取作業系統預載程式,並於基本 輸出入系統程式(B丨os )載入與測試之後,再自快取記憶體 (Cache )項取作業系統預載程式,以載入作業系統程 — (0S)的方法。 ” 本發明的目的在於提供一種縮短開機時間的方法, 由本方法的操作,達到縮短電腦開機所需時間的目的。均 因此為達上述目的,本發明的方法包含下列運 程.在電腦開機時,首先必須讀取基 = (BI〇S)及開機控制程式;然後控 ==式 取作業系統預載程式;接著自快取體[體巧,)讀 業系統預載程式;最後才自硬碟續f,(Cache)s買取作 至於控制本發明運作的開機;:程式。 包含下列步驟:首先讀取硬碟的作;^式’其製作方法更 然後控制快取記憶體(Cache)讀取作、系統程式(0S)資料; 著記錄硬碟磁區編號並對應取/系統私式(0S);接 儲存成該開機控制程式。’ 業系統預載程式;最後 透過前面對於本發明揭露方 景說明中所存在的問題,並且預、概略描述,可解決背 需時間的功效。 可達到縮短電腦開機所 有關本發明的特徵與實作, 詳細說明如下: 配合圖示作最佳實施例 :實施方式】 第6頁1238356 Description of the Invention (2) Based on the problems of the above-mentioned conventional technology, the present invention provides a method for shortening the boot time. By making and executing a boot control program, the computer is controlled to read basic input and output when the computer is booted. At the same time as the system program (B 丨 〇s), the cache e cache memory (Cache) is used to read the operating system preloaded program, and after the basic input and input system program (B 丨 os) is loaded and tested, The cache memory (Cache) item takes the operating system preload program to load the operating system program — (0S) method. The purpose of the present invention is to provide a method for shortening the boot time. The operation of the method can achieve the purpose of shortening the time required for the computer to boot. Therefore, in order to achieve the above purpose, the method of the present invention includes the following processes. When the computer is powered on, first Must read base = (BI0S) and boot control program; then control == to get the operating system preloaded program; then from the cache (tact,) to read the operating system preloaded program; finally continue from the hard disk f, (Cache) s are purchased to control the operation of the present invention; the program includes the following steps: first read the work of the hard disk; ^ 'its production method and then control the cache memory (Cache) read operation The system program (0S) data; records the hard disk sector number and corresponds to the / system private (0S); then stores it as the boot control program. 'Industry system preloaded program; Finally, through the previous disclosure of the present invention, Fang Jing The problems existing in the description, and the preliminary and general description, can solve the effect of taking time. It can shorten the features and implementation of the present invention related to the computer startup. The detailed description is as follows: As preferred embodiments: Embodiment page 6
五、發明說明(3) 一種縮短開機時間的方法,藉由一開機控制糕式1 $ 作與執行’控制電腦開機時,在讀取基本輸出入系統程> (BIOS)的同時’利用快取記憶體(Cache)讀取作業系統預 載程式,旅於基本輪出入系統程式(B丨os )載入與測試之 後,再自快取兄憶體(Cache)讀取作業系統預載程式’炎 於作業系統預載程式載入完畢後,自硬碟載入作業系統後 續程式,以完成整個作業系統程式(os )載入的方法。藉由 本方法的操作’預期可達到縮短電腦開機所需時間的目 的0 因此為達上述目的,首先藉由「第1圖」本發明之開 機控制程式編製流程圖, 如「第1圖」所示,首先 進行開機控制程式的編製解說; 讀取硬碟的作業系統程式(0S)資 料(步驟110);然後控制快取記憶體(Cache)讀取作業系統 程式(0S)(步驟120);接著記錄硬碟磁區編號並對應取得 7牛業:二預載程式(步驟130);最後儲存成開機控制程式 C步驟1 4 0 )。 的作ί =開機控制程式的編製之初,電腦要求對於硬碟 口 =二統程式(os)資料進行讀取動作,並且控制讀取的 二的快取…(Cache),由電腦的快取記憶體 Uache)靖取硬碟内的作業系統程式(〇s)資 ί ϊ ί l ^f ^ ^ ^ ^(os)t # ^ ^ ^ ^ ^ ^ ^ ^ ^ 的資又料旦取ΐ憶體(CaChe)所,能讀取之作業系統程式(〇s) 、;、里,製作取得一個作業系統預載程式,並 對應的硬碟磉區編號,儲存成一的開機控制程式。5八 &帝U呈^^成之後’即可用以控制後續電腦開機作二機V. Description of the invention (3) A method for shortening the boot time, by using a boot control 1 $ to make and execute 'control computer when booting, while reading the basic input and input system program > (BIOS),' use fast Take the memory (Cache) to read the operating system preloaded program. After loading and testing the basic round out system program (B 丨 os), read the operating system preloaded program from the cache. After the preloading program of the operating system is loaded, the subsequent programs of the operating system are loaded from the hard disk to complete the loading of the entire operating system program (os). Through the operation of this method, it is expected that the purpose of shortening the time required for the computer to be turned on can be achieved. Therefore, in order to achieve the above purpose, firstly, the flowchart of the boot control program of the present invention is compiled according to "Figure 1", as shown in "Figure 1" First, compile and explain the boot control program; read the operating system program (0S) data of the hard disk (step 110); then control the cache to read the operating system program (0S) (step 120); then Record the hard disk sector number and correspondingly obtain 7 cattle industry: two pre-loaded programs (step 130); and finally save them as the boot control program C step 1 40). At the beginning of the compilation of the boot control program, the computer requested to read the hard disk port = binary system (os) data, and control the cache of the read two ... (Cache), the computer's cache Memory Uache) The operating system program (〇s) information in the hard disk is ί ί l ^ f ^ ^ ^ ^ (os) t # ^ ^ ^ ^ ^ ^ ^ ^ The system (CaChe) can read the operating system program (0s),;, and make an operating system preloaded program, and the corresponding hard disk area number, and store it as a boot control program. 5 八 & Emperor U ^^ chengcheng ’can be used to control subsequent computers to boot as two machines
1238356 __案號92108011__牟月日 _ 五、發明說明(4) 時,控制電腦利用快取記憶體(Cache)讀取作業系統預載 程式,以縮短電腦開機所需之時間。 在藉由「第1圖」述說完有關本發明方法所需利用之 開機控制程式的編製流程之後,繼續藉由「第2圖」本發 明之執行開機流程圖,來解說本發明實際運作時的運作流 程。 如「第2圖」所示,首先在電腦開機時,讀取基本輸 出入系統程式(B I 0 S )及開機控制程式(步驟2 1 〇 );接著控 制快取記憶體(Cache)讀取作業系統預載程式(步驟22〇); 然後再自快取記憶體(Cache)讀取作業系統預載程式(步驟 2 3 0 );最後才自硬碟讀取作業系統後續程式(步驟2 4 〇 )。 在電腦主機接受到開啟的訊號時,控制中央處理器 (C P U )首先讀取基本輸出入系統程式(β丨〇 s),以進行硬體 的初始設定和測試,以確保電腦中各個元件可以正常工 作,並且同時讀取開機控制程式,根據開機控制程式控制 快取記憶體(Cache)讀取作業系統預载程以美 本輸出入系統程式(BI0S)載入中央處理器(cpu),執^ 硬體的初始設定和測試之後,可以春外& $ ^ ^ <伋 J以无從快取記憶體 (C a c h e )言買取預先讀取之作倉会怂猫 ^ I 4 @ 4 業糸統預载程式,並且在完成 土 $ X I 4 μ 後繼續從硬碟中讀取尚 * λ 丁你 欠貝枉式以疋成整個作業系統(OS)的 載入工fF。 因此為實現本發明所接 —φ w Μ她μ &时所挺縮短開機時間的方法,必須 在電細開機的時間内,好好利用去 快的快取記憶體(Cache^:\執:工作且存取速度較1238356 __Case No. 92108011__Mou Yueri _ V. In the description of the invention (4), the control computer uses the cache memory to read the operating system preloaded programs to reduce the time required for the computer to boot. After describing the preparation process of the startup control program required by the method of the present invention by using the "Figure 1", continue to explain the actual operation of the present invention by using the "Starting Flowchart" of the present invention by using the "Figure 2" operation flow. As shown in "Figure 2", when the computer is turned on, first read the basic input / output system program (BI 0 S) and the boot control program (step 2 1 〇); then control the cache memory (Cache) read operation The system preloads the program (step 22); then reads the operating system preload program from the cache (step 2 30); finally reads the subsequent program of the operating system from the hard disk (step 2 4 〇) ). When the host computer receives the open signal, the control central processing unit (CPU) first reads the basic input / output system program (β 丨 〇s) for the initial setting and testing of the hardware to ensure that each component in the computer can function normally. Work, and read the boot control program at the same time, according to the boot control program to control the cache memory (Cache) to read the operating system preload program to the US input and output system program (BI0S) to load the central processing unit (CPU), execute ^ hardware After the initial setting and testing, you can buy the pre-reading positions with no access to the cache memory (C ache). I 4 @ 4 Load the program, and continue to read from the hard disk after completion of the $ XI 4 μ. You owe it to the loader fF of the entire operating system (OS). Therefore, in order to realize the method of φ w Μμμ & which shortens the boot time, it is necessary to make good use of the fast cache memory (Cache ^: \ 执: work) And faster access
Che),但由於快取記憶體(Cache)所能 1238356 _案號 92108021_年月日__ 五、發明說明(5) 儲存的資料量有限,因此必須將整個作業系統程式的資料 分成作業系統預載程式及作業系統後續程式兩部分,並且 藉由程式儲存於硬碟的磁區編號輔助,將作業系統程式 (OS )的資料確實分成作業系統預載程式及作業系統後續程 式兩部分的資料量,然後由開機控制程式控制開機時,關 於作業系統預載程式的部分則由快取記憶體(Cache)先行 讀取,至於作業系統後續程式部分則由硬碟的資料庫提 供,如此一來開機時,即可藉由快取記憶體(Cache)存取 資料較快速的特性,縮短電腦開機的時間。 以上所述者,僅為本創作其中的較佳實施例而已,並 非用來限定本創作的實施範圍;即凡依本創作申請專利範 圍所作的均等變化與修飾,皆為本創作專利範圍所涵蓋。Che), but because the cache memory (Cache) can be 1238356 _ case number 92108021_ year month day __ V. invention description (5) the amount of stored data is limited, so the entire operating system program data must be divided into operating systems Preloaded programs and subsequent programs of the operating system, and the data of the operating system programs (OS) are indeed divided into two parts of the operating system preloaded programs and the subsequent programs of the operating system with the assistance of the sector number stored in the hard disk. Volume, and then the boot control program controls the boot, the part of the operating system preloaded program is read by the cache (Cache), as for the subsequent program part of the operating system is provided by the hard disk database, so When you turn on the computer, you can use the cache memory (Cache) to access data faster, which shortens the computer's boot time. The above are only the preferred embodiments of this creation, and are not intended to limit the scope of implementation of this creation; that is, all equivalent changes and modifications made in accordance with the scope of the patent application for this creation are covered by the scope of this creation patent .
1238356 _案號92108021_年月日__ 圖式簡單說明 【圖式簡單說明】 第1圖係為本發明之開機控制程式編製流程圖;及 第2圖係為本發明之執行開機流程圖。 【圖式符號說明】 步驟1 1 0 讀取硬碟的作業系統程式(OS )資料 步驟120 控制快取記憶體(Cache)讀取作業系統 程式(OS) 步驟1 3 0 記錄硬碟磁區編號並對應取得作業系統 預載程式 步驟1 4 0 儲存成開機控制程式 步驟2 1 0 讀取基本輸出入系統程式(B I OS )及開機 控制程式 步驟2 2 0 控制快取記憶體(Cache)讀取作業系統 預載程式 步驟2 3 0 自快取記憶體(Cache)讀取作業系統預 載程式 步驟2 4 0 自硬碟讀取作業系統後續程式1238356 _Case No. 92108021_ 年月 日 __ Brief Description of Drawings [Simplified Description of Drawings] Figure 1 is a flowchart of programming the startup control program of the present invention; and Figure 2 is a flowchart of executing the startup of the present invention. [Illustration of Graphical Symbols] Step 1 1 0 Read the operating system program (OS) data of the hard disk. Step 120 Control the cache memory (Cache) to read the operating system program (OS). Step 1 3 0 Record the hard disk sector number. And correspondingly obtain the operating system preloaded program step 1 4 0 save as boot control program step 2 1 0 read the basic input and input system program (BI OS) and boot control program step 2 2 0 control the cache memory (Cache) read Operating system preload program step 2 3 0 Read from operating system (Cache) Read operating system preload program step 2 4 0 Read operating system follow-up program from hard disk
第10頁Page 10