201207732 六、發明說明: 【發明所屬之技術領域】 -種計算機裝置的操作系統及其方法,特別有_一種自動 在客戶端計錢輯行作㈣制钱錄及其方法。 【先前技術】 目前’隨著網路技術的飛速發展與日益普及,網路已經成為 人們在日常的工作與生活中藉以獲取資訊與進行通訊之首選工 具。而在網路中,伺服器可用於為客戶端提供各種服務(如:允許 或限制共享資源之存取、自動備份資料以及從遠端電腦存取作業 資料等)。 在伺服器管理領域,管理軟體在某些情況下會要求目標伺服 器透過預先載入執行環境或虛擬媒介(Virtual Media)進行網路啟 動,完成某些特定的管理作業。為了能夠透過網路啟動伺服器, 人們已經開發出了多種方案,藉以控制伺服器之啟動順序。 習知的用於控制伺服器之啟動順序的方法主要有下列幾種: 第一方案:對目標伺服器進行設置,藉以使網路卡之默認狀 態為啟動,進而透過對預先載入執行環境之伺服程式進行控制, 藉以決定是否使此目標伺服器從預先載入執行環境啟動。 第二方案:透過目標伺服器之基本輪出入系統(Basic Input/Output System,BIOS)所提供的公用程式於作業系統中實現 啟動順序之變更。 第三方案:透過管理晶片,如主機板控制管理器(Baseboard 201207732 management e。咖此’ BMQ魏對恤^之基本如人系統之啟 動順序進行控制。 第四方案·透過控制虛擬媒介所指向之遠端之映像槽案 (ISO) ’而改變伺服器之啟動順序。 仁疋上述四種方案中,第_方案之缺陷在於需要完全地對 預先載入執行魏之舰程錢行㈣,㈣二方案、第三方案 及第四方案之缺陷在於對硬體之要求較高。 總而言之’習知技射的各财案健存扣㈣項缺陷: 第-,因對於硬體之要求較高,而導致成本增大;第二,因需要 對舰器之硬體及作㈣統進行更改,而導致安全性降低;第三, 因方案複雜而不便於執行。 【發明内容】 鑒於以上的問題,本發明的主要目的在於提供一種自動在客 戶端計算機選擇欲運行作㈣統的安裝系統,用以啟動不具作業 系統的計算機。 ' 為達上述目的’本發明所揭露之自動在客戶端計算機選擇欲 運行作業系統的安裝祕包括:主從式架構_服端與至少一客 戶端;每—客戶端連結恤端;伺服端具有複數筆健系統文件 與預先載人執行環難序;客戶端包括網路通賴組與處理單 元;網路通訊模組用以與健端建立相關的網路通訊;處理單元 電性連接测路通賴組;當客戶觀啟_,處理單元透過網 路通訊模組向舰猶出-作_财取要求,舰端傳送預先 201207732 載入執行環境程序給客戶端,用以獲取客戶端的—機型資訊,祠 服端根據機型資訊調用相應的作㈣統文件 傳送給客戶端。 f条糸、、无文件 除了上述實補樣外,本㈣另提出_種自動 的行作綠㈣絲枝,_啟輯料具作業系統 目的,本發明所揭露之—種自動在客戶端計«選 擇欲運讀㈣統的絲方法包括町步驟: =服端發出作業系統索取要求作業謝 後’魏端傳送預先载入執行環境程序給客戶端,用以獲 =戶^機型資訊,·舰端根據機型資訊調用相應的作業系統 件㈣業系統文件傳送給客戶端;客戶端载入作業系統文 :提供i自冑衛_計編卿作業系統的 其系統,使得甸服端可以透過網路連接企業内不同位置的 並且對這些不具作業系統的客戶端進行作業系統的安 = 可㈣輪裝賴_人力輸其成本。 明如τ關本發月的特徵與實作,兹配合圖示作最佳實施例詳細說 明如下。 【實施方式】 ’考第1圖」所7’其絲本發明之架構示意圖。本發 月的操作系統包括·主從式架構的词服端U0與至少一客戶端 201207732 120。每一個客戶端12〇係透過網際網路(intemet)、企業内網 (intranet)或是區域網路(Lan)連結飼服端11〇。舰端ιι〇具有複數 筆作業系統文件111與預先載入執行環境程序112。作業系統文件 111可以是Limu作業系統、麵作業系統或視窗(wind〇ws)作業 系統。預先載入執行環境(Preb00t Executi〇n Envir〇nment,ρχΕ)係 為,周路技術㈣端程式載人(RemQte program LGad,肌^)技術之延 7 ’係用於在電腦本身並無_祕’或根本沒有硬碟時透過遠 端飼服器執行開機,並使用遠端之系統,同時預先載人執行環境 也可透過遠端魏n來執行m顧程式之安裝。 客戶端120包括、網路通訊模组121與處理單元122。網路通訊 模組12!収油服端⑽建立相_鱗通訊在轉通訊模 組=中儲存内核配置程序(Gmbx㈣。其中,内核配置程序記錄 -戶端120❺機型資訊,機型資訊包含有客戶端创的處理單 X 122的麵、記紐容量、儲存單元容量期邊裝置的類型。 而處理單元122電性連接於網路通賴組如#客戶端12〇開始 運行時,處理單元122驅動網路通訊模组121向词服端ιι〇發出 作業系統索取要求。客戶端12G在取得相應的作_統文件⑴ 後始進行健祕的絲與設置。 「為翁現客戶端120自動的下載與安裝作業系統,還請參考 下圖」所示,其係為本發明之運作流程示意圖,其係包括以 步驟S210 :啟動客戶端; 201207732 步驟S22G:由客戶端向伺服轉騎«統索取要求; 步驟隊伺服端在接獲作業系統索取要求後她端傳送 預先載入執行環境程序給客戶端,用以獲取客戶 端的機型資訊; 步驟S240 :健端根據崎訊_減的刪統文件, 再將作業系統文件傳送給客戶端;以及 步驟S25G ·客戶端載人作㈣統文件,並運行作㈣統文件。 首先,啟減執行細懷_客戶端⑽。當客戶端12〇201207732 VI. Description of the invention: [Technical field to which the invention pertains] - The operating system and method of the computer device, in particular, an automatic calculation of the money on the client side (4) money recording and its method. [Prior Art] At present, with the rapid development and increasing popularity of network technology, the Internet has become the preferred tool for people to obtain information and communicate in their daily work and life. In the network, the server can be used to provide various services to the client (such as allowing or restricting access to shared resources, automatically backing up data, and accessing job data from a remote computer). In the field of server management, in some cases, the management software requires the target server to perform network startup through a preloaded execution environment or virtual media (Virtual Media) to perform certain management tasks. In order to be able to boot the server over the network, various schemes have been developed to control the startup sequence of the server. The conventional methods for controlling the startup sequence of the server are mainly as follows: The first solution: setting the target server, so that the default state of the network card is started, and then through the pre-loading execution environment. The servo program controls to determine whether to cause the target server to boot from the preloaded execution environment. The second solution: the startup sequence is changed in the operating system by the utility provided by the target server's Basic Input/Output System (BIOS). The third solution: through the management of the chip, such as the motherboard control manager (Baseboard 201207732 management e. This is the basic order of the BMQ Wei T-shirt ^ control system. The fourth program · by controlling the virtual media pointed to The remote image slot (ISO) 'changes the boot sequence of the server. Among the above four schemes, the flaw of the _ scheme is that it needs to be completely pre-loaded to execute Wei Zhicheng Qian Xing (4), (4) The shortcomings of the scheme, the third scheme and the fourth scheme are that the requirements for the hardware are higher. In short, the defects of the financial schemes of the traditional technology shots (four) are: - because the requirements for the hardware are higher, This leads to an increase in cost; secondly, due to the need to change the hardware and the system of the ship, the safety is reduced; thirdly, it is difficult to implement due to the complexity of the solution. [Invention] In view of the above problems, The main object of the invention is to provide an automatic installation system for selecting a system to be operated on a client computer for starting a computer without an operating system. 'To achieve the above purpose' The automatic installation of the operating system on the client computer includes: master-slave architecture _ server and at least one client; each client-tie end; server has multiple pen system files and pre-management The execution of the ring is difficult; the client includes the network access group and the processing unit; the network communication module is used to establish network communication related to the health terminal; the processing unit is electrically connected to the measurement channel access group; The processing unit passes through the network communication module to the ship. The ship terminal transmits the pre-201207732 loading execution environment program to the client to obtain the client-type information, and the service end is based on the model. The information is called to transmit the corresponding file (4) to the client. f. 糸,, and no file, in addition to the above-mentioned actual sample, this (4) another _ kind of automatic line for green (four) silk branch, _ start the material operation system purpose The method disclosed in the present invention automatically selects the silk method in the client terminal to select the (four) system including the town step: = the service terminal requests the operation system to request the operation after the thank-you, the Wei end transmits the preloading execution environment program. To the client, to obtain the information of the model, the ship terminal calls the corresponding operating system component according to the model information (4) the system file is transmitted to the client; the client loads the operating system text: provides i self-defense _ The system of the program operating system allows the server to connect to different locations within the enterprise through the network and to operate the operating system for these non-operating system clients. For example, the characteristics and implementation of the τ 本 发 发 , , 兹 最佳 最佳 最佳 最佳 最佳 最佳 最佳 最佳 最佳 最佳 最佳 最佳 最佳 最佳 最佳 最佳 最佳 最佳 最佳 最佳 最佳 最佳 最佳 最佳 最佳 最佳 最佳 。 。 。 。 。 。 。 。 。 。 Including the master-slave architecture of the word server U0 and at least one client 201207732 120. Each client 12 is connected through the Internet (intemet), intranet (LAN) or regional network (Lan) The service end is 11〇. The ship terminal has a plurality of pen operating system files 111 and a preloading execution environment program 112. The operating system file 111 may be a Limu operating system, a surface operating system, or a window (wind〇ws) operating system. The pre-loading execution environment (Preb00t Executi〇n Envir〇nment, ρχΕ) is the extension of the technology of the RemQte program LGad (the muscle) technology used in the computer itself. 'When there is no hard disk at all, the remote feeding device is used to boot, and the remote system is used. At the same time, the pre-loaded execution environment can also be installed through the remote Wei n program. The client 120 includes a network communication module 121 and a processing unit 122. Network communication module 12! The oil collection server (10) establishes the phase _ scale communication in the communication module = store the kernel configuration program (Gmbx (4). Among them, the kernel configuration program records - the client 120 ❺ model information, the model information contains The client creates a type of face, credit capacity, and storage unit capacity edge device of the single X 122. When the processing unit 122 is electrically connected to the network access group such as the #client 12, the processing unit 122 The driving network communication module 121 sends an operation system request request to the word service end ιι〇. The client 12G starts to perform the secret silk and setting after obtaining the corresponding file (1). "Automatically for the client 120 Downloading and installing the operating system, please also refer to the following figure, which is a schematic diagram of the operational flow of the present invention, which includes the step S210: starting the client; 201207732 Step S22G: from the client to the servo to ride the system The request server sends a preloaded execution environment program to the client to obtain the client's model information after receiving the request from the operating system; Step S240: The health end is based on the __ Delete the file, and then transfer the operating system file to the client; and step S25G · the client manned (four) file, and run as (4) file. First, start and reduce the implementation of the _ client (10). When the client 12〇
過電啟動時,處理單元122會卿職軌馳i2i向伺服端HO 發出作業线索取要求。由於值端m巾已㈣行預先載入執 行環境程序m,因此會隨時的監聽有無客戶端i2G發出作業系統 索取要求。當飼服端11〇接收到來自於客戶端12〇的作業系統索 取要求,則舰端no會傳送一個縣載入執行環境程序、U2到 網路通訊模組121。 在碟定完成接收預先載入執行環境程序112後,客戶端⑽ 才月t*開始執行内核酉£置程序並透過内核配置程序掘取客戶端1如 的各項《:贿訊。接著’網路通賴組121將峨得的機型資訊 返回給词服端11G。魏端11〇躲據機型資訊_相應的作業系 統文件m ’並將作業系統文件lu傳送給客戶端12〇。本發明中 在取得預先載入執行環境程序112.的處理過程中更包括以下步 驟’請參考「第3圖」所示,其係為本發明之客戶端12〇取得預 先载入執行環境程序112中的運作流程示意圖: 201207732 步驟S231.預先載碌行魏料將翻程序加載至客戶端 的網路通訊模組中,用以識別機型資訊; 步驟S232 :於客戶端中運行内核配置程序,根據内核配置程 序所5己載的作業系統内核的版本與下載所獲得 的作業系統文件的版本進行比對; 步驟S233 ··當内触置程序所記載的作錢_核的版本與When the power is turned on, the processing unit 122 sends a job line request request to the servo terminal HO. Since the value end m towel has been pre-loaded into the execution environment program m, it will be monitored at any time to see if the client i2G issues the operating system request. When the feeding end 11〇 receives the operating system retrieval request from the client 12〇, the terminal no transmits a county loading execution environment program, U2 to the network communication module 121. After the disc is finished receiving the preloading execution environment program 112, the client (10) starts executing the kernel program and digs out the client 1 such as the bribe through the kernel configuration program. Then, the network access group 121 returns the model information of Chad to the word server 11G. Wei Duan 11 〇 〇 机 机 机 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ In the present invention, in the process of obtaining the preloading execution environment program 112., the following steps are further included. Please refer to FIG. 3, which is a client 12 of the present invention that obtains the preloading execution environment program 112. Schematic diagram of the operation process: 201207732 Step S231. The pre-loading process will load the program into the network communication module of the client to identify the model information; Step S232: Run the kernel configuration program in the client, according to The version of the operating system kernel loaded in the kernel configuration program 5 is compared with the version of the operating system file obtained by the downloading; Step S233 · · The version of the money_nucleus recorded in the internal touch program
下載所獲得的作業系統文件的版本兩者相符 時,客戶端開始運行作業系統文件;以及 步驟S234:當⑽配置程序所記載的作㈣統内核的版本與 下載所獲得的作m統文件的版本兩者不相符 時,則將下載的作業系統文件安裝至客戶端並修 改客戶端中的内核配置程序的作業系統内核的 版本’重複執行步驟S233並將修改後的内核配 置程序返回給伺服端。 伺服端no會將預先载入執行環境程序112將識別程序加載 ^客戶端12〇的網路通訊模組⑵’並由預先載入執行環境程序 2私取得客戶端创的機型資訊。在取得機型資訊後,客戶請 ^行咖辦,㈣咖辦所記載的 «系統_驗本與下細獲得的作㈣敎件ηι的版本進 ^對在喊配置程序中記錄不_翻資料可以搭配的各項 ^統嘯_。舉例來說,若是處理單元122纖爾_1) 的17系列、記憶體容量為2 _ytes且硬碟容量為· 201207732 terabytes ’則可以對應安裝微軟公司的視窗7(Wmd_ 7)系列的作 業系統、或Linux系、列作業系統。若是處理單元122為cd_等 低處理量的處理單元122時,則指㈣酿系列的作業系統或是 微軟公司的視窗2GGG系列的作㈣統,藉以符合客戶端12〇可以 相應的作㈣統。請參考「第4圖」所示,其係為本發明之内核 配置程序中所記錄機型資訊對應作業系統之查找關係,但此為本 發明之舉例說明並非僅侷限於此。 當内核配置程序所記載的作業系統内核的版本與下載所獲得 的作業系統文件m的版本兩者相符時,客戶端m開始執行作 業系統文件111的安裝。 當内核配置程序所記載的作業系統内核的版本與下载所勸 的作業系統文件⑴的版本兩者不相符時,則將下载的作業系海 文件⑴安裝至客戶端120並修改客戶端120中的内核配_ 的作業系統内核的版本。為能因應作業系統的修正所產生的版本 差異,所以當客戶端12〇下載不同版本的作㈣統時,客戶端以 P預先執行韻版本的作㈣統,並再完成執行後將新的作業 系統的版本喃給舰端11()。她端⑽於次—回合時當接收到 相同的狀!I的軌,键端11G即可喊贿本 給客戶端12G精㈣統徒供 下進^明提供—種遠端的客戶端⑶在不具備作㈣統的狀況 下進仃運行賴作系統與方法,其係透服器m向客戶端⑼ 加载預域人執行環境程序112,藉顿_端叫目關的機型 201207732 資訊。触端UG再提供相翻健纽給客戶端⑵運行開機 用的相關程序,即可達成遠端開機的目的。 —雖」本發㈣Μ述之較佳實施例揭露如上,财並非用以限 定本=月的熟習相像技藝者,在不脫離本發明之精神和範圍 、田可作二許之更動與潤飾因此本發明之專利保護範圍須視 本說明書所附之巾請專概圍所界定者為準。 【圖式簡單說明】When the version of the obtained operating system file matches, the client starts running the operating system file; and step S234: when the (10) configuration program records the version of the kernel and the downloaded version of the system file. If the two do not match, the downloaded operating system file is installed to the client and the version of the operating system kernel of the kernel configuration program in the client is modified. Step S233 is repeated and the modified kernel configuration program is returned to the server. The server no will load the execution environment program 112 to load the recognition program into the network communication module (2)' of the client 12, and obtain the model information created by the client by the pre-loading execution environment program 2. After obtaining the model information, the customer please do the coffee shop, (4) the version of the system that is recorded in the system and the book obtained in the next (4) η η 进 对 在 在 在 在 在 在 在 在 在Can be matched with the various ^ xiao _. For example, if the 17 series of the processing unit 122, the memory capacity is 2 _ytes, and the hard disk capacity is · 201207732 terabytes ', the operating system of the Windows 7 (Wmd_ 7) series of Microsoft can be installed. Or Linux system, column operating system. If the processing unit 122 is a low-processing processing unit 122 such as cd_, it refers to the operating system of the (four) brewing series or the working system of the Windows 2GGG series of Microsoft Corporation, so as to conform to the client 12 〇 can be correspondingly performed (four) . Please refer to FIG. 4, which is a search relationship of the model information corresponding to the operating system recorded in the kernel configuration program of the present invention, but the illustration of the present invention is not limited thereto. When the version of the operating system kernel recorded in the kernel configuration program matches both the version of the operating system file m obtained by the download, the client m starts the installation of the job system file 111. When the version of the operating system kernel recorded in the kernel configuration program does not match the version of the operating system file (1) that is downloaded, the downloaded operating system sea file (1) is installed to the client 120 and the client 120 is modified. The kernel is equipped with the version of the operating system kernel. In order to be able to respond to the version differences caused by the correction of the operating system, when the client 12 downloads the different versions of the system (four), the client pre-executes the rhyme version (four), and then completes the new job after the execution. The version of the system is given to the ship terminal 11 (). Her end (10) received the same shape during the second round! I track, the key end 11G can call the bribe to the client 12G fine (four) the general offer for the next ^ ^ provide a kind of remote client (3) in the absence of the (four) system to enter the operating system and The method is that the server m loads the pre-domain person execution environment program 112 to the client (9), and borrows the model 201207732 information of the target. The touch terminal UG provides the relevant program for running the boot (#) to the client (2) to achieve the purpose of remote booting. - Although the preferred embodiment of the present invention is disclosed above, the money is not intended to limit the familiarity of the present invention. Without departing from the spirit and scope of the present invention, Tian Ke made two changes and refinements. The scope of patent protection of the invention shall be subject to the definition of the towel attached to this manual. [Simple description of the map]
第1圖係為本發明之架構示意圖。 第2圖係為本發明之運作絲示意圖。 第3圖係為本發明之客戶端取得預先載入執行環境程序中的 運作流程示意圖。 第4圖係為本發明之内核配置程序中所記錄機型資訊對應作 業系統之查找關係圖。 【主要元件符號說明】 伺服端110 作業系統文件111 預先载入執行環境程序112 客戶端120 網路通訊模組121 處理單元122 11Figure 1 is a schematic diagram of the architecture of the present invention. Figure 2 is a schematic view of the operation of the present invention. Figure 3 is a schematic diagram of the operational flow of the client in the pre-loading execution environment program of the present invention. Fig. 4 is a search relationship diagram of the model corresponding to the job system recorded in the kernel configuration program of the present invention. [Description of main component symbols] Servo terminal 110 Operating system file 111 Preloaded execution environment program 112 Client 120 Network communication module 121 Processing unit 122 11