TW201214282A - Method and system for running virtual machine image - Google Patents

Method and system for running virtual machine image Download PDF

Info

Publication number
TW201214282A
TW201214282A TW99132672A TW99132672A TW201214282A TW 201214282 A TW201214282 A TW 201214282A TW 99132672 A TW99132672 A TW 99132672A TW 99132672 A TW99132672 A TW 99132672A TW 201214282 A TW201214282 A TW 201214282A
Authority
TW
Taiwan
Prior art keywords
virtual machine
file
image
host
request
Prior art date
Application number
TW99132672A
Other languages
Chinese (zh)
Inventor
Jie Yang
Xiao Zhong
Ying Li
Jie Qiu
Original Assignee
Ibm
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 Ibm filed Critical Ibm
Priority to TW99132672A priority Critical patent/TW201214282A/en
Publication of TW201214282A publication Critical patent/TW201214282A/en

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides a method and system for running virtual machine image in a host, where the method including: receiving a virtual machine image provisioning request; sending to a storage server a request of copying virtual machine image related to the virtual machine image provisioning request; receiving a portion of the virtual machine image, the portion of the virtual machine image comprising at least operating system kernel, partition information and file index information; starting virtual machine in the host by running the received portion of the virtual machine image; intercepting file operation request of a program running in the virtual machine; acquiring file related to the file operation request. With the invention, since only a portion of virtual machine image which is relatively small needs to be transmitted to run program normally, occupation of network bandwidth is significantly reduced. Meanwhile, since the copying of file is driven by application, only necessary file needs to be copied from virtual machine image of the storage server, thereby greatly reducing the occupation of network bandwidth.

Description

201214282 六、發明說明: 【發明所屬之技術領域】 本發明係關於雲端計算。特定言之,本發明係關於用於 在雲端計算中執行虛擬機器影像之方法及系統。 【先前技術】 藉由依賴於強大的計算能力,雲端計算使得數以千計的 終端使用者能夠在不擔憂所使用之計算技術、存取方式等 之隋况下有效利用、經由網路連接在__起的^計算能力。在 雲端計算中’#由服務來提供叫算能力。虛擬化技術為 -種在雲端計算巾廣泛使用之技術。在—現有雲端計算架 ::虛擬機器通常用以為使用者提供服務。在雲端計算 〇兄中執订虛擬機器需要執行虛擬機器影像檔案,且該虛 擬機器影像㈣通常包括作業系统、所安裝之應用程式及 可用之磁碟空間。通常’ 一較小虛擬機器影像棺案為4仙 車乂大虛擬機器影像檔案可為數百GB,例如, TPM之影像檔案為大約1 00 GB。 ^先讀術中,為執行—虛擬機器,—般需要將整個 (包括作業系统、所安裝之應用程式 二之磁碟空間)自一存放飼服器複製至一主機,並接 2擬:器影像標案啟動該虛擬機器。在啟動該虛擬機 ’“用程式在4虛擬機器上執行。若該虛擬機器影 Γ!:資料在執行期間改變’則在該虛擬機器停止 ㈣之虛《㈣像檔案保存回至該存放 服态。 I507I2.doc 201214282 身又而0 m器叢集將執行許多主機(亦即,在带 端中t服務器),且每一主機可執行許多虛擬機器。如I 2所提及’為執行—虛擬機器,需要將整個虛擬機器之影 像槽案自-存放飼服器複製至—主機。由於一相對小的虛 擬機器影像槽宰·— is- >1 D 7- ^ 般為,力4邱至5仙,因此對虛擬機器影 像檔案之複製將消耗大|银J & ^耗大里,满路頻寬。…夺,在該虛擬機器 止之後亦需要將整個改變之虛擬機器影像播案保存回至 。亥存放伺服器,此儲存程序m肖耗大量網路。 【發明内容】 因此’需要—種用於在此項技術中之雲端計算中執行虛 擬機器影像之改良的方法及系統。 根,本發明之一態樣,提供一種用於在一主機中執行虛 =機裔:像之方法’其包括··接收一虛擬機器影像供應請 將稷製與該虛擬機器影像供應請求相關的虛擬機器聲 =之一請求發送至-存放飼服器;接收該虛擬機㈣像之乂 :部分,該虛擬機器影像之該部分至少包含作業系統核 〜、分割區資訊及樓案索引資訊;藉由執行該虛擬機器影 像之”亥所接收部分而在該主機中啟動虛擬機器;截取在該 虛擬機器中執行的一程式之棺案操作請求;將複製與該檔 案操作請求相關的槽案之-請求發送至該存放飼服器;接 收與該檔案操作請求相關的該檔案。 根據本發明之另一態樣,提供一種用於在一主機中執行 虛擬機器影像之方法,其包括:接收由該主機所發送之複 製與虛擬機@影像供應請求相關的虛擬機器影像之—請 150712.doc 201214282 ==機器影像之一部分發送至該主機,該虛擬機 _ "w 刀至少包含作業系統核心、分割區資訊及檔 …、引資訊’·接收由該主機所發送之複製與播案操作請求 相關的檔案之―嗜书.政# 。月求,將與该核案操作請求相關的該檔案 發送至該主機^ 〃 根據本發明之另—能媒 I方態樣’ k供-㈣於在—主機令執行 虛擬機器影儍$糸# 像之糸統,#包括:—影像載人器,其用於: 接收一虛擬機器影像供應請求;請求一存放飼服器複製與 該虛擬機器影像供應請求相關之虛擬機器影像;接收該虛 擬機器影像之-部分’該虛擬機器影像之該部分至少包含 作業系統核心、分割區資訊及檔案索引資訊;及藉由執行 ,虛擬機器影像之該所接收部分而在該主機中啟動虛擬機 器;-應用程式載入器,其用於:截取在該虛擬機器中執 行的-程式之槽案操作請求;請求該存放飼服器複製與該 播案操作請求相關的檔案;及接收與該檔案操作請求相關 的該檔案。 根據本發明之另-態樣,提供—種用於在—主機中執行 虛擬機器影像之系統’其包括:一影像訪問器,其用於: 接收由該主機所發送之複製與—虛擬機器影像供應請求相 關的虛擬機器影像之一請求;將該虛擬機器影像之一部分 發送至s亥主機,該虛擬機器影像之該部分至少包含作業系 統核心、分割區資訊及檔f索引資訊;接收由該主機所發 送之複製與檔案操作請求相關的檔案之一請求;將與該檔 案操作清求相關的该檀案發送至該主機。 150712.doc Λ 201214282 藉由本發明,由於最初僅需要傳輸虛擬機器影像之一相 寺】的为’因此對網路頻寬的佔用顯著降低。同時,由 於在本發明中,藉由應用程式驅動檔案之複製,因此將僅 將必要樓案自遠存放伺服器進行複製’藉此大大降低對網 路頻寬的佔用。 【實施方式】 可藉由結合參看以下圖式之描述而更好地理解本發明, /、中相同或類似參考數字遍及圖式表示相同或類似組件。 »亥等圖式含於該描述中並連同以下實施方式構成該描述之 邛分,且用以說明本發明之較佳實施例並解釋本發明之 重要性及優點。 下文結合隨附圖式描述本發明之說明性實施例。出於清 晰及簡明之㈣,在此說明書中並未對實際實施之所有特 徵進仃描述。然而’將瞭解,在任何此實際實施例之開發 過程中,應進行眾多特定實施決策以達成開發者的特定目 標’諸如順應系統相關及商t相關的約束,其可在不同實 &間變化。此外’將瞭解’儘管此開發努力可能係複雜且 耗時的,但對具有本發明之益處的一般熟習此項技術者而 言此係例行工作。 、主此處’應注意,為避免由不必要之細節使本發明模糊不 清’僅在該㈣式中說明與本發明之解決方案緊密關聯之 構件結構及處理程序步驟,且幾乎與本發明無關 々々、1 I、· ’、L細 即破省略。 在工作期間,本發明之發明者發現,在許多時候,執行 150712.doc 201214282 一應用程式僅需要一虛擬樓g 恢機盗影像中之檔案的一部分,例 如根據%知方法,在執行Apache之同時僅需要大約⑽ MB之檔案’然而,為執行Αρ_,必須經由網路將大約 為4 GB至5 GB之整個虛擬機器影像複製至_主機,藉此導 致大量網路頻寬浪費。使用太 疋用本發明之方法,經由網路複製 執行Apache所需之僅約1〇〇 Mr MB之檔案,藉此大大降低網 路頻寬消耗。基於以上内容太 Π令本發明之發明者發明了本發 明。 見參看圖1,其中展不根據本發明之一實施例的用於在 一主機中執行虛擬機器影像之系㈣G。根據本發明之一 實施例’用於執行虛擬機器影像之系統i⑽包括—影像訪 問益1〇2、-影像載入器104、_應用程式載入器_及— 影像同步器108。或者’用於執行虛擬機器影像之系統100 包括兩個子系統,其中位於存放词服器中之影像訪問器 102構成一词服器子系統,且位於主機中及位於在該主機 中執行的虛擬機器中之影像载人器⑽、應用程式載入器 106及影像同步器i08構成一主機子系統。 構成該㈣ϋ子系統之影像訪問器102位於存放祠服器 處:。且包括一影像轉換器、一影像索引器及-影像檔案訪 :。本文中該衫像轉換器用以將一原始虛擬機器影像 轉換成虛擬機Ilf彡像之-部分。虛擬㈣影像之該部分至 少包括作業系統核心、分割區資訊及檔案索引資訊。該影 像索弓I Is用以產生用以在—虛擬機器影像中定位權案之標 …、引資Λ 1¾影像轉換器首先藉由分析該虛擬機器影像 150712.doc 201214282 而,取作業系統心及分龍資訊,接著結合由該影像索 引益所產生之檔案索引貧訊而產生虛擬機器影像之一部 分。可藉由此項技術中之任何方式來實施獲取作#系統核 心及分割區資tfl、產线案索引資訊及產生虛擬機器影像 之一部分之處理程序,且為簡要起見將不對其進行描述。 可離線實施影像轉換ϋ及影像*引器之以上處理程序且 亦可動態實施影像轉換器及影像索引器之以上處理程序。 幸父佳地’可提前離線準備虛擬機器影像之該部分。該影像 轉換器亦可將應用程式載入程式瑪嵌入至虛擬機器影像之 6亥部分中,以與位於在該主機中執行的虛擬機器中之應用 知式載入器106通信。 該影像檔案訪問器用以接收自位於在—主機中執行的虛 擬機器中之應用程式載入器106所發出之檔案讀取請求, 讀取在虛擬機器影像中之檔案,並作為回應將其傳回至該 應用程式載入器1〇6,且該影像檔案訪問器亦用以接收由 位於-主機中的影像同步器108所發送之更新檔案,並更 新一存放伺服器中之虛擬機器影像。 下文將摇述構成該主機子系統之影像載人器iG4'應用 程^載人HH)6及影像同步㈣8。位於—主機中之影像載 1㈣以載人(亦即,自存放伺服器複製)由該影像轉換 :所產生之虛擬機器影像的該部分。在虛擬機器影像的該 部分被載人之後’影像載人器1G4基於在虛擬機器影像的 亥^刀中之分龍資訊及檔案索引f訊而使虛擬機器影像 X卩刀具現化,且該具現化處理程序類似於由超管理器 I50712.doc 201214282 所執行之處理程序,為簡要起見將不對其進行描述。位於 在一主機中執行的虛擬機器中之應用程式載入器1〇6包括 一槽案搁截程序(file h00k)及一本端影像訪問器(Id mage vistor)。本文中,該檔案攔截程序用以截取一在虛 擬機器(在—主機中執行)中執行之程式的㈣操作請求, 並將其發送至該本端影像訪問器。該本端影像訪問器接收 2該棺案攔截程序所截取之檔案操作請求,檢查在虛擬機 益影像之該經具現化的部分中之分割區資訊及檔案索引資 訊,判定與該檔案操作請求相關的檔案是否位於在該主機 中執行的虛擬機器中之本端資料中。若與該權案操作請求 相關的檔案位於該本端資料中,則經由一檀案操作應用程 式介面趟讀取對應檔案。若與該檔案操作請求相關的檔 案不位於在該主機中執行的虛擬機器中之本端資料中,則 將-檔案讀取請求發送至位於存放伺服^巾㈣像訪問器 102中之影像檔案訪問n ’由該影像檔案訪問器所傳回之 含有與該檔案操作相關的檔案之回應被接收,且在該回應 中所傳回的與該槽案操作相關之檔案經由播案操作應隸 式介面趟而儲存於本端資料中。本端影像訪問器亦用以 遞增地(亦即,索引遞增)記錄由檔案操作所進行之檔案索 引資訊改變。位於一主機中之影像同步器108用以讀取由 該本端影像訪問器所記錄之檔案索引資訊改變,藉由使用 該改變之檔案索?丨資訊而讀取在本端資料中之經更新的檔 案’並將該經更新的檔案發送至位於存放飼服器之影像訪 問器102中之衫像;^案訪問器以更新在該存放飼服器中的 I507I2.doc 201214282 虛擬機器影像。 下文將詳細描述位於在一主機中執行的虛擬機器中之應 用程式载入器1〇6中的檔案攔截程序及本端影像訪問器之 處理程序。可藉由此項技術中之任何方式來實施該楷案勾 點,且為簡要起見將不對其進行描述。 當應用程式載入器106接收到在一主機中執行的程式之 楷案插作請求時,在庳用主。斗、 切人器1G6中之槽案攔截 程序截取該檔案操作請求。對於不同的標案操作請求,該 ==程序與該本端影像訪問器合作以分別執行對應處 若該檔案操作請求為一稽案開啟請求(亦即該 ==獲取檔案資訊),則該標案攔截程序截心二 “:取t將其發达至該本端影像訪問器。該本端影像訪 = :::區資訊及槽案索引資訊,且該檀案索引資訊 瓜為彳S案分配表。續太0 p 衣。玄本编影像訪問器讀取在該檔荦 資訊中之檔案描述符茱索引 路徑、播案存取權限等==如對應擋案名稱、播案儲存 4之資矾,且該檔案開啟操作結束。 库Γ檔案操作請求為-檔案讀取請求,則該樓案搁截程 2㈣㈣讀取請求並將其發送至該本端料訪問写。 该本W像訪問器在本端索引中搜尋與該檔案讀取請^相 關的槽案之對應檔案資訊;若係第 請求相關的槽案,亦即 ㈣5貝取 引中,則嗲本γ &栳 、‘心虽案貝汛不存在於該本端索 …入 像訪問器經由-樓案攔截程序將槽案a 取3月未發送至位於存放伺服器之影像訪問器⑽中的影; 150712.doc 201214282 檔案訪問器。在接收由該影像檔案訪問器所傳回之含有與 該檔案讀取請求相關的檔案的一回應之後,與該檔案讀取 請求相關之槽案的對應檔案資訊記錄在本端索引中,且在 。玄回應中所傳回之與該檔案讀取請求相關的檔案經由樓案 操作應用程式介面API而儲存在本端資料中。若在該本端 影像訪問器在該本㈣;丨+搜尋與㈣取請求相關之 權案的對應棺案資訊之後,判定並非第—次讀取與該播案 讀取請求相關的檔案,亦即,對應樓案資訊已存在於該本 端索引中,則該本端影像訪問器根據儲存於該本端索引中 之對應檔案資訊經由檔案操作應用程式介面API直接自本 端資料讀取該相關樓案。 ^該㈣操作請求為—檔案建立請求,則該檔案搁截程 •取4檔案建立睛求並將其發送至該本端影像訪問器。 該本端影像訪問器首先讀取分割區資訊及檔案索引資訊, =免待由該檔案建立請求所建立之檔案名稱與在現有權 稱重複。該槽案㈣資訊_般 為植案为配表。若不存在重葙 訪問器經由一檔宰攔截浐序年§/、,則3亥本端影像 奸^心 錄在本端“丨中之所建立的 案^並㈣該㈣操作應用程式介而 API而建立一具有待在本 I面 〜料中建立之名稱的新檔荦。 若該棺案操作請求為一檔案寫入請求,則該槽案摘 :二該檔案寫入請求並將其發送至該本端影像訪問,: 以本W像㈣器經由檔案操作應用程式介面》 該檔案寫入請求相關的_ 將與 又又冩入至本端資料中。若 1507l2.doc201214282 VI. Description of the Invention: [Technical Field to Which the Invention Is Ascribed] The present invention relates to cloud computing. In particular, the present invention relates to methods and systems for executing virtual machine images in cloud computing. [Prior Art] By relying on powerful computing power, cloud computing enables thousands of end users to effectively use and connect via the Internet without worrying about the computing technology and access methods used. __ from the ^ computing power. In the cloud computing, the service is provided by the service. Virtualization technology is a technology widely used in cloud computing towels. In-the existing cloud computing shelf: The virtual machine is usually used to provide services to users. In the cloud computing, the virtual machine needs to execute the virtual machine image file, and the virtual machine image (4) usually includes the operating system, the installed application and the available disk space. Usually, a small virtual machine image file is 4 cents. The virtual machine image file can be hundreds of GB. For example, the TPM image file is about 100 GB. ^ In the first reading, in order to execute - virtual machine, it is necessary to copy the entire (including the operating system, the installed application disk space) from a storage device to a host, and connect to the image: The standard starts the virtual machine. When the virtual machine is started, 'the program is executed on the 4 virtual machine. If the virtual machine is affected!: The data is changed during execution', then the virtual machine stops (4) and the virtual file (4) is saved back to the storage service state. I507I2.doc 201214282 and the 0 m cluster will execute many hosts (that is, the t server in the tape end), and each host can execute many virtual machines. As mentioned in I 2 'for execution - virtual machine The image of the entire virtual machine needs to be copied from the storage device to the host. Because a relatively small virtual machine image is slaughtered, is- >1 D 7- ^ is the same, force 4 Qiu to 5 Xian, so the copy of the virtual machine image file will consume large | silver J & ^ consumption, full bandwidth. ..., after the virtual machine also needs to save the entire changed virtual machine video broadcast back to The storage server stores a large amount of network. [Summary] Therefore, there is a need for a method and system for performing virtual machine image improvement in cloud computing in the prior art. One aspect of invention Providing a virtual machine sound for performing a virtual machine in a host: a method of receiving a virtual machine image supply, and a virtual machine sound associated with the virtual machine image supply request = one request to send To - store the feeding device; receive the virtual machine (4) image: part, the portion of the virtual machine image includes at least the operating system core ~, the partition information and the building index information; by executing the virtual machine image" Receiving a virtual machine in the host; intercepting a file operation request executed by the program in the virtual machine; and transmitting a request for copying the slot associated with the file operation request to the storage server Receiving the file associated with the file operation request. According to another aspect of the present invention, a method for executing a virtual machine image in a host includes: receiving a virtual machine image associated with a virtual machine@image supply request sent by the host - please 150712.doc 201214282 == One part of the machine image is sent to the host. The virtual machine _ "w knife contains at least the operating system core, partition information and files..., the information '· receives the copy and broadcast sent by the host The file operation related to the file---Books. According to the present invention, the file related to the nuclear operation request is sent to the host. According to the present invention, the other party can perform the virtual machine shadow. #糸# The image includes: an image carrier for: receiving a virtual machine image supply request; requesting a storage server to copy a virtual machine image related to the virtual machine image supply request; receiving the virtual machine The image-partial portion of the virtual machine image includes at least an operating system core, partition information, and file index information; and the virtual machine is launched in the host by executing the received portion of the virtual machine image; a program loader for: intercepting a program operation request executed in the virtual machine; requesting the storage server to copy a file related to the broadcast operation request; and receiving a request related to the file operation request The file. According to another aspect of the present invention, a system for executing a virtual machine image in a host is provided, which includes: an image accessor for: receiving a copy and a virtual machine image transmitted by the host Supplying a request for one of the virtual machine images related to the request; sending a portion of the virtual machine image to the host of the virtual machine, the portion of the virtual machine image including at least the operating system core, the partition information, and the file index information; receiving by the host The transmitted copy requests one of the files associated with the file operation request; the Tan file associated with the file operation request is sent to the host. 150712.doc Λ 201214282 By the present invention, since only one of the virtual machine images is initially transmitted, the occupancy of the network bandwidth is significantly reduced. At the same time, since in the present invention, the application is driven to copy the file, only the necessary files will be copied from the remote storage server, thereby greatly reducing the occupation of the network bandwidth. The invention may be better understood by reference to the following description of the drawings, wherein the same or similar reference numerals represent the same or similar components throughout the drawings. The drawings, which are included in the description, are intended to be illustrative of the preferred embodiments of the invention Illustrative embodiments of the invention are described below in conjunction with the drawings. For the sake of clarity and conciseness (4), all features of the actual implementation are not described in this specification. However, it will be appreciated that in the development of any such actual embodiment, numerous specific implementation decisions should be made to achieve a developer's specific goals, such as compliance with system-related and quotient-related constraints, which may vary between different realities. . In addition, it will be understood that although this development effort may be complex and time consuming, it is a routine practice for those of ordinary skill in the art having the benefit of the present invention. Here, it should be noted that in order to avoid obscuring the present invention by unnecessary details, the component structure and processing procedure steps closely related to the solution of the present invention are explained only in the formula (4), and almost the present invention Irrelevant 々々, 1 I, · ', L is broken and omitted. During the work, the inventors of the present invention found that, in many cases, executing an application 150712.doc 201214282 requires only a virtual building to recover a portion of the file in the image, for example, according to the % method, while executing Apache. Only about (10) MB of files are required. However, in order to execute Αρ_, the entire virtual machine image of about 4 GB to 5 GB must be copied to the _host via the network, thereby causing a large amount of network bandwidth waste. Using the method of the present invention, copying only about 1 〇〇 Mr MB file required to execute Apache via the network, thereby greatly reducing the bandwidth consumption of the network. The inventors of the present invention have invented the present invention based on the above. Referring to Fig. 1, there is shown a system (4) G for performing virtual machine imagery in a host in accordance with an embodiment of the present invention. The system i (10) for executing virtual machine images in accordance with an embodiment of the present invention includes an image access device 1, a video loader 104, an application loader, and an image synchronizer 108. Or the system 100 for executing a virtual machine image includes two subsystems, wherein the image accessor 102 located in the word server constitutes a word server subsystem, and is located in the host and located in the virtual machine executed in the host. The image carrier (10), the application loader 106 and the image synchronizer i08 in the machine form a host subsystem. The image accessor 102 constituting the (four) ϋ subsystem is located at the storage server:. And includes an image converter, an image indexer and - image file access:. In this paper, the shirt image converter is used to convert an original virtual machine image into a part of the virtual machine Ilf image. The portion of the virtual (four) image includes at least the operating system core, partition information, and file index information. The image cable I Is used to generate a target for locating a rights in the virtual machine image, and the image converter first takes the operation system heart and points by analyzing the virtual machine image 150712.doc 201214282 Dragon Information, in turn, combines a portion of the virtual machine image with the file indexing information generated by the image index. The process of obtaining the system core and partition information tfl, the production line index information, and generating a portion of the virtual machine image can be implemented by any means in the art, and will not be described for the sake of brevity. The above processing procedures of image conversion and image* can be performed offline and the above processing programs of image converter and image indexer can be dynamically implemented. Fortunately, you can prepare this part of the virtual machine image offline in advance. The image converter can also embed an application loader into the virtual machine image to communicate with the application knower loader 106 located in the virtual machine executing in the host. The image file accessor is configured to receive a file read request from an application loader 106 located in a virtual machine executing in the host, read the file in the virtual machine image, and send it back in response To the application loader 1〇6, the image file accessor is also configured to receive the update file sent by the image synchronizer 108 located in the host, and update a virtual machine image stored in the server. The image carrier iG4' application ^HH6 and image sync (4) 8 constituting the host subsystem will be described below. The image carrier located in the host computer (1) is converted by the image (ie, copied from the storage server) by the image: the portion of the virtual machine image produced. After the part of the virtual machine image is loaded, the image manipulator 1G4 makes the virtual machine image X卩 tool appear based on the information of the dragon and the file index in the virtual machine image, and the present is present. The handler is similar to the handler executed by HyperManager I50712.doc 201214282 and will not be described for the sake of brevity. The application loader 1〇6 located in the virtual machine executing in a host includes a slot filer (file h00k) and an end image accessor (Id mage vistor). In this paper, the file interception program is used to intercept a (four) operation request of a program executed in a virtual machine (executed in the host) and send it to the local image accessor. The local image accessor receives the file operation request intercepted by the file interception program, checks the segment information and the file index information in the customized portion of the virtual machine image, and determines that the file operation request is related to the file operation request. Whether the file is located in the local data in the virtual machine executed in the host. If the file associated with the claim operation request is located in the local data, the corresponding file is read via the application interface of the application. If the file associated with the file operation request is not located in the local data in the virtual machine executed in the host, the file read request is sent to the image file access located in the storage server (4) image accessor 102. n 'The response returned by the image file accessor containing the file associated with the file operation is received, and the file related to the operation of the slot returned in the response is sent through the broadcast operation interface It is stored in the local data. The local image accessor is also used to incrementally (i.e., index increment) record the file index information changes made by the file operation. The image synchronizer 108 located in a host computer is configured to read the file index information change recorded by the local image accessor, and read the updated information in the local data by using the changed file information. The file 'sends the updated file to the shirt image stored in the image accessor 102 of the food server; the file accessor updates the I507I2.doc 201214282 virtual machine image in the storage server. The file interception program and the processing program of the local image accessor in the application loader 1-6 in the virtual machine executed in a host will be described in detail below. The file hook can be implemented by any means in the art and will not be described for the sake of brevity. When the application loader 106 receives a file insertion request for a program executed in a host, the master is used. The slot interception program in the bucket and cutter 1G6 intercepts the file operation request. For different standard operation requests, the == program cooperates with the local image accessor to respectively perform the corresponding correspondence, if the file operation request is a case open request (that is, the == obtain file information), then the target The interception procedure intercepts the heart two": Take t to develop it to the local image accessor. The local image visit = ::: district information and slot index information, and the Tan file index information is 彳S case Assignment table. Continued too 0 p clothing. Xuanben video accessor reads the file descriptor in the file information, index path, broadcast access rights, etc. == such as the corresponding file name, broadcast case storage 4 Resource, and the file open operation ends. The library file operation request is - file read request, then the project is intercepted 2 (four) (four) read request and sent to the local material access write. The W image access In the local index, search for the corresponding file information of the slot related to the file read request; if the request is related to the slot case, that is, (4) 5 Bay, the γ γ & 栳, 'heart though Case Bellow does not exist in the local cable... into the accessor via the - building case interception The sequence of the slot a is not sent to the image storage device (10) located in the server in March; 150712.doc 201214282 file accessor. The received file returned by the image file accessor contains the file and the file is read. After requesting a response of the related file, the corresponding file information of the slot related to the file reading request is recorded in the local index, and the file related to the file reading request returned in the Xuan response is via The application operation interface API is stored in the local data. If the local image accessor is in the book (4); 丨 + search and (4) the corresponding file information related to the request, the judgment is not the first - Reading the file related to the broadcast request, that is, the corresponding image information is already in the local index, and the local image accessor is based on the corresponding file information stored in the local index. The file operation application interface API directly reads the relevant project from the local data. ^ The (4) operation request is - file creation request, then the file is intercepted. 4 files are created and sent to The local image accessor first reads the segment information and the file index information, and the file name created by the file creation request is duplicated with the existing right name. The slot case (four) information _ For the case of the planting case, if there is no duplicate accessor through the blockade of the interception of the order year §/, then the 3 liters of the local image of the film is recorded in the local "the case established in the middle of the ^ and (4) The (4) operating application and the API establish a new file with the name to be established in the material. If the file operation request is a file write request, the slot file is extracted: the file write request is sent to the local image access, and the W image (application) interface is accessed through the file. The file associated with the file write request will be merged into the local data. If 1507l2.doc

S 12 201214282 案寫入:求相關之檔案的對應槽案資訊改變,則該 ^ 家y中5己錄與該檔案寫入請求相 關之播案的對應檔案資訊之改變。 =案操作被執行之後,該本端影像訪問器遞增地記錄 田案索引資訊之改變,位於該主機中之影像同步器順賣 取由該本端影像訪問器所記錄之權案㈣資訊之改變,藉 由使用改變之檔案索引資訊讀取在本端資料中之經更新的 棺案,並將經更新的檔案發送至位於存放伺服器之影像訪 問益H)2中之影像槽案訪問器以更新在該存放祠服器中 虛擬機器影像。 根據本發明之-實施例,提供—㈣於在—主機中執行 虛擬機器影像之系統,其包括:—影像載入器1〇4,其用 於:接收-虛擬機器影像供應請求;請求一存放词服器複 製與該心疑機器影像供應請求相關的虛擬機器影像;接收 虛擬機器影像之-部分,虛擬機器影像之該部分至少包含 作業系統核心'分割區資訊及播案索引資訊;及藉由執行 ,虛擬機n影像之該所接收部分而在該主機中啟動虛擬Z 器;一應用程式載入器106 ’其用於:截取在該虛擬機器 中執行的程式之檔案操作請求;及請求該存放词服器複製 與該檔案操作請求相_的檔案;及接收與該樓案操作請求 相關的檔案。視情況,該用於執行虛擬機器影像之系統進 一步包括二影像同步器1〇8 ’其用於:若在該主機中執 行的虛擬機器影像中之資料已改變,則發送改變之資料以 更新在該存放伺服器中之虛擬機器影像。 150712.doc 13 201214282 根據本發明之一實施例’提供一種用於在一主機中執行 虛擬機器影像之系統,其包括:_影像訪問器⑽,皇用 於:接收由該主機所發送之複製與_虛擬機器影像供應請 求相關的虛擬機n影像之-請求;將該虛擬機器影像之_ 部分發送至該主機,該虛擬機器影像之該部分至少包含作 業系統核心、分割區資訊及檔案索引資訊;接收由該主機 所發送之複製與檔案操作請求相關的檔案之一請求;將與 該檔案操作請求相關的樓案發送至該主機。其中,該影像 訪問器進-步包括:一影像檔案訪問器,#用於接收在該 主機中執行之虛擬機器影像t之改變的資料,及藉由該改 變的資料更新該虛擬機器影像。視情況,該用於執行虛擬 機器影像之系統進-步包括:一影像索引器,其用於產生 檔案索引資訊影像轉換器’其用於藉由使用由該影像 索引器所產生之该擋案索引資訊而產生虛擬機器影像之一 部分。 現參看圖2,其中展示根據本發明之一實施例之用於在 一主機中執行虛擬機器影像之方法的流程圖。根據本發明 之一貫施例,該用於在一主機中執行虛擬機器影像之方法 200自步驟202開始。接下來,在步驟2〇4中,一主機接收 一虛擬機器影像供應請求;接著,在步驟200中,該主機 將複製與s玄虛擬機器影像供應請求相關之虛擬機器影像之 一請求發送至一存放伺服器;接下來,在步驟2〇8中,該 主機接收該虛擬機器影像之一部分,該虛擬機器影像之該 4刀至少包含作業系統核心、分割區資訊及槽案索引資 150712.doc 201214282 下來’在步驟21。中’藉由執行該虛擬機器影像之 仙2收部分而在該主機中啟動虛擬機器;接下來,在步 。…’ 5亥主機戴取在該虛擬機器令執行的程式之樓案 :作接下來’在步驟214中,1亥主機獲取與該檔案 =相關的檔案°此外’該•執行虛擬機器影像之 =進-步包括:若在該主機中執行之虛擬機器影像 之育料在執行虛擬機器期間改變,則在步驟216中,將 =的資料發送至該存放舰器以更新該虛擬機器影像。 者’根據本發明之該實施例之該方法200在步驟218中结 束。 ^卜田接收到一檔案操作請求時,根據本發明之該實 把例的該方法2 G 〇分別執行關於不同檔⑽作請求之 處理程序。 〜 若該擋案操作請求為一檔案開啟請求(亦即,該棺案請 ^僅需要獲取檔案資訊)’則讀取分割區資訊及檔案索引 資訊’獲取諸如對應槽案名稱、槽案儲存路徑、樓案存取 權限等之資訊,且該檔案開啟操作結束。 2該檔案操作請求為—檀㈣取請求,則在本端索引中 搜寸與4檔案讀取請求相關的擋案之對應檔案資訊;若係 第人凟取與該檔案讀取請求相關的檔案,亦即,對應檔 案資訊不存在於該本端索引中,則將檔案讀取請求發送至 存放伺服S。在接收含有與該樓案讀取請求相關的標案之 1傳回之回應之後,與該檔案讀取請求相關的檔案之對 應權案賴記錄於該本端索?丨巾,且在喊巾所傳回之與 I50712.doc 15 201214282 該檔案讀取請求相關的檔案經由一檔案操作應用程式介面 API而儲存在本端資料中。若在該本端索引中搜尋與該檔 案讀取請求相關的檔案之對應檔案資訊之後,判定並非第 一次讀取與該檔案讀取請求相關的擋案,亦即,對應樓案 資訊已存在於該本端索引中,則根據儲存在本端索引中之 對應檔案資訊經由檔案操作應用程式介面Αρι直接自該本 端資料讀取該相關檔案。 若該檔案操作請求為—檔案建立請求,則首先讀取分割 區資訊及檔案索引資訊,以避免待由該檔案建立請求建立 之檔案名稱與在現有槽案索引資訊中存在之檔案名稱重 複。若不存在重複的槽案名稱 應檔案資訊記錄在本端索引中 介面API在本端資料中建立一 案。 ,則將所建立之新檔案的對 ,且經由檔案操作應用程式 具有待建立之名稱的新檔 若該檔案操作請求為-檔案寫人請求,則經由檔案操作 應用程式介面紐而將與該權案寫入請求相關之擋案的改 變寫入至本端資料中。若與該播案寫入請求相關之檔案的 對應槽案資訊改變’則亦將與該檀案寫入請求相關之播案 的對應檔案資訊之改變記錄在該本端索引中。 在檔案#作被執行之後,遞增地記錄檔案索引資气之改 變°藉由使用該改變之㈣索引資訊讀取在本端資料中之 經更新的㈣,且將該經更新的㈣發送至該存放伺服器 以更新在該存㈣服器中之虛擬機H影^ ° 現參看圖3,其中展不根據本發明之另—實施例之用於 1507l2.doc 201214282 在一主機中執行虛擬機器影像之方法的流程圖3 〇 〇。根據 本發明之另一實施例,該用於在一主機中執行虛擬機器影 像之方法300自步驟302開始。接下來,在步驟3〇4中,接 收由該主機所發送之複製與一虛擬機器影像供應請求相關 的虛擬機器影像之一請求;接著,在步驟3〇6中將該虛 擬機器影像之一部分發送至該主機,該虛擬機器影像之該 4刀至少包含作業系統核心、分割區資訊及檔案索引資 δίΐ,接下來,在步驟3〇8中,接收由該主機所發送之複製 與檔案操作請求相關的檔案之一請求;接下來,在步驟 3 10 t,將與該檔案操作請求相關的檔案發送至該主機。 接著’根據本發明之該實施例之該方法3〇〇在步驟3 12中結 束。此外,根據本發明之另一實施例的用於執行虛擬機器 影像之該方法300進一步包括產生檔案索引資訊;及藉由 使用該所產生之檔案索引資訊而產生虛擬機器影像之一部 分。 上文結合特定實施例描述本發明之基本重要性,然而, 應庄心對於一般熟習此項技術者而言,將理解,本發明 之°亥方法及裝置之所有或任何步驟或組件可以硬體、韌 體、軟體或其組合之形式實施於任何計算裝置(包括處理 器,儲存媒體等)或電腦裝f之網路中,此對於一般熟習 此項技術者在閱讀本發明之描述之後藉由使用其基本程式 化技術係可達成的。 因此,亦可藉由在任何計算裝置上所執行之一程式或程 式群組來實施本發明之目標。該計算裝置可為已知之通用 150712.doc 201214282 裝置。因此,亦可藉由僅僅提供含 诙伢3有用於實施該方法或裝 置之程式碼的程式產品來實施本 w β乏目如。亦即,此程 式產品亦可構成本發明,且儲存 仔此程式產品之儲存媒體亦 構成本發明。顯然,該储存媒 錄媸了為任何已知儲存媒體或 將來將得到開發之任何儲存媒體。 亦應注意,在本發明之該裝置及 久乃凌中,顯然,可分離 及/或重組每一組件或每一步驟。 刀離及/或重組應看作 本發明之-等效解決方案。此外,用於執行以上系列處理 程序之該等步驟可根據描述之順序以—時間順序自缺地得 到執行’但並非必須以時間順序執行。一些步驟可並行地 或彼此獨立地得到執行。 儘管已詳細描述本發明及其優點’但應瞭解可在不脫 離由所附專财請範圍所界定之本發明之精神及範蜂的情 況下進行各種修改、替換及變更。此外,術語「包含」、 「包括」或任何其他變體意欲涵蓋非排他性包括,藉/使 得含有-系列元件之程序、方法、項目或裝置不僅包括彼 等元件,而且包括未明確列出之其他元件,或含有在此程 序、方法、項目或裝置t固有之元件。除非另外定義,否 則由短S吾「包括一…」所定義之一元件不排除亦存在於含 有該兀件之程序、方法、項目或裝置中之其他相同元件。 【圖式簡單說明】 圖1展示根據本發明之一實施例之用於在一主機中執行 虛擬機器影像的系統100 ; 圖2展7F根據本發明之一實施例之用於在一主機中執行 150712.doc 18· 201214282 虛擬機器影像的方法之流程圖200 ;及 圖3展示根據本發明之另一實施例之用於在一主機中執 行虛擬機器影像的方法之流程圖300。 【主要元件符號說明】 100 系統 102 影像訪問器 104 影像載入器 106 應用程式載入器 108 影像同步器 150712.doc - 19-S 12 201214282 Case Write: If the corresponding slot information of the related file is changed, the change of the corresponding file information of the broadcast file related to the file write request is recorded in the home page. After the operation of the case is executed, the local image accessor incrementally records the change of the field index information, and the image synchronizer located in the host sells the rights recorded by the local image accessor (4). Reading the updated file in the local data by using the changed file index information, and sending the updated file to the image slot accessor located in the image access benefit H)2 of the server. Update the virtual machine image in the storage server. According to an embodiment of the present invention, there is provided a system for executing a virtual machine image in a host, comprising: a video loader 1〇4 for: receiving a virtual machine image supply request; requesting a storage The word server copies a virtual machine image associated with the suspected image supply request; and receives a portion of the virtual machine image, the portion of the virtual machine image including at least the operating system core 'partition information and the broadcast index information; Executing, the received portion of the virtual machine n image and starting a virtual Z in the host; an application loader 106' for: intercepting a file operation request of a program executed in the virtual machine; and requesting the The storage word server copies the file associated with the file operation request; and receives the file related to the operation request of the building. Optionally, the system for executing a virtual machine image further includes a second image synchronizer 〇8' for: if the data in the virtual machine image executed in the host has changed, sending the changed data to update This stores the virtual machine image in the server. 150712.doc 13 201214282 A system for executing a virtual machine image in a host, comprising: an image accessor (10) for receiving a copy transmitted by the host, in accordance with an embodiment of the present invention. _ virtual machine image supply request related virtual machine n image-request; send the _ part of the virtual machine image to the host, the virtual machine image of the part at least contains the operating system core, partition information and file index information; Receiving a request sent by the host to copy a file related to the file operation request; and transmitting the file related to the file operation request to the host. The image accessor further includes: an image file accessor, # for receiving data of the change of the virtual machine image t executed in the host, and updating the virtual machine image by the changed material. Optionally, the system for executing a virtual machine image further includes: an image indexer for generating a file index information image converter for using the file generated by the image indexer Indexing information produces a portion of the virtual machine image. Referring now to Figure 2, there is shown a flow diagram of a method for executing a virtual machine image in a host in accordance with an embodiment of the present invention. In accordance with a consistent embodiment of the present invention, the method 200 for executing a virtual machine image in a host begins at step 202. Next, in step 2〇4, a host receives a virtual machine image supply request; then, in step 200, the host sends a request to copy one of the virtual machine images related to the s-real virtual machine image supply request to the first Storing the server; next, in step 2〇8, the host receives a part of the virtual machine image, the 4 pieces of the virtual machine image at least including the operating system core, the partition information and the slot index capital 150712.doc 201214282 Go down' at step 21. The virtual machine is started in the host by executing the portion of the virtual machine image; next, in step. ... '5 Hai host to take the program in the virtual machine to execute the program: for the next 'in step 214, 1 Hai host to get the file associated with the file = In addition' the • execution of virtual machine image = The further step includes: if the feed of the virtual machine image executed in the host changes during execution of the virtual machine, then in step 216, the data of = is sent to the storage vessel to update the virtual machine image. The method 200 according to this embodiment of the invention ends in step 218. When Bu Tian receives a file operation request, the method 2 G 根据 according to the actual example of the present invention executes a processing procedure for requesting different files (10), respectively. ~ If the file operation request is a file open request (that is, the file please only need to obtain file information) 'Read the partition information and file index information' to obtain such as the corresponding slot name, slot storage path Information such as access rights to the building, and the file opening operation ends. 2 If the file operation request is - Tan (four) fetch request, the corresponding file information of the file related to the 4 file read request is searched in the local index; if the first person retrieves the file related to the file read request, That is, if the corresponding file information does not exist in the local index, the file read request is sent to the storage server S. After receiving a response containing a return of the reference relating to the request for reading the building, the corresponding right of the file associated with the file reading request is recorded at the local end.丨 , , I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I After searching the corresponding index information of the file related to the file reading request in the local index, it is determined that the file related to the file reading request is not read for the first time, that is, the corresponding building information already exists. In the local index, the related file is directly read from the local data according to the corresponding file information stored in the local index through the file operation application interface. If the file operation request is a file creation request, the partition information and the file index information are first read to avoid the file name to be created by the file establishment request and the file name existing in the existing slot index information. If there is no duplicate slot name, the file information record should be recorded in the local index. The interface API creates a file in the local data. , the pair of new files created, and the new file with the name to be created via the file operation application, if the file operation request is a file writer request, then the file operation application interface will be used The change of the file related to the request of the case is written to the local data. If the corresponding slot information of the file related to the broadcast request is changed, the change of the corresponding file information of the broadcast related to the write request is also recorded in the local index. After the file # is executed, the file index resource change is incrementally recorded. The updated (4) in the local data is read by using the changed (4) index information, and the updated (4) is sent to the file. Storing the server to update the virtual machine image in the server (4). Referring now to FIG. 3, the virtual machine image is executed in a host computer according to another embodiment of the present invention for 1507l2.doc 201214282. Flowchart of the method 3 〇〇. In accordance with another embodiment of the present invention, the method 300 for executing a virtual machine image in a host begins at step 302. Next, in step 3〇4, receiving a request sent by the host to copy one of the virtual machine image requests related to a virtual machine image supply request; and then transmitting a part of the virtual machine image in step 3〇6 To the host, the 4 knives of the virtual machine image include at least the operating system core, the partition information, and the file index δίΐ, and then, in step 〇8, receiving the copy sent by the host is related to the file operation request. One of the files is requested; next, in step 3 10 t, the file associated with the file operation request is sent to the host. The method 〇〇 according to this embodiment of the invention is then terminated in step 3 12 . Moreover, the method 300 for executing a virtual machine image according to another embodiment of the present invention further includes generating file index information; and generating a portion of the virtual machine image by using the generated file index information. The basic importance of the present invention is described above in connection with the specific embodiments, however, it should be understood that those skilled in the art will understand that all or any of the steps or components of the present invention can be hardware-hardened. , in the form of a firmware, a software, or a combination thereof, implemented in any computing device (including a processor, storage medium, etc.) or a network of computers, as described by those skilled in the art after reading the description of the present invention. It can be achieved using its basic stylization techniques. Thus, the object of the present invention can also be implemented by a program or a group of programs executed on any computing device. The computing device can be a known generic 150712.doc 201214282 device. Therefore, it is also possible to implement the present invention by merely providing a program product containing the code for implementing the method or device. That is, the program product may also constitute the present invention, and the storage medium storing the program product also constitutes the present invention. Obviously, the storage medium is for any known storage medium or any storage medium that will be developed in the future. It should also be noted that in the apparatus of the present invention and in the urgency, it is apparent that each component or step can be separated and/or reorganized. Knife separation and/or recombination should be considered as an equivalent solution of the present invention. Furthermore, the steps for performing the above series of processing programs may be performed in a chronological order in the order described, but not necessarily in chronological order. Some steps can be performed in parallel or independently of each other. Although the present invention and its advantages are described in detail, it is understood that various modifications, substitutions and changes may be made without departing from the spirit and scope of the invention as defined by the appended claims. In addition, the terms "comprising", "including" or "comprising" are intended to be inclusive, and are intended to include a means, method, item, or device that includes a series of elements, not only those elements, but also other items not specifically listed A component, or component that is inherent in the program, method, item, or device. Unless otherwise defined, an element that is defined by the term "comprising a" does not exclude other such elements that are also present in the program, method, item, or device. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 shows a system 100 for executing virtual machine images in a host in accordance with an embodiment of the present invention; FIG. 2 shows a method for performing in a host in accordance with an embodiment of the present invention. 150712.doc 18· 201214282 Flowchart 200 of a method of virtual machine imagery; and FIG. 3 shows a flowchart 300 of a method for executing a virtual machine image in a host in accordance with another embodiment of the present invention. [Main component symbol description] 100 System 102 Image accessor 104 Image loader 106 Application loader 108 Image synchronizer 150712.doc - 19-

Claims (1)

201214282 七、申請專利範圍: ι_ 一種用於在一主機中執行虛擬機器影像之方法,其包 括: 、匕 接收一虛擬機器影像供應請求; 將複製與該虛擬機器影像供應請求相關的虛擬機器影 像之一請求發送至—存放伺服器; 。衫 接收該虛擬機器影像之一部分,該虛擬機器影像之該 邻刀至)包含作業系統核心、分割區資訊及檔案索引資 藉由執行該虛擬機器影像之該所接收部分而在該主機 中啟動虛擬機器; 截取在該虛擬機器中執行的一程式之槽案操作請求; 獲取與該檔案操作請求相關的檔案。 2.如請求項1之方法,其進一步包括: 若在該主機中執行的虛擬機器影像中之資料已改變, 則發送改變的資料以更新在該存放伺服器中之該 器影像。 辦 3·如請求項1之方法,其進一步包括: 遞增地記錄該檔案索引資訊之一改變。 4·如請求項1或2之方法,其中: 若與該棺案操作請求相關的該檔案已存在於在該主機 :執行之虛擬機器之本端資料中,則直接自該本端資料 讀取與該檔案操作請求相關的該檔案。 5 _如請求項1或2之方法,其中: 150712.doc 201214282 若與該檔案操作請求相關的該檔案不存在於在該主機 中執行的虛擬機盗之本端資料中,將複製與該槽案操作 月长相關的4檔案之—請求發送至該存放彳司服器,並自 該存放伺服器接收與該㈣操作請求相關的該楷案。 6· -種用於在一主機中執行虛擬機器影像之方法,其 括: ' 接收由該主機所發送之複製與一虛擬機器影像供應請 求相關的虛擬機器影像之一請求; 2該虛擬機器影像之―部分發送至該主機,該虛擬機 益影像之該部分至少包含作業系統核心、分割區資訊及 檔案索引資訊; 之複製與檔案操作請求相關的檔 接收由該主機所發送 案之一請求;201214282 VII. Patent Application Range: ι_ A method for executing a virtual machine image in a host computer, comprising: 匕 receiving a virtual machine image supply request; copying a virtual machine image associated with the virtual machine image supply request A request is sent to the storage server; The shirt receives a portion of the virtual machine image, the neighboring tool of the virtual machine image, including the operating system core, the partition information, and the file index, by executing the received portion of the virtual machine image to initiate a virtual in the host a machine; intercepting a program operation request of a program executed in the virtual machine; acquiring an archive related to the file operation request. 2. The method of claim 1, further comprising: if the data in the virtual machine image executed in the host has changed, transmitting the changed data to update the image of the device in the storage server. 3. The method of claim 1, further comprising: incrementally recording one of the file index information changes. 4. The method of claim 1 or 2, wherein: if the file associated with the file operation request is already present in the host device of the host: executing the virtual machine, directly reading from the local data The file associated with the file operation request. 5 _ The method of claim 1 or 2, wherein: 150712.doc 201214282 If the file associated with the file operation request does not exist in the local data of the virtual machine pirate executed in the host, the slot is copied The 4 files related to the month of the operation are sent to the server, and the file related to the (4) operation request is received from the storage server. a method for executing a virtual machine image in a host, comprising: 'receiving a request sent by the host to copy a virtual machine image associated with a virtual machine image supply request; 2 the virtual machine image Partially sent to the host, the portion of the virtual machine image includes at least a working system core, partition information and file index information; and the file associated with the file operation request is received by one of the files sent by the host; 8. 將與該㈣操作請求相關的該檔案發送至該主機。 如請求項6之方法,其進一步包括: 接收在該主機中執行的虛擬機器影像中之改變的資 r:藉由4改變的資料更新該虛擬機器影像。 如請求項6之方法,其進一步包括: 產生檔案索弓I資訊;及 藉由使用該所產 影像之一部分。 生的檔案索引資訊而產生該虛擬機器 9. 一種用於在一 括: 主機中執行虛擬機器影像之系統,其包 其用於: 一影像載入器 I50712.doc 201214282 接收一虛擬機器影像供應請求; 請求一存放伺服器複製與該虛擬機器影像供應請求 相關之虛擬機器影像; 接收該虛擬機n影像之1分,該虛擬機器影像之 該部分至少包含作業系統核心、分割區資訊及槽案索 引資訊;及 藉由執行該虛擬機器影像 機中啟動虛擬機器; 一應用程式載入器,其用於 之該所接收部分而在該主 中執行的—㈣之檔案操作請 戴取在該虛擬機器 求;及 蚁取與該檔案操作請求相關的檔案。 ίο. 11. 12. 如請求項9之系統,其進一步包括: -影像同步器,其用於:若在該 ηψ ^ ^ τ執仃的虛擬機 “像中之資料已改變,則發送改變的資料 存放伺服器中之該虛擬機器影像。 ’ °&quot; 如請求項9之系統,其中: °亥應用程式載人器遞增地記錄 變;且 %茱紫弓丨資訊之一改 如請求項9或丨。之系統,其中改變。 若與該檔案操作請求相關的該槽 中執行之⑼嫱备茱已存在於在該主 之虛擬機益之本端資料中, 直接自哕太t 幻该應用程式載入 丧目忒本鸲資料讀取與該檔案 术作叫求相關的該 150712.doc 201214282 案。 13.如請求項9或1 〇之系統,其中· 若與該檔案操作請求相關的該檔案不存在於在該主機 中執行的虛擬機器之本端資料中,則該應用程式載入器 將複製與該播案操作請求相關的該檔案之一請求發送至 存放飼服器,並自该存放飼服器接收與該槽案操作請 求相關的該檔案。 種用於在1機中執行虛擬機器影像之系統,其包 一影像訪問器,其用於: 心接收由該主機所發送之複製與—虛擬機器影像供應 凊求相關的虛擬機器影像之一請求; ㈣虛擬機H影像之—部分發送至心機,該虛擬 機益影像之該部分至少包含作業系統核心、分割 訊及檔案索引資訊; ° 接收由該主機所發送之複製 標案之一請求; U案知作晴求相關的 將與該檔案操作請求相關的該檔案發送 15·如請求項14之系統,其中該影像訪問器進—步包括 擬問器,其用於接收在該主機中執行的虛 該虛擬機器影像。 支自’貝枓更新 16.如請求項14之系統,其進_步包括: -影像索引器’其用於產生檔案索引資訊; 150712.doc 201214282 一影像轉換器,其用於藉由使用由該影像索引器所產 生的該檔案索引資訊來產生虛擬機器影像之一部分。 I50712.doc8. Send the file associated with the (4) operation request to the host. The method of claim 6, further comprising: receiving a change in the virtual machine image executed in the host: updating the virtual machine image by the changed data. The method of claim 6, further comprising: generating a file information; and using a portion of the image produced. Generating the virtual machine by a file indexing information. 9. A system for executing a virtual machine image in a host: a package for: an image loader I50712.doc 201214282 receiving a virtual machine image supply request; Requesting a storage server to copy a virtual machine image related to the virtual machine image supply request; receiving 1 point of the virtual machine n image, the portion of the virtual machine image including at least a working system core, partition information, and slot index information And launching the virtual machine by executing the virtual machine image machine; an application loader for performing the filed operation of the received part and executing the file in the master, please take the virtual machine request And the ant takes the file associated with the file operation request. </ RTI> 11. The system of claim 9, further comprising: - an image synchronizer, configured to: if the virtual machine in the ψ ψ ^ ^ τ "image in the image has changed, send the change The data is stored in the virtual machine image in the server. ' °&quot; As in the system of claim 9, wherein: the app is loaded incrementally by the app; and one of the information is changed as the request item 9 Or the system, which changes. If the (9) prepared in the slot related to the file operation request already exists in the local data of the virtual machine of the main, directly apply to the application. The program loads the scam and reads the data in accordance with the file 150712.doc 201214282. 13. The system of claim 9 or 1 wherein: if the file operation request is related to If the file does not exist in the local data of the virtual machine executed in the host, the application loader copies a request for copying the file related to the broadcast operation request to the storage device, and Storage device Receiving the file related to the slot operation request. A system for executing a virtual machine image in a machine, which includes an image accessor for: receiving a copy and virtual machine sent by the host The image supply request is requested by one of the related virtual machine images; (4) the part of the virtual machine H image is sent to the heart machine, and the part of the virtual machine image includes at least the operating system core, the split message and the file index information; The request of one of the copying standards sent by the host; the U file is known to be related to the file to be associated with the file operation request. 15. The system of claim 14, wherein the image accessor includes a question And for receiving the virtual machine image executed in the host. Supported from 'Bei Wei update 16. The system of claim 14, the method includes: - Image indexer for generating file index Information; 150712.doc 201214282 An image converter for generating one of virtual machine images by using the file index information generated by the image indexer Points. I50712.doc
TW99132672A 2010-09-27 2010-09-27 Method and system for running virtual machine image TW201214282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW99132672A TW201214282A (en) 2010-09-27 2010-09-27 Method and system for running virtual machine image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW99132672A TW201214282A (en) 2010-09-27 2010-09-27 Method and system for running virtual machine image

Publications (1)

Publication Number Publication Date
TW201214282A true TW201214282A (en) 2012-04-01

Family

ID=46786456

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99132672A TW201214282A (en) 2010-09-27 2010-09-27 Method and system for running virtual machine image

Country Status (1)

Country Link
TW (1) TW201214282A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI460584B (en) * 2012-10-18 2014-11-11 Inventec Corp Server, host and method for reading base image through storage area network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI460584B (en) * 2012-10-18 2014-11-11 Inventec Corp Server, host and method for reading base image through storage area network

Similar Documents

Publication Publication Date Title
JP6621543B2 (en) Automatic update of hybrid applications
US20230244516A1 (en) Dynamic image composition for container deployment
JP7158482B2 (en) Method, computer-readable medium, and system for resolution of violations in client synchronization
CN108984170B (en) H5 page multi-language rendering method and device
JP5501280B2 (en) Information processing system, backup management method, and program
KR20110035949A (en) Methods and systems for running virtual machine images
US20170124103A1 (en) Method and Apparatus for Creating System Disk Snapshot of Virtual Machine
US8296338B2 (en) Method for a cloud-based meta-file system to virtually unify remote and local files across a range of devices&#39; local file systems
JP2016529599A (en) Content clipboard synchronization
KR101991537B1 (en) Autonomous network streaming
US20170220661A1 (en) On-demand subscribed content library
US20150032690A1 (en) Virtual synchronization with on-demand data delivery
CN111901294A (en) Method for constructing online machine learning project and machine learning system
US20160301750A1 (en) Synchronized content library
CN102413168A (en) Presenting availability statuses of synchronized objects
US20230101774A1 (en) Techniques for performing clipboard-to-file paste operations
US10474696B2 (en) Replication groups for content libraries
US11157456B2 (en) Replication of data in a distributed file system using an arbiter
US20120005162A1 (en) Managing Copies of Data Structures in File Systems
TW201214282A (en) Method and system for running virtual machine image
US12174855B2 (en) Interrupted synchronization detection and recovery
US20170091300A1 (en) Distinguishing event type
CN113761038A (en) Data source read-write separation method and device
US11663241B2 (en) System and method for catalog service
US12222905B2 (en) Bridging heterogeneous sets of cloud applications and storage